@unocss/preset-mini 0.60.3 → 0.61.0

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.d.mts CHANGED
@@ -4,7 +4,8 @@ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
4
  export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
5
5
  export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
6
6
  export { colors } from './colors.mjs';
7
- export { p as parseColor } from './shared/preset-mini.CdxIVkIz.mjs';
7
+ export { p as parseColor } from './shared/preset-mini.BJYzNu5m.mjs';
8
+ import '@unocss/rule-utils';
8
9
 
9
10
  declare const preflights: Preflight<Theme>[];
10
11
 
package/dist/index.d.ts CHANGED
@@ -4,7 +4,8 @@ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
4
  export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
5
5
  export { t as theme } from './shared/preset-mini.DIb57JCK.js';
6
6
  export { colors } from './colors.js';
7
- export { p as parseColor } from './shared/preset-mini.Dh95saIh.js';
7
+ export { p as parseColor } from './shared/preset-mini.DoeVWAwQ.js';
8
+ import '@unocss/rule-utils';
8
9
 
9
10
  declare const preflights: Preflight<Theme>[];
10
11
 
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import { entriesToCss, toArray, definePreset } from '@unocss/core';
2
2
  import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
3
- import { g as globalKeywords } from './shared/preset-mini.lpdd2hsn.mjs';
4
- export { k as parseColor } from './shared/preset-mini.lpdd2hsn.mjs';
5
- import { t as theme } from './shared/preset-mini.D01FLMpI.mjs';
6
- import { r as rules } from './shared/preset-mini.DYGdJukb.mjs';
7
- import { i as variants } from './shared/preset-mini.DwAzp7-m.mjs';
3
+ import { g as globalKeywords } from './shared/preset-mini.CERzM3Y6.mjs';
4
+ export { k as parseColor } from './shared/preset-mini.CERzM3Y6.mjs';
5
+ import { t as theme } from './shared/preset-mini.BEq2gxwy.mjs';
6
+ import { r as rules } from './shared/preset-mini.BwT5Lae6.mjs';
7
+ import { j as variants } from './shared/preset-mini.DRm-V2pz.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.D0XQxeT8.mjs';
10
+ import './shared/preset-mini.UC_hgxy0.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.DYGdJukb.mjs';
2
- export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.D0XQxeT8.mjs';
3
- import './shared/preset-mini.lpdd2hsn.mjs';
1
+ export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.BwT5Lae6.mjs';
2
+ export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.UC_hgxy0.mjs';
3
+ import './shared/preset-mini.CERzM3Y6.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -1,5 +1,5 @@
1
1
  import { colors } from '../colors.mjs';
2
- import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.D0XQxeT8.mjs';
2
+ import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.UC_hgxy0.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -1,4 +1,5 @@
1
- import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
1
+ import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
+ import { ParsedColorValue } from '@unocss/rule-utils';
2
3
  import { T as Theme } from './preset-mini.P5Rzuhf5.mjs';
3
4
 
4
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
@@ -1,7 +1,7 @@
1
- import { g as globalKeywords, f as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, m as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, j as directionSize } from './preset-mini.lpdd2hsn.mjs';
1
+ import { g as globalKeywords, f as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, m as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, j as directionSize } from './preset-mini.CERzM3Y6.mjs';
2
2
  import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
3
3
  import { warnOnce, toArray } from '@unocss/core';
4
- import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.D0XQxeT8.mjs';
4
+ import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.UC_hgxy0.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -261,7 +261,9 @@ const transitionPropertyGroup = {
261
261
  transform: "transform"
262
262
  };
263
263
  function transitionProperty(prop) {
264
- return h.properties(prop) ?? transitionPropertyGroup[prop];
264
+ const props = prop.split(",").flatMap((p) => h.properties(p) ?? transitionPropertyGroup[p]);
265
+ if (props.length > 0 && props.every(Boolean))
266
+ return props.join(",");
265
267
  }
266
268
  const transitions = [
267
269
  // transition
@@ -526,14 +526,18 @@ function colorableShadows(shadows, colorVar) {
526
526
  isInset = true;
527
527
  }
528
528
  let colorVarValue = "";
529
+ const lastComp = components.at(-1);
529
530
  if (parseCssColor(components.at(0))) {
530
531
  const color = parseCssColor(components.shift());
531
532
  if (color)
532
533
  colorVarValue = `, ${colorToString(color)}`;
533
- } else if (parseCssColor(components.at(-1))) {
534
+ } else if (parseCssColor(lastComp)) {
534
535
  const color = parseCssColor(components.pop());
535
536
  if (color)
536
537
  colorVarValue = `, ${colorToString(color)}`;
538
+ } else if (lastComp && cssVarFnRE.test(lastComp)) {
539
+ const color = components.pop();
540
+ colorVarValue = `, ${color}`;
537
541
  }
538
542
  colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
539
543
  }
