Skip to content

Commit 18a9dde

Browse files
Version Packages (beta) (#3619)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 74dab7b commit 18a9dde

31 files changed

Lines changed: 269 additions & 16 deletions

.changeset/pre.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,27 @@
3131
"sandbox-waku-ts": "0.0.0",
3232
"@pandacss/dev": "1.11.3",
3333
"playground": "0.1.0",
34-
"website": "1.0.0"
34+
"website": "1.0.0",
35+
"@pandacss/eslint-plugin": "2.0.0-beta.3"
3536
},
3637
"changesets": [
38+
"cli-include-flag",
39+
"codegen-types-index-jsx",
3740
"compiled-jsx-runtime-extraction",
3841
"config-bundle-temp-file",
3942
"css-property-value-map",
4043
"default-panda-build-command",
4144
"direct-mcp-package",
45+
"eslint-plugin-core",
4246
"fix-classname-vendor-prefix",
4347
"fix-classname-whitespace-trim",
48+
"fix-global-css-compositions",
4449
"fix-nested-ampersand-in-quoted-strings",
4550
"fix-object-map-literal-classnames",
4651
"fix-recipe-selection-no-variants",
4752
"fix-runtime-important-classname",
4853
"init-scaffold-default-presets",
54+
"lint-inspection-result",
4955
"merge-adjacent-selectors",
5056
"native-token-css",
5157
"panda-debug-command",
@@ -54,7 +60,9 @@
5460
"postcss-v2-plugin",
5561
"preset-resolved-hook-utils",
5662
"sharp-tigers-tell",
63+
"slot-recipe-infer-compound-slots",
5764
"sort-container-inline-size",
65+
"tokens-svg-color-table",
5866
"utility-transform-grouped-emit",
5967
"write-if-changed-outputs"
6068
]

packages/cli/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @pandacss/cli
22

3+
## 2.0.0-beta.4
4+
5+
### Minor Changes
6+
7+
- 9521059: Add a `--include` flag to the scanning commands (`panda`, `build`, `dev`, `check`, `cssgen`, `debug`, `info`,
8+
`buildinfo`) to override the config's `include` globs for a single run. The flag is repeatable and accepts
9+
comma-separated values, and replaces (does not merge with) the configured globs — useful for scanning a subset of
10+
files in CI or one-off builds.
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [9521059]
15+
- Updated dependencies [74dab7b]
16+
- Updated dependencies [0202dba]
17+
- Updated dependencies [23580df]
18+
- Updated dependencies [5316642]
19+
- Updated dependencies [1378d4a]
20+
- @pandacss/compiler@2.0.0-beta.4
21+
- @pandacss/compiler-shared@2.0.0-beta.4
22+
- @pandacss/config@2.0.0-beta.4
23+
324
## 2.0.0-beta.3
425

526
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/cli",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0-beta.4",
44
"description": "CLI for Panda CSS, powered by the Rust compiler",
55
"type": "module",
66
"main": "./dist/index.js",

packages/compiler-shared/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @pandacss/compiler-shared
22

