| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2019-02-23 | 1.2 kB | |
| v4.tar.gz | 2019-02-23 | 883.8 kB | |
| v4.zip | 2019-02-23 | 919.7 kB | |
| Totals: 3 Items | 1.8 MB | 0 | |
- Rewritten core for less code duplication
- No longer merges returned style object, but returns arrays instead, which should work with common CSS-in-JS libraries
spacefunction has been rewritten with the corestyleandcomposeutilities- Adds long-form props for margin and padding (e.g.
marginTop). Shorthand aliases still work as before. - Reintroduces the
aliasargument tostyleutility - Removes the
stylesobject export - Removes the
utilobject export - Removes
mergeutility - Removes the
mixedutility since it did not behave as expected - The theme "scale" is now passed as the second argument to the
transformValueoption instyleutility - Removes the
ratiostyle function - The following changes to the
bordersstyle function - The shorthand border props no longer transform numbers to pixel widths with a
solidborder-style - Adds
borderWidth,borderStyle,borderColor, andborderRadiusprops - All border props are also available as individual imports
- Removes
styleTypefrom prop typesmetafields - Changes to the
getutility: now returns the last argument as a fallback