@unocss/preset-mini 66.5.10 → 66.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/chunk-gol_9zmq.mjs +36 -0
  2. package/dist/colors-C9l2trjD.d.mts +431 -0
  3. package/dist/colors-Cxq9P2g9.mjs +362 -0
  4. package/dist/colors.d.mts +2 -354
  5. package/dist/colors.mjs +2 -360
  6. package/dist/index-CnsmLem5.d.mts +71 -0
  7. package/dist/index.d.mts +5 -76
  8. package/dist/index.mjs +67 -70
  9. package/dist/rules-CuP-xMI2.mjs +1683 -0
  10. package/dist/rules.d.mts +72 -48
  11. package/dist/rules.mjs +4 -5
  12. package/dist/theme-5nLH7UVx.d.mts +1085 -0
  13. package/dist/theme-DeYMqZAV.mjs +347 -0
  14. package/dist/theme.d.mts +3 -338
  15. package/dist/theme.mjs +5 -6
  16. package/dist/utils-CNv_IKMQ.d.mts +122 -0
  17. package/dist/utils-DLpYZ57Q.mjs +638 -0
  18. package/dist/utils.d.mts +5 -77
  19. package/dist/utils.mjs +5 -3
  20. package/dist/variants.d.mts +38 -24
  21. package/dist/variants.mjs +661 -4
  22. package/package.json +7 -8
  23. package/colors.d.ts +0 -1
  24. package/dist/colors.d.ts +0 -354
  25. package/dist/index.d.ts +0 -76
  26. package/dist/rules.d.ts +0 -130
  27. package/dist/shared/preset-mini.BSnAbT9I.d.mts +0 -748
  28. package/dist/shared/preset-mini.B_2UJsV2.mjs +0 -693
  29. package/dist/shared/preset-mini.BjJC-NnU.d.mts +0 -79
  30. package/dist/shared/preset-mini.BjJC-NnU.d.ts +0 -79
  31. package/dist/shared/preset-mini.CRliz1QB.d.ts +0 -76
  32. package/dist/shared/preset-mini.CVEK1uAa.mjs +0 -355
  33. package/dist/shared/preset-mini.CoOfBKs_.d.ts +0 -748
  34. package/dist/shared/preset-mini.DBTjVFxS.mjs +0 -580
  35. package/dist/shared/preset-mini.QLusboLD.mjs +0 -1064
  36. package/dist/shared/preset-mini.kmtdc_h1.mjs +0 -324
  37. package/dist/shared/preset-mini.oF7XTPi1.d.mts +0 -76
  38. package/dist/theme.d.ts +0 -338
  39. package/dist/utils.d.ts +0 -77
  40. package/dist/variants.d.ts +0 -52
  41. package/rules.d.ts +0 -1
  42. package/theme.d.ts +0 -1
  43. package/utils.d.ts +0 -1
  44. package/variants.d.ts +0 -1
