@unocss/preset-mini 0.58.7 → 0.58.9

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.cjs CHANGED
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const core = require('@unocss/core');
6
6
  const extractorArbitraryVariants = require('@unocss/extractor-arbitrary-variants');
7
- const utilities = require('./shared/preset-mini.CdzxbzG1.cjs');
8
- const _default = require('./shared/preset-mini.D6RG4aSN.cjs');
9
- const _default$1 = require('./shared/preset-mini.nvs6mIBT.cjs');
10
- const _default$2 = require('./shared/preset-mini.vGRJlUxE.cjs');
7
+ const utilities = require('./shared/preset-mini.DahJgnb1.cjs');
8
+ const _default = require('./shared/preset-mini.St8sZgQd.cjs');
9
+ const _default$1 = require('./shared/preset-mini.D_Gfuejm.cjs');
10
+ const _default$2 = require('./shared/preset-mini.YtS7XCIs.cjs');
11
11
  const colors = require('./colors.cjs');
12
12
  require('@unocss/rule-utils');
13
- require('./shared/preset-mini.aMVgvy_A.cjs');
13
+ require('./shared/preset-mini.mjThnwTD.cjs');
14
14
 
15
15
  const preflights = [
16
16
  {
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.CV-SKsbk.mjs';
4
- export { j as parseColor } from './shared/preset-mini.CV-SKsbk.mjs';
5
- import { t as theme } from './shared/preset-mini.HNDEq_D9.mjs';
6
- import { r as rules } from './shared/preset-mini.BXHWLQ5I.mjs';
7
- import { h as variants } from './shared/preset-mini.BQqGYFkE.mjs';
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.DeOzy57x.mjs';
6
+ import { r as rules } from './shared/preset-mini.BkfCAdS7.mjs';
7
+ import { h as variants } from './shared/preset-mini.Cn7UNwSE.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.BDqq0hCv.mjs';
10
+ import './shared/preset-mini.BLqeNSHq.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const _default = require('./shared/preset-mini.nvs6mIBT.cjs');
4
- const transform = require('./shared/preset-mini.aMVgvy_A.cjs');
5
- require('./shared/preset-mini.CdzxbzG1.cjs');
3
+ const _default = require('./shared/preset-mini.D_Gfuejm.cjs');
4
+ const transform = require('./shared/preset-mini.mjThnwTD.cjs');
5
+ require('./shared/preset-mini.DahJgnb1.cjs');
6
6
  require('@unocss/core');
7
7
  require('@unocss/rule-utils');
8
8
 
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.BXHWLQ5I.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.BDqq0hCv.mjs';
3
- import './shared/preset-mini.CV-SKsbk.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.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';
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.CV-SKsbk.mjs';
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';
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, 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.CV-SKsbk.mjs';
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';
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.BDqq0hCv.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.BLqeNSHq.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -111,7 +111,18 @@ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
111
111
 
112
112
  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
113
  const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
114
- const unitOnlyRE = /^(px)$/i;
114
+ const unitOnlyRE = /^(px|[sld]?v[wh])$/i;
115
+ const unitOnlyMap = {
116
+ px: 1,
117
+ vw: 100,
118
+ vh: 100,
119
+ svw: 100,
120
+ svh: 100,
121
+ dvw: 100,
122
+ dvh: 100,
123
+ lvh: 100,
124
+ lvw: 100
125
+ };
115
126
  const bracketTypeRe = /^\[(color|length|size|position|quoted|string):/i;
116
127
  const splitComma = /,(?![^()]*\))/g;
117
128
 
@@ -189,8 +200,10 @@ function auto(str) {
189
200
  return "auto";
190
201
  }
191
202
  function rem(str) {
203
+ if (!str)
204
+ return;
192
205
  if (unitOnlyRE.test(str))
193
- return `1${str}`;
206
+ return `${unitOnlyMap[str]}${str}`;
194
207
  const match = str.match(numberWithUnitRE);
195
208
  if (!match)
196
209
  return;
@@ -204,7 +217,7 @@ function rem(str) {
204
217
  }
205
218
  function px(str) {
206
219
  if (unitOnlyRE.test(str))
207
- return `1${str}`;
220
+ return `${unitOnlyMap[str]}${str}`;
208
221
  const match = str.match(numberWithUnitRE);
209
222
  if (!match)
210
223
  return;
@@ -230,6 +243,8 @@ function percent(str) {
230
243
  return `${round(num / 100)}`;
231
244
  }
232
245
  function fraction(str) {
246
+ if (!str)
247
+ return;
233
248
  if (str === "full")
234
249
  return "100%";
235
250
  const [left, right] = str.split("/");
@@ -1,4 +1,4 @@
1
- import { e as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE } from './preset-mini.CV-SKsbk.mjs';
1
+ import { e as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE } from './preset-mini.CWuOZAHF.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
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.CdzxbzG1.cjs');
3
+ const utilities = require('./preset-mini.DahJgnb1.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  const core = require('@unocss/core');
6
- const transform = require('./preset-mini.aMVgvy_A.cjs');
6
+ const transform = require('./preset-mini.mjThnwTD.cjs');
7
7
 
8
8
  const verticalAlignAlias = {
9
9
  "mid": "middle",
@@ -113,7 +113,18 @@ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
113
113
 
114
114
  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;
115
115
  const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
116
- const unitOnlyRE = /^(px)$/i;
116
+ const unitOnlyRE = /^(px|[sld]?v[wh])$/i;
117
+ const unitOnlyMap = {
118
+ px: 1,
119
+ vw: 100,
120
+ vh: 100,
121
+ svw: 100,
122
+ svh: 100,
123
+ dvw: 100,
124
+ dvh: 100,
125
+ lvh: 100,
126
+ lvw: 100
127
+ };
117
128
  const bracketTypeRe = /^\[(color|length|size|position|quoted|string):/i;
118
129
  const splitComma = /,(?![^()]*\))/g;
119
130
 
@@ -191,8 +202,10 @@ function auto(str) {
191
202
  return "auto";
192
203
  }
193
204
  function rem(str) {
205
+ if (!str)
206
+ return;
194
207
  if (unitOnlyRE.test(str))
195
- return `1${str}`;
208
+ return `${unitOnlyMap[str]}${str}`;
196
209
  const match = str.match(numberWithUnitRE);
197
210
  if (!match)
198
211
  return;
@@ -206,7 +219,7 @@ function rem(str) {
206
219
  }
207
220
  function px(str) {
208
221
  if (unitOnlyRE.test(str))
209
- return `1${str}`;
222
+ return `${unitOnlyMap[str]}${str}`;
210
223
  const match = str.match(numberWithUnitRE);
211
224
  if (!match)
212
225
  return;
@@ -232,6 +245,8 @@ function percent(str) {
232
245
  return `${round(num / 100)}`;
233
246
  }
234
247
  function fraction(str) {
248
+ if (!str)
249
+ return;
235
250
  if (str === "full")
236
251
  return "100%";
237
252
  const [left, right] = str.split("/");
@@ -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.BDqq0hCv.mjs';
2
+ import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.BLqeNSHq.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('../colors.cjs');
4
- const transform = require('./preset-mini.aMVgvy_A.cjs');
4
+ const transform = require('./preset-mini.mjThnwTD.cjs');
5
5
 
6
6
  const fontFamily = {
7
7
  sans: [
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.CdzxbzG1.cjs');
3
+ const utilities = require('./preset-mini.DahJgnb1.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  const core = require('@unocss/core');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.CdzxbzG1.cjs');
3
+ const utilities = require('./preset-mini.DahJgnb1.cjs');
4
4
 
5
5
  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"];
6
6
  const containValues = ["none", "strict", "content", "size", "inline-size", "layout", "style", "paint"];
package/dist/theme.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('./colors.cjs');
4
- const _default = require('./shared/preset-mini.D6RG4aSN.cjs');
5
- require('./shared/preset-mini.aMVgvy_A.cjs');
6
- require('./shared/preset-mini.CdzxbzG1.cjs');
4
+ const _default = require('./shared/preset-mini.St8sZgQd.cjs');
5
+ require('./shared/preset-mini.mjThnwTD.cjs');
6
+ require('./shared/preset-mini.DahJgnb1.cjs');
7
7
  require('@unocss/core');
8
8
  require('@unocss/rule-utils');
9
9
 
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.HNDEq_D9.mjs';
3
- import './shared/preset-mini.BDqq0hCv.mjs';
4
- import './shared/preset-mini.CV-SKsbk.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.DeOzy57x.mjs';
3
+ import './shared/preset-mini.BLqeNSHq.mjs';
4
+ import './shared/preset-mini.CWuOZAHF.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./shared/preset-mini.CdzxbzG1.cjs');
3
+ const utilities = require('./shared/preset-mini.DahJgnb1.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  require('@unocss/core');
6
6
 
package/dist/utils.d.cts CHANGED
@@ -52,7 +52,7 @@ declare namespace handlers {
52
52
  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
53
  }
54
54
 
55
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
+ 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
57
 
58
58
  export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
package/dist/utils.d.mts CHANGED
@@ -52,7 +52,7 @@ declare namespace handlers {
52
52
  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
53
  }
54
54
 
55
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
+ 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
57
 
58
58
  export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
package/dist/utils.d.ts CHANGED
@@ -52,7 +52,7 @@ declare namespace handlers {
52
52
  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
53
  }
54
54
 
55
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
+ 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
57
 
58
58
  export { cornerMap, cssMathFnRE, 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.CV-SKsbk.mjs';
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';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
package/dist/variants.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const _default = require('./shared/preset-mini.vGRJlUxE.cjs');
4
- require('./shared/preset-mini.CdzxbzG1.cjs');
3
+ const _default = require('./shared/preset-mini.YtS7XCIs.cjs');
4
+ require('./shared/preset-mini.DahJgnb1.cjs');
5
5
  require('@unocss/core');
6
6
  require('@unocss/rule-utils');
7
7
 
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.BQqGYFkE.mjs';
2
- import './shared/preset-mini.CV-SKsbk.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.Cn7UNwSE.mjs';
2
+ import './shared/preset-mini.CWuOZAHF.mjs';
3
3
  import '@unocss/core';
4
4
  import '@unocss/rule-utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.58.7",
3
+ "version": "0.58.9",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -61,9 +61,9 @@
61
61
  "dist"
62
62
  ],
63
63
  "dependencies": {
64
- "@unocss/extractor-arbitrary-variants": "0.58.7",
65
- "@unocss/rule-utils": "0.58.7",
66
- "@unocss/core": "0.58.7"
64
+ "@unocss/core": "0.58.9",
65
+ "@unocss/extractor-arbitrary-variants": "0.58.9",
66
+ "@unocss/rule-utils": "0.58.9"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "unbuild",