@pandacss/token-dictionary 0.47.0 → 0.47.1
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -514,7 +514,7 @@ var objectKeys = (obj) => Object.keys(obj);
|
|
|
514
514
|
|
|
515
515
|
// src/transform.ts
|
|
516
516
|
function toUnit(v) {
|
|
517
|
-
return (0, import_shared4.isCssUnit)(v) ? v : `${v}px`;
|
|
517
|
+
return (0, import_shared4.isCssUnit)(v) || hasReference(v.toString()) ? v : `${v}px`;
|
|
518
518
|
}
|
|
519
519
|
var transformShadow = {
|
|
520
520
|
name: "tokens/shadow",
|
package/dist/index.mjs
CHANGED
|
@@ -490,7 +490,7 @@ var objectKeys = (obj) => Object.keys(obj);
|
|
|
490
490
|
|
|
491
491
|
// src/transform.ts
|
|
492
492
|
function toUnit(v) {
|
|
493
|
-
return isCssUnit(v) ? v : `${v}px`;
|
|
493
|
+
return isCssUnit(v) || hasReference(v.toString()) ? v : `${v}px`;
|
|
494
494
|
}
|
|
495
495
|
var transformShadow = {
|
|
496
496
|
name: "tokens/shadow",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/token-dictionary",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"description": "Common error messages for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ts-pattern": "5.0.8",
|
|
36
|
-
"@pandacss/logger": "^0.47.
|
|
37
|
-
"@pandacss/shared": "0.47.
|
|
38
|
-
"@pandacss/types": "0.47.
|
|
36
|
+
"@pandacss/logger": "^0.47.1",
|
|
37
|
+
"@pandacss/shared": "0.47.1",
|
|
38
|
+
"@pandacss/types": "0.47.1"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|