@unocss/preset-mini 0.55.1 → 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.
- package/dist/colors.cjs +360 -6
- package/dist/{colors-dabdd21f.d.ts → colors.d.cts} +3 -2
- package/dist/colors.d.mts +354 -0
- package/dist/colors.d.ts +353 -2
- package/dist/colors.mjs +361 -1
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +69 -0
- package/dist/index.d.mts +69 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +9 -10
- package/dist/rules.cjs +928 -48
- package/dist/rules.d.cts +133 -0
- package/dist/rules.d.mts +133 -0
- package/dist/rules.d.ts +1 -1
- package/dist/rules.mjs +891 -4
- package/dist/{default-1f25a0ae.d.ts → shared/preset-mini.024bdcea.d.ts} +1 -1
- package/dist/shared/preset-mini.0a9763df.d.mts +721 -0
- package/dist/shared/preset-mini.0fac4963.mjs +320 -0
- package/dist/shared/preset-mini.5bfee53b.cjs +344 -0
- package/dist/shared/preset-mini.5f54784f.d.mts +71 -0
- package/dist/shared/preset-mini.5f54784f.d.ts +71 -0
- package/dist/shared/preset-mini.aa3a264b.d.cts +67 -0
- package/dist/shared/{preset-mini.a21c5071.cjs → preset-mini.b4ad509c.cjs} +12 -8
- package/dist/shared/preset-mini.d69a12a5.d.cts +721 -0
- package/dist/{utilities-d496540e.d.ts → shared/preset-mini.e93c20db.d.ts} +1 -1
- package/dist/shared/{preset-mini.6c1c8016.mjs → preset-mini.f1fe435e.mjs} +13 -9
- package/dist/shared/preset-mini.fc26b619.d.mts +67 -0
- package/dist/theme.cjs +308 -34
- package/dist/theme.d.cts +264 -0
- package/dist/theme.d.mts +264 -0
- package/dist/theme.d.ts +5 -5
- package/dist/theme.mjs +284 -4
- package/dist/utils.cjs +81 -10
- package/dist/utils.d.cts +83 -0
- package/dist/utils.d.mts +83 -0
- package/dist/utils.d.ts +20 -20
- package/dist/utils.mjs +81 -3
- package/dist/variants.cjs +737 -33
- package/dist/variants.d.cts +46 -0
- package/dist/variants.d.mts +46 -0
- package/dist/variants.d.ts +4 -4
- package/dist/variants.mjs +714 -4
- package/package.json +3 -3
- package/dist/shared/preset-mini.0131b915.mjs +0 -704
- package/dist/shared/preset-mini.1c66bf79.mjs +0 -361
- package/dist/shared/preset-mini.74f9d55e.mjs +0 -80
- package/dist/shared/preset-mini.811eb23d.mjs +0 -681
- package/dist/shared/preset-mini.8dd73081.mjs +0 -452
- package/dist/shared/preset-mini.9d93761b.cjs +0 -729
- package/dist/shared/preset-mini.b8d9397e.cjs +0 -471
- package/dist/shared/preset-mini.ce5169f2.cjs +0 -730
- package/dist/shared/preset-mini.d778b487.cjs +0 -85
- package/dist/shared/preset-mini.de3bd9f7.mjs +0 -284
- package/dist/shared/preset-mini.e078d7da.cjs +0 -313
- package/dist/shared/preset-mini.f3fc54d2.cjs +0 -363
- /package/dist/{types-d991ba46.d.ts → shared/preset-mini.5f54784f.d.cts} +0 -0
package/dist/rules.d.cts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Rule, CSSEntries, StaticRule } from '@unocss/core';
|
|
2
|
+
import { T as Theme } from './shared/preset-mini.5f54784f.cjs';
|
|
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
|
+
/**
|
|
20
|
+
* @example c-red color-red5 text-red-300
|
|
21
|
+
*/
|
|
22
|
+
declare const textColors: Rule[];
|
|
23
|
+
declare const bgColors: Rule[];
|
|
24
|
+
declare const colorScheme: Rule[];
|
|
25
|
+
|
|
26
|
+
declare const containerParent: Rule[];
|
|
27
|
+
|
|
28
|
+
declare const textDecorations: Rule<Theme>[];
|
|
29
|
+
|
|
30
|
+
declare const rules: Rule[];
|
|
31
|
+
|
|
32
|
+
declare const flex: Rule<Theme>[];
|
|
33
|
+
|
|
34
|
+
declare const gaps: Rule[];
|
|
35
|
+
|
|
36
|
+
declare const grids: Rule<Theme>[];
|
|
37
|
+
|
|
38
|
+
declare const overflows: Rule[];
|
|
39
|
+
|
|
40
|
+
declare const positions: Rule[];
|
|
41
|
+
declare const justifies: StaticRule[];
|
|
42
|
+
declare const orders: Rule[];
|
|
43
|
+
declare const alignments: StaticRule[];
|
|
44
|
+
declare const placements: Rule[];
|
|
45
|
+
/**
|
|
46
|
+
* This is to add `flex-` and `grid-` prefix to the alignment rules,
|
|
47
|
+
* supporting `flex="~ items-center"` in attributify mode.
|
|
48
|
+
*/
|
|
49
|
+
declare const flexGridJustifiesAlignments: StaticRule[];
|
|
50
|
+
declare const insets: Rule[];
|
|
51
|
+
declare const floats: Rule[];
|
|
52
|
+
declare const zIndexes: Rule[];
|
|
53
|
+
declare const boxSizing: Rule[];
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Used for debugging, only available in development mode.
|
|
57
|
+
*
|
|
58
|
+
* @example `?` / `where`
|
|
59
|
+
*/
|
|
60
|
+
declare const questionMark: Rule[];
|
|
61
|
+
|
|
62
|
+
declare const ringBase: {
|
|
63
|
+
'--un-ring-inset': string;
|
|
64
|
+
'--un-ring-offset-width': string;
|
|
65
|
+
'--un-ring-offset-color': string;
|
|
66
|
+
'--un-ring-width': string;
|
|
67
|
+
'--un-ring-color': string;
|
|
68
|
+
'--un-shadow': string;
|
|
69
|
+
};
|
|
70
|
+
declare const rings: Rule<Theme>[];
|
|
71
|
+
|
|
72
|
+
declare const boxShadowsBase: {
|
|
73
|
+
'--un-ring-offset-shadow': string;
|
|
74
|
+
'--un-ring-shadow': string;
|
|
75
|
+
'--un-shadow-inset': string;
|
|
76
|
+
'--un-shadow': string;
|
|
77
|
+
};
|
|
78
|
+
declare const boxShadows: Rule<Theme>[];
|
|
79
|
+
|
|
80
|
+
declare const sizes: Rule<Theme>[];
|
|
81
|
+
declare const aspectRatio: Rule[];
|
|
82
|
+
|
|
83
|
+
declare const paddings: Rule[];
|
|
84
|
+
declare const margins: Rule[];
|
|
85
|
+
|
|
86
|
+
declare const varEmpty = " ";
|
|
87
|
+
declare const displays: Rule[];
|
|
88
|
+
declare const appearances: Rule[];
|
|
89
|
+
declare const cursors: Rule[];
|
|
90
|
+
declare const contains: Rule[];
|
|
91
|
+
declare const pointerEvents: Rule[];
|
|
92
|
+
declare const resizes: Rule[];
|
|
93
|
+
declare const userSelects: Rule[];
|
|
94
|
+
declare const whitespaces: Rule[];
|
|
95
|
+
declare const contentVisibility: Rule[];
|
|
96
|
+
declare const contents: Rule[];
|
|
97
|
+
declare const breaks: Rule[];
|
|
98
|
+
declare const textWraps: Rule[];
|
|
99
|
+
declare const textOverflows: Rule[];
|
|
100
|
+
declare const textTransforms: Rule[];
|
|
101
|
+
declare const fontStyles: Rule[];
|
|
102
|
+
declare const fontSmoothings: Rule[];
|
|
103
|
+
|
|
104
|
+
declare const svgUtilities: Rule<Theme>[];
|
|
105
|
+
|
|
106
|
+
declare const transformBase: {
|
|
107
|
+
'--un-rotate': number;
|
|
108
|
+
'--un-rotate-x': number;
|
|
109
|
+
'--un-rotate-y': number;
|
|
110
|
+
'--un-rotate-z': number;
|
|
111
|
+
'--un-scale-x': number;
|
|
112
|
+
'--un-scale-y': number;
|
|
113
|
+
'--un-scale-z': number;
|
|
114
|
+
'--un-skew-x': number;
|
|
115
|
+
'--un-skew-y': number;
|
|
116
|
+
'--un-translate-x': number;
|
|
117
|
+
'--un-translate-y': number;
|
|
118
|
+
'--un-translate-z': number;
|
|
119
|
+
};
|
|
120
|
+
declare const transforms: Rule[];
|
|
121
|
+
|
|
122
|
+
declare const transitions: Rule<Theme>[];
|
|
123
|
+
|
|
124
|
+
declare const fonts: Rule<Theme>[];
|
|
125
|
+
declare const tabSizes: Rule<Theme>[];
|
|
126
|
+
declare const textIndents: Rule<Theme>[];
|
|
127
|
+
declare const textStrokes: Rule<Theme>[];
|
|
128
|
+
declare const textShadows: Rule<Theme>[];
|
|
129
|
+
|
|
130
|
+
declare const cssVariables: Rule[];
|
|
131
|
+
declare const cssProperty: Rule[];
|
|
132
|
+
|
|
133
|
+
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, colorScheme, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, 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, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
package/dist/rules.d.mts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Rule, CSSEntries, StaticRule } from '@unocss/core';
|
|
2
|
+
import { T as Theme } from './shared/preset-mini.5f54784f.mjs';
|
|
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
|
+
/**
|
|
20
|
+
* @example c-red color-red5 text-red-300
|
|
21
|
+
*/
|
|
22
|
+
declare const textColors: Rule[];
|
|
23
|
+
declare const bgColors: Rule[];
|
|
24
|
+
declare const colorScheme: Rule[];
|
|
25
|
+
|
|
26
|
+
declare const containerParent: Rule[];
|
|
27
|
+
|
|
28
|
+
declare const textDecorations: Rule<Theme>[];
|
|
29
|
+
|
|
30
|
+
declare const rules: Rule[];
|
|
31
|
+
|
|
32
|
+
declare const flex: Rule<Theme>[];
|
|
33
|
+
|
|
34
|
+
declare const gaps: Rule[];
|
|
35
|
+
|
|
36
|
+
declare const grids: Rule<Theme>[];
|
|
37
|
+
|
|
38
|
+
declare const overflows: Rule[];
|
|
39
|
+
|
|
40
|
+
declare const positions: Rule[];
|
|
41
|
+
declare const justifies: StaticRule[];
|
|
42
|
+
declare const orders: Rule[];
|
|
43
|
+
declare const alignments: StaticRule[];
|
|
44
|
+
declare const placements: Rule[];
|
|
45
|
+
/**
|
|
46
|
+
* This is to add `flex-` and `grid-` prefix to the alignment rules,
|
|
47
|
+
* supporting `flex="~ items-center"` in attributify mode.
|
|
48
|
+
*/
|
|
49
|
+
declare const flexGridJustifiesAlignments: StaticRule[];
|
|
50
|
+
declare const insets: Rule[];
|
|
51
|
+
declare const floats: Rule[];
|
|
52
|
+
declare const zIndexes: Rule[];
|
|
53
|
+
declare const boxSizing: Rule[];
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Used for debugging, only available in development mode.
|
|
57
|
+
*
|
|
58
|
+
* @example `?` / `where`
|
|
59
|
+
*/
|
|
60
|
+
declare const questionMark: Rule[];
|
|
61
|
+
|
|
62
|
+
declare const ringBase: {
|
|
63
|
+
'--un-ring-inset': string;
|
|
64
|
+
'--un-ring-offset-width': string;
|
|
65
|
+
'--un-ring-offset-color': string;
|
|
66
|
+
'--un-ring-width': string;
|
|
67
|
+
'--un-ring-color': string;
|
|
68
|
+
'--un-shadow': string;
|
|
69
|
+
};
|
|
70
|
+
declare const rings: Rule<Theme>[];
|
|
71
|
+
|
|
72
|
+
declare const boxShadowsBase: {
|
|
73
|
+
'--un-ring-offset-shadow': string;
|
|
74
|
+
'--un-ring-shadow': string;
|
|
75
|
+
'--un-shadow-inset': string;
|
|
76
|
+
'--un-shadow': string;
|
|
77
|
+
};
|
|
78
|
+
declare const boxShadows: Rule<Theme>[];
|
|
79
|
+
|
|
80
|
+
declare const sizes: Rule<Theme>[];
|
|
81
|
+
declare const aspectRatio: Rule[];
|
|
82
|
+
|
|
83
|
+
declare const paddings: Rule[];
|
|
84
|
+
declare const margins: Rule[];
|
|
85
|
+
|
|
86
|
+
declare const varEmpty = " ";
|
|
87
|
+
declare const displays: Rule[];
|
|
88
|
+
declare const appearances: Rule[];
|
|
89
|
+
declare const cursors: Rule[];
|
|
90
|
+
declare const contains: Rule[];
|
|
91
|
+
declare const pointerEvents: Rule[];
|
|
92
|
+
declare const resizes: Rule[];
|
|
93
|
+
declare const userSelects: Rule[];
|
|
94
|
+
declare const whitespaces: Rule[];
|
|
95
|
+
declare const contentVisibility: Rule[];
|
|
96
|
+
declare const contents: Rule[];
|
|
97
|
+
declare const breaks: Rule[];
|
|
98
|
+
declare const textWraps: Rule[];
|
|
99
|
+
declare const textOverflows: Rule[];
|
|
100
|
+
declare const textTransforms: Rule[];
|
|
101
|
+
declare const fontStyles: Rule[];
|
|
102
|
+
declare const fontSmoothings: Rule[];
|
|
103
|
+
|
|
104
|
+
declare const svgUtilities: Rule<Theme>[];
|
|
105
|
+
|
|
106
|
+
declare const transformBase: {
|
|
107
|
+
'--un-rotate': number;
|
|
108
|
+
'--un-rotate-x': number;
|
|
109
|
+
'--un-rotate-y': number;
|
|
110
|
+
'--un-rotate-z': number;
|
|
111
|
+
'--un-scale-x': number;
|
|
112
|
+
'--un-scale-y': number;
|
|
113
|
+
'--un-scale-z': number;
|
|
114
|
+
'--un-skew-x': number;
|
|
115
|
+
'--un-skew-y': number;
|
|
116
|
+
'--un-translate-x': number;
|
|
117
|
+
'--un-translate-y': number;
|
|
118
|
+
'--un-translate-z': number;
|
|
119
|
+
};
|
|
120
|
+
declare const transforms: Rule[];
|
|
121
|
+
|
|
122
|
+
declare const transitions: Rule<Theme>[];
|
|
123
|
+
|
|
124
|
+
declare const fonts: Rule<Theme>[];
|
|
125
|
+
declare const tabSizes: Rule<Theme>[];
|
|
126
|
+
declare const textIndents: Rule<Theme>[];
|
|
127
|
+
declare const textStrokes: Rule<Theme>[];
|
|
128
|
+
declare const textShadows: Rule<Theme>[];
|
|
129
|
+
|
|
130
|
+
declare const cssVariables: Rule[];
|
|
131
|
+
declare const cssProperty: Rule[];
|
|
132
|
+
|
|
133
|
+
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, colorScheme, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, 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, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
package/dist/rules.d.ts
CHANGED