@unocss/preset-mini 0.60.4 → 0.61.2

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.
Files changed (29) hide show
  1. package/dist/colors.d.mts +11 -11
  2. package/dist/colors.d.ts +11 -11
  3. package/dist/index.d.mts +5 -4
  4. package/dist/index.d.ts +5 -4
  5. package/dist/index.mjs +6 -6
  6. package/dist/rules.d.mts +1 -1
  7. package/dist/rules.d.ts +1 -1
  8. package/dist/rules.mjs +3 -3
  9. package/dist/shared/{preset-mini.lpdd2hsn.mjs → preset-mini.B66ZMXnT.mjs} +13 -6
  10. package/dist/shared/{preset-mini.D0XQxeT8.mjs → preset-mini.BWouCBA3.mjs} +3 -3
  11. package/dist/shared/{preset-mini.DIb57JCK.d.ts → preset-mini.BooHsK52.d.ts} +20 -11
  12. package/dist/shared/{preset-mini.uR8-sh0j.mjs → preset-mini.BsntrdsY.mjs} +32 -4
  13. package/dist/shared/{preset-mini.P5Rzuhf5.d.mts → preset-mini.Cde3ndkA.d.mts} +1 -0
  14. package/dist/shared/{preset-mini.P5Rzuhf5.d.ts → preset-mini.Cde3ndkA.d.ts} +1 -0
  15. package/dist/shared/{preset-mini.Cu-XLFZP.d.mts → preset-mini.Cnier7ov.d.mts} +20 -11
  16. package/dist/shared/{preset-mini.D01FLMpI.mjs → preset-mini.Cx7ylRNC.mjs} +22 -9
  17. package/dist/shared/{preset-mini.CdxIVkIz.d.mts → preset-mini.DChc_8j2.d.ts} +3 -2
  18. package/dist/shared/{preset-mini.Dh95saIh.d.ts → preset-mini.XtClvIKE.d.mts} +3 -2
  19. package/dist/shared/{preset-mini.DYGdJukb.mjs → preset-mini.bDmfeUSc.mjs} +49 -21
  20. package/dist/theme.d.mts +4 -11
  21. package/dist/theme.d.ts +4 -11
  22. package/dist/theme.mjs +3 -3
  23. package/dist/utils.d.mts +2 -2
  24. package/dist/utils.d.ts +2 -2
  25. package/dist/utils.mjs +1 -1
  26. package/dist/variants.d.mts +6 -4
  27. package/dist/variants.d.ts +6 -4
  28. package/dist/variants.mjs +2 -2
  29. package/package.json +4 -4
package/dist/colors.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.P5Rzuhf5.mjs';
1
+ import { C as Colors } from './shared/preset-mini.Cde3ndkA.mjs';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
@@ -320,34 +320,34 @@ declare const colors: {
320
320
  950: string;
321
321
  };
322
322
  readonly lightblue: string | (Colors & {
323
- DEFAULT?: string | undefined;
323
+ DEFAULT?: string;
324
324
  });
325
325
  readonly lightBlue: string | (Colors & {
326
- DEFAULT?: string | undefined;
326
+ DEFAULT?: string;
327
327
  });
328
328
  readonly warmgray: string | (Colors & {
329
- DEFAULT?: string | undefined;
329
+ DEFAULT?: string;
330
330
  });
331
331
  readonly warmGray: string | (Colors & {
332
- DEFAULT?: string | undefined;
332
+ DEFAULT?: string;
333
333
  });
334
334
  readonly truegray: string | (Colors & {
335
- DEFAULT?: string | undefined;
335
+ DEFAULT?: string;
336
336
  });
337
337
  readonly trueGray: string | (Colors & {
338
- DEFAULT?: string | undefined;
338
+ DEFAULT?: string;
339
339
  });
340
340
  readonly coolgray: string | (Colors & {
341
- DEFAULT?: string | undefined;
341
+ DEFAULT?: string;
342
342
  });
343
343
  readonly coolGray: string | (Colors & {
344
- DEFAULT?: string | undefined;
344
+ DEFAULT?: string;
345
345
  });
346
346
  readonly bluegray: string | (Colors & {
347
- DEFAULT?: string | undefined;
347
+ DEFAULT?: string;
348
348
  });
