We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b0065 commit fe2080aCopy full SHA for fe2080a
CHANGELOG.md
@@ -1,5 +1,12 @@
1
# Changelog
2
3
+## 0.16.1 (Oct 2, 2025)
4
+- New `no-lookahead-selector` lint rule to flag certain descendant and sibling selectors.
5
+- Fix priorities for descendant and sibling selectors.
6
+- Fix color functions for `valid-shorthands` rule.
7
+- Fix hoisting issues with duplicate keys in `create` calls.
8
+- Add storybook example.
9
+
10
## 0.16.0 (Sep 25, 2025)
11
- Added support for descendant and shared selectors.
12
- Support CSS variable overrides with `defineConsts`.
examples/example-cli/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "example-cli",
- "version": "0.16.0",
+ "version": "0.16.1",
"scripts": {
"example:build": "stylex --config .stylex.json5"
},
@@ -13,7 +13,7 @@
13
"devDependencies": {
14
"@babel/preset-react": "^7.25.7",
15
"@babel/preset-typescript": "^7.25.7",
16
- "@stylexjs/cli": "0.16.0",
+ "@stylexjs/cli": "0.16.1",
17
"@types/react": "^18.3.0",
18
"@types/react-dom": "^18.3.0",
19
"typescript": "^5"
examples/example-esbuild/package.json
"name": "example-esbuild",
"description": "Simple esbuild example for @stylexjs/esbuild-plugin",
"main": "src/App.jsx",
@@ -11,13 +11,13 @@
"license": "MIT",
"dependencies": {
"@stylexjs/open-props": "0.11.1",
- "@stylexjs/stylex": "0.16.0",
+ "@stylexjs/stylex": "0.16.1",
"react": "^18.3.0",
"react-dom": "^18.3.0"
"@stylexjs/esbuild-plugin": "0.11.1",
20
- "@stylexjs/eslint-plugin": "0.16.0",
+ "@stylexjs/eslint-plugin": "0.16.1",
21
"esbuild": "^0.25.0",
22
"eslint": "^8.57.1"
23
}
examples/example-nextjs/package.json
"name": "example-nextjs",
"clean": "rimraf .next",
"example:build": "next build",
@@ -11,15 +11,15 @@
"next": "14.2.21",
"react-dom": "^18.3.0",
"styled-jsx": "^5.1.1"
- "@stylexjs/postcss-plugin": "0.16.0",
+ "@stylexjs/postcss-plugin": "0.16.1",
"@types/json-schema": "^7.0.15",
24
"@types/node": "^22.7.6",
25
examples/example-rollup/package.json
"name": "example-rollup",
"description": "A simple rollup example to test stylexjs/rollup-plugin",
"main": "index.js",
@@ -11,7 +11,7 @@
"react": "^19.0.0",
"react-dom": "^19.0.0"
@@ -23,7 +23,7 @@
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
26
- "@stylexjs/rollup-plugin": "0.16.0",
+ "@stylexjs/rollup-plugin": "0.16.1",
27
"rollup": "^4.24.0",
28
"serve": "^14.2.4"
29
examples/example-storybook/package.json
"name": "example-storybook",
- "version": "1.0.0",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
@@ -15,10 +15,10 @@
"@storybook/addon-links": "^9.1.7",
"@storybook/addon-vitest": "^9.1.7",
"@storybook/react-vite": "^9.1.7",
- "@stylexjs/babel-plugin": "^0.15.4",
- "@stylexjs/eslint-plugin": "^0.15.4",
- "@stylexjs/postcss-plugin": "^0.15.4",
- "@stylexjs/stylex": "^0.15.4",
+ "@stylexjs/babel-plugin": "0.16.1",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"@vitejs/plugin-react": "^5.0.3",
@@ -38,4 +38,4 @@
38
"vite-plugin-dts": "^4.5.4",
39
"vitest": "^3.2.4"
40
41
-}
+}
examples/example-webpack/package.json
"name": "example-webpack",
"description": "A simple webpack example to test stylexjs/webpack-plugin",
@@ -15,9 +15,9 @@
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
- "@stylexjs/babel-plugin": "0.16.0",
"autoprefixer": "^10.4.21",
"babel-loader": "^10.0.0",
"css-loader": "^7.1.2",
@@ -33,7 +33,7 @@
33
"webpack-dev-server": "^5.2.2"
34
35
36
37
"react": "^19.1.1",
"react-dom": "^19.1.1"
0 commit comments