@unocss/preset-mini 0.55.0 → 0.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/colors.cjs +360 -6
  2. package/dist/{colors-dabdd21f.d.ts → colors.d.cts} +3 -2
  3. package/dist/colors.d.mts +354 -0
  4. package/dist/colors.d.ts +353 -2
  5. package/dist/colors.mjs +361 -1
  6. package/dist/index.cjs +12 -12
  7. package/dist/index.d.cts +69 -0
  8. package/dist/index.d.mts +69 -0
  9. package/dist/index.d.ts +6 -6
  10. package/dist/index.mjs +9 -10
  11. package/dist/rules.cjs +928 -48
  12. package/dist/rules.d.cts +133 -0
  13. package/dist/rules.d.mts +133 -0
  14. package/dist/rules.d.ts +1 -1
  15. package/dist/rules.mjs +891 -4
  16. package/dist/{default-1f25a0ae.d.ts → shared/preset-mini.024bdcea.d.ts} +1 -1
  17. package/dist/shared/preset-mini.0a9763df.d.mts +721 -0
  18. package/dist/shared/preset-mini.0fac4963.mjs +320 -0
  19. package/dist/shared/preset-mini.5bfee53b.cjs +344 -0
  20. package/dist/shared/preset-mini.5f54784f.d.mts +71 -0
  21. package/dist/shared/preset-mini.5f54784f.d.ts +71 -0
  22. package/dist/shared/preset-mini.aa3a264b.d.cts +67 -0
  23. package/dist/shared/{preset-mini.a21c5071.cjs → preset-mini.b4ad509c.cjs} +12 -8
  24. package/dist/shared/preset-mini.d69a12a5.d.cts +721 -0
  25. package/dist/{utilities-d496540e.d.ts → shared/preset-mini.e93c20db.d.ts} +1 -1
  26. package/dist/shared/{preset-mini.6c1c8016.mjs → preset-mini.f1fe435e.mjs} +13 -9
  27. package/dist/shared/preset-mini.fc26b619.d.mts +67 -0
  28. package/dist/theme.cjs +308 -34
  29. package/dist/theme.d.cts +264 -0
  30. package/dist/theme.d.mts +264 -0
  31. package/dist/theme.d.ts +5 -5
  32. package/dist/theme.mjs +284 -4
  33. package/dist/utils.cjs +81 -10
  34. package/dist/utils.d.cts +83 -0
  35. package/dist/utils.d.mts +83 -0
  36. package/dist/utils.d.ts +18 -18
  37. package/dist/utils.mjs +81 -3
  38. package/dist/variants.cjs +737 -33
  39. package/dist/variants.d.cts +46 -0
  40. package/dist/variants.d.mts +46 -0
  41. package/dist/variants.d.ts +4 -4
  42. package/dist/variants.mjs +714 -4
  43. package/package.json +3 -3
  44. package/dist/shared/preset-mini.0131b915.mjs +0 -704
  45. package/dist/shared/preset-mini.1c66bf79.mjs +0 -361
  46. package/dist/shared/preset-mini.74f9d55e.mjs +0 -80
  47. package/dist/shared/preset-mini.811eb23d.mjs +0 -681
  48. package/dist/shared/preset-mini.8dd73081.mjs +0 -452
  49. package/dist/shared/preset-mini.9d93761b.cjs +0 -729
  50. package/dist/shared/preset-mini.b8d9397e.cjs +0 -471
  51. package/dist/shared/preset-mini.ce5169f2.cjs +0 -730
  52. package/dist/shared/preset-mini.d778b487.cjs +0 -85
  53. package/dist/shared/preset-mini.de3bd9f7.mjs +0 -284
  54. package/dist/shared/preset-mini.e078d7da.cjs +0 -313
  55. package/dist/shared/preset-mini.f3fc54d2.cjs +0 -363
  56. /package/dist/{types-d991ba46.d.ts → shared/preset-mini.5f54784f.d.cts} +0 -0
