@pandacss/config 0.0.0-dev-20240315122725 → 0.0.0-dev-20240315210222

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.
@@ -152,6 +152,7 @@ function mergeConfigs(configs) {
152
152
  globalCss: mergeExtensions(configs.map((config) => config.globalCss ?? {})),
153
153
  globalVars: mergeExtensions(configs.map((config) => config.globalVars ?? {})),
154
154
  staticCss: mergeExtensions(configs.map((config) => config.staticCss ?? {})),
155
+ themes: mergeExtensions(configs.map((config) => config.themes ?? {})),
155
156
  hooks: mergeHooks(pluginHooks)
156
157
  },
157
158
  ...configs
@@ -86,7 +86,8 @@ var artifactConfigDeps = {
86
86
  "types-jsx": jsx,
87
87
  "types-entry": [],
88
88
  "types-gen": [],
89
- "types-gen-system": []
89
+ "types-gen-system": [],
90
+ themes: ["themes"].concat(tokens)
90
91
  };
91
92
  var artifactMatchers = Object.entries(artifactConfigDeps).map(([key, paths]) => {
92
93
  if (!paths.length)
@@ -120,7 +120,8 @@ var artifactConfigDeps = {
120
120
  "types-jsx": jsx,
121
121
  "types-entry": [],
122
122
  "types-gen": [],
123
- "types-gen-system": []
123
+ "types-gen-system": [],
124
+ themes: ["themes"].concat(tokens)
124
125
  };
125
126
  var artifactMatchers = Object.entries(artifactConfigDeps).map(([key, paths]) => {
126
127
  if (!paths.length)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  diffConfigs
3
- } from "./chunk-XG53JPBE.mjs";
3
+ } from "./chunk-D3CL3VYD.mjs";
4
4
  export {
5
5
  diffConfigs
6
6
  };
package/dist/index.js CHANGED
@@ -190,7 +190,8 @@ var artifactConfigDeps = {
190
190
  "types-jsx": jsx,
191
191
  "types-entry": [],
192
192
  "types-gen": [],
193
- "types-gen-system": []
193
+ "types-gen-system": [],
194
+ themes: ["themes"].concat(tokens)
194
195
  };
195
196
  var artifactMatchers = Object.entries(artifactConfigDeps).map(([key, paths]) => {
196
197
  if (!paths.length)
@@ -534,6 +535,7 @@ function mergeConfigs(configs2) {
534
535
  globalCss: mergeExtensions(configs2.map((config) => config.globalCss ?? {})),
535
536
  globalVars: mergeExtensions(configs2.map((config) => config.globalVars ?? {})),
536
537
  staticCss: mergeExtensions(configs2.map((config) => config.staticCss ?? {})),
538
+ themes: mergeExtensions(configs2.map((config) => config.themes ?? {})),
537
539
  hooks: mergeHooks(pluginHooks)
538
540
  },
539
541
  ...configs2
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  mergeConfigs
3
- } from "./chunk-IOZ3TR4O.mjs";
3
+ } from "./chunk-2IJ2YCV2.mjs";
4
4
  import {
5
5
  diffConfigs
6
- } from "./chunk-XG53JPBE.mjs";
6
+ } from "./chunk-D3CL3VYD.mjs";
7
7
  import {
8
8
  resolveTsPathPattern
9
9
  } from "./chunk-RPIVZP2I.mjs";
@@ -176,6 +176,7 @@ function mergeConfigs(configs) {
176
176
  globalCss: mergeExtensions(configs.map((config) => config.globalCss ?? {})),
177
177
  globalVars: mergeExtensions(configs.map((config) => config.globalVars ?? {})),
178
178
  staticCss: mergeExtensions(configs.map((config) => config.staticCss ?? {})),
179
+ themes: mergeExtensions(configs.map((config) => config.themes ?? {})),
179
180
  hooks: mergeHooks(pluginHooks)
180
181
  },
181
182
  ...configs
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mergeConfigs
3
- } from "./chunk-IOZ3TR4O.mjs";
3
+ } from "./chunk-2IJ2YCV2.mjs";
4
4
  export {
5
5
  mergeConfigs
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/config",
3
- "version": "0.0.0-dev-20240315122725",
3
+ "version": "0.0.0-dev-20240315210222",
4
4
  "description": "Find and load panda config",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -73,11 +73,11 @@
73
73
  "merge-anything": "5.1.7",
74
74
  "microdiff": "1.3.2",
75
75
  "typescript": "5.3.3",
76
- "@pandacss/logger": "0.0.0-dev-20240315122725",
77
- "@pandacss/preset-base": "0.0.0-dev-20240315122725",
78
- "@pandacss/preset-panda": "0.0.0-dev-20240315122725",
79
- "@pandacss/shared": "0.0.0-dev-20240315122725",
80
- "@pandacss/types": "0.0.0-dev-20240315122725"
76
+ "@pandacss/logger": "0.0.0-dev-20240315210222",
77
+ "@pandacss/preset-base": "0.0.0-dev-20240315210222",
78
+ "@pandacss/preset-panda": "0.0.0-dev-20240315210222",
79
+ "@pandacss/shared": "0.0.0-dev-20240315210222",
80
+ "@pandacss/types": "0.0.0-dev-20240315210222"
81
81
  },
82
82
  "devDependencies": {
83
83
  "pkg-types": "1.0.3"