@unocss/preset-mini 0.59.1 → 0.59.3

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.CWuOZAHF.mjs';
4
- export { j as parseColor } from './shared/preset-mini.CWuOZAHF.mjs';
5
- import { t as theme } from './shared/preset-mini.B-FeHxXU.mjs';
6
- import { r as rules } from './shared/preset-mini.BkfCAdS7.mjs';
7
- import { h as variants } from './shared/preset-mini.C1Rrw9HG.mjs';
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.DHvO0v6Y.mjs';
6
+ import { r as rules } from './shared/preset-mini.Ehzod_q8.mjs';
7
+ import { h as variants } from './shared/preset-mini.DD2Q_iFh.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.BLqeNSHq.mjs';
10
+ import './shared/preset-mini.0zg9NmGk.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.BkfCAdS7.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.BLqeNSHq.mjs';
3
- import './shared/preset-mini.CWuOZAHF.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.Ehzod_q8.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.0zg9NmGk.mjs';
3
+ import './shared/preset-mini.LaTU_0KF.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -1,4 +1,4 @@
1
- import { e as h, o as makeGlobalStaticRules, g as globalKeywords, k as colorResolver, q as isCSSMathFn, m as hasParseableColor, l as colorableShadows, p as positionMap, u as transformXYZ } from './preset-mini.CWuOZAHF.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.LaTU_0KF.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"];
@@ -195,6 +195,20 @@ const transformValues = [
195
195
  "scale"
196
196
  ];
