Skip to content

Commit 1434dbe

Browse files
authored
0.16.3 (#1304)
1 parent ce530d0 commit 1434dbe

File tree

19 files changed

+110
-95
lines changed

19 files changed

+110
-95
lines changed

CHANGELOG.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
# Changelog
22

3+
## 0.16.3 (Oct 27, 2025)
4+
5+
- Add configs to `sort-keys` property ordering.
6+
- Create new `defineConsts` specific file extension.
7+
- Add `defineConsts` and various file extension support to `enforce-extension`.
8+
- Add config for custom module resolution.
9+
- Turn `enableMediaQueryOrder` on by default.
10+
- Updates to docs and Flow.
11+
312
## 0.16.2 (Oct 13, 2025)
13+
414
- Handle descendant selector styles in `valid-styles` rule.
515
- Adjust descendant selector `.when` priorities.
616
- Fix `defineVars` and `createTheme` at-rules priorities.
717
- Update `defineConsts` types for non-stylex usage.
818

919
## 0.16.1 (Oct 2, 2025)
10-
- New `no-lookahead-selector` lint rule to flag certain descendant and sibling selectors.
20+
21+
- New `no-lookahead-selector` lint rule to flag certain descendant and sibling
22+
selectors.
1123
- Fix priorities for descendant and sibling selectors.
1224
- Fix color functions for `valid-shorthands` rule.
1325
- Fix hoisting issues with duplicate keys in `create` calls.
1426
- Add storybook example.
1527

1628
## 0.16.0 (Sep 25, 2025)
29+
1730
- Added support for descendant and shared selectors.
1831
- Support CSS variable overrides with `defineConsts`.
1932
- Add `valid-styles` support to CSS variable overrides in `create` calls.
@@ -22,7 +35,8 @@
2235
## 0.15.4 (Sep 7, 2025)
2336

2437
- Add configuration modes to `processStylexRules`.
25-
- Support local resolved constants, `positionTry`, and '0' values in `valid-styles` ESLint rule.
38+
- Support local resolved constants, `positionTry`, and '0' values in
39+
`valid-styles` ESLint rule.
2640
- Implement `defineConsts` for dynamic styles.
2741
- Create `.transformed` file extension for preresolved variables.
2842

@@ -41,7 +55,8 @@
4155

4256
### Fixes
4357

44-
- Hoist stylex.create and static className objects to the top level for support inside functions.
58+
- Hoist stylex.create and static className objects to the top level for support
59+
inside functions.
4560

4661
## 0.15.0 (Jul 31, 2025)
4762

examples/example-cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-cli",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"scripts": {
66
"example:build": "stylex --config .stylex.json5"
77
},
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@babel/preset-react": "^7.25.7",
1414
"@babel/preset-typescript": "^7.25.7",
15-
"@stylexjs/cli": "0.16.2",
15+
"@stylexjs/cli": "0.16.3",
1616
"@types/react": "^18.3.0",
1717
"@types/react-dom": "^18.3.0",
1818
"typescript": "^5"

examples/example-esbuild/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-esbuild",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"description": "Simple esbuild example for @stylexjs/esbuild-plugin",
66
"main": "src/App.jsx",
77
"scripts": {
@@ -10,13 +10,13 @@
1010
},
1111
"license": "MIT",
1212
"dependencies": {
13-
"@stylexjs/stylex": "0.16.2",
13+
"@stylexjs/stylex": "0.16.3",
1414
"react": "^18.3.0",
1515
"react-dom": "^18.3.0"
1616
},
1717
"devDependencies": {
1818
"@stylexjs/esbuild-plugin": "0.11.1",
19-
"@stylexjs/eslint-plugin": "0.16.2",
19+
"@stylexjs/eslint-plugin": "0.16.3",
2020
"esbuild": "^0.25.0",
2121
"eslint": "^8.57.1"
2222
}