@@ -1,4 +1,4 @@
1
- import { f as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE, e as cssVarFnRE } from './preset-mini.lpdd2hsn.mjs';
1
+ import { f as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE, e as cssVarFnRE } from './preset-mini.CERzM3Y6.mjs';
2
2
  import { variantGetParameter, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
3
3
  import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
4
4
 
@@ -18,6 +18,29 @@ const variantAria = {
18
18
  }
19
19
  }
20
20
  };
21
+ function taggedAria(tagName) {
22
+ return {
23
+ name: `${tagName}-aria`,
24
+ match(matcher, ctx) {
25
+ const variant = variantGetParameter(`${tagName}-aria-`, matcher, ctx.generator.config.separators);
26
+ if (variant) {
27
+ const [match, rest] = variant;
28
+ const ariaAttribute = h.bracket(match) ?? ctx.theme.aria?.[match] ?? "";
29
+ if (ariaAttribute) {
30
+ return {
31
+ matcher: `${tagName}-[[aria-${ariaAttribute}]]:${rest}`
32
+ };
33
+ }
34
+ }
35
+ }
36
+ };
37
+ }
38
+ const variantTaggedAriaAttributes = [
39
+ taggedAria("group"),
40
+ taggedAria("peer"),
41
+ taggedAria("parent"),
42
+ taggedAria("previous")
43
+ ];
21
44
 
22
45
  function calcMaxWidthBySize(size) {
23
46
  const value = size.match(/^-?\d+\.?\d*/)?.[0] || "";
@@ -28,11 +51,24 @@ function calcMaxWidthBySize(size) {
28
51
  }
29
52
  return `calc(${size} - 0.1px)`;
30
53
  }
