@plumeria/eslint-plugin 0.19.2 → 0.19.4

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.
@@ -0,0 +1,844 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validData = void 0;
4
+ const fontSizeSubValues = [
5
+ 'xx-small',
6
+ 'x-small',
7
+ 'small',
8
+ 'medium',
9
+ 'large',
10
+ 'x-large',
11
+ 'xx-large',
12
+ 'math',
13
+ 'smaller',
14
+ 'larger',
15
+ ];
16
+ const lengthSubValues = ['max-content', 'min-content', 'fit-content'];
17
+ const widthKeywords = ['thin', 'medium', 'thick'];
18
+ const alignKeywords = [
19
+ 'start',
20
+ 'end',
21
+ 'left',
22
+ 'right',
23
+ 'center',
24
+ 'justify',
25
+ 'match-parent',
26
+ ];
27
+ const breakBeforeAfterValues = [
28
+ 'auto',
29
+ 'avoid',
30
+ 'always',
31
+ 'all',
32
+ 'avoid-page',
33
+ 'page',
34
+ 'left',
35
+ 'right',
36
+ 'recto',
37
+ 'verso',
38
+ 'avoid-column',
39
+ 'column',
40
+ 'avoid-region',
41
+ 'region',
42
+ ];
43
+ const lineStyle = [
44
+ 'none',
45
+ 'hidden',
46
+ 'dotted',
47
+ 'dashed',
48
+ 'solid',
49
+ 'double',
50
+ 'groove',
51
+ 'ridge',
52
+ 'inset',
53
+ 'outset',
54
+ ];
55
+ const overflowKeyword = ['visible', 'hidden', 'clip', 'scroll', 'auto'];
56
+ const overflowAlignment = [
57
+ 'safe start',
58
+ 'safe end',
59
+ 'safe center',
60
+ 'safe flex-start',
61
+ 'safe flex-end',
62
+ 'unsafe start',
63
+ 'unsafe end',
64
+ 'unsafe center',
65
+ 'unsafe flex-start',
66
+ 'unsafe flex-end',
67
+ ];
68
+ const validData = {
69
+ all: [],
70
+ appearance: [
71
+ 'none',
72
+ 'auto',
73
+ 'base',
74
+ 'searchfield',
75
+ 'textarea',
76
+ 'checkbox',
77
+ 'radio',
78
+ 'menulist',
79
+ 'listbox',
80
+ 'meter',
81
+ 'progress-bar',
82
+ 'button',
83
+ 'textfield',
84
+ 'menulist-button',
85
+ ],
86
+ alignContent: [
87
+ 'normal',
88
+ 'start',
89
+ 'center',
90
+ 'end',
91
+ 'flex-start',
92
+ 'flex-end',
93
+ 'baseline',
94
+ 'space-between',
95
+ 'space-around',
96
+ 'space-evenly',
97
+ 'stretch',
98
+ ],
99
+ alignItems: [
100
+ 'normal',
101
+ 'stretch',
102
+ 'center',
103
+ 'start',
104
+ 'end',
105
+ 'flex-start',
106
+ 'flex-end',
107
+ 'self-start',
108
+ 'self-end',
109
+ 'anchor-center',
110
+ 'baseline',
111
+ ],
112
+ alignSelf: [
113
+ 'auto',
114
+ 'normal',
115
+ 'stretch',
116
+ 'center',
117
+ 'start',
118
+ 'end',
119
+ 'flex-start',
120
+ 'flex-end',
121
+ 'self-start',
122
+ 'self-end',
123
+ 'anchor-center',
124
+ 'baseline',
125
+ ],
126
+ animationDelay: [],
127
+ animationDirection: [],
128
+ animationDuration: ['auto'],
129
+ animationFillMode: [],
130
+ animationIterationCount: [],
131
+ animationName: ['none', 'slide', 'bounce'],
132
+ animationPlayState: [],
133
+ animationTimingFunction: [],
134
+ aspectRatio: ['auto'],
135
+ backdropFilter: ['none'],
136
+ backfaceVisibility: ['visible', 'hidden'],
137
+ background: ['none'],
138
+ backgroundAttachment: [],
139
+ backgroundBlendMode: [],
140
+ backgroundClip: ['text', 'border-area'],
141
+ backgroundImage: ['none'],
142
+ backgroundOrigin: [],
143
+ backgroundPosition: [],
144
+ backgroundPositionX: [],
145
+ backgroundPositionY: [],
146
+ backgroundRepeat: [
147
+ 'repeat',
148
+ 'repeat-x',
149
+ 'repeat-y',
150
+ 'space',
151
+ 'round',
152
+ 'no-repeat',
153
+ ],
154
+ backgroundSize: ['auto', 'cover', 'contain'],
155
+ blockSize: ['auto'],
156
+ boxDecorationBreak: ['slice', 'clone'],
157
+ boxShadow: [],
158
+ boxSizing: ['content-box', 'border-box'],
159
+ breakAfter: [...breakBeforeAfterValues],
160
+ breakBefore: [...breakBeforeAfterValues],
161
+ breakInside: ['auto', 'avoid', 'avoid-page', 'avoid-column', 'avoid-region'],
162
+ top: ['auto'],
163
+ right: ['auto'],
164
+ bottom: ['auto'],
165
+ left: ['auto'],
166
+ marginTop: ['auto'],
167
+ marginRight: ['auto'],
168
+ marginBottom: ['auto'],
169
+ marginLeft: ['auto'],
170
+ paddingTop: [],
171
+ paddingRight: [],
172
+ paddingBottom: [],
173
+ paddingLeft: [],
174
+ borderTopWidth: [...widthKeywords],
175
+ borderBottomWidth: [...widthKeywords],
176
+ borderLeftWidth: [...widthKeywords],
177
+ borderRightWidth: [...widthKeywords],
178
+ borderTopStyle: ['none', ...lineStyle],
179
+ borderBottomStyle: ['none', ...lineStyle],
180
+ borderLeftStyle: ['none', ...lineStyle],
181
+ borderRightStyle: ['none', ...lineStyle],
182
+ borderBlockStyle: [...lineStyle],
183
+ borderBlockStartStyle: [...lineStyle],
184
+ borderBlockEndStyle: [...lineStyle],
185
+ borderBlockStartWidth: [...widthKeywords],
186
+ borderBlockEndWidth: [...widthKeywords],
187
+ borderInlineStyle: [...lineStyle],
188
+ borderInlineStartStyle: [...lineStyle],
189
+ borderInlineEndStyle: [...lineStyle],
190
+ borderInlineStartWidth: [...widthKeywords],
191
+ borderInlineEndWidth: [...widthKeywords],
192
+ borderCollapse: ['collapse', 'separate'],
193
+ borderImageSource: ['none'],
194
+ lineHeight: ['normal'],
195
+ letterSpacing: ['normal'],
196
+ wordSpacing: ['normal'],
197
+ opacity: [],
198
+ zIndex: ['auto'],
199
+ fontSize: [...fontSizeSubValues],
200
+ fontWeight: ['normal', 'bold', 'lighter', 'bolder'],
201
+ maxWidth: ['none', 'stretch', ...lengthSubValues],
202
+ maxHeight: ['none', 'stretch', ...lengthSubValues],
203
+ minWidth: ['none', 'stretch', ...lengthSubValues],
204
+ minHeight: ['none', 'stretch', ...lengthSubValues],
205
+ width: ['auto', 'stretch', ...lengthSubValues],
206
+ height: ['auto', 'stretch', ...lengthSubValues],
207
+ flexBasis: ['auto', 'content', ...lengthSubValues],
208
+ gap: [],
209
+ inset: ['auto'],
210
+ margin: ['auto'],
211
+ padding: [],
212
+ border: [...widthKeywords, ...lineStyle],
213
+ borderTop: [...widthKeywords, ...lineStyle],
214
+ borderBottom: [...widthKeywords, ...lineStyle],
215
+ borderLeft: [...widthKeywords, ...lineStyle],
216
+ borderRight: [...widthKeywords, ...lineStyle],
217
+ borderBlock: [...widthKeywords, ...lineStyle],
218
+ borderBlockStart: [...widthKeywords, ...lineStyle],
219
+ borderBlockEnd: [...widthKeywords, ...lineStyle],
220
+ borderInline: [...widthKeywords, ...lineStyle],
221
+ borderInlineStart: [...widthKeywords, ...lineStyle],
222
+ borderInlineEnd: [...widthKeywords, ...lineStyle],
223
+ borderWidth: [...widthKeywords],
224
+ borderBlockWidth: [...widthKeywords],
225
+ borderInlineWidth: [...widthKeywords],
226
+ borderStyle: [...lineStyle],
227
+ borderSpacing: [],
228
+ borderEndEndRadius: [],
229
+ borderEndStartRadius: [],
230
+ borderStartEndRadius: [],
231
+ borderStartStartRadius: [],
232
+ borderTopLeftRadius: [],
233
+ borderTopRightRadius: [],
234
+ borderBottomLeftRadius: [],
235
+ borderBottomRightRadius: [],
236
+ borderImageWidth: ['auto'],
237
+ borderRadius: [],
238
+ borderImage: ['none'],
239
+ borderImageSlice: ['fill'],
240
+ borderImageRepeat: [],
241
+ borderImageOutset: [],
242
+ accentColor: ['auto'],
243
+ color: [],
244
+ borderLeftColor: [],
245
+ borderRightColor: [],
246
+ borderTopColor: [],
247
+ borderBottomColor: [],
248
+ borderBlockColor: [],
249
+ borderBlockStartColor: [],
250
+ borderBlockEndColor: [],
251
+ borderInlineColor: [],
252
+ borderInlineStartColor: [],
253
+ borderInlineEndColor: [],
254
+ backgroundColor: [],
255
+ outlineColor: [],
256
+ textDecorationColor: [],
257
+ caretColor: ['auto'],
258
+ columnRuleColor: [],
259
+ borderColor: [],
260
+ captionSide: ['top', 'bottom'],
261
+ clear: [
262
+ 'inline-start',
263
+ 'inline-end',
264
+ 'block-start',
265
+ 'block-end',
266
+ 'left',
267
+ 'right',
268
+ 'top',
269
+ 'bottom',
270
+ 'both-inline',
271
+ 'both-block',
272
+ 'both',
273
+ 'none',
274
+ ],
275
+ clipPath: [],
276
+ clipRule: ['nonzero', 'evenodd'],
277
+ colorScheme: ['normal', 'dark', 'light'],
278
+ columnCount: ['auto'],
279
+ columnFill: ['auto', 'balance'],
280
+ columnGap: [],
281
+ columnRule: [],
282
+ columnRuleStyle: [...lineStyle],
283
+ columnRuleWidth: [],
284
+ columnSpan: ['none', 'all'],
285
+ columnWidth: ['auto'],
286
+ columns: [],
287
+ content: [
288
+ 'open-quote',
289
+ 'close-quote',
290
+ 'no-open-quote',
291
+ 'no-close-quote',
292
+ 'normal',
293
+ 'none',
294
+ ],
295
+ counterIncrement: ['none'],
296
+ counterReset: ['none'],
297
+ counterSet: ['none'],
298
+ cursor: ['auto'],
299
+ position: ['static', 'relative', 'absolute', 'fixed', 'sticky'],
300
+ display: [
301
+ 'block',
302
+ 'inline',
303
+ 'run-in',
304
+ 'flow',
305
+ 'flow-root',
306
+ 'table',
307
+ 'flex',
308
+ 'grid',
309
+ 'ruby',
310
+ 'math',
311
+ 'table-header-group',
312
+ 'table-footer-group',
313
+ 'table-row',
314
+ 'table-row-group',
315
+ 'table-cell',
316
+ 'table-column-group',
317
+ 'table-column',
318
+ 'table-caption',
319
+ 'ruby-base',
320
+ 'ruby-text',
321
+ 'ruby-base-container',
322
+ 'ruby-text-container',
323
+ 'contents',
324
+ 'none',
325
+ 'inline-block',
326
+ 'inline-table',
327
+ 'inline-flex',
328
+ 'inline-grid',
329
+ 'inline-list-item',
330
+ ],
331
+ emptyCells: ['show', 'hide'],
332
+ filter: ['none'],
333
+ flex: ['none'],
334
+ flexDirection: ['row', 'row-reverse', 'column', 'column-reverse'],
335
+ flexFlow: [
336
+ 'row',
337
+ 'row-reverse',
338
+ 'column',
339
+ 'column-reverse',
340
+ 'nowrap',
341
+ 'wrap',
342
+ 'wrap-reverse',
343
+ ],
344
+ flexGrow: [],
345
+ flexShrink: [],
346
+ flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
347
+ float: ['inline-start', 'inline-end', 'left', 'none', 'right'],
348
+ font: ['none'],
349
+ fontFamily: [],
350
+ fontFeatureSettings: [],
351
+ fontKerning: ['auto', 'normal', 'none'],
352
+ fontLanguageOverride: ['normal'],
353
+ fontOpticalSizing: ['auto', 'none'],
354
+ fontPalette: ['normal', 'light', 'dark'],
355
+ fontSizeAdjust: ['none'],
356
+ fontStretch: [
357
+ 'normal',
358
+ 'ultra-condensed',
359
+ 'extra-condensed',
360
+ 'condensed',
361
+ 'semi-condensed',
362
+ 'semi-expanded',
363
+ 'expanded',
364
+ 'extra-expanded',
365
+ 'ultra-expanded',
366
+ ],
367
+ fontStyle: ['normal', 'italic', 'oblique'],
368
+ fontSynthesis: ['none', 'weight', 'style', 'small-caps', 'position'],
369
+ fontSynthesisSmallCaps: ['auto', 'none'],
370
+ fontSynthesisStyle: ['auto', 'none'],
371
+ fontSynthesisWeight: ['auto', 'none'],
372
+ fontVariant: ['normal', 'none'],
373
+ fontVariantAlternates: ['normal', 'historical-forms'],
374
+ fontVariantCaps: [
375
+ 'normal',
376
+ 'small-caps',
377
+ 'all-small-caps',
378
+ 'petite-caps',
379
+ 'all-petite-caps',
380
+ 'unicase',
381
+ 'titling-caps',
382
+ ],
383
+ fontVariantEastAsian: [
384
+ 'normal',
385
+ 'ruby',
386
+ 'jis78',
387
+ 'jis83',
388
+ 'jis90',
389
+ 'jis04',
390
+ 'simplified',
391
+ 'traditional',
392
+ 'full-width',
393
+ 'proportional-width',
394
+ ],
395
+ fontVariantEmoji: ['normal', 'text', 'emoji', 'unicode'],
396
+ fontVariantLigatures: ['none', 'normal'],
397
+ fontVariantNumeric: ['normal'],
398
+ fontVariantPosition: ['normal', 'sub', 'super'],
399
+ fontVariationSettings: [
400
+ 'normal',
401
+ '"wght"',
402
+ '"wdth"',
403
+ '"slnt"',
404
+ '"ital"',
405
+ '"opsz"',
406
+ ],
407
+ grid: ['none'],
408
+ gridArea: ['auto'],
409
+ gridAutoColumns: ['auto'],
410
+ gridAutoFlow: ['row', 'column', 'dense', 'row dense', 'column dense'],
411
+ gridAutoRows: ['auto'],
412
+ gridColumn: ['auto'],
413
+ gridColumnEnd: ['auto'],
414
+ gridColumnStart: ['auto'],
415
+ gridRow: ['auto'],
416
+ gridRowEnd: ['auto'],
417
+ gridRowStart: ['auto'],
418
+ gridTemplate: ['none'],
419
+ gridTemplateAreas: ['none'],
420
+ gridTemplateColumns: ['none'],
421
+ gridTemplateRows: ['none'],
422
+ hangingPunctuation: [
423
+ 'none',
424
+ 'first',
425
+ 'last',
426
+ 'allow-end',
427
+ 'force-end',
428
+ ],
429
+ hyphenateCharacter: ['auto'],
430
+ hyphenateLimitChars: ['auto'],
431
+ hyphens: ['none', 'manual', 'auto'],
432
+ imageOrientation: ['none', 'from-image'],
433
+ imageRendering: [
434
+ 'auto',
435
+ 'smooth',
436
+ 'high-quality',
437
+ 'crisp-edges',
438
+ 'pixelated',
439
+ ],
440
+ initialLetter: ['normal'],
441
+ inlineSize: ['auto'],
442
+ insetBlock: ['auto'],
443
+ insetBlockEnd: ['auto'],
444
+ insetBlockStart: ['auto'],
445
+ insetInline: ['auto'],
446
+ insetInlineEnd: ['auto'],
447
+ insetInlineStart: ['auto'],
448
+ isolation: ['auto', 'isolate'],
449
+ justifyContent: [
450
+ 'normal',
451
+ 'stretch',
452
+ 'start',
453
+ 'end',
454
+ 'flex-start',
455
+ 'flex-end',
456
+ 'center',
457
+ 'left',
458
+ 'right',
459
+ 'space-between',
460
+ 'space-around',
461
+ 'space-evenly',
462
+ ...overflowAlignment,
463
+ 'safe left',
464
+ 'safe right',
465
+ 'unsafe left',
466
+ 'unsafe right',
467
+ ],
468
+ justifyItems: [
469
+ 'normal',
470
+ 'stretch',
471
+ 'start',
472
+ 'end',
473
+ 'flex-start',
474
+ 'flex-end',
475
+ 'center',
476
+ 'left',
477
+ 'right',
478
+ 'anchor-center',
479
+ 'baseline',
480
+ ],
481
+ justifySelf: [
482
+ 'auto',
483
+ 'normal',
484
+ 'stretch',
485
+ 'start',
486
+ 'end',
487
+ 'flex-start',
488
+ 'flex-end',
489
+ 'center',
490
+ 'left',
491
+ 'right',
492
+ 'anchor-center',
493
+ 'baseline',
494
+ 'first baseline',
495
+ 'last baseline',
496
+ ],
497
+ lineBreak: ['auto', 'loose', 'normal', 'strict', 'anywhere'],
498
+ listStyleImage: ['none'],
499
+ listStylePosition: ['inside', 'outside'],
500
+ listStyleType: ['none'],
501
+ marginBlock: ['auto'],
502
+ marginBlockEnd: ['auto'],
503
+ marginBlockStart: ['auto'],
504
+ marginInline: ['auto'],
505
+ marginInlineEnd: ['auto'],
506
+ marginInlineStart: ['auto'],
507
+ marker: ['none'],
508
+ markerEnd: ['none'],
509
+ markerMid: ['none'],
510
+ markerStart: ['none'],
511
+ mask: ['none'],
512
+ maskBorder: ['none'],
513
+ maskBorderMode: ['luminance', 'alpha'],
514
+ maskBorderOutset: [],
515
+ maskBorderRepeat: [
516
+ 'stretch',
517
+ 'repeat',
518
+ 'round',
519
+ 'space',
520
+ ],
521
+ maskBorderSlice: ['fill'],
522
+ maskBorderSource: ['none'],
523
+ maskBorderWidth: ['auto'],
524
+ maskClip: ['no-clip'],
525
+ maskComposite: ['add', 'subtract', 'intersect', 'exclude'],
526
+ maskImage: ['none'],
527
+ maskMode: ['alpha', 'luminance', 'match-source'],
528
+ maskOrigin: [],
529
+ maskPosition: ['top', 'bottom', 'left', 'right', 'center'],
530
+ maskRepeat: [],
531
+ maskSize: ['cover', 'contain'],
532
+ maskType: ['luminance', 'alpha'],
533
+ mathDepth: ['auto-add'],
534
+ mathStyle: ['normal', 'compact'],
535
+ maxBlockSize: ['none', ...lengthSubValues],
536
+ minBlockSize: ['none', ...lengthSubValues],
537
+ maxInlineSize: ['none', ...lengthSubValues],
538
+ minInlineSize: ['none', ...lengthSubValues],
539
+ mixBlendMode: [
540
+ 'normal',
541
+ 'multiply',
542
+ 'screen',
543
+ 'overlay',
544
+ 'darken',
545
+ 'lighten',
546
+ 'color-dodge',
547
+ 'color-burn',
548
+ 'hard-light',
549
+ 'soft-light',
550
+ 'difference',
551
+ 'exclusion',
552
+ 'hue',
553
+ 'saturation',
554
+ 'color',
555
+ 'luminosity',
556
+ 'plus-darker',
557
+ 'plus-lighter',
558
+ ],
559
+ objectFit: ['none', 'contain', 'cover', 'fill', 'scale-down'],
560
+ objectPosition: ['top', 'bottom', 'left', 'right', 'center'],
561
+ offset: [],
562
+ offsetAnchor: ['auto'],
563
+ offsetDistance: [],
564
+ offsetPath: [],
565
+ offsetPosition: [],
566
+ offsetRotate: ['auto', 'reverse'],
567
+ order: [],
568
+ outline: [],
569
+ outlineOffset: [],
570
+ outlineStyle: [...lineStyle.filter((style) => style !== 'hidden')],
571
+ outlineWidth: [...widthKeywords],
572
+ overflow: [...overflowKeyword],
573
+ overflowAnchor: ['none', 'auto'],
574
+ overflowBlock: [...overflowKeyword],
575
+ overflowClipMargin: ['content-box', 'padding-box', 'border-box'],
576
+ overflowInline: [...overflowKeyword],
577
+ overflowWrap: ['normal', 'anywhere', 'break-word'],
578
+ overflowX: [...overflowKeyword],
579
+ overflowY: [...overflowKeyword],
580
+ overscrollBehavior: ['none', 'auto', 'contain'],
581
+ overscrollBehaviorBlock: ['none', 'auto', 'contain'],
582
+ overscrollBehaviorInline: ['none', 'auto', 'contain'],
583
+ overscrollBehaviorX: ['none', 'auto', 'contain'],
584
+ overscrollBehaviorY: ['none', 'auto', 'contain'],
585
+ paddingBlock: [],
586
+ paddingBlockEnd: [],
587
+ paddingBlockStart: [],
588
+ paddingInline: [],
589
+ paddingInlineEnd: [],
590
+ paddingInlineStart: [],
591
+ paintOrder: ['normal'],
592
+ perspective: ['none'],
593
+ placeContent: [],
594
+ placeItems: [],
595
+ placeSelf: [],
596
+ pointerEvents: [
597
+ 'none',
598
+ 'auto',
599
+ 'all',
600
+ 'bounding-box',
601
+ 'visiblePainted',
602
+ 'visibleFill',
603
+ 'visibleStroke',
604
+ 'visible',
605
+ 'painted',
606
+ 'fill',
607
+ 'stroke',
608
+ ],
609
+ printColorAdjust: ['economy', 'exact'],
610
+ quotes: ['none', 'auto', 'match-parent'],
611
+ r: [],
612
+ resize: ['none', 'both', 'horizontal', 'vertical', 'block', 'inline'],
613
+ rotate: ['none'],
614
+ rowGap: [],
615
+ rubyAlign: ['start', 'center', 'space-between', 'space-around'],
616
+ rubyPosition: [
617
+ 'over',
618
+ 'under',
619
+ 'alternate',
620
+ 'alternate over',
621
+ 'alternate under',
622
+ 'inter-character',
623
+ ],
624
+ rx: ['auto'],
625
+ ry: ['auto'],
626
+ scale: ['none'],
627
+ scrollBehavior: ['auto', 'smooth'],
628
+ scrollMargin: [],
629
+ scrollMarginBlock: [],
630
+ scrollMarginBlockEnd: [],
631
+ scrollMarginBlockStart: [],
632
+ scrollMarginInline: [],
633
+ scrollMarginInlineEnd: [],
634
+ scrollMarginInlineStart: [],
635
+ scrollMarginTop: [],
636
+ scrollMarginRight: [],
637
+ scrollMarginBottom: [],
638
+ scrollMarginLeft: [],
639
+ scrollPadding: [],
640
+ scrollPaddingBlock: [],
641
+ scrollPaddingBlockEnd: [],
642
+ scrollPaddingBlockStart: [],
643
+ scrollPaddingInline: [],
644
+ scrollPaddingInlineEnd: [],
645
+ scrollPaddingInlineStart: [],
646
+ scrollPaddingLeft: [],
647
+ scrollPaddingRight: [],
648
+ scrollPaddingTop: [],
649
+ scrollPaddingBottom: [],
650
+ scrollSnapAlign: [
651
+ 'none',
652
+ 'start',
653
+ 'end',
654
+ 'center',
655
+ ],
656
+ scrollSnapStop: ['normal', 'always'],
657
+ scrollSnapType: [
658
+ 'none',
659
+ 'x',
660
+ 'y',
661
+ 'block',
662
+ 'inline',
663
+ 'both',
664
+ ],
665
+ scrollbarColor: ['auto'],
666
+ scrollbarGutter: ['auto', 'stable', 'stable both-edges'],
667
+ scrollbarWidth: ['none', 'auto', 'thin'],
668
+ shapeImageThreshold: [],
669
+ shapeOutSide: ['none'],
670
+ shapeRendering: ['auto', 'optimizeSpeed', 'crispEdges', 'geometricPrecision'],
671
+ stopColor: [],
672
+ stopOpacity: [],
673
+ stroke: ['context-stroke'],
674
+ strokeDasharray: ['none'],
675
+ strokeDashoffset: ['none'],
676
+ strokeLinecap: ['butt', 'round', 'square'],
677
+ strokeLinejoin: ['miter', 'round', 'bevel'],
678
+ strokeMiterlimit: [],
679
+ strokeOpacity: [],
680
+ strokeWidth: [],
681
+ tabSize: [],
682
+ tableLayout: ['auto', 'fixed'],
683
+ textAlign: [...alignKeywords],
684
+ textAlignLast: ['auto', ...alignKeywords],
685
+ textAnchor: ['start', 'middle', 'end'],
686
+ textCombineUpright: ['none', 'all'],
687
+ textDecorationLine: [
688
+ 'none',
689
+ 'underline',
690
+ 'overline',
691
+ 'line-through',
692
+ 'blink',
693
+ ],
694
+ textDecorationSkipInk: ['none', 'auto', 'all'],
695
+ textDecorationStyle: ['solid', 'double', 'dotted', 'dashed', 'wavy'],
696
+ textDecorationThickness: ['auto', 'from-font'],
697
+ textEmphasis: [
698
+ 'none',
699
+ 'filled',
700
+ 'open',
701
+ 'dot',
702
+ 'circle',
703
+ 'double-circle',
704
+ 'triangle',
705
+ 'sesame',
706
+ ],
707
+ textEmphasisColor: [],
708
+ textEmphasisPosition: [
709
+ 'auto',
710
+ 'over',
711
+ 'under',
712
+ ],
713
+ textEmphasisStyle: [
714
+ 'none',
715
+ 'filled',
716
+ 'open',
717
+ 'dot',
718
+ 'circle',
719
+ 'double-circle',
720
+ 'triangle',
721
+ 'sesame',
722
+ ],
723
+ textIndent: [],
724
+ textJustify: ['none', 'auto', 'inter-word', 'inter-character', 'distribute'],
725
+ textOrientation: [
726
+ 'mixed',
727
+ 'upright',
728
+ 'sideways',
729
+ 'sideways-right',
730
+ 'use-glyph-orientation',
731
+ ],
732
+ textOverflow: ['clip', 'ellipsis'],
733
+ textRendering: [
734
+ 'auto',
735
+ 'optimizeSpeed',
736
+ 'optimizeLegibility',
737
+ 'geometricPrecision',
738
+ ],
739
+ textShadow: [],
740
+ textTransform: [
741
+ 'none',
742
+ 'captalize',
743
+ 'uppercase',
744
+ 'lowercase',
745
+ 'full-width',
746
+ 'full-size-kana',
747
+ 'math-auto',
748
+ ],
749
+ textUnderlineOffset: ['auto'],
750
+ textUnderlinePosition: [
751
+ 'auto',
752
+ 'under',
753
+ 'left',
754
+ 'right',
755
+ 'under left',
756
+ 'left under',
757
+ 'under right',
758
+ 'right under',
759
+ ],
760
+ textWrap: [
761
+ 'auto',
762
+ 'wrap',
763
+ 'nowrap',
764
+ 'balance',
765
+ 'pretty',
766
+ 'stable',
767
+ 'avoid-orphans',
768
+ ],
769
+ textWrapMode: ['wrap', 'nowrap'],
770
+ textWrapStyle: ['auto', 'balance', 'stable', 'pretty', 'avoid-orphans'],
771
+ touchAction: ['auto', 'none'],
772
+ transform: ['none'],
773
+ transformBox: [
774
+ 'content-box',
775
+ 'border-box',
776
+ 'fill-box',
777
+ 'stroke-box',
778
+ 'view-box',
779
+ ],
780
+ transformOrigin: [],
781
+ transformStyle: ['flat', 'preserve-3d'],
782
+ transition: [],
783
+ transitionBehavior: ['normal', 'allow-discrete'],
784
+ transitionDelay: [],
785
+ transitionDuration: [],
786
+ transitionProperty: ['none', 'all'],
787
+ transitionTimingFunction: [],
788
+ translate: ['none'],
789
+ unicodeBibi: [
790
+ 'normal',
791
+ 'embed',
792
+ 'isolate',
793
+ 'bibi-override',
794
+ 'isolate-override',
795
+ 'plaintext',
796
+ ],
797
+ userSelect: ['none', 'auto', 'text', 'all'],
798
+ vectorEffect: [
799
+ 'none',
800
+ 'non-scaling-stroke',
801
+ 'non-scaling-size',
802
+ 'non-rotation',
803
+ 'fixed-position',
804
+ ],
805
+ verticalAlign: [
806
+ 'baseline',
807
+ 'sub',
808
+ 'super',
809
+ 'text-top',
810
+ 'text-bottom',
811
+ 'middle',
812
+ 'top',
813
+ 'bottom',
814
+ ],
815
+ visibility: ['visible', 'hideen', 'collapse'],
816
+ whiteSpace: [
817
+ 'normal',
818
+ 'pre',
819
+ 'nowrap',
820
+ 'pre-wrap',
821
+ 'break-spaces',
822
+ 'pre-line',
823
+ ],
824
+ whiteSpaceCollapse: [
825
+ 'collapse',
826
+ 'discard',
827
+ 'preserve',
828
+ 'preserve-breaks',
829
+ 'preserve-spaces',
830
+ 'break-spaces',
831
+ ],
832
+ widows: [],
833
+ willChange: [],
834
+ wordBreak: ['normal', 'keep-all', 'break-all', 'break-word', 'auto-phrase'],
835
+ writingMode: [
836
+ 'horizontal-tb',
837
+ 'vertical-rl',
838
+ 'vertical-lr',
839
+ 'sideways-rl',
840
+ 'sideways-lr',
841
+ ],
842
+ zoom: ['normal', 'reset'],
843
+ };
844
+ exports.validData = validData;