@pandacss/token-dictionary 0.46.1 → 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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -306,7 +306,8 @@ var TOKEN_TYPES = {
|
|
|
306
306
|
borderWidths: "borderWidth",
|
|
307
307
|
components: "cti",
|
|
308
308
|
assets: "asset",
|
|
309
|
-
aspectRatios: "aspectRatio"
|
|
309
|
+
aspectRatios: "aspectRatio",
|
|
310
|
+
cursor: "cursor"
|
|
310
311
|
};
|
|
311
312
|
|
|
312
313
|
// src/middleware.ts
|
|
@@ -513,7 +514,7 @@ var objectKeys = (obj) => Object.keys(obj);
|
|
|
513
514
|
|
|
514
515
|
// src/transform.ts
|
|
515
516
|
function toUnit(v) {
|
|
516
|
-
return (0, import_shared4.isCssUnit)(v) ? v : `${v}px`;
|
|
517
|
+
return (0, import_shared4.isCssUnit)(v) || hasReference(v.toString()) ? v : `${v}px`;
|
|
517
518
|
}
|
|
518
519
|
var transformShadow = {
|
|
519
520
|
name: "tokens/shadow",
|
package/dist/index.mjs
CHANGED
|
@@ -282,7 +282,8 @@ var TOKEN_TYPES = {
|
|
|
282
282
|
borderWidths: "borderWidth",
|
|
283
283
|
components: "cti",
|
|
284
284
|
assets: "asset",
|
|
285
|
-
aspectRatios: "aspectRatio"
|
|
285
|
+
aspectRatios: "aspectRatio",
|
|
286
|
+
cursor: "cursor"
|
|
286
287
|
};
|
|
287
288
|
|
|
288
289
|
// src/middleware.ts
|
|
@@ -489,7 +490,7 @@ var objectKeys = (obj) => Object.keys(obj);
|
|
|
489
490
|
|
|
490
491
|
// src/transform.ts
|
|
491
492
|
function toUnit(v) {
|
|
492
|
-
return isCssUnit(v) ? v : `${v}px`;
|
|
493
|
+
return isCssUnit(v) || hasReference(v.toString()) ? v : `${v}px`;
|
|
493
494
|
}
|
|
494
495
|
var transformShadow = {
|
|
495
496
|
name: "tokens/shadow",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/token-dictionary",
|
|
3
|
-
"version": "0.
|
|
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.
|
|
37
|
-
"@pandacss/shared": "0.
|
|
38
|
-
"@pandacss/types": "0.
|
|
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",
|