@unocss/preset-mini 0.58.0 → 0.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) 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.cjs +11 -11
  5. package/dist/index.d.cts +4 -4
  6. package/dist/index.d.mts +4 -4
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.mjs +6 -6
  9. package/dist/rules.cjs +50 -1008
  10. package/dist/rules.d.cts +1 -1
  11. package/dist/rules.d.mts +1 -1
  12. package/dist/rules.d.ts +1 -1
  13. package/dist/rules.mjs +5 -968
  14. package/dist/shared/{preset-mini.qLxuqSG-.cjs → preset-mini.-3Qybdh5.cjs} +38 -38
  15. package/dist/shared/preset-mini.0CcynBZx.mjs +537 -0
  16. package/dist/shared/{preset-mini.5jRPR_fm.mjs → preset-mini.0UJFjS_1.mjs} +2 -2
  17. package/dist/shared/{preset-mini.WoiFygE2.d.cts → preset-mini.20fUBpHS.d.cts} +1 -1
  18. package/dist/shared/{preset-mini.zVYE2D2j.d.ts → preset-mini.8w2rXvMk.d.ts} +1 -1
  19. package/dist/shared/preset-mini.AVP8I7_j.mjs +747 -0
  20. package/dist/shared/preset-mini.ORVb5Lu8.mjs +978 -0
  21. package/dist/shared/preset-mini.UhMMbd34.cjs +560 -0
  22. package/dist/shared/{preset-mini.4DxDu2I8.d.mts → preset-mini.YxT4AwuI.d.cts} +1 -1
  23. package/dist/shared/preset-mini.fgwIVvur.cjs +322 -0
  24. package/dist/shared/preset-mini.g6cWGZM2.cjs +1021 -0
  25. package/dist/shared/{preset-mini.5daNC9yh.d.ts → preset-mini.gVNz4b9u.d.ts} +1 -1
  26. package/dist/shared/{preset-mini.7XoWRZIl.d.cts → preset-mini.hpPpX7ws.d.cts} +1 -1
  27. package/dist/shared/{preset-mini.7XoWRZIl.d.mts → preset-mini.hpPpX7ws.d.mts} +1 -1
  28. package/dist/shared/{preset-mini.7XoWRZIl.d.ts → preset-mini.hpPpX7ws.d.ts} +1 -1
  29. package/dist/shared/preset-mini.jXC5Sr98.cjs +772 -0
  30. package/dist/shared/{preset-mini.WMGBnRDa.d.mts → preset-mini.nzD7Hw_0.d.mts} +1 -1
  31. package/dist/shared/{preset-mini.5-XKlNyK.d.cts → preset-mini.vMrmsD3H.d.mts} +1 -1
  32. package/dist/shared/preset-mini.zC_vZg74.mjs +291 -0
  33. package/dist/theme.cjs +34 -318
  34. package/dist/theme.d.cts +3 -3
  35. package/dist/theme.d.mts +3 -3
  36. package/dist/theme.d.ts +3 -3
  37. package/dist/theme.mjs +5 -293
  38. package/dist/utils.cjs +28 -545
  39. package/dist/utils.d.cts +4 -4
  40. package/dist/utils.d.mts +4 -4
  41. package/dist/utils.d.ts +4 -4
  42. package/dist/utils.mjs +2 -524
  43. package/dist/variants.cjs +31 -770
  44. package/dist/variants.d.cts +3 -3
  45. package/dist/variants.d.mts +3 -3
  46. package/dist/variants.d.ts +3 -3
  47. package/dist/variants.mjs +4 -747
  48. package/package.json +4 -4
