@icebreakers/stylelint-config 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +3 -20
- package/dist/presets/order.d.ts +3 -0
- package/dist/presets/order.js +841 -0
- package/dist/presets/scss.d.ts +3 -0
- package/dist/presets/scss.js +15913 -0
- package/dist/presets/vue.d.ts +3 -0
- package/dist/presets/vue.js +1421 -0
- package/dist/rolldown-runtime-DegdyBIC.js +25 -0
- package/package.json +8 -4
- package/presets/LICENSE.stylelint-config-recess-order +15 -0
- package/presets/LICENSE.stylelint-config-recommended-scss +21 -0
- package/presets/LICENSE.stylelint-config-recommended-vue +21 -0
- package/presets/LICENSE.stylelint-scss +21 -0
- package/presets/THIRD_PARTY_NOTICES.md +356 -0
- package/presets/stylelint-config-recess-order.mjs +1 -0
- package/presets/stylelint-config-recommended-scss.mjs +1 -0
- package/presets/stylelint-config-recommended-vue.mjs +1 -0
- package/presets/stylelint-config-standard-scss.mjs +1 -1
|
@@ -0,0 +1,841 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/stylelint-config-recess-order@7.9.0_stylelint-order@8.1.3_stylelint@18.0.0__stylelint@18.0.0/node_modules/stylelint-config-recess-order/index.js
|
|
2
|
+
const config = {
|
|
3
|
+
plugins: ["stylelint-order"],
|
|
4
|
+
rules: { "order/properties-order": [
|
|
5
|
+
(
|
|
6
|
+
/**
|
|
7
|
+
* Compose rules from other selectors in CSS Modules.
|
|
8
|
+
* @see https://github.com/css-modules/css-modules#composition
|
|
9
|
+
*/
|
|
10
|
+
{ properties: ["composes"] }),
|
|
11
|
+
(
|
|
12
|
+
/**
|
|
13
|
+
* Cascade and inheritance.
|
|
14
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascade#reference
|
|
15
|
+
*/
|
|
16
|
+
{ properties: ["all"] }),
|
|
17
|
+
(
|
|
18
|
+
/**
|
|
19
|
+
* Positioned layout.
|
|
20
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout#reference
|
|
21
|
+
*/
|
|
22
|
+
{ properties: [
|
|
23
|
+
"position",
|
|
24
|
+
"inset",
|
|
25
|
+
"inset-block",
|
|
26
|
+
"inset-block-start",
|
|
27
|
+
"inset-block-end",
|
|
28
|
+
"inset-inline",
|
|
29
|
+
"inset-inline-start",
|
|
30
|
+
"inset-inline-end",
|
|
31
|
+
"top",
|
|
32
|
+
"right",
|
|
33
|
+
"bottom",
|
|
34
|
+
"left",
|
|
35
|
+
"z-index",
|
|
36
|
+
"float",
|
|
37
|
+
"clear"
|
|
38
|
+
] }),
|
|
39
|
+
(
|
|
40
|
+
/**
|
|
41
|
+
* Display.
|
|
42
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_display#reference
|
|
43
|
+
*/
|
|
44
|
+
{ properties: [
|
|
45
|
+
"box-sizing",
|
|
46
|
+
"display",
|
|
47
|
+
"visibility"
|
|
48
|
+
] }),
|
|
49
|
+
(
|
|
50
|
+
/**
|
|
51
|
+
* Multi-column layout.
|
|
52
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Multicol_layout#reference
|
|
53
|
+
*/
|
|
54
|
+
{ properties: [
|
|
55
|
+
"columns",
|
|
56
|
+
"column-width",
|
|
57
|
+
"column-count",
|
|
58
|
+
"column-height",
|
|
59
|
+
"column-wrap",
|
|
60
|
+
"column-span",
|
|
61
|
+
"column-fill"
|
|
62
|
+
] }),
|
|
63
|
+
(
|
|
64
|
+
/**
|
|
65
|
+
* Flexible box layout.
|
|
66
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flexible_box_layout#reference
|
|
67
|
+
*/
|
|
68
|
+
{ properties: [
|
|
69
|
+
"flex",
|
|
70
|
+
"flex-grow",
|
|
71
|
+
"flex-shrink",
|
|
72
|
+
"flex-basis",
|
|
73
|
+
"flex-flow",
|
|
74
|
+
"flex-direction",
|
|
75
|
+
"flex-wrap",
|
|
76
|
+
"-webkit-box-orient"
|
|
77
|
+
] }),
|
|
78
|
+
(
|
|
79
|
+
/**
|
|
80
|
+
* Grid layout.
|
|
81
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout#reference
|
|
82
|
+
*/
|
|
83
|
+
{ properties: [
|
|
84
|
+
"grid",
|
|
85
|
+
"grid-area",
|
|
86
|
+
"grid-template",
|
|
87
|
+
"grid-template-areas",
|
|
88
|
+
"grid-template-rows",
|
|
89
|
+
"grid-template-columns",
|
|
90
|
+
"grid-row",
|
|
91
|
+
"grid-row-start",
|
|
92
|
+
"grid-row-end",
|
|
93
|
+
"grid-column",
|
|
94
|
+
"grid-column-start",
|
|
95
|
+
"grid-column-end",
|
|
96
|
+
"grid-auto-rows",
|
|
97
|
+
"grid-auto-columns",
|
|
98
|
+
"grid-auto-flow",
|
|
99
|
+
"grid-gap",
|
|
100
|
+
"grid-row-gap",
|
|
101
|
+
"grid-column-gap"
|
|
102
|
+
] }),
|
|
103
|
+
(
|
|
104
|
+
/**
|
|
105
|
+
* Gaps.
|
|
106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Gaps#reference
|
|
107
|
+
*/
|
|
108
|
+
{ properties: [
|
|
109
|
+
"gap",
|
|
110
|
+
"row-gap",
|
|
111
|
+
"column-gap",
|
|
112
|
+
"column-rule",
|
|
113
|
+
"column-rule-width",
|
|
114
|
+
"column-rule-style",
|
|
115
|
+
"column-rule-color"
|
|
116
|
+
] }),
|
|
117
|
+
(
|
|
118
|
+
/**
|
|
119
|
+
* Box alignment. Relates to both Flexbox and Grid layout.
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_alignment#reference
|
|
121
|
+
*/
|
|
122
|
+
{ properties: [
|
|
123
|
+
"place-content",
|
|
124
|
+
"place-items",
|
|
125
|
+
"place-self",
|
|
126
|
+
"align-content",
|
|
127
|
+
"align-items",
|
|
128
|
+
"align-self",
|
|
129
|
+
"justify-content",
|
|
130
|
+
"justify-items",
|
|
131
|
+
"justify-self"
|
|
132
|
+
] }),
|
|
133
|
+
(
|
|
134
|
+
/**
|
|
135
|
+
* Order.
|
|
136
|
+
* Part of Display module, but relates to both Flexbox and Grid layout.
|
|
137
|
+
*/
|
|
138
|
+
{ properties: ["order"] }),
|
|
139
|
+
(
|
|
140
|
+
/**
|
|
141
|
+
* Box sizing.
|
|
142
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_sizing#reference
|
|
143
|
+
*/
|
|
144
|
+
{ properties: [
|
|
145
|
+
"inline-size",
|
|
146
|
+
"min-inline-size",
|
|
147
|
+
"max-inline-size",
|
|
148
|
+
"width",
|
|
149
|
+
"min-width",
|
|
150
|
+
"max-width",
|
|
151
|
+
"block-size",
|
|
152
|
+
"min-block-size",
|
|
153
|
+
"max-block-size",
|
|
154
|
+
"height",
|
|
155
|
+
"min-height",
|
|
156
|
+
"max-height",
|
|
157
|
+
"aspect-ratio",
|
|
158
|
+
"contain-intrinsic-inline-size",
|
|
159
|
+
"contain-intrinsic-block-size",
|
|
160
|
+
"contain-intrinsic-size",
|
|
161
|
+
"contain-intrinsic-width",
|
|
162
|
+
"contain-intrinsic-height"
|
|
163
|
+
] }),
|
|
164
|
+
(
|
|
165
|
+
/**
|
|
166
|
+
* Box model.
|
|
167
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_model#reference
|
|
168
|
+
*/
|
|
169
|
+
{ properties: [
|
|
170
|
+
"padding",
|
|
171
|
+
"padding-block",
|
|
172
|
+
"padding-block-start",
|
|
173
|
+
"padding-block-end",
|
|
174
|
+
"padding-inline",
|
|
175
|
+
"padding-inline-start",
|
|
176
|
+
"padding-inline-end",
|
|
177
|
+
"padding-top",
|
|
178
|
+
"padding-right",
|
|
179
|
+
"padding-bottom",
|
|
180
|
+
"padding-left",
|
|
181
|
+
"margin",
|
|
182
|
+
"margin-block",
|
|
183
|
+
"margin-block-start",
|
|
184
|
+
"margin-block-end",
|
|
185
|
+
"margin-inline",
|
|
186
|
+
"margin-inline-start",
|
|
187
|
+
"margin-inline-end",
|
|
188
|
+
"margin-top",
|
|
189
|
+
"margin-right",
|
|
190
|
+
"margin-bottom",
|
|
191
|
+
"margin-left"
|
|
192
|
+
] }),
|
|
193
|
+
(
|
|
194
|
+
/**
|
|
195
|
+
* Anchor positioning.
|
|
196
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning#reference
|
|
197
|
+
*/
|
|
198
|
+
{ properties: [
|
|
199
|
+
"anchor-name",
|
|
200
|
+
"anchor-scope",
|
|
201
|
+
"position-area",
|
|
202
|
+
"position-anchor",
|
|
203
|
+
"position-try",
|
|
204
|
+
"position-try-order",
|
|
205
|
+
"position-try-fallbacks",
|
|
206
|
+
"position-visibility"
|
|
207
|
+
] }),
|
|
208
|
+
(
|
|
209
|
+
/**
|
|
210
|
+
* Containment.
|
|
211
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment#reference
|
|
212
|
+
*/
|
|
213
|
+
{ properties: [
|
|
214
|
+
"contain",
|
|
215
|
+
"container",
|
|
216
|
+
"container-name",
|
|
217
|
+
"container-type",
|
|
218
|
+
"content-visibility"
|
|
219
|
+
] }),
|
|
220
|
+
(
|
|
221
|
+
/**
|
|
222
|
+
* Overflow.
|
|
223
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_overflow#reference
|
|
224
|
+
*/
|
|
225
|
+
{ properties: [
|
|
226
|
+
"overflow",
|
|
227
|
+
"overflow-inline",
|
|
228
|
+
"overflow-block",
|
|
229
|
+
"overflow-x",
|
|
230
|
+
"overflow-y",
|
|
231
|
+
"scrollbar-gutter",
|
|
232
|
+
"-webkit-overflow-scrolling",
|
|
233
|
+
"-ms-overflow-x",
|
|
234
|
+
"-ms-overflow-y",
|
|
235
|
+
"-ms-overflow-style",
|
|
236
|
+
"text-overflow",
|
|
237
|
+
"-webkit-line-clamp",
|
|
238
|
+
"line-clamp",
|
|
239
|
+
"scroll-behavior"
|
|
240
|
+
] }),
|
|
241
|
+
(
|
|
242
|
+
/**
|
|
243
|
+
* Overscroll behavior.
|
|
244
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_overscroll_behavior#reference
|
|
245
|
+
*/
|
|
246
|
+
{ properties: [
|
|
247
|
+
"overscroll-behavior",
|
|
248
|
+
"overscroll-behavior-inline",
|
|
249
|
+
"overscroll-behavior-block",
|
|
250
|
+
"overscroll-behavior-x",
|
|
251
|
+
"overscroll-behavior-y"
|
|
252
|
+
] }),
|
|
253
|
+
(
|
|
254
|
+
/**
|
|
255
|
+
* Fonts.
|
|
256
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fonts#reference
|
|
257
|
+
*/
|
|
258
|
+
{ properties: [
|
|
259
|
+
"font",
|
|
260
|
+
"font-family",
|
|
261
|
+
"font-size",
|
|
262
|
+
"font-size-adjust",
|
|
263
|
+
"font-variation-settings",
|
|
264
|
+
"font-style",
|
|
265
|
+
"font-weight",
|
|
266
|
+
"font-optical-sizing",
|
|
267
|
+
"font-stretch",
|
|
268
|
+
"font-feature-settings",
|
|
269
|
+
"font-kerning",
|
|
270
|
+
"font-variant",
|
|
271
|
+
"font-variant-ligatures",
|
|
272
|
+
"font-variant-caps",
|
|
273
|
+
"font-variant-alternates",
|
|
274
|
+
"font-variant-numeric",
|
|
275
|
+
"font-variant-east-asian",
|
|
276
|
+
"font-variant-position",
|
|
277
|
+
"-webkit-font-smoothing",
|
|
278
|
+
"-moz-osx-font-smoothing",
|
|
279
|
+
"font-smooth",
|
|
280
|
+
"font-synthesis",
|
|
281
|
+
"font-synthesis-weight",
|
|
282
|
+
"font-synthesis-style",
|
|
283
|
+
"font-synthesis-small-caps"
|
|
284
|
+
] }),
|
|
285
|
+
(
|
|
286
|
+
/**
|
|
287
|
+
* Inline layout.
|
|
288
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_inline_layout#reference
|
|
289
|
+
*/
|
|
290
|
+
{ properties: [
|
|
291
|
+
"line-height",
|
|
292
|
+
"vertical-align",
|
|
293
|
+
"alignment-baseline",
|
|
294
|
+
"baseline-shift",
|
|
295
|
+
"dominant-baseline",
|
|
296
|
+
"text-box",
|
|
297
|
+
"text-box-trim",
|
|
298
|
+
"text-box-edge"
|
|
299
|
+
] }),
|
|
300
|
+
(
|
|
301
|
+
/**
|
|
302
|
+
* Colors.
|
|
303
|
+
*
|
|
304
|
+
* Although `opacity` is technically part of this module, it is grouped
|
|
305
|
+
* with the Compositing and blending module for now.
|
|
306
|
+
*
|
|
307
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors#reference
|
|
308
|
+
*/
|
|
309
|
+
{ properties: [
|
|
310
|
+
"base-palette",
|
|
311
|
+
"override-colors",
|
|
312
|
+
"font-palette",
|
|
313
|
+
"color",
|
|
314
|
+
"-webkit-text-fill-color",
|
|
315
|
+
"-webkit-text-stroke",
|
|
316
|
+
"-webkit-text-stroke-width",
|
|
317
|
+
"-webkit-text-stroke-color"
|
|
318
|
+
] }),
|
|
319
|
+
(
|
|
320
|
+
/**
|
|
321
|
+
* Text.
|
|
322
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text#reference
|
|
323
|
+
*/
|
|
324
|
+
{ properties: [
|
|
325
|
+
"text-align",
|
|
326
|
+
"text-align-last",
|
|
327
|
+
"text-justify",
|
|
328
|
+
"text-indent",
|
|
329
|
+
"text-transform",
|
|
330
|
+
"text-autospace",
|
|
331
|
+
"word-spacing",
|
|
332
|
+
"letter-spacing",
|
|
333
|
+
"hyphens",
|
|
334
|
+
"hyphenate-character",
|
|
335
|
+
"line-break",
|
|
336
|
+
"word-break",
|
|
337
|
+
"text-wrap",
|
|
338
|
+
"text-wrap-mode",
|
|
339
|
+
"text-wrap-style",
|
|
340
|
+
"word-wrap",
|
|
341
|
+
"overflow-wrap",
|
|
342
|
+
"tab-size",
|
|
343
|
+
"white-space",
|
|
344
|
+
"white-space-collapse"
|
|
345
|
+
] }),
|
|
346
|
+
(
|
|
347
|
+
/**
|
|
348
|
+
* Text decoration.
|
|
349
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text_decoration#reference
|
|
350
|
+
*/
|
|
351
|
+
{ properties: [
|
|
352
|
+
"text-emphasis",
|
|
353
|
+
"text-emphasis-color",
|
|
354
|
+
"text-emphasis-style",
|
|
355
|
+
"text-emphasis-position",
|
|
356
|
+
"text-decoration",
|
|
357
|
+
"text-decoration-line",
|
|
358
|
+
"text-decoration-thickness",
|
|
359
|
+
"text-decoration-style",
|
|
360
|
+
"text-decoration-color",
|
|
361
|
+
"text-decoration-skip-ink",
|
|
362
|
+
"text-underline-position",
|
|
363
|
+
"text-underline-offset",
|
|
364
|
+
"text-shadow"
|
|
365
|
+
] }),
|
|
366
|
+
(
|
|
367
|
+
/**
|
|
368
|
+
* Ruby layout.
|
|
369
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_ruby_layout#reference
|
|
370
|
+
*/
|
|
371
|
+
{ properties: ["ruby-position", "ruby-align"] }),
|
|
372
|
+
(
|
|
373
|
+
/**
|
|
374
|
+
* Font loading.
|
|
375
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_font_loading#reference
|
|
376
|
+
*/
|
|
377
|
+
{ properties: [
|
|
378
|
+
"src",
|
|
379
|
+
"font-display",
|
|
380
|
+
"unicode-range",
|
|
381
|
+
"size-adjust",
|
|
382
|
+
"ascent-override",
|
|
383
|
+
"descent-override",
|
|
384
|
+
"line-gap-override"
|
|
385
|
+
] }),
|
|
386
|
+
(
|
|
387
|
+
/**
|
|
388
|
+
* Basic user interface.
|
|
389
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_basic_user_interface#reference
|
|
390
|
+
*/
|
|
391
|
+
{ properties: [
|
|
392
|
+
"appearance",
|
|
393
|
+
"accent-color",
|
|
394
|
+
"pointer-events",
|
|
395
|
+
"-ms-touch-action",
|
|
396
|
+
"touch-action",
|
|
397
|
+
"cursor",
|
|
398
|
+
"caret-color",
|
|
399
|
+
"zoom",
|
|
400
|
+
"field-sizing",
|
|
401
|
+
"resize",
|
|
402
|
+
"user-select",
|
|
403
|
+
"-webkit-user-select",
|
|
404
|
+
"nav-index",
|
|
405
|
+
"nav-up",
|
|
406
|
+
"nav-right",
|
|
407
|
+
"nav-down",
|
|
408
|
+
"nav-left",
|
|
409
|
+
"outline",
|
|
410
|
+
"outline-width",
|
|
411
|
+
"outline-style",
|
|
412
|
+
"outline-color",
|
|
413
|
+
"outline-offset"
|
|
414
|
+
] }),
|
|
415
|
+
(
|
|
416
|
+
/**
|
|
417
|
+
* Color adjustment.
|
|
418
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_color_adjustment#reference
|
|
419
|
+
*/
|
|
420
|
+
{ properties: [
|
|
421
|
+
"color-scheme",
|
|
422
|
+
"forced-color-adjust",
|
|
423
|
+
"print-color-adjust"
|
|
424
|
+
] }),
|
|
425
|
+
(
|
|
426
|
+
/**
|
|
427
|
+
* Table.
|
|
428
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_table#reference
|
|
429
|
+
*/
|
|
430
|
+
{ properties: [
|
|
431
|
+
"table-layout",
|
|
432
|
+
"empty-cells",
|
|
433
|
+
"caption-side",
|
|
434
|
+
"border-spacing",
|
|
435
|
+
"border-collapse"
|
|
436
|
+
] }),
|
|
437
|
+
(
|
|
438
|
+
/**
|
|
439
|
+
* Generated content.
|
|
440
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_generated_content#reference
|
|
441
|
+
*/
|
|
442
|
+
{ properties: ["content", "quotes"] }),
|
|
443
|
+
(
|
|
444
|
+
/**
|
|
445
|
+
* Lists and counters.
|
|
446
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_lists#reference
|
|
447
|
+
*/
|
|
448
|
+
{ properties: [
|
|
449
|
+
"list-style",
|
|
450
|
+
"list-style-position",
|
|
451
|
+
"list-style-type",
|
|
452
|
+
"list-style-image",
|
|
453
|
+
"counter-reset",
|
|
454
|
+
"counter-set",
|
|
455
|
+
"counter-increment"
|
|
456
|
+
] }),
|
|
457
|
+
(
|
|
458
|
+
/**
|
|
459
|
+
* Scroll snap.
|
|
460
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll_snap#reference
|
|
461
|
+
*/
|
|
462
|
+
{ properties: [
|
|
463
|
+
"scroll-snap-type",
|
|
464
|
+
"scroll-snap-align",
|
|
465
|
+
"scroll-snap-stop",
|
|
466
|
+
"scroll-padding",
|
|
467
|
+
"scroll-padding-block",
|
|
468
|
+
"scroll-padding-block-start",
|
|
469
|
+
"scroll-padding-block-end",
|
|
470
|
+
"scroll-padding-inline",
|
|
471
|
+
"scroll-padding-inline-start",
|
|
472
|
+
"scroll-padding-inline-end",
|
|
473
|
+
"scroll-padding-top",
|
|
474
|
+
"scroll-padding-right",
|
|
475
|
+
"scroll-padding-bottom",
|
|
476
|
+
"scroll-padding-left",
|
|
477
|
+
"scroll-margin",
|
|
478
|
+
"scroll-margin-block",
|
|
479
|
+
"scroll-margin-block-start",
|
|
480
|
+
"scroll-margin-block-end",
|
|
481
|
+
"scroll-margin-inline",
|
|
482
|
+
"scroll-margin-inline-start",
|
|
483
|
+
"scroll-margin-inline-end",
|
|
484
|
+
"scroll-margin-top",
|
|
485
|
+
"scroll-margin-right",
|
|
486
|
+
"scroll-margin-bottom",
|
|
487
|
+
"scroll-margin-left"
|
|
488
|
+
] }),
|
|
489
|
+
(
|
|
490
|
+
/**
|
|
491
|
+
* Scrollbars styling.
|
|
492
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scrollbars_styling#reference
|
|
493
|
+
*/
|
|
494
|
+
{ properties: ["scrollbar-color", "scrollbar-width"] }),
|
|
495
|
+
(
|
|
496
|
+
/**
|
|
497
|
+
* Images.
|
|
498
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_images#reference
|
|
499
|
+
*/
|
|
500
|
+
{ properties: [
|
|
501
|
+
"object-fit",
|
|
502
|
+
"object-position",
|
|
503
|
+
"-ms-interpolation-mode",
|
|
504
|
+
"image-orientation",
|
|
505
|
+
"image-rendering",
|
|
506
|
+
"image-resolution"
|
|
507
|
+
] }),
|
|
508
|
+
(
|
|
509
|
+
/**
|
|
510
|
+
* Backgrounds and borders.
|
|
511
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_backgrounds_and_borders#reference
|
|
512
|
+
*/
|
|
513
|
+
{ properties: [
|
|
514
|
+
"background",
|
|
515
|
+
"background-color",
|
|
516
|
+
"background-image",
|
|
517
|
+
String.raw`-ms-filter:\'progid:DXImageTransform.Microsoft.gradient`,
|
|
518
|
+
"filter:progid:DXImageTransform.Microsoft.gradient",
|
|
519
|
+
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
|
520
|
+
"background-repeat",
|
|
521
|
+
"background-attachment",
|
|
522
|
+
"background-position",
|
|
523
|
+
"background-position-x",
|
|
524
|
+
"background-position-y",
|
|
525
|
+
"background-clip",
|
|
526
|
+
"background-origin",
|
|
527
|
+
"background-size",
|
|
528
|
+
"border",
|
|
529
|
+
"border-color",
|
|
530
|
+
"border-style",
|
|
531
|
+
"border-width",
|
|
532
|
+
"border-block",
|
|
533
|
+
"border-block-color",
|
|
534
|
+
"border-block-style",
|
|
535
|
+
"border-block-width",
|
|
536
|
+
"border-block-start",
|
|
537
|
+
"border-block-start-color",
|
|
538
|
+
"border-block-start-style",
|
|
539
|
+
"border-block-start-width",
|
|
540
|
+
"border-block-end",
|
|
541
|
+
"border-block-end-color",
|
|
542
|
+
"border-block-end-style",
|
|
543
|
+
"border-block-end-width",
|
|
544
|
+
"border-inline",
|
|
545
|
+
"border-inline-color",
|
|
546
|
+
"border-inline-style",
|
|
547
|
+
"border-inline-width",
|
|
548
|
+
"border-inline-start",
|
|
549
|
+
"border-inline-start-color",
|
|
550
|
+
"border-inline-start-style",
|
|
551
|
+
"border-inline-start-width",
|
|
552
|
+
"border-inline-end",
|
|
553
|
+
"border-inline-end-color",
|
|
554
|
+
"border-inline-end-style",
|
|
555
|
+
"border-inline-end-width",
|
|
556
|
+
"border-top",
|
|
557
|
+
"border-top-color",
|
|
558
|
+
"border-top-style",
|
|
559
|
+
"border-top-width",
|
|
560
|
+
"border-right",
|
|
561
|
+
"border-right-color",
|
|
562
|
+
"border-right-style",
|
|
563
|
+
"border-right-width",
|
|
564
|
+
"border-bottom",
|
|
565
|
+
"border-bottom-color",
|
|
566
|
+
"border-bottom-style",
|
|
567
|
+
"border-bottom-width",
|
|
568
|
+
"border-left",
|
|
569
|
+
"border-left-color",
|
|
570
|
+
"border-left-style",
|
|
571
|
+
"border-left-width",
|
|
572
|
+
"corner",
|
|
573
|
+
"corner-block-start",
|
|
574
|
+
"corner-block-end",
|
|
575
|
+
"corner-inline-start",
|
|
576
|
+
"corner-inline-end",
|
|
577
|
+
"corner-start-start",
|
|
578
|
+
"corner-start-end",
|
|
579
|
+
"corner-end-start",
|
|
580
|
+
"corner-end-end",
|
|
581
|
+
"corner-top",
|
|
582
|
+
"corner-right",
|
|
583
|
+
"corner-bottom",
|
|
584
|
+
"corner-left",
|
|
585
|
+
"corner-top-left",
|
|
586
|
+
"corner-top-right",
|
|
587
|
+
"corner-bottom-right",
|
|
588
|
+
"corner-bottom-left",
|
|
589
|
+
"border-radius",
|
|
590
|
+
"border-start-start-radius",
|
|
591
|
+
"border-start-end-radius",
|
|
592
|
+
"border-end-start-radius",
|
|
593
|
+
"border-end-end-radius",
|
|
594
|
+
"border-top-left-radius",
|
|
595
|
+
"border-top-right-radius",
|
|
596
|
+
"border-bottom-right-radius",
|
|
597
|
+
"border-bottom-left-radius",
|
|
598
|
+
"corner-shape",
|
|
599
|
+
"corner-block-start-shape",
|
|
600
|
+
"corner-block-end-shape",
|
|
601
|
+
"corner-inline-start-shape",
|
|
602
|
+
"corner-inline-end-shape",
|
|
603
|
+
"corner-start-start-shape",
|
|
604
|
+
"corner-start-end-shape",
|
|
605
|
+
"corner-end-start-shape",
|
|
606
|
+
"corner-end-end-shape",
|
|
607
|
+
"corner-top-shape",
|
|
608
|
+
"corner-right-shape",
|
|
609
|
+
"corner-bottom-shape",
|
|
610
|
+
"corner-left-shape",
|
|
611
|
+
"corner-top-left-shape",
|
|
612
|
+
"corner-top-right-shape",
|
|
613
|
+
"corner-bottom-right-shape",
|
|
614
|
+
"corner-bottom-left-shape",
|
|
615
|
+
"border-image",
|
|
616
|
+
"border-image-source",
|
|
617
|
+
"border-image-slice",
|
|
618
|
+
"border-image-width",
|
|
619
|
+
"border-image-outset",
|
|
620
|
+
"border-image-repeat",
|
|
621
|
+
"box-shadow"
|
|
622
|
+
] }),
|
|
623
|
+
(
|
|
624
|
+
/**
|
|
625
|
+
* Compositing and blending.
|
|
626
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_compositing_and_blending#reference
|
|
627
|
+
*/
|
|
628
|
+
{ properties: [
|
|
629
|
+
"background-blend-mode",
|
|
630
|
+
"isolation",
|
|
631
|
+
"mix-blend-mode",
|
|
632
|
+
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
|
633
|
+
String.raw`-ms-filter:\'progid:DXImageTransform.Microsoft.Alpha`,
|
|
634
|
+
"opacity"
|
|
635
|
+
] }),
|
|
636
|
+
(
|
|
637
|
+
/**
|
|
638
|
+
* Filter effects.
|
|
639
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_filter_effects#properties
|
|
640
|
+
*/
|
|
641
|
+
{ properties: ["filter", "backdrop-filter"] }),
|
|
642
|
+
(
|
|
643
|
+
/**
|
|
644
|
+
* Masking.
|
|
645
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_masking#reference
|
|
646
|
+
*/
|
|
647
|
+
{ properties: [
|
|
648
|
+
"clip",
|
|
649
|
+
"clip-path",
|
|
650
|
+
"clip-rule",
|
|
651
|
+
"mask-border",
|
|
652
|
+
"mask-border-source",
|
|
653
|
+
"mask-border-slice",
|
|
654
|
+
"mask-border-width",
|
|
655
|
+
"mask-border-outset",
|
|
656
|
+
"mask-border-repeat",
|
|
657
|
+
"mask-border-mode",
|
|
658
|
+
"mask",
|
|
659
|
+
"mask-image",
|
|
660
|
+
"mask-mode",
|
|
661
|
+
"mask-repeat",
|
|
662
|
+
"mask-position",
|
|
663
|
+
"mask-clip",
|
|
664
|
+
"mask-origin",
|
|
665
|
+
"mask-size",
|
|
666
|
+
"mask-composite",
|
|
667
|
+
"mask-type"
|
|
668
|
+
] }),
|
|
669
|
+
(
|
|
670
|
+
/**
|
|
671
|
+
* Shapes.
|
|
672
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_shapes#reference
|
|
673
|
+
*/
|
|
674
|
+
{ properties: [
|
|
675
|
+
"shape-outside",
|
|
676
|
+
"shape-image-threshold",
|
|
677
|
+
"shape-margin"
|
|
678
|
+
] }),
|
|
679
|
+
(
|
|
680
|
+
/**
|
|
681
|
+
* Writing modes.
|
|
682
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_writing_modes#reference
|
|
683
|
+
*/
|
|
684
|
+
{ properties: [
|
|
685
|
+
"direction",
|
|
686
|
+
"unicode-bidi",
|
|
687
|
+
"writing-mode",
|
|
688
|
+
"text-orientation",
|
|
689
|
+
"text-combine-upright"
|
|
690
|
+
] }),
|
|
691
|
+
(
|
|
692
|
+
/**
|
|
693
|
+
* SVG presentation attributes.
|
|
694
|
+
*
|
|
695
|
+
* Some of these may fall under a specific module, but if they only apply
|
|
696
|
+
* to SVG-specific elements, they will be grouped here.
|
|
697
|
+
*/
|
|
698
|
+
{ properties: [
|
|
699
|
+
"x",
|
|
700
|
+
"y",
|
|
701
|
+
"rx",
|
|
702
|
+
"ry",
|
|
703
|
+
"cx",
|
|
704
|
+
"cy",
|
|
705
|
+
"r",
|
|
706
|
+
"d",
|
|
707
|
+
"text-anchor",
|
|
708
|
+
"fill",
|
|
709
|
+
"fill-rule",
|
|
710
|
+
"fill-opacity",
|
|
711
|
+
"stroke",
|
|
712
|
+
"stroke-opacity",
|
|
713
|
+
"stroke-width",
|
|
714
|
+
"stroke-linecap",
|
|
715
|
+
"stroke-linejoin",
|
|
716
|
+
"stroke-miterlimit",
|
|
717
|
+
"stroke-dasharray",
|
|
718
|
+
"stroke-dashoffset",
|
|
719
|
+
"vector-effect",
|
|
720
|
+
"color-interpolation",
|
|
721
|
+
"color-interpolation-filters",
|
|
722
|
+
"flood-color",
|
|
723
|
+
"flood-opacity",
|
|
724
|
+
"lighting-color",
|
|
725
|
+
"marker",
|
|
726
|
+
"marker-start",
|
|
727
|
+
"marker-mid",
|
|
728
|
+
"marker-end",
|
|
729
|
+
"stop-color",
|
|
730
|
+
"stop-opacity",
|
|
731
|
+
"paint-order",
|
|
732
|
+
"shape-rendering",
|
|
733
|
+
"text-rendering"
|
|
734
|
+
] }),
|
|
735
|
+
(
|
|
736
|
+
/**
|
|
737
|
+
* MathML properties.
|
|
738
|
+
* @see https://w3c.github.io/mathml-core/
|
|
739
|
+
*/
|
|
740
|
+
{ properties: [
|
|
741
|
+
"math-style",
|
|
742
|
+
"math-shift",
|
|
743
|
+
"math-depth"
|
|
744
|
+
] }),
|
|
745
|
+
(
|
|
746
|
+
/**
|
|
747
|
+
* Transforms.
|
|
748
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_transforms#reference
|
|
749
|
+
*/
|
|
750
|
+
{ properties: [
|
|
751
|
+
"transform",
|
|
752
|
+
"transform-origin",
|
|
753
|
+
"transform-box",
|
|
754
|
+
"transform-style",
|
|
755
|
+
"rotate",
|
|
756
|
+
"scale",
|
|
757
|
+
"translate",
|
|
758
|
+
"perspective",
|
|
759
|
+
"perspective-origin",
|
|
760
|
+
"backface-visibility"
|
|
761
|
+
] }),
|
|
762
|
+
(
|
|
763
|
+
/**
|
|
764
|
+
* Transitions.
|
|
765
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_transitions#reference
|
|
766
|
+
*/
|
|
767
|
+
{ properties: [
|
|
768
|
+
"transition",
|
|
769
|
+
"transition-delay",
|
|
770
|
+
"transition-timing-function",
|
|
771
|
+
"transition-duration",
|
|
772
|
+
"transition-property",
|
|
773
|
+
"transition-behavior"
|
|
774
|
+
] }),
|
|
775
|
+
(
|
|
776
|
+
/**
|
|
777
|
+
* View transitions.
|
|
778
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_view_transitions#reference
|
|
779
|
+
*/
|
|
780
|
+
{ properties: ["view-transition-name", "view-transition-class"] }),
|
|
781
|
+
(
|
|
782
|
+
/**
|
|
783
|
+
* Animations.
|
|
784
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animations#reference
|
|
785
|
+
*/
|
|
786
|
+
{ properties: [
|
|
787
|
+
"animation",
|
|
788
|
+
"animation-name",
|
|
789
|
+
"animation-duration",
|
|
790
|
+
"animation-timing-function",
|
|
791
|
+
"animation-delay",
|
|
792
|
+
"animation-iteration-count",
|
|
793
|
+
"animation-direction",
|
|
794
|
+
"animation-fill-mode",
|
|
795
|
+
"animation-play-state",
|
|
796
|
+
"animation-composition"
|
|
797
|
+
] }),
|
|
798
|
+
(
|
|
799
|
+
/**
|
|
800
|
+
* Scroll-driven animations.
|
|
801
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll-driven_animations#reference
|
|
802
|
+
*/
|
|
803
|
+
/**
|
|
804
|
+
* Motion path.
|
|
805
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_motion_path#reference
|
|
806
|
+
*/
|
|
807
|
+
{ properties: [
|
|
808
|
+
"offset",
|
|
809
|
+
"offset-position",
|
|
810
|
+
"offset-path",
|
|
811
|
+
"offset-distance",
|
|
812
|
+
"offset-rotate",
|
|
813
|
+
"offset-anchor"
|
|
814
|
+
] }),
|
|
815
|
+
(
|
|
816
|
+
/**
|
|
817
|
+
* Will change.
|
|
818
|
+
* @see https://drafts.csswg.org/css-will-change/#will-change
|
|
819
|
+
*/
|
|
820
|
+
{ properties: ["will-change"] }),
|
|
821
|
+
(
|
|
822
|
+
/**
|
|
823
|
+
* Paged media.
|
|
824
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Paged_media#reference
|
|
825
|
+
*/
|
|
826
|
+
{ properties: ["page"] }),
|
|
827
|
+
(
|
|
828
|
+
/**
|
|
829
|
+
* Fragmentation.
|
|
830
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fragmentation#reference
|
|
831
|
+
*/
|
|
832
|
+
{ properties: [
|
|
833
|
+
"break-before",
|
|
834
|
+
"break-after",
|
|
835
|
+
"break-inside",
|
|
836
|
+
"widows",
|
|
837
|
+
"orphans"
|
|
838
|
+
] })
|
|
839
|
+
] }
|
|
840
|
+
};
|
|
841
|
+
export { config as default };
|