@unocss/core 0.48.0 → 0.48.1
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.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -219,7 +219,7 @@ function withLayer(layer, rules) {
|
|
|
219
219
|
return rules;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
const regexClassGroup = /((?:[!@\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s
|
|
222
|
+
const regexClassGroup = /((?:[!@\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$?-]|\[.*?\])+?)\)(?!\s*?=>)/gm;
|
|
223
223
|
function expandVariantGroup(str, separators = ["-", ":"], depth = 5) {
|
|
224
224
|
regexClassGroup.lastIndex = 0;
|
|
225
225
|
let hasChanged = false;
|
|
@@ -431,7 +431,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
const version = "0.48.
|
|
434
|
+
const version = "0.48.1";
|
|
435
435
|
|
|
436
436
|
class UnoGenerator {
|
|
437
437
|
constructor(userConfig = {}, defaults = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -215,7 +215,7 @@ function withLayer(layer, rules) {
|
|
|
215
215
|
return rules;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
const regexClassGroup = /((?:[!@\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s
|
|
218
|
+
const regexClassGroup = /((?:[!@\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$?-]|\[.*?\])+?)\)(?!\s*?=>)/gm;
|
|
219
219
|
function expandVariantGroup(str, separators = ["-", ":"], depth = 5) {
|
|
220
220
|
regexClassGroup.lastIndex = 0;
|
|
221
221
|
let hasChanged = false;
|
|
@@ -427,7 +427,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
427
427
|
};
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
const version = "0.48.
|
|
430
|
+
const version = "0.48.1";
|
|
431
431
|
|
|
432
432
|
class UnoGenerator {
|
|
433
433
|
constructor(userConfig = {}, defaults = {}) {
|