@master/css 2.0.0-rc.69 → 2.0.0-rc.70

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.
Files changed (200) hide show
  1. package/README.md +6 -8
  2. package/dist/index.d.ts +2 -40
  3. package/dist/index.mjs +1 -42
  4. package/package.json +1 -1
  5. package/src/base.css +1 -0
  6. package/src/index.css +1 -0
  7. package/src/theme.css +1 -0
  8. package/src/utilities.css +1 -0
  9. package/src/variants.css +1 -0
  10. package/dist/_virtual/_commonjsHelpers.cjs +0 -10
  11. package/dist/_virtual/_commonjsHelpers.mjs +0 -7
  12. package/dist/_virtual/css-escape.cjs +0 -5
  13. package/dist/_virtual/css-escape.mjs +0 -3
  14. package/dist/animation-rule.cjs +0 -24
  15. package/dist/animation-rule.d.ts +0 -11
  16. package/dist/animation-rule.mjs +0 -22
  17. package/dist/bin/index.cjs +0 -11
  18. package/dist/bin/index.d.ts +0 -1
  19. package/dist/bin/index.mjs +0 -9
  20. package/dist/common.cjs +0 -208
  21. package/dist/common.d.ts +0 -40
  22. package/dist/common.mjs +0 -180
  23. package/dist/config/animations.cjs +0 -113
  24. package/dist/config/animations.d.ts +0 -110
  25. package/dist/config/animations.mjs +0 -111
  26. package/dist/config/at.cjs +0 -19
  27. package/dist/config/at.d.ts +0 -16
  28. package/dist/config/at.mjs +0 -17
  29. package/dist/config/functions.cjs +0 -141
  30. package/dist/config/functions.d.ts +0 -138
  31. package/dist/config/functions.mjs +0 -139
  32. package/dist/config/index.cjs +0 -40
  33. package/dist/config/index.d.ts +0 -12
  34. package/dist/config/index.mjs +0 -29
  35. package/dist/config/modes.cjs +0 -312
  36. package/dist/config/modes.d.ts +0 -309
  37. package/dist/config/modes.mjs +0 -310
  38. package/dist/config/rules.cjs +0 -2277
  39. package/dist/config/rules.d.ts +0 -1485
  40. package/dist/config/rules.mjs +0 -2275
  41. package/dist/config/screens.cjs +0 -17
  42. package/dist/config/screens.d.ts +0 -14
  43. package/dist/config/screens.mjs +0 -15
  44. package/dist/config/selectors.cjs +0 -25
  45. package/dist/config/selectors.d.ts +0 -22
  46. package/dist/config/selectors.mjs +0 -23
  47. package/dist/config/utilities.cjs +0 -446
  48. package/dist/config/utilities.d.ts +0 -443
  49. package/dist/config/utilities.mjs +0 -444
  50. package/dist/config/variables.cjs +0 -99
  51. package/dist/config/variables.d.ts +0 -423
  52. package/dist/config/variables.mjs +0 -97
  53. package/dist/core.cjs +0 -674
  54. package/dist/core.d.ts +0 -128
  55. package/dist/core.mjs +0 -672
  56. package/dist/create.cjs +0 -10
  57. package/dist/create.d.ts +0 -3
  58. package/dist/create.mjs +0 -8
  59. package/dist/declarers/core.group.cjs +0 -99
  60. package/dist/declarers/core.group.d.ts +0 -2
  61. package/dist/declarers/core.group.mjs +0 -97
  62. package/dist/declarers/core.variable.cjs +0 -9
  63. package/dist/declarers/core.variable.d.ts +0 -4
  64. package/dist/declarers/core.variable.mjs +0 -7
  65. package/dist/declarers/index.cjs +0 -13
  66. package/dist/declarers/index.d.ts +0 -10
  67. package/dist/declarers/index.mjs +0 -11
  68. package/dist/declarers/pair.cjs +0 -12
  69. package/dist/declarers/pair.d.ts +0 -4
  70. package/dist/declarers/pair.mjs +0 -10
  71. package/dist/factories/with-syntax-layer.cjs +0 -83
  72. package/dist/factories/with-syntax-layer.d.ts +0 -26
  73. package/dist/factories/with-syntax-layer.mjs +0 -81
  74. package/dist/function-transformers/core.calc.cjs +0 -225
  75. package/dist/function-transformers/core.calc.d.ts +0 -2
  76. package/dist/function-transformers/core.calc.mjs +0 -223
  77. package/dist/function-transformers/core.variable.cjs +0 -23
  78. package/dist/function-transformers/core.variable.d.ts +0 -7
  79. package/dist/function-transformers/core.variable.mjs +0 -21
  80. package/dist/function-transformers/index.cjs +0 -11
  81. package/dist/function-transformers/index.d.ts +0 -8
  82. package/dist/function-transformers/index.mjs +0 -9
  83. package/dist/index.cjs +0 -118
  84. package/dist/layer.cjs +0 -52
  85. package/dist/layer.d.ts +0 -16
  86. package/dist/layer.mjs +0 -50
  87. package/dist/non-layer.cjs +0 -55
  88. package/dist/non-layer.d.ts +0 -12
  89. package/dist/non-layer.mjs +0 -53
  90. package/dist/polyfills/css-escape.cjs +0 -9
  91. package/dist/polyfills/css-escape.d.ts +0 -0
  92. package/dist/polyfills/css-escape.mjs +0 -7
  93. package/dist/polyfills/css-escape2.cjs +0 -76
  94. package/dist/polyfills/css-escape2.mjs +0 -74
  95. package/dist/register-global.cjs +0 -7
  96. package/dist/register-global.d.ts +0 -5
  97. package/dist/register-global.mjs +0 -5
  98. package/dist/rule.cjs +0 -16
  99. package/dist/rule.d.ts +0 -7
  100. package/dist/rule.mjs +0 -14
  101. package/dist/shared/utils/css-escape.cjs +0 -56
  102. package/dist/shared/utils/css-escape.mjs +0 -54
  103. package/dist/shared/utils/find-native-css-rule-index.cjs +0 -12
  104. package/dist/shared/utils/find-native-css-rule-index.mjs +0 -10
  105. package/dist/syntax-layer.cjs +0 -8
  106. package/dist/syntax-layer.d.ts +0 -18
  107. package/dist/syntax-layer.mjs +0 -6
  108. package/dist/syntax-rule-type.cjs +0 -27
  109. package/dist/syntax-rule-type.d.ts +0 -28
  110. package/dist/syntax-rule-type.mjs +0 -25
  111. package/dist/syntax-rule.cjs +0 -506
  112. package/dist/syntax-rule.d.ts +0 -44
  113. package/dist/syntax-rule.mjs +0 -504
  114. package/dist/transformers/auto-fill-solid.cjs +0 -31
  115. package/dist/transformers/auto-fill-solid.d.ts +0 -2
  116. package/dist/transformers/auto-fill-solid.mjs +0 -29
  117. package/dist/transformers/index.cjs +0 -9
  118. package/dist/transformers/index.d.ts +0 -6
  119. package/dist/transformers/index.mjs +0 -7
  120. package/dist/types/common.cjs +0 -2
  121. package/dist/types/common.d.ts +0 -1
  122. package/dist/types/common.mjs +0 -1
  123. package/dist/types/config.cjs +0 -2
  124. package/dist/types/config.d.ts +0 -79
  125. package/dist/types/config.mjs +0 -1
  126. package/dist/types/syntax.cjs +0 -2
  127. package/dist/types/syntax.d.ts +0 -89
  128. package/dist/types/syntax.mjs +0 -1
  129. package/dist/utils/compare-rule-priority.cjs +0 -143
  130. package/dist/utils/compare-rule-priority.d.ts +0 -7
  131. package/dist/utils/compare-rule-priority.mjs +0 -138
  132. package/dist/utils/equal-at-rules.cjs +0 -22
  133. package/dist/utils/equal-at-rules.d.ts +0 -2
  134. package/dist/utils/equal-at-rules.mjs +0 -20
  135. package/dist/utils/equal-declarations.cjs +0 -10
  136. package/dist/utils/equal-declarations.d.ts +0 -2
  137. package/dist/utils/equal-declarations.mjs +0 -8
  138. package/dist/utils/equal-selectors.cjs +0 -69
  139. package/dist/utils/equal-selectors.d.ts +0 -2
  140. package/dist/utils/equal-selectors.mjs +0 -67
  141. package/dist/utils/equal-variants.cjs +0 -10
  142. package/dist/utils/equal-variants.d.ts +0 -2
  143. package/dist/utils/equal-variants.mjs +0 -8
  144. package/dist/utils/extend-config.cjs +0 -97
  145. package/dist/utils/extend-config.d.ts +0 -11
  146. package/dist/utils/extend-config.mjs +0 -95
  147. package/dist/utils/flatten-meta-object.cjs +0 -38
  148. package/dist/utils/flatten-meta-object.d.ts +0 -13
  149. package/dist/utils/flatten-meta-object.mjs +0 -36
  150. package/dist/utils/flatten-object.cjs +0 -19
  151. package/dist/utils/flatten-object.d.ts +0 -1
  152. package/dist/utils/flatten-object.mjs +0 -17
  153. package/dist/utils/generate-at.cjs +0 -30
  154. package/dist/utils/generate-at.d.ts +0 -2
  155. package/dist/utils/generate-at.mjs +0 -28
  156. package/dist/utils/generate-css.cjs +0 -13
  157. package/dist/utils/generate-css.d.ts +0 -1
  158. package/dist/utils/generate-css.mjs +0 -11
  159. package/dist/utils/generate-selector.cjs +0 -50
  160. package/dist/utils/generate-selector.d.ts +0 -2
  161. package/dist/utils/generate-selector.mjs +0 -48
  162. package/dist/utils/get-single-at-number-rule-node.cjs +0 -9
  163. package/dist/utils/get-single-at-number-rule-node.d.ts +0 -2
  164. package/dist/utils/get-single-at-number-rule-node.mjs +0 -7
  165. package/dist/utils/hex-to-rgb.cjs +0 -30
  166. package/dist/utils/hex-to-rgb.d.ts +0 -1
  167. package/dist/utils/hex-to-rgb.mjs +0 -28
  168. package/dist/utils/is-core-rule.cjs +0 -9
  169. package/dist/utils/is-core-rule.d.ts +0 -1
  170. package/dist/utils/is-core-rule.mjs +0 -7
  171. package/dist/utils/minify-extended-config.cjs +0 -64
  172. package/dist/utils/minify-extended-config.d.ts +0 -9
  173. package/dist/utils/minify-extended-config.mjs +0 -62
  174. package/dist/utils/nest-meta-object.cjs +0 -25
  175. package/dist/utils/nest-meta-object.d.ts +0 -7
  176. package/dist/utils/nest-meta-object.mjs +0 -23
  177. package/dist/utils/parse-at.cjs +0 -156
  178. package/dist/utils/parse-at.d.ts +0 -39
  179. package/dist/utils/parse-at.mjs +0 -154
  180. package/dist/utils/parse-pair.cjs +0 -48
  181. package/dist/utils/parse-pair.d.ts +0 -8
  182. package/dist/utils/parse-pair.mjs +0 -46
  183. package/dist/utils/parse-selector.cjs +0 -114
  184. package/dist/utils/parse-selector.d.ts +0 -19
  185. package/dist/utils/parse-selector.mjs +0 -112
  186. package/dist/utils/parse-value.cjs +0 -39
  187. package/dist/utils/parse-value.d.ts +0 -2
  188. package/dist/utils/parse-value.mjs +0 -37
  189. package/dist/utils/replace-char-outside-quotes.cjs +0 -21
  190. package/dist/utils/replace-char-outside-quotes.d.ts +0 -1
  191. package/dist/utils/replace-char-outside-quotes.mjs +0 -19
  192. package/dist/utils/sort-readable-classes.cjs +0 -86
  193. package/dist/utils/sort-readable-classes.d.ts +0 -7
  194. package/dist/utils/sort-readable-classes.mjs +0 -84
  195. package/dist/utils/split-char-outside-quotes.cjs +0 -29
  196. package/dist/utils/split-char-outside-quotes.d.ts +0 -1
  197. package/dist/utils/split-char-outside-quotes.mjs +0 -27
  198. package/dist/variable-rule.cjs +0 -92
  199. package/dist/variable-rule.d.ts +0 -33
  200. package/dist/variable-rule.mjs +0 -87
