|
1 | 1 | # @pandacss/compiler |
2 | 2 |
|
| 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 | + |
3 | 39 | ## 2.0.0-beta.5 |
4 | 40 |
|
5 | 41 | ### Patch Changes |
|
0 commit comments