A CSS-In-JS module that's been made as simple as we probably wanted
Bot releases are hidden (Show)
Fix: prevent seeding of arbitrary strings passed to class picker that are not listed in a style sheet top-level scope as class selectors
Published by zelbov 4 months ago
Workspace: fix vulnerable dev dependencies
Published by zelbov 4 months ago
React tweaks and performance upgrades:
useStyle
hook now accepts options
as second parameter instead of just seed. A seed
property is passed into options object instead, along with mutate
for conditional stylesheet mutations upon renderStyleRenderer
bugs producing duplicate/inconsistent styles during hydrationPublished by zelbov 4 months ago
Intermediate release. No changes to actual code, only updated documentation and tests.
Published by zelbov 4 months ago
Breaking change: replaced all mentions of mixins
with literals
in all property descriptors type defs and all documentation for better explanation of what they actually mean
Published by zelbov 5 months ago
btoa
from default seeding function in favor to Buffer
or window.btoa
depending on execution platformPublished by zelbov over 1 year ago
keyframes
from producing semicolon separators in global rules scopePublished by zelbov over 1 year ago
keyframes
rule definition and rendering (currently only inside selector or nested selector scope)Published by zelbov over 1 year ago
useStyle
React hook misbehavior when passing StyleSheetObject
or StyleSheetInit
parameter type leading to further usage of keyof Object
as completion target by class picker instead of actual stylesheet defined properties as keysPublished by zelbov over 1 year ago
ThemeStyleSheet
was invalidated and replaced with StyleSheetObject
. Therefore, type definition export was replaced accordinglyuseStyle
hook now also accepts whole output of createStyleSheet
call as a single parameter, aside of simple stylesheet object definition. Therefore, useStyle
and its returning class picker function now process seeding provided to a stylesheet initialized with createStyleSheet
in a proper manner.