@pandacss/shared 0.13.0 → 0.14.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -377,9 +377,9 @@ function toRem(value = "") {
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
// src/css-var.ts
|
|
380
|
-
var escRegex = /[
|
|
380
|
+
var escRegex = /[^a-zA-Z0-9_\u0081-\uffff-]/g;
|
|
381
381
|
function esc(string) {
|
|
382
|
-
return string
|
|
382
|
+
return `${string}`.replace(escRegex, (s) => `\\${s}`);
|
|
383
383
|
}
|
|
384
384
|
var dashCaseRegex = /[A-Z]/g;
|
|
385
385
|
function dashCase2(string) {
|
package/dist/index.mjs
CHANGED
|
@@ -310,9 +310,9 @@ function toRem(value = "") {
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
// src/css-var.ts
|
|
313
|
-
var escRegex = /[
|
|
313
|
+
var escRegex = /[^a-zA-Z0-9_\u0081-\uffff-]/g;
|
|
314
314
|
function esc(string) {
|
|
315
|
-
return string
|
|
315
|
+
return `${string}`.replace(escRegex, (s) => `\\${s}`);
|
|
316
316
|
}
|
|
317
317
|
var dashCaseRegex = /[A-Z]/g;
|
|
318
318
|
function dashCase2(string) {
|