@pandacss/shared 0.0.0-dev-20230416182746 → 0.0.0-dev-20230416210337
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 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -340,8 +340,9 @@ function cssVar(name, options = {}) {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
// src/esc.ts
|
|
343
|
+
var escapeRegExp = /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g;
|
|
343
344
|
function esc2(str) {
|
|
344
|
-
return "".replace.call(str,
|
|
345
|
+
return "".replace.call(str, escapeRegExp, "\\$1");
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
// src/flatten.ts
|
package/dist/index.mjs
CHANGED
|
@@ -278,8 +278,9 @@ function cssVar(name, options = {}) {
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
// src/esc.ts
|
|
281
|
+
var escapeRegExp = /(^[^_a-zA-Z\u00a0-\uffff]|[^-_a-zA-Z0-9\u00a0-\uffff])/g;
|
|
281
282
|
function esc2(str) {
|
|
282
|
-
return "".replace.call(str,
|
|
283
|
+
return "".replace.call(str, escapeRegExp, "\\$1");
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
// src/flatten.ts
|