@pandacss/token-dictionary 0.0.0-dev-20240223224443 → 0.0.0-dev-20240225151817
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
|
@@ -583,7 +583,7 @@ var transformAssets = {
|
|
|
583
583
|
match: (token) => token.extensions.category === "assets",
|
|
584
584
|
transform(token) {
|
|
585
585
|
const raw = token.value;
|
|
586
|
-
return (0, import_ts_pattern2.match)(raw).with(import_ts_pattern2.P.string, (value) => value).with({ type: "url" }, ({ value }) => `url(
|
|
586
|
+
return (0, import_ts_pattern2.match)(raw).with(import_ts_pattern2.P.string, (value) => value).with({ type: "url" }, ({ value }) => `url("${value}")`).with({ type: "svg" }, ({ value }) => `url("${svgToDataUri(value)}")`).exhaustive();
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
589
|
var addCssVariables = {
|
package/dist/index.mjs
CHANGED
|
@@ -563,7 +563,7 @@ var transformAssets = {
|
|
|
563
563
|
match: (token) => token.extensions.category === "assets",
|
|
564
564
|
transform(token) {
|
|
565
565
|
const raw = token.value;
|
|
566
|
-
return match(raw).with(P2.string, (value) => value).with({ type: "url" }, ({ value }) => `url(
|
|
566
|
+
return match(raw).with(P2.string, (value) => value).with({ type: "url" }, ({ value }) => `url("${value}")`).with({ type: "svg" }, ({ value }) => `url("${svgToDataUri(value)}")`).exhaustive();
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
var addCssVariables = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/token-dictionary",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240225151817",
|
|
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.0.0-dev-
|
|
37
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
38
|
-
"@pandacss/types": "0.0.0-dev-
|
|
36
|
+
"@pandacss/logger": "^0.0.0-dev-20240225151817",
|
|
37
|
+
"@pandacss/shared": "0.0.0-dev-20240225151817",
|
|
38
|
+
"@pandacss/types": "0.0.0-dev-20240225151817"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|