stitches

[Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.

MIT License

Downloads
1.7M
Stars
7.7K
Committers
52

Bot releases are visible (Hide)

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches -

Published by jonathantneal over 3 years ago

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.

stitches - v0.1.0-canary.4

Published by peduarte over 3 years ago

Canary Release: 0.1.0-canary.4 🚀

yarn add @stitches/[email protected]
  • Fixes issue where variants apply regardless #381
  • Map textDecorationColor to colors scale #377
  • Fixes correct how the react peerDependency should be written #364
  • Fixes preserve props for variants named "as" #363
  • Remove unused types in css-types.ts #369 (thanks @yenbekbay)
  • Fix type inferred from the creator function in @stitches/react #368 (thanks @yenbekbay)

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

stitches -

Published by jonathantneal over 3 years ago

Canary Release: 0.1.0-canary.1 🚀

yarn add @stitches/[email protected]
  • Fixes an issue where responsive variants would only apply once! #362

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

stitches -

Published by jonathantneal over 3 years ago

Your feedback is awesome. Presenting another Canary Release: 0.1.0-canary.2 🚀

yarn add @stitches/[email protected]
  • Made colors the default token type for border direction properties (borderTop, borderBlock, etc). 🌈
  • Fixed an issue where responsive variants could apply non-responsive styles anyway. 😅
  • Added a named createCss export. 😎

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

stitches -

Published by jonathantneal over 3 years ago

Canary Release: 0.1.0-canary.1 🚀

yarn add @stitches/[email protected]
  • Any direct reference to a className or selector of a Theme or Component will add its CSS to the StyleSheet.
  • A string reference to a Theme will return its className instead of its selector; use myTheme.selector for its selector.
  • TypeScript: Fixed an issue where booleans with only "true" or "false" could be flagged by TypeScript. #353
  • TypeScript: Added typing support for the legacy props gridRowGap and gridColumnGap #355

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

stitches - v0.1.0-canary.0

Published by peduarte over 3 years ago

Canary Release: 0.1.0-canary.0 🚀

Here's the migration guide:
https://stitches-site-git-beta.modulz-deploys.com/blog/migrating-from-alpha-to-beta

stitches -

Published by peduarte about 4 years ago

stitches -

Published by jonathantneal about 4 years ago

Canary Release: 0.0.3-canary.4 🚀

yarn add @stitches/[email protected]
stitches -

Published by peduarte about 4 years ago

Canary Release: 0.0.3-canary.3 🐛

yarn add @stitches/[email protected]

Apologies for another release, a sneaky regression crept in:

Thanks, @afzalsayed96#4841 for reporting it.

stitches -

Published by peduarte about 4 years ago

Canary Release: 0.0.3-canary.2 🎉

yarn add @stitches/[email protected]

Fixes and improvements:

stitches -

Published by peduarte about 4 years ago

Canary Release: 0.0.3-canary.1

yarn add @stitches/[email protected]

Fixes and Improvements:

💥 Breaking:

Demo: https://codesandbox.io/s/stitches-003-canary1-vdudm