@unocss/preset-mini 0.57.7 → 0.58.1
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/colors.d.cts +1 -1
- package/dist/colors.d.mts +1 -1
- package/dist/colors.d.ts +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +7 -7
- package/dist/rules.cjs +50 -972
- package/dist/rules.d.cts +2 -6
- package/dist/rules.d.mts +2 -6
- package/dist/rules.d.ts +2 -6
- package/dist/rules.mjs +5 -931
- package/dist/shared/{preset-mini.MACvs-wn.cjs → preset-mini.-3Qybdh5.cjs} +49 -39
- package/dist/shared/{preset-mini.Stl9mkMB.mjs → preset-mini.0CcynBZx.mjs} +45 -26
- package/dist/shared/{preset-mini.dPVVIvNm.mjs → preset-mini.0UJFjS_1.mjs} +16 -6
- package/dist/shared/{preset-mini.XmVozI6N.d.mts → preset-mini.20fUBpHS.d.cts} +4 -3
- package/dist/shared/{preset-mini.QW22c5Df.d.ts → preset-mini.8w2rXvMk.d.ts} +4 -3
- package/dist/shared/preset-mini.AVP8I7_j.mjs +747 -0
- package/dist/shared/preset-mini.ORVb5Lu8.mjs +978 -0
- package/dist/shared/{preset-mini.ImRm63ih.cjs → preset-mini.UhMMbd34.cjs} +44 -26
- package/dist/shared/{preset-mini.4DxDu2I8.d.mts → preset-mini.YxT4AwuI.d.cts} +1 -1
- package/dist/shared/preset-mini.fgwIVvur.cjs +322 -0
- package/dist/shared/preset-mini.g6cWGZM2.cjs +1021 -0
- package/dist/shared/{preset-mini.5daNC9yh.d.ts → preset-mini.gVNz4b9u.d.ts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.mts → preset-mini.hpPpX7ws.d.cts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.ts → preset-mini.hpPpX7ws.d.mts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.cts → preset-mini.hpPpX7ws.d.ts} +1 -1
- package/dist/shared/preset-mini.jXC5Sr98.cjs +772 -0
- package/dist/shared/{preset-mini.Jpc0QYPj.d.cts → preset-mini.nzD7Hw_0.d.mts} +4 -3
- package/dist/shared/{preset-mini.5-XKlNyK.d.cts → preset-mini.vMrmsD3H.d.mts} +1 -1
- package/dist/shared/preset-mini.zC_vZg74.mjs +291 -0
- package/dist/theme.cjs +34 -318
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.d.ts +3 -3
- package/dist/theme.mjs +5 -293
- package/dist/utils.cjs +23 -23
- package/dist/utils.d.cts +4 -4
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.mjs +1 -1
- package/dist/variants.cjs +31 -739
- package/dist/variants.d.cts +5 -5
- package/dist/variants.d.mts +5 -5
- package/dist/variants.d.ts +5 -5
- package/dist/variants.mjs +4 -716
- package/package.json +4 -4
package/dist/theme.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { colors } from './colors.mjs';
|
|
2
|
-
export { t as theme } from './shared/preset-mini.
|
|
3
|
-
import { T as Theme } from './shared/preset-mini.
|
|
4
|
-
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.
|
|
2
|
+
export { t as theme } from './shared/preset-mini.vMrmsD3H.mjs';
|
|
3
|
+
import { T as Theme } from './shared/preset-mini.hpPpX7ws.mjs';
|
|
4
|
+
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.mjs';
|
|
5
5
|
import '@unocss/core';
|
|
6
6
|
|
|
7
7
|
declare const blur: {
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { colors } from './colors.js';
|
|
2
|
-
export { t as theme } from './shared/preset-mini.
|
|
3
|
-
import { T as Theme } from './shared/preset-mini.
|
|
4
|
-
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.
|
|
2
|
+
export { t as theme } from './shared/preset-mini.gVNz4b9u.js';
|
|
3
|
+
import { T as Theme } from './shared/preset-mini.hpPpX7ws.js';
|
|
4
|
+
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.js';
|
|
5
5
|
import '@unocss/core';
|
|
6
6
|
|
|
7
7
|
declare const blur: {
|
package/dist/theme.mjs
CHANGED
|
@@ -1,294 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import './shared/preset-mini.
|
|
4
|
-
import '
|
|
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.zC_vZg74.mjs';
|
|
3
|
+
import './shared/preset-mini.0UJFjS_1.mjs';
|
|
4
|
+
import './shared/preset-mini.0CcynBZx.mjs';
|
|
5
5
|
import '@unocss/core';
|
|
6
|
-
|
|
7
|
-
const fontFamily = {
|
|
8
|
-
sans: [
|
|
9
|
-
"ui-sans-serif",
|
|
10
|
-
"system-ui",
|
|
11
|
-
"-apple-system",
|
|
12
|
-
"BlinkMacSystemFont",
|
|
13
|
-
'"Segoe UI"',
|
|
14
|
-
"Roboto",
|
|
15
|
-
'"Helvetica Neue"',
|
|
16
|
-
"Arial",
|
|
17
|
-
'"Noto Sans"',
|
|
18
|
-
"sans-serif",
|
|
19
|
-
'"Apple Color Emoji"',
|
|
20
|
-
'"Segoe UI Emoji"',
|
|
21
|
-
'"Segoe UI Symbol"',
|
|
22
|
-
'"Noto Color Emoji"'
|
|
23
|
-
].join(","),
|
|
24
|
-
serif: [
|
|
25
|
-
"ui-serif",
|
|
26
|
-
"Georgia",
|
|
27
|
-
"Cambria",
|
|
28
|
-
'"Times New Roman"',
|
|
29
|
-
"Times",
|
|
30
|
-
"serif"
|
|
31
|
-
].join(","),
|
|
32
|
-
mono: [
|
|
33
|
-
"ui-monospace",
|
|
34
|
-
"SFMono-Regular",
|
|
35
|
-
"Menlo",
|
|
36
|
-
"Monaco",
|
|
37
|
-
"Consolas",
|
|
38
|
-
'"Liberation Mono"',
|
|
39
|
-
'"Courier New"',
|
|
40
|
-
"monospace"
|
|
41
|
-
].join(",")
|
|
42
|
-
};
|
|
43
|
-
const fontSize = {
|
|
44
|
-
"xs": ["0.75rem", "1rem"],
|
|
45
|
-
"sm": ["0.875rem", "1.25rem"],
|
|
46
|
-
"base": ["1rem", "1.5rem"],
|
|
47
|
-
"lg": ["1.125rem", "1.75rem"],
|
|
48
|
-
"xl": ["1.25rem", "1.75rem"],
|
|
49
|
-
"2xl": ["1.5rem", "2rem"],
|
|
50
|
-
"3xl": ["1.875rem", "2.25rem"],
|
|
51
|
-
"4xl": ["2.25rem", "2.5rem"],
|
|
52
|
-
"5xl": ["3rem", "1"],
|
|
53
|
-
"6xl": ["3.75rem", "1"],
|
|
54
|
-
"7xl": ["4.5rem", "1"],
|
|
55
|
-
"8xl": ["6rem", "1"],
|
|
56
|
-
"9xl": ["8rem", "1"]
|
|
57
|
-
};
|
|
58
|
-
const textIndent = {
|
|
59
|
-
"DEFAULT": "1.5rem",
|
|
60
|
-
"xs": "0.5rem",
|
|
61
|
-
"sm": "1rem",
|
|
62
|
-
"md": "1.5rem",
|
|
63
|
-
"lg": "2rem",
|
|
64
|
-
"xl": "2.5rem",
|
|
65
|
-
"2xl": "3rem",
|
|
66
|
-
"3xl": "4rem"
|
|
67
|
-
};
|
|
68
|
-
const textStrokeWidth = {
|
|
69
|
-
DEFAULT: "1.5rem",
|
|
70
|
-
none: "0",
|
|
71
|
-
sm: "thin",
|
|
72
|
-
md: "medium",
|
|
73
|
-
lg: "thick"
|
|
74
|
-
};
|
|
75
|
-
const textShadow = {
|
|
76
|
-
DEFAULT: ["0 0 1px rgb(0 0 0 / 0.2)", "0 0 1px rgb(1 0 5 / 0.1)"],
|
|
77
|
-
none: "0 0 rgb(0 0 0 / 0)",
|
|
78
|
-
sm: "1px 1px 3px rgb(36 37 47 / 0.25)",
|
|
79
|
-
md: ["0 1px 2px rgb(30 29 39 / 0.19)", "1px 2px 4px rgb(54 64 147 / 0.18)"],
|
|
80
|
-
lg: ["3px 3px 6px rgb(0 0 0 / 0.26)", "0 0 5px rgb(15 3 86 / 0.22)"],
|
|
81
|
-
xl: ["1px 1px 3px rgb(0 0 0 / 0.29)", "2px 4px 7px rgb(73 64 125 / 0.35)"]
|
|
82
|
-
};
|
|
83
|
-
const lineHeight = {
|
|
84
|
-
none: "1",
|
|
85
|
-
tight: "1.25",
|
|
86
|
-
snug: "1.375",
|
|
87
|
-
normal: "1.5",
|
|
88
|
-
relaxed: "1.625",
|
|
89
|
-
loose: "2"
|
|
90
|
-
};
|
|
91
|
-
const letterSpacing = {
|
|
92
|
-
tighter: "-0.05em",
|
|
93
|
-
tight: "-0.025em",
|
|
94
|
-
normal: "0em",
|
|
95
|
-
wide: "0.025em",
|
|
96
|
-
wider: "0.05em",
|
|
97
|
-
widest: "0.1em"
|
|
98
|
-
};
|
|
99
|
-
const fontWeight = {
|
|
100
|
-
thin: "100",
|
|
101
|
-
extralight: "200",
|
|
102
|
-
light: "300",
|
|
103
|
-
normal: "400",
|
|
104
|
-
medium: "500",
|
|
105
|
-
semibold: "600",
|
|
106
|
-
bold: "700",
|
|
107
|
-
extrabold: "800",
|
|
108
|
-
black: "900"
|
|
109
|
-
// int[0, 900] -> int
|
|
110
|
-
};
|
|
111
|
-
const wordSpacing = letterSpacing;
|
|
112
|
-
|
|
113
|
-
const breakpoints = {
|
|
114
|
-
"sm": "640px",
|
|
115
|
-
"md": "768px",
|
|
116
|
-
"lg": "1024px",
|
|
117
|
-
"xl": "1280px",
|
|
118
|
-
"2xl": "1536px"
|
|
119
|
-
};
|
|
120
|
-
const verticalBreakpoints = { ...breakpoints };
|
|
121
|
-
const lineWidth = {
|
|
122
|
-
DEFAULT: "1px",
|
|
123
|
-
none: "0"
|
|
124
|
-
};
|
|
125
|
-
const spacing = {
|
|
126
|
-
"DEFAULT": "1rem",
|
|
127
|
-
"none": "0",
|
|
128
|
-
"xs": "0.75rem",
|
|
129
|
-
"sm": "0.875rem",
|
|
130
|
-
"lg": "1.125rem",
|
|
131
|
-
"xl": "1.25rem",
|
|
132
|
-
"2xl": "1.5rem",
|
|
133
|
-
"3xl": "1.875rem",
|
|
134
|
-
"4xl": "2.25rem",
|
|
135
|
-
"5xl": "3rem",
|
|
136
|
-
"6xl": "3.75rem",
|
|
137
|
-
"7xl": "4.5rem",
|
|
138
|
-
"8xl": "6rem",
|
|
139
|
-
"9xl": "8rem"
|
|
140
|
-
};
|
|
141
|
-
const duration = {
|
|
142
|
-
DEFAULT: "150ms",
|
|
143
|
-
none: "0s",
|
|
144
|
-
75: "75ms",
|
|
145
|
-
100: "100ms",
|
|
146
|
-
150: "150ms",
|
|
147
|
-
200: "200ms",
|
|
148
|
-
300: "300ms",
|
|
149
|
-
500: "500ms",
|
|
150
|
-
700: "700ms",
|
|
151
|
-
1e3: "1000ms"
|
|
152
|
-
};
|
|
153
|
-
const borderRadius = {
|
|
154
|
-
"DEFAULT": "0.25rem",
|
|
155
|
-
"none": "0",
|
|
156
|
-
"sm": "0.125rem",
|
|
157
|
-
"md": "0.375rem",
|
|
158
|
-
"lg": "0.5rem",
|
|
159
|
-
"xl": "0.75rem",
|
|
160
|
-
"2xl": "1rem",
|
|
161
|
-
"3xl": "1.5rem",
|
|
162
|
-
"full": "9999px"
|
|
163
|
-
};
|
|
164
|
-
const boxShadow = {
|
|
165
|
-
"DEFAULT": ["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)", "var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],
|
|
166
|
-
"none": "0 0 rgb(0 0 0 / 0)",
|
|
167
|
-
"sm": "var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
168
|
-
"md": ["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)", "var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],
|
|
169
|
-
"lg": ["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)", "var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],
|
|
170
|
-
"xl": ["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)", "var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],
|
|
171
|
-
"2xl": "var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
172
|
-
"inner": "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"
|
|
173
|
-
};
|
|
174
|
-
const easing = {
|
|
175
|
-
"DEFAULT": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
176
|
-
"linear": "linear",
|
|
177
|
-
"in": "cubic-bezier(0.4, 0, 1, 1)",
|
|
178
|
-
"out": "cubic-bezier(0, 0, 0.2, 1)",
|
|
179
|
-
"in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
180
|
-
};
|
|
181
|
-
const ringWidth = {
|
|
182
|
-
DEFAULT: "1px",
|
|
183
|
-
none: "0"
|
|
184
|
-
};
|
|
185
|
-
const zIndex = {
|
|
186
|
-
auto: "auto"
|
|
187
|
-
};
|
|
188
|
-
const media = {
|
|
189
|
-
mouse: "(hover) and (pointer: fine)"
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
const blur = {
|
|
193
|
-
"DEFAULT": "8px",
|
|
194
|
-
"0": "0",
|
|
195
|
-
"sm": "4px",
|
|
196
|
-
"md": "12px",
|
|
197
|
-
"lg": "16px",
|
|
198
|
-
"xl": "24px",
|
|
199
|
-
"2xl": "40px",
|
|
200
|
-
"3xl": "64px"
|
|
201
|
-
};
|
|
202
|
-
const dropShadow = {
|
|
203
|
-
"DEFAULT": ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
|
|
204
|
-
"sm": "0 1px 1px rgb(0 0 0 / 0.05)",
|
|
205
|
-
"md": ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
|
|
206
|
-
"lg": ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
|
|
207
|
-
"xl": ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
|
|
208
|
-
"2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
|
|
209
|
-
"none": "0 0 rgb(0 0 0 / 0)"
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
const baseSize = {
|
|
213
|
-
"xs": "20rem",
|
|
214
|
-
"sm": "24rem",
|
|
215
|
-
"md": "28rem",
|
|
216
|
-
"lg": "32rem",
|
|
217
|
-
"xl": "36rem",
|
|
218
|
-
"2xl": "42rem",
|
|
219
|
-
"3xl": "48rem",
|
|
220
|
-
"4xl": "56rem",
|
|
221
|
-
"5xl": "64rem",
|
|
222
|
-
"6xl": "72rem",
|
|
223
|
-
"7xl": "80rem",
|
|
224
|
-
"prose": "65ch"
|
|
225
|
-
};
|
|
226
|
-
const width = {
|
|
227
|
-
auto: "auto",
|
|
228
|
-
...baseSize,
|
|
229
|
-
screen: "100vw"
|
|
230
|
-
};
|
|
231
|
-
const maxWidth = {
|
|
232
|
-
none: "none",
|
|
233
|
-
...baseSize,
|
|
234
|
-
screen: "100vw"
|
|
235
|
-
};
|
|
236
|
-
const height = {
|
|
237
|
-
auto: "auto",
|
|
238
|
-
...baseSize,
|
|
239
|
-
screen: "100vh"
|
|
240
|
-
};
|
|
241
|
-
const maxHeight = {
|
|
242
|
-
none: "none",
|
|
243
|
-
...baseSize,
|
|
244
|
-
screen: "100vh"
|
|
245
|
-
};
|
|
246
|
-
const containers = Object.fromEntries(Object.entries(baseSize).map(([k, v]) => [k, `(min-width: ${v})`]));
|
|
247
|
-
|
|
248
|
-
const preflightBase = {
|
|
249
|
-
...transformBase,
|
|
250
|
-
...boxShadowsBase,
|
|
251
|
-
...ringBase
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
const theme = {
|
|
255
|
-
width,
|
|
256
|
-
height,
|
|
257
|
-
maxWidth,
|
|
258
|
-
maxHeight,
|
|
259
|
-
minWidth: maxWidth,
|
|
260
|
-
minHeight: maxHeight,
|
|
261
|
-
inlineSize: width,
|
|
262
|
-
blockSize: height,
|
|
263
|
-
maxInlineSize: maxWidth,
|
|
264
|
-
maxBlockSize: maxHeight,
|
|
265
|
-
minInlineSize: maxWidth,
|
|
266
|
-
minBlockSize: maxHeight,
|
|
267
|
-
colors,
|
|
268
|
-
fontFamily,
|
|
269
|
-
fontSize,
|
|
270
|
-
fontWeight,
|
|
271
|
-
breakpoints,
|
|
272
|
-
verticalBreakpoints,
|
|
273
|
-
borderRadius,
|
|
274
|
-
lineHeight,
|
|
275
|
-
letterSpacing,
|
|
276
|
-
wordSpacing,
|
|
277
|
-
boxShadow,
|
|
278
|
-
textIndent,
|
|
279
|
-
textShadow,
|
|
280
|
-
textStrokeWidth,
|
|
281
|
-
blur,
|
|
282
|
-
dropShadow,
|
|
283
|
-
easing,
|
|
284
|
-
lineWidth,
|
|
285
|
-
spacing,
|
|
286
|
-
duration,
|
|
287
|
-
ringWidth,
|
|
288
|
-
preflightBase,
|
|
289
|
-
containers,
|
|
290
|
-
zIndex,
|
|
291
|
-
media
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
export { baseSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing, zIndex };
|
|
6
|
+
import '@unocss/rule-utils';
|
package/dist/utils.cjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const utilities = require('./shared/preset-mini.UhMMbd34.cjs');
|
|
4
4
|
const ruleUtils = require('@unocss/rule-utils');
|
|
5
5
|
require('@unocss/core');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.CONTROL_MINI_NO_NEGATIVE =
|
|
10
|
-
exports.colorResolver =
|
|
11
|
-
exports.colorableShadows =
|
|
12
|
-
exports.cornerMap =
|
|
13
|
-
exports.cssMathFnRE =
|
|
14
|
-
exports.directionMap =
|
|
15
|
-
exports.directionSize =
|
|
16
|
-
exports.globalKeywords =
|
|
17
|
-
exports.h =
|
|
18
|
-
exports.handler =
|
|
19
|
-
exports.hasParseableColor =
|
|
20
|
-
exports.insetMap =
|
|
21
|
-
exports.isCSSMathFn =
|
|
22
|
-
exports.isSize =
|
|
23
|
-
exports.makeGlobalStaticRules =
|
|
24
|
-
exports.parseColor =
|
|
25
|
-
exports.positionMap =
|
|
26
|
-
exports.resolveBreakpoints =
|
|
27
|
-
exports.resolveVerticalBreakpoints =
|
|
28
|
-
exports.splitShorthand =
|
|
29
|
-
exports.valueHandlers =
|
|
30
|
-
exports.xyzMap =
|
|
9
|
+
exports.CONTROL_MINI_NO_NEGATIVE = utilities.CONTROL_MINI_NO_NEGATIVE;
|
|
10
|
+
exports.colorResolver = utilities.colorResolver;
|
|
11
|
+
exports.colorableShadows = utilities.colorableShadows;
|
|
12
|
+
exports.cornerMap = utilities.cornerMap;
|
|
13
|
+
exports.cssMathFnRE = utilities.cssMathFnRE;
|
|
14
|
+
exports.directionMap = utilities.directionMap;
|
|
15
|
+
exports.directionSize = utilities.directionSize;
|
|
16
|
+
exports.globalKeywords = utilities.globalKeywords;
|
|
17
|
+
exports.h = utilities.h;
|
|
18
|
+
exports.handler = utilities.handler;
|
|
19
|
+
exports.hasParseableColor = utilities.hasParseableColor;
|
|
20
|
+
exports.insetMap = utilities.insetMap;
|
|
21
|
+
exports.isCSSMathFn = utilities.isCSSMathFn;
|
|
22
|
+
exports.isSize = utilities.isSize;
|
|
23
|
+
exports.makeGlobalStaticRules = utilities.makeGlobalStaticRules;
|
|
24
|
+
exports.parseColor = utilities.parseColor;
|
|
25
|
+
exports.positionMap = utilities.positionMap;
|
|
26
|
+
exports.resolveBreakpoints = utilities.resolveBreakpoints;
|
|
27
|
+
exports.resolveVerticalBreakpoints = utilities.resolveVerticalBreakpoints;
|
|
28
|
+
exports.splitShorthand = utilities.splitShorthand;
|
|
29
|
+
exports.valueHandlers = utilities.valueHandlers;
|
|
30
|
+
exports.xyzMap = utilities.xyzMap;
|
|
31
31
|
Object.keys(ruleUtils).forEach(function (k) {
|
|
32
32
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = ruleUtils[k];
|
|
33
33
|
});
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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 } from './shared/preset-mini.20fUBpHS.cjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
|
-
import './shared/preset-mini.
|
|
5
|
+
import './shared/preset-mini.hpPpX7ws.cjs';
|
|
6
6
|
|
|
7
7
|
declare const directionMap: Record<string, string[]>;
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
@@ -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" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "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,8 +1,8 @@
|
|
|
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 } from './shared/preset-mini.nzD7Hw_0.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
|
-
import './shared/preset-mini.
|
|
5
|
+
import './shared/preset-mini.hpPpX7ws.mjs';
|
|
6
6
|
|
|
7
7
|
declare const directionMap: Record<string, string[]>;
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
@@ -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" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "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,8 +1,8 @@
|
|
|
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 } from './shared/preset-mini.8w2rXvMk.js';
|
|
4
4
|
import '@unocss/core';
|
|
5
|
-
import './shared/preset-mini.
|
|
5
|
+
import './shared/preset-mini.hpPpX7ws.js';
|
|
6
6
|
|
|
7
7
|
declare const directionMap: Record<string, string[]>;
|
|
8
8
|
declare const insetMap: Record<string, string[]>;
|
|
@@ -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" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
55
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "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,
|
|
1
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, j as colorResolver, k as colorableShadows, c as cornerMap, a as cssMathFnRE, d as directionMap, e as directionSize, g as globalKeywords, b as h, h as handler, l as hasParseableColor, i as insetMap, o as isCSSMathFn, q as isSize, n as makeGlobalStaticRules, f as parseColor, p as positionMap, r as resolveBreakpoints, m as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.0CcynBZx.mjs';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
3
|
import '@unocss/core';
|