Releases: blakeembrey/react-free-style
Releases · blakeembrey/react-free-style
Upgrade dependencies
Added
- Upgrade all dependencies (
csstype
andfree-style
)
Handle `insertRule` errors
Fixed
- Handle
insertRule
errors on unknown syntax 5326eb0
Upgrade Free Style
Changed
- Upgrade to
free-style@4
- Remove
dist/tags
as unused - Remove
dist/jsx
in favor of root export, e.g.import { jsx } from 'react-free-style'
Fix `styled` ref
Fixed
- Fix inferred return type of
styled
forref
props
Allow multiple CSS values
Added
- Allow multiple CSS values over arrays
Fixed
- Allow
undefined
andnull
for CSS values
Recursive Computed CSS
Added
- Allow
ComputedCss
to be recursive - Move JSX support into core package
Fix TypeScript Expansion Issue
Fixed
- Fix TypeScript expanding
toComponent
return type into an invalid type
Make `toComponent` Props Optional
Fixed
- Make
toComponent(props?)
optional
Smaller Build
Changed
- Bump target ES version to ES2015 (removes 10kb)
- Remove
STYLE_ID
concept from rendering (removes another 10kb)
Extend Styles Type
Fixed
- Extends
Styles
from Free Style for$*
props in type information