Releases: stitchesjs/stitches
v0.1.0-canary.14
Canary Release: 0.1.0-canary.14
🚀
yarn add @stitches/[email protected]
- Fixed issues composing together and passing along variants, compoundVariants, and defaultVariants.
- Reduced how often the DOM is modified without reducing how quickly it is updated.
- Changed the
theme
function to return an object instead of another function. - Added DOM injection to core.
- Added the ability to create a component extended from an unlimited number of other components.
- Added an
insertMethod
feature that lets authors override the default DOM insertion method. By default, a stylesheet willprepend
it to the beginning ofdocument.head
. Passingappend
changes the insertion method toappend
it to the end ofdocument.head
. Passing a function gives the author full control over how stitches inserts CSS to the document. - Fixed an issue with a lonely
assign
missing its reference toObject.assign
, making canary 13 unusable.
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.13
Canary Release: 0.1.0-canary.13
🚀
yarn add @stitches/[email protected]
- Fixed issues composing together and passing along variants, compoundVariants, and defaultVariants.
- Reduced how often the DOM is modified without reducing how quickly it is updated.
- Changed the
theme
function to return an object instead of another function. - Added DOM injection to core.
- Added the ability to create a component extended from an unlimited number of other components.
- Added an
insertMethod
feature that lets authors override the default DOM insertion method. By default, a stylesheet willprepend
it to the beginning ofdocument.head
. Passingappend
changes the insertion method toappend
it to the end ofdocument.head
. Passing a function gives the author full control over how stitches inserts CSS to the document.
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.12
Canary Release: 0.1.0-canary.12
🚀
yarn add @stitches/[email protected]
- Fixed an issue returning the plain
className
orselector
of a stringified component (#428)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.9
Canary Release: 0.1.0-canary.9
🚀
yarn add @stitches/[email protected]
- Fixed a typing issue where primitive variant values would not autocomplete, but instead might error (#423)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.11
Canary Release: 0.1.0-canary.11
🚀
yarn add @stitches/[email protected]
- Added the ability to directly import css, styled, global, and keyframes
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.10
Canary Release: 0.1.0-canary.10
🚀
yarn add @stitches/[email protected]
- Fixed an issue accurately picking up certain compound variants that weren’t strings (#425)
- Fixed a typing issue extending components with the css function (#426)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.8
Canary Release: 0.1.0-canary.8
🚀
yarn add @stitches/[email protected]
- Added support for negative tokens (
-$space
) (#411) - Fixed a typing issue adding tokens to the
css
property (#417) - Fixed a typing issue allowing custom properties in conditions (#418)
- Fixed a typing issue autocompleting tokens within proxied components (e.g.
styled.button({ })
) (#419)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.7
Canary Release: 0.1.0-canary.7
🚀
yarn add @stitches/[email protected]
- Fixed autocomplete issues with polymorphism (the
as
prop) (#400) - Fixed issues where SSR CSS would render in a different order (#406)
- Fixed typing issues using booleans & numerics variant names and values (#408)
- Fixed typing issues using booleans & numerics in
defaultVariants
andcompoundVariants
(#408) - Fixed typing issues using numeric tokens in themes (#410)
- Fixed typing issues using the styled proxy (e.g.
styled.button
) (#412)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.6
Canary Release: 0.1.0-canary.6
🚀
yarn add @stitches/[email protected]
- Added automatic typing for the
initial
condition (#394) - Fixed an issue when checking for non-existent
defaultVariants
(#399) - Added support for multiple
@import
or@font-face
rules by using arrays (#401) - Added supports for recursive nesting
& ~ &
and complex nestingbody > p { & ~ & {} }
(#402)
Migrating from alpha to beta? Here’s a migration guide.
v0.1.0-canary.5
Canary Release: 0.1.0-canary.5
🚀
yarn add @stitches/[email protected]
- Allows a variant value of
undefined
to fallback to the default value (#389) - Fixes an issue extending regular react components (#388)
Migrating from alpha to beta? Here’s a migration guide.