examples/example-nextjs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-nextjs",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"scripts": {
66
"clean": "rimraf .next",
77
"example:build": "next build",
@@ -10,15 +10,15 @@
1010
"example:start": "next start"
1111
},
1212
"dependencies": {
13-
"@stylexjs/stylex": "0.16.2",
13+
"@stylexjs/stylex": "0.16.3",
1414
"next": "14.2.21",
1515
"react": "^18.3.0",
1616
"react-dom": "^18.3.0",
1717
"styled-jsx": "^5.1.1"
1818
},
1919
"devDependencies": {
20-
"@stylexjs/eslint-plugin": "0.16.2",
21-
"@stylexjs/postcss-plugin": "0.16.2",
20+
"@stylexjs/eslint-plugin": "0.16.3",
21+
"@stylexjs/postcss-plugin": "0.16.3",
2222
"@types/json-schema": "^7.0.15",
2323
"@types/node": "^22.7.6",
2424
"@types/react": "^18.3.0",

examples/example-rollup/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-rollup",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"description": "A simple rollup example to test stylexjs/rollup-plugin",
66
"main": "index.js",
77
"scripts": {
@@ -11,7 +11,7 @@
1111
},
1212
"license": "MIT",
1313
"dependencies": {
14-
"@stylexjs/stylex": "0.16.2",
14+
"@stylexjs/stylex": "0.16.3",
1515
"react": "^19.0.0",
1616
"react-dom": "^19.0.0"
1717
},
@@ -23,7 +23,7 @@
2323
"@rollup/plugin-commonjs": "^26.0.1",
2424
"@rollup/plugin-node-resolve": "^15.2.3",
2525
"@rollup/plugin-replace": "^5.0.7",
26-
"@stylexjs/rollup-plugin": "0.16.2",
26+
"@stylexjs/rollup-plugin": "0.16.3",
2727
"rollup": "^4.24.0",
2828
"serve": "^14.2.4"
2929
}

examples/example-storybook/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-storybook",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"scripts": {
66
"storybook": "storybook dev -p 6006 --no-open",
77
"build-storybook": "storybook build",
@@ -15,10 +15,10 @@
1515
"@storybook/addon-links": "^9.1.7",
1616
"@storybook/addon-vitest": "^9.1.7",
1717
"@storybook/react-vite": "^9.1.7",
18-
"@stylexjs/babel-plugin": "0.16.2",
19-
"@stylexjs/eslint-plugin": "0.16.2",
20-
"@stylexjs/postcss-plugin": "0.16.2",
21-
"@stylexjs/stylex": "0.16.2",
18+
"@stylexjs/babel-plugin": "0.16.3",
19+
"@stylexjs/eslint-plugin": "0.16.3",
20+
"@stylexjs/postcss-plugin": "0.16.3",
21+
"@stylexjs/stylex": "0.16.3",
2222
"@typescript-eslint/eslint-plugin": "^8.44.0",
2323
"@typescript-eslint/parser": "^8.44.0",
2424
"@vitejs/plugin-react": "^5.0.3",

examples/example-webpack/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "example-webpack",
4-
"version": "0.16.2",
4+
"version": "0.16.3",
55
"description": "A simple webpack example to test stylexjs/webpack-plugin",
66
"main": "index.js",
77
"scripts": {
@@ -15,9 +15,9 @@
1515
"@babel/preset-env": "^7.28.3",
1616
"@babel/preset-react": "^7.27.1",
1717
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
18-
"@stylexjs/babel-plugin": "0.16.2",
19-
"@stylexjs/eslint-plugin": "0.16.2",
20-
"@stylexjs/postcss-plugin": "0.16.2",
18+
"@stylexjs/babel-plugin": "0.16.3",
19+
"@stylexjs/eslint-plugin": "0.16.3",
20+
"@stylexjs/postcss-plugin": "0.16.3",
2121
"autoprefixer": "^10.4.21",
2222
"babel-loader": "^10.0.0",
2323
"css-loader": "^7.1.2",
@@ -33,7 +33,7 @@
3333
"webpack-dev-server": "^5.2.2"
3434
},
3535
"dependencies": {
36-
"@stylexjs/stylex": "0.16.2",
36+
"@stylexjs/stylex": "0.16.3",
3737
"react": "^19.1.1",
3838
"react-dom": "^19.1.1"
3939
}

0 commit comments

Comments
 (0)