3+
## 2.0.0-beta.4
4+
5+
### Patch Changes
6+
7+
- 23580df: Expose lint-friendly inspection data from `inspectFileSource`, including extracted calls, JSX entries, token
8+
references, component entries, and style entries with safe local key/value spans. Style entries cover every
9+
style-writing form — `css()` (including the `css(a, b)` multi-argument merge), style props, responsive arrays,
10+
per-prop conditions, JSX `css` props (object **and** `css={[...]}` array forms), and recipe styles in `cva` / `sva` /
11+
`styled('div', { ... })` (`base`, `variants`, `compoundVariants`) — and carry per-leaf value spans so tooling can
12+
offer precise fixes everywhere. Each style entry also carries an `owner` (the enclosing call/JSX element) so tooling
13+
can group sibling properties from the same style block.
14+
15+
`compiler.spec()` now reports deprecation richer: `tokens.deprecated` and `utilities.deprecated` are maps of name →
16+
deprecation (`true`, or the author's `deprecated: 'use X instead'` message), recipe definitions carry a `deprecated`
17+
flag, and recipes/slotRecipes are exposed as top-level `spec.recipes` / `spec.slotRecipes` (previously nested under
18+
`spec.recipes.recipes`).
19+
20+
Add `compiler.suggestToken(prop, value)` — given a hardcoded value, returns the token to use (semantic tokens
21+
preferred over the primitives they reference, with hex and px/rem normalization), or `null`. Token references in
22+
inspection results also carry `isVar` (whether the call was `token.var(...)`).
23+
324
## 2.0.0-beta.3
425

526
## 2.0.0-beta.2

packages/compiler-shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/compiler-shared",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0-beta.4",
44
"description": "Shared TypeScript contract for the Panda compiler bindings (native + wasm)",
55
"type": "module",
66
"main": "./dist/index.js",

packages/compiler-wasm/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @pandacss/compiler-wasm
22

3+
## 2.0.0-beta.4
4+
5+
### Patch Changes
6+
7+
- 0202dba: Fix `globalCss` and token-reference parity with extracted styles.
8+
9+
- Expand composition props and nested utility transforms in `globalCss`.
10+
- Resolve token references in raw at-rule conditions.
11+
- Preserve `token(path, fallback)` fallbacks in emitted CSS variables.
12+
13+
- 23580df: Expose lint-friendly inspection data from `inspectFileSource`, including extracted calls, JSX entries, token
14+
references, component entries, and style entries with safe local key/value spans. Style entries cover every
15+
style-writing form — `css()` (including the `css(a, b)` multi-argument merge), style props, responsive arrays,
16+
per-prop conditions, JSX `css` props (object **and** `css={[...]}` array forms), and recipe styles in `cva` / `sva` /
17+
`styled('div', { ... })` (`base`, `variants`, `compoundVariants`) — and carry per-leaf value spans so tooling can
18+
offer precise fixes everywhere. Each style entry also carries an `owner` (the enclosing call/JSX element) so tooling
19+
can group sibling properties from the same style block.
20+
21+
`compiler.spec()` now reports deprecation richer: `tokens.deprecated` and `utilities.deprecated` are maps of name →
22+
deprecation (`true`, or the author's `deprecated: 'use X instead'` message), recipe definitions carry a `deprecated`
23+
flag, and recipes/slotRecipes are exposed as top-level `spec.recipes` / `spec.slotRecipes` (previously nested under
24+
`spec.recipes.recipes`).
25+
26+
Add `compiler.suggestToken(prop, value)` — given a hardcoded value, returns the token to use (semantic tokens
27+
preferred over the primitives they reference, with hex and px/rem normalization), or `null`. Token references in
28+
inspection results also carry `isVar` (whether the call was `token.var(...)`).
29+
30+
- Updated dependencies [23580df]
31+
- @pandacss/compiler-shared@2.0.0-beta.4
32+
333
## 2.0.0-beta.3
434

535
### Patch Changes

packages/compiler-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/compiler-wasm",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0-beta.4",
44
"description": "WebAssembly binding for the Panda compiler engine (browser/playground target)",
55
"type": "module",
66
"main": "./dist/index.js",

packages/compiler/CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# @pandacss/compiler
22

3+
## 2.0.0-beta.4
4+
5+
### Minor Changes
6+
7+
- 9521059: Add a `--include` flag to the scanning commands (`panda`, `build`, `dev`, `check`, `cssgen`, `debug`, `info`,
8+
`buildinfo`) to override the config's `include` globs for a single run. The flag is repeatable and accepts
9+
comma-separated values, and replaces (does not merge with) the configured globs — useful for scanning a subset of
10+
files in CI or one-off builds.
11+
12+
### Patch Changes
13+
14+
- 74dab7b: `styled-system/types/index` now re-exports `./jsx` for all JSX frameworks, not just React. Solid, Vue,
15+
Preact, and Qwik generated `types/jsx` but never re-exported it, which could cause "inferred type cannot be named"
16+
TypeScript errors.
17+
- 0202dba: Fix `globalCss` and token-reference parity with extracted styles.
18+
19+
- Expand composition props and nested utility transforms in `globalCss`.
20+
- Resolve token references in raw at-rule conditions.
21+
- Preserve `token(path, fallback)` fallbacks in emitted CSS variables.
22+
23+
- 23580df: Expose lint-friendly inspection data from `inspectFileSource`, including extracted calls, JSX entries, token
24+
references, component entries, and style entries with safe local key/value spans. Style entries cover every
25+
style-writing form — `css()` (including the `css(a, b)` multi-argument merge), style props, responsive arrays,
26+
per-prop conditions, JSX `css` props (object **and** `css={[...]}` array forms), and recipe styles in `cva` / `sva` /
27+
`styled('div', { ... })` (`base`, `variants`, `compoundVariants`) — and carry per-leaf value spans so tooling can
28+
offer precise fixes everywhere. Each style entry also carries an `owner` (the enclosing call/JSX element) so tooling
29+
can group sibling properties from the same style block.
30+
31+
`compiler.spec()` now reports deprecation richer: `tokens.deprecated` and `utilities.deprecated` are maps of name →
32+
deprecation (`true`, or the author's `deprecated: 'use X instead'` message), recipe definitions carry a `deprecated`
33+
flag, and recipes/slotRecipes are exposed as top-level `spec.recipes` / `spec.slotRecipes` (previously nested under
34+
`spec.recipes.recipes`).
35+
36+
Add `compiler.suggestToken(prop, value)` — given a hardcoded value, returns the token to use (semantic tokens
37+
preferred over the primitives they reference, with hex and px/rem normalization), or `null`. Token references in
38+
inspection results also carry `isVar` (whether the call was `token.var(...)`).
39+
40+
- 5316642: Fix slot recipe inference to include slots that appear only in `compoundVariants`. Previously, when `slots`
41+
was omitted from an `sva` call, a slot used solely inside a compound variant's `css` was dropped and its styles never
42+
emitted.
43+
- 1378d4a: Complete the SVG asset color-name shortening table (full parity with v1's 55 named colors) and fix a hex
44+
substring-match bug where values like `#fff000` were incorrectly shortened to `white000`.
45+
- Updated dependencies [23580df]
46+
- @pandacss/compiler-shared@2.0.0-beta.4
47+
- @pandacss/config@2.0.0-beta.4
48+
349
## 2.0.0-beta.3
450

551
### Patch Changes

packages/compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/compiler",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0-beta.4",
44
"description": "Native Rust binding for the Panda compiler engine",
55
"type": "module",
66
"main": "./dist/index.js",

packages/config/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @pandacss/config
22

3+
## 2.0.0-beta.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [23580df]
8+
- @pandacss/compiler-shared@2.0.0-beta.4
9+
- @pandacss/types@2.0.0-beta.4
10+
311
## 2.0.0-beta.3
412

513
### Patch Changes

0 commit comments

Comments
 (0)