@unocss/preset-mini 0.55.5 → 0.55.6

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 (32) hide show
  1. package/dist/colors.d.cts +1 -1
  2. package/dist/colors.d.mts +1 -1
  3. package/dist/colors.d.ts +1 -1
  4. package/dist/index.d.cts +4 -4
  5. package/dist/index.d.mts +4 -4
  6. package/dist/index.d.ts +4 -4
  7. package/dist/rules.cjs +11 -2
  8. package/dist/rules.d.cts +1 -1
  9. package/dist/rules.d.mts +1 -1
  10. package/dist/rules.d.ts +1 -1
  11. package/dist/rules.mjs +11 -2
  12. package/dist/shared/{preset-mini.0d957b3b.d.mts → preset-mini.0a392a7c.d.ts} +4 -1
  13. package/dist/shared/{preset-mini.3a79e471.d.ts → preset-mini.302bff75.d.cts} +4 -1
  14. package/dist/shared/{preset-mini.7b9de562.d.cts → preset-mini.8ff442ab.d.mts} +1 -1
  15. package/dist/shared/{preset-mini.32abac2c.d.ts → preset-mini.bc674518.d.cts} +1 -0
  16. package/dist/shared/{preset-mini.32abac2c.d.cts → preset-mini.bc674518.d.mts} +1 -0
  17. package/dist/shared/{preset-mini.32abac2c.d.mts → preset-mini.bc674518.d.ts} +1 -0
  18. package/dist/shared/{preset-mini.fa67009f.d.ts → preset-mini.c0e4a0cc.d.ts} +1 -1
  19. package/dist/shared/{preset-mini.f67366b3.d.cts → preset-mini.f12010ce.d.mts} +4 -1
  20. package/dist/shared/{preset-mini.2f8c3259.d.mts → preset-mini.f9bfbfc9.d.cts} +1 -1
  21. package/dist/theme.cjs +6 -1
  22. package/dist/theme.d.cts +7 -4
  23. package/dist/theme.d.mts +7 -4
  24. package/dist/theme.d.ts +7 -4
  25. package/dist/theme.mjs +6 -2
  26. package/dist/utils.d.cts +4 -4
  27. package/dist/utils.d.mts +4 -4
  28. package/dist/utils.d.ts +4 -4
  29. package/dist/variants.d.cts +3 -3
  30. package/dist/variants.d.mts +3 -3
  31. package/dist/variants.d.ts +3 -3
  32. package/package.json +3 -3
package/dist/colors.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.32abac2c.cjs';
1
+ import { C as Colors } from './shared/preset-mini.bc674518.cjs';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
package/dist/colors.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.32abac2c.mjs';
1
+ import { C as Colors } from './shared/preset-mini.bc674518.mjs';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
package/dist/colors.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.32abac2c.js';
1
+ import { C as Colors } from './shared/preset-mini.bc674518.js';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.32abac2c.cjs';
3
- export { a as ThemeAnimation } from './shared/preset-mini.32abac2c.cjs';
4
- export { t as theme } from './shared/preset-mini.f67366b3.cjs';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.cjs';
3
+ export { a as ThemeAnimation } from './shared/preset-mini.bc674518.cjs';
4
+ export { t as theme } from './shared/preset-mini.302bff75.cjs';
5
5
  export { colors } from './colors.cjs';
6
- export { p as parseColor } from './shared/preset-mini.7b9de562.cjs';
6
+ export { p as parseColor } from './shared/preset-mini.f9bfbfc9.cjs';
7
7
 
8
8
  declare const preflights: Preflight[];
9
9
 
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.32abac2c.mjs';
3
- export { a as ThemeAnimation } from './shared/preset-mini.32abac2c.mjs';
4
- export { t as theme } from './shared/preset-mini.0d957b3b.mjs';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.mjs';
3
+ export { a as ThemeAnimation } from './shared/preset-mini.bc674518.mjs';
4
+ export { t as theme } from './shared/preset-mini.f12010ce.mjs';
5
5
  export { colors } from './colors.mjs';
