@pandacss/token-dictionary
Advanced tools
Comparing version 0.0.0-dev-20240726092655 to 0.0.0-dev-20240727164156
@@ -515,2 +515,5 @@ "use strict"; | ||
// src/transform.ts | ||
function toUnit(v) { | ||
return (0, import_shared4.isCssUnit)(v) ? v : `${v}px`; | ||
} | ||
var transformShadow = { | ||
@@ -585,3 +588,3 @@ name: "tokens/shadow", | ||
const { width, style, color } = token.value; | ||
return `${width}px ${style} ${color}`; | ||
return `${toUnit(width)} ${style} ${color}`; | ||
} | ||
@@ -588,0 +591,0 @@ return token.value; |
{ | ||
"name": "@pandacss/token-dictionary", | ||
"version": "0.0.0-dev-20240726092655", | ||
"version": "0.0.0-dev-20240727164156", | ||
"description": "Common error messages for css panda", | ||
@@ -36,5 +36,5 @@ "main": "dist/index.js", | ||
"ts-pattern": "5.0.8", | ||
"@pandacss/logger": "^0.0.0-dev-20240726092655", | ||
"@pandacss/shared": "0.0.0-dev-20240726092655", | ||
"@pandacss/types": "0.0.0-dev-20240726092655" | ||
"@pandacss/logger": "^0.0.0-dev-20240727164156", | ||
"@pandacss/shared": "0.0.0-dev-20240727164156", | ||
"@pandacss/types": "0.0.0-dev-20240727164156" | ||
}, | ||
@@ -41,0 +41,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
97039
2832
+ Added@pandacss/shared@0.0.0-dev-20240727164156(transitive)
+ Added@pandacss/types@0.0.0-dev-20240727164156(transitive)
- Removed@pandacss/shared@0.0.0-dev-20240726092655(transitive)
- Removed@pandacss/types@0.0.0-dev-20240726092655(transitive)