@@ -0,0 +1,537 @@
1
+ import { escapeSelector, toArray } from '@unocss/core';
2
+ import { createValueHandler, getStringComponent, parseCssColor, colorToString, colorOpacityToString, getStringComponents } from '@unocss/rule-utils';
3
+
4
+ const directionMap = {
5
+ "l": ["-left"],
6
+ "r": ["-right"],
7
+ "t": ["-top"],
8
+ "b": ["-bottom"],
9
+ "s": ["-inline-start"],
10
+ "e": ["-inline-end"],
11
+ "x": ["-left", "-right"],
12
+ "y": ["-top", "-bottom"],
13
+ "": [""],
14
+ "bs": ["-block-start"],
15
+ "be": ["-block-end"],
16
+ "is": ["-inline-start"],
17
+ "ie": ["-inline-end"],
18
+ "block": ["-block-start", "-block-end"],
19
+ "inline": ["-inline-start", "-inline-end"]
20
+ };
21
+ const insetMap = {
22
+ ...directionMap,
23
+ s: ["-inset-inline-start"],
24
+ start: ["-inset-inline-start"],
25
+ e: ["-inset-inline-end"],
26
+ end: ["-inset-inline-end"],
27
+ bs: ["-inset-block-start"],
28
+ be: ["-inset-block-end"],
29
+ is: ["-inset-inline-start"],
30
+ ie: ["-inset-inline-end"],
31
+ block: ["-inset-block-start", "-inset-block-end"],
32
+ inline: ["-inset-inline-start", "-inset-inline-end"]
33
+ };
34
+ const cornerMap = {
35
+ "l": ["-top-left", "-bottom-left"],
36
+ "r": ["-top-right", "-bottom-right"],
37
+ "t": ["-top-left", "-top-right"],
38
+ "b": ["-bottom-left", "-bottom-right"],
39
+ "tl": ["-top-left"],
40
+ "lt": ["-top-left"],
41
+ "tr": ["-top-right"],
42
+ "rt": ["-top-right"],
43
+ "bl": ["-bottom-left"],
44
+ "lb": ["-bottom-left"],
45
+ "br": ["-bottom-right"],
46
+ "rb": ["-bottom-right"],
47
+ "": [""],
48
+ "bs": ["-start-start", "-start-end"],
49
+ "be": ["-end-start", "-end-end"],
50
+ "s": ["-end-start", "-start-start"],
51
+ "is": ["-end-start", "-start-start"],
52
+ "e": ["-start-end", "-end-end"],
53
+ "ie": ["-start-end", "-end-end"],
54
+ "ss": ["-start-start"],
55
+ "bs-is": ["-start-start"],
56
+ "is-bs": ["-start-start"],
57
+ "se": ["-start-end"],
58
+ "bs-ie": ["-start-end"],
59
+ "ie-bs": ["-start-end"],
60
+ "es": ["-end-start"],
61
+ "be-is": ["-end-start"],
62
+ "is-be": ["-end-start"],
63
+ "ee": ["-end-end"],
64
+ "be-ie": ["-end-end"],
65
+ "ie-be": ["-end-end"]
66
+ };
67
+ const xyzMap = {
68
+ "x": ["-x"],
69
+ "y": ["-y"],
70
+ "z": ["-z"],
71
+ "": ["-x", "-y"]
72
+ };
73
+ const basePositionMap = [
74
+ "top",
75
+ "top center",
76
+ "top left",
77
+ "top right",
78
+ "bottom",
79
+ "bottom center",
80
+ "bottom left",
81
+ "bottom right",
82
+ "left",
83
+ "left center",
84
+ "left top",
85
+ "left bottom",
86
+ "right",
87
+ "right center",
88
+ "right top",
89
+ "right bottom",
90
+ "center",
91
+ "center top",
92
+ "center bottom",
93
+ "center left",
94
+ "center right",
95
+ "center center"
96
+ ];
97
+ const positionMap = Object.assign(
98
+ {},
99
+ ...basePositionMap.map((p) => ({ [p.replace(/ /, "-")]: p })),
100
+ ...basePositionMap.map((p) => ({ [p.replace(/\b(\w)\w+/g, "$1").replace(/ /, "")]: p }))
101
+ );
102
+ const globalKeywords = [
103
+ "inherit",
104
+ "initial",
105
+ "revert",
106
+ "revert-layer",
107
+ "unset"
108
+ ];
109
+ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
110
+
111
+ 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;
112
+ const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
113
+ const unitOnlyRE = /^(px)$/i;
114
+ const bracketTypeRe = /^\[(color|length|position|quoted|string):/i;
115
+
116
+ const cssProps = [
117
+ // basic props
118
+ "color",
119
+ "border-color",
120
+ "background-color",
121
+ "flex-grow",
122
+ "flex",
123
+ "flex-shrink",
124
+ "caret-color",
125
+ "font",
126
+ "gap",
127
+ "opacity",
128
+ "visibility",
129
+ "z-index",
130
+ "font-weight",
131
+ "zoom",
132
+ "text-shadow",
133
+ "transform",
134
+ "box-shadow",
135
+ // positions
136
+ "background-position",
137
+ "left",
138
+ "right",
139
+ "top",
140
+ "bottom",
141
+ "object-position",
142
+ // sizes
143
+ "max-height",
144
+ "min-height",
145
+ "max-width",
146
+ "min-width",
147
+ "height",
148
+ "width",
149
+ "border-width",
150
+ "margin",
151
+ "padding",
152
+ "outline-width",
153
+ "outline-offset",
154
+ "font-size",
155
+ "line-height",
156
+ "text-indent",
157
+ "vertical-align",
158
+ "border-spacing",
159
+ "letter-spacing",
160
+ "word-spacing",
161
+ // enhances
162
+ "stroke",
163
+ "filter",
164
+ "backdrop-filter",
165
+ "fill",
166
+ "mask",
167
+ "mask-size",
168
+ "mask-border",
169
+ "clip-path",
170
+ "clip",
171
+ "border-radius"
172
+ ];
173
+ function round(n) {
174
+ return n.toFixed(10).replace(/\.0+$/, "").replace(/(\.\d+?)0+$/, "$1");
175
+ }
176
+ function numberWithUnit(str) {
177
+ const match = str.match(numberWithUnitRE);
178
+ if (!match)
179
+ return;
180
+ const [, n, unit] = match;
181
+ const num = Number.parseFloat(n);
182
+ if (unit && !Number.isNaN(num))
183
+ return `${round(num)}${unit}`;
184
+ }
185
+ function auto(str) {
186
+ if (str === "auto" || str === "a")
187
+ return "auto";
188
+ }
189
+ function rem(str) {
190
+ if (unitOnlyRE.test(str))
191
+ return `1${str}`;
192
+ const match = str.match(numberWithUnitRE);
193
+ if (!match)
194
+ return;
195
+ const [, n, unit] = match;
196
+ const num = Number.parseFloat(n);
197
+ if (!Number.isNaN(num)) {
198
+ if (num === 0)
199
+ return "0";
200
+ return unit ? `${round(num)}${unit}` : `${round(num / 4)}rem`;
201
+ }
202
+ }
203
+ function px(str) {
204
+ if (unitOnlyRE.test(str))
205
+ return `1${str}`;
206
+ const match = str.match(numberWithUnitRE);
207
+ if (!match)
208
+ return;
209
+ const [, n, unit] = match;
210
+ const num = Number.parseFloat(n);
211
+ if (!Number.isNaN(num))
212
+ return unit ? `${round(num)}${unit}` : `${round(num)}px`;
213
+ }
214
+ function number(str) {
215
+ if (!numberRE.test(str))
216
+ return;
217
+ const num = Number.parseFloat(str);
218
+ if (!Number.isNaN(num))
219
+ return round(num);
220
+ }
221
+ function percent(str) {
222
+ if (str.endsWith("%"))
223
+ str = str.slice(0, -1);
224
+ if (!numberRE.test(str))
225
+ return;
226
+ const num = Number.parseFloat(str);
227
+ if (!Number.isNaN(num))
228
+ return `${round(num / 100)}`;
229
+ }
230
+ function fraction(str) {
231
+ if (str === "full")
232
+ return "100%";
233
+ const [left, right] = str.split("/");
234
+ const num = Number.parseFloat(left) / Number.parseFloat(right);
235
+ if (!Number.isNaN(num)) {
236
+ if (num === 0)
237
+ return "0";
238
+ return `${round(num * 100)}%`;
239
+ }
240
+ }
241
+ function bracketWithType(str, requiredType) {
242
+ if (str && str.startsWith("[") && str.endsWith("]")) {
243
+ let base;
244
+ let hintedType;
245
+ const match = str.match(bracketTypeRe);
246
+ if (!match) {
247
+ base = str.slice(1, -1);
248
+ } else {
249
+ if (!requiredType)
250
+ hintedType = match[1];
251
+ base = str.slice(match[0].length, -1);
252
+ }
253
+ if (!base)
254
+ return;
255
+ if (base === '=""')
256
+ return;
257
+ if (base.startsWith("--"))
258
+ base = `var(${base})`;
259
+ let curly = 0;
260
+ for (const i of base) {
261
+ if (i === "[") {
262
+ curly += 1;
263
+ } else if (i === "]") {
264
+ curly -= 1;
265
+ if (curly < 0)
266
+ return;
267
+ }
268
+ }
269
+ if (curly)
270
+ return;
271
+ switch (hintedType) {
272
+ case "string":
273
+ return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_");
274
+ case "quoted":
275
+ return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, '"$1"');
276
+ }
277
+ return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (match2) => {
278
+ const vars = [];
279
+ return match2.replace(/var\((--.+?)[,)]/g, (match3, g1) => {
280
+ vars.push(g1);
281
+ return match3.replace(g1, "--un-calc");
282
+ }).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
283
+ });
284
+ }
285
+ }
286
+ function bracket(str) {
287
+ return bracketWithType(str);
288
+ }
289
+ function bracketOfColor(str) {
290
+ return bracketWithType(str, "color");
291
+ }
292
+ function bracketOfLength(str) {
293
+ return bracketWithType(str, "length");
294
+ }
295
+ function bracketOfPosition(str) {
296
+ return bracketWithType(str, "position");
297
+ }
298
+ function cssvar(str) {
299
+ if (/^\$[^\s'"`;{}]/.test(str)) {
300
+ const [name, defaultValue] = str.slice(1).split(",");
301
+ return `var(--${escapeSelector(name)}${defaultValue ? `, ${defaultValue}` : ""})`;
302
+ }
303
+ }
304
+ function time(str) {
305
+ const match = str.match(/^(-?[0-9.]+)(s|ms)?$/i);
306
+ if (!match)
307
+ return;
308
+ const [, n, unit] = match;
309
+ const num = Number.parseFloat(n);
310
+ if (!Number.isNaN(num)) {
311
+ if (num === 0 && !unit)
312
+ return "0s";
313
+ return unit ? `${round(num)}${unit}` : `${round(num)}ms`;
314
+ }
315
+ }
316
+ function degree(str) {
317
+ const match = str.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);
318
+ if (!match)
319
+ return;
320
+ const [, n, unit] = match;
321
+ const num = Number.parseFloat(n);
322
+ if (!Number.isNaN(num)) {
323
+ if (num === 0)
324
+ return "0";
325
+ return unit ? `${round(num)}${unit}` : `${round(num)}deg`;
326
+ }
327
+ }
328
+ function global(str) {
329
+ if (globalKeywords.includes(str))
330
+ return str;
331
+ }
332
+ function properties(str) {
333
+ if (str.split(",").every((prop) => cssProps.includes(prop)))
334
+ return str;
335
+ }
336
+ function position(str) {
337
+ if (["top", "left", "right", "bottom", "center"].includes(str))
338
+ return str;
339
+ }
340
+
341
+ const valueHandlers = {
342
+ __proto__: null,
343
+ auto: auto,
344
+ bracket: bracket,
345
+ bracketOfColor: bracketOfColor,
346
+ bracketOfLength: bracketOfLength,
347
+ bracketOfPosition: bracketOfPosition,
348
+ cssvar: cssvar,
349
+ degree: degree,
350
+ fraction: fraction,
351
+ global: global,
352
+ number: number,
353
+ numberWithUnit: numberWithUnit,
354
+ percent: percent,
355
+ position: position,
356
+ properties: properties,
357
+ px: px,
358
+ rem: rem,
359
+ time: time
360
+ };
361
+
362
+ const handler = createValueHandler(valueHandlers);
363
+ const h = handler;
364
+
365
+ const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
366
+ function directionSize(propertyPrefix) {
367
+ return ([_, direction, size], { theme }) => {
368
+ const v = theme.spacing?.[size || "DEFAULT"] ?? h.bracket.cssvar.global.auto.fraction.rem(size);
369
+ if (v != null)
370
+ return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, v]);
371
+ };
372
+ }
373
+ function getThemeColorForKey(theme, colors, key = "colors") {
374
+ let obj = theme[key];
375
+ let index = -1;
376
+ for (const c of colors) {
377
+ index += 1;
378
+ if (obj && typeof obj !== "string") {
379
+ const camel = colors.slice(index).join("-").replace(/(-[a-z])/g, (n) => n.slice(1).toUpperCase());
380
+ if (obj[camel])
381
+ return obj[camel];
382
+ if (obj[c]) {
383
+ obj = obj[c];
384
+ continue;
385
+ }
386
+ }
387
+ return void 0;
388
+ }
389
+ return obj;
390
+ }
391
+ function getThemeColor(theme, colors, key) {
392
+ return getThemeColorForKey(theme, colors, key) || getThemeColorForKey(theme, colors, "colors");
393
+ }
394
+ function splitShorthand(body, type) {
395
+ const [front, rest] = getStringComponent(body, "[", "]", ["/", ":"]) ?? [];
396
+ if (front != null) {
397
+ const match = (front.match(bracketTypeRe) ?? [])[1];
398
+ if (match == null || match === type)
399
+ return [front, rest];
400
+ }
401
+ }
402
+ function parseColor(body, theme, key) {
403
+ const split = splitShorthand(body, "color");
404
+ if (!split)
405
+ return;
406
+ const [main, opacity] = split;
407
+ const colors = main.replace(/([a-z])([0-9])/g, "$1-$2").split(/-/g);
408
+ const [name] = colors;
409
+ if (!name)
410
+ return;
411
+ let color;
412
+ const bracket = h.bracketOfColor(main);
413
+ const bracketOrMain = bracket || main;
414
+ if (h.numberWithUnit(bracketOrMain))
415
+ return;
416
+ if (/^#[\da-fA-F]+/.test(bracketOrMain))
417
+ color = bracketOrMain;
418
+ else if (/^hex-[\da-fA-F]+/.test(bracketOrMain))
419
+ color = `#${bracketOrMain.slice(4)}`;
420
+ else if (main.startsWith("$"))
421
+ color = h.cssvar(main);
422
+ color = color || bracket;
423
+ if (!color) {
424
+ const colorData = getThemeColor(theme, [main], key);
425
+ if (typeof colorData === "string")
426
+ color = colorData;
427
+ }
428
+ let no = "DEFAULT";
429
+ if (!color) {
430
+ let colorData;
431
+ const [scale] = colors.slice(-1);
432
+ if (/^\d+$/.test(scale)) {
433
+ no = scale;
434
+ colorData = getThemeColor(theme, colors.slice(0, -1), key);
435
+ if (!colorData || typeof colorData === "string")
436
+ color = void 0;
437
+ else
438
+ color = colorData[no];
439
+ } else {
440
+ colorData = getThemeColor(theme, colors, key);
441
+ if (!colorData && colors.length <= 2) {
442
+ [, no = no] = colors;
443
+ colorData = getThemeColor(theme, [name], key);
444
+ }
445
+ if (typeof colorData === "string")
446
+ color = colorData;
447
+ else if (no && colorData)
448
+ color = colorData[no];
449
+ }
450
+ }
451
+ return {
452
+ opacity,
453
+ name,
454
+ no,
455
+ color,
456
+ cssColor: parseCssColor(color),
457
+ alpha: h.bracket.cssvar.percent(opacity ?? "")
458
+ };
459
+ }
460
+ function colorResolver(property, varName, key, shouldPass) {
461
+ return ([, body], { theme }) => {
462
+ const data = parseColor(body, theme, key);
463
+ if (!data)
464
+ return;
465
+ const { alpha, color, cssColor } = data;
466
+ const css = {};
467
+ if (cssColor) {
468
+ if (alpha != null) {
469
+ css[property] = colorToString(cssColor, alpha);
470
+ } else {
471
+ const opacityVar = `--un-${varName}-opacity`;
472
+ const result = colorToString(cssColor, `var(${opacityVar})`);
473
+ if (result.includes(opacityVar))
474
+ css[opacityVar] = colorOpacityToString(cssColor);
475
+ css[property] = result;
476
+ }
477
+ } else if (color) {
478
+ if (alpha != null) {
479
+ css[property] = colorToString(color, alpha);
480
+ } else {
481
+ const opacityVar = `--un-${varName}-opacity`;
482
+ const result = colorToString(color, `var(${opacityVar})`);
483
+ if (result.includes(opacityVar))
484
+ css[opacityVar] = 1;
485
+ css[property] = result;
486
+ }
487
+ }
488
+ if (shouldPass?.(css) !== false)
489
+ return css;
490
+ };
491
+ }
492
+ function colorableShadows(shadows, colorVar) {
493
+ const colored = [];
494
+ shadows = toArray(shadows);
495
+ for (let i = 0; i < shadows.length; i++) {
496
+ const components = getStringComponents(shadows[i], " ", 6);
497
+ if (!components || components.length < 3)
498
+ return shadows;
499
+ if (parseCssColor(components.at(0)))
500
+ return shadows;
501
+ let colorVarValue = "";
502
+ if (parseCssColor(components.at(-1))) {
503
+ const color = parseCssColor(components.pop());
504
+ if (color)
505
+ colorVarValue = `, ${colorToString(color)}`;
506
+ }
507
+ colored.push(`${components.join(" ")} var(${colorVar}${colorVarValue})`);
508
+ }
509
+ return colored;
510
+ }
511
+ function hasParseableColor(color, theme, key) {
512
+ return color != null && !!parseColor(color, theme, key)?.color;
513
+ }
514
+ function resolveBreakpoints({ theme, generator }, key = "breakpoints") {
515
+ let breakpoints;
516
+ if (generator.userConfig && generator.userConfig.theme)
517
+ breakpoints = generator.userConfig.theme[key];
518
+ if (!breakpoints)
519
+ breakpoints = theme[key];
520
+ 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;
521
+ }
522
+ function resolveVerticalBreakpoints(context) {
523
+ return resolveBreakpoints(context, "verticalBreakpoints");
524
+ }
525
+ function makeGlobalStaticRules(prefix, property) {
526
+ return globalKeywords.map((keyword) => [`${prefix}-${keyword}`, { [property ?? prefix]: keyword }]);
527
+ }
528
+ function isCSSMathFn(value) {
529
+ return value != null && cssMathFnRE.test(value);
530
+ }
531
+ function isSize(str) {
532
+ if (str[0] === "[" && str.slice(-1) === "]")
533
+ str = str.slice(1, -1);
534
+ return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
535
+ }
536
+
537
+ export { CONTROL_MINI_NO_NEGATIVE as C, cssMathFnRE as a, h as b, cornerMap as c, directionMap as d, directionSize as e, parseColor as f, globalKeywords as g, handler as h, insetMap as i, colorResolver as j, colorableShadows as k, hasParseableColor as l, resolveVerticalBreakpoints as m, makeGlobalStaticRules as n, isCSSMathFn as o, positionMap as p, isSize as q, resolveBreakpoints as r, splitShorthand as s, valueHandlers as v, xyzMap as x };
@@ -1,4 +1,4 @@
1
- import { h, makeGlobalStaticRules, globalKeywords, colorResolver, isCSSMathFn, hasParseableColor, colorableShadows, positionMap, xyzMap } from '../utils.mjs';
1
+ import { b as h, n as makeGlobalStaticRules, g as globalKeywords, j as colorResolver, o as isCSSMathFn, l as hasParseableColor, k as colorableShadows, p as positionMap, x as xyzMap } from './preset-mini.0CcynBZx.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"];
@@ -325,4 +325,4 @@ function handleSkew([, d, b]) {
325
325
  }
326
326
  }
327
327
 
328
- export { contents as a, boxShadowsBase as b, contentVisibility as c, displays as d, textOverflows as e, textTransforms as f, fontStyles as g, fontSmoothings as h, boxShadows as i, rings as j, cursors as k, appearances as l, resizes as m, breaks as n, transforms as o, pointerEvents as p, contains as q, ringBase as r, textWraps as s, transformBase as t, userSelects as u, varEmpty as v, whitespaces as w };
328
+ export { rings as a, boxShadowsBase as b, boxShadows as c, displays as d, appearances as e, cursors as f, contains as g, resizes as h, contentVisibility as i, contents as j, breaks as k, textOverflows as l, textTransforms as m, fontStyles as n, fontSmoothings as o, pointerEvents as p, transformBase as q, ringBase as r, transforms as s, textWraps as t, userSelects as u, varEmpty as v, whitespaces as w };
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.7XoWRZIl.cjs';
2
+ import { T as Theme } from './preset-mini.hpPpX7ws.cjs';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.7XoWRZIl.js';
2
+ import { T as Theme } from './preset-mini.hpPpX7ws.js';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**