349
349
  readonly blueGray: string | (Colors & {
350
- DEFAULT?: string | undefined;
350
+ DEFAULT?: string;
351
351
  });
352
352
  };
353
353
 
package/dist/colors.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.P5Rzuhf5.js';
1
+ import { C as Colors } from './shared/preset-mini.Cde3ndkA.js';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
@@ -320,34 +320,34 @@ declare const colors: {
320
320
  950: string;
321
321
  };
322
322
  readonly lightblue: string | (Colors & {
323
- DEFAULT?: string | undefined;
323
+ DEFAULT?: string;
324
324
  });
325
325
  readonly lightBlue: string | (Colors & {
326
- DEFAULT?: string | undefined;
326
+ DEFAULT?: string;
327
327
  });
328
328
  readonly warmgray: string | (Colors & {
329
- DEFAULT?: string | undefined;
329
+ DEFAULT?: string;
330
330
  });
331
331
  readonly warmGray: string | (Colors & {
332
- DEFAULT?: string | undefined;
332
+ DEFAULT?: string;
333
333
  });
334
334
  readonly truegray: string | (Colors & {
335
- DEFAULT?: string | undefined;
335
+ DEFAULT?: string;
336
336
  });
337
337
  readonly trueGray: string | (Colors & {
338
- DEFAULT?: string | undefined;
338
+ DEFAULT?: string;
339
339
  });
340
340
  readonly coolgray: string | (Colors & {
341
- DEFAULT?: string | undefined;
341
+ DEFAULT?: string;
342
342
  });
343
343
  readonly coolGray: string | (Colors & {
344
- DEFAULT?: string | undefined;
344
+ DEFAULT?: string;
345
345
  });
346
346
  readonly bluegray: string | (Colors & {
347
- DEFAULT?: string | undefined;
347
+ DEFAULT?: string;
348
348
  });
349
349
  readonly blueGray: string | (Colors & {
350
- DEFAULT?: string | undefined;
350
+ DEFAULT?: string;
351
351
  });
352
352
  };
353
353
 
package/dist/index.d.mts CHANGED
@@ -1,10 +1,11 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
- export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
5
- export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.mjs';
4
+ export { a as ThemeAnimation } from './shared/preset-mini.Cde3ndkA.mjs';
5
+ export { t as theme } from './shared/preset-mini.Cnier7ov.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.XtClvIKE.mjs';
8
+ import '@unocss/rule-utils';
8
9
 
9
10
  declare const preflights: Preflight<Theme>[];
10
11
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
- export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
5
- export { t as theme } from './shared/preset-mini.DIb57JCK.js';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.js';
4
+ export { a as ThemeAnimation } from './shared/preset-mini.Cde3ndkA.js';
5
+ export { t as theme } from './shared/preset-mini.BooHsK52.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.DChc_8j2.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.uR8-sh0j.mjs';
3
+ import { g as globalKeywords } from './shared/preset-mini.B66ZMXnT.mjs';
4
+ export { k as parseColor } from './shared/preset-mini.B66ZMXnT.mjs';
5
+ import { t as theme } from './shared/preset-mini.Cx7ylRNC.mjs';
6
+ import { r as rules } from './shared/preset-mini.bDmfeUSc.mjs';
7
+ import { j as variants } from './shared/preset-mini.BsntrdsY.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.BWouCBA3.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
2
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.mjs';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
package/dist/rules.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
2
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.js';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
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.bDmfeUSc.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.BWouCBA3.mjs';
3
+ import './shared/preset-mini.B66ZMXnT.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -146,6 +146,7 @@ const cssProps = [
146
146
  "text-shadow",
147
147
  "transform",
148
148
  "box-shadow",
149
+ "border",
149
150
  // positions
150
151
  "background-position",
151
152
  "left",
@@ -481,31 +482,33 @@ function parseColor(body, theme, key) {
481
482
  };
482
483
  }
