You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[email protected] has been released, which can further narrow the responsibility of uinix-ui to simply integrate against the system of four components.
Goals
uinix-ui
while offering dynamic/friendly hooks)New Features
config
uration (enableCssVariables
,namespace
).load
API now returns a cleanup function (i.e. "unload").Breaking Changes
Removed
styles.typography
(also removes rendering font support).styles.typography.fontFaces
is naturally removed (consumers should handle rendering/loading fonts).styles.typography.global is naturally removed (just use
globalStyles`).useTypographyVariant
hook is naturally removed.Text.variant
no longer reads fromstyles.typography.variants
and simply reads fromstyles.variants
.create*
methods (e.g.createStyles
,createTheme
,createIcons
,createConfig
).merge
util removed, install or import fromuinix-fp
instead.use*
hooks (it's better for consumers to directly access theirsystem
statically).Changed
styles.breakpoints
is now moved toconfig.responsiveBreakpoints
.styles.global
is renamed toglobalStyles
.Icon
no longer conditionally renders asbutton
ordiv
(consumers now control this).createSystem
is removed andload
is renamed tocreateSystem
.useVariant
hook is renamed touseStyleVariant
.styles.variants
is removed.useStyleVariant
hook directly accessesstyles
rules.variant
prop is renamed tostyleVariant
(interoperable withstyles
,styleProps
props).style < styleVariant < styles < shorthandProp
The text was updated successfully, but these errors were encountered: