@unocss/preset-mini 0.61.0 → 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 +4 -4
  4. package/dist/index.d.ts +4 -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.CERzM3Y6.mjs → preset-mini.B66ZMXnT.mjs} +8 -5
  10. package/dist/shared/{preset-mini.UC_hgxy0.mjs → preset-mini.BWouCBA3.mjs} +1 -1
  11. package/dist/shared/{preset-mini.Cu-XLFZP.d.mts → preset-mini.BooHsK52.d.ts} +20 -11
  12. package/dist/shared/{preset-mini.DRm-V2pz.mjs → preset-mini.BsntrdsY.mjs} +2 -2
  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.DIb57JCK.d.ts → preset-mini.Cnier7ov.d.mts} +20 -11
  16. package/dist/shared/{preset-mini.BEq2gxwy.mjs → preset-mini.Cx7ylRNC.mjs} +22 -9
  17. package/dist/shared/{preset-mini.DoeVWAwQ.d.ts → preset-mini.DChc_8j2.d.ts} +1 -1
  18. package/dist/shared/{preset-mini.BJYzNu5m.d.mts → preset-mini.XtClvIKE.d.mts} +1 -1
  19. package/dist/shared/{preset-mini.BwT5Lae6.mjs → preset-mini.bDmfeUSc.mjs} +49 -23
  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 +4 -4
  24. package/dist/utils.d.ts +4 -4
  25. package/dist/utils.mjs +1 -1
  26. package/dist/variants.d.mts +3 -3
  27. package/dist/variants.d.ts +3 -3
  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,10 @@
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.BJYzNu5m.mjs';
7
+ export { p as parseColor } from './shared/preset-mini.XtClvIKE.mjs';
8
8
  import '@unocss/rule-utils';
9
9
 
10
10
  declare const preflights: Preflight<Theme>[];
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
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.DoeVWAwQ.js';
7
+ export { p as parseColor } from './shared/preset-mini.DChc_8j2.js';
8
8
  import '@unocss/rule-utils';
9
9
 
10
10
  declare const preflights: Preflight<Theme>[];
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.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';
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.UC_hgxy0.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.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';
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)
@@ -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.CERzM3Y6.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"];
@@ -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.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.CERzM3Y6.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
 
@@ -463,7 +463,7 @@ function variantImportant() {
463
463
  matcher: base,
464
464
  body: (body) => {
465
465
  body.forEach((v) => {
466
- if (v[1])
466
+ if (v[1] != null)
467
467
  v[1] += " !important";
468
468
  });
469
469
  return body;
@@ -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.js';
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.UC_hgxy0.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,6 +1,6 @@
1
1
  import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
2
  import { ParsedColorValue } from '@unocss/rule-utils';
3
- import { T as Theme } from './preset-mini.P5Rzuhf5.js';
3
+ import { T as Theme } from './preset-mini.Cde3ndkA.js';
4
4
 
5
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
2
  import { ParsedColorValue } from '@unocss/rule-utils';
3
- import { T as Theme } from './preset-mini.P5Rzuhf5.mjs';
3
+ import { T as Theme } from './preset-mini.Cde3ndkA.mjs';
4
4
 
5
5
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
6
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.CERzM3Y6.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.UC_hgxy0.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,35 +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
- const props = prop.split(",").flatMap((p) => h.properties(p) ?? transitionPropertyGroup[p]);
265
- if (props.length > 0 && props.every(Boolean))
266
- return props.join(",");
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;
267
269
  }
268
270
  const transitions = [
269
271
  // transition
270
272
  [
271
- /^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,
273
+ /^transition(?:-(\D+?))?(?:-(\d+))?$/,
272
274
  ([, prop, d], { theme }) => {
273
- const p = prop != null ? transitionProperty(prop) : [transitionPropertyGroup.colors, "opacity", "box-shadow", "transform", "filter", "backdrop-filter"].join(",");
274
- 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);
275
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) {
276
292
  return {
277
- "transition-property": p,
278
- "transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
279
- "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)
280
296
  };
281
297
  }
282
298
  },
283
- { autocomplete: `transition-(${Object.keys(transitionPropertyGroup).join("|")})` }
299
+ {
300
+ autocomplete: "transition-$transitionProperty-$duration"
301
+ }
284
302
  ],
285
303
  // timings
286
304
  [
@@ -301,8 +319,16 @@ const transitions = [
301
319
  // props
302
320
  [
303
321
  /^(?:transition-)?property-(.+)$/,
304
- ([, v]) => ({ "transition-property": h.bracket.global(v) || transitionProperty(v) }),
305
- { 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
+ ] }
306
332
  ],
307
333
  // none
308
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.BEq2gxwy.mjs';
3
- import './shared/preset-mini.UC_hgxy0.mjs';
4
- import './shared/preset-mini.CERzM3Y6.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.BJYzNu5m.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[]>;
@@ -53,7 +53,7 @@ declare namespace handlers {
53
53
  export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
54
54
  }
55
55
 
56
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
58
 
59
59
  export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
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.DoeVWAwQ.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[]>;
@@ -53,7 +53,7 @@ declare namespace handlers {
53
53
  export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
54
54
  }
55
55
 
56
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
58
 
59
59
  export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
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.CERzM3Y6.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,9 +1,9 @@
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.BJYzNu5m.mjs';
6
+ import './shared/preset-mini.XtClvIKE.mjs';
7
7
  import '@unocss/rule-utils';
8
8
 
9
9
  declare const variantAria: VariantObject;
@@ -1,9 +1,9 @@
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.DoeVWAwQ.js';
6
+ import './shared/preset-mini.DChc_8j2.js';
7
7
  import '@unocss/rule-utils';
8
8
 
9
9
  declare const variantAria: VariantObject;
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 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';
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.61.0",
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/extractor-arbitrary-variants": "0.61.0",
60
- "@unocss/core": "0.61.0",
61
- "@unocss/rule-utils": "0.61.0"
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",