@unocss/preset-mini 66.5.10 → 66.5.11
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/chunk-gol_9zmq.mjs +36 -0
- package/dist/colors-CdGFctaC.d.mts +1377 -0
- package/dist/colors-Cxq9P2g9.mjs +362 -0
- package/dist/colors.d.mts +2 -354
- package/dist/colors.mjs +2 -360
- package/dist/index-RNt7vgvR.d.mts +69 -0
- package/dist/index.d.mts +5 -76
- package/dist/index.mjs +67 -70
- package/dist/rules-CuP-xMI2.mjs +1683 -0
- package/dist/rules.d.mts +70 -48
- package/dist/rules.mjs +4 -5
- package/dist/theme-B_nKnyti.d.mts +1084 -0
- package/dist/theme-DeYMqZAV.mjs +347 -0
- package/dist/theme.d.mts +3 -338
- package/dist/theme.mjs +5 -6
- package/dist/utils-BIIzJZek.d.mts +234 -0
- package/dist/utils-DLpYZ57Q.mjs +638 -0
- package/dist/utils.d.mts +2 -77
- package/dist/utils.mjs +5 -3
- package/dist/variants.d.mts +35 -24
- package/dist/variants.mjs +661 -4
- package/package.json +7 -8
- package/colors.d.ts +0 -1
- package/dist/colors.d.ts +0 -354
- package/dist/index.d.ts +0 -76
- package/dist/rules.d.ts +0 -130
- package/dist/shared/preset-mini.BSnAbT9I.d.mts +0 -748
- package/dist/shared/preset-mini.B_2UJsV2.mjs +0 -693
- package/dist/shared/preset-mini.BjJC-NnU.d.mts +0 -79
- package/dist/shared/preset-mini.BjJC-NnU.d.ts +0 -79
- package/dist/shared/preset-mini.CRliz1QB.d.ts +0 -76
- package/dist/shared/preset-mini.CVEK1uAa.mjs +0 -355
- package/dist/shared/preset-mini.CoOfBKs_.d.ts +0 -748
- package/dist/shared/preset-mini.DBTjVFxS.mjs +0 -580
- package/dist/shared/preset-mini.QLusboLD.mjs +0 -1064
- package/dist/shared/preset-mini.kmtdc_h1.mjs +0 -324
- package/dist/shared/preset-mini.oF7XTPi1.d.mts +0 -76
- package/dist/theme.d.ts +0 -338
- package/dist/utils.d.ts +0 -77
- package/dist/variants.d.ts +0 -52
- package/rules.d.ts +0 -1
- package/theme.d.ts +0 -1
- package/utils.d.ts +0 -1
- package/variants.d.ts +0 -1
package/dist/rules.d.mts
CHANGED
|
@@ -1,38 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as Theme } from './shared/preset-mini.BjJC-NnU.mjs';
|
|
1
|
+
import { m as StaticRule, o as CSSEntries, p as Rule, r as Theme } from "./colors-CdGFctaC.mjs";
|
|
3
2
|
|
|
3
|
+
//#region src/_rules/align.d.ts
|
|
4
4
|
declare const verticalAligns: Rule[];
|
|
5
5
|
declare const textAligns: Rule[];
|
|
6
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/_rules/behaviors.d.ts
|
|
7
8
|
declare const outline: Rule<Theme>[];
|
|
8
9
|
declare const appearance: Rule[];
|
|
9
10
|
declare const willChange: Rule[];
|
|
10
|
-
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/_rules/border.d.ts
|
|
11
13
|
declare const borderStyles: string[];
|
|
12
14
|
declare const borders: Rule[];
|
|
13
15
|
declare function handlerBorderStyle([, a, s]: string[]): CSSEntries | undefined;
|
|
14
|
-
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/_rules/color.d.ts
|
|
15
18
|
/**
|
|
16
19
|
* @example op10 op-30 opacity-100
|
|
17
20
|
*/
|
|
18
21
|
declare const opacity: Rule[];
|
|
19
22
|
declare const bgColors: Rule[];
|
|
20
23
|
declare const colorScheme: Rule[];
|
|
21
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/_rules/container.d.ts
|
|
22
26
|
declare const containerParent: Rule[];
|
|
23
|
-
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/_rules/decoration.d.ts
|
|
24
29
|
declare const textDecorations: Rule<Theme>[];
|
|
25
|
-
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/_rules/default.d.ts
|
|
26
32
|
declare const rules: Rule<Theme>[];
|
|
27
|
-
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/_rules/flex.d.ts
|
|
28
35
|
declare const flex: Rule<Theme>[];
|
|
29
|
-
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/_rules/gap.d.ts
|
|
30
38
|
declare const gaps: Rule[];
|
|
31
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/_rules/grid.d.ts
|
|
32
41
|
declare const grids: Rule<Theme>[];
|
|
33
|
-
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/_rules/layout.d.ts
|
|
34
44
|
declare const overflows: Rule[];
|
|
35
|
-
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/_rules/position.d.ts
|
|
36
47
|
declare const positions: Rule[];
|
|
37
48
|
declare const justifies: StaticRule[];
|
|
38
49
|
declare const orders: Rule[];
|
|
@@ -47,38 +58,44 @@ declare const insets: Rule[];
|
|
|
47
58
|
declare const floats: Rule[];
|
|
48
59
|
declare const zIndexes: Rule[];
|
|
49
60
|
declare const boxSizing: Rule[];
|
|
50
|
-
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/_rules/question-mark.d.ts
|
|
51
63
|
/**
|
|
52
64
|
* Used for debugging, only available in development mode.
|
|
53
65
|
*
|
|
54
66
|
* @example `?` / `where`
|
|
55
67
|
*/
|
|
56
68
|
declare const questionMark: Rule[];
|
|
57
|
-
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/_rules/ring.d.ts
|
|
58
71
|
declare const ringBase: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
'--un-ring-inset': string;
|
|
73
|
+
'--un-ring-offset-width': string;
|
|
74
|
+
'--un-ring-offset-color': string;
|
|
75
|
+
'--un-ring-width': string;
|
|
76
|
+
'--un-ring-color': string;
|
|
77
|
+
'--un-shadow': string;
|
|
65
78
|
};
|
|
66
79
|
declare const rings: Rule<Theme>[];
|
|
67
|
-
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/_rules/shadow.d.ts
|
|
68
82
|
declare const boxShadowsBase: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
83
|
+
'--un-ring-offset-shadow': string;
|
|
84
|
+
'--un-ring-shadow': string;
|
|
85
|
+
'--un-shadow-inset': string;
|
|
86
|
+
'--un-shadow': string;
|
|
73
87
|
};
|
|
74
88
|
declare const boxShadows: Rule<Theme>[];
|
|
75
|
-
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/_rules/size.d.ts
|
|
76
91
|
declare const sizes: Rule<Theme>[];
|
|
77
92
|
declare const aspectRatio: Rule[];
|
|
78
|
-
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/_rules/spacing.d.ts
|
|
79
95
|
declare const paddings: Rule[];
|
|
80
96
|
declare const margins: Rule[];
|
|
81
|
-
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region src/_rules/static.d.ts
|
|
82
99
|
declare const varEmpty = " ";
|
|
83
100
|
declare const displays: Rule[];
|
|
84
101
|
declare const appearances: Rule[];
|
|
@@ -97,34 +114,39 @@ declare const textTransforms: Rule[];
|
|
|
97
114
|
declare const fontStyles: Rule[];
|
|
98
115
|
declare const fontSmoothings: Rule[];
|
|
99
116
|
declare const fieldSizing: Rule[];
|
|
100
|
-
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/_rules/svg.d.ts
|
|
101
119
|
declare const svgUtilities: Rule<Theme>[];
|
|
102
|
-
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/_rules/transform.d.ts
|
|
103
122
|
declare const transformBase: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
123
|
+
'--un-rotate': number;
|
|
124
|
+
'--un-rotate-x': number;
|
|
125
|
+
'--un-rotate-y': number;
|
|
126
|
+
'--un-rotate-z': number;
|
|
127
|
+
'--un-scale-x': number;
|
|
128
|
+
'--un-scale-y': number;
|
|
129
|
+
'--un-scale-z': number;
|
|
130
|
+
'--un-skew-x': number;
|
|
131
|
+
'--un-skew-y': number;
|
|
132
|
+
'--un-translate-x': number;
|
|
133
|
+
'--un-translate-y': number;
|
|
134
|
+
'--un-translate-z': number;
|
|
116
135
|
};
|
|
117
136
|
declare const transforms: Rule[];
|
|
118
|
-
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/_rules/transition.d.ts
|
|
119
139
|
declare const transitions: Rule<Theme>[];
|
|
120
|
-
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/_rules/typography.d.ts
|
|
121
142
|
declare const fonts: Rule<Theme>[];
|
|
122
143
|
declare const tabSizes: Rule<Theme>[];
|
|
123
144
|
declare const textIndents: Rule<Theme>[];
|
|
124
145
|
declare const textStrokes: Rule<Theme>[];
|
|
125
146
|
declare const textShadows: Rule<Theme>[];
|
|
126
|
-
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/_rules/variables.d.ts
|
|
127
149
|
declare const cssVariables: Rule[];
|
|
128
150
|
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 };
|
|
151
|
+
//#endregion
|
|
152
|
+
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 };
|
package/dist/rules.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import '@unocss/rule-utils';
|
|
1
|
+
import "./utils-DLpYZ57Q.mjs";
|
|
2
|
+
import { $ as flex, A as fontStyles, B as alignments, C as contains, D as displays, E as cursors, F as textWraps, G as justifies, H as flexGridJustifiesAlignments, I as userSelects, J as positions, K as orders, L as varEmpty, M as resizes, N as textOverflows, O as fieldSizing, P as textTransforms, Q as gaps, R as whitespaces, S as breaks, T as contents, U as floats, V as boxSizing, W as insets, X as overflows, Y as zIndexes, Z as grids, _ as boxShadows, a as tabSizes, at as borderStyles, b as rings, c as textStrokes, ct as appearance, d as transforms, dt as textAligns, et as textDecorations, f as svgUtilities, ft as verticalAligns, g as sizes, h as aspectRatio, i as fonts, it as opacity, j as pointerEvents, k as fontSmoothings, l as transitions, lt as outline, m as paddings, n as cssProperty, nt as bgColors, o as textIndents, ot as borders, p as margins, q as placements, r as cssVariables, rt as colorScheme, s as textShadows, st as handlerBorderStyle, t as rules, tt as containerParent, u as transformBase, ut as willChange, v as boxShadowsBase, w as contentVisibility, x as appearances, y as ringBase, z as questionMark } from "./rules-CuP-xMI2.mjs";
|
|
3
|
+
|
|
4
|
+
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 };
|