@@ -0,0 +1,264 @@
1
+ export { colors } from './colors.cjs';
2
+ export { t as theme } from './shared/preset-mini.d69a12a5.cjs';
3
+ import { T as Theme } from './shared/preset-mini.5f54784f.cjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.5f54784f.cjs';
5
+ import '@unocss/core';
6
+
7
+ declare const blur: {
8
+ DEFAULT: string;
9
+ '0': string;
10
+ sm: string;
11
+ md: string;
12
+ lg: string;
13
+ xl: string;
14
+ '2xl': string;
15
+ '3xl': string;
16
+ };
17
+ declare const dropShadow: {
18
+ DEFAULT: string[];
19
+ sm: string;
20
+ md: string[];
21
+ lg: string[];
22
+ xl: string[];
23
+ '2xl': string;
24
+ none: string;
25
+ };
26
+
27
+ declare const fontFamily: {
28
+ sans: string;
29
+ serif: string;
30
+ mono: string;
31
+ };
32
+ declare const fontSize: Theme['fontSize'];
33
+ declare const textIndent: Theme['textIndent'];
34
+ declare const textStrokeWidth: Theme['textStrokeWidth'];
35
+ declare const textShadow: {
36
+ DEFAULT: string[];
37
+ none: string;
38
+ sm: string;
39
+ md: string[];
40
+ lg: string[];
41
+ xl: string[];
42
+ };
43
+ declare const lineHeight: {
44
+ none: string;
45
+ tight: string;
46
+ snug: string;
47
+ normal: string;
48
+ relaxed: string;
49
+ loose: string;
50
+ };
51
+ declare const letterSpacing: {
52
+ tighter: string;
53
+ tight: string;
54
+ normal: string;
55
+ wide: string;
56
+ wider: string;
57
+ widest: string;
58
+ };
59
+ declare const fontWeight: {
60
+ thin: string;
61
+ extralight: string;
62
+ light: string;
63
+ normal: string;
64
+ medium: string;
65
+ semibold: string;
66
+ bold: string;
67
+ extrabold: string;
68
+ black: string;
69
+ };
70
+ declare const wordSpacing: {
71
+ tighter: string;
72
+ tight: string;
73
+ normal: string;
74
+ wide: string;
75
+ wider: string;
76
+ widest: string;
77
+ };
78
+
79
+ declare const breakpoints: {
80
+ sm: string;
81
+ md: string;
82
+ lg: string;
83
+ xl: string;
84
+ '2xl': string;
85
+ };
86
+ declare const verticalBreakpoints: {
87
+ sm: string;
88
+ md: string;
89
+ lg: string;
90
+ xl: string;
91
+ '2xl': string;
92
+ };
93
+ declare const lineWidth: {
94
+ DEFAULT: string;
95
+ none: string;
96
+ };
97
+ declare const spacing: {
98
+ DEFAULT: string;
99
+ none: string;
100
+ xs: string;
101
+ sm: string;
102
+ lg: string;
103
+ xl: string;
104
+ '2xl': string;
105
+ '3xl': string;
106
+ '4xl': string;
107
+ '5xl': string;
108
+ '6xl': string;
109
+ '7xl': string;
110
+ '8xl': string;
111
+ '9xl': string;
112
+ };
113
+ declare const duration: {
114
+ DEFAULT: string;
115
+ none: string;
116
+ 75: string;
117
+ 100: string;
118
+ 150: string;
119
+ 200: string;
120
+ 300: string;
121
+ 500: string;
122
+ 700: string;
123
+ 1000: string;
124
+ };
125
+ declare const borderRadius: {
126
+ DEFAULT: string;
127
+ none: string;
128
+ sm: string;
129
+ md: string;
130
+ lg: string;
131
+ xl: string;
132
+ '2xl': string;
133
+ '3xl': string;
134
+ full: string;
135
+ };
136
+ declare const boxShadow: {
137
+ DEFAULT: string[];
138
+ none: string;
139
+ sm: string;
140
+ md: string[];
141
+ lg: string[];
142
+ xl: string[];
143
+ '2xl': string;
144
+ inner: string;
145
+ };
146
+ declare const easing: {
147
+ DEFAULT: string;
148
+ linear: string;
149
+ in: string;
150
+ out: string;
151
+ 'in-out': string;
152
+ };
153
+ declare const ringWidth: {
154
+ DEFAULT: string;
155
+ none: string;
156
+ };
157
+
158
+ declare const preflightBase: {
159
+ '--un-ring-inset': string;
160
+ '--un-ring-offset-width': string;
161
+ '--un-ring-offset-color': string;
162
+ '--un-ring-width': string;
163
+ '--un-ring-color': string;
164
+ '--un-shadow': string;
165
+ '--un-ring-offset-shadow': string;
166
+ '--un-ring-shadow': string;
167
+ '--un-shadow-inset': string;
168
+ '--un-rotate': number;
169
+ '--un-rotate-x': number;
170
+ '--un-rotate-y': number;
171
+ '--un-rotate-z': number;
172
+ '--un-scale-x': number;
173
+ '--un-scale-y': number;
174
+ '--un-scale-z': number;
175
+ '--un-skew-x': number;
176
+ '--un-skew-y': number;
177
+ '--un-translate-x': number;
178
+ '--un-translate-y': number;
179
+ '--un-translate-z': number;
180
+ };
181
+
182
+ declare const baseSize: {
183
+ xs: string;
184
+ sm: string;
185
+ md: string;
186
+ lg: string;
187
+ xl: string;
188
+ '2xl': string;
189
+ '3xl': string;
190
+ '4xl': string;
191
+ '5xl': string;
192
+ '6xl': string;
193
+ '7xl': string;
194
+ prose: string;
195
+ };
196
+ declare const width: {
197
+ screen: string;
198
+ xs: string;
199
+ sm: string;
200
+ md: string;
201
+ lg: string;
202
+ xl: string;
203
+ '2xl': string;
204
+ '3xl': string;
205
+ '4xl': string;
206
+ '5xl': string;
207
+ '6xl': string;
208
+ '7xl': string;
209
+ prose: string;
210
+ auto: string;
211
+ };
212
+ declare const maxWidth: {
213
+ screen: string;
214
+ xs: string;
215
+ sm: string;
216
+ md: string;
217
+ lg: string;
218
+ xl: string;
219
+ '2xl': string;
220
+ '3xl': string;
221
+ '4xl': string;
222
+ '5xl': string;
223
+ '6xl': string;
224
+ '7xl': string;
225
+ prose: string;
226
+ none: string;
227
+ };
228
+ declare const height: {
229
+ screen: string;
230
+ xs: string;
231
+ sm: string;
232
+ md: string;
233
+ lg: string;
234
+ xl: string;
235
+ '2xl': string;
236
+ '3xl': string;
237
+ '4xl': string;
238
+ '5xl': string;
239
+ '6xl': string;
240
+ '7xl': string;
241
+ prose: string;
242
+ auto: string;
243
+ };
244
+ declare const maxHeight: {
245
+ screen: string;
246
+ xs: string;
247
+ sm: string;
248
+ md: string;
249
+ lg: string;
250
+ xl: string;
251
+ '2xl': string;
252
+ '3xl': string;
253
+ '4xl': string;
254
+ '5xl': string;
255
+ '6xl': string;
256
+ '7xl': string;
257
+ prose: string;
258
+ none: string;
259
+ };
260
+ declare const containers: {
261
+ [k: string]: string;
262
+ };
263
+
264
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
@@ -0,0 +1,264 @@
1
+ export { colors } from './colors.mjs';
2
+ export { t as theme } from './shared/preset-mini.0a9763df.mjs';
3
+ import { T as Theme } from './shared/preset-mini.5f54784f.mjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.5f54784f.mjs';
5
+ import '@unocss/core';
6
+
7
+ declare const blur: {
8
+ DEFAULT: string;
9
+ '0': string;
10
+ sm: string;
11
+ md: string;
12
+ lg: string;
13
+ xl: string;
14
+ '2xl': string;
15
+ '3xl': string;
16
+ };
17
+ declare const dropShadow: {
18
+ DEFAULT: string[];
19
+ sm: string;
20
+ md: string[];
21
+ lg: string[];
22
+ xl: string[];
23
+ '2xl': string;
24
+ none: string;
25
+ };
26
+
27
+ declare const fontFamily: {
28
+ sans: string;
29
+ serif: string;
30
+ mono: string;
31
+ };
32
+ declare const fontSize: Theme['fontSize'];
33
+ declare const textIndent: Theme['textIndent'];
34
+ declare const textStrokeWidth: Theme['textStrokeWidth'];
35
+ declare const textShadow: {
36
+ DEFAULT: string[];
37
+ none: string;
38
+ sm: string;
39
+ md: string[];
40
+ lg: string[];
41
+ xl: string[];
42
+ };
43
+ declare const lineHeight: {
44
+ none: string;
45
+ tight: string;
46
+ snug: string;
47
+ normal: string;
48
+ relaxed: string;
49
+ loose: string;
50
+ };
51
+ declare const letterSpacing: {
52
+ tighter: string;
53
+ tight: string;
54
+ normal: string;
55
+ wide: string;
56
+ wider: string;
57
+ widest: string;
58
+ };
59
+ declare const fontWeight: {
60
+ thin: string;
61
+ extralight: string;
62
+ light: string;
63
+ normal: string;
64
+ medium: string;
65
+ semibold: string;
66
+ bold: string;
67
+ extrabold: string;
68
+ black: string;
69
+ };
70
+ declare const wordSpacing: {
71
+ tighter: string;
72
+ tight: string;
73
+ normal: string;
74
+ wide: string;
75
+ wider: string;
76
+ widest: string;
77
+ };
78
+
79
+ declare const breakpoints: {
80
+ sm: string;
81
+ md: string;
82
+ lg: string;
83
+ xl: string;
84
+ '2xl': string;
85
+ };
86
+ declare const verticalBreakpoints: {
87
+ sm: string;
88
+ md: string;
89
+ lg: string;
90
+ xl: string;
91
+ '2xl': string;
92
+ };
93
+ declare const lineWidth: {
94
+ DEFAULT: string;
95
+ none: string;
96
+ };
97
+ declare const spacing: {
98
+ DEFAULT: string;
99
+ none: string;
100
+ xs: string;
101
+ sm: string;
102
+ lg: string;
103
+ xl: string;
104
+ '2xl': string;
105
+ '3xl': string;
106
+ '4xl': string;
107
+ '5xl': string;
108
+ '6xl': string;
109
+ '7xl': string;
110
+ '8xl': string;
111
+ '9xl': string;
112
+ };
113
+ declare const duration: {
114
+ DEFAULT: string;
115
+ none: string;
116
+ 75: string;
117
+ 100: string;
118
+ 150: string;
119
+ 200: string;
120
+ 300: string;
121
+ 500: string;
122
+ 700: string;
123
+ 1000: string;
124
+ };
125
+ declare const borderRadius: {
126
+ DEFAULT: string;
127
+ none: string;
128
+ sm: string;
129
+ md: string;
130
+ lg: string;
131
+ xl: string;
132
+ '2xl': string;
133
+ '3xl': string;
134
+ full: string;
135
+ };
136
+ declare const boxShadow: {
137
+ DEFAULT: string[];
138
+ none: string;
139
+ sm: string;
140
+ md: string[];
141
+ lg: string[];
142
+ xl: string[];
143
+ '2xl': string;
144
+ inner: string;
145
+ };
146
+ declare const easing: {
147
+ DEFAULT: string;
148
+ linear: string;
149
+ in: string;
150
+ out: string;
151
+ 'in-out': string;
152
+ };
153
+ declare const ringWidth: {
154
+ DEFAULT: string;
155
+ none: string;
156
+ };
157
+
158
+ declare const preflightBase: {
159
+ '--un-ring-inset': string;
160
+ '--un-ring-offset-width': string;
161
+ '--un-ring-offset-color': string;
162
+ '--un-ring-width': string;
163
+ '--un-ring-color': string;
164
+ '--un-shadow': string;
165
+ '--un-ring-offset-shadow': string;
166
+ '--un-ring-shadow': string;
167
+ '--un-shadow-inset': string;
168
+ '--un-rotate': number;
169
+ '--un-rotate-x': number;
170
+ '--un-rotate-y': number;
171
+ '--un-rotate-z': number;
172
+ '--un-scale-x': number;
173
+ '--un-scale-y': number;
174
+ '--un-scale-z': number;
175
+ '--un-skew-x': number;
176
+ '--un-skew-y': number;
177
+ '--un-translate-x': number;
178
+ '--un-translate-y': number;
179
+ '--un-translate-z': number;
180
+ };
181
+
182
+ declare const baseSize: {
183
+ xs: string;
184
+ sm: string;
185
+ md: string;
186
+ lg: string;
187
+ xl: string;
188
+ '2xl': string;
189
+ '3xl': string;
190
+ '4xl': string;
191
+ '5xl': string;
192
+ '6xl': string;
193
+ '7xl': string;
194
+ prose: string;
195
+ };
196
+ declare const width: {
197
+ screen: string;
198
+ xs: string;
199
+ sm: string;
200
+ md: string;
201
+ lg: string;
202
+ xl: string;
203
+ '2xl': string;
204
+ '3xl': string;
205
+ '4xl': string;
206
+ '5xl': string;
207
+ '6xl': string;
208
+ '7xl': string;
209
+ prose: string;
210
+ auto: string;
211
+ };
212
+ declare const maxWidth: {
213
+ screen: string;
214
+ xs: string;
215
+ sm: string;
216
+ md: string;
217
+ lg: string;
218
+ xl: string;
219
+ '2xl': string;
220
+ '3xl': string;
221
+ '4xl': string;
222
+ '5xl': string;
223
+ '6xl': string;
224
+ '7xl': string;
225
+ prose: string;
226
+ none: string;
227
+ };
228
+ declare const height: {
229
+ screen: string;
230
+ xs: string;
231
+ sm: string;
232
+ md: string;
233
+ lg: string;
234
+ xl: string;
235
+ '2xl': string;
236
+ '3xl': string;
237
+ '4xl': string;
238
+ '5xl': string;
239
+ '6xl': string;
240
+ '7xl': string;
241
+ prose: string;
242
+ auto: string;
243
+ };
244
+ declare const maxHeight: {
245
+ screen: string;
246
+ xs: string;
247
+ sm: string;
248
+ md: string;
249
+ lg: string;
250
+ xl: string;
251
+ '2xl': string;
252
+ '3xl': string;
253
+ '4xl': string;
254
+ '5xl': string;
255
+ '6xl': string;
256
+ '7xl': string;
257
+ prose: string;
258
+ none: string;
259
+ };
260
+ declare const containers: {
261
+ [k: string]: string;
262
+ };
263
+
264
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
package/dist/theme.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { c as colors } from './colors-dabdd21f.js';
2
- export { t as theme } from './default-1f25a0ae.js';
3
- import { T as Theme } from './types-d991ba46.js';
4
- export { C as Colors, T as Theme, a as ThemeAnimation } from './types-d991ba46.js';
1
+ export { colors } from './colors.js';
2
+ export { t as theme } from './shared/preset-mini.024bdcea.js';
3
+ import { T as Theme } from './shared/preset-mini.5f54784f.js';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.5f54784f.js';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
@@ -261,4 +261,4 @@ declare const containers: {
261
261
  [k: string]: string;
262
262
  };
263
263
 
264
- export { baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
264
+ export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };