@unocss/preset-mini 0.60.2 → 0.60.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -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.LaTU_0KF.mjs';
4
- export { k as parseColor } from './shared/preset-mini.LaTU_0KF.mjs';
5
- import { t as theme } from './shared/preset-mini.D67MIHq5.mjs';
6
- import { r as rules } from './shared/preset-mini.BXGpmpTN.mjs';
7
- import { i as variants } from './shared/preset-mini.lwQsig6M.mjs';
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';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.CErwpRk8.mjs';
10
+ import './shared/preset-mini.D0XQxeT8.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.BXGpmpTN.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.CErwpRk8.mjs';
3
- import './shared/preset-mini.LaTU_0KF.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.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';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -1,5 +1,5 @@
1
1
  import { colors } from '../colors.mjs';
2
- import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.CErwpRk8.mjs';
2
+ import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.D0XQxeT8.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -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.LaTU_0KF.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.lpdd2hsn.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,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.LaTU_0KF.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.lpdd2hsn.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.CErwpRk8.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.D0XQxeT8.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -31,7 +31,14 @@ const verticalAligns = [
31
31
  }
32
32
  ]
33
33
  ];
34
- const textAligns = ["center", "left", "right", "justify", "start", "end"].map((v) => [`text-${v}`, { "text-align": v }]);
34
+ const textAlignValues = ["center", "left", "right", "justify", "start", "end"];
35
+ const textAligns = [
36
+ ...textAlignValues.map((v) => [`text-${v}`, { "text-align": v }]),
37
+ ...[
38
+ ...globalKeywords,
39
+ ...textAlignValues
40
+ ].map((v) => [`text-align-${v}`, { "text-align": v }])
41
+ ];
35
42
 
36
43
  const outline = [
37
44
  // size
@@ -181,9 +188,9 @@ const opacity = [
181
188
  [/^op(?:acity)?-?(.+)$/, ([, d]) => ({ opacity: h.bracket.percent.cssvar(d) })]
182
189
  ];
183
190
  const bgUrlRE = /^\[url\(.+\)\]$/;
184
- const bgLengthRE = /^\[(length|size):.+\]$/;
191
+ const bgLengthRE = /^\[(?:length|size):.+\]$/;
185
192
  const bgPositionRE = /^\[position:.+\]$/;
186
- const bgGradientRE = /^\[(linear|conic|radial)-gradient\(.+\)\]$/;
193
+ const bgGradientRE = /^\[(?:linear|conic|radial)-gradient\(.+\)\]$/;
187
194
  const bgColors = [
188
195
  [/^bg-(.+)$/, (...args) => {
189
196
  const d = args[0][1];
@@ -793,20 +800,20 @@ const aspectRatio = [
793
800
  ];
794
801
 
795
802
  const paddings = [
796
- [/^pa?()-?(-?.+)$/, directionSize("padding"), { autocomplete: ["(m|p)<num>", "(m|p)-<num>"] }],
803
+ [/^pa?()-?(.+)$/, directionSize("padding"), { autocomplete: ["(m|p)<num>", "(m|p)-<num>"] }],
797
804
  [/^p-?xy()()$/, directionSize("padding"), { autocomplete: "(m|p)-(xy)" }],
798
- [/^p-?([xy])(?:-?(-?.+))?$/, directionSize("padding")],
799
- [/^p-?([rltbse])(?:-?(-?.+))?$/, directionSize("padding"), { autocomplete: "(m|p)<directions>-<num>" }],
800
- [/^p-(block|inline)(?:-(-?.+))?$/, directionSize("padding"), { autocomplete: "(m|p)-(block|inline)-<num>" }],
801
- [/^p-?([bi][se])(?:-?(-?.+))?$/, directionSize("padding"), { autocomplete: "(m|p)-(bs|be|is|ie)-<num>" }]
805
+ [/^p-?([xy])(?:-?(.+))?$/, directionSize("padding")],
806
+ [/^p-?([rltbse])(?:-?(.+))?$/, directionSize("padding"), { autocomplete: "(m|p)<directions>-<num>" }],
807
+ [/^p-(block|inline)(?:-(.+))?$/, directionSize("padding"), { autocomplete: "(m|p)-(block|inline)-<num>" }],
808
+ [/^p-?([bi][se])(?:-?(.+))?$/, directionSize("padding"), { autocomplete: "(m|p)-(bs|be|is|ie)-<num>" }]
802
809
  ];
803
810
  const margins = [
804
- [/^ma?()-?(-?.+)$/, directionSize("margin")],
811
+ [/^ma?()-?(.+)$/, directionSize("margin")],
805
812
  [/^m-?xy()()$/, directionSize("margin")],
806
- [/^m-?([xy])(?:-?(-?.+))?$/, directionSize("margin")],
807
- [/^m-?([rltbse])(?:-?(-?.+))?$/, directionSize("margin")],
808
- [/^m-(block|inline)(?:-(-?.+))?$/, directionSize("margin")],
809
- [/^m-?([bi][se])(?:-?(-?.+))?$/, directionSize("margin")]
813
+ [/^m-?([xy])(?:-?(.+))?$/, directionSize("margin")],
814
+ [/^m-?([rltbse])(?:-?(.+))?$/, directionSize("margin")],
815
+ [/^m-(block|inline)(?:-(.+))?$/, directionSize("margin")],
816
+ [/^m-?([bi][se])(?:-?(.+))?$/, directionSize("margin")]
810
817
  ];
811
818
 
812
819
  const variablesAbbrMap = {
@@ -111,7 +111,7 @@ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
111
111
  const cssVarFnRE = /^(var)\s*\((.+)\)(.*)/;
112
112
 
113
113
  const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
114
- const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
114
+ const numberRE = /^(-?\d*(?:\.\d+)?)$/;
115
115
  const unitOnlyRE = /^(px|[sld]?v[wh])$/i;
116
116
  const unitOnlyMap = {
117
117
  px: 1,
@@ -185,7 +185,7 @@ const cssProps = [
185
185
  "border-radius"
186
186
  ];
187
187
  function round(n) {
188
- return n.toFixed(10).replace(/\.0+$/, "").replace(/(\.\d+?)0+$/, "$1");
188
+ return +n.toFixed(10);
189
189
  }
190
190
  function numberWithUnit(str) {
191
191
  const match = str.match(numberWithUnitRE);
@@ -297,7 +297,7 @@ function bracketWithType(str, requiredType) {
297
297
  return match2.replace(/var\((--.+?)[,)]/g, (match3, g1) => {
298
298
  vars.push(g1);
299
299
  return match3.replace(g1, "--un-calc");
300
- }).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
300
+ }).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
301
301
  });
302
302
  }
303
303
  }
@@ -386,7 +386,7 @@ function directionSize(propertyPrefix) {
386
386
  const v = theme.spacing?.[size || "DEFAULT"] ?? h.bracket.cssvar.global.auto.fraction.rem(size);
387
387
  if (v != null) {
388
388
  return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, v]);
389
- } else if (size.startsWith("-")) {
389
+ } else if (size?.startsWith("-")) {
390
390
  const v2 = theme.spacing?.[size.slice(1)];
391
391
  if (v2 != null)
392
392
  return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, `calc(${v2} * -1)`]);