483
484
  function colorResolver(property, varName, key, shouldPass) {
484
- return ([, body], { theme }) => {
485
+ return ([, body], { theme, generator }) => {
485
486
  const data = parseColor(body, theme, key);
486
487
  if (!data)
487
488
  return;
488
489
  const { alpha, color, cssColor } = data;
490
+ const isDev = generator.config.envMode === "dev";
491
+ const rawColorComment = isDev && color ? ` /* ${color} */` : "";
489
492
  const css = {};
490
493
  if (cssColor) {
491
494
  if (alpha != null) {
492
- css[property] = colorToString(cssColor, alpha);
495
+ css[property] = colorToString(cssColor, alpha) + rawColorComment;
493
496
  } else {
494
497
  const opacityVar = `--un-${varName}-opacity`;
495
498
  const result = colorToString(cssColor, `var(${opacityVar})`);
496
499
  if (result.includes(opacityVar))
497
500
  css[opacityVar] = colorOpacityToString(cssColor);
498
- css[property] = result;
501
+ css[property] = result + rawColorComment;
499
502
  }
500
503
  } else if (color) {
501
504
  if (alpha != null) {
502
- css[property] = colorToString(color, alpha);
505
+ css[property] = colorToString(color, alpha) + rawColorComment;
503
506
  } else {
504
507
  const opacityVar = `--un-${varName}-opacity`;
505
508
  const result = colorToString(color, `var(${opacityVar})`);
506
509
  if (result.includes(opacityVar))
507
510
  css[opacityVar] = 1;
508
- css[property] = result;
511
+ css[property] = result + rawColorComment;
509
512
  }
510
513
  }
511
514
  if (shouldPass?.(css) !== false)
@@ -526,14 +529,18 @@ function colorableShadows(shadows, colorVar) {
526
529
  isInset = true;
527
530
  }
528
531
  let colorVarValue = "";
532
+ const lastComp = components.at(-1);
529
533
  if (parseCssColor(components.at(0))) {
530
534
  const color = parseCssColor(components.shift());
531
535
  if (color)
532
536
  colorVarValue = `, ${colorToString(color)}`;
533
- } else if (parseCssColor(components.at(-1))) {
537
+ } else if (parseCssColor(lastComp)) {
534
538
  const color = parseCssColor(components.pop());
535
539
  if (color)
536
540
  colorVarValue = `, ${colorToString(color)}`;
541
+ } else if (lastComp && cssVarFnRE.test(lastComp)) {
542
+ const color = components.pop();
543
+ colorVarValue = `, ${color}`;
537
544
  }
538
545
  colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
539
546
  }
@@ -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.B66ZMXnT.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))",
@@ -1,5 +1,5 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
- import { C as Colors } from './preset-mini.P5Rzuhf5.js';
2
+ import { C as Colors } from './preset-mini.Cde3ndkA.js';
3
3
 
