@unocss/preset-mini 66.2.3 → 66.3.1-beta.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.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 { i as variants } from './shared/preset-mini.CHzPf0gx.mjs';
5
+ import { i as variants } from './shared/preset-mini.CvGCoT1c.mjs';
6
6
  import { r as rules } from './shared/preset-mini.BbFVnwVO.mjs';
7
7
  import { t as theme } from './shared/preset-mini.BsxsSmTL.mjs';
8
8
  export { colors } from './colors.mjs';
@@ -40,7 +40,8 @@ const variantTaggedAriaAttributes = [
40
40
  taggedAria("group"),
41
41
  taggedAria("peer"),
42
42
  taggedAria("parent"),
43
- taggedAria("previous")
43
+ taggedAria("previous"),
44
+ taggedAria("has")
44
45
  ];
45
46
 
46
47
  const sizePseudo = /(max|min)-\[([^\]]*)\]:/;
@@ -113,7 +114,7 @@ function variantBreakpoints() {
113
114
  }
114
115
 
115
116
  const variantChildren = [
116
- variantMatcher("*", (input) => ({ selector: `${input.selector} > *` }))
117
+ variantMatcher("*", (input) => ({ selector: `${input.selector} > *` }), { order: -1 })
117
118
  ];
118
119
 
119
120
  function scopeMatcher(name, combinator) {
@@ -238,7 +239,8 @@ const variantTaggedDataAttributes = [
238
239
  taggedData("group"),
239
240
  taggedData("peer"),
240
241
  taggedData("parent"),
241
- taggedData("previous")
242
+ taggedData("previous"),
243
+ taggedData("has")
242
244
  ];
243
245
 
244
246
  const variantLanguageDirections = [
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.CHzPf0gx.mjs';
1
+ export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.CvGCoT1c.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.2.3",
4
+ "version": "66.3.1-beta.1",
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.2.3",
60
- "@unocss/extractor-arbitrary-variants": "66.2.3",
61
- "@unocss/rule-utils": "66.2.3"
59
+ "@unocss/core": "66.3.1-beta.1",
60
+ "@unocss/extractor-arbitrary-variants": "66.3.1-beta.1",
61
+ "@unocss/rule-utils": "66.3.1-beta.1"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",