@@ -1,2277 +0,0 @@
1
- 'use strict';
2
-
3
- var syntaxRuleType = require('../syntax-rule-type.cjs');
4
- var common = require('../common.cjs');
5
-
6
- const rules = {
7
- 'font-size': {
8
- aliasGroups: [
9
- 'font',
10
- 'f'
11
- ],
12
- kind: 'number',
13
- unit: 'rem',
14
- type: syntaxRuleType.Native
15
- },
16
- 'font-weight': {
17
- aliasGroups: [
18
- 'font',
19
- 'f'
20
- ],
21
- values: [
22
- 'bolder'
23
- ],
24
- type: syntaxRuleType.Native
25
- },
26
- 'font-family': {
27
- aliasGroups: [
28
- 'font',
29
- 'f'
30
- ],
31
- type: syntaxRuleType.Native
32
- },
33
- 'font-smooth': {
34
- type: syntaxRuleType.Native
35
- },
36
- 'font-style': {
37
- aliasGroups: [
38
- 'font',
39
- 'f'
40
- ],
41
- values: [
42
- 'normal',
43
- 'italic',
44
- 'oblique'
45
- ],
46
- type: syntaxRuleType.Native,
47
- unit: 'deg'
48
- },
49
- 'font-variant-numeric': {
50
- aliasGroups: [
51
- 'font',
52
- 'f'
53
- ],
54
- values: [
55
- 'ordinal',
56
- 'slashed-zero',
57
- 'lining-nums',
58
- 'oldstyle-nums',
59
- 'proportional-nums',
60
- 'tabular-nums',
61
- 'diagonal-fractions',
62
- 'stacked-fractions'
63
- ],
64
- type: syntaxRuleType.Native
65
- },
66
- 'font-variant': {
67
- aliasGroups: [
68
- 'font',
69
- 'f'
70
- ],
71
- type: syntaxRuleType.NativeShorthand
72
- },
73
- font: {
74
- subkey: 'f',
75
- type: syntaxRuleType.NativeShorthand,
76
- namespaces: [
77
- 'font-family',
78
- 'font-variant',
79
- 'font-weight',
80
- 'font-size',
81
- 'font-style'
82
- ]
83
- },
84
- 'font-feature-settings': {
85
- key: 'font-feature',
86
- type: syntaxRuleType.Native
87
- },
88
- color: {
89
- key: 'fg',
90
- type: syntaxRuleType.Native,
91
- namespaces: [
92
- 'color.text'
93
- ]
94
- },
95
- // margin
96
- 'margin-left': {
97
- key: 'ml',
98
- type: syntaxRuleType.Native,
99
- unit: 'rem',
100
- namespaces: [
101
- 'spacing'
102
- ]
103
- },
104
- 'margin-right': {
105
- key: 'mr',
106
- type: syntaxRuleType.Native,
107
- unit: 'rem',
108
- namespaces: [
109
- 'spacing'
110
- ]
111
- },
112
- 'margin-top': {
113
- key: 'mt',
114
- type: syntaxRuleType.Native,
115
- unit: 'rem',
116
- namespaces: [
117
- 'spacing'
118
- ]
119
- },
120
- 'margin-bottom': {
121
- key: 'mb',
122
- type: syntaxRuleType.Native,
123
- unit: 'rem',
124
- namespaces: [
125
- 'spacing'
126
- ]
127
- },
128
- 'margin-x': {
129
- key: 'mx',
130
- subkey: 'margin-x',
131
- unit: 'rem',
132
- type: syntaxRuleType.Shorthand,
133
- declarations: [
134
- 'margin-left',
135
- 'margin-right'
136
- ],
137
- namespaces: [
138
- 'spacing'
139
- ]
140
- },
141
- 'margin-y': {
142
- key: 'my',
143
- unit: 'rem',
144
- type: syntaxRuleType.Shorthand,
145
- declarations: [
146
- 'margin-top',
147
- 'margin-bottom'
148
- ],
149
- namespaces: [
150
- 'spacing'
151
- ]
152
- },
153
- margin: {
154
- key: 'm',
155
- unit: 'rem',
156
- type: syntaxRuleType.NativeShorthand,
157
- namespaces: [
158
- 'spacing'
159
- ]
160
- },
161
- // margin inline
162
- 'margin-inline-start': {
163
- key: 'mis',
164
- type: syntaxRuleType.Native,
165
- unit: 'rem',
166
- namespaces: [
167
- 'spacing'
168
- ]
169
- },
170
- 'margin-inline-end': {
171
- key: 'mie',
172
- type: syntaxRuleType.Native,
173
- unit: 'rem',
174
- namespaces: [
175
- 'spacing'
176
- ]
177
- },
178
- 'margin-inline': {
179
- key: 'mi',
180
- unit: 'rem',
181
- type: syntaxRuleType.NativeShorthand,
182
- namespaces: [
183
- 'spacing'
184
- ]
185
- },
186
- // padding
187
- 'padding-left': {
188
- key: 'pl',
189
- type: syntaxRuleType.Native,
190
- unit: 'rem',
191
- namespaces: [
192
- 'spacing'
193
- ]
194
- },
195
- 'padding-right': {
196
- key: 'pr',
197
- type: syntaxRuleType.Native,
198
- unit: 'rem',
199
- namespaces: [
200
- 'spacing'
201
- ]
202
- },
203
- 'padding-top': {
204
- key: 'pt',
205
- type: syntaxRuleType.Native,
206
- unit: 'rem',
207
- namespaces: [
208
- 'spacing'
209
- ]
210
- },
211
- 'padding-bottom': {
212
- key: 'pb',
213
- type: syntaxRuleType.Native,
214
- unit: 'rem',
215
- namespaces: [
216
- 'spacing'
217
- ]
218
- },
219
- 'padding-x': {
220
- key: 'px',
221
- unit: 'rem',
222
- type: syntaxRuleType.Shorthand,
223
- declarations: [
224
- 'padding-left',
225
- 'padding-right'
226
- ],
227
- namespaces: [
228
- 'spacing'
229
- ]
230
- },
231
- 'padding-y': {
232
- key: 'py',
233
- unit: 'rem',
234
- type: syntaxRuleType.Shorthand,
235
- declarations: [
236
- 'padding-top',
237
- 'padding-bottom'
238
- ],
239
- namespaces: [
240
- 'spacing'
241
- ]
242
- },
243
- padding: {
244
- key: 'p',
245
- unit: 'rem',
246
- type: syntaxRuleType.NativeShorthand,
247
- namespaces: [
248
- 'spacing'
249
- ]
250
- },
251
- // padding inline
252
- 'padding-inline-start': {
253
- key: 'pis',
254
- type: syntaxRuleType.Native,
255
- unit: 'rem',
256
- namespaces: [
257
- 'spacing'
258
- ]
259
- },
260
- 'padding-inline-end': {
261
- key: 'pie',
262
- type: syntaxRuleType.Native,
263
- unit: 'rem',
264
- namespaces: [
265
- 'spacing'
266
- ]
267
- },
268
- 'padding-inline': {
269
- key: 'pi',
270
- unit: 'rem',
271
- type: syntaxRuleType.NativeShorthand,
272
- namespaces: [
273
- 'spacing'
274
- ]
275
- },
276
- // flex
277
- 'flex-basis': {
278
- aliasGroups: [
279
- 'flex'
280
- ],
281
- unit: 'rem',
282
- type: syntaxRuleType.Native
283
- },
284
- 'flex-wrap': {
285
- aliasGroups: [
286
- 'flex'
287
- ],
288
- values: [
289
- 'wrap',
290
- 'nowrap',
291
- 'wrap-reverse'
292
- ],
293
- type: syntaxRuleType.Native
294
- },
295
- 'flex-grow': {
296
- aliasGroups: [
297
- 'flex'
298
- ],
299
- type: syntaxRuleType.Native
300
- },
301
- 'flex-shrink': {
302
- aliasGroups: [
303
- 'flex'
304
- ],
305
- type: syntaxRuleType.Native
306
- },
307
- 'flex-direction': {
308
- aliasGroups: [
309
- 'flex'
310
- ],
311
- values: [
312
- 'row',
313
- 'row-reverse',
314
- 'column',
315
- 'column-reverse'
316
- ],
317
- type: syntaxRuleType.Native
318
- },
319
- flex: {
320
- type: syntaxRuleType.NativeShorthand
321
- },
322
- display: {
323
- key: 'd',
324
- type: syntaxRuleType.Native
325
- },
326
- width: {
327
- key: 'w',
328
- unit: 'rem',
329
- type: syntaxRuleType.Native
330
- },
331
- height: {
332
- key: 'h',
333
- unit: 'rem',
334
- type: syntaxRuleType.Native
335
- },
336
- 'min-width': {
337
- key: 'min-w',
338
- unit: 'rem',
339
- type: syntaxRuleType.Native
340
- },
341
- 'min-height': {
342
- key: 'min-h',
343
- unit: 'rem',
344
- type: syntaxRuleType.Native
345
- },
346
- size: {
347
- type: syntaxRuleType.Shorthand,
348
- unit: 'rem',
349
- declarer: [
350
- 'pair',
351
- [
352
- 'width',
353
- 'height'
354
- ]
355
- ]
356
- },
357
- 'min-size': {
358
- key: 'min',
359
- type: syntaxRuleType.Shorthand,
360
- unit: 'rem',
361
- declarer: [
362
- 'pair',
363
- [
364
- 'min-width',
365
- 'min-height'
366
- ]
367
- ]
368
- },
369
- 'max-size': {
370
- key: 'max',
371
- type: syntaxRuleType.Shorthand,
372
- unit: 'rem',
373
- declarer: [
374
- 'pair',
375
- [
376
- 'max-width',
377
- 'max-height'
378
- ]
379
- ]
380
- },
381
- 'box-sizing': {
382
- aliasGroups: [
383
- 'box'
384
- ],
385
- type: syntaxRuleType.Native
386
- },
387
- 'box-decoration-break': {
388
- key: 'box-decoration',
389
- type: syntaxRuleType.Native,
390
- declarations: [
391
- '-webkit-box-decoration-break',
392
- 'box-decoration-break'
393
- ]
394
- },
395
- container: {
396
- type: syntaxRuleType.NativeShorthand
397
- },
398
- 'container-name': {
399
- type: syntaxRuleType.Native
400
- },
401
- 'container-type': {
402
- type: syntaxRuleType.Native,
403
- aliasGroups: [
404
- 'container'
405
- ],
406
- values: [
407
- 'size',
408
- 'inline-size',
409
- 'scroll-state'
410
- ]
411
- },
412
- contain: {
413
- type: syntaxRuleType.Native
414
- },
415
- content: {
416
- type: syntaxRuleType.Native
417
- },
418
- 'counter-increment': {
419
- type: syntaxRuleType.Native
420
- },
421
- 'counter-reset': {
422
- type: syntaxRuleType.Native
423
- },
424
- 'letter-spacing': {
425
- key: 'tracking',
426
- subkey: 'ls',
427
- type: syntaxRuleType.Native,
428
- unit: 'em'
429
- },
430
- 'line-height': {
431
- key: 'leading',
432
- subkey: 'line-h',
433
- type: syntaxRuleType.Native
434
- },
435
- 'object-fit': {
436
- aliasGroups: [
437
- 'object',
438
- 'obj'
439
- ],
440
- values: [
441
- 'contain',
442
- 'cover',
443
- 'fill',
444
- 'scale-down'
445
- ],
446
- type: syntaxRuleType.Native
447
- },
448
- 'object-position': {
449
- aliasGroups: [
450
- 'object',
451
- 'obj'
452
- ],
453
- values: [
454
- 'top',
455
- 'bottom',
456
- 'right',
457
- 'left',
458
- 'center'
459
- ],
460
- type: syntaxRuleType.Native
461
- },
462
- 'text-align': {
463
- aliasGroups: [
464
- 'text',
465
- 't'
466
- ],
467
- values: [
468
- 'justify',
469
- 'center',
470
- 'left',
471
- 'right',
472
- 'start',
473
- 'end'
474
- ],
475
- type: syntaxRuleType.Native
476
- },
477
- 'text-decoration-color': {
478
- aliasGroups: [
479
- 'text-decoration'
480
- ],
481
- kind: 'color',
482
- type: syntaxRuleType.Native,
483
- namespaces: [
484
- 'color',
485
- 'color.text'
486
- ]
487
- },
488
- 'text-decoration-style': {
489
- aliasGroups: [
490
- 'text-decoration'
491
- ],
492
- values: [
493
- 'solid',
494
- 'double',
495
- 'dotted',
496
- 'dashed',
497
- 'wavy'
498
- ],
499
- type: syntaxRuleType.Native
500
- },
501
- 'text-decoration-thickness': {
502
- aliasGroups: [
503
- 'text-decoration'
504
- ],
505
- values: [
506
- 'from-font'
507
- ],
508
- kind: 'number',
509
- type: syntaxRuleType.Native,
510
- unit: 'em'
511
- },
512
- 'text-decoration-line': {
513
- aliasGroups: [
514
- 'text-decoration'
515
- ],
516
- values: [
517
- 'underline',
518
- 'overline',
519
- 'line-through'
520
- ],
521
- type: syntaxRuleType.Native
522
- },
523
- 'text-decoration': {
524
- aliasGroups: [
525
- 'text',
526
- 't'
527
- ],
528
- values: [
529
- 'underline',
530
- 'overline',
531
- 'line-through'
532
- ],
533
- unit: 'rem',
534
- type: syntaxRuleType.NativeShorthand,
535
- namespaces: [
536
- 'color',
537
- 'color.text'
538
- ],
539
- declarations: [
540
- '-webkit-text-decoration',
541
- 'text-decoration'
542
- ]
543
- },
544
- 'text-underline-offset': {
545
- aliasGroups: [
546
- 'text-underline'
547
- ],
548
- unit: 'rem',
549
- type: syntaxRuleType.Native,
550
- namespaces: [
551
- 'spacing'
552
- ]
553
- },
554
- 'text-underline-position': {
555
- aliasGroups: [
556
- 'text-underline'
557
- ],
558
- values: [
559
- 'front-font',
560
- 'under',
561
- 'left',
562
- 'right'
563
- ],
564
- type: syntaxRuleType.Native
565
- },
566
- 'text-overflow': {
567
- aliasGroups: [
568
- 'text',
569
- 't'
570
- ],
571
- values: [
572
- 'ellipsis',
573
- 'clip'
574
- ],
575
- type: syntaxRuleType.Native
576
- },
577
- 'text-orientation': {
578
- aliasGroups: [
579
- 'text',
580
- 't'
581
- ],
582
- values: [
583
- 'mixed',
584
- 'upright',
585
- 'sideways-right',
586
- 'sideways',
587
- 'use-glyph-orientation'
588
- ],
589
- type: syntaxRuleType.Native
590
- },
591
- 'text-transform': {
592
- aliasGroups: [
593
- 'text',
594
- 't'
595
- ],
596
- values: [
597
- 'uppercase',
598
- 'lowercase',
599
- 'capitalize'
600
- ],
601
- type: syntaxRuleType.Native
602
- },
603
- 'text-rendering': {
604
- aliasGroups: [
605
- 'text',
606
- 't'
607
- ],
608
- values: [
609
- 'optimizeSpeed',
610
- 'optimizeLegibility',
611
- 'geometricPrecision'
612
- ],
613
- type: syntaxRuleType.Native
614
- },
615
- 'text-wrap': {
616
- aliasGroups: [
617
- 'text',
618
- 't'
619
- ],
620
- values: [
621
- 'wrap',
622
- 'nowrap',
623
- 'balance',
624
- 'pretty'
625
- ],
626
- type: syntaxRuleType.NativeShorthand
627
- },
628
- 'text-indent': {
629
- unit: 'rem',
630
- type: syntaxRuleType.Native
631
- },
632
- 'vertical-align': {
633
- key: 'v',
634
- subkey: 'vertical',
635
- type: syntaxRuleType.Native
636
- },
637
- columns: {
638
- key: 'cols',
639
- type: syntaxRuleType.NativeShorthand
640
- },
641
- 'overflow-wrap': {
642
- type: syntaxRuleType.Native
643
- },
644
- 'white-space': {
645
- type: syntaxRuleType.Native
646
- },
647
- top: {
648
- type: syntaxRuleType.Native,
649
- unit: 'rem',
650
- namespaces: [
651
- 'spacing'
652
- ]
653
- },
654
- bottom: {
655
- type: syntaxRuleType.Native,
656
- unit: 'rem',
657
- namespaces: [
658
- 'spacing'
659
- ]
660
- },
661
- left: {
662
- type: syntaxRuleType.Native,
663
- unit: 'rem',
664
- namespaces: [
665
- 'spacing'
666
- ]
667
- },
668
- right: {
669
- type: syntaxRuleType.Native,
670
- unit: 'rem',
671
- namespaces: [
672
- 'spacing'
673
- ]
674
- },
675
- inset: {
676
- unit: 'rem',
677
- type: syntaxRuleType.NativeShorthand,
678
- namespaces: [
679
- 'spacing'
680
- ]
681
- },
682
- 'max-height': {
683
- key: 'max-h',
684
- unit: 'rem',
685
- type: syntaxRuleType.Native
686
- },
687
- 'max-width': {
688
- key: 'max-w',
689
- unit: 'rem',
690
- type: syntaxRuleType.Native
691
- },
692
- opacity: {
693
- type: syntaxRuleType.Native
694
- },
695
- visibility: {
696
- type: syntaxRuleType.Native
697
- },
698
- clear: {
699
- type: syntaxRuleType.Native
700
- },
701
- float: {
702
- type: syntaxRuleType.Native
703
- },
704
- isolation: {
705
- type: syntaxRuleType.Native
706
- },
707
- 'overflow-x': {
708
- type: syntaxRuleType.Native
709
- },
710
- 'overflow-y': {
711
- type: syntaxRuleType.Native
712
- },
713
- overflow: {
714
- type: syntaxRuleType.NativeShorthand
715
- },
716
- 'overscroll-behavior-x': {
717
- type: syntaxRuleType.Native
718
- },
719
- 'overscroll-behavior-y': {
720
- type: syntaxRuleType.Native
721
- },
722
- 'overscroll-behavior': {
723
- type: syntaxRuleType.NativeShorthand
724
- },
725
- 'z-index': {
726
- key: 'z',
727
- type: syntaxRuleType.Native
728
- },
729
- position: {
730
- type: syntaxRuleType.Native
731
- },
732
- cursor: {
733
- type: syntaxRuleType.Native
734
- },
735
- 'pointer-events': {
736
- type: syntaxRuleType.Native
737
- },
738
- resize: {
739
- type: syntaxRuleType.Native
740
- },
741
- 'touch-action': {
742
- type: syntaxRuleType.Native
743
- },
744
- 'word-break': {
745
- type: syntaxRuleType.Native
746
- },
747
- 'word-spacing': {
748
- type: syntaxRuleType.Native,
749
- unit: 'em'
750
- },
751
- hyphens: {
752
- type: syntaxRuleType.Native
753
- },
754
- 'user-drag': {
755
- type: syntaxRuleType.Native,
756
- declarations: [
757
- '-webkit-user-drag',
758
- 'user-drag'
759
- ]
760
- },
761
- 'user-select': {
762
- type: syntaxRuleType.Native,
763
- declarations: [
764
- '-webkit-user-select',
765
- 'user-select'
766
- ]
767
- },
768
- 'text-shadow': {
769
- unit: 'rem',
770
- type: syntaxRuleType.Native,
771
- namespaces: [
772
- 'color'
773
- ]
774
- },
775
- 'text-size': {
776
- aliasGroups: [
777
- 'text',
778
- 't'
779
- ],
780
- kind: 'number',
781
- unit: 'rem',
782
- declarations: {
783
- 'font-size': undefined,
784
- 'line-height': [
785
- 'max(1.8em - max(0rem, ',
786
- undefined,
787
- ' - 1rem) * 1.12',
788
- ', ',
789
- undefined,
790
- ')'
791
- ],
792
- 'letter-spacing': [
793
- 'clamp(-0.072em, calc((',
794
- undefined,
795
- ' - 1rem) * -0.048), 0em)'
796
- ]
797
- },
798
- type: syntaxRuleType.Shorthand,
799
- namespaces: [
800
- 'font-size'
801
- ]
802
- },
803
- 'text-fill-color': {
804
- aliasGroups: [
805
- 'text',
806
- 't'
807
- ],
808
- kind: 'color',
809
- type: syntaxRuleType.Native,
810
- namespaces: [
811
- 'color',
812
- 'color.text'
813
- ],
814
- declarations: [
815
- '-webkit-text-fill-color'
816
- ]
817
- },
818
- 'text-stroke-width': {
819
- aliasGroups: [
820
- 'text-stroke'
821
- ],
822
- values: [
823
- 'thin',
824
- 'medium',
825
- 'thick'
826
- ],
827
- kind: 'number',
828
- unit: 'rem',
829
- type: syntaxRuleType.Native,
830
- declarations: [
831
- '-webkit-text-stroke-width'
832
- ]
833
- },
834
- 'text-stroke-color': {
835
- aliasGroups: [
836
- 'text-stroke'
837
- ],
838
- kind: 'color',
839
- type: syntaxRuleType.Native,
840
- declarations: [
841
- '-webkit-text-stroke-color'
842
- ],
843
- namespaces: [
844
- 'color'
845
- ]
846
- },
847
- 'text-stroke': {
848
- unit: 'rem',
849
- type: syntaxRuleType.Native,
850
- declarations: [
851
- '-webkit-text-stroke'
852
- ]
853
- },
854
- 'text-truncate': {
855
- subkey: 'lines',
856
- declarations: {
857
- display: '-webkit-box',
858
- '-webkit-box-orient': 'vertical',
859
- '-webkit-line-clamp': undefined,
860
- overflow: 'hidden',
861
- 'overflow-wrap': 'break-word',
862
- 'text-overflow': 'ellipsis'
863
- },
864
- type: syntaxRuleType.Shorthand
865
- },
866
- 'box-shadow': {
867
- key: 'shadow',
868
- subkey: 's',
869
- unit: 'rem',
870
- type: syntaxRuleType.Native,
871
- namespaces: [
872
- 'color'
873
- ]
874
- },
875
- 'table-layout': {
876
- type: syntaxRuleType.Native
877
- },
878
- 'transform-box': {
879
- aliasGroups: [
880
- 'transform'
881
- ],
882
- type: syntaxRuleType.Native
883
- },
884
- 'transform-style': {
885
- aliasGroups: [
886
- 'transform'
887
- ],
888
- values: [
889
- 'flat',
890
- 'preserve-3d'
891
- ],
892
- type: syntaxRuleType.Native
893
- },
894
- 'transform-origin': {
895
- aliasGroups: [
896
- 'transform'
897
- ],
898
- values: [
899
- 'top',
900
- 'bottom',
901
- 'right',
902
- 'left',
903
- 'center'
904
- ],
905
- kind: 'number',
906
- unit: 'px',
907
- type: syntaxRuleType.Native
908
- },
909
- transform: {
910
- type: syntaxRuleType.Native,
911
- namespaces: [
912
- 'spacing'
913
- ]
914
- },
915
- 'translate()': {
916
- declarations: [
917
- 'transform'
918
- ],
919
- unit: 'rem',
920
- namespaces: [
921
- 'spacing'
922
- ]
923
- },
924
- 'translateX()': {
925
- declarations: [
926
- 'transform'
927
- ],
928
- unit: 'rem',
929
- namespaces: [
930
- 'spacing'
931
- ]
932
- },
933
- 'translateY()': {
934
- declarations: [
935
- 'transform'
936
- ],
937
- unit: 'rem',
938
- namespaces: [
939
- 'spacing'
940
- ]
941
- },
942
- 'translateZ()': {
943
- declarations: [
944
- 'transform'
945
- ],
946
- unit: 'rem',
947
- namespaces: [
948
- 'spacing'
949
- ]
950
- },
951
- 'translate3d()': {
952
- declarations: [
953
- 'transform'
954
- ],
955
- unit: 'rem',
956
- namespaces: [
957
- 'spacing'
958
- ]
959
- },
960
- 'scale()': {
961
- declarations: [
962
- 'transform'
963
- ]
964
- },
965
- 'scaleX()': {
966
- declarations: [
967
- 'transform'
968
- ]
969
- },
970
- 'scaleY()': {
971
- declarations: [
972
- 'transform'
973
- ]
974
- },
975
- 'scaleZ()': {
976
- declarations: [
977
- 'transform'
978
- ]
979
- },
980
- 'scale3d()': {
981
- declarations: [
982
- 'transform'
983
- ]
984
- },
985
- 'rotate()': {
986
- declarations: [
987
- 'transform'
988
- ]
989
- },
990
- 'rotateX()': {
991
- declarations: [
992
- 'transform'
993
- ]
994
- },
995
- 'rotateY()': {
996
- declarations: [
997
- 'transform'
998
- ]
999
- },
1000
- 'rotateZ()': {
1001
- declarations: [
1002
- 'transform'
1003
- ]
1004
- },
1005
- 'rotate3d()': {
1006
- declarations: [
1007
- 'transform'
1008
- ]
1009
- },
1010
- 'perspective()': {
1011
- declarations: [
1012
- 'transform'
1013
- ]
1014
- },
1015
- 'matrix()': {
1016
- declarations: [
1017
- 'transform'
1018
- ]
1019
- },
1020
- 'matrix3d()': {
1021
- declarations: [
1022
- 'transform'
1023
- ]
1024
- },
1025
- 'transition-property': {
1026
- key: '~property',
1027
- type: syntaxRuleType.Native
1028
- },
1029
- 'transition-timing-function': {
1030
- key: '~easing',
1031
- type: syntaxRuleType.Native
1032
- },
1033
- 'transition-duration': {
1034
- key: '~duration',
1035
- type: syntaxRuleType.Native,
1036
- unit: 'ms'
1037
- },
1038
- 'transition-delay': {
1039
- key: '~delay',
1040
- type: syntaxRuleType.Native,
1041
- unit: 'ms'
1042
- },
1043
- transition: {
1044
- sign: '~',
1045
- type: syntaxRuleType.NativeShorthand
1046
- },
1047
- 'animation-delay': {
1048
- key: '@delay',
1049
- type: syntaxRuleType.Native,
1050
- unit: 'ms'
1051
- },
1052
- 'animation-direction': {
1053
- key: '@direction',
1054
- type: syntaxRuleType.Native
1055
- },
1056
- 'animation-duration': {
1057
- key: '@duration',
1058
- type: syntaxRuleType.Native,
1059
- unit: 'ms'
1060
- },
1061
- 'animation-fill-mode': {
1062
- key: '@fill',
1063
- type: syntaxRuleType.Native
1064
- },
1065
- 'animation-iteration-count': {
1066
- key: '@iteration',
1067
- type: syntaxRuleType.Native
1068
- },
1069
- 'animation-name': {
1070
- key: '@name',
1071
- type: syntaxRuleType.Native,
1072
- includeAnimations: true
1073
- },
1074
- 'animation-play-state': {
1075
- key: '@play',
1076
- type: syntaxRuleType.Native
1077
- },
1078
- 'animation-timing-function': {
1079
- key: '@easing',
1080
- type: syntaxRuleType.Native
1081
- },
1082
- animation: {
1083
- sign: '@',
1084
- type: syntaxRuleType.NativeShorthand,
1085
- includeAnimations: true
1086
- },
1087
- 'border-collapse': {
1088
- aliasGroups: [
1089
- 'b',
1090
- 'border'
1091
- ],
1092
- values: [
1093
- 'collapse',
1094
- 'separate'
1095
- ],
1096
- type: syntaxRuleType.Native
1097
- },
1098
- 'border-spacing': {
1099
- unit: 'rem',
1100
- type: syntaxRuleType.Native,
1101
- namespaces: [
1102
- 'spacing'
1103
- ]
1104
- },
1105
- // border color
1106
- 'border-top-color': {
1107
- aliasGroups: [
1108
- 'bt',
1109
- 'border-top'
1110
- ],
1111
- kind: 'color',
1112
- type: syntaxRuleType.Native,
1113
- namespaces: [
1114
- 'color',
1115
- 'color.line'
1116
- ]
1117
- },
1118
- 'border-bottom-color': {
1119
- aliasGroups: [
1120
- 'bb',
1121
- 'border-bottom'
1122
- ],
1123
- kind: 'color',
1124
- type: syntaxRuleType.Native,
1125
- namespaces: [
1126
- 'color',
1127
- 'color.line'
1128
- ]
1129
- },
1130
- 'border-left-color': {
1131
- aliasGroups: [
1132
- 'bl',
1133
- 'border-left'
1134
- ],
1135
- kind: 'color',
1136
- type: syntaxRuleType.Native,
1137
- namespaces: [
1138
- 'color',
1139
- 'color.line'
1140
- ]
1141
- },
1142
- 'border-right-color': {
1143
- aliasGroups: [
1144
- 'br',
1145
- 'border-right'
1146
- ],
1147
- kind: 'color',
1148
- type: syntaxRuleType.Native,
1149
- namespaces: [
1150
- 'color',
1151
- 'color.line'
1152
- ]
1153
- },
1154
- 'border-x-color': {
1155
- aliasGroups: [
1156
- 'bx',
1157
- 'border-x'
1158
- ],
1159
- kind: 'color',
1160
- type: syntaxRuleType.Shorthand,
1161
- namespaces: [
1162
- 'color',
1163
- 'color.line'
1164
- ],
1165
- declarations: [
1166
- 'border-left-color',
1167
- 'border-right-color'
1168
- ]
1169
- },
1170
- 'border-y-color': {
1171
- aliasGroups: [
1172
- 'by',
1173
- 'border-y'
1174
- ],
1175
- kind: 'color',
1176
- type: syntaxRuleType.Shorthand,
1177
- namespaces: [
1178
- 'color',
1179
- 'color.line'
1180
- ],
1181
- declarations: [
1182
- 'border-top-color',
1183
- 'border-bottom-color'
1184
- ]
1185
- },
1186
- 'border-color': {
1187
- aliasGroups: [
1188
- 'b',
1189
- 'border'
1190
- ],
1191
- kind: 'color',
1192
- type: syntaxRuleType.NativeShorthand,
1193
- namespaces: [
1194
- 'color',
1195
- 'color.line'
1196
- ]
1197
- },
1198
- // border radius
1199
- 'border-top-left-radius': {
1200
- key: 'rtl',
1201
- unit: 'rem',
1202
- type: syntaxRuleType.Native,
1203
- namespaces: [
1204
- 'border-radius'
1205
- ]
1206
- },
1207
- 'border-top-right-radius': {
1208
- key: 'rtr',
1209
- unit: 'rem',
1210
- type: syntaxRuleType.Native,
1211
- namespaces: [
1212
- 'border-radius'
1213
- ]
1214
- },
1215
- 'border-bottom-left-radius': {
1216
- key: 'rbl',
1217
- unit: 'rem',
1218
- type: syntaxRuleType.Native,
1219
- namespaces: [
1220
- 'border-radius'
1221
- ]
1222
- },
1223
- 'border-bottom-right-radius': {
1224
- key: 'rbr',
1225
- unit: 'rem',
1226
- type: syntaxRuleType.Native,
1227
- namespaces: [
1228
- 'border-radius'
1229
- ]
1230
- },
1231
- 'border-top-radius': {
1232
- key: 'rt',
1233
- unit: 'rem',
1234
- type: syntaxRuleType.Shorthand,
1235
- declarations: [
1236
- 'border-top-left-radius',
1237
- 'border-top-right-radius'
1238
- ],
1239
- namespaces: [
1240
- 'border-radius'
1241
- ]
1242
- },
1243
- 'border-bottom-radius': {
1244
- key: 'rb',
1245
- unit: 'rem',
1246
- type: syntaxRuleType.Shorthand,
1247
- declarations: [
1248
- 'border-bottom-left-radius',
1249
- 'border-bottom-right-radius'
1250
- ],
1251
- namespaces: [
1252
- 'border-radius'
1253
- ]
1254
- },
1255
- 'border-left-radius': {
1256
- key: 'rl',
1257
- unit: 'rem',
1258
- type: syntaxRuleType.Shorthand,
1259
- declarations: [
1260
- 'border-top-left-radius',
1261
- 'border-bottom-left-radius'
1262
- ],
1263
- namespaces: [
1264
- 'border-radius'
1265
- ]
1266
- },
1267
- 'border-right-radius': {
1268
- key: 'rr',
1269
- unit: 'rem',
1270
- type: syntaxRuleType.Shorthand,
1271
- declarations: [
1272
- 'border-top-right-radius',
1273
- 'border-bottom-right-radius'
1274
- ],
1275
- namespaces: [
1276
- 'border-radius'
1277
- ]
1278
- },
1279
- 'border-radius': {
1280
- key: 'r',
1281
- unit: 'rem',
1282
- type: syntaxRuleType.NativeShorthand
1283
- },
1284
- // border style
1285
- 'border-top-style': {
1286
- aliasGroups: [
1287
- 'bt',
1288
- 'border-top'
1289
- ],
1290
- values: common.BORDER_STYLE_VALUES,
1291
- type: syntaxRuleType.Native
1292
- },
1293
- 'border-bottom-style': {
1294
- aliasGroups: [
1295
- 'bb',
1296
- 'border-bottom'
1297
- ],
1298
- values: common.BORDER_STYLE_VALUES,
1299
- type: syntaxRuleType.Native
1300
- },
1301
- 'border-left-style': {
1302
- aliasGroups: [
1303
- 'bl',
1304
- 'border-left'
1305
- ],
1306
- values: common.BORDER_STYLE_VALUES,
1307
- type: syntaxRuleType.Native
1308
- },
1309
- 'border-right-style': {
1310
- aliasGroups: [
1311
- 'br',
1312
- 'border-right'
1313
- ],
1314
- values: common.BORDER_STYLE_VALUES,
1315
- type: syntaxRuleType.Native
1316
- },
1317
- 'border-x-style': {
1318
- aliasGroups: [
1319
- 'bx',
1320
- 'border-x'
1321
- ],
1322
- values: common.BORDER_STYLE_VALUES,
1323
- type: syntaxRuleType.Shorthand,
1324
- declarations: [
1325
- 'border-left-style',
1326
- 'border-right-style'
1327
- ]
1328
- },
1329
- 'border-y-style': {
1330
- aliasGroups: [
1331
- 'by',
1332
- 'border-y'
1333
- ],
1334
- values: common.BORDER_STYLE_VALUES,
1335
- type: syntaxRuleType.Shorthand,
1336
- declarations: [
1337
- 'border-top-style',
1338
- 'border-bottom-style'
1339
- ]
1340
- },
1341
- 'border-style': {
1342
- aliasGroups: [
1343
- 'b',
1344
- 'border'
1345
- ],
1346
- values: common.BORDER_STYLE_VALUES,
1347
- type: syntaxRuleType.NativeShorthand
1348
- },
1349
- // border width
1350
- 'border-top-width': {
1351
- aliasGroups: [
1352
- 'bt',
1353
- 'border-top'
1354
- ],
1355
- kind: 'number',
1356
- unit: 'rem',
1357
- type: syntaxRuleType.Native
1358
- },
1359
- 'border-bottom-width': {
1360
- aliasGroups: [
1361
- 'bb',
1362
- 'border-bottom'
1363
- ],
1364
- kind: 'number',
1365
- unit: 'rem',
1366
- type: syntaxRuleType.Native
1367
- },
1368
- 'border-left-width': {
1369
- aliasGroups: [
1370
- 'bl',
1371
- 'border-left'
1372
- ],
1373
- kind: 'number',
1374
- unit: 'rem',
1375
- type: syntaxRuleType.Native
1376
- },
1377
- 'border-right-width': {
1378
- aliasGroups: [
1379
- 'br',
1380
- 'border-right'
1381
- ],
1382
- kind: 'number',
1383
- unit: 'rem',
1384
- type: syntaxRuleType.Native
1385
- },
1386
- 'border-x-width': {
1387
- aliasGroups: [
1388
- 'bx',
1389
- 'border-x'
1390
- ],
1391
- kind: 'number',
1392
- unit: 'rem',
1393
- type: syntaxRuleType.Shorthand,
1394
- declarations: [
1395
- 'border-left-width',
1396
- 'border-right-width'
1397
- ]
1398
- },
1399
- 'border-y-width': {
1400
- aliasGroups: [
1401
- 'by',
1402
- 'border-y'
1403
- ],
1404
- kind: 'number',
1405
- unit: 'rem',
1406
- type: syntaxRuleType.Shorthand,
1407
- declarations: [
1408
- 'border-top-width',
1409
- 'border-bottom-width'
1410
- ]
1411
- },
1412
- 'border-width': {
1413
- aliasGroups: [
1414
- 'b',
1415
- 'border'
1416
- ],
1417
- kind: 'number',
1418
- unit: 'rem',
1419
- type: syntaxRuleType.NativeShorthand
1420
- },
1421
- // border image
1422
- 'border-image-repeat': {
1423
- aliasGroups: [
1424
- 'border-image'
1425
- ],
1426
- values: [
1427
- 'stretch',
1428
- 'repeat',
1429
- 'round',
1430
- 'space'
1431
- ],
1432
- type: syntaxRuleType.Native
1433
- },
1434
- 'border-image-slice': {
1435
- aliasGroups: [
1436
- 'border-image'
1437
- ],
1438
- type: syntaxRuleType.Native
1439
- },
1440
- 'border-image-source': {
1441
- aliasGroups: [
1442
- 'border-image'
1443
- ],
1444
- kind: 'image',
1445
- type: syntaxRuleType.Native
1446
- },
1447
- 'border-image-width': {
1448
- aliasGroups: [
1449
- 'border-image'
1450
- ],
1451
- values: [
1452
- 'auto'
1453
- ],
1454
- kind: 'number',
1455
- unit: 'rem',
1456
- type: syntaxRuleType.Native
1457
- },
1458
- 'border-image-outset': {
1459
- aliasGroups: [
1460
- 'border-image'
1461
- ],
1462
- kind: 'number',
1463
- unit: 'rem',
1464
- type: syntaxRuleType.Native
1465
- },
1466
- 'border-image': {
1467
- type: syntaxRuleType.NativeShorthand
1468
- },
1469
- // border
1470
- 'border-top': {
1471
- key: 'bt',
1472
- type: syntaxRuleType.NativeShorthand,
1473
- unit: 'rem',
1474
- transformer: 'auto-fill-solid',
1475
- namespaces: [
1476
- 'color',
1477
- 'color.line'
1478
- ]
1479
- },
1480
- 'border-bottom': {
1481
- key: 'bb',
1482
- type: syntaxRuleType.NativeShorthand,
1483
- unit: 'rem',
1484
- transformer: 'auto-fill-solid',
1485
- namespaces: [
1486
- 'color',
1487
- 'color.line'
1488
- ]
1489
- },
1490
- 'border-left': {
1491
- key: 'bl',
1492
- type: syntaxRuleType.NativeShorthand,
1493
- unit: 'rem',
1494
- transformer: 'auto-fill-solid',
1495
- namespaces: [
1496
- 'color',
1497
- 'color.line'
1498
- ]
1499
- },
1500
- 'border-right': {
1501
- key: 'br',
1502
- type: syntaxRuleType.NativeShorthand,
1503
- unit: 'rem',
1504
- transformer: 'auto-fill-solid',
1505
- namespaces: [
1506
- 'color',
1507
- 'color.line'
1508
- ]
1509
- },
1510
- 'border-x': {
1511
- key: 'bx',
1512
- unit: 'rem',
1513
- type: syntaxRuleType.Shorthand,
1514
- transformer: 'auto-fill-solid',
1515
- namespaces: [
1516
- 'color',
1517
- 'color.line'
1518
- ],
1519
- declarations: [
1520
- 'border-left',
1521
- 'border-right'
1522
- ]
1523
- },
1524
- 'border-y': {
1525
- key: 'by',
1526
- unit: 'rem',
1527
- type: syntaxRuleType.Shorthand,
1528
- transformer: 'auto-fill-solid',
1529
- namespaces: [
1530
- 'color',
1531
- 'color.line'
1532
- ],
1533
- declarations: [
1534
- 'border-top',
1535
- 'border-bottom'
1536
- ]
1537
- },
1538
- border: {
1539
- key: 'b',
1540
- unit: 'rem',
1541
- type: syntaxRuleType.NativeShorthand,
1542
- transformer: 'auto-fill-solid',
1543
- namespaces: [
1544
- 'color',
1545
- 'color.line'
1546
- ]
1547
- },
1548
- 'background-attachment': {
1549
- aliasGroups: [
1550
- 'bg'
1551
- ],
1552
- values: [
1553
- 'fixed',
1554
- 'local',
1555
- 'scroll'
1556
- ],
1557
- type: syntaxRuleType.Native
1558
- },
1559
- 'background-blend-mode': {
1560
- key: 'bg-blend',
1561
- type: syntaxRuleType.Native
1562
- },
1563
- 'background-color': {
1564
- aliasGroups: [
1565
- 'bg'
1566
- ],
1567
- kind: 'color',
1568
- type: syntaxRuleType.Native,
1569
- namespaces: [
1570
- 'color'
1571
- ]
1572
- },
1573
- 'background-clip': {
1574
- key: 'bg-clip',
1575
- type: syntaxRuleType.Native
1576
- },
1577
- 'background-origin': {
1578
- key: 'bg-origin',
1579
- type: syntaxRuleType.Native
1580
- },
1581
- 'background-position': {
1582
- aliasGroups: [
1583
- 'bg'
1584
- ],
1585
- values: [
1586
- 'top',
1587
- 'bottom',
1588
- 'right',
1589
- 'left',
1590
- 'center'
1591
- ],
1592
- type: syntaxRuleType.Native,
1593
- unit: 'px'
1594
- },
1595
- 'background-repeat': {
1596
- aliasGroups: [
1597
- 'bg'
1598
- ],
1599
- values: [
1600
- 'space',
1601
- 'round',
1602
- 'repeat',
1603
- 'no-repeat',
1604
- 'repeat-x',
1605
- 'repeat-y'
1606
- ],
1607
- type: syntaxRuleType.Native
1608
- },
1609
- 'background-size': {
1610
- aliasGroups: [
1611
- 'bg'
1612
- ],
1613
- values: [
1614
- 'auto',
1615
- 'cover',
1616
- 'contain'
1617
- ],
1618
- kind: 'number',
1619
- unit: 'rem',
1620
- type: syntaxRuleType.Native
1621
- },
1622
- 'background-image': {
1623
- aliasGroups: [
1624
- 'bg'
1625
- ],
1626
- kind: 'image',
1627
- type: syntaxRuleType.Native,
1628
- namespaces: [
1629
- 'color'
1630
- ]
1631
- },
1632
- background: {
1633
- key: 'bg',
1634
- type: syntaxRuleType.NativeShorthand,
1635
- namespaces: [
1636
- 'color'
1637
- ]
1638
- },
1639
- 'gradient()': {
1640
- declarations: {
1641
- 'background-image': [
1642
- 'linear-',
1643
- undefined
1644
- ]
1645
- },
1646
- namespaces: [
1647
- 'color'
1648
- ]
1649
- },
1650
- 'mix-blend-mode': {
1651
- key: 'blend',
1652
- type: syntaxRuleType.Native
1653
- },
1654
- 'backdrop-filter': {
1655
- key: 'bd',
1656
- type: syntaxRuleType.Native,
1657
- declarations: [
1658
- '-webkit-backdrop-filter',
1659
- 'backdrop-filter'
1660
- ],
1661
- namespaces: [
1662
- 'color'
1663
- ]
1664
- },
1665
- filter: {
1666
- type: syntaxRuleType.Native,
1667
- namespaces: [
1668
- 'color'
1669
- ]
1670
- },
1671
- 'blur()': {
1672
- declarations: [
1673
- 'filter'
1674
- ]
1675
- },
1676
- 'brightness()': {
1677
- declarations: [
1678
- 'filter'
1679
- ]
1680
- },
1681
- 'contrast()': {
1682
- declarations: [
1683
- 'filter'
1684
- ]
1685
- },
1686
- 'drop-shadow()': {
1687
- declarations: [
1688
- 'filter'
1689
- ],
1690
- namespaces: [
1691
- 'color'
1692
- ]
1693
- },
1694
- 'grayscale()': {
1695
- declarations: [
1696
- 'filter'
1697
- ]
1698
- },
1699
- 'hue-rotate()': {
1700
- declarations: [
1701
- 'filter'
1702
- ]
1703
- },
1704
- 'invert()': {
1705
- declarations: [
1706
- 'filter'
1707
- ]
1708
- },
1709
- 'opacity()': {
1710
- declarations: [
1711
- 'filter'
1712
- ]
1713
- },
1714
- 'saturate()': {
1715
- declarations: [
1716
- 'filter'
1717
- ]
1718
- },
1719
- 'sepia()': {
1720
- declarations: [
1721
- 'filter'
1722
- ]
1723
- },
1724
- fill: {
1725
- type: syntaxRuleType.Native,
1726
- namespaces: [
1727
- 'color'
1728
- ]
1729
- },
1730
- 'stroke-dasharray': {
1731
- type: syntaxRuleType.Native
1732
- },
1733
- 'stroke-dashoffset': {
1734
- type: syntaxRuleType.Native,
1735
- namespaces: [
1736
- 'spacing'
1737
- ]
1738
- },
1739
- 'stroke-width': {
1740
- aliasGroups: [
1741
- 'stroke'
1742
- ],
1743
- kind: 'number',
1744
- type: syntaxRuleType.Native
1745
- },
1746
- stroke: {
1747
- type: syntaxRuleType.Native,
1748
- namespaces: [
1749
- 'color'
1750
- ]
1751
- },
1752
- x: {
1753
- type: syntaxRuleType.Native,
1754
- namespaces: [
1755
- 'spacing'
1756
- ]
1757
- },
1758
- y: {
1759
- type: syntaxRuleType.Native,
1760
- namespaces: [
1761
- 'spacing'
1762
- ]
1763
- },
1764
- cx: {
1765
- type: syntaxRuleType.Native,
1766
- namespaces: [
1767
- 'spacing'
1768
- ]
1769
- },
1770
- cy: {
1771
- type: syntaxRuleType.Native,
1772
- namespaces: [
1773
- 'spacing'
1774
- ]
1775
- },
1776
- rx: {
1777
- type: syntaxRuleType.Native
1778
- },
1779
- ry: {
1780
- type: syntaxRuleType.Native
1781
- },
1782
- 'grid-column-start': {
1783
- key: 'grid-col-start',
1784
- type: syntaxRuleType.Native
1785
- },
1786
- 'grid-column-end': {
1787
- key: 'grid-col-end',
1788
- type: syntaxRuleType.Native
1789
- },
1790
- 'grid-column-span': {
1791
- key: 'grid-col-span',
1792
- type: syntaxRuleType.Shorthand,
1793
- declarations: {
1794
- 'grid-column': [
1795
- 'span ',
1796
- undefined,
1797
- '/span ',
1798
- undefined
1799
- ]
1800
- }
1801
- },
1802
- 'grid-column': {
1803
- key: 'grid-col',
1804
- type: syntaxRuleType.NativeShorthand
1805
- },
1806
- 'grid-columns': {
1807
- key: 'grid-cols',
1808
- declarations: {
1809
- display: 'grid',
1810
- 'grid-template-columns': [
1811
- 'repeat(',
1812
- undefined,
1813
- ',minmax(0,1fr))'
1814
- ]
1815
- },
1816
- type: syntaxRuleType.Shorthand
1817
- },
1818
- 'grid-row-start': {
1819
- type: syntaxRuleType.Native
1820
- },
1821
- 'grid-row-end': {
1822
- type: syntaxRuleType.Native
1823
- },
1824
- 'grid-row-span': {
1825
- type: syntaxRuleType.Shorthand,
1826
- declarations: {
1827
- 'grid-row': [
1828
- 'span ',
1829
- undefined,
1830
- '/span ',
1831
- undefined
1832
- ]
1833
- }
1834
- },
1835
- 'grid-row': {
1836
- type: syntaxRuleType.NativeShorthand
1837
- },
1838
- 'grid-rows': {
1839
- declarations: {
1840
- display: 'grid',
1841
- 'grid-auto-flow': 'column',
1842
- 'grid-template-rows': [
1843
- 'repeat(',
1844
- undefined,
1845
- ',minmax(0,1fr))'
1846
- ]
1847
- },
1848
- type: syntaxRuleType.Shorthand
1849
- },
1850
- 'grid-auto-columns': {
1851
- key: 'grid-auto-cols',
1852
- type: syntaxRuleType.Native
1853
- },
1854
- 'grid-auto-flow': {
1855
- key: 'grid-flow',
1856
- type: syntaxRuleType.Native
1857
- },
1858
- 'grid-auto-rows': {
1859
- type: syntaxRuleType.Native
1860
- },
1861
- 'grid-template-areas': {
1862
- type: syntaxRuleType.Native
1863
- },
1864
- 'grid-template-columns': {
1865
- key: 'grid-template-cols',
1866
- type: syntaxRuleType.Native,
1867
- unit: 'rem'
1868
- },
1869
- 'grid-template-rows': {
1870
- type: syntaxRuleType.Native,
1871
- unit: 'rem'
1872
- },
1873
- 'grid-template': {
1874
- type: syntaxRuleType.NativeShorthand
1875
- },
1876
- 'grid-area': {
1877
- type: syntaxRuleType.NativeShorthand
1878
- },
1879
- grid: {
1880
- type: syntaxRuleType.NativeShorthand
1881
- },
1882
- 'column-gap': {
1883
- key: 'gap-x',
1884
- unit: 'rem',
1885
- type: syntaxRuleType.Native,
1886
- namespaces: [
1887
- 'spacing'
1888
- ]
1889
- },
1890
- 'row-gap': {
1891
- key: 'gap-y',
1892
- unit: 'rem',
1893
- type: syntaxRuleType.Native,
1894
- namespaces: [
1895
- 'spacing'
1896
- ]
1897
- },
1898
- gap: {
1899
- unit: 'rem',
1900
- type: syntaxRuleType.NativeShorthand,
1901
- namespaces: [
1902
- 'spacing'
1903
- ]
1904
- },
1905
- order: {
1906
- key: 'o',
1907
- type: syntaxRuleType.Native
1908
- },
1909
- 'break-inside': {
1910
- type: syntaxRuleType.Native
1911
- },
1912
- 'break-before': {
1913
- type: syntaxRuleType.Native
1914
- },
1915
- 'break-after': {
1916
- type: syntaxRuleType.Native
1917
- },
1918
- 'aspect-ratio': {
1919
- key: 'aspect',
1920
- type: syntaxRuleType.Native
1921
- },
1922
- 'column-span': {
1923
- key: 'col-span',
1924
- type: syntaxRuleType.Native
1925
- },
1926
- 'align-content': {
1927
- subkey: 'ac',
1928
- type: syntaxRuleType.Native
1929
- },
1930
- 'align-items': {
1931
- subkey: 'ai',
1932
- type: syntaxRuleType.Native
1933
- },
1934
- 'align-self': {
1935
- subkey: 'as',
1936
- type: syntaxRuleType.Native
1937
- },
1938
- 'justify-content': {
1939
- subkey: 'jc',
1940
- type: syntaxRuleType.Native
1941
- },
1942
- 'justify-items': {
1943
- subkey: 'ji',
1944
- type: syntaxRuleType.Native
1945
- },
1946
- 'justify-self': {
1947
- subkey: 'js',
1948
- type: syntaxRuleType.Native
1949
- },
1950
- 'place-content': {
1951
- type: syntaxRuleType.NativeShorthand
1952
- },
1953
- 'place-items': {
1954
- type: syntaxRuleType.NativeShorthand
1955
- },
1956
- 'place-self': {
1957
- type: syntaxRuleType.NativeShorthand
1958
- },
1959
- 'list-style-position': {
1960
- aliasGroups: [
1961
- 'list-style'
1962
- ],
1963
- values: [
1964
- 'inside',
1965
- 'outside'
1966
- ],
1967
- type: syntaxRuleType.Native
1968
- },
1969
- 'list-style-type': {
1970
- aliasGroups: [
1971
- 'list-style'
1972
- ],
1973
- values: [
1974
- 'disc',
1975
- 'decimal'
1976
- ],
1977
- type: syntaxRuleType.Native
1978
- },
1979
- 'list-style-image': {
1980
- aliasGroups: [
1981
- 'list-style'
1982
- ],
1983
- kind: 'image',
1984
- type: syntaxRuleType.Native
1985
- },
1986
- 'list-style': {
1987
- type: syntaxRuleType.NativeShorthand
1988
- },
1989
- 'outline-color': {
1990
- aliasGroups: [
1991
- 'outline'
1992
- ],
1993
- kind: 'color',
1994
- type: syntaxRuleType.Native,
1995
- namespaces: [
1996
- 'color',
1997
- 'color.line'
1998
- ]
1999
- },
2000
- 'outline-offset': {
2001
- unit: 'rem',
2002
- type: syntaxRuleType.Native,
2003
- namespaces: [
2004
- 'spacing'
2005
- ]
2006
- },
2007
- 'outline-style': {
2008
- aliasGroups: [
2009
- 'outline'
2010
- ],
2011
- values: common.BORDER_STYLE_VALUES,
2012
- type: syntaxRuleType.Native
2013
- },
2014
- 'outline-width': {
2015
- aliasGroups: [
2016
- 'outline'
2017
- ],
2018
- values: [
2019
- 'medium',
2020
- 'thick',
2021
- 'thin'
2022
- ],
2023
- kind: 'number',
2024
- unit: 'rem',
2025
- type: syntaxRuleType.Native
2026
- },
2027
- outline: {
2028
- unit: 'rem',
2029
- type: syntaxRuleType.NativeShorthand,
2030
- namespaces: [
2031
- 'outline-width',
2032
- 'outline-style',
2033
- 'outline-offset',
2034
- 'outline-color',
2035
- 'color.line',
2036
- 'color'
2037
- ],
2038
- transformer: 'auto-fill-solid'
2039
- },
2040
- 'accent-color': {
2041
- key: 'accent',
2042
- type: syntaxRuleType.Native,
2043
- namespaces: [
2044
- 'color'
2045
- ]
2046
- },
2047
- appearance: {
2048
- type: syntaxRuleType.Native
2049
- },
2050
- 'caret-color': {
2051
- key: 'caret',
2052
- type: syntaxRuleType.Native,
2053
- namespaces: [
2054
- 'color',
2055
- 'color.text'
2056
- ]
2057
- },
2058
- 'scroll-behavior': {
2059
- type: syntaxRuleType.Native
2060
- },
2061
- // scroll margin
2062
- 'scroll-margin-left': {
2063
- key: 'scroll-ml',
2064
- type: syntaxRuleType.Native,
2065
- unit: 'rem',
2066
- namespaces: [
2067
- 'spacing'
2068
- ]
2069
- },
2070
- 'scroll-margin-right': {
2071
- key: 'scroll-mr',
2072
- type: syntaxRuleType.Native,
2073
- unit: 'rem',
2074
- namespaces: [
2075
- 'spacing'
2076
- ]
2077
- },
2078
- 'scroll-margin-top': {
2079
- key: 'scroll-mt',
2080
- type: syntaxRuleType.Native,
2081
- unit: 'rem',
2082
- namespaces: [
2083
- 'spacing'
2084
- ]
2085
- },
2086
- 'scroll-margin-bottom': {
2087
- key: 'scroll-mb',
2088
- type: syntaxRuleType.Native,
2089
- unit: 'rem',
2090
- namespaces: [
2091
- 'spacing'
2092
- ]
2093
- },
2094
- 'scroll-margin-x': {
2095
- key: 'scroll-mx',
2096
- unit: 'rem',
2097
- type: syntaxRuleType.Shorthand,
2098
- declarations: [
2099
- 'scroll-margin-left',
2100
- 'scroll-margin-right'
2101
- ],
2102
- namespaces: [
2103
- 'spacing'
2104
- ]
2105
- },
2106
- 'scroll-margin-y': {
2107
- key: 'scroll-my',
2108
- unit: 'rem',
2109
- type: syntaxRuleType.Shorthand,
2110
- declarations: [
2111
- 'scroll-margin-top',
2112
- 'scroll-margin-bottom'
2113
- ],
2114
- namespaces: [
2115
- 'spacing'
2116
- ]
2117
- },
2118
- 'scroll-margin': {
2119
- key: 'scroll-m',
2120
- unit: 'rem',
2121
- type: syntaxRuleType.NativeShorthand,
2122
- namespaces: [
2123
- 'spacing'
2124
- ]
2125
- },
2126
- // scroll padding
2127
- 'scroll-padding-left': {
2128
- key: 'scroll-pl',
2129
- type: syntaxRuleType.Native,
2130
- unit: 'rem',
2131
- namespaces: [
2132
- 'spacing'
2133
- ]
2134
- },
2135
- 'scroll-padding-right': {
2136
- key: 'scroll-pr',
2137
- type: syntaxRuleType.Native,
2138
- unit: 'rem',
2139
- namespaces: [
2140
- 'spacing'
2141
- ]
2142
- },
2143
- 'scroll-padding-top': {
2144
- key: 'scroll-pt',
2145
- type: syntaxRuleType.Native,
2146
- unit: 'rem',
2147
- namespaces: [
2148
- 'spacing'
2149
- ]
2150
- },
2151
- 'scroll-padding-bottom': {
2152
- key: 'scroll-pb',
2153
- type: syntaxRuleType.Native,
2154
- unit: 'rem',
2155
- namespaces: [
2156
- 'spacing'
2157
- ]
2158
- },
2159
- 'scroll-padding-x': {
2160
- key: 'scroll-px',
2161
- unit: 'rem',
2162
- type: syntaxRuleType.Shorthand,
2163
- declarations: [
2164
- 'scroll-padding-left',
2165
- 'scroll-padding-right'
2166
- ],
2167
- namespaces: [
2168
- 'spacing'
2169
- ]
2170
- },
2171
- 'scroll-padding-y': {
2172
- key: 'scroll-py',
2173
- unit: 'rem',
2174
- type: syntaxRuleType.Shorthand,
2175
- declarations: [
2176
- 'scroll-padding-top',
2177
- 'scroll-padding-bottom'
2178
- ],
2179
- namespaces: [
2180
- 'spacing'
2181
- ]
2182
- },
2183
- 'scroll-padding': {
2184
- key: 'scroll-p',
2185
- unit: 'rem',
2186
- type: syntaxRuleType.NativeShorthand,
2187
- namespaces: [
2188
- 'spacing'
2189
- ]
2190
- },
2191
- // scroll snap
2192
- 'scroll-snap-align': {
2193
- aliasGroups: [
2194
- 'scroll-snap'
2195
- ],
2196
- values: [
2197
- 'start',
2198
- 'end',
2199
- 'center'
2200
- ],
2201
- type: syntaxRuleType.Native
2202
- },
2203
- 'scroll-snap-stop': {
2204
- aliasGroups: [
2205
- 'scroll-snap'
2206
- ],
2207
- values: [
2208
- 'normal',
2209
- 'always'
2210
- ],
2211
- type: syntaxRuleType.Native
2212
- },
2213
- 'scroll-snap-type': {
2214
- aliasGroups: [
2215
- 'scroll-snap'
2216
- ],
2217
- values: [
2218
- 'x',
2219
- 'y',
2220
- 'block',
2221
- 'inline',
2222
- 'both'
2223
- ],
2224
- type: syntaxRuleType.Native
2225
- },
2226
- 'will-change': {
2227
- type: syntaxRuleType.Native
2228
- },
2229
- 'writing-mode': {
2230
- key: 'writing',
2231
- type: syntaxRuleType.Native
2232
- },
2233
- direction: {
2234
- type: syntaxRuleType.Native
2235
- },
2236
- 'shape-outside': {
2237
- key: 'shape',
2238
- type: syntaxRuleType.Native
2239
- },
2240
- 'shape-margin': {
2241
- kind: 'number',
2242
- unit: 'rem',
2243
- type: syntaxRuleType.Native,
2244
- namespaces: [
2245
- 'spacing'
2246
- ]
2247
- },
2248
- 'shape-image-threshold': {
2249
- type: syntaxRuleType.Native
2250
- },
2251
- 'clip-path': {
2252
- key: 'clip',
2253
- type: syntaxRuleType.Native
2254
- },
2255
- quotes: {
2256
- type: syntaxRuleType.Native
2257
- },
2258
- 'mask-image': {
2259
- type: syntaxRuleType.Native,
2260
- declarations: [
2261
- '-webkit-mask-image',
2262
- 'mask-image'
2263
- ]
2264
- },
2265
- group: {
2266
- matcher: '^\\{.+?\\}',
2267
- type: syntaxRuleType.Shorthand,
2268
- declarer: 'core.group'
2269
- },
2270
- variable: {
2271
- matcher: '^\\$[\\w-]+:',
2272
- type: syntaxRuleType.Shorthand,
2273
- declarer: 'core.variable'
2274
- }
2275
- };
2276
-
2277
- module.exports = rules;