197
197
  const transformCpu = [
198
+ "translateX(var(--un-translate-x))",
199
+ "translateY(var(--un-translate-y))",
200
+ // 'translateZ(var(--un-translate-z))',
201
+ "rotate(var(--un-rotate))",
202
+ "rotateX(var(--un-rotate-x))",
203
+ "rotateY(var(--un-rotate-y))",
204
+ // 'rotateZ(var(--un-rotate-z))',
205
+ "skewX(var(--un-skew-x))",
206
+ "skewY(var(--un-skew-y))",
207
+ "scaleX(var(--un-scale-x))",
208
+ "scaleY(var(--un-scale-y))"
209
+ // 'scaleZ(var(--un-scale-z))',
210
+ ].join(" ");
211
+ const transform = [
198
212
  "translateX(var(--un-translate-x))",
199
213
  "translateY(var(--un-translate-y))",
200
214
  "translateZ(var(--un-translate-z))",
@@ -271,7 +285,7 @@ const transforms = [
271
285
  [/^(?:transform-)?preserve-3d$/, () => ({ "transform-style": "preserve-3d" })],
272
286
  [/^(?:transform-)?preserve-flat$/, () => ({ "transform-style": "flat" })],
273
287
  // base
274
- ["transform", { transform: transformCpu }],
288
+ ["transform", { transform }],
275
289
  ["transform-cpu", { transform: transformCpu }],
276
290
  ["transform-gpu", { transform: transformGpu }],
277
291
  ["transform-none", { transform: "none" }],
@@ -282,7 +296,7 @@ function handleTranslate([, d, b], { theme }) {
282
296
  if (v != null) {
283
297
  return [
284
298
  ...transformXYZ(d, v, "translate"),
285
- ["transform", transformCpu]
299
+ ["transform", transform]
286
300
  ];
287
301
  }
288
302
  }
@@ -291,7 +305,7 @@ function handleScale([, d, b]) {
291
305
  if (v != null) {
292
306
  return [
293
307
  ...transformXYZ(d, v, "scale"),
294
- ["transform", transformCpu]
308
+ ["transform", transform]
295
309
  ];
296
310
  }
297
311
  }
@@ -302,7 +316,7 @@ function handleRotate([, d = "", b]) {
302
316
  return {
303
317
  "--un-rotate": 0,
304
318
  [`--un-rotate-${d}`]: v,
305
- "transform": transformCpu
319
+ "transform": transform
306
320
  };
307
321
  } else {
308
322
  return {
@@ -310,7 +324,7 @@ function handleRotate([, d = "", b]) {
310
324
  "--un-rotate-y": 0,
311
325
  "--un-rotate-z": 0,
312
326
  "--un-rotate": v,
313
- "transform": transformCpu
327
+ "transform": transform
314
328
  };
315
329
  }
316
330
  }
@@ -320,7 +334,7 @@ function handleSkew([, d, b]) {
320
334
  if (v != null) {
321
335
  return [
322
336
  ...transformXYZ(d, v, "skew"),
323
- ["transform", transformCpu]
337
+ ["transform", transform]
324
338
  ];
325
339
  }
326
340
  }
@@ -1,4 +1,4 @@
1
- import { e as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE } from './preset-mini.CWuOZAHF.mjs';
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';
2
2
  import { variantGetParameter, variantGetBracket, variantMatcher, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
3
3
  import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
4
4
 
@@ -345,7 +345,7 @@ const ignoreProps = [
345
345
  /\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/
346
346
  ];
347
347
  function negateMathFunction(value) {
348
- const match = value.match(cssMathFnRE);
348
+ const match = value.match(cssMathFnRE) || value.match(cssVarFnRE);
349
349
  if (match) {
350
350
  const [fnBody, rest] = getStringComponent(`(${match[2]})${match[3]}`, "(", ")", " ") ?? [];
351
351
  if (fnBody)
@@ -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.BLqeNSHq.mjs';
2
+ import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.0zg9NmGk.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -1,7 +1,7 @@
1
- import { g as globalKeywords, e as h, q as isCSSMathFn, k as colorResolver, d as directionMap, m as hasParseableColor, c as cornerMap, j as parseColor, t as isSize, o as makeGlobalStaticRules, l as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, f as directionSize } from './preset-mini.CWuOZAHF.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.LaTU_0KF.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.BLqeNSHq.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.0zg9NmGk.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -94,7 +94,7 @@ const borders = [
94
94
  [/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
95
95
  [/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
96
96
  // radius
97
- [/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/, handlerRounded, { autocomplete: ["(border|b)-(rounded|rd)", "(border|b)-(rounded|rd)-<num>", "(rounded|rd)", "(rounded|rd)-<num>"] }],
97
+ [/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/, handlerRounded, { autocomplete: ["(border|b)-(rounded|rd)", "(border|b)-(rounded|rd)-$borderRadius", "(rounded|rd)", "(rounded|rd)-$borderRadius"] }],
98
98
  [/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/, handlerRounded],
99
99
  [/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/, handlerRounded],
100
100
  [/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/, handlerRounded],
@@ -884,8 +884,7 @@ const questionMark = [
884
884
  /^(where|\?)$/,
885
885
  (_, { constructCSS, generator }) => {
886
886
  if (generator.userConfig.envMode === "dev")
887
- return `@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}}
888
- ${constructCSS({ animation: "__un_qm 0.5s ease-in-out alternate infinite" })}`;
887
+ return `@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${constructCSS({ animation: "__un_qm 0.5s ease-in-out alternate infinite" })}`;
889
888
  }
890
889
  ]
891
890
  ];
@@ -108,6 +108,7 @@ const globalKeywords = [
108
108
  "unset"
109
109
  ];
110
110
  const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
111
+ const cssVarFnRE = /^(var)\s*\((.+)\)(.*)/;
111
112
 
112
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;
113
114
  const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
@@ -383,8 +384,13 @@ const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
383
384
  function directionSize(propertyPrefix) {
384
385
  return ([_, direction, size], { theme }) => {
385
386
  const v = theme.spacing?.[size || "DEFAULT"] ?? h.bracket.cssvar.global.auto.fraction.rem(size);
386
- if (v != null)
387
+ if (v != null) {
387
388
  return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, v]);
389
+ } else if (size.startsWith("-")) {
390
+ const v2 = theme.spacing?.[size.slice(1)];
391
+ if (v2 != null)
392
+ return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, `calc(${v2} * -1)`]);
393
+ }
388
394
  };
389
395
  }
390
396
  function getThemeColorForKey(theme, colors, key = "colors") {
@@ -565,4 +571,4 @@ function transformXYZ(d, v, name) {
565
571
  return values.map((v2, i) => [`--un-${name}-${xyzArray[i]}`, v2]);
566
572
  }
567
573
 
568
- export { CONTROL_MINI_NO_NEGATIVE as C, xyzArray as a, cssMathFnRE as b, cornerMap as c, directionMap as d, h as e, directionSize as f, globalKeywords as g, handler as h, insetMap as i, parseColor as j, colorResolver as k, colorableShadows as l, hasParseableColor as m, resolveVerticalBreakpoints as n, makeGlobalStaticRules as o, positionMap as p, isCSSMathFn as q, resolveBreakpoints as r, splitShorthand as s, isSize as t, transformXYZ as u, valueHandlers as v, xyzMap as x };
574
+ export { CONTROL_MINI_NO_NEGATIVE as C, xyzArray as a, cssMathFnRE as b, cornerMap as c, directionMap as d, cssVarFnRE as e, h as f, globalKeywords as g, handler as h, insetMap as i, directionSize as j, parseColor as k, colorResolver as l, colorableShadows as m, hasParseableColor as n, resolveVerticalBreakpoints as o, positionMap as p, makeGlobalStaticRules as q, resolveBreakpoints as r, splitShorthand as s, isCSSMathFn as t, isSize as u, valueHandlers as v, transformXYZ as w, xyzMap as x };
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.B-FeHxXU.mjs';
3
- import './shared/preset-mini.BLqeNSHq.mjs';
4
- import './shared/preset-mini.CWuOZAHF.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.DHvO0v6Y.mjs';
3
+ import './shared/preset-mini.0zg9NmGk.mjs';
4
+ import './shared/preset-mini.LaTU_0KF.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.d.mts CHANGED
@@ -12,6 +12,7 @@ declare const xyzArray: string[];
12
12
  declare const positionMap: Record<string, string>;
13
13
  declare const globalKeywords: string[];
14
14
  declare const cssMathFnRE: RegExp;
15
+ declare const cssVarFnRE: RegExp;
15
16
 
16
17
  declare function numberWithUnit(str: string): string | undefined;
17
18
  declare function auto(str: string): "auto" | undefined;
@@ -52,7 +53,7 @@ declare namespace handlers {
52
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 };
53
54
  }
54
55
 
55
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
- 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">;
57
58
 
58
- export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
59
+ export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
package/dist/utils.d.ts CHANGED
@@ -12,6 +12,7 @@ declare const xyzArray: string[];
12
12
  declare const positionMap: Record<string, string>;
13
13
  declare const globalKeywords: string[];
14
14
  declare const cssMathFnRE: RegExp;
15
+ declare const cssVarFnRE: RegExp;
15
16
 
16
17
  declare function numberWithUnit(str: string): string | undefined;
17
18
  declare function auto(str: string): "auto" | undefined;
@@ -52,7 +53,7 @@ declare namespace handlers {
52
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 };
53
54
  }
54
55
 
55
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
- 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">;
57
58
 
58
- export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
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, k as colorResolver, l as colorableShadows, c as cornerMap, b as cssMathFnRE, d as directionMap, f as directionSize, g as globalKeywords, e as h, h as handler, m as hasParseableColor, i as insetMap, q as isCSSMathFn, t as isSize, o as makeGlobalStaticRules, j as parseColor, p as positionMap, r as resolveBreakpoints, n as resolveVerticalBreakpoints, s as splitShorthand, u as transformXYZ, v as valueHandlers, a as xyzArray, x as xyzMap } from './shared/preset-mini.CWuOZAHF.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.LaTU_0KF.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, e as variantColorsMediaOrClass, b as variantCombinators, d as variantContainerQuery, n as variantCssLayer, l as variantCustomMedia, f as variantDataAttribute, j as variantImportant, o as variantInternalLayer, i as variantLanguageDirections, s as variantNegative, x as variantPartClasses, k as variantPrint, u as variantPseudoClassFunctions, t as variantPseudoClassesAndElements, p as variantScope, m as variantSelector, y as variantSupports, g as variantTaggedDataAttributes, w as variantTaggedPseudoClasses, r as variantTheme, q as variantVariables, h as variants } from './shared/preset-mini.C1Rrw9HG.mjs';
2
- import './shared/preset-mini.CWuOZAHF.mjs';
1
+ export { c as calcMaxWidthBySize, v as variantAria, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, d as variantContainerQuery, n as variantCssLayer, l as variantCustomMedia, f as variantDataAttribute, j as variantImportant, o as variantInternalLayer, i as variantLanguageDirections, s as variantNegative, x as variantPartClasses, k as variantPrint, u as variantPseudoClassFunctions, t as variantPseudoClassesAndElements, p as variantScope, m as variantSelector, y as variantSupports, g as variantTaggedDataAttributes, w as variantTaggedPseudoClasses, r as variantTheme, q as variantVariables, h as variants } from './shared/preset-mini.DD2Q_iFh.mjs';
2
+ import './shared/preset-mini.LaTU_0KF.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.59.1",
4
+ "version": "0.59.3",
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.59.1",
60
- "@unocss/core": "0.59.1",
61
- "@unocss/rule-utils": "0.59.1"
59
+ "@unocss/core": "0.59.3",
60
+ "@unocss/rule-utils": "0.59.3",
61
+ "@unocss/extractor-arbitrary-variants": "0.59.3"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",