6
- export { p as parseColor } from './shared/preset-mini.2f8c3259.mjs';
6
+ export { p as parseColor } from './shared/preset-mini.8ff442ab.mjs';
7
7
 
8
8
  declare const preflights: Preflight[];
9
9
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.32abac2c.js';
3
- export { a as ThemeAnimation } from './shared/preset-mini.32abac2c.js';
4
- export { t as theme } from './shared/preset-mini.3a79e471.js';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.js';
3
+ export { a as ThemeAnimation } from './shared/preset-mini.bc674518.js';
4
+ export { t as theme } from './shared/preset-mini.0a392a7c.js';
5
5
  export { colors } from './colors.js';
6
- export { p as parseColor } from './shared/preset-mini.fa67009f.js';
6
+ export { p as parseColor } from './shared/preset-mini.c0e4a0cc.js';
7
7
 
8
8
  declare const preflights: Preflight[];
9
9
 
package/dist/rules.cjs CHANGED
@@ -21,7 +21,16 @@ const verticalAlignAlias = {
21
21
  ...Object.fromEntries(colors.globalKeywords.map((x) => [x, x]))
22
22
  };
23
23
  const verticalAligns = [
24
- [/^(?:vertical|align|v)-([-\w]+)$/, ([, v]) => ({ "vertical-align": verticalAlignAlias[v] }), { autocomplete: `(vertical|align|v)-(${Object.keys(verticalAlignAlias).join("|")})` }]
24
+ [
25
+ /^(?:vertical|align|v)-([-\w]+%?)$/,
26
+ ([, v]) => ({ "vertical-align": verticalAlignAlias[v] ?? colors.h.numberWithUnit(v) }),
27
+ {
28
+ autocomplete: [
29
+ `(vertical|align|v)-(${Object.keys(verticalAlignAlias).join("|")})`,
30
+ "(vertical|align|v)-<percentage>"
31
+ ]
32
+ }
33
+ ]
25
34
  ];
26
35
  const textAligns = ["center", "left", "right", "justify", "start", "end"].map((v) => [`text-${v}`, { "text-align": v }]);
27
36
 
@@ -632,7 +641,7 @@ const floats = [
632
641
  ];
633
642
  const zIndexes = [
634
643
  [/^(?:position-|pos-)?z([\d.]+)$/, ([, v]) => ({ "z-index": colors.h.number(v) })],
635
- [/^(?:position-|pos-)?z-(.+)$/, ([, v]) => ({ "z-index": colors.h.bracket.cssvar.global.auto.number(v) }), { autocomplete: "z-<num>" }]
644
+ [/^(?:position-|pos-)?z-(.+)$/, ([, v], { theme }) => ({ "z-index": theme.zIndex?.[v] ?? colors.h.bracket.cssvar.global.auto.number(v) }), { autocomplete: "z-<num>" }]
636
645
  ];