4
4
  declare const theme: {
5
5
  width: {
@@ -513,34 +513,34 @@ declare const theme: {
513
513
  950: string;
514
514
  };
515
515
  readonly lightblue: string | (Colors & {
516
- DEFAULT?: string | undefined;
516
+ DEFAULT?: string;
517
517
  });
518
518
  readonly lightBlue: string | (Colors & {
519
- DEFAULT?: string | undefined;
519
+ DEFAULT?: string;
520
520
  });
521
521
  readonly warmgray: string | (Colors & {
522
- DEFAULT?: string | undefined;
522
+ DEFAULT?: string;
523
523
  });
524
524
  readonly warmGray: string | (Colors & {
525
- DEFAULT?: string | undefined;
525
+ DEFAULT?: string;
526
526
  });
527
527
  readonly truegray: string | (Colors & {
528
- DEFAULT?: string | undefined;
528
+ DEFAULT?: string;
529
529
  });
530
530
  readonly trueGray: string | (Colors & {
531
- DEFAULT?: string | undefined;
531
+ DEFAULT?: string;
532
532
  });
533
533
  readonly coolgray: string | (Colors & {
534
- DEFAULT?: string | undefined;
534
+ DEFAULT?: string;
535
535
  });
536
536
  readonly coolGray: string | (Colors & {
537
- DEFAULT?: string | undefined;
537
+ DEFAULT?: string;
538
538
  });
539
539
  readonly bluegray: string | (Colors & {
540
- DEFAULT?: string | undefined;
540
+ DEFAULT?: string;
541
541
  });
542
542
  readonly blueGray: string | (Colors & {
543
- DEFAULT?: string | undefined;
543
+ DEFAULT?: string;
544
544
  });
545
545
  };
546
546
  fontFamily: {
@@ -655,6 +655,15 @@ declare const theme: {
655
655
  out: string;
656
656
  'in-out': string;
657
657
  };
658
+ transitionProperty: {
659
+ none: string;
660
+ all: string;
661
+ colors: string;
662
+ opacity: string;
663
+ shadow: string;
664
+ transform: string;
665
+ readonly DEFAULT: string;
666
+ };
658
667
  lineWidth: {
659
668
  DEFAULT: string;
660
669
  none: string;
@@ -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.B66ZMXnT.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] || "";
@@ -440,7 +463,7 @@ function variantImportant() {
440
463
  matcher: base,
441
464
  body: (body) => {
442
465
  body.forEach((v) => {
443
- if (v[1])
466
+ if (v[1] != null)
444
467
  v[1] += " !important";
445
468
  });
446
469
  return body;
@@ -738,7 +761,11 @@ function variantTaggedPseudoClasses(options = {}) {
738
761
  tagWithPrefix("group", " "),
739
762
  tagWithPrefix("peer", "~"),
740
763
  tagWithPrefix("parent", ">"),
741
- tagWithPrefix("previous", "+")
764
+ tagWithPrefix("previous", "+"),
765
+ tagWithPrefix("group-aria", " "),
766
+ tagWithPrefix("peer-aria", "~"),
767
+ tagWithPrefix("parent-aria", ">"),
768
+ tagWithPrefix("previous-aria", "+")
742
769
  ];
743
770
  }
744
771
  const PartClassesRE = /(part-\[(.+)\]:)(.+)/;
@@ -781,8 +808,9 @@ function variants(options) {
781
808
  variantContainerQuery,
782
809
  variantVariables,
783
810
  ...variantTaggedDataAttributes,
811
+ ...variantTaggedAriaAttributes,
784
812
  variantTheme
785
813
  ];
786
814
  }
787
815
 
788
- 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 };
@@ -54,6 +54,7 @@ interface Theme {
54
54
  blur?: Record<string, string>;
55
55
  dropShadow?: Record<string, string | string[]>;
56
56
  easing?: Record<string, string>;
57
+ transitionProperty?: Record<string, string>;
57
58
  media?: Record<string, string>;
58
59
  supports?: Record<string, string>;
59
60
  containers?: Record<string, string>;
@@ -54,6 +54,7 @@ interface Theme {
54
54
  blur?: Record<string, string>;
55
55
  dropShadow?: Record<string, string | string[]>;
56
56
  easing?: Record<string, string>;
57
+ transitionProperty?: Record<string, string>;
57
58
  media?: Record<string, string>;
58
59
  supports?: Record<string, string>;
59
60
  containers?: Record<string, string>;
@@ -1,5 +1,5 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
- import { C as Colors } from './preset-mini.P5Rzuhf5.mjs';
2
+ import { C as Colors } from './preset-mini.Cde3ndkA.mjs';
3
3
 
4
4
  declare const theme: {
5
5
  width: {
@@ -513,34 +513,34 @@ declare const theme: {
513
513
  950: string;
514
514
  };
515
515
  readonly lightblue: string | (Colors & {
516
- DEFAULT?: string | undefined;
516
+ DEFAULT?: string;
517
517
  });
518
518
  readonly lightBlue: string | (Colors & {
519
- DEFAULT?: string | undefined;
519
+ DEFAULT?: string;
520
520
  });
521
521
  readonly warmgray: string | (Colors & {
522
- DEFAULT?: string | undefined;
522
+ DEFAULT?: string;
523
523
  });
524
524
  readonly warmGray: string | (Colors & {
525
- DEFAULT?: string | undefined;
525
+ DEFAULT?: string;
526
526
  });
527
527
  readonly truegray: string | (Colors & {
528
- DEFAULT?: string | undefined;
528
+ DEFAULT?: string;
529
529
  });
530
530
  readonly trueGray: string | (Colors & {
531
- DEFAULT?: string | undefined;
531
+ DEFAULT?: string;
532
532
  });
533
533
  readonly coolgray: string | (Colors & {
534
- DEFAULT?: string | undefined;
534
+ DEFAULT?: string;
535
535
  });
536
536
  readonly coolGray: string | (Colors & {
537
- DEFAULT?: string | undefined;
537
+ DEFAULT?: string;
538
538
  });
539
539
  readonly bluegray: string | (Colors & {
540
- DEFAULT?: string | undefined;
540
+ DEFAULT?: string;
541
541
  });
542
542
  readonly blueGray: string | (Colors & {
543
- DEFAULT?: string | undefined;
543
+ DEFAULT?: string;
544
544
  });
545
545
  };
546
546
  fontFamily: {
@@ -655,6 +655,15 @@ declare const theme: {
655
655
  out: string;
656
656
  'in-out': string;
657
657
  };
658
+ transitionProperty: {
659
+ none: string;
660
+ all: string;
661
+ colors: string;
662
+ opacity: string;
663
+ shadow: string;
664
+ transform: string;
665
+ readonly DEFAULT: string;
666
+ };
658
667
  lineWidth: {
659
668
  DEFAULT: string;
660
669
  none: string;
@@ -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.BWouCBA3.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -168,13 +168,6 @@ const boxShadow = {
168
168
  "2xl": "var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",
169
169
  "inner": "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"
170
170
  };
171
- const easing = {
172
- "DEFAULT": "cubic-bezier(0.4, 0, 0.2, 1)",
173
- "linear": "linear",
174
- "in": "cubic-bezier(0.4, 0, 1, 1)",
175
- "out": "cubic-bezier(0, 0, 0.2, 1)",
176
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
177
- };
178
171
  const ringWidth = {
179
172
  DEFAULT: "3px",
180
173
  none: "0"
@@ -248,6 +241,25 @@ const preflightBase = {
248
241
  ...ringBase
249
242
  };
250
243
 
244
+ const easing = {
245
+ "DEFAULT": "cubic-bezier(0.4, 0, 0.2, 1)",
246
+ "linear": "linear",
247
+ "in": "cubic-bezier(0.4, 0, 1, 1)",
248
+ "out": "cubic-bezier(0, 0, 0.2, 1)",
249
+ "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
250
+ };
251
+ const transitionProperty = {
252
+ none: "none",
253
+ all: "all",
254
+ colors: ["color", "background-color", "border-color", "outline-color", "text-decoration-color", "fill", "stroke"].join(","),
255
+ opacity: "opacity",
256
+ shadow: "box-shadow",
257
+ transform: "transform",
258
+ get DEFAULT() {
259
+ return [this.colors, "opacity", "box-shadow", "transform", "filter", "backdrop-filter"].join(",");
260
+ }
261
+ };
262
+
251
263
  const theme = {
252
264
  width,
253
265
  height,
@@ -278,6 +290,7 @@ const theme = {
278
290
  blur,
279
291
  dropShadow,
280
292
  easing,
293
+ transitionProperty,
281
294
  lineWidth,
282
295
  spacing,
283
296
  duration,
@@ -288,4 +301,4 @@ const theme = {
288
301
  media
289
302
  };
290
303
 
291
- export { maxWidth as A, height as B, maxHeight as C, containers as D, fontSize as a, blur as b, textIndent as c, dropShadow as d, textStrokeWidth as e, fontFamily as f, textShadow as g, letterSpacing as h, fontWeight as i, breakpoints as j, lineWidth as k, lineHeight as l, duration as m, borderRadius as n, boxShadow as o, easing as p, media as q, ringWidth as r, spacing as s, theme as t, preflightBase as u, verticalBreakpoints as v, wordSpacing as w, baseSize as x, width as y, zIndex as z };
304
+ export { height as A, maxHeight as B, containers as C, fontSize as a, blur as b, textIndent as c, dropShadow as d, textStrokeWidth as e, fontFamily as f, textShadow as g, letterSpacing as h, fontWeight as i, breakpoints as j, lineWidth as k, lineHeight as l, duration as m, borderRadius as n, boxShadow as o, media as p, preflightBase as q, ringWidth as r, spacing as s, theme as t, baseSize as u, verticalBreakpoints as v, wordSpacing as w, width as x, maxWidth as y, zIndex as z };
@@ -1,5 +1,6 @@
1
- import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.P5Rzuhf5.mjs';
1
+ import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
+ import { ParsedColorValue } from '@unocss/rule-utils';
3
+ import { T as Theme } from './preset-mini.Cde3ndkA.js';
3
4
 
4
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
6
  /**
@@ -1,5 +1,6 @@
1
- import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.P5Rzuhf5.js';
1
+ import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
+ import { ParsedColorValue } from '@unocss/rule-utils';
3
+ import { T as Theme } from './preset-mini.Cde3ndkA.mjs';
3
4
 
4
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
6
  /**
@@ -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.B66ZMXnT.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.BWouCBA3.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -252,33 +252,53 @@ function handleColorOrWidth$1(match, ctx) {
252
252
  }
253
253
  }
254
254
 
255
- const transitionPropertyGroup = {
256
- all: "all",
257
- colors: ["color", "background-color", "border-color", "outline-color", "text-decoration-color", "fill", "stroke"].join(","),
258
- none: "none",
259
- opacity: "opacity",
260
- shadow: "box-shadow",
261
- transform: "transform"
262
- };
263
- function transitionProperty(prop) {
264
- return h.properties(prop) ?? transitionPropertyGroup[prop];
255
+ function resolveTransitionProperty(prop, theme) {
256
+ let p;
257
+ if (h.cssvar(prop) != null) {
258
+ p = h.cssvar(prop);
259
+ } else {
260
+ if (prop.startsWith("[") && prop.endsWith("]")) {
261
+ prop = prop.slice(1, -1);
262
+ }
263
+ const props = prop.split(",").map((p2) => theme.transitionProperty?.[p2] ?? h.properties(p2));
264
+ if (props.every(Boolean)) {
265
+ p = props.join(",");
266
+ }
267
+ }
268
+ return p;
265
269
  }
266
270
  const transitions = [
267
271
  // transition
268
272
  [
269
- /^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,
273
+ /^transition(?:-(\D+?))?(?:-(\d+))?$/,
270
274
  ([, prop, d], { theme }) => {
271
- const p = prop != null ? transitionProperty(prop) : [transitionPropertyGroup.colors, "opacity", "box-shadow", "transform", "filter", "backdrop-filter"].join(",");
272
- if (p) {
275
+ if (!prop && !d) {
276
+ return {
277
+ "transition-property": theme.transitionProperty?.DEFAULT,
278
+ "transition-timing-function": theme.easing?.DEFAULT,
279
+ "transition-duration": theme.duration?.DEFAULT ?? h.time("150")
280
+ };
281
+ } else if (prop != null) {
282
+ const p = resolveTransitionProperty(prop, theme);
273
283
  const duration = theme.duration?.[d || "DEFAULT"] ?? h.time(d || "150");
284
+ if (p) {
285
+ return {
286
+ "transition-property": p,
287
+ "transition-timing-function": theme.easing?.DEFAULT,
288
+ "transition-duration": duration
289
+ };
290
+ }
291
+ } else if (d != null) {
274
292
  return {
275
- "transition-property": p,
276
- "transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
277
- "transition-duration": duration
293
+ "transition-property": theme.transitionProperty?.DEFAULT,
294
+ "transition-timing-function": theme.easing?.DEFAULT,
295
+ "transition-duration": theme.duration?.[d] ?? h.time(d)
278
296
  };
279
297
  }
280
298
  },
281
- { autocomplete: `transition-(${Object.keys(transitionPropertyGroup).join("|")})` }
299
+ {
300
+ autocomplete: "transition-$transitionProperty-$duration"
301
+ }
282
302
  ],
283
303
  // timings
284
304
  [
@@ -299,8 +319,16 @@ const transitions = [
299
319
  // props
300
320
  [
301
321
  /^(?:transition-)?property-(.+)$/,
302
- ([, v]) => ({ "transition-property": h.bracket.global(v) || transitionProperty(v) }),
303
- { autocomplete: [`transition-property-(${[...globalKeywords, ...Object.keys(transitionPropertyGroup)].join("|")})`] }
322
+ ([, v], { theme }) => {
323
+ const p = h.global(v) || resolveTransitionProperty(v, theme);
324
+ if (p)
325
+ return { "transition-property": p };
326
+ },
327
+ { autocomplete: [
328
+ `transition-property-(${[...globalKeywords].join("|")})`,
329
+ "transition-property-$transitionProperty",
330
+ "property-$transitionProperty"
331
+ ] }
304
332
  ],
305
333
  // none
306
334
  ["transition-none", { transition: "none" }],
package/dist/theme.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.mjs';
2
- export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
2
+ export { t as theme } from './shared/preset-mini.Cnier7ov.mjs';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.mjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.Cde3ndkA.mjs';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -143,13 +143,6 @@ declare const boxShadow: {
143
143
  '2xl': string;
144
144
  inner: string;
145
145
  };
146
- declare const easing: {
147
- DEFAULT: string;
148
- linear: string;
149
- in: string;
150
- out: string;
151
- 'in-out': string;
152
- };
153
146
  declare const ringWidth: {
154
147
  DEFAULT: string;
155
148
  none: string;
@@ -267,4 +260,4 @@ declare const containers: {
267
260
  [k: string]: string;
268
261
  };
269
262
 
270
- export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
263
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
package/dist/theme.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.js';
2
- export { t as theme } from './shared/preset-mini.DIb57JCK.js';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
2
+ export { t as theme } from './shared/preset-mini.BooHsK52.js';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.js';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.Cde3ndkA.js';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -143,13 +143,6 @@ declare const boxShadow: {
143
143
  '2xl': string;
144
144
  inner: string;
145
145
  };
146
- declare const easing: {
147
- DEFAULT: string;
148
- linear: string;
149
- in: string;
150
- out: string;
151
- 'in-out': string;
152
- };
153
146
  declare const ringWidth: {
154
147
  DEFAULT: string;
155
148
  none: string;
@@ -267,4 +260,4 @@ declare const containers: {
267
260
  [k: string]: string;
268
261
  };
269
262
 
270
- export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
263
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
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 { u as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, C as containers, d as dropShadow, m as duration, f as fontFamily, a as fontSize, i as fontWeight, A as height, h as letterSpacing, l as lineHeight, k as lineWidth, B as maxHeight, y as maxWidth, p as media, q as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, x as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.Cx7ylRNC.mjs';
3
+ import './shared/preset-mini.BWouCBA3.mjs';
4
+ import './shared/preset-mini.B66ZMXnT.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.d.mts CHANGED
@@ -1,8 +1,8 @@
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.XtClvIKE.mjs';
4
4
  import '@unocss/core';
5
- import './shared/preset-mini.P5Rzuhf5.mjs';
5
+ import './shared/preset-mini.Cde3ndkA.mjs';
6
6
 
7
7
  declare const directionMap: Record<string, string[]>;
8
8
  declare const insetMap: Record<string, string[]>;
package/dist/utils.d.ts CHANGED
@@ -1,8 +1,8 @@
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.DChc_8j2.js';
4
4
  import '@unocss/core';
5
- import './shared/preset-mini.P5Rzuhf5.js';
5
+ import './shared/preset-mini.Cde3ndkA.js';
6
6
 
7
7
  declare const directionMap: Record<string, string[]>;
8
8
  declare const insetMap: Record<string, string[]>;
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.B66ZMXnT.mjs';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
@@ -1,11 +1,13 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.mjs';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
- import './shared/preset-mini.Cu-XLFZP.mjs';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.mjs';
4
+ import './shared/preset-mini.Cnier7ov.mjs';
5
5
  import './colors.mjs';
6
- import './shared/preset-mini.CdxIVkIz.mjs';
6
+ import './shared/preset-mini.XtClvIKE.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 };
@@ -1,11 +1,13 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.js';
3
- import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
- import './shared/preset-mini.DIb57JCK.js';
3
+ import { T as Theme } from './shared/preset-mini.Cde3ndkA.js';
4
+ import './shared/preset-mini.BooHsK52.js';
5
5
  import './colors.js';
6
- import './shared/preset-mini.Dh95saIh.js';
6
+ import './shared/preset-mini.DChc_8j2.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.uR8-sh0j.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.BsntrdsY.mjs';
2
+ import './shared/preset-mini.B66ZMXnT.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.4",
4
+ "version": "0.61.2",
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.4",
60
- "@unocss/rule-utils": "0.60.4",
61
- "@unocss/extractor-arbitrary-variants": "0.60.4"
59
+ "@unocss/core": "0.61.2",
60
+ "@unocss/extractor-arbitrary-variants": "0.61.2",
61
+ "@unocss/rule-utils": "0.61.2"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",