8000 Tags · mtcrutch/glamorous · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: mtcrutch/glamorous

Tags

v3.8.0

Toggle v3.8.0's commit message
feat(perf): improve performance of GlamorousComponent#render (paypal#64)

**What**: This takes some of the ideas from @developit to make the
glamorous component render method faster

**Why**: Because that's some hot code!

**How**: copy/paste and blindly looking for other things I figured could
be faster...

I also made some changes to the rollup config so the UMD would work
again with the process.env.NODE_ENV usage.

v3.7.1

Toggle v3.7.1's commit message
fix(readme): Improve composition docs and add missing examples (paypa…

…l#57)

* docs(contributors): add contributor information

* docs(readme): fix css override example using wrong props name

* docs(readme): add example for built-in DOM component factories

* docs(read): add example for glamorousComponentFactory

* docs(readme): update GlamorousComponent section with override examples

I’ll explain the rationale behind this in the PR but I tried to group
things into a more logical way

* docs(contributors): update contribution type to include examples

* docs(readme): change code syntax to jsx so it has better highlighting

* docs(readme): remove render() to match other examples and adds styles applied

* docs(readme): change glamor-generated-id to class to be more accurate

* docs(readme): remove semis to keep consistent with other examples

* docs(readme): update overriding styles section description to include theme prop reference

* docs(readme): use single quote in example

v3.7.0

Toggle v3.7.0's commit message
feat(innerRef): Adds `innerRef` prop to access react element reference (

paypal#60)

This adds the optional `innerRef` prop to all glamorous component. `innerRef` will call a provided
function with the internal react element reference.

Closes paypal#59

v3.6.1

Toggle v3.6.1's commit message
fix(typings): update typescript typings to be stricter (paypal#51)

* Update typescript typings to be stricter

* Restructure typescript typings for publishing

v3.6.0

Toggle v3.6.0's commit message
feat(forwardProps): add forwardProps option (paypal#53)

**What**: This adds a `forwardProps` option to the `glamorous` function

**Why**: So if you're wrapping a component in `glamorous`, you can
specify some props to forward, regardless of the `rootEl` you define.

**How**: TDD! Also I had to update some dependencies to get rid of
annoying warnings from React :)

v3.5.0

Toggle v3.5.0's commit message
feat(ts): add basic TypeScript definitions (paypal#49)

This only covers `glamorous` function. Styled-components
type definitions were referred when writing these definitions.

v3.4.0

Toggle v3.4.0's commit message
feat(withTheme): add `withTheme` HOC (paypal#45)

Closes paypal#41

v3.3.0

Toggle v3.3.0's commit message
feat(perf): memoize shouldForwardProperty

* refactor(propertyForwardCheck): implement react-html-attributes for property forwarding check

refactor should-forward-property.js to use react-html-attributes, a package that maps html
attributes supported by react to their html tags, and add tests for it

paypal#23

* refactor(propertyForwardCheck): Improve performance for checking whether to forward property

paypal#23

* refactor(propertyForwardCheck): implement fast-memoize

v3.2.0

Toggle v3.2.0's commit message
feat(perf): exit early when filtering props (paypal#44)

If the rootEl is a component, then we can forward all props to it
without worrying about attaching props to DOM nodes. So we can skip the
reduce function entirely.

Helps with paypal#43

v3.1.0

Toggle v3.1.0's commit message
feat(themes): add ThemeProvider for theming support (paypal#24)

This was a great collaborative effort from @vesparny, @kentcdodds, @developit, @kwelch, @javivelasco @browniefed, @aweary. Thanks everyone! 👏
0