@pandacss/compiler-wasm32-wasi 2.0.0-beta.17 → 2.0.0-beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ export declare class Compiler {
9
9
  * # Errors
10
10
  * Returns an error if the build info fails to serialize.
11
11
  */
12
- serializeBuildInfo(panda: string): any
12
+ serializeBuildInfo(panda: string, dependencies?: Array<BuildInfoDesignSystemDependency> | undefined | null): any
13
13
  /**
14
14
  * Low-level build-info primitive — hydrate a deserialized build info into
15
15
  * this project (additive), optionally restricted to imported modules
@@ -25,12 +25,7 @@ export declare class Compiler {
25
25
  * `buildInfo.validate` compares an artifact's `schemaVersion` against it.
26
26
  */
27
27
  buildInfoSchemaVersion(): number
28
- /**
29
- * Generate artifacts and write them under `outdir`.
30
- *
31
- * # Errors
32
- * Returns an error if a file fails to write.
33
- */
28
+ /** Generate artifacts and write them under `outdir`. */
34
29
  writeArtifacts(options: WriteArtifactsOptions): Array<string>
35
30
  generateArtifacts(options?: GenerateArtifactOptions | undefined | null): Array<CodegenArtifact>
36
31
  generateArtifact(id: string, options?: GenerateArtifactOptions | undefined | null): CodegenArtifact | null
@@ -67,7 +62,7 @@ export declare class Compiler {
67
62
  */
68
63
  configFingerprint(): string
69
64
  /** Rust-built token dictionary projected into the small JS interop shape. */
70
- token_dictionary(): TokenDictionary | null
65
+ tokenDictionary(): TokenDictionary | null
71
66
  compile(options?: CompileOptions | undefined | null): CompileOutput
72
67
  writeCss(options: WriteCssOptions): WriteCssResult
73
68
  writeSplitCss(options: WriteSplitCssOptions): WriteSplitCssResult
@@ -277,6 +272,16 @@ export interface Atom {
277
272
  conditions: Array<string>
278
273
  }
279
274
 
275
+ /** Package matching data used while recording design-system dependency imports. */
276
+ export interface BuildInfoDesignSystemDependency {
277
+ /** Published package name stored in build info. */
278
+ name: string
279
+ /** Import specifiers that resolve to this dependency. */
280
+ packageRoots: Array<string>
281
+ /** Non-component subpaths ignored by dependency tracking. */
282
+ excludeModules?: Array<string>
283
+ }
284
+
280
285
  export interface CodegenArtifact {
281
286
  id: string
282
287
  files: Array<CodegenFile>
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/compiler-wasm32-wasi",
3
- "version": "2.0.0-beta.17",
3
+ "version": "2.0.0-beta.19",
4
4
  "main": "compiler.wasi.cjs",
5
5
  "files": [
6
6
  "compiler.wasm32-wasi.wasm",