@unocss/core 0.45.6 → 0.45.7

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 CHANGED
@@ -223,7 +223,7 @@ function withLayer(layer, rules) {
223
223
  return rules;
224
224
  }
225
225
 
226
- const regexClassGroup = /([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;
226
+ const regexClassGroup = /((?:[!\w+:_/-]|\[&?>?:.+?\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;
227
227
  function expandVariantGroup(str, seperators = ["-", ":"]) {
228
228
  regexClassGroup.lastIndex = 0;
229
229
  let hasChanged = false;
@@ -417,7 +417,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
417
417
  };
418
418
  }
419
419
 
420
- const version = "0.45.6";
420
+ const version = "0.45.7";
421
421
 
422
422
  class UnoGenerator {
423
423
  constructor(userConfig = {}, defaults = {}) {
package/dist/index.mjs CHANGED
@@ -219,7 +219,7 @@ function withLayer(layer, rules) {
219
219
  return rules;
220
220
  }
221
221
 
222
- const regexClassGroup = /([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;
222
+ const regexClassGroup = /((?:[!\w+:_/-]|\[&?>?:.+?\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;
223
223
  function expandVariantGroup(str, seperators = ["-", ":"]) {
224
224
  regexClassGroup.lastIndex = 0;
225
225
  let hasChanged = false;
@@ -413,7 +413,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
413
413
  };
414
414
  }
415
415
 
416
- const version = "0.45.6";
416
+ const version = "0.45.7";
417
417
 
418
418
  class UnoGenerator {
419
419
  constructor(userConfig = {}, defaults = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.45.6",
3
+ "version": "0.45.7",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",