637
646
  const boxSizing = [
638
647
  ["box-border", { "box-sizing": "border-box" }],
package/dist/rules.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.32abac2c.cjs';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.cjs';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
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.32abac2c.mjs';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.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.32abac2c.js';
2
+ import { T as Theme } from './shared/preset-mini.bc674518.js';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
package/dist/rules.mjs CHANGED
@@ -20,7 +20,16 @@ const verticalAlignAlias = {
20
20
  ...Object.fromEntries(globalKeywords.map((x) => [x, x]))
21
21
  };
22
22
  const verticalAligns = [
23
- [/^(?:vertical|align|v)-([-\w]+)$/, ([, v]) => ({ "vertical-align": verticalAlignAlias[v] }), { autocomplete: `(vertical|align|v)-(${Object.keys(verticalAlignAlias).join("|")})` }]
23
+ [
24
+ /^(?:vertical|align|v)-([-\w]+%?)$/,
25
+ ([, v]) => ({ "vertical-align": verticalAlignAlias[v] ?? h.numberWithUnit(v) }),
26
+ {
27
+ autocomplete: [
28
+ `(vertical|align|v)-(${Object.keys(verticalAlignAlias).join("|")})`,
29
+ "(vertical|align|v)-<percentage>"
30
+ ]
31
+ }
32
+ ]
24
33
  ];
25
34
  const textAligns = ["center", "left", "right", "justify", "start", "end"].map((v) => [`text-${v}`, { "text-align": v }]);
26
35
 
@@ -631,7 +640,7 @@ const floats = [
631
640
  ];
632
641
  const zIndexes = [
633
642
  [/^(?:position-|pos-)?z([\d.]+)$/, ([, v]) => ({ "z-index": h.number(v) })],
634
- [/^(?:position-|pos-)?z-(.+)$/, ([, v]) => ({ "z-index": h.bracket.cssvar.global.auto.number(v) }), { autocomplete: "z-<num>" }]
643
+ [/^(?:position-|pos-)?z-(.+)$/, ([, v], { theme }) => ({ "z-index": theme.zIndex?.[v] ?? h.bracket.cssvar.global.auto.number(v) }), { autocomplete: "z-<num>" }]
635
644
  ];
636
645
  const boxSizing = [
637
646
  ["box-border", { "box-sizing": "border-box" }],
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './preset-mini.32abac2c.mjs';
1
+ import { C as Colors } from './preset-mini.bc674518.js';
2
2
 
3
3
  declare const theme: {
4
4
  width: {
@@ -716,6 +716,9 @@ declare const theme: {
716
716
  containers: {
717
717
  [k: string]: string;
718
718
  };
719
+ zIndex: {
720
+ auto: string;
721
+ };
719
722
  };
720
723
 
721
724
  export { theme as t };
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './preset-mini.32abac2c.js';
1
+ import { C as Colors } from './preset-mini.bc674518.cjs';
2
2
 
3
3
  declare const theme: {
4
4
  width: {
@@ -716,6 +716,9 @@ declare const theme: {
716
716
  containers: {
717
717
  [k: string]: string;
718
718
  };
719
+ zIndex: {
720
+ auto: string;
721
+ };
719
722
  };
720
723
 
721
724
  export { theme as t };
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.32abac2c.cjs';
2
+ import { T as Theme } from './preset-mini.bc674518.mjs';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -45,6 +45,7 @@ interface Theme {
45
45
  duration?: Record<string, string>;
46
46
  aria?: Record<string, string>;
47
47
  data?: Record<string, string>;
48
+ zIndex?: Record<string, string>;
48
49
  blur?: Record<string, string>;
49
50
  dropShadow?: Record<string, string | string[]>;
50
51
  easing?: Record<string, string>;
@@ -45,6 +45,7 @@ interface Theme {
45
45
  duration?: Record<string, string>;
46
46
  aria?: Record<string, string>;
47
47
  data?: Record<string, string>;
48
+ zIndex?: Record<string, string>;
48
49
  blur?: Record<string, string>;
49
50
  dropShadow?: Record<string, string | string[]>;
50
51
  easing?: Record<string, string>;
@@ -45,6 +45,7 @@ interface Theme {
45
45
  duration?: Record<string, string>;
46
46
  aria?: Record<string, string>;
47
47
  data?: Record<string, string>;
48
+ zIndex?: Record<string, string>;
48
49
  blur?: Record<string, string>;
49
50
  dropShadow?: Record<string, string | string[]>;
50
51
  easing?: Record<string, string>;
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.32abac2c.js';
2
+ import { T as Theme } from './preset-mini.bc674518.js';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './preset-mini.32abac2c.cjs';
1
+ import { C as Colors } from './preset-mini.bc674518.mjs';
2
2
 
3
3
  declare const theme: {
4
4
  width: {
@@ -716,6 +716,9 @@ declare const theme: {
716
716
  containers: {
717
717
  [k: string]: string;
718
718
  };
719
+ zIndex: {
720
+ auto: string;
721
+ };
719
722
  };
720
723
 
721
724
  export { theme as t };
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.32abac2c.mjs';
2
+ import { T as Theme } from './preset-mini.bc674518.cjs';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
package/dist/theme.cjs CHANGED
@@ -183,6 +183,9 @@ const ringWidth = {
183
183
  DEFAULT: "1px",
184
184
  none: "0"
185
185
  };
186
+ const zIndex = {
187
+ auto: "auto"
188
+ };
186
189
 
187
190
  const blur = {
188
191
  "DEFAULT": "8px",
@@ -281,7 +284,8 @@ const theme = {
281
284
  duration,
282
285
  ringWidth,
283
286
  preflightBase,
284
- containers
287
+ containers,
288
+ zIndex
285
289
  };
286
290
 
287
291
  exports.colors = colors.colors;
@@ -313,3 +317,4 @@ exports.theme = theme;
313
317
  exports.verticalBreakpoints = verticalBreakpoints;
314
318
  exports.width = width;
315
319
  exports.wordSpacing = wordSpacing;
320
+ exports.zIndex = zIndex;
package/dist/theme.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.cjs';
2
- export { t as theme } from './shared/preset-mini.f67366b3.cjs';
3
- import { T as Theme } from './shared/preset-mini.32abac2c.cjs';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.32abac2c.cjs';
2
+ export { t as theme } from './shared/preset-mini.302bff75.cjs';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.cjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.bc674518.cjs';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -154,6 +154,9 @@ declare const ringWidth: {
154
154
  DEFAULT: string;
155
155
  none: string;
156
156
  };
157
+ declare const zIndex: {
158
+ auto: string;
159
+ };
157
160
 
158
161
  declare const preflightBase: {
159
162
  '--un-ring-inset': string;
@@ -261,4 +264,4 @@ declare const containers: {
261
264
  [k: string]: string;
262
265
  };
263
266
 
264
- export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
267
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
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.0d957b3b.mjs';
3
- import { T as Theme } from './shared/preset-mini.32abac2c.mjs';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.32abac2c.mjs';
2
+ export { t as theme } from './shared/preset-mini.f12010ce.mjs';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.mjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.bc674518.mjs';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -154,6 +154,9 @@ declare const ringWidth: {
154
154
  DEFAULT: string;
155
155
  none: string;
156
156
  };
157
+ declare const zIndex: {
158
+ auto: string;
159
+ };
157
160
 
158
161
  declare const preflightBase: {
159
162
  '--un-ring-inset': string;
@@ -261,4 +264,4 @@ declare const containers: {
261
264
  [k: string]: string;
262
265
  };
263
266
 
264
- export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
267
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, 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.3a79e471.js';
3
- import { T as Theme } from './shared/preset-mini.32abac2c.js';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.32abac2c.js';
2
+ export { t as theme } from './shared/preset-mini.0a392a7c.js';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.js';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.bc674518.js';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -154,6 +154,9 @@ declare const ringWidth: {
154
154
  DEFAULT: string;
155
155
  none: string;
156
156
  };
157
+ declare const zIndex: {
158
+ auto: string;
159
+ };
157
160
 
158
161
  declare const preflightBase: {
159
162
  '--un-ring-inset': string;
@@ -261,4 +264,4 @@ declare const containers: {
261
264
  [k: string]: string;
262
265
  };
263
266
 
264
- export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
267
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
package/dist/theme.mjs CHANGED
@@ -181,6 +181,9 @@ const ringWidth = {
181
181
  DEFAULT: "1px",
182
182
  none: "0"
183
183
  };
184
+ const zIndex = {
185
+ auto: "auto"
186
+ };
184
187
 
185
188
  const blur = {
186
189
  "DEFAULT": "8px",
@@ -279,7 +282,8 @@ const theme = {
279
282
  duration,
280
283
  ringWidth,
281
284
  preflightBase,
282
- containers
285
+ containers,
286
+ zIndex
283
287
  };
284
288
 
285
- export { baseSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing };
289
+ export { baseSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing, zIndex };
package/dist/utils.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.7b9de562.cjs';
4
- import './shared/preset-mini.32abac2c.cjs';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.f9bfbfc9.cjs';
4
+ import './shared/preset-mini.bc674518.cjs';
5
5
 
6
6
  declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
7
7
  declare function parseCssColor(str?: string): CSSColorValue | undefined;
@@ -54,8 +54,8 @@ declare namespace handlers {
54
54
  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 };
55
55
  }
56
56
 
57
- declare const handler: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
- declare const h: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
+ declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
+ declare const h: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
59
59
 
60
60
  declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject;
61
61
  declare function variantParentMatcher(name: string, parent: string): VariantObject;
package/dist/utils.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.2f8c3259.mjs';
4
- import './shared/preset-mini.32abac2c.mjs';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.8ff442ab.mjs';
4
+ import './shared/preset-mini.bc674518.mjs';
5
5
 
6
6
  declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
7
7
  declare function parseCssColor(str?: string): CSSColorValue | undefined;
@@ -54,8 +54,8 @@ declare namespace handlers {
54
54
  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 };
55
55
  }
56
56
 
57
- declare const handler: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
- declare const h: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
+ declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
+ declare const h: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
59
59
 
60
60
  declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject;
61
61
  declare function variantParentMatcher(name: string, parent: string): VariantObject;
package/dist/utils.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.fa67009f.js';
4
- import './shared/preset-mini.32abac2c.js';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.c0e4a0cc.js';
4
+ import './shared/preset-mini.bc674518.js';
5
5
 
6
6
  declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
7
7
  declare function parseCssColor(str?: string): CSSColorValue | undefined;
@@ -54,8 +54,8 @@ declare namespace handlers {
54
54
  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 };
55
55
  }
56
56
 
57
- declare const handler: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
- declare const h: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
57
+ declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
58
+ declare const h: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
59
59
 
60
60
  declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject;
61
61
  declare function variantParentMatcher(name: string, parent: string): VariantObject;
@@ -1,9 +1,9 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.cjs';
3
- import { T as Theme } from './shared/preset-mini.32abac2c.cjs';
4
- import './shared/preset-mini.f67366b3.cjs';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.cjs';
4
+ import './shared/preset-mini.302bff75.cjs';
5
5
  import './colors.cjs';
6
- import './shared/preset-mini.7b9de562.cjs';
6
+ import './shared/preset-mini.f9bfbfc9.cjs';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
@@ -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.32abac2c.mjs';
4
- import './shared/preset-mini.0d957b3b.mjs';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.mjs';
4
+ import './shared/preset-mini.f12010ce.mjs';
5
5
  import './colors.mjs';
6
- import './shared/preset-mini.2f8c3259.mjs';
6
+ import './shared/preset-mini.8ff442ab.mjs';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
@@ -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.32abac2c.js';
4
- import './shared/preset-mini.3a79e471.js';
3
+ import { T as Theme } from './shared/preset-mini.bc674518.js';
4
+ import './shared/preset-mini.0a392a7c.js';
5
5
  import './colors.js';
6
- import './shared/preset-mini.fa67009f.js';
6
+ import './shared/preset-mini.c0e4a0cc.js';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.55.5",
3
+ "version": "0.55.6",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -61,8 +61,8 @@
61
61
  "*.css"
62
62
  ],
63
63
  "dependencies": {
64
- "@unocss/core": "0.55.5",
65
- "@unocss/extractor-arbitrary-variants": "0.55.5"
64
+ "@unocss/core": "0.55.6",
65
+ "@unocss/extractor-arbitrary-variants": "0.55.6"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "unbuild",