Make React components easier and more maintainable by using inline style objects
MIT License
Bot releases are hidden (Show)
Added
csstype
and free-style
)Published by blakeembrey over 4 years ago
Fixed
insertRule
errors on unknown syntax 5326eb0Published by blakeembrey over 4 years ago
Changed
free-style@4
dist/tags
as unuseddist/jsx
in favor of root export, e.g. import { jsx } from 'react-free-style'
Published by blakeembrey over 4 years ago
Fixed
styled
for ref
propsPublished by blakeembrey over 4 years ago
Added
Fixed
undefined
and null
for CSS valuesPublished by blakeembrey over 4 years ago
Added
ComputedCss
to be recursivePublished by blakeembrey over 4 years ago
Fixed
toComponent
return type into an invalid typePublished by blakeembrey over 4 years ago
Fixed
toComponent(props?)
optionalPublished by blakeembrey over 4 years ago
Changed
STYLE_ID
concept from rendering (removes another 10kb)Published by blakeembrey almost 5 years ago
Fixed
Styles
from Free Style for $*
props in type informationPublished by blakeembrey almost 5 years ago
Added
module
version for tree-shakingPublished by blakeembrey almost 5 years ago
Changed
free-style@3
displayName
param (use $displayName
in free-style@3
)Published by blakeembrey about 5 years ago
Fixed
CssValue
types to allow strings everywhere and support recursive CSS nested arraysPublished by blakeembrey about 5 years ago
Added
Published by blakeembrey over 5 years ago
Changed
createStyles()
functioncomposeStyle()
in favor of existing join(...)
utilityuseCss()
for using any CSS object, cached css()
object or computed functional styleAdded
undefined
and string
values as parameters to join(...)
utilityPublished by blakeembrey over 5 years ago
Added
css
property to accept functions, allows pre-computed stylescss()
helper function that precomputes styles (e.g. re-used in css
props or composition)join()
helper for combining CSS functions (e.g. join style functions/objects over class names)Published by blakeembrey over 5 years ago
Fixed
Published by blakeembrey over 5 years ago
Added
styled
componentsPublished by blakeembrey over 5 years ago
Added
Published by blakeembrey over 5 years ago
Added
jsx
pragma support for primitive typestags
module for pre-defined HTML tags as components