@unocss/preset-uno 0.14.0 → 0.15.0
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 +11 -0
- package/dist/colors.d.ts +1 -2
- package/dist/colors.mjs +1 -7
- package/dist/index.cjs +12 -0
- package/dist/index.d.ts +8 -12
- package/dist/index.mjs +5 -38
- package/dist/theme.cjs +11 -0
- package/dist/theme.d.ts +1 -157
- package/dist/theme.mjs +1 -47
- package/dist/utils.cjs +11 -0
- package/dist/utils.d.ts +1 -56
- package/dist/utils.mjs +1 -37
- package/package.json +11 -19
- package/dist/chunk-5SH5BFJ4.mjs +0 -11
- package/dist/chunk-7O4GGKN3.js +0 -340
- package/dist/chunk-BLAKJWHG.mjs +0 -233
- package/dist/chunk-BOWXQI3B.js +0 -233
- package/dist/chunk-KJWQWIBC.js +0 -1815
- package/dist/chunk-LPZDYB4J.js +0 -190
- package/dist/chunk-MBU6ORW7.mjs +0 -234
- package/dist/chunk-O7YRGPXQ.mjs +0 -190
- package/dist/chunk-P5HELYQA.mjs +0 -340
- package/dist/chunk-SCDAAOPN.mjs +0 -1815
- package/dist/chunk-Y6EUTGDC.js +0 -11
- package/dist/chunk-ZSX2GKSH.js +0 -234
- package/dist/colors-d6b5a5b4.d.ts +0 -5
- package/dist/colors.js +0 -7
- package/dist/default-c7c67d23.d.ts +0 -5
- package/dist/index.js +0 -39
- package/dist/rules.d.ts +0 -160
- package/dist/rules.js +0 -226
- package/dist/rules.mjs +0 -226
- package/dist/theme.js +0 -47
- package/dist/types-7963d0b3.d.ts +0 -24
- package/dist/utils.js +0 -37
- package/dist/variants.d.ts +0 -21
- package/dist/variants.js +0 -28
- package/dist/variants.mjs +0 -28
package/dist/rules.mjs
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
alignContents,
|
|
3
|
-
alignItems,
|
|
4
|
-
alignSelfs,
|
|
5
|
-
animations,
|
|
6
|
-
appearance,
|
|
7
|
-
appearances,
|
|
8
|
-
aspectRatio,
|
|
9
|
-
bgAttachments,
|
|
10
|
-
bgBlendModes,
|
|
11
|
-
bgClips,
|
|
12
|
-
bgColors,
|
|
13
|
-
bgGradients,
|
|
14
|
-
bgImages,
|
|
15
|
-
bgOrigins,
|
|
16
|
-
bgPositions,
|
|
17
|
-
bgRepeats,
|
|
18
|
-
bgSizes,
|
|
19
|
-
borderColors,
|
|
20
|
-
borderRadius,
|
|
21
|
-
borderSizes,
|
|
22
|
-
borderStyles,
|
|
23
|
-
borders,
|
|
24
|
-
boxDecorationBreaks,
|
|
25
|
-
boxShadows,
|
|
26
|
-
boxSizing,
|
|
27
|
-
breaks,
|
|
28
|
-
caretColors,
|
|
29
|
-
caretOpacity,
|
|
30
|
-
colorResolver,
|
|
31
|
-
container,
|
|
32
|
-
containerShortcuts,
|
|
33
|
-
contents,
|
|
34
|
-
cssVariables,
|
|
35
|
-
cursors,
|
|
36
|
-
displays,
|
|
37
|
-
divideColors,
|
|
38
|
-
divideSizes,
|
|
39
|
-
divideStyles,
|
|
40
|
-
divides,
|
|
41
|
-
fillColors,
|
|
42
|
-
filters,
|
|
43
|
-
flex,
|
|
44
|
-
floats,
|
|
45
|
-
fontSizes,
|
|
46
|
-
fontSmoothings,
|
|
47
|
-
fontStyles,
|
|
48
|
-
fontWeights,
|
|
49
|
-
fonts,
|
|
50
|
-
fontsFamilies,
|
|
51
|
-
gaps,
|
|
52
|
-
grids,
|
|
53
|
-
hyphens,
|
|
54
|
-
imageRenderings,
|
|
55
|
-
insets,
|
|
56
|
-
isolations,
|
|
57
|
-
justifies,
|
|
58
|
-
justifyItems,
|
|
59
|
-
justifySelfs,
|
|
60
|
-
leadings,
|
|
61
|
-
lineClamps,
|
|
62
|
-
listStyle,
|
|
63
|
-
margins,
|
|
64
|
-
mixBlendModes,
|
|
65
|
-
objectPositions,
|
|
66
|
-
opacity,
|
|
67
|
-
orders,
|
|
68
|
-
outline,
|
|
69
|
-
overflows,
|
|
70
|
-
overscrolls,
|
|
71
|
-
paddings,
|
|
72
|
-
parseColorUtil,
|
|
73
|
-
placeContents,
|
|
74
|
-
placeItems,
|
|
75
|
-
placeSelfs,
|
|
76
|
-
placeholder,
|
|
77
|
-
pointerEvents,
|
|
78
|
-
positions,
|
|
79
|
-
questionMark,
|
|
80
|
-
resizes,
|
|
81
|
-
ringColors,
|
|
82
|
-
ringOffsetColors,
|
|
83
|
-
rings,
|
|
84
|
-
rules,
|
|
85
|
-
screenReadersAccess,
|
|
86
|
-
sizes,
|
|
87
|
-
tabSizes,
|
|
88
|
-
tables,
|
|
89
|
-
textAligns,
|
|
90
|
-
textColors,
|
|
91
|
-
textDecorationColors,
|
|
92
|
-
textDecorationLengths,
|
|
93
|
-
textDecorationOffsets,
|
|
94
|
-
textDecorationStyles,
|
|
95
|
-
textDecorations,
|
|
96
|
-
textIndents,
|
|
97
|
-
textOverflows,
|
|
98
|
-
textShadows,
|
|
99
|
-
textStrokeColors,
|
|
100
|
-
textStrokeWidths,
|
|
101
|
-
textTransforms,
|
|
102
|
-
trackings,
|
|
103
|
-
transforms,
|
|
104
|
-
transitions,
|
|
105
|
-
userSelects,
|
|
106
|
-
verticalAligns,
|
|
107
|
-
whitespaces,
|
|
108
|
-
wordSpacings,
|
|
109
|
-
writingModes,
|
|
110
|
-
writingOrientations,
|
|
111
|
-
zIndexes
|
|
112
|
-
} from "./chunk-SCDAAOPN.mjs";
|
|
113
|
-
import "./chunk-O7YRGPXQ.mjs";
|
|
114
|
-
import "./chunk-5SH5BFJ4.mjs";
|
|
115
|
-
export {
|
|
116
|
-
alignContents,
|
|
117
|
-
alignItems,
|
|
118
|
-
alignSelfs,
|
|
119
|
-
animations,
|
|
120
|
-
appearance,
|
|
121
|
-
appearances,
|
|
122
|
-
aspectRatio,
|
|
123
|
-
bgAttachments,
|
|
124
|
-
bgBlendModes,
|
|
125
|
-
bgClips,
|
|
126
|
-
bgColors,
|
|
127
|
-
bgGradients,
|
|
128
|
-
bgImages,
|
|
129
|
-
bgOrigins,
|
|
130
|
-
bgPositions,
|
|
131
|
-
bgRepeats,
|
|
132
|
-
bgSizes,
|
|
133
|
-
borderColors,
|
|
134
|
-
borderRadius,
|
|
135
|
-
borderSizes,
|
|
136
|
-
borderStyles,
|
|
137
|
-
borders,
|
|
138
|
-
boxDecorationBreaks,
|
|
139
|
-
boxShadows,
|
|
140
|
-
boxSizing,
|
|
141
|
-
breaks,
|
|
142
|
-
caretColors,
|
|
143
|
-
caretOpacity,
|
|
144
|
-
colorResolver,
|
|
145
|
-
container,
|
|
146
|
-
containerShortcuts,
|
|
147
|
-
contents,
|
|
148
|
-
cssVariables,
|
|
149
|
-
cursors,
|
|
150
|
-
displays,
|
|
151
|
-
divideColors,
|
|
152
|
-
divideSizes,
|
|
153
|
-
divideStyles,
|
|
154
|
-
divides,
|
|
155
|
-
fillColors,
|
|
156
|
-
filters,
|
|
157
|
-
flex,
|
|
158
|
-
floats,
|
|
159
|
-
fontSizes,
|
|
160
|
-
fontSmoothings,
|
|
161
|
-
fontStyles,
|
|
162
|
-
fontWeights,
|
|
163
|
-
fonts,
|
|
164
|
-
fontsFamilies,
|
|
165
|
-
gaps,
|
|
166
|
-
grids,
|
|
167
|
-
hyphens,
|
|
168
|
-
imageRenderings,
|
|
169
|
-
insets,
|
|
170
|
-
isolations,
|
|
171
|
-
justifies,
|
|
172
|
-
justifyItems,
|
|
173
|
-
justifySelfs,
|
|
174
|
-
leadings,
|
|
175
|
-
lineClamps,
|
|
176
|
-
listStyle,
|
|
177
|
-
margins,
|
|
178
|
-
mixBlendModes,
|
|
179
|
-
objectPositions,
|
|
180
|
-
opacity,
|
|
181
|
-
orders,
|
|
182
|
-
outline,
|
|
183
|
-
overflows,
|
|
184
|
-
overscrolls,
|
|
185
|
-
paddings,
|
|
186
|
-
parseColorUtil,
|
|
187
|
-
placeContents,
|
|
188
|
-
placeItems,
|
|
189
|
-
placeSelfs,
|
|
190
|
-
placeholder,
|
|
191
|
-
pointerEvents,
|
|
192
|
-
positions,
|
|
193
|
-
questionMark,
|
|
194
|
-
resizes,
|
|
195
|
-
ringColors,
|
|
196
|
-
ringOffsetColors,
|
|
197
|
-
rings,
|
|
198
|
-
rules,
|
|
199
|
-
screenReadersAccess,
|
|
200
|
-
sizes,
|
|
201
|
-
tabSizes,
|
|
202
|
-
tables,
|
|
203
|
-
textAligns,
|
|
204
|
-
textColors,
|
|
205
|
-
textDecorationColors,
|
|
206
|
-
textDecorationLengths,
|
|
207
|
-
textDecorationOffsets,
|
|
208
|
-
textDecorationStyles,
|
|
209
|
-
textDecorations,
|
|
210
|
-
textIndents,
|
|
211
|
-
textOverflows,
|
|
212
|
-
textShadows,
|
|
213
|
-
textStrokeColors,
|
|
214
|
-
textStrokeWidths,
|
|
215
|
-
textTransforms,
|
|
216
|
-
trackings,
|
|
217
|
-
transforms,
|
|
218
|
-
transitions,
|
|
219
|
-
userSelects,
|
|
220
|
-
verticalAligns,
|
|
221
|
-
whitespaces,
|
|
222
|
-
wordSpacings,
|
|
223
|
-
writingModes,
|
|
224
|
-
writingOrientations,
|
|
225
|
-
zIndexes
|
|
226
|
-
};
|
package/dist/theme.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var _chunkBOWXQI3Bjs = require('./chunk-BOWXQI3B.js');
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _chunk7O4GGKN3js = require('./chunk-7O4GGKN3.js');
|
|
25
|
-
require('./chunk-Y6EUTGDC.js');
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
exports.baseSize = _chunkBOWXQI3Bjs.baseSize; exports.blur = _chunkBOWXQI3Bjs.blur; exports.borderRadius = _chunkBOWXQI3Bjs.borderRadius; exports.boxShadow = _chunkBOWXQI3Bjs.boxShadow; exports.breakpoints = _chunkBOWXQI3Bjs.breakpoints; exports.colors = _chunk7O4GGKN3js.colors; exports.dropShadow = _chunkBOWXQI3Bjs.dropShadow; exports.fontFamily = _chunkBOWXQI3Bjs.fontFamily; exports.fontSize = _chunkBOWXQI3Bjs.fontSize; exports.height = _chunkBOWXQI3Bjs.height; exports.letterSpacing = _chunkBOWXQI3Bjs.letterSpacing; exports.lineHeight = _chunkBOWXQI3Bjs.lineHeight; exports.maxHeight = _chunkBOWXQI3Bjs.maxHeight; exports.maxWidth = _chunkBOWXQI3Bjs.maxWidth; exports.textIndent = _chunkBOWXQI3Bjs.textIndent; exports.textShadow = _chunkBOWXQI3Bjs.textShadow; exports.textStrokeWidth = _chunkBOWXQI3Bjs.textStrokeWidth; exports.theme = _chunkBOWXQI3Bjs.theme; exports.width = _chunkBOWXQI3Bjs.width; exports.wordSpacing = _chunkBOWXQI3Bjs.wordSpacing;
|
package/dist/types-7963d0b3.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
interface Theme {
|
|
2
|
-
width?: Record<string, string>;
|
|
3
|
-
height?: Record<string, string>;
|
|
4
|
-
maxWidth?: Record<string, string>;
|
|
5
|
-
maxHeight?: Record<string, string>;
|
|
6
|
-
minWidth?: Record<string, string>;
|
|
7
|
-
minHeight?: Record<string, string>;
|
|
8
|
-
borderRadius?: Record<string, string>;
|
|
9
|
-
breakpoints?: Record<string, string>;
|
|
10
|
-
colors?: Record<string, string | Record<string, string>>;
|
|
11
|
-
fontFamily?: Record<string, string>;
|
|
12
|
-
fontSize?: Record<string, [string, string]>;
|
|
13
|
-
lineHeight?: Record<string, string>;
|
|
14
|
-
letterSpacing?: Record<string, string>;
|
|
15
|
-
wordSpacing?: Record<string, string>;
|
|
16
|
-
boxShadow?: Record<string, string>;
|
|
17
|
-
textIndent?: Record<string, string>;
|
|
18
|
-
textShadow?: Record<string, string>;
|
|
19
|
-
textStrokeWidth?: Record<string, string>;
|
|
20
|
-
blur?: Record<string, string>;
|
|
21
|
-
dropShadow?: Record<string, string | string[]>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { Theme as T };
|
package/dist/utils.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _chunkLPZDYB4Jjs = require('./chunk-LPZDYB4J.js');
|
|
19
|
-
require('./chunk-Y6EUTGDC.js');
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
exports.bracket = _chunkLPZDYB4Jjs.bracket; exports.capitalize = _chunkLPZDYB4Jjs.capitalize; exports.cornerMap = _chunkLPZDYB4Jjs.cornerMap; exports.cssvar = _chunkLPZDYB4Jjs.cssvar; exports.directionMap = _chunkLPZDYB4Jjs.directionMap; exports.fraction = _chunkLPZDYB4Jjs.fraction; exports.global = _chunkLPZDYB4Jjs.global; exports.handler = _chunkLPZDYB4Jjs.handler; exports.handlersNames = _chunkLPZDYB4Jjs.handlersNames; exports.number = _chunkLPZDYB4Jjs.number; exports.percent = _chunkLPZDYB4Jjs.percent; exports.px = _chunkLPZDYB4Jjs.px; exports.rem = _chunkLPZDYB4Jjs.rem; exports.time = _chunkLPZDYB4Jjs.time; exports.variantMatcher = _chunkLPZDYB4Jjs.variantMatcher; exports.xyzMap = _chunkLPZDYB4Jjs.xyzMap;
|
package/dist/variants.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Variant, VariantFunction, VariantObject } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './types-7963d0b3';
|
|
3
|
-
|
|
4
|
-
declare const variantBreakpoints: Variant<Theme>;
|
|
5
|
-
|
|
6
|
-
declare const variantChildren: Variant[];
|
|
7
|
-
|
|
8
|
-
declare const variantColorsClass: Variant[];
|
|
9
|
-
declare const variantColorsMedia: Variant[];
|
|
10
|
-
|
|
11
|
-
declare const variants: Variant<Theme>[];
|
|
12
|
-
|
|
13
|
-
declare const variantImportant: Variant;
|
|
14
|
-
declare const variantNegative: Variant;
|
|
15
|
-
declare const variantSpace: Variant;
|
|
16
|
-
|
|
17
|
-
declare const PseudoClasses: Record<string, string | undefined>;
|
|
18
|
-
declare const variantPseudoElements: VariantFunction;
|
|
19
|
-
declare const variantPseudoClasses: VariantObject;
|
|
20
|
-
|
|
21
|
-
export { PseudoClasses, variantBreakpoints, variantChildren, variantColorsClass, variantColorsMedia, variantImportant, variantNegative, variantPseudoClasses, variantPseudoElements, variantSpace, variants };
|
package/dist/variants.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunkZSX2GKSHjs = require('./chunk-ZSX2GKSH.js');
|
|
14
|
-
require('./chunk-LPZDYB4J.js');
|
|
15
|
-
require('./chunk-Y6EUTGDC.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.PseudoClasses = _chunkZSX2GKSHjs.PseudoClasses; exports.variantBreakpoints = _chunkZSX2GKSHjs.variantBreakpoints; exports.variantChildren = _chunkZSX2GKSHjs.variantChildren; exports.variantColorsClass = _chunkZSX2GKSHjs.variantColorsClass; exports.variantColorsMedia = _chunkZSX2GKSHjs.variantColorsMedia; exports.variantImportant = _chunkZSX2GKSHjs.variantImportant; exports.variantNegative = _chunkZSX2GKSHjs.variantNegative; exports.variantPseudoClasses = _chunkZSX2GKSHjs.variantPseudoClasses; exports.variantPseudoElements = _chunkZSX2GKSHjs.variantPseudoElements; exports.variantSpace = _chunkZSX2GKSHjs.variantSpace; exports.variants = _chunkZSX2GKSHjs.variants;
|
package/dist/variants.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PseudoClasses,
|
|
3
|
-
variantBreakpoints,
|
|
4
|
-
variantChildren,
|
|
5
|
-
variantColorsClass,
|
|
6
|
-
variantColorsMedia,
|
|
7
|
-
variantImportant,
|
|
8
|
-
variantNegative,
|
|
9
|
-
variantPseudoClasses,
|
|
10
|
-
variantPseudoElements,
|
|
11
|
-
variantSpace,
|
|
12
|
-
variants
|
|
13
|
-
} from "./chunk-MBU6ORW7.mjs";
|
|
14
|
-
import "./chunk-O7YRGPXQ.mjs";
|
|
15
|
-
import "./chunk-5SH5BFJ4.mjs";
|
|
16
|
-
export {
|
|
17
|
-
PseudoClasses,
|
|
18
|
-
variantBreakpoints,
|
|
19
|
-
variantChildren,
|
|
20
|
-
variantColorsClass,
|
|
21
|
-
variantColorsMedia,
|
|
22
|
-
variantImportant,
|
|
23
|
-
variantNegative,
|
|
24
|
-
variantPseudoClasses,
|
|
25
|
-
variantPseudoElements,
|
|
26
|
-
variantSpace,
|
|
27
|
-
variants
|
|
28
|
-
};
|