54
+ const sizePseudo = /(max|min)-\[([^\]]*)\]:/;
31
55
  function variantBreakpoints() {
32
56
  const regexCache = {};
33
57
  return {
34
58
  name: "breakpoints",
35
59
  match(matcher, context) {
60
+ if (sizePseudo.test(matcher)) {
61
+ const match = matcher.match(sizePseudo);
62
+ const m = matcher.replace(match[0], "");
63
+ return {
64
+ matcher: m,
65
+ handle: (input, next) => next({
66
+ ...input,
67
+ parent: `${input.parent ? `${input.parent} $$ ` : ""}@media (${match[1]}-width: ${match[2]})`
68
+ // parentOrder: order,
69
+ })
70
+ };
71
+ }
36
72
  const variantEntries = (resolveBreakpoints(context) ?? []).map(({ point, size }, idx) => [point, size, idx]);
37
73
  for (const [point, size, idx] of variantEntries) {
38
74
  if (!regexCache[point])
@@ -725,7 +761,11 @@ function variantTaggedPseudoClasses(options = {}) {
725
761
  tagWithPrefix("group", " "),
726
762
  tagWithPrefix("peer", "~"),
727
763
  tagWithPrefix("parent", ">"),
728
- tagWithPrefix("previous", "+")
764
+ tagWithPrefix("previous", "+"),
765
+ tagWithPrefix("group-aria", " "),
766
+ tagWithPrefix("peer-aria", "~"),
767
+ tagWithPrefix("parent-aria", ">"),
768
+ tagWithPrefix("previous-aria", "+")
729
769
  ];
730
770
  }
731
771
  const PartClassesRE = /(part-\[(.+)\]:)(.+)/;
@@ -768,8 +808,9 @@ function variants(options) {
768
808
  variantContainerQuery,
769
809
  variantVariables,
770
810
  ...variantTaggedDataAttributes,
811
+ ...variantTaggedAriaAttributes,
771
812
  variantTheme
772
813
  ];
773
814
  }
774
815
 
775
- export { variantBreakpoints as a, variantChildren as b, calcMaxWidthBySize as c, variantCombinators as d, variantContainerQuery as e, variantColorsMediaOrClass as f, variantDataAttribute as g, variantTaggedDataAttributes as h, variants as i, variantLanguageDirections as j, variantImportant as k, variantPrint as l, variantCustomMedia as m, variantSelector as n, variantCssLayer as o, variantInternalLayer as p, variantScope as q, variantVariables as r, variantTheme as s, variantNegative as t, variantPseudoClassesAndElements as u, variantAria as v, variantPseudoClassFunctions as w, variantTaggedPseudoClasses as x, variantPartClasses as y, variantSupports as z };
816
+ export { variantSupports as A, variantTaggedAriaAttributes as a, variantBreakpoints as b, calcMaxWidthBySize as c, variantChildren as d, variantCombinators as e, variantContainerQuery as f, variantColorsMediaOrClass as g, variantDataAttribute as h, variantTaggedDataAttributes as i, variants as j, variantLanguageDirections as k, variantImportant as l, variantPrint as m, variantCustomMedia as n, variantSelector as o, variantCssLayer as p, variantInternalLayer as q, variantScope as r, variantVariables as s, variantTheme as t, variantNegative as u, variantAria as v, variantPseudoClassesAndElements as w, variantPseudoClassFunctions as x, variantTaggedPseudoClasses as y, variantPartClasses as z };
@@ -1,4 +1,5 @@
1
- import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
1
+ import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
+ import { ParsedColorValue } from '@unocss/rule-utils';
2
3
  import { T as Theme } from './preset-mini.P5Rzuhf5.js';
3
4
 
4
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
@@ -1,4 +1,4 @@
1
- import { f as h, q as makeGlobalStaticRules, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.lpdd2hsn.mjs';
1
+ import { f as h, q as makeGlobalStaticRules, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.CERzM3Y6.mjs';
2
2
 
3
3
  const cursorValues = ["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out"];
4
4
  const containValues = ["none", "strict", "content", "size", "inline-size", "layout", "style", "paint"];
@@ -199,8 +199,8 @@ const transformCpu = [
199
199
  "translateY(var(--un-translate-y))",
200
200
  // 'translateZ(var(--un-translate-z))',
201
201
  "rotate(var(--un-rotate))",
202
- "rotateX(var(--un-rotate-x))",
203
- "rotateY(var(--un-rotate-y))",
202
+ // 'rotateX(var(--un-rotate-x))',
203
+ // 'rotateY(var(--un-rotate-y))',
204
204
  "rotateZ(var(--un-rotate-z))",
205
205
  "skewX(var(--un-skew-x))",
206
206
  "skewY(var(--un-skew-y))",
package/dist/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { colors } from './colors.mjs';
2
- export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.D01FLMpI.mjs';
3
- import './shared/preset-mini.D0XQxeT8.mjs';
4
- import './shared/preset-mini.lpdd2hsn.mjs';
2
+ export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.BEq2gxwy.mjs';
3
+ import './shared/preset-mini.UC_hgxy0.mjs';
4
+ import './shared/preset-mini.CERzM3Y6.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _unocss_rule_utils from '@unocss/rule-utils';
2
2
  export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.CdxIVkIz.mjs';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.BJYzNu5m.mjs';
4
4
  import '@unocss/core';
5
5
  import './shared/preset-mini.P5Rzuhf5.mjs';
6
6
 
package/dist/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _unocss_rule_utils from '@unocss/rule-utils';
2
2
  export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.Dh95saIh.js';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.DoeVWAwQ.js';
4
4
  import '@unocss/core';
5
5
  import './shared/preset-mini.P5Rzuhf5.js';
6
6
 
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, b as cssMathFnRE, e as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, f as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, a as xyzArray, x as xyzMap } from './shared/preset-mini.lpdd2hsn.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, b as cssMathFnRE, e as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, f as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, a as xyzArray, x as xyzMap } from './shared/preset-mini.CERzM3Y6.mjs';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
@@ -3,9 +3,11 @@ import { PresetMiniOptions } from './index.mjs';
3
3
  import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
4
  import './shared/preset-mini.Cu-XLFZP.mjs';
5
5
  import './colors.mjs';
6
- import './shared/preset-mini.CdxIVkIz.mjs';
6
+ import './shared/preset-mini.BJYzNu5m.mjs';
7
+ import '@unocss/rule-utils';
7
8
 
8
9
  declare const variantAria: VariantObject;
10
+ declare const variantTaggedAriaAttributes: Variant[];
9
11
 
10
12
  declare function calcMaxWidthBySize(size: string): string;
11
13
  declare function variantBreakpoints(): VariantObject;
@@ -46,4 +48,4 @@ declare const variantPartClasses: VariantObject;
46
48
 
47
49
  declare const variantSupports: VariantObject;
48
50
 
49
- export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
51
+ export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
@@ -3,9 +3,11 @@ import { PresetMiniOptions } from './index.js';
3
3
  import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
4
  import './shared/preset-mini.DIb57JCK.js';
5
5
  import './colors.js';
6
- import './shared/preset-mini.Dh95saIh.js';
6
+ import './shared/preset-mini.DoeVWAwQ.js';
7
+ import '@unocss/rule-utils';
7
8
 
8
9
  declare const variantAria: VariantObject;
10
+ declare const variantTaggedAriaAttributes: Variant[];
9
11
 
10
12
  declare function calcMaxWidthBySize(size: string): string;
11
13
  declare function variantBreakpoints(): VariantObject;
@@ -46,4 +48,4 @@ declare const variantPartClasses: VariantObject;
46
48
 
47
49
  declare const variantSupports: VariantObject;
48
50
 
49
- export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
51
+ export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as calcMaxWidthBySize, v as variantAria, a as variantBreakpoints, b 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 variantSupports, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.DwAzp7-m.mjs';
2
- import './shared/preset-mini.lpdd2hsn.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 variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.DRm-V2pz.mjs';
2
+ import './shared/preset-mini.CERzM3Y6.mjs';
3
3
  import '@unocss/core';
4
4
  import '@unocss/rule-utils';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "0.60.3",
4
+ "version": "0.61.0",
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": "0.60.3",
60
- "@unocss/rule-utils": "0.60.3",
61
- "@unocss/extractor-arbitrary-variants": "0.60.3"
59
+ "@unocss/extractor-arbitrary-variants": "0.61.0",
60
+ "@unocss/core": "0.61.0",
61
+ "@unocss/rule-utils": "0.61.0"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",