@master/css 2.0.0-beta.165 → 2.0.0-beta.167

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.
@@ -1,267 +1,278 @@
1
1
  import { RuleConfig } from '../rule';
2
- export declare const rules: {
3
- accentColor: RuleConfig;
4
- alignContent: RuleConfig;
5
- alignItems: RuleConfig;
6
- alignSelf: RuleConfig;
7
- animationDelay: RuleConfig;
8
- animationDirection: RuleConfig;
9
- animationDuration: RuleConfig;
10
- animationFillMode: RuleConfig;
11
- animationIterationCount: RuleConfig;
12
- animationName: RuleConfig;
13
- animationPlayState: RuleConfig;
14
- animationTimingFunction: RuleConfig;
15
- appearance: RuleConfig;
16
- aspectRatio: RuleConfig;
17
- backdropFilter: RuleConfig;
18
- backgroundAttachment: RuleConfig;
19
- backgroundBlendMode: RuleConfig;
20
- backgroundClip: RuleConfig;
21
- backgroundColor: RuleConfig;
22
- backgroundImage: RuleConfig;
23
- backgroundOrigin: RuleConfig;
24
- backgroundRepeat: RuleConfig;
25
- backgroundSize: RuleConfig;
26
- borderBottomColor: RuleConfig;
27
- borderBottomLeftRadius: RuleConfig;
28
- borderBottomRightRadius: RuleConfig;
29
- borderBottomStyle: RuleConfig;
30
- borderBottomWidth: RuleConfig;
31
- borderCollapse: RuleConfig;
32
- borderImageOutset: RuleConfig;
33
- borderImageRepeat: RuleConfig;
34
- borderImageSlice: RuleConfig;
35
- borderImageSource: RuleConfig;
36
- borderImageWidth: RuleConfig;
37
- borderLeftColor: RuleConfig;
38
- borderLeftStyle: RuleConfig;
39
- borderLeftWidth: RuleConfig;
40
- borderRightColor: RuleConfig;
41
- borderRightStyle: RuleConfig;
42
- borderRightWidth: RuleConfig;
43
- borderSpacing: RuleConfig;
44
- borderTopColor: RuleConfig;
45
- borderTopLeftRadius: RuleConfig;
46
- borderTopRightRadius: RuleConfig;
47
- borderTopStyle: RuleConfig;
48
- borderTopWidth: RuleConfig;
49
- bottom: RuleConfig;
50
- boxDecorationBreak: RuleConfig;
51
- boxShadow: RuleConfig;
52
- boxSizing: RuleConfig;
53
- breakAfter: RuleConfig;
54
- breakBefore: RuleConfig;
55
- breakInside: RuleConfig;
56
- caretColor: RuleConfig;
57
- clear: RuleConfig;
58
- clipPath: RuleConfig;
59
- color: RuleConfig;
60
- columnGap: RuleConfig;
61
- columnSpan: RuleConfig;
62
- contain: RuleConfig;
63
- content: RuleConfig;
64
- counterIncrement: RuleConfig;
65
- counterReset: RuleConfig;
66
- cursor: RuleConfig;
67
- direction: RuleConfig;
68
- display: RuleConfig;
69
- filter: RuleConfig;
70
- flexBasis: RuleConfig;
71
- flexDirection: RuleConfig;
72
- flexGrow: RuleConfig;
73
- flexShrink: RuleConfig;
74
- flexWrap: RuleConfig;
75
- float: RuleConfig;
76
- fontFamily: RuleConfig;
77
- fontFeatureSettings: RuleConfig;
78
- fontSize: RuleConfig;
79
- fontStyle: RuleConfig;
80
- fontVariantNumeric: RuleConfig;
81
- fontWeight: RuleConfig;
82
- gridAutoColumns: RuleConfig;
83
- gridAutoFlow: RuleConfig;
84
- gridAutoRows: RuleConfig;
85
- gridColumnEnd: RuleConfig;
86
- gridColumnStart: RuleConfig;
87
- gridRowEnd: RuleConfig;
88
- gridRowStart: RuleConfig;
89
- gridTemplateAreas: RuleConfig;
90
- gridTemplateColumns: RuleConfig;
91
- gridTemplateRows: RuleConfig;
92
- height: RuleConfig;
93
- isolation: RuleConfig;
94
- justifyContent: RuleConfig;
95
- justifyItems: RuleConfig;
96
- justifySelf: RuleConfig;
97
- left: RuleConfig;
98
- letterSpacing: RuleConfig;
99
- lineHeight: RuleConfig;
100
- listStyleImage: RuleConfig;
101
- listStylePosition: RuleConfig;
102
- listStyleType: RuleConfig;
103
- marginBottom: RuleConfig;
104
- marginLeft: RuleConfig;
105
- marginRight: RuleConfig;
106
- marginTop: RuleConfig;
107
- maskImage: RuleConfig;
108
- maxHeight: RuleConfig;
109
- maxWidth: RuleConfig;
110
- minHeight: RuleConfig;
111
- minWidth: RuleConfig;
112
- mixBlendMode: RuleConfig;
113
- objectFit: RuleConfig;
114
- objectPosition: RuleConfig;
115
- opacity: RuleConfig;
116
- order: RuleConfig;
117
- outlineColor: RuleConfig;
118
- outlineOffset: RuleConfig;
119
- outlineStyle: RuleConfig;
120
- outlineWidth: RuleConfig;
121
- overflowX: RuleConfig;
122
- overflowY: RuleConfig;
123
- overscrollBehaviorX: RuleConfig;
124
- overscrollBehaviorY: RuleConfig;
125
- paddingBottom: RuleConfig;
126
- paddingLeft: RuleConfig;
127
- paddingRight: RuleConfig;
128
- paddingTop: RuleConfig;
129
- pointerEvents: RuleConfig;
130
- position: RuleConfig;
131
- quotes: RuleConfig;
132
- resize: RuleConfig;
133
- right: RuleConfig;
134
- rowGap: RuleConfig;
135
- scrollBehavior: RuleConfig;
136
- scrollMarginBottom: RuleConfig;
137
- scrollMarginLeft: RuleConfig;
138
- scrollMarginRight: RuleConfig;
139
- scrollMarginTop: RuleConfig;
140
- scrollPaddingBottom: RuleConfig;
141
- scrollPaddingLeft: RuleConfig;
142
- scrollPaddingRight: RuleConfig;
143
- scrollPaddingTop: RuleConfig;
144
- scrollSnapAlign: RuleConfig;
145
- scrollSnapStop: RuleConfig;
146
- scrollSnapType: RuleConfig;
147
- shapeImageThreshold: RuleConfig;
148
- shapeMargin: RuleConfig;
149
- shapeOutside: RuleConfig;
150
- tableLayout: RuleConfig;
151
- textAlign: RuleConfig;
152
- textDecorationColor: RuleConfig;
153
- textDecorationLine: RuleConfig;
154
- textDecorationStyle: RuleConfig;
155
- textDecorationThickness: RuleConfig;
156
- textIndent: RuleConfig;
157
- textOrientation: RuleConfig;
158
- textOverflow: RuleConfig;
159
- textRendering: RuleConfig;
160
- textShadow: RuleConfig;
161
- textTransform: RuleConfig;
162
- textUnderlineOffset: RuleConfig;
163
- top: RuleConfig;
164
- touchAction: RuleConfig;
165
- transform: RuleConfig;
166
- transformBox: RuleConfig;
167
- transformOrigin: RuleConfig;
168
- transformStyle: RuleConfig;
169
- transitionDelay: RuleConfig;
170
- transitionDuration: RuleConfig;
171
- transitionProperty: RuleConfig;
172
- transitionTimingFunction: RuleConfig;
173
- userSelect: RuleConfig;
174
- verticalAlign: RuleConfig;
175
- visibility: RuleConfig;
176
- whiteSpace: RuleConfig;
177
- width: RuleConfig;
178
- willChange: RuleConfig;
179
- wordBreak: RuleConfig;
180
- wordSpacing: RuleConfig;
181
- writingMode: RuleConfig;
182
- zIndex: RuleConfig;
183
- animation: RuleConfig;
184
- background: RuleConfig;
185
- backgroundPosition: RuleConfig;
186
- border: RuleConfig;
187
- borderBottom: RuleConfig;
188
- borderColor: RuleConfig;
189
- borderImage: RuleConfig;
190
- borderLeft: RuleConfig;
191
- borderRadius: RuleConfig;
192
- borderRight: RuleConfig;
193
- borderStyle: RuleConfig;
194
- borderTop: RuleConfig;
195
- borderWidth: RuleConfig;
196
- columns: RuleConfig;
197
- flex: RuleConfig;
198
- font: RuleConfig;
199
- gap: RuleConfig;
200
- grid: RuleConfig;
201
- gridArea: RuleConfig;
202
- gridColumn: RuleConfig;
203
- gridRow: RuleConfig;
204
- gridTemplate: RuleConfig;
205
- inset: RuleConfig;
206
- listStyle: RuleConfig;
207
- margin: RuleConfig;
208
- outline: RuleConfig;
209
- overflow: RuleConfig;
210
- overscrollBehavior: RuleConfig;
211
- padding: RuleConfig;
212
- placeContent: RuleConfig;
213
- placeItems: RuleConfig;
214
- placeSelf: RuleConfig;
215
- scrollMargin: RuleConfig;
216
- scrollPadding: RuleConfig;
217
- textDecoration: RuleConfig;
218
- transition: RuleConfig;
219
- fill: RuleConfig;
220
- stroke: RuleConfig;
221
- strokeDasharray: RuleConfig;
222
- strokeDashoffset: RuleConfig;
223
- strokeWidth: RuleConfig;
224
- x: RuleConfig;
225
- y: RuleConfig;
226
- group: RuleConfig;
227
- variable: RuleConfig;
228
- fontSmoothing: RuleConfig;
229
- marginX: RuleConfig;
230
- marginY: RuleConfig;
231
- paddingX: RuleConfig;
232
- paddingY: RuleConfig;
233
- box: RuleConfig;
234
- minBox: RuleConfig;
235
- maxBox: RuleConfig;
236
- lines: RuleConfig;
237
- userDrag: RuleConfig;
238
- textSize: RuleConfig;
239
- textFillColor: RuleConfig;
240
- textStrokeWidth: RuleConfig;
241
- textStrokeColor: RuleConfig;
242
- textStroke: RuleConfig;
243
- borderXColor: RuleConfig;
244
- borderYColor: RuleConfig;
245
- borderTopRadius: RuleConfig;
246
- borderBottomRadius: RuleConfig;
247
- borderLeftRadius: RuleConfig;
248
- borderRightRadius: RuleConfig;
249
- borderXStyle: RuleConfig;
250
- borderYStyle: RuleConfig;
251
- borderXWidth: RuleConfig;
252
- borderYWidth: RuleConfig;
253
- borderX: RuleConfig;
254
- borderY: RuleConfig;
255
- cx: RuleConfig;
256
- cy: RuleConfig;
257
- rx: RuleConfig;
258
- ry: RuleConfig;
259
- gridColumns: RuleConfig;
260
- gridRows: RuleConfig;
261
- scrollMarginX: RuleConfig;
262
- scrollMarginY: RuleConfig;
263
- scrollPaddingX: RuleConfig;
264
- scrollPaddingY: RuleConfig;
2
+ declare const defaultRules: {
3
+ readonly group: RuleConfig;
4
+ readonly variable: RuleConfig;
5
+ readonly fontSize: RuleConfig;
6
+ readonly fontWeight: RuleConfig;
7
+ readonly fontFamily: RuleConfig;
8
+ readonly fontSmoothing: RuleConfig;
9
+ readonly fontStyle: RuleConfig;
10
+ readonly fontVariantNumeric: RuleConfig;
11
+ readonly fontFeatureSettings: RuleConfig;
12
+ readonly font: RuleConfig;
13
+ readonly color: RuleConfig;
14
+ readonly marginLeft: RuleConfig;
15
+ readonly marginRight: RuleConfig;
16
+ readonly marginTop: RuleConfig;
17
+ readonly marginBottom: RuleConfig;
18
+ readonly marginX: RuleConfig;
19
+ readonly marginY: RuleConfig;
20
+ readonly margin: RuleConfig;
21
+ readonly paddingLeft: RuleConfig;
22
+ readonly paddingRight: RuleConfig;
23
+ readonly paddingTop: RuleConfig;
24
+ readonly paddingBottom: RuleConfig;
25
+ readonly paddingX: RuleConfig;
26
+ readonly paddingY: RuleConfig;
27
+ readonly padding: RuleConfig;
28
+ readonly flexBasis: RuleConfig;
29
+ readonly flexWrap: RuleConfig;
30
+ readonly flexGrow: RuleConfig;
31
+ readonly flexShrink: RuleConfig;
32
+ readonly flexDirection: RuleConfig;
33
+ readonly flex: RuleConfig;
34
+ readonly display: RuleConfig;
35
+ readonly width: RuleConfig;
36
+ readonly height: RuleConfig;
37
+ readonly minWidth: RuleConfig;
38
+ readonly minHeight: RuleConfig;
39
+ readonly box: RuleConfig;
40
+ readonly minBox: RuleConfig;
41
+ readonly maxBox: RuleConfig;
42
+ readonly contain: RuleConfig;
43
+ readonly content: RuleConfig;
44
+ readonly counterIncrement: RuleConfig;
45
+ readonly counterReset: RuleConfig;
46
+ readonly letterSpacing: RuleConfig;
47
+ readonly lineHeight: RuleConfig;
48
+ readonly objectFit: RuleConfig;
49
+ readonly objectPosition: RuleConfig;
50
+ readonly textAlign: RuleConfig;
51
+ readonly textDecorationColor: RuleConfig;
52
+ readonly textDecorationStyle: RuleConfig;
53
+ readonly textDecorationThickness: RuleConfig;
54
+ readonly textDecorationLine: RuleConfig;
55
+ readonly textDecoration: RuleConfig;
56
+ readonly textUnderlineOffset: RuleConfig;
57
+ readonly textOverflow: RuleConfig;
58
+ readonly textOrientation: RuleConfig;
59
+ readonly textTransform: RuleConfig;
60
+ readonly textRendering: RuleConfig;
61
+ readonly textIndent: RuleConfig;
62
+ readonly verticalAlign: RuleConfig;
63
+ readonly columns: RuleConfig;
64
+ readonly whiteSpace: RuleConfig;
65
+ readonly top: RuleConfig;
66
+ readonly bottom: RuleConfig;
67
+ readonly left: RuleConfig;
68
+ readonly right: RuleConfig;
69
+ readonly inset: RuleConfig;
70
+ readonly lines: RuleConfig;
71
+ readonly maxHeight: RuleConfig;
72
+ readonly maxWidth: RuleConfig;
73
+ readonly boxSizing: RuleConfig;
74
+ readonly opacity: RuleConfig;
75
+ readonly visibility: RuleConfig;
76
+ readonly clear: RuleConfig;
77
+ readonly float: RuleConfig;
78
+ readonly isolation: RuleConfig;
79
+ readonly overflowX: RuleConfig;
80
+ readonly overflowY: RuleConfig;
81
+ readonly overflow: RuleConfig;
82
+ readonly overscrollBehaviorX: RuleConfig;
83
+ readonly overscrollBehaviorY: RuleConfig;
84
+ readonly overscrollBehavior: RuleConfig;
85
+ readonly zIndex: RuleConfig;
86
+ readonly position: RuleConfig;
87
+ readonly cursor: RuleConfig;
88
+ readonly pointerEvents: RuleConfig;
89
+ readonly resize: RuleConfig;
90
+ readonly touchAction: RuleConfig;
91
+ readonly wordBreak: RuleConfig;
92
+ readonly wordSpacing: RuleConfig;
93
+ readonly userDrag: RuleConfig;
94
+ readonly userSelect: RuleConfig;
95
+ readonly textShadow: RuleConfig;
96
+ readonly textSize: RuleConfig;
97
+ readonly textFillColor: RuleConfig;
98
+ readonly textStrokeWidth: RuleConfig;
99
+ readonly textStrokeColor: RuleConfig;
100
+ readonly textStroke: RuleConfig;
101
+ readonly boxShadow: RuleConfig;
102
+ readonly tableLayout: RuleConfig;
103
+ readonly transformBox: RuleConfig;
104
+ readonly transformStyle: RuleConfig;
105
+ readonly transformOrigin: RuleConfig;
106
+ readonly transform: RuleConfig;
107
+ readonly transitionProperty: RuleConfig;
108
+ readonly transitionTimingFunction: RuleConfig;
109
+ readonly transitionDuration: RuleConfig;
110
+ readonly transitionDelay: RuleConfig;
111
+ readonly transition: RuleConfig;
112
+ readonly animationDelay: RuleConfig;
113
+ readonly animationDirection: RuleConfig;
114
+ readonly animationDuration: RuleConfig;
115
+ readonly animationFillMode: RuleConfig;
116
+ readonly animationIterationCount: RuleConfig;
117
+ readonly animationName: RuleConfig;
118
+ readonly animationPlayState: RuleConfig;
119
+ readonly animationTimingFunction: RuleConfig;
120
+ readonly animation: RuleConfig;
121
+ readonly borderCollapse: RuleConfig;
122
+ readonly borderSpacing: RuleConfig;
123
+ readonly borderTopColor: RuleConfig;
124
+ readonly borderBottomColor: RuleConfig;
125
+ readonly borderLeftColor: RuleConfig;
126
+ readonly borderRightColor: RuleConfig;
127
+ readonly borderXColor: RuleConfig;
128
+ readonly borderYColor: RuleConfig;
129
+ readonly borderColor: RuleConfig;
130
+ readonly borderTopLeftRadius: RuleConfig;
131
+ readonly borderTopRightRadius: RuleConfig;
132
+ readonly borderBottomLeftRadius: RuleConfig;
133
+ readonly borderBottomRightRadius: RuleConfig;
134
+ readonly borderTopRadius: RuleConfig;
135
+ readonly borderBottomRadius: RuleConfig;
136
+ readonly borderLeftRadius: RuleConfig;
137
+ readonly borderRightRadius: RuleConfig;
138
+ readonly borderRadius: RuleConfig;
139
+ readonly borderTopStyle: RuleConfig;
140
+ readonly borderBottomStyle: RuleConfig;
141
+ readonly borderLeftStyle: RuleConfig;
142
+ readonly borderRightStyle: RuleConfig;
143
+ readonly borderXStyle: RuleConfig;
144
+ readonly borderYStyle: RuleConfig;
145
+ readonly borderStyle: RuleConfig;
146
+ readonly borderTopWidth: RuleConfig;
147
+ readonly borderBottomWidth: RuleConfig;
148
+ readonly borderLeftWidth: RuleConfig;
149
+ readonly borderRightWidth: RuleConfig;
150
+ readonly borderXWidth: RuleConfig;
151
+ readonly borderYWidth: RuleConfig;
152
+ readonly borderWidth: RuleConfig;
153
+ readonly borderImageOutset: RuleConfig;
154
+ readonly borderImageRepeat: RuleConfig;
155
+ readonly borderImageSlice: RuleConfig;
156
+ readonly borderImageSource: RuleConfig;
157
+ readonly borderImageWidth: RuleConfig;
158
+ readonly borderImage: RuleConfig;
159
+ readonly borderTop: RuleConfig;
160
+ readonly borderBottom: RuleConfig;
161
+ readonly borderLeft: RuleConfig;
162
+ readonly borderRight: RuleConfig;
163
+ readonly borderX: RuleConfig;
164
+ readonly borderY: RuleConfig;
165
+ readonly border: RuleConfig;
166
+ readonly backgroundAttachment: RuleConfig;
167
+ readonly backgroundBlendMode: RuleConfig;
168
+ readonly backgroundColor: RuleConfig;
169
+ readonly backgroundClip: RuleConfig;
170
+ readonly backgroundOrigin: RuleConfig;
171
+ readonly backgroundPosition: RuleConfig;
172
+ readonly backgroundRepeat: RuleConfig;
173
+ readonly backgroundSize: RuleConfig;
174
+ readonly backgroundImage: RuleConfig;
175
+ readonly background: RuleConfig;
176
+ readonly mixBlendMode: RuleConfig;
177
+ readonly backdropFilter: RuleConfig;
178
+ readonly filter: RuleConfig;
179
+ readonly fill: RuleConfig;
180
+ readonly strokeDasharray: RuleConfig;
181
+ readonly strokeDashoffset: RuleConfig;
182
+ readonly strokeWidth: RuleConfig;
183
+ readonly stroke: RuleConfig;
184
+ readonly x: RuleConfig;
185
+ readonly y: RuleConfig;
186
+ readonly cx: RuleConfig;
187
+ readonly cy: RuleConfig;
188
+ readonly rx: RuleConfig;
189
+ readonly ry: RuleConfig;
190
+ readonly gridColumnStart: RuleConfig;
191
+ readonly gridColumnEnd: RuleConfig;
192
+ readonly gridColumn: RuleConfig;
193
+ readonly gridColumns: RuleConfig;
194
+ readonly gridRowStart: RuleConfig;
195
+ readonly gridRowEnd: RuleConfig;
196
+ readonly gridRow: RuleConfig;
197
+ readonly gridRows: RuleConfig;
198
+ readonly gridAutoColumns: RuleConfig;
199
+ readonly gridAutoFlow: RuleConfig;
200
+ readonly gridAutoRows: RuleConfig;
201
+ readonly gridTemplateAreas: RuleConfig;
202
+ readonly gridTemplateColumns: RuleConfig;
203
+ readonly gridTemplateRows: RuleConfig;
204
+ readonly gridTemplate: RuleConfig;
205
+ readonly gridArea: RuleConfig;
206
+ readonly grid: RuleConfig;
207
+ readonly columnGap: RuleConfig;
208
+ readonly rowGap: RuleConfig;
209
+ readonly gap: RuleConfig;
210
+ readonly order: RuleConfig;
211
+ readonly breakInside: RuleConfig;
212
+ readonly breakBefore: RuleConfig;
213
+ readonly breakAfter: RuleConfig;
214
+ readonly boxDecorationBreak: RuleConfig;
215
+ readonly aspectRatio: RuleConfig;
216
+ readonly columnSpan: RuleConfig;
217
+ readonly alignContent: RuleConfig;
218
+ readonly alignItems: RuleConfig;
219
+ readonly alignSelf: RuleConfig;
220
+ readonly justifyContent: RuleConfig;
221
+ readonly justifyItems: RuleConfig;
222
+ readonly justifySelf: RuleConfig;
223
+ readonly placeContent: RuleConfig;
224
+ readonly placeItems: RuleConfig;
225
+ readonly placeSelf: RuleConfig;
226
+ readonly listStylePosition: RuleConfig;
227
+ readonly listStyleType: RuleConfig;
228
+ readonly listStyleImage: RuleConfig;
229
+ readonly listStyle: RuleConfig;
230
+ readonly outlineColor: RuleConfig;
231
+ readonly outlineOffset: RuleConfig;
232
+ readonly outlineStyle: RuleConfig;
233
+ readonly outlineWidth: RuleConfig;
234
+ readonly outline: RuleConfig;
235
+ readonly accentColor: RuleConfig;
236
+ readonly appearance: RuleConfig;
237
+ readonly caretColor: RuleConfig;
238
+ readonly scrollBehavior: RuleConfig;
239
+ readonly scrollMarginLeft: RuleConfig;
240
+ readonly scrollMarginRight: RuleConfig;
241
+ readonly scrollMarginTop: RuleConfig;
242
+ readonly scrollMarginBottom: RuleConfig;
243
+ readonly scrollMarginX: RuleConfig;
244
+ readonly scrollMarginY: RuleConfig;
245
+ readonly scrollMargin: RuleConfig;
246
+ readonly scrollPaddingLeft: RuleConfig;
247
+ readonly scrollPaddingRight: RuleConfig;
248
+ readonly scrollPaddingTop: RuleConfig;
249
+ readonly scrollPaddingBottom: RuleConfig;
250
+ readonly scrollPaddingX: RuleConfig;
251
+ readonly scrollPaddingY: RuleConfig;
252
+ readonly scrollPadding: RuleConfig;
253
+ readonly scrollSnapAlign: RuleConfig;
254
+ readonly scrollSnapStop: RuleConfig;
255
+ readonly scrollSnapType: RuleConfig;
256
+ readonly willChange: RuleConfig;
257
+ readonly writingMode: RuleConfig;
258
+ readonly direction: RuleConfig;
259
+ readonly shapeOutside: RuleConfig;
260
+ readonly shapeMargin: RuleConfig;
261
+ readonly shapeImageThreshold: RuleConfig;
262
+ readonly clipPath: RuleConfig;
263
+ readonly quotes: RuleConfig;
264
+ readonly maskImage: {
265
+ readonly native: true;
266
+ readonly declare: (value: any, unit: any) => {
267
+ 'mask-image': any;
268
+ '-webkit-mask-image': any;
269
+ };
270
+ };
271
+ };
272
+ declare const rules: Rules;
273
+ export default rules;
274
+ export type Rules = {
275
+ [key in keyof typeof defaultRules]?: RuleConfig;
265
276
  } & {
266
277
  [key: string]: RuleConfig;
267
278
  };
@@ -1 +1,2 @@
1
- export declare const scope = "";
1
+ declare const scope = "";
2
+ export default scope;
@@ -1,19 +1,5 @@
1
- export declare const selectors: {
2
- '::scrollbar': string;
3
- '::scrollbar-button': string;
4
- '::scrollbar-thumb': string;
5
- '::scrollbar-track': string;
6
- '::scrollbar-track-piece': string;
7
- '::scrollbar-corner': string;
8
- '::slider-thumb': string[];
9
- '::slider-runnable-track': string[];
10
- '::meter': string;
11
- '::resizer': string;
12
- '::progress': string;
13
- ':first': string;
14
- ':last': string;
15
- ':even': string;
16
- ':odd': string;
17
- ':nth(': string;
18
- ':only': string;
1
+ declare const selectors: Selectors;
2
+ export default selectors;
3
+ export type Selectors = {
4
+ [key: string]: string | string[] | Selectors;
19
5
  };
@@ -1,2 +1,9 @@
1
- import { Semantics } from './index';
2
- export declare const semantics: Semantics;
1
+ import type { CSSProperties } from '../types/css-properties';
2
+ declare const semantics: Semantics;
3
+ export default semantics;
4
+ type SemanticsBase = CSSProperties | {
5
+ [key: string]: SemanticsBase;
6
+ };
7
+ export type Semantics = {
8
+ [key: string]: SemanticsBase;
9
+ };
@@ -0,0 +1,3 @@
1
+ declare const themeDriver = "class";
2
+ export default themeDriver;
3
+ export type ThemeDriver = 'class' | 'media' | 'host';
@@ -0,0 +1,3 @@
1
+ export type Values = {
2
+ [key: string]: string | number | Values;
3
+ };
@@ -0,0 +1,5 @@
1
+ declare const viewports: Viewports;
2
+ export default viewports;
3
+ export type Viewports = {
4
+ [key: string]: number | Viewports;
5
+ };
@@ -1 +1 @@
1
- export declare const CONFIG_ESM_TEXT = "/** @type {import('@master/css').Config} */\nexport default {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n breakpoints: {},\n mediaQueries: {},\n keyframes: {},\n selectors: {},\n functions: {}\n}\n";
1
+ export declare const CONFIG_ESM_TEXT = "/** @type {import('@master/css').Config} */\nexport default {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n viewports: {},\n mediaQueries: {},\n animations: {},\n selectors: {},\n functions: {}\n}\n";
@@ -1 +1 @@
1
- export declare const CONFIG_TEXT = "/** @type {import('@master/css').Config} */\nmodule.exports = {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n breakpoints: {},\n mediaQueries: {},\n keyframes: {},\n selectors: {},\n functions: {}\n}\n";
1
+ export declare const CONFIG_TEXT = "/** @type {import('@master/css').Config} */\nmodule.exports = {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n viewports: {},\n mediaQueries: {},\n animations: {},\n selectors: {},\n functions: {}\n}\n";
@@ -1 +1 @@
1
- export declare const CONFIG_TS_TEXT = "import type { Config } from '@master/css'\n\nexport default {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n breakpoints: {},\n mediaQueries: {},\n keyframes: {},\n selectors: {},\n functions: {}\n} as Config\n";
1
+ export declare const CONFIG_TS_TEXT = "import type { Config } from '@master/css'\n\nexport default {\n classes: {},\n colors: {},\n themes: {},\n rules: {},\n values: {},\n semantics: {},\n viewports: {},\n mediaQueries: {},\n animations: {},\n selectors: {},\n functions: {}\n} as Config\n";
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, RuleMeta, RuleNative } from './rule';
2
- import type { Config, Keyframes } from './config';
2
+ import type { Config, Animations } from './config';
3
3
  export interface MasterCSS {
4
4
  readonly style: HTMLStyleElement;
5
5
  readonly host: Element;
@@ -13,14 +13,14 @@ export interface MasterCSS {
13
13
  selectors: Record<string, [RegExp, string[]][]>;
14
14
  values: Record<string, Record<string, string | number>>;
15
15
  globalValues: Record<string, string | number>;
16
- breakpoints: Record<string, number>;
16
+ viewports: Record<string, number>;
17
17
  mediaQueries: Record<string, string>;
18
18
  matches: Record<string, RegExp>;
19
19
  keyframesMap: Record<string, {
20
20
  native: RuleNative;
21
21
  count: number;
22
22
  }>;
23
- keyframes: Keyframes;
23
+ animations: Animations;
24
24
  }
25
25
  export declare class MasterCSS {
26
26
  config: Config;