@pandacss/token-dictionary 1.11.3 → 1.11.4

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.
package/dist/index.js CHANGED
@@ -945,7 +945,7 @@ var TokenDictionary = class {
945
945
  assertTokenFormat(token);
946
946
  const category = path[0];
947
947
  const name = this.formatTokenName(path);
948
- const normalizedToken = (0, import_shared6.isString)(token.value) || isCompositeTokenValue(token.value) ? { value: { base: token.value } } : token;
948
+ const normalizedToken = (0, import_shared6.isString)(token.value) || isCompositeTokenValue(token.value) ? { ...token, value: { base: token.value } } : token;
949
949
  const { value, ...restData } = normalizedToken;
950
950
  const node = new Token({
951
951
  ...restData,
package/dist/index.mjs CHANGED
@@ -911,7 +911,7 @@ var TokenDictionary = class {
911
911
  assertTokenFormat(token);
912
912
  const category = path[0];
913
913
  const name = this.formatTokenName(path);
914
- const normalizedToken = isString2(token.value) || isCompositeTokenValue(token.value) ? { value: { base: token.value } } : token;
914
+ const normalizedToken = isString2(token.value) || isCompositeTokenValue(token.value) ? { ...token, value: { base: token.value } } : token;
915
915
  const { value, ...restData } = normalizedToken;
916
916
  const node = new Token({
917
917
  ...restData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/token-dictionary",
3
- "version": "1.11.3",
3
+ "version": "1.11.4",
4
4
  "description": "Common error messages for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -35,9 +35,9 @@
35
35
  "dependencies": {
36
36
  "picomatch": "4.0.4",
37
37
  "ts-pattern": "5.9.0",
38
- "@pandacss/logger": "^1.11.3",
39
- "@pandacss/shared": "1.11.3",
40
- "@pandacss/types": "1.11.3"
38
+ "@pandacss/logger": "^1.11.4",
39
+ "@pandacss/shared": "1.11.4",
40
+ "@pandacss/types": "1.11.4"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/picomatch": "4.0.2"