Skip to content

v0.1.0-canary.13

Pre-release
Pre-release
Compare
Choose a tag to compare
@jonathantneal jonathantneal released this 08 Mar 19:38
· 404 commits to canary since this release

Canary Release: 0.1.0-canary.13 🚀

yarn add @stitches/react@0.1.0-canary.13
  • 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.