@unocss/preset-mini 0.57.0 → 0.57.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.
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/rules.cjs +7 -4
- package/dist/rules.mjs +8 -5
- package/dist/shared/{preset-mini.87b98aea.mjs → preset-mini.0c3a2188.mjs} +8 -6
- package/dist/shared/{preset-mini.ec90d1ba.cjs → preset-mini.2100ae00.cjs} +8 -5
- package/dist/shared/{preset-mini.7fce5950.mjs → preset-mini.42388afd.mjs} +1 -1
- package/dist/shared/{preset-mini.94582694.d.ts → preset-mini.4f6bb564.d.ts} +2 -1
- package/dist/shared/{preset-mini.cedf5b6d.cjs → preset-mini.83453df4.cjs} +1 -1
- package/dist/shared/{preset-mini.c3f13a30.d.cts → preset-mini.86b18338.d.cts} +2 -1
- package/dist/shared/{preset-mini.e0376460.d.mts → preset-mini.cdf5f35b.d.mts} +2 -1
- package/dist/theme.cjs +2 -2
- package/dist/theme.mjs +2 -2
- package/dist/utils.cjs +2 -1
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.mjs +1 -1
- package/dist/variants.cjs +1 -1
- package/dist/variants.d.cts +1 -1
- package/dist/variants.d.mts +1 -1
- package/dist/variants.d.ts +1 -1
- package/dist/variants.mjs +1 -1
- package/package.json +4 -4
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 utils = require('./shared/preset-mini.
|
|
7
|
+
const utils = require('./shared/preset-mini.2100ae00.cjs');
|
|
8
8
|
const theme = require('./theme.cjs');
|
|
9
9
|
const rules = require('./rules.cjs');
|
|
10
10
|
const variants = require('./variants.cjs');
|
|
11
11
|
const colors = require('./colors.cjs');
|
|
12
12
|
require('@unocss/rule-utils');
|
|
13
|
-
require('./shared/preset-mini.
|
|
13
|
+
require('./shared/preset-mini.83453df4.cjs');
|
|
14
14
|
|
|
15
15
|
const preflights = [
|
|
16
16
|
{
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { T as Theme } from './shared/preset-mini.6e321bc3.cjs';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.6e321bc3.cjs';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.5e80d683.cjs';
|
|
6
6
|
export { colors } from './colors.cjs';
|
|
7
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
7
|
+
export { p as parseColor } from './shared/preset-mini.86b18338.cjs';
|
|
8
8
|
|
|
9
9
|
declare const preflights: Preflight<Theme>[];
|
|
10
10
|
|
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { T as Theme } from './shared/preset-mini.6e321bc3.mjs';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.6e321bc3.mjs';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.2492ad3a.mjs';
|
|
6
6
|
export { colors } from './colors.mjs';
|
|
7
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
7
|
+
export { p as parseColor } from './shared/preset-mini.cdf5f35b.mjs';
|
|
8
8
|
|
|
9
9
|
declare const preflights: Preflight<Theme>[];
|
|
10
10
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { T as Theme } from './shared/preset-mini.6e321bc3.js';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.6e321bc3.js';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.31acf3c2.js';
|
|
6
6
|
export { colors } from './colors.js';
|
|
7
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
7
|
+
export { p as parseColor } from './shared/preset-mini.4f6bb564.js';
|
|
8
8
|
|
|
9
9
|
declare const preflights: Preflight<Theme>[];
|
|
10
10
|
|
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.
|
|
4
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
3
|
+
import { g as globalKeywords } from './shared/preset-mini.0c3a2188.mjs';
|
|
4
|
+
export { p as parseColor } from './shared/preset-mini.0c3a2188.mjs';
|
|
5
5
|
import { theme } from './theme.mjs';
|
|
6
6
|
import { rules } from './rules.mjs';
|
|
7
7
|
import { variants } from './variants.mjs';
|
|
8
8
|
export { colors } from './colors.mjs';
|
|
9
9
|
import '@unocss/rule-utils';
|
|
10
|
-
import './shared/preset-mini.
|
|
10
|
+
import './shared/preset-mini.42388afd.mjs';
|
|
11
11
|
|
|
12
12
|
const preflights = [
|
|
13
13
|
{
|
package/dist/rules.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const utils = require('./shared/preset-mini.
|
|
3
|
+
const utils = require('./shared/preset-mini.2100ae00.cjs');
|
|
4
4
|
const ruleUtils = require('@unocss/rule-utils');
|
|
5
5
|
const core = require('@unocss/core');
|
|
6
|
-
const transform = require('./shared/preset-mini.
|
|
6
|
+
const transform = require('./shared/preset-mini.83453df4.cjs');
|
|
7
7
|
|
|
8
8
|
const verticalAlignAlias = {
|
|
9
9
|
"mid": "middle",
|
|
@@ -181,7 +181,7 @@ const textColors = [
|
|
|
181
181
|
[/^(?:text|color|c)-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-text-opacity": utils.h.bracket.percent.cssvar(opacity2) }), { autocomplete: "(text|color|c)-(op|opacity)-<percent>" }]
|
|
182
182
|
];
|
|
183
183
|
const bgColors = [
|
|
184
|
-
[/^bg-(.+)$/, utils.colorResolver("background-color", "bg"), { autocomplete: "bg-$colors" }],
|
|
184
|
+
[/^bg-(.+)$/, (...args) => utils.isSize(args[0][1]) ? void 0 : utils.colorResolver("background-color", "bg")(...args), { autocomplete: "bg-$colors" }],
|
|
185
185
|
[/^bg-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-bg-opacity": utils.h.bracket.percent.cssvar(opacity2) }), { autocomplete: "bg-(op|opacity)-<percent>" }]
|
|
186
186
|
];
|
|
187
187
|
const colorScheme = [
|
|
@@ -504,7 +504,10 @@ const grids = [
|
|
|
504
504
|
}],
|
|
505
505
|
// template none
|
|
506
506
|
["grid-rows-none", { "grid-template-rows": "none" }],
|
|
507
|
-
["grid-cols-none", { "grid-template-columns": "none" }]
|
|
507
|
+
["grid-cols-none", { "grid-template-columns": "none" }],
|
|
508
|
+
// template subgrid
|
|
509
|
+
["grid-rows-subgrid", { "grid-template-rows": "subgrid" }],
|
|
510
|
+
["grid-cols-subgrid", { "grid-template-columns": "subgrid" }]
|
|
508
511
|
];
|
|
509
512
|
|
|
510
513
|
const overflowValues = [
|
package/dist/rules.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as globalKeywords, h, c as colorResolver, e as directionMap, a as hasParseableColor, f as cornerMap, p as parseColor, i as isCSSMathFn, n as numberWithUnitRE, m as makeGlobalStaticRules, s as splitShorthand, b as colorableShadows,
|
|
1
|
+
import { g as globalKeywords, h, c as colorResolver, e as directionMap, a as hasParseableColor, f as cornerMap, p as parseColor, i as isCSSMathFn, n as numberWithUnitRE, j as isSize, m as makeGlobalStaticRules, s as splitShorthand, b as colorableShadows, k as insetMap, r as resolveBreakpoints, l as directionSize } from './shared/preset-mini.0c3a2188.mjs';
|
|
2
2
|
import { colorToString, colorOpacityToString, hasThemeFn, transformThemeFn } from '@unocss/rule-utils';
|
|
3
3
|
import { warnOnce, toArray } from '@unocss/core';
|
|
4
|
-
import { d as displays, c as contentVisibility, a as contents, e as textOverflows, f as textTransforms, g as fontStyles, h as fontSmoothings, i as boxShadows, j as rings, k as cursors, l as appearances, p as pointerEvents, m as resizes, u as userSelects, w as whitespaces, n as breaks, o as transforms, q as contains, s as textWraps } from './shared/preset-mini.
|
|
5
|
-
export { b as boxShadowsBase, r as ringBase, t as transformBase, v as varEmpty } from './shared/preset-mini.
|
|
4
|
+
import { d as displays, c as contentVisibility, a as contents, e as textOverflows, f as textTransforms, g as fontStyles, h as fontSmoothings, i as boxShadows, j as rings, k as cursors, l as appearances, p as pointerEvents, m as resizes, u as userSelects, w as whitespaces, n as breaks, o as transforms, q as contains, s as textWraps } from './shared/preset-mini.42388afd.mjs';
|
|
5
|
+
export { b as boxShadowsBase, r as ringBase, t as transformBase, v as varEmpty } from './shared/preset-mini.42388afd.mjs';
|
|
6
6
|
|
|
7
7
|
const verticalAlignAlias = {
|
|
8
8
|
"mid": "middle",
|
|
@@ -180,7 +180,7 @@ const textColors = [
|
|
|
180
180
|
[/^(?:text|color|c)-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-text-opacity": h.bracket.percent.cssvar(opacity2) }), { autocomplete: "(text|color|c)-(op|opacity)-<percent>" }]
|
|
181
181
|
];
|
|
182
182
|
const bgColors = [
|
|
183
|
-
[/^bg-(.+)$/, colorResolver("background-color", "bg"), { autocomplete: "bg-$colors" }],
|
|
183
|
+
[/^bg-(.+)$/, (...args) => isSize(args[0][1]) ? void 0 : colorResolver("background-color", "bg")(...args), { autocomplete: "bg-$colors" }],
|
|
184
184
|
[/^bg-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-bg-opacity": h.bracket.percent.cssvar(opacity2) }), { autocomplete: "bg-(op|opacity)-<percent>" }]
|
|
185
185
|
];
|
|
186
186
|
const colorScheme = [
|
|
@@ -503,7 +503,10 @@ const grids = [
|
|
|
503
503
|
}],
|
|
504
504
|
// template none
|
|
505
505
|
["grid-rows-none", { "grid-template-rows": "none" }],
|
|
506
|
-
["grid-cols-none", { "grid-template-columns": "none" }]
|
|
506
|
+
["grid-cols-none", { "grid-template-columns": "none" }],
|
|
507
|
+
// template subgrid
|
|
508
|
+
["grid-rows-subgrid", { "grid-template-rows": "subgrid" }],
|
|
509
|
+
["grid-cols-subgrid", { "grid-template-columns": "subgrid" }]
|
|
507
510
|
];
|
|
508
511
|
|
|
509
512
|
const overflowValues = [
|
|
@@ -106,7 +106,7 @@ const globalKeywords = [
|
|
|
106
106
|
"revert-layer",
|
|
107
107
|
"unset"
|
|
108
108
|
];
|
|
109
|
-
const cssMathFnRE =
|
|
109
|
+
const cssMathFnRE = /(?:calc|clamp|min|max)\s*\(.*\)/;
|
|
110
110
|
|
|
111
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
112
|
const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
|
|
@@ -207,11 +207,8 @@ function px(str) {
|
|
|
207
207
|
return;
|
|
208
208
|
const [, n, unit] = match;
|
|
209
209
|
const num = Number.parseFloat(n);
|
|
210
|
-
if (!Number.isNaN(num))
|
|
211
|
-
if (num === 0)
|
|
212
|
-
return "0";
|
|
210
|
+
if (!Number.isNaN(num))
|
|
213
211
|
return unit ? `${round(num)}${unit}` : `${round(num)}px`;
|
|
214
|
-
}
|
|
215
212
|
}
|
|
216
213
|
function number(str) {
|
|
217
214
|
if (!numberRE.test(str))
|
|
@@ -509,5 +506,10 @@ function makeGlobalStaticRules(prefix, property) {
|
|
|
509
506
|
function isCSSMathFn(value) {
|
|
510
507
|
return cssMathFnRE.test(value);
|
|
511
508
|
}
|
|
509
|
+
function isSize(str) {
|
|
510
|
+
if (str[0] === "[" && str.slice(-1) === "]")
|
|
511
|
+
str = str.slice(1, -1);
|
|
512
|
+
return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
|
|
513
|
+
}
|
|
512
514
|
|
|
513
|
-
export { CONTROL_MINI_NO_NEGATIVE as C, hasParseableColor as a, colorableShadows as b, colorResolver as c, positionMap as d, directionMap as e, cornerMap as f, globalKeywords as g, h, isCSSMathFn as i,
|
|
515
|
+
export { CONTROL_MINI_NO_NEGATIVE as C, hasParseableColor as a, colorableShadows as b, colorResolver as c, positionMap as d, directionMap as e, cornerMap as f, globalKeywords as g, h, isCSSMathFn as i, isSize as j, insetMap as k, directionSize as l, makeGlobalStaticRules as m, numberWithUnitRE as n, cssMathFnRE as o, parseColor as p, handler as q, resolveBreakpoints as r, splitShorthand as s, resolveVerticalBreakpoints as t, valueHandlers as v, xyzMap as x };
|
|
@@ -108,7 +108,7 @@ const globalKeywords = [
|
|
|
108
108
|
"revert-layer",
|
|
109
109
|
"unset"
|
|
110
110
|
];
|
|
111
|
-
const cssMathFnRE =
|
|
111
|
+
const cssMathFnRE = /(?:calc|clamp|min|max)\s*\(.*\)/;
|
|
112
112
|
|
|
113
113
|
const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
|
|
114
114
|
const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
|
|
@@ -209,11 +209,8 @@ function px(str) {
|
|
|
209
209
|
return;
|
|
210
210
|
const [, n, unit] = match;
|
|
211
211
|
const num = Number.parseFloat(n);
|
|
212
|
-
if (!Number.isNaN(num))
|
|
213
|
-
if (num === 0)
|
|
214
|
-
return "0";
|
|
212
|
+
if (!Number.isNaN(num))
|
|
215
213
|
return unit ? `${round(num)}${unit}` : `${round(num)}px`;
|
|
216
|
-
}
|
|
217
214
|
}
|
|
218
215
|
function number(str) {
|
|
219
216
|
if (!numberRE.test(str))
|
|
@@ -511,6 +508,11 @@ function makeGlobalStaticRules(prefix, property) {
|
|
|
511
508
|
function isCSSMathFn(value) {
|
|
512
509
|
return cssMathFnRE.test(value);
|
|
513
510
|
}
|
|
511
|
+
function isSize(str) {
|
|
512
|
+
if (str[0] === "[" && str.slice(-1) === "]")
|
|
513
|
+
str = str.slice(1, -1);
|
|
514
|
+
return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
|
|
515
|
+
}
|
|
514
516
|
|
|
515
517
|
exports.CONTROL_MINI_NO_NEGATIVE = CONTROL_MINI_NO_NEGATIVE;
|
|
516
518
|
exports.colorResolver = colorResolver;
|
|
@@ -525,6 +527,7 @@ exports.handler = handler;
|
|
|
525
527
|
exports.hasParseableColor = hasParseableColor;
|
|
526
528
|
exports.insetMap = insetMap;
|
|
527
529
|
exports.isCSSMathFn = isCSSMathFn;
|
|
530
|
+
exports.isSize = isSize;
|
|
528
531
|
exports.makeGlobalStaticRules = makeGlobalStaticRules;
|
|
529
532
|
exports.numberWithUnitRE = numberWithUnitRE;
|
|
530
533
|
exports.parseColor = parseColor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, m as makeGlobalStaticRules, g as globalKeywords, c as colorResolver, a as hasParseableColor, b as colorableShadows, d as positionMap, x as xyzMap } from './preset-mini.
|
|
1
|
+
import { h, m as makeGlobalStaticRules, g as globalKeywords, c as colorResolver, a as hasParseableColor, b as colorableShadows, d as positionMap, x as xyzMap } from './preset-mini.0c3a2188.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"];
|
|
@@ -67,5 +67,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
69
69
|
declare function isCSSMathFn(value: string): boolean;
|
|
70
|
+
declare function isSize(str: string): boolean;
|
|
70
71
|
|
|
71
|
-
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
|
72
|
+
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, isSize as e, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const utils = require('./preset-mini.
|
|
3
|
+
const utils = require('./preset-mini.2100ae00.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"];
|
|
@@ -67,5 +67,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
69
69
|
declare function isCSSMathFn(value: string): boolean;
|
|
70
|
+
declare function isSize(str: string): boolean;
|
|
70
71
|
|
|
71
|
-
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
|
72
|
+
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, isSize as e, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
|
@@ -67,5 +67,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
69
69
|
declare function isCSSMathFn(value: string): boolean;
|
|
70
|
+
declare function isSize(str: string): boolean;
|
|
70
71
|
|
|
71
|
-
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
|
72
|
+
export { CONTROL_MINI_NO_NEGATIVE as C, colorableShadows as a, resolveVerticalBreakpoints as b, colorResolver as c, directionSize as d, isSize as e, hasParseableColor as h, isCSSMathFn as i, makeGlobalStaticRules as m, parseColor as p, resolveBreakpoints as r, splitShorthand as s };
|
package/dist/theme.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const colors = require('./colors.cjs');
|
|
4
|
-
const transform = require('./shared/preset-mini.
|
|
5
|
-
require('./shared/preset-mini.
|
|
4
|
+
const transform = require('./shared/preset-mini.83453df4.cjs');
|
|
5
|
+
require('./shared/preset-mini.2100ae00.cjs');
|
|
6
6
|
require('@unocss/rule-utils');
|
|
7
7
|
require('@unocss/core');
|
|
8
8
|
|
package/dist/theme.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { colors } from './colors.mjs';
|
|
2
|
-
import { t as transformBase, b as boxShadowsBase, r as ringBase } from './shared/preset-mini.
|
|
3
|
-
import './shared/preset-mini.
|
|
2
|
+
import { t as transformBase, b as boxShadowsBase, r as ringBase } from './shared/preset-mini.42388afd.mjs';
|
|
3
|
+
import './shared/preset-mini.0c3a2188.mjs';
|
|
4
4
|
import '@unocss/rule-utils';
|
|
5
5
|
import '@unocss/core';
|
|
6
6
|
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const utils = require('./shared/preset-mini.
|
|
3
|
+
const utils = require('./shared/preset-mini.2100ae00.cjs');
|
|
4
4
|
const ruleUtils = require('@unocss/rule-utils');
|
|
5
5
|
require('@unocss/core');
|
|
6
6
|
|
|
@@ -19,6 +19,7 @@ exports.handler = utils.handler;
|
|
|
19
19
|
exports.hasParseableColor = utils.hasParseableColor;
|
|
20
20
|
exports.insetMap = utils.insetMap;
|
|
21
21
|
exports.isCSSMathFn = utils.isCSSMathFn;
|
|
22
|
+
exports.isSize = utils.isSize;
|
|
22
23
|
exports.makeGlobalStaticRules = utils.makeGlobalStaticRules;
|
|
23
24
|
exports.parseColor = utils.parseColor;
|
|
24
25
|
exports.positionMap = utils.positionMap;
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.86b18338.cjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.6e321bc3.cjs';
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ declare namespace handlers {
|
|
|
51
51
|
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 };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
54
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
56
|
|
|
57
57
|
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.cdf5f35b.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.6e321bc3.mjs';
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ declare namespace handlers {
|
|
|
51
51
|
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 };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
54
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
56
|
|
|
57
57
|
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.4f6bb564.js';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.6e321bc3.js';
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ declare namespace handlers {
|
|
|
51
51
|
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 };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
54
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
56
|
|
|
57
57
|
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
package/dist/utils.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, b as colorableShadows, f as cornerMap,
|
|
1
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, b as colorableShadows, f as cornerMap, o as cssMathFnRE, e as directionMap, l as directionSize, g as globalKeywords, h, q as handler, a as hasParseableColor, k as insetMap, i as isCSSMathFn, j as isSize, m as makeGlobalStaticRules, p as parseColor, d as positionMap, r as resolveBreakpoints, t as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.0c3a2188.mjs';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
3
|
import '@unocss/core';
|
package/dist/variants.cjs
CHANGED
package/dist/variants.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { PresetMiniOptions } from './index.cjs';
|
|
|
3
3
|
import { T as Theme } from './shared/preset-mini.6e321bc3.cjs';
|
|
4
4
|
import './shared/preset-mini.5e80d683.cjs';
|
|
5
5
|
import './colors.cjs';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.86b18338.cjs';
|
|
7
7
|
|
|
8
8
|
declare const variantAria: VariantObject;
|
|
9
9
|
|
package/dist/variants.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { PresetMiniOptions } from './index.mjs';
|
|
|
3
3
|
import { T as Theme } from './shared/preset-mini.6e321bc3.mjs';
|
|
4
4
|
import './shared/preset-mini.2492ad3a.mjs';
|
|
5
5
|
import './colors.mjs';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.cdf5f35b.mjs';
|
|
7
7
|
|
|
8
8
|
declare const variantAria: VariantObject;
|
|
9
9
|
|
package/dist/variants.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { PresetMiniOptions } from './index.js';
|
|
|
3
3
|
import { T as Theme } from './shared/preset-mini.6e321bc3.js';
|
|
4
4
|
import './shared/preset-mini.31acf3c2.js';
|
|
5
5
|
import './colors.js';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.4f6bb564.js';
|
|
7
7
|
|
|
8
8
|
declare const variantAria: VariantObject;
|
|
9
9
|
|
package/dist/variants.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { variantGetParameter, variantGetBracket, variantMatcher, variantParentMatcher, getBracket, getStringComponent } from '@unocss/rule-utils';
|
|
2
|
-
import { h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE } from './shared/preset-mini.
|
|
2
|
+
import { h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE } from './shared/preset-mini.0c3a2188.mjs';
|
|
3
3
|
import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
|
|
4
4
|
|
|
5
5
|
const variantAria = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.2",
|
|
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/core": "0.57.
|
|
65
|
-
"@unocss/extractor-arbitrary-variants": "0.57.
|
|
66
|
-
"@unocss/rule-utils": "0.57.
|
|
64
|
+
"@unocss/core": "0.57.2",
|
|
65
|
+
"@unocss/extractor-arbitrary-variants": "0.57.2",
|
|
66
|
+
"@unocss/rule-utils": "0.57.2"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "unbuild",
|