@master/css 2.0.0-beta.183 → 2.0.0-beta.184

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