Release 0.7.3
StyleX v0.7.3 is now available with a fix to the Rollup plugin, which didn't previously include all the necessary files in the publish to NPM.
StyleX v0.7.3 is now available with a fix to the Rollup plugin, which didn't previously include all the necessary files in the publish to NPM.
We're excited to release StyleX v0.7.0 with a new CLI to make it easier to get started with StyleX, improvements to variables, and various bug-fixes.
StyleX relies on a compiler that transforms your JavaScript code and generates a static CSS file. However, integrating this compiler with with your bundler can be tricky. So, while we continue to work on improving the quality of our bundler integrations, we are introducing a new CLI as an alternative!
The CLI transforms an entire folder. It generates an output folder where StyleX has already been compiled away and a static CSS file has been generated. Further, the CLI inserts an import statement for the generated CSS file into each file that uses StyleX.
We are excited to offer this alternative to the bundler-based setup and are choosing to release the CLI in an experimental state. We would love to hear your feedback on how it works for you and what improvements you would like to see.
We're excited to release StyleX v0.6.1 with some big improvements for working with CSS custom properties (aka "variables") as well as numerous bug-fixes.
We've added some new features and improvements for working with variables and themes in StyleX.
You can now provide a fallback value for variables defined with the defineVars API.
This new capability does not introduce any new API. Instead, the existing firstThatWorks API
now supports variables as arguments.
We're excited to release Stylex v0.5.0 with some big improvements and fixes!
attrs functionThe props function returns an object with a className string and a
style object. Some frameworks may expect class instead of className and a
string value for style.
We are introducing a new attrs function so StyleX works well in more
places. attrs returns an object with a class string and a style
string.
Three weeks ago, we open-sourced StyleX. Since then, we've been diligently fixing bugs and making improvements. Here are some of the highlights:
keyframes.