@unocss/preset-mini 66.1.0-beta.11 → 66.1.0-beta.13

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.mjs CHANGED
@@ -2,7 +2,7 @@ import { entriesToCss, toArray, definePreset } from '@unocss/core';
2
2
  import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
3
3
  import { g as globalKeywords } from './shared/preset-mini.DrfPDgwn.mjs';
4
4
  export { k as parseColor } from './shared/preset-mini.DrfPDgwn.mjs';
5
- import { j as variants } from './shared/preset-mini.DZPqO9jL.mjs';
5
+ import { j as variants } from './shared/preset-mini.C-YrfzXL.mjs';
6
6
  import { r as rules } from './shared/preset-mini.DD6O2PIA.mjs';
7
7
  import { t as theme } from './shared/preset-mini.DSyW8MIa.mjs';
8
8
  export { colors } from './colors.mjs';
@@ -16,7 +16,8 @@ const variantAria = {
16
16
  };
17
17
  }
18
18
  }
19
- }
19
+ },
20
+ multiPass: true
20
21
  };
21
22
  function taggedAria(tagName) {
22
23
  return {
@@ -222,7 +223,8 @@ const variantDataAttribute = {
222
223
  };
223
224
  }
224
225
  }
225
- }
226
+ },
227
+ multiPass: true
226
228
  };
227
229
  function taggedData(tagName) {
228
230
  return {
@@ -627,9 +629,9 @@ function taggedPseudoClassMatcher(tag, parent, combinator) {
627
629
  match(input, ctx) {
628
630
  if (!(splitRE && pseudoRE && pseudoColonRE)) {
629
631
  splitRE = new RegExp(`(?:${ctx.generator.config.separators.join("|")})`);
630
- pseudoRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesStr}))(?:(/\\w+))?(?:${ctx.generator.config.separators.join("|")})`);
631
- pseudoColonRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesColonStr}))(?:(/\\w+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
632
- pseudoVarRE = new RegExp(`^${tag}-(?:(${PseudoClassFunctionsStr})-)?\\[(.+)\\](?:(/\\w+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
632
+ pseudoRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesStr}))(?:(/[\\w-]+))?(?:${ctx.generator.config.separators.join("|")})`);
633
+ pseudoColonRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesColonStr}))(?:(/[\\w-]+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
634
+ pseudoVarRE = new RegExp(`^${tag}-(?:(${PseudoClassFunctionsStr})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
633
635
  }
634
636
  if (!input.startsWith(tag))
635
637
  return;
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as calcMaxWidthBySize, v as variantAria, b as variantBreakpoints, d as variantChildren, g as variantColorsMediaOrClass, e as variantCombinators, f as variantContainerQuery, p as variantCssLayer, n as variantCustomMedia, h as variantDataAttribute, l as variantImportant, q as variantInternalLayer, k as variantLanguageDirections, u as variantNegative, z as variantPartClasses, m as variantPrint, x as variantPseudoClassFunctions, w as variantPseudoClassesAndElements, r as variantScope, o as variantSelector, A as variantStartingStyle, B as variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.DZPqO9jL.mjs';
1
+ export { c as calcMaxWidthBySize, v as variantAria, b as variantBreakpoints, d as variantChildren, g as variantColorsMediaOrClass, e as variantCombinators, f as variantContainerQuery, p as variantCssLayer, n as variantCustomMedia, h as variantDataAttribute, l as variantImportant, q as variantInternalLayer, k as variantLanguageDirections, u as variantNegative, z as variantPartClasses, m as variantPrint, x as variantPseudoClassFunctions, w as variantPseudoClassesAndElements, r as variantScope, o as variantSelector, A as variantStartingStyle, B as variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.C-YrfzXL.mjs';
2
2
  import '@unocss/rule-utils';
3
3
  import './shared/preset-mini.DrfPDgwn.mjs';
4
4
  import '@unocss/core';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "66.1.0-beta.11",
4
+ "version": "66.1.0-beta.13",
5
5
  "description": "The minimal preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "dist"
57
57
  ],
58
58
  "dependencies": {
59
- "@unocss/core": "66.1.0-beta.11",
60
- "@unocss/rule-utils": "66.1.0-beta.11",
61
- "@unocss/extractor-arbitrary-variants": "66.1.0-beta.11"
59
+ "@unocss/core": "66.1.0-beta.13",
60
+ "@unocss/rule-utils": "66.1.0-beta.13",
61
+ "@unocss/extractor-arbitrary-variants": "66.1.0-beta.13"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",