Skip to content

Commit 3f4c344

Browse files
Version Packages (beta)
1 parent 248a344 commit 3f4c344

31 files changed

Lines changed: 241 additions & 15 deletions

.changeset/pre.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,15 @@
3535
"@pandacss/eslint-plugin": "2.0.0-beta.3"
3636
},
3737
"changesets": [
38+
"analyze-report",
3839
"cli-include-flag",
3940
"codegen-types-index-jsx",
4041
"compiled-jsx-runtime-extraction",
4142
"config-bundle-temp-file",
4243
"css-property-value-map",
4344
"default-panda-build-command",
45+
"design-system-manifest",
46+
"design-system-single-level",
4447
"direct-mcp-package",
4548
"eslint-plugin-core",
4649
"fix-classname-vendor-prefix",
@@ -52,6 +55,7 @@
5255
"fix-runtime-important-classname",
5356
"global-nesting-composition-parity",
5457
"init-scaffold-default-presets",
58+
"jsx-extract-requires-framework",
5559
"lint-inspection-result",
5660
"merge-adjacent-selectors",
5761
"native-token-css",

packages/cli/CHANGELOG.md

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

3+
## 2.0.0-beta.6
4+
5+
### Patch Changes
6+
7+
- 8a936bd: Add `panda analyze` usage reports with JSON and static HTML output, including configured usage totals for
8+
report summaries.
9+
- Updated dependencies [8a936bd]
10+
- Updated dependencies [82e7811]
11+
- Updated dependencies [7b71a43]
12+
- Updated dependencies [d075c2b]
13+
- @pandacss/compiler@2.0.0-beta.6
14+
- @pandacss/compiler-shared@2.0.0-beta.6
15+
- @pandacss/config@2.0.0-beta.6
16+
317
## 2.0.0-beta.5
418

519
### 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.5",
3+
"version": "2.0.0-beta.6",
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: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @pandacss/compiler-shared
22

3+
## 2.0.0-beta.6
4+
5+
### Minor Changes
6+
7+
- 7b71a43: Adopt a published design system with one config field: `designSystem: '@acme/ds'`.
8+
9+
Panda reads the library's `panda.lib.json`, merges its preset under your config (your overrides win), points its
10+
components at the design system's own styled-system, and reuses its pre-extracted styles instead of re-extracting
11+
them. If your Panda is a different major than the design system needs (say a v2 design system on Panda v1), you get a
12+
clear error instead of broken output.
13+
14+
### Patch Changes
15+
16+
- 8a936bd: Add `panda analyze` usage reports with JSON and static HTML output, including configured usage totals for
17+
report summaries.
18+
- 82e7811: Add the `compiler.designSystem` namespace — `create`, `validate`, `load`, and `resolveChain` for a design
19+
system's `panda.lib.json` manifest. The manifest records a library's preset, build info, import paths, and parent
20+
design system so a consumer adopts it with one `designSystem` field.
21+
22+
- `create` / `validate` — produce and schema-check a manifest.
23+
- `load` — the consumer side: validate, then hydrate the library's pre-extracted styles, tree-shaken to the consumer's
24+
imports.
25+
- `resolveChain` — the composition case: order a chain of parent design systems root-first, deduping shared ancestors
26+
and reporting cycles.
27+
328
## 2.0.0-beta.5
429

530
## 2.0.0-beta.4

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.5",
3+
"version": "2.0.0-beta.6",
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# @pandacss/compiler-wasm
22

3+
## 2.0.0-beta.6
4+
5+
### Patch Changes
6+
7+
- 82e7811: Add the `compiler.designSystem` namespace — `create`, `validate`, `load`, and `resolveChain` for a design
8+
system's `panda.lib.json` manifest. The manifest records a library's preset, build info, import paths, and parent
9+
design system so a consumer adopts it with one `designSystem` field.
10+
11+
- `create` / `validate` — produce and schema-check a manifest.
12+
- `load` — the consumer side: validate, then hydrate the library's pre-extracted styles, tree-shaken to the consumer's
13+
imports.
14+
- `resolveChain` — the composition case: order a chain of parent design systems root-first, deduping shared ancestors
15+
and reporting cycles.
16+
17+
- d075c2b: Only extract JSX style props when `jsxFramework` is configured.
18+
19+
This prevents CSS from being generated for JSX components in projects that have not enabled JSX extraction.
20+
Function-call extraction is unchanged.
21+
22+
- Updated dependencies [8a936bd]
23+
- Updated dependencies [82e7811]
24+
- Updated dependencies [7b71a43]
25+
- @pandacss/compiler-shared@2.0.0-beta.6
26+
327
## 2.0.0-beta.5
428

529
### 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.5",
3+
"version": "2.0.0-beta.6",
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: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @pandacss/compiler
22

3+
## 2.0.0-beta.6
4+
5+
### Minor Changes
6+
7+
- 7b71a43: Adopt a published design system with one config field: `designSystem: '@acme/ds'`.
8+
9+
Panda reads the library's `panda.lib.json`, merges its preset under your config (your overrides win), points its
10+
components at the design system's own styled-system, and reuses its pre-extracted styles instead of re-extracting
11+
them. If your Panda is a different major than the design system needs (say a v2 design system on Panda v1), you get a
12+
clear error instead of broken output.
13+
14+
### Patch Changes
15+
16+
- 8a936bd: Add `panda analyze` usage reports with JSON and static HTML output, including configured usage totals for
17+
report summaries.
18+
- 82e7811: Add the `compiler.designSystem` namespace — `create`, `validate`, `load`, and `resolveChain` for a design
19+
system's `panda.lib.json` manifest. The manifest records a library's preset, build info, import paths, and parent
20+
design system so a consumer adopts it with one `designSystem` field.
21+
22+
- `create` / `validate` — produce and schema-check a manifest.
23+
- `load` — the consumer side: validate, then hydrate the library's pre-extracted styles, tree-shaken to the consumer's
24+
imports.
25+
- `resolveChain` — the composition case: order a chain of parent design systems root-first, deduping shared ancestors
26+
and reporting cycles.
27+
28+
- d075c2b: Only extract JSX style props when `jsxFramework` is configured.
29+
30+
This prevents CSS from being generated for JSX components in projects that have not enabled JSX extraction.
31+
Function-call extraction is unchanged.
32+
33+
- Updated dependencies [8a936bd]
34+
- Updated dependencies [82e7811]
35+
- Updated dependencies [7b71a43]
36+
- @pandacss/compiler-shared@2.0.0-beta.6
37+
- @pandacss/config@2.0.0-beta.6
38+
339
## 2.0.0-beta.5
440

541
### 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.5",
3+
"version": "2.0.0-beta.6",
44
"description": "Native Rust binding for the Panda compiler engine",
55
"type": "module",
66
"main": "./dist/index.js",

packages/config/CHANGELOG.md

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

3+
## 2.0.0-beta.6
4+
5+
### Minor Changes
6+
7+
- 7b71a43: Adopt a published design system with one config field: `designSystem: '@acme/ds'`.
8+
9+
Panda reads the library's `panda.lib.json`, merges its preset under your config (your overrides win), points its
10+
components at the design system's own styled-system, and reuses its pre-extracted styles instead of re-extracting
11+
them. If your Panda is a different major than the design system needs (say a v2 design system on Panda v1), you get a
12+
clear error instead of broken output.
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [8a936bd]
17+
- Updated dependencies [82e7811]
18+
- Updated dependencies [7b71a43]
19+
- @pandacss/compiler-shared@2.0.0-beta.6
20+
- @pandacss/types@2.0.0-beta.6
21+
322
## 2.0.0-beta.5
423

524
### Patch Changes

0 commit comments

Comments
 (0)