@unocss/preset-mini 0.58.6 → 0.58.8
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 +5 -5
- 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 +6 -6
- package/dist/rules.cjs +3 -3
- package/dist/rules.mjs +3 -3
- package/dist/shared/{preset-mini.Czu8Mn6N.cjs → preset-mini.BCYTcd-i.cjs} +15 -1
- package/dist/shared/{preset-mini.Bn80FiPC.d.cts → preset-mini.BP7cviYW.d.cts} +2 -1
- package/dist/shared/{preset-mini.0WrbUoK3.cjs → preset-mini.Bl8k7GEB.cjs} +1 -1
- package/dist/shared/{preset-mini.X5oTOtIs.mjs → preset-mini.CPzuJ4uB.mjs} +1 -1
- package/dist/shared/{preset-mini.Cc6dq-PF.d.mts → preset-mini.CdxIVkIz.d.mts} +2 -1
- package/dist/shared/{preset-mini.CNCkGnlK.mjs → preset-mini.Cr9SAx7D.mjs} +14 -2
- package/dist/shared/{preset-mini.D4MQQDiO.cjs → preset-mini.CxmMzOLj.cjs} +3 -3
- package/dist/shared/{preset-mini.DFa-1lZf.mjs → preset-mini.D4T3hEuN.mjs} +3 -3
- package/dist/shared/{preset-mini.Br134YCU.mjs → preset-mini.DLBE_qKL.mjs} +4 -4
- package/dist/shared/{preset-mini.BxBfcoUz.cjs → preset-mini.DLRoYX1Y.cjs} +1 -1
- package/dist/shared/{preset-mini.DSkIvCb3.d.ts → preset-mini.Dh95saIh.d.ts} +2 -1
- package/dist/shared/{preset-mini.Cw_e0bCs.cjs → preset-mini.hSTXklYn.cjs} +4 -4
- package/dist/shared/{preset-mini.8dLXLISR.mjs → preset-mini.zoN9eE0Q.mjs} +1 -1
- package/dist/theme.cjs +3 -3
- package/dist/theme.mjs +3 -3
- package/dist/utils.cjs +3 -1
- package/dist/utils.d.cts +5 -4
- package/dist/utils.d.mts +5 -4
- package/dist/utils.d.ts +5 -4
- package/dist/utils.mjs +1 -1
- package/dist/variants.cjs +2 -2
- 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 +2 -2
- 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 utilities = require('./shared/preset-mini.
|
|
8
|
-
const _default = require('./shared/preset-mini.
|
|
9
|
-
const _default$1 = require('./shared/preset-mini.
|
|
10
|
-
const _default$2 = require('./shared/preset-mini.
|
|
7
|
+
const utilities = require('./shared/preset-mini.BCYTcd-i.cjs');
|
|
8
|
+
const _default = require('./shared/preset-mini.DLRoYX1Y.cjs');
|
|
9
|
+
const _default$1 = require('./shared/preset-mini.CxmMzOLj.cjs');
|
|
10
|
+
const _default$2 = require('./shared/preset-mini.Bl8k7GEB.cjs');
|
|
11
11
|
const colors = require('./colors.cjs');
|
|
12
12
|
require('@unocss/rule-utils');
|
|
13
|
-
require('./shared/preset-mini.
|
|
13
|
+
require('./shared/preset-mini.hSTXklYn.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.P5Rzuhf5.cjs';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.cjs';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.bn9iWcrm.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.BP7cviYW.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.P5Rzuhf5.mjs';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.Cu-XLFZP.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.CdxIVkIz.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.P5Rzuhf5.js';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.DIb57JCK.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.Dh95saIh.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 {
|
|
5
|
-
import { t as theme } from './shared/preset-mini.
|
|
6
|
-
import { r as rules } from './shared/preset-mini.
|
|
7
|
-
import { h as variants } from './shared/preset-mini.
|
|
3
|
+
import { g as globalKeywords } from './shared/preset-mini.Cr9SAx7D.mjs';
|
|
4
|
+
export { j as parseColor } from './shared/preset-mini.Cr9SAx7D.mjs';
|
|
5
|
+
import { t as theme } from './shared/preset-mini.zoN9eE0Q.mjs';
|
|
6
|
+
import { r as rules } from './shared/preset-mini.D4T3hEuN.mjs';
|
|
7
|
+
import { h as variants } from './shared/preset-mini.CPzuJ4uB.mjs';
|
|
8
8
|
export { colors } from './colors.mjs';
|
|
9
9
|
import '@unocss/rule-utils';
|
|
10
|
-
import './shared/preset-mini.
|
|
10
|
+
import './shared/preset-mini.DLBE_qKL.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.
|
|
4
|
-
const transform = require('./shared/preset-mini.
|
|
5
|
-
require('./shared/preset-mini.
|
|
3
|
+
const _default = require('./shared/preset-mini.CxmMzOLj.cjs');
|
|
4
|
+
const transform = require('./shared/preset-mini.hSTXklYn.cjs');
|
|
5
|
+
require('./shared/preset-mini.BCYTcd-i.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.
|
|
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.
|
|
3
|
-
import './shared/preset-mini.
|
|
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.D4T3hEuN.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.DLBE_qKL.mjs';
|
|
3
|
+
import './shared/preset-mini.Cr9SAx7D.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import '@unocss/rule-utils';
|
|
@@ -72,6 +72,7 @@ const xyzMap = {
|
|
|
72
72
|
"z": ["-z"],
|
|
73
73
|
"": ["-x", "-y"]
|
|
74
74
|
};
|
|
75
|
+
const xyzArray = ["x", "y", "z"];
|
|
75
76
|
const basePositionMap = [
|
|
76
77
|
"top",
|
|
77
78
|
"top center",
|
|
@@ -113,7 +114,8 @@ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
|
|
|
113
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;
|
|
114
115
|
const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
|
|
115
116
|
const unitOnlyRE = /^(px)$/i;
|
|
116
|
-
const bracketTypeRe = /^\[(color|length|position|quoted|string):/i;
|
|
117
|
+
const bracketTypeRe = /^\[(color|length|size|position|quoted|string):/i;
|
|
118
|
+
const splitComma = /,(?![^()]*\))/g;
|
|
117
119
|
|
|
118
120
|
const cssProps = [
|
|
119
121
|
// basic props
|
|
@@ -189,6 +191,8 @@ function auto(str) {
|
|
|
189
191
|
return "auto";
|
|
190
192
|
}
|
|
191
193
|
function rem(str) {
|
|
194
|
+
if (!str)
|
|
195
|
+
return;
|
|
192
196
|
if (unitOnlyRE.test(str))
|
|
193
197
|
return `1${str}`;
|
|
194
198
|
const match = str.match(numberWithUnitRE);
|
|
@@ -230,6 +234,8 @@ function percent(str) {
|
|
|
230
234
|
return `${round(num / 100)}`;
|
|
231
235
|
}
|
|
232
236
|
function fraction(str) {
|
|
237
|
+
if (!str)
|
|
238
|
+
return;
|
|
233
239
|
if (str === "full")
|
|
234
240
|
return "100%";
|
|
235
241
|
const [left, right] = str.split("/");
|
|
@@ -543,6 +549,12 @@ function isSize(str) {
|
|
|
543
549
|
str = str.slice(1, -1);
|
|
544
550
|
return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
|
|
545
551
|
}
|
|
552
|
+
function transformXYZ(d, v, name) {
|
|
553
|
+
const values = v.split(splitComma);
|
|
554
|
+
if (d || !d && values.length === 1)
|
|
555
|
+
return xyzMap[d].map((i) => [`--un-${name}${i}`, v]);
|
|
556
|
+
return values.map((v2, i) => [`--un-${name}-${xyzArray[i]}`, v2]);
|
|
557
|
+
}
|
|
546
558
|
|
|
547
559
|
exports.CONTROL_MINI_NO_NEGATIVE = CONTROL_MINI_NO_NEGATIVE;
|
|
548
560
|
exports.colorResolver = colorResolver;
|
|
@@ -564,5 +576,7 @@ exports.positionMap = positionMap;
|
|
|
564
576
|
exports.resolveBreakpoints = resolveBreakpoints;
|
|
565
577
|
exports.resolveVerticalBreakpoints = resolveVerticalBreakpoints;
|
|
566
578
|
exports.splitShorthand = splitShorthand;
|
|
579
|
+
exports.transformXYZ = transformXYZ;
|
|
567
580
|
exports.valueHandlers = valueHandlers;
|
|
581
|
+
exports.xyzArray = xyzArray;
|
|
568
582
|
exports.xyzMap = xyzMap;
|
|
@@ -70,5 +70,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
70
70
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
71
71
|
declare function isCSSMathFn(value: string | undefined): boolean;
|
|
72
72
|
declare function isSize(str: string): boolean;
|
|
73
|
+
declare function transformXYZ(d: string, v: string, name: string): [string, string][];
|
|
73
74
|
|
|
74
|
-
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 };
|
|
75
|
+
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, transformXYZ as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE } from './preset-mini.Cr9SAx7D.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
|
|
|
@@ -70,5 +70,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
70
70
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
71
71
|
declare function isCSSMathFn(value: string | undefined): boolean;
|
|
72
72
|
declare function isSize(str: string): boolean;
|
|
73
|
+
declare function transformXYZ(d: string, v: string, name: string): [string, string][];
|
|
73
74
|
|
|
74
|
-
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 };
|
|
75
|
+
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, transformXYZ as t };
|
|
@@ -70,6 +70,7 @@ const xyzMap = {
|
|
|
70
70
|
"z": ["-z"],
|
|
71
71
|
"": ["-x", "-y"]
|
|
72
72
|
};
|
|
73
|
+
const xyzArray = ["x", "y", "z"];
|
|
73
74
|
const basePositionMap = [
|
|
74
75
|
"top",
|
|
75
76
|
"top center",
|
|
@@ -111,7 +112,8 @@ const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
|
|
|
111
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;
|
|
112
113
|
const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
|
|
113
114
|
const unitOnlyRE = /^(px)$/i;
|
|
114
|
-
const bracketTypeRe = /^\[(color|length|position|quoted|string):/i;
|
|
115
|
+
const bracketTypeRe = /^\[(color|length|size|position|quoted|string):/i;
|
|
116
|
+
const splitComma = /,(?![^()]*\))/g;
|
|
115
117
|
|
|
116
118
|
const cssProps = [
|
|
117
119
|
// basic props
|
|
@@ -187,6 +189,8 @@ function auto(str) {
|
|
|
187
189
|
return "auto";
|
|
188
190
|
}
|
|
189
191
|
function rem(str) {
|
|
192
|
+
if (!str)
|
|
193
|
+
return;
|
|
190
194
|
if (unitOnlyRE.test(str))
|
|
191
195
|
return `1${str}`;
|
|
192
196
|
const match = str.match(numberWithUnitRE);
|
|
@@ -228,6 +232,8 @@ function percent(str) {
|
|
|
228
232
|
return `${round(num / 100)}`;
|
|
229
233
|
}
|
|
230
234
|
function fraction(str) {
|
|
235
|
+
if (!str)
|
|
236
|
+
return;
|
|
231
237
|
if (str === "full")
|
|
232
238
|
return "100%";
|
|
233
239
|
const [left, right] = str.split("/");
|
|
@@ -541,5 +547,11 @@ function isSize(str) {
|
|
|
541
547
|
str = str.slice(1, -1);
|
|
542
548
|
return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
|
|
543
549
|
}
|
|
550
|
+
function transformXYZ(d, v, name) {
|
|
551
|
+
const values = v.split(splitComma);
|
|
552
|
+
if (d || !d && values.length === 1)
|
|
553
|
+
return xyzMap[d].map((i) => [`--un-${name}${i}`, v]);
|
|
554
|
+
return values.map((v2, i) => [`--un-${name}-${xyzArray[i]}`, v2]);
|
|
555
|
+
}
|
|
544
556
|
|
|
545
|
-
export { CONTROL_MINI_NO_NEGATIVE as C,
|
|
557
|
+
export { CONTROL_MINI_NO_NEGATIVE as C, xyzArray as a, cssMathFnRE as b, cornerMap as c, directionMap as d, h as e, directionSize as f, globalKeywords as g, handler as h, insetMap as i, parseColor as j, colorResolver as k, colorableShadows as l, hasParseableColor as m, resolveVerticalBreakpoints as n, makeGlobalStaticRules as o, positionMap as p, isCSSMathFn as q, resolveBreakpoints as r, splitShorthand as s, isSize as t, transformXYZ as u, valueHandlers as v, xyzMap as x };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const utilities = require('./preset-mini.
|
|
3
|
+
const utilities = require('./preset-mini.BCYTcd-i.cjs');
|
|
4
4
|
const ruleUtils = require('@unocss/rule-utils');
|
|
5
5
|
const core = require('@unocss/core');
|
|
6
|
-
const transform = require('./preset-mini.
|
|
6
|
+
const transform = require('./preset-mini.hSTXklYn.cjs');
|
|
7
7
|
|
|
8
8
|
const verticalAlignAlias = {
|
|
9
9
|
"mid": "middle",
|
|
@@ -183,7 +183,7 @@ const opacity = [
|
|
|
183
183
|
[/^op(?:acity)?-?(.+)$/, ([, d]) => ({ opacity: utilities.h.bracket.percent.cssvar(d) })]
|
|
184
184
|
];
|
|
185
185
|
const bgUrlRE = /^\[url\(.+\)\]$/;
|
|
186
|
-
const bgLengthRE = /^\[length:.+\]$/;
|
|
186
|
+
const bgLengthRE = /^\[(length|size):.+\]$/;
|
|
187
187
|
const bgPositionRE = /^\[position:.+\]$/;
|
|
188
188
|
const bgGradientRE = /^\[(linear|conic|radial)-gradient\(.+\)\]$/;
|
|
189
189
|
const bgColors = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as globalKeywords,
|
|
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.Cr9SAx7D.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.
|
|
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.DLBE_qKL.mjs';
|
|
5
5
|
|
|
6
6
|
const verticalAlignAlias = {
|
|
7
7
|
"mid": "middle",
|
|
@@ -181,7 +181,7 @@ const opacity = [
|
|
|
181
181
|
[/^op(?:acity)?-?(.+)$/, ([, d]) => ({ opacity: h.bracket.percent.cssvar(d) })]
|
|
182
182
|
];
|
|
183
183
|
const bgUrlRE = /^\[url\(.+\)\]$/;
|
|
184
|
-
const bgLengthRE = /^\[length:.+\]$/;
|
|
184
|
+
const bgLengthRE = /^\[(length|size):.+\]$/;
|
|
185
185
|
const bgPositionRE = /^\[position:.+\]$/;
|
|
186
186
|
const bgGradientRE = /^\[(linear|conic|radial)-gradient\(.+\)\]$/;
|
|
187
187
|
const bgColors = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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.Cr9SAx7D.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"];
|
|
@@ -281,7 +281,7 @@ function handleTranslate([, d, b], { theme }) {
|
|
|
281
281
|
const v = theme.spacing?.[b] ?? h.bracket.cssvar.fraction.rem(b);
|
|
282
282
|
if (v != null) {
|
|
283
283
|
return [
|
|
284
|
-
...
|
|
284
|
+
...transformXYZ(d, v, "translate"),
|
|
285
285
|
["transform", transformCpu]
|
|
286
286
|
];
|
|
287
287
|
}
|
|
@@ -290,7 +290,7 @@ function handleScale([, d, b]) {
|
|
|
290
290
|
const v = h.bracket.cssvar.fraction.percent(b);
|
|
291
291
|
if (v != null) {
|
|
292
292
|
return [
|
|
293
|
-
...
|
|
293
|
+
...transformXYZ(d, v, "scale"),
|
|
294
294
|
["transform", transformCpu]
|
|
295
295
|
];
|
|
296
296
|
}
|
|
@@ -319,7 +319,7 @@ function handleSkew([, d, b]) {
|
|
|
319
319
|
const v = h.bracket.cssvar.degree(b);
|
|
320
320
|
if (v != null) {
|
|
321
321
|
return [
|
|
322
|
-
...
|
|
322
|
+
...transformXYZ(d, v, "skew"),
|
|
323
323
|
["transform", transformCpu]
|
|
324
324
|
];
|
|
325
325
|
}
|
|
@@ -70,5 +70,6 @@ declare function resolveVerticalBreakpoints(context: Readonly<VariantContext<The
|
|
|
70
70
|
declare function makeGlobalStaticRules(prefix: string, property?: string): StaticRule[];
|
|
71
71
|
declare function isCSSMathFn(value: string | undefined): boolean;
|
|
72
72
|
declare function isSize(str: string): boolean;
|
|
73
|
+
declare function transformXYZ(d: string, v: string, name: string): [string, string][];
|
|
73
74
|
|
|
74
|
-
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 };
|
|
75
|
+
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, transformXYZ as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const utilities = require('./preset-mini.
|
|
3
|
+
const utilities = require('./preset-mini.BCYTcd-i.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"];
|
|
@@ -283,7 +283,7 @@ function handleTranslate([, d, b], { theme }) {
|
|
|
283
283
|
const v = theme.spacing?.[b] ?? utilities.h.bracket.cssvar.fraction.rem(b);
|
|
284
284
|
if (v != null) {
|
|
285
285
|
return [
|
|
286
|
-
...utilities.
|
|
286
|
+
...utilities.transformXYZ(d, v, "translate"),
|
|
287
287
|
["transform", transformCpu]
|
|
288
288
|
];
|
|
289
289
|
}
|
|
@@ -292,7 +292,7 @@ function handleScale([, d, b]) {
|
|
|
292
292
|
const v = utilities.h.bracket.cssvar.fraction.percent(b);
|
|
293
293
|
if (v != null) {
|
|
294
294
|
return [
|
|
295
|
-
...utilities.
|
|
295
|
+
...utilities.transformXYZ(d, v, "scale"),
|
|
296
296
|
["transform", transformCpu]
|
|
297
297
|
];
|
|
298
298
|
}
|
|
@@ -321,7 +321,7 @@ function handleSkew([, d, b]) {
|
|
|
321
321
|
const v = utilities.h.bracket.cssvar.degree(b);
|
|
322
322
|
if (v != null) {
|
|
323
323
|
return [
|
|
324
|
-
...utilities.
|
|
324
|
+
...utilities.transformXYZ(d, v, "skew"),
|
|
325
325
|
["transform", transformCpu]
|
|
326
326
|
];
|
|
327
327
|
}
|
|
@@ -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.
|
|
2
|
+
import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.DLBE_qKL.mjs';
|
|
3
3
|
|
|
4
4
|
const fontFamily = {
|
|
5
5
|
sans: [
|
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.
|
|
5
|
-
require('./shared/preset-mini.
|
|
6
|
-
require('./shared/preset-mini.
|
|
4
|
+
const _default = require('./shared/preset-mini.DLRoYX1Y.cjs');
|
|
5
|
+
require('./shared/preset-mini.hSTXklYn.cjs');
|
|
6
|
+
require('./shared/preset-mini.BCYTcd-i.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.
|
|
3
|
-
import './shared/preset-mini.
|
|
4
|
-
import './shared/preset-mini.
|
|
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.zoN9eE0Q.mjs';
|
|
3
|
+
import './shared/preset-mini.DLBE_qKL.mjs';
|
|
4
|
+
import './shared/preset-mini.Cr9SAx7D.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.
|
|
3
|
+
const utilities = require('./shared/preset-mini.BCYTcd-i.cjs');
|
|
4
4
|
const ruleUtils = require('@unocss/rule-utils');
|
|
5
5
|
require('@unocss/core');
|
|
6
6
|
|
|
@@ -26,7 +26,9 @@ exports.positionMap = utilities.positionMap;
|
|
|
26
26
|
exports.resolveBreakpoints = utilities.resolveBreakpoints;
|
|
27
27
|
exports.resolveVerticalBreakpoints = utilities.resolveVerticalBreakpoints;
|
|
28
28
|
exports.splitShorthand = utilities.splitShorthand;
|
|
29
|
+
exports.transformXYZ = utilities.transformXYZ;
|
|
29
30
|
exports.valueHandlers = utilities.valueHandlers;
|
|
31
|
+
exports.xyzArray = utilities.xyzArray;
|
|
30
32
|
exports.xyzMap = utilities.xyzMap;
|
|
31
33
|
Object.prototype.hasOwnProperty.call(ruleUtils, '__proto__') &&
|
|
32
34
|
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
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, e as isSize, 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, t as transformXYZ } from './shared/preset-mini.BP7cviYW.cjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.P5Rzuhf5.cjs';
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@ declare const directionMap: Record<string, string[]>;
|
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
9
9
|
declare const cornerMap: Record<string, string[]>;
|
|
10
10
|
declare const xyzMap: Record<string, string[]>;
|
|
11
|
+
declare const xyzArray: string[];
|
|
11
12
|
declare const positionMap: Record<string, string>;
|
|
12
13
|
declare const globalKeywords: string[];
|
|
13
14
|
declare const cssMathFnRE: RegExp;
|
|
@@ -51,7 +52,7 @@ declare namespace handlers {
|
|
|
51
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 };
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
|
+
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
57
|
|
|
57
|
-
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
|
58
|
+
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, 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, e as isSize, 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, t as transformXYZ } from './shared/preset-mini.CdxIVkIz.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.P5Rzuhf5.mjs';
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@ declare const directionMap: Record<string, string[]>;
|
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
9
9
|
declare const cornerMap: Record<string, string[]>;
|
|
10
10
|
declare const xyzMap: Record<string, string[]>;
|
|
11
|
+
declare const xyzArray: string[];
|
|
11
12
|
declare const positionMap: Record<string, string>;
|
|
12
13
|
declare const globalKeywords: string[];
|
|
13
14
|
declare const cssMathFnRE: RegExp;
|
|
@@ -51,7 +52,7 @@ declare namespace handlers {
|
|
|
51
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 };
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
|
+
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
57
|
|
|
57
|
-
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
|
58
|
+
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, 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, e as isSize, 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, t as transformXYZ } from './shared/preset-mini.Dh95saIh.js';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.P5Rzuhf5.js';
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@ declare const directionMap: Record<string, string[]>;
|
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
9
9
|
declare const cornerMap: Record<string, string[]>;
|
|
10
10
|
declare const xyzMap: Record<string, string[]>;
|
|
11
|
+
declare const xyzArray: string[];
|
|
11
12
|
declare const positionMap: Record<string, string>;
|
|
12
13
|
declare const globalKeywords: string[];
|
|
13
14
|
declare const cssMathFnRE: RegExp;
|
|
@@ -51,7 +52,7 @@ declare namespace handlers {
|
|
|
51
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 };
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
55
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
56
|
+
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
57
|
|
|
57
|
-
export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
|
|
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,
|
|
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.Cr9SAx7D.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.
|
|
4
|
-
require('./shared/preset-mini.
|
|
3
|
+
const _default = require('./shared/preset-mini.Bl8k7GEB.cjs');
|
|
4
|
+
require('./shared/preset-mini.BCYTcd-i.cjs');
|
|
5
5
|
require('@unocss/core');
|
|
6
6
|
require('@unocss/rule-utils');
|
|
7
7
|
|
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.P5Rzuhf5.cjs';
|
|
4
4
|
import './shared/preset-mini.bn9iWcrm.cjs';
|
|
5
5
|
import './colors.cjs';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.BP7cviYW.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.P5Rzuhf5.mjs';
|
|
4
4
|
import './shared/preset-mini.Cu-XLFZP.mjs';
|
|
5
5
|
import './colors.mjs';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.CdxIVkIz.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.P5Rzuhf5.js';
|
|
4
4
|
import './shared/preset-mini.DIb57JCK.js';
|
|
5
5
|
import './colors.js';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.Dh95saIh.js';
|
|
7
7
|
|
|
8
8
|
declare const variantAria: VariantObject;
|
|
9
9
|
|
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.
|
|
2
|
-
import './shared/preset-mini.
|
|
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.CPzuJ4uB.mjs';
|
|
2
|
+
import './shared/preset-mini.Cr9SAx7D.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.
|
|
3
|
+
"version": "0.58.8",
|
|
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/
|
|
65
|
-
"@unocss/
|
|
66
|
-
"@unocss/
|
|
64
|
+
"@unocss/extractor-arbitrary-variants": "0.58.8",
|
|
65
|
+
"@unocss/core": "0.58.8",
|
|
66
|
+
"@unocss/rule-utils": "0.58.8"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "unbuild",
|