package/dist/colors.d.ts DELETED
@@ -1,354 +0,0 @@
1
- import { C as Colors } from './shared/preset-mini.BjJC-NnU.js';
2
- import '@unocss/core';
3
-
4
- declare const colors: {
5
- inherit: string;
6
- current: string;
7
- transparent: string;
8
- black: string;
9
- white: string;
10
- rose: {
11
- 50: string;
12
- 100: string;
13
- 200: string;
14
- 300: string;
15
- 400: string;
16
- 500: string;
17
- 600: string;
18
- 700: string;
19
- 800: string;
20
- 900: string;
21
- 950: string;
22
- };
23
- pink: {
24
- 50: string;
25
- 100: string;
26
- 200: string;
27
- 300: string;
28
- 400: string;
29
- 500: string;
30
- 600: string;
31
- 700: string;
32
- 800: string;
33
- 900: string;
34
- 950: string;
35
- };
36
- fuchsia: {
37
- 50: string;
38
- 100: string;
39
- 200: string;
40
- 300: string;
41
- 400: string;
42
- 500: string;
43
- 600: string;
44
- 700: string;
45
- 800: string;
46
- 900: string;
47
- 950: string;
48
- };
49
- purple: {
50
- 50: string;
51
- 100: string;
52
- 200: string;
53
- 300: string;
54
- 400: string;
55
- 500: string;
56
- 600: string;
57
- 700: string;
58
- 800: string;
59
- 900: string;
60
- 950: string;
61
- };
62
- violet: {
63
- 50: string;
64
- 100: string;
65
- 200: string;
66
- 300: string;
67
- 400: string;
68
- 500: string;
69
- 600: string;
70
- 700: string;
71
- 800: string;
72
- 900: string;
73
- 950: string;
74
- };
75
- indigo: {
76
- 50: string;
77
- 100: string;
78
- 200: string;
79
- 300: string;
80
- 400: string;
81
- 500: string;
82
- 600: string;
83
- 700: string;
84
- 800: string;
85
- 900: string;
86
- 950: string;
87
- };
88
- blue: {
89
- 50: string;
90
- 100: string;
91
- 200: string;
92
- 300: string;
93
- 400: string;
94
- 500: string;
95
- 600: string;
96
- 700: string;
97
- 800: string;
98
- 900: string;
99
- 950: string;
100
- };
101
- sky: {
102
- 50: string;
103
- 100: string;
104
- 200: string;
105
- 300: string;
106
- 400: string;
107
- 500: string;
108
- 600: string;
109
- 700: string;
110
- 800: string;
111
- 900: string;
112
- 950: string;
113
- };
114
- cyan: {
115
- 50: string;
116
- 100: string;
117
- 200: string;
118
- 300: string;
119
- 400: string;
120
- 500: string;
121
- 600: string;
122
- 700: string;
123
- 800: string;
124
- 900: string;
125
- 950: string;
126
- };
127
- teal: {
128
- 50: string;
129
- 100: string;
130
- 200: string;
131
- 300: string;
132
- 400: string;
133
- 500: string;
134
- 600: string;
135
- 700: string;
136
- 800: string;
137
- 900: string;
138
- 950: string;
139
- };
140
- emerald: {
141
- 50: string;
142
- 100: string;
143
- 200: string;
144
- 300: string;
145
- 400: string;
146
- 500: string;
147
- 600: string;
148
- 700: string;
149
- 800: string;
150
- 900: string;
151
- 950: string;
152
- };
153
- green: {
154
- 50: string;
155
- 100: string;
156
- 200: string;
157
- 300: string;
158
- 400: string;
159
- 500: string;
160
- 600: string;
161
- 700: string;
162
- 800: string;
163
- 900: string;
164
- 950: string;
165
- };
166
- lime: {
167
- 50: string;
168
- 100: string;
169
- 200: string;
170
- 300: string;
171
- 400: string;
172
- 500: string;
173
- 600: string;
174
- 700: string;
175
- 800: string;
176
- 900: string;
177
- 950: string;
178
- };
179
- yellow: {
180
- 50: string;
181
- 100: string;
182
- 200: string;
183
- 300: string;
184
- 400: string;
185
- 500: string;
186
- 600: string;
187
- 700: string;
188
- 800: string;
189
- 900: string;
190
- 950: string;
191
- };
192
- amber: {
193
- 50: string;
194
- 100: string;
195
- 200: string;
196
- 300: string;
197
- 400: string;
198
- 500: string;
199
- 600: string;
200
- 700: string;
201
- 800: string;
202
- 900: string;
203
- 950: string;
204
- };
205
- orange: {
206
- 50: string;
207
- 100: string;
208
- 200: string;
209
- 300: string;
210
- 400: string;
211
- 500: string;
212
- 600: string;
213
- 700: string;
214
- 800: string;
215
- 900: string;
216
- 950: string;
217
- };
218
- red: {
219
- 50: string;
220
- 100: string;
221
- 200: string;
222
- 300: string;
223
- 400: string;
224
- 500: string;
225
- 600: string;
226
- 700: string;
227
- 800: string;
228
- 900: string;
229
- 950: string;
230
- };
231
- gray: {
232
- 50: string;
233
- 100: string;
234
- 200: string;
235
- 300: string;
236
- 400: string;
237
- 500: string;
238
- 600: string;
239
- 700: string;
240
- 800: string;
241
- 900: string;
242
- 950: string;
243
- };
244
- slate: {
245
- 50: string;
246
- 100: string;
247
- 200: string;
248
- 300: string;
249
- 400: string;
250
- 500: string;
251
- 600: string;
252
- 700: string;
253
- 800: string;
254
- 900: string;
255
- 950: string;
256
- };
257
- zinc: {
258
- 50: string;
259
- 100: string;
260
- 200: string;
261
- 300: string;
262
- 400: string;
263
- 500: string;
264
- 600: string;
265
- 700: string;
266
- 800: string;
267
- 900: string;
268
- 950: string;
269
- };
270
- neutral: {
271
- 50: string;
272
- 100: string;
273
- 200: string;
274
- 300: string;
275
- 400: string;
276
- 500: string;
277
- 600: string;
278
- 700: string;
279
- 800: string;
280
- 900: string;
281
- 950: string;
282
- };
283
- stone: {
284
- 50: string;
285
- 100: string;
286
- 200: string;
287
- 300: string;
288
- 400: string;
289
- 500: string;
290
- 600: string;
291
- 700: string;
292
- 800: string;
293
- 900: string;
294
- 950: string;
295
- };
296
- light: {
297
- 50: string;
298
- 100: string;
299
- 200: string;
300
- 300: string;
301
- 400: string;
302
- 500: string;
303
- 600: string;
304
- 700: string;
305
- 800: string;
306
- 900: string;
307
- 950: string;
308
- };
309
- dark: {
310
- 50: string;
311
- 100: string;
312
- 200: string;
313
- 300: string;
314
- 400: string;
315
- 500: string;
316
- 600: string;
317
- 700: string;
318
- 800: string;
319
- 900: string;
320
- 950: string;
321
- };
322
- readonly lightblue: string | (Colors & {
323
- DEFAULT?: string;
324
- });
325
- readonly lightBlue: string | (Colors & {
326
- DEFAULT?: string;
327
- });
328
- readonly warmgray: string | (Colors & {
329
- DEFAULT?: string;
330
- });
331
- readonly warmGray: string | (Colors & {
332
- DEFAULT?: string;
333
- });
334
- readonly truegray: string | (Colors & {
335
- DEFAULT?: string;
336
- });
337
- readonly trueGray: string | (Colors & {
338
- DEFAULT?: string;
339
- });
340
- readonly coolgray: string | (Colors & {
341
- DEFAULT?: string;
342
- });
343
- readonly coolGray: string | (Colors & {
344
- DEFAULT?: string;
345
- });
346
- readonly bluegray: string | (Colors & {
347
- DEFAULT?: string;
348
- });
349
- readonly blueGray: string | (Colors & {
350
- DEFAULT?: string;
351
- });
352
- };
353
-
354
- export { colors };
package/dist/index.d.ts DELETED
@@ -1,76 +0,0 @@
1
- import * as _unocss_core from '@unocss/core';
2
- import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.BjJC-NnU.js';
4
- export { a as ThemeAnimation } from './shared/preset-mini.BjJC-NnU.js';
5
- export { colors } from './colors.js';
6
- export { t as theme } from './shared/preset-mini.CoOfBKs_.js';
7
- export { p as parseColor } from './shared/preset-mini.CRliz1QB.js';
8
- import '@unocss/rule-utils';
9
-
10
- declare function preflights(options: PresetMiniOptions): Preflight<Theme>[] | undefined;
11
-
12
- interface DarkModeSelectors {
13
- /**
14
- * Selectors for light variant.
15
- *
16
- * @default '.light'
17
- */
18
- light?: string | string[];
19
- /**
20
- * Selectors for dark variant.
21
- *
22
- * @default '.dark'
23
- */
24
- dark?: string | string[];
25
- }
26
- interface PresetMiniOptions extends PresetOptions {
27
- /**
28
- * Dark mode options
29
- *
30
- * @default 'class'
31
- */
32
- dark?: 'class' | 'media' | DarkModeSelectors;
33
- /**
34
- * Generate tagged pseudo selector as `[group=""]` instead of `.group`
35
- *
36
- * @default false
37
- */
38
- attributifyPseudo?: boolean;
39
- /**
40
- * Prefix for CSS variables.
41
- *
42
- * @default 'un-'
43
- */
44
- variablePrefix?: string;
45
- /**
46
- * Utils prefix. When using tagged pseudo selector, only the first truthy prefix will be used.
47
- *
48
- * @default undefined
49
- */
50
- prefix?: string | string[];
51
- /**
52
- * Generate preflight
53
- *
54
- * @default true
55
- */
56
- preflight?: boolean | 'on-demand';
57
- /**
58
- * Enable arbitrary variants, for example `<div class="[&>*]:m-1 [&[open]]:p-2"></div>`.
59
- *
60
- * Disable this might slightly improve the performance.
61
- *
62
- * @default true
63
- */
64
- arbitraryVariants?: boolean;
65
- }
66
- /**
67
- * The basic preset for UnoCSS, with only the most essential utilities.
68
- *
69
- * @see https://unocss.dev/presets/mini
70
- */
71
- declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
72
-
73
- declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
74
-
75
- export { Theme, VarPrefixPostprocessor, presetMini as default, preflights, presetMini };
76
- export type { DarkModeSelectors, PresetMiniOptions };
package/dist/rules.d.ts DELETED
@@ -1,130 +0,0 @@
1
- import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.BjJC-NnU.js';
3
-
4
- declare const verticalAligns: Rule[];
5
- declare const textAligns: Rule[];
6
-
7
- declare const outline: Rule<Theme>[];
8
- declare const appearance: Rule[];
9
- declare const willChange: Rule[];
10
-
11
- declare const borderStyles: string[];
12
- declare const borders: Rule[];
13
- declare function handlerBorderStyle([, a, s]: string[]): CSSEntries | undefined;
14
-
15
- /**
16
- * @example op10 op-30 opacity-100
17
- */
18
- declare const opacity: Rule[];
19
- declare const bgColors: Rule[];
20
- declare const colorScheme: Rule[];
21
-
22
- declare const containerParent: Rule[];
23
-
24
- declare const textDecorations: Rule<Theme>[];
25
-
26
- declare const rules: Rule<Theme>[];
27
-
28
- declare const flex: Rule<Theme>[];
29
-
30
- declare const gaps: Rule[];
31
-
32
- declare const grids: Rule<Theme>[];
33
-
34
- declare const overflows: Rule[];
35
-
36
- declare const positions: Rule[];
37
- declare const justifies: StaticRule[];
38
- declare const orders: Rule[];
39
- declare const alignments: StaticRule[];
40
- declare const placements: StaticRule[];
41
- /**
42
- * This is to add `flex-` and `grid-` prefix to the alignment rules,
43
- * supporting `flex="~ items-center"` in attributify mode.
44
- */
45
- declare const flexGridJustifiesAlignments: StaticRule[];
46
- declare const insets: Rule[];
47
- declare const floats: Rule[];
48
- declare const zIndexes: Rule[];
49
- declare const boxSizing: Rule[];
50
-
51
- /**
52
- * Used for debugging, only available in development mode.
53
- *
54
- * @example `?` / `where`
55
- */
56
- declare const questionMark: Rule[];
57
-
58
- declare const ringBase: {
59
- '--un-ring-inset': string;
60
- '--un-ring-offset-width': string;
61
- '--un-ring-offset-color': string;
62
- '--un-ring-width': string;
63
- '--un-ring-color': string;
64
- '--un-shadow': string;
65
- };
66
- declare const rings: Rule<Theme>[];
67
-
68
- declare const boxShadowsBase: {
69
- '--un-ring-offset-shadow': string;
70
- '--un-ring-shadow': string;
71
- '--un-shadow-inset': string;
72
- '--un-shadow': string;
73
- };
74
- declare const boxShadows: Rule<Theme>[];
75
-
76
- declare const sizes: Rule<Theme>[];
77
- declare const aspectRatio: Rule[];
78
-
79
- declare const paddings: Rule[];
80
- declare const margins: Rule[];
81
-
82
- declare const varEmpty = " ";
83
- declare const displays: Rule[];
84
- declare const appearances: Rule[];
85
- declare const cursors: Rule[];
86
- declare const contains: Rule[];
87
- declare const pointerEvents: Rule[];
88
- declare const resizes: Rule[];
89
- declare const userSelects: Rule[];
90
- declare const whitespaces: Rule[];
91
- declare const contentVisibility: Rule[];
92
- declare const contents: Rule[];
93
- declare const breaks: Rule[];
94
- declare const textWraps: Rule[];
95
- declare const textOverflows: Rule[];
96
- declare const textTransforms: Rule[];
97
- declare const fontStyles: Rule[];
98
- declare const fontSmoothings: Rule[];
99
- declare const fieldSizing: Rule[];
100
-
101
- declare const svgUtilities: Rule<Theme>[];
102
-
103
- declare const transformBase: {
104
- '--un-rotate': number;
105
- '--un-rotate-x': number;
106
- '--un-rotate-y': number;
107
- '--un-rotate-z': number;
108
- '--un-scale-x': number;
109
- '--un-scale-y': number;
110
- '--un-scale-z': number;
111
- '--un-skew-x': number;
112
- '--un-skew-y': number;
113
- '--un-translate-x': number;
114
- '--un-translate-y': number;
115
- '--un-translate-z': number;
116
- };
117
- declare const transforms: Rule[];
118
-
119
- declare const transitions: Rule<Theme>[];
120
-
121
- declare const fonts: Rule<Theme>[];
122
- declare const tabSizes: Rule<Theme>[];
123
- declare const textIndents: Rule<Theme>[];
124
- declare const textStrokes: Rule<Theme>[];
125
- declare const textShadows: Rule<Theme>[];
126
-
127
- declare const cssVariables: Rule[];
128
- declare const cssProperty: Rule[];
129
-
130
- export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, colorScheme, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, fieldSizing, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fonts, gaps, grids, handlerBorderStyle, insets, justifies, margins, opacity, orders, outline, overflows, paddings, placements, pointerEvents, positions, questionMark, resizes, ringBase, rings, rules, sizes, svgUtilities, tabSizes, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };