@pandacss/token-dictionary 0.9.0 → 0.10.0

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
@@ -809,7 +809,7 @@ var transformAssets = {
809
809
  match: (token) => token.extensions.category === "assets",
810
810
  transform(token) {
811
811
  const raw = token.value;
812
- 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();
812
+ 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();
813
813
  }
814
814
  };
815
815
  var addCssVariables = {
package/dist/index.mjs CHANGED
@@ -782,7 +782,7 @@ var transformAssets = {
782
782
  match: (token) => token.extensions.category === "assets",
783
783
  transform(token) {
784
784
  const raw = token.value;
785
- return match2(raw).with(P.string, (value) => value).with({ type: "url" }, ({ value }) => `url(${value})`).with({ type: "svg" }, ({ value }) => `url(${svgToDataUri(value)})`).exhaustive();
785
+ return match2(raw).with(P.string, (value) => value).with({ type: "url" }, ({ value }) => `url('${value}')`).with({ type: "svg" }, ({ value }) => `url('${svgToDataUri(value)})'`).exhaustive();
786
786
  }
787
787
  };
788
788
  var addCssVariables = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/token-dictionary",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Common error messages for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15,11 +15,11 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "ts-pattern": "5.0.4",
18
- "@pandacss/types": "0.9.0",
19
- "@pandacss/shared": "0.9.0"
18
+ "@pandacss/types": "0.10.0",
19
+ "@pandacss/shared": "0.10.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@pandacss/fixture": "0.9.0"
22
+ "@pandacss/fixture": "0.10.0"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format=esm,cjs --dts",