@@ -427,7 +427,7 @@ function parseColor(body, theme, key) {
427
427
  if (!split)
428
428
  return;
429
429
  const [main, opacity] = split;
430
- const colors = main.replace(/([a-z])([0-9])/g, "$1-$2").split(/-/g);
430
+ const colors = main.replace(/([a-z])(\d)/g, "$1-$2").split(/-/g);
431
431
  const [name] = colors;
432
432
  if (!name)
433
433
  return;
@@ -436,7 +436,7 @@ function parseColor(body, theme, key) {
436
436
  const bracketOrMain = bracket || main;
437
437
  if (h.numberWithUnit(bracketOrMain))
438
438
  return;
439
- if (/^#[\da-fA-F]+$/.test(bracketOrMain))
439
+ if (/^#[\da-f]+$/i.test(bracketOrMain))
440
440
  color = bracketOrMain;
441
441
  else if (/^hex-[\da-fA-F]+$/.test(bracketOrMain))
442
442
  color = `#${bracketOrMain.slice(4)}`;
@@ -542,13 +542,17 @@ function colorableShadows(shadows, colorVar) {
542
542
  function hasParseableColor(color, theme, key) {
543
543
  return color != null && !!parseColor(color, theme, key)?.color;
544
544
  }
545
+ const reLetters = /[a-z]+/gi;
546
+ const resolvedBreakpoints = /* @__PURE__ */ new WeakMap();
545
547
  function resolveBreakpoints({ theme, generator }, key = "breakpoints") {
546
- let breakpoints;
547
- if (generator.userConfig && generator.userConfig.theme)
548
- breakpoints = generator.userConfig.theme[key];
548
+ const breakpoints = generator?.userConfig?.theme?.[key] || theme[key];
549
549
  if (!breakpoints)
550
- breakpoints = theme[key];
551
- return breakpoints ? Object.entries(breakpoints).sort((a, b) => Number.parseInt(a[1].replace(/[a-z]+/gi, "")) - Number.parseInt(b[1].replace(/[a-z]+/gi, ""))).map(([point, size]) => ({ point, size })) : void 0;
550
+ return void 0;
551
+ if (resolvedBreakpoints.has(theme))
552
+ return resolvedBreakpoints.get(theme);
553
+ const resolved = Object.entries(breakpoints).sort((a, b) => Number.parseInt(a[1].replace(reLetters, "")) - Number.parseInt(b[1].replace(reLetters, ""))).map(([point, size]) => ({ point, size }));
554
+ resolvedBreakpoints.set(theme, resolved);
555
+ return resolved;
552
556
  }
553
557
  function resolveVerticalBreakpoints(context) {
554
558
  return resolveBreakpoints(context, "verticalBreakpoints");
@@ -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.LaTU_0KF.mjs';
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';
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
 
@@ -20,7 +20,7 @@ const variantAria = {
20
20
  };
21
21
 
22
22
  function calcMaxWidthBySize(size) {
23
- const value = size.match(/^-?[0-9]+\.?[0-9]*/)?.[0] || "";
23
+ const value = size.match(/^-?\d+\.?\d*/)?.[0] || "";
24
24
  const unit = size.slice(value.length);
25
25
  if (unit === "px") {
26
26
  const maxWidth = Number.parseFloat(value) - 0.1;
@@ -28,11 +28,24 @@ function calcMaxWidthBySize(size) {
28
28
  }
29
29
  return `calc(${size} - 0.1px)`;
30
30
  }
31
+ const sizePseudo = /(max|min)-\[([^\]]*)\]:/;
31
32
  function variantBreakpoints() {
32
33
  const regexCache = {};
33
34
  return {
34
35
  name: "breakpoints",
35
36
  match(matcher, context) {
37
+ if (sizePseudo.test(matcher)) {
38
+ const match = matcher.match(sizePseudo);
39
+ const m = matcher.replace(match[0], "");
40
+ return {
41
+ matcher: m,
42
+ handle: (input, next) => next({
43
+ ...input,
44
+ parent: `${input.parent ? `${input.parent} $$ ` : ""}@media (${match[1]}-width: ${match[2]})`
45
+ // parentOrder: order,
46
+ })
47
+ };
48
+ }
36
49
  const variantEntries = (resolveBreakpoints(context) ?? []).map(({ point, size }, idx) => [point, size, idx]);
37
50
  for (const [point, size, idx] of variantEntries) {
38
51
  if (!regexCache[point])
@@ -728,7 +741,7 @@ function variantTaggedPseudoClasses(options = {}) {
728
741
  tagWithPrefix("previous", "+")
729
742
  ];
730
743
  }
731
- const PartClassesRE = /(part-\[(.+)]:)(.+)/;
744
+ const PartClassesRE = /(part-\[(.+)\]:)(.+)/;
732
745
  const variantPartClasses = {
733
746
  match(input) {
734
747
  const match = input.match(PartClassesRE);
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.D67MIHq5.mjs';
3
- import './shared/preset-mini.CErwpRk8.mjs';
4
- import './shared/preset-mini.LaTU_0KF.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';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.d.mts CHANGED
@@ -18,7 +18,7 @@ declare function numberWithUnit(str: string): string | undefined;
18
18
  declare function auto(str: string): "auto" | undefined;
19
19
  declare function rem(str: string): string | undefined;
20
20
  declare function px(str: string): string | undefined;
21
- declare function number(str: string): string | undefined;
21
+ declare function number(str: string): number | undefined;
22
22
  declare function percent(str: string): string | undefined;
23
23
  declare function fraction(str: string): string | undefined;
24
24
  declare function bracket(str: string): string | undefined;
package/dist/utils.d.ts CHANGED
@@ -18,7 +18,7 @@ declare function numberWithUnit(str: string): string | undefined;
18
18
  declare function auto(str: string): "auto" | undefined;
19
19
  declare function rem(str: string): string | undefined;
20
20
  declare function px(str: string): string | undefined;
21
- declare function number(str: string): string | undefined;
21
+ declare function number(str: string): number | undefined;
22
22
  declare function percent(str: string): string | undefined;
23
23
  declare function fraction(str: string): string | undefined;
24
24
  declare function bracket(str: string): string | undefined;
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.LaTU_0KF.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.lpdd2hsn.mjs';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
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.lwQsig6M.mjs';
2
- import './shared/preset-mini.LaTU_0KF.mjs';
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';
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.2",
4
+ "version": "0.60.4",
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.60.2",
60
- "@unocss/rule-utils": "0.60.2",
61
- "@unocss/core": "0.60.2"
59
+ "@unocss/core": "0.60.4",
60
+ "@unocss/rule-utils": "0.60.4",
61
+ "@unocss/extractor-arbitrary-variants": "0.60.4"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",