0.16.3
What's Changed
Lots of bug fixes and linting improvements!
New features
- [babel-plugin] Custom module resolution support by @henryqdineen in #1293
- [babel-plugin] Create new defineConsts file extension by @mellyeliu in #1289
- [babel-plugin] Open up media query order enforcing by @mellyeliu in #1302
Linting improvements
- [eslint-plugin] add a config option to change the ordering of properties in the sort-keys rule by @yjoer in #1273
- [eslint-plugin] Split nonstandard rules into stylex-no-nonstandard-styles.js by @jcperez-ch in #1246
- [eslint-plugin] update documentation URLs to reflect correct package path by @hiteshshetty-dev in #1281
- [eslint-plugin] refactor
sort-keyspriorities by @mellyeliu in #1288 - [eslint-plugin] Fix
valid-styleshandling ofwhen+ vars/consts by @dwei-figma in #1284 - [eslint-plugin] Add handling for
defineConststoenforce-extensionby @dwei-figma in #1295 - [eslint-plugin] Support more file extensions within enforce-extension by @mellyeliu in #1297
- [eslint-plugin] Add proper error handling for color functions to valid-shorthands by @yousoumar in #1279
Bug fixes and Cleanup
- [babel-plugin] Refine createTheme and defineVars priorities by @mellyeliu in #1274
- [babel-plugin] Fix createTheme at-rule wrapping by @mellyeliu in #1278
- [babel-plugin] Replace
canBeIdentifier()by @henryqdineen in #1290 - [babel-plugin] Various TypeScript fixes by @henryqdineen in #1298
- [chore] Update Flow to 271 by @nmn in #1299
Docs and examples
- [examples] Fix playground link by @henryqdineen in #1280
- [examples] remove deprecated open-props package from examples. by @hiteshshetty-dev in #1277
- [examples] Fix sample commands in READMEs for webpack and nextjs examples by @gmcnaughton in #1294
New Contributors
- @yjoer made their first contribution in #1273
- @gmcnaughton made their first contribution in #1294
Full Changelog: 0.16.2...0.16.3