Skip to content

Releases: stitchesjs/stitches

v0.1.0-canary.14

08 Mar 19:42
Compare
Choose a tag to compare
v0.1.0-canary.14 Pre-release
Pre-release

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 will prepend it to the beginning of document.head. Passing append changes the insertion method to append it to the end of document.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 to Object.assign, making canary 13 unusable.

Migrating from alpha to beta? Here’s a migration guide.

v0.1.0-canary.13

08 Mar 19:38
Compare
Choose a tag to compare
v0.1.0-canary.13 Pre-release
Pre-release

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 will prepend it to the beginning of document.head. Passing append changes the insertion method to append it to the end of document.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

20 Feb 00:20
Compare
Choose a tag to compare
v0.1.0-canary.12 Pre-release
Pre-release

Canary Release: 0.1.0-canary.12 🚀

yarn add @stitches/[email protected]
  • Fixed an issue returning the plain className or selector of a stringified component (#428)

Migrating from alpha to beta? Here’s a migration guide.

v0.1.0-canary.9

20 Feb 00:17
Compare
Choose a tag to compare
v0.1.0-canary.9 Pre-release
Pre-release

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

20 Feb 00:18
Compare
Choose a tag to compare
v0.1.0-canary.11 Pre-release
Pre-release

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

20 Feb 00:18
Compare
Choose a tag to compare
v0.1.0-canary.10 Pre-release
Pre-release

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

18 Feb 22:23
Compare
Choose a tag to compare
v0.1.0-canary.8 Pre-release
Pre-release

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

17 Feb 23:20
Compare
Choose a tag to compare
v0.1.0-canary.7 Pre-release
Pre-release

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 and compoundVariants (#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

16 Feb 21:29
Compare
Choose a tag to compare
v0.1.0-canary.6 Pre-release
Pre-release

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 nesting body > p { & ~ & {} } (#402)

Migrating from alpha to beta? Here’s a migration guide.

v0.1.0-canary.5

16 Feb 17:26
Compare
Choose a tag to compare
v0.1.0-canary.5 Pre-release
Pre-release

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.