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