aliascss 1.5.3 → 1.5.5
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/dist/aliascss.js +1 -1
- package/lib/classPrinter.d.ts +1 -1
- package/lib/classPrinter.js +22 -13
- package/lib/compilers/dashedIdent.d.ts +49 -0
- package/lib/compilers/dashedIdent.js +115 -0
- package/lib/compilers/length.js +4 -2
- package/lib/css-properties-all-old-full-alias-support.d.ts +19 -0
- package/lib/css-properties-all-old-full-alias-support.js +3122 -0
- package/lib/css-properties-all.js +184 -169
- package/lib/node/compileFile.js +30 -15
- package/lib/prefix/pseudoSelectorNew.js +5 -1
- package/lib/prefix/responsive.js +7 -7
- package/lib/returnPropertyAndValue.js +10 -3
- package/lib/returnStatement.js +2 -2
- package/lib/static/staticClassNamesAlias.js +8 -8
- package/lib/utils/createCompilerObj.d.ts +3 -0
- package/lib/utils/createCompilerObj.js +18 -0
- package/lib/utils/helper.d.ts +4 -0
- package/lib/utils/helper.js +30 -3
- package/lib/x-imports.js +135 -68
- package/package.json +2 -1
- package/.prettierrc +0 -5
- package/READMEEdititng.md +0 -615
- package/aliascss.config.bk.js +0 -131
- package/aliascss.config.js +0 -50
- package/custom-compilers.js +0 -61
- package/docc.md +0 -486
- package/docs/PseudoSelector.js +0 -141
- package/docs/colors-tokens.js +0 -3771
- package/docs/mediaSelector.js +0 -49
- package/docs/staticClassNames.js +0 -15731
- package/docs/utilitiesClassName.js +0 -204
- package/jestconfig.json +0 -8
- package/old-custom-compilers.js +0 -149
- package/ts-22.js +0 -2631
- package/ts.js +0 -36
- package/tsconfig.json +0 -16
- package/tsconfig.test.json +0 -10
- package/tslint.json +0 -9
- package/webpack.config.js +0 -11
|
@@ -25,6 +25,13 @@ const gridBy = (value) => value
|
|
|
25
25
|
.replace(/-by-/g, " / ")
|
|
26
26
|
.replace(/[-]?(span|[-]?[\d]+)[-]?/g, ' $1 ')
|
|
27
27
|
.replace(/[-]?Minus[\s]*/g, '-');
|
|
28
|
+
const positionOffset = (value) => value
|
|
29
|
+
.replace(/^-/, '') // the separator dash
|
|
30
|
+
.replace(/__/g, ',') // layers
|
|
31
|
+
.replace(/(?<=[^-,])-/g, ' ') // a dash after a value is a space; a dash after a dash or comma is a minus
|
|
32
|
+
.replace(/(\d)d(\d)/g, '$1.$2') // 0d5 → 0.5
|
|
33
|
+
.replace(/(\d)p(?=[\s,]|$)/g, '$1%') // 50p → 50%
|
|
34
|
+
.replace(/,/g, ', ').replace(/\b([xy]) (start|end)\b/g, '$1-$2'); // keep x-start, y-end… whole
|
|
28
35
|
const cssProps = {
|
|
29
36
|
// type:s=static,d=dynamic
|
|
30
37
|
// -----------------xc----------------
|
|
@@ -67,7 +74,7 @@ const cssProps = {
|
|
|
67
74
|
alias: 'ac',
|
|
68
75
|
type: 's',
|
|
69
76
|
compiler: (value) => value.replace(/^-/, '').replace(/-(safe|unsafe|first|last|baseline)/g, ' $1'),
|
|
70
|
-
values: ['start:s', 'end:e', 'normal:n', 'baseline:b:bl', 'stretch:
|
|
77
|
+
values: ['start:s', 'end:e', 'normal:n', 'baseline:b:bl', 'stretch:s2|sh', 'center:c', 'flex-start:fs', 'flex-end:fe', 'space-between:sb', 'space-around:sa', 'space-evenly:se'],
|
|
71
78
|
},
|
|
72
79
|
'align-items': {
|
|
73
80
|
alias: 'ai',
|
|
@@ -82,7 +89,7 @@ const cssProps = {
|
|
|
82
89
|
values: ['auto:a', 'anchor-center:ac', 'stretch:s', 'center:c', 'flex-start:fs', 'flex-end:fe', 'baseline:b'],
|
|
83
90
|
},
|
|
84
91
|
'alignment-baseline': {
|
|
85
|
-
alias:
|
|
92
|
+
// alias:'ab', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
86
93
|
type: 's',
|
|
87
94
|
// compiler:'',
|
|
88
95
|
values: ['auto', 'baseline', 'before-edge', 'text-before-edge',
|
|
@@ -112,7 +119,7 @@ const cssProps = {
|
|
|
112
119
|
values: [],
|
|
113
120
|
},
|
|
114
121
|
'animation-composition': {
|
|
115
|
-
'alias':
|
|
122
|
+
// 'alias':'anc', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (ac)
|
|
116
123
|
compiler: (value) => value.replace(/[-_]/g, ' ')
|
|
117
124
|
},
|
|
118
125
|
'animation-delay': {
|
|
@@ -122,7 +129,7 @@ const cssProps = {
|
|
|
122
129
|
values: [],
|
|
123
130
|
},
|
|
124
131
|
'animation-direction': {
|
|
125
|
-
alias:
|
|
132
|
+
// alias:'ad', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
126
133
|
type: 's',
|
|
127
134
|
// compiler:'',
|
|
128
135
|
values: ['normal:n', 'reverse:r', 'alternate:a', 'alternate-reverse:ar'],
|
|
@@ -164,7 +171,7 @@ const cssProps = {
|
|
|
164
171
|
values: ['linear:l', 'ease:e', 'ease-in:ei', 'ease-out:eo', 'ease-in-out:eio', 'step-start:ss', 'step-end:se'],
|
|
165
172
|
},
|
|
166
173
|
'animation-timeline': {
|
|
167
|
-
alias:
|
|
174
|
+
// alias:'at', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
168
175
|
type: 'd',
|
|
169
176
|
compiler: (values) => {
|
|
170
177
|
let result = '';
|
|
@@ -187,7 +194,7 @@ const cssProps = {
|
|
|
187
194
|
values: ['auto:a', 'none:n', 'view():view:v', 'scroll():scroll:s',]
|
|
188
195
|
},
|
|
189
196
|
'animation-range': {
|
|
190
|
-
'alias':
|
|
197
|
+
// 'alias':'ar',
|
|
191
198
|
compiler: (value) => value.replace(/-/g, ' ').replace(/([\d])[p][\s]/, '$1% ').replace(/([\d])[p]$/, '$1%'),
|
|
192
199
|
},
|
|
193
200
|
'animation-range-end': {
|
|
@@ -241,16 +248,17 @@ const cssProps = {
|
|
|
241
248
|
values: [],
|
|
242
249
|
},
|
|
243
250
|
'background-attachment': {
|
|
244
|
-
alias:
|
|
251
|
+
// alias:'bga', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (ba)
|
|
245
252
|
type: 's',
|
|
246
253
|
compiler: (value) => value.replace(/^-/, '').replace(/-/g, ', '),
|
|
247
254
|
values: ['scroll:s', 'fixed:f', 'local:l'],
|
|
248
255
|
},
|
|
249
256
|
'background-blend-mode': {
|
|
250
|
-
alias:
|
|
257
|
+
// alias:'bgbm', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (bbm)
|
|
251
258
|
type: 's',
|
|
252
|
-
compiler:
|
|
253
|
-
values:
|
|
259
|
+
// compiler:(value:string)=>value.replace(/^-/,'').replace(/(-|__)/g,', ').replace(/color,[\s]dodge/g,'color-dodge').replace(/color,[\s]burn/g,'color-burn'),
|
|
260
|
+
// values:['normal:nl','multiply:m','screen:s','overlay:o','darken:d','lighten:l','color-dodge:cd','saturation:sa:s2','color:c','luminosity:lu:l2'],
|
|
261
|
+
values: mode,
|
|
254
262
|
},
|
|
255
263
|
'background-clip': {
|
|
256
264
|
alias: 'bgcl',
|
|
@@ -281,7 +289,7 @@ const cssProps = {
|
|
|
281
289
|
values: ['none:n'],
|
|
282
290
|
},
|
|
283
291
|
'background-origin': {
|
|
284
|
-
alias:
|
|
292
|
+
// alias:'bgo', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (bo)
|
|
285
293
|
type: 's',
|
|
286
294
|
// compiler:'',
|
|
287
295
|
values: ['padding-box:pb', 'border-box:bb', 'content-box:cb'],
|
|
@@ -290,19 +298,19 @@ const cssProps = {
|
|
|
290
298
|
alias: 'bgp',
|
|
291
299
|
type: 'd',
|
|
292
300
|
// compiler:length,
|
|
293
|
-
compiler: (value)
|
|
301
|
+
compiler: positionOffset, // (value)=>value.replace(/-/g,' ').replace(/(\d)d(\d)/g,'$1.$2').replace(/__/g,', ').replace(/([\d])p([\s,])/g,"$1%$2 ").replace(/([\d])p$/,"$1%"),
|
|
294
302
|
values: ['bottom:b', 'bottom center:bc', 'bottom left:bl', 'bottom right:br', 'center:c', 'center bottom:cb', 'center center:cc', 'center top:ct', 'left:l', 'left bottom:lb', 'left center:lc', 'left top:lt', 'right:r', 'right bottom:rb', 'right center:rc', 'right top:rt', 'top:t', 'top center:tc', 'top left:tl', 'top right:tr'],
|
|
295
303
|
},
|
|
296
304
|
'background-position-x': {
|
|
297
|
-
alias:
|
|
305
|
+
// alias:'bgpx', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (bpx)
|
|
298
306
|
type: 'd',
|
|
299
|
-
compiler: (value)
|
|
307
|
+
compiler: positionOffset, // (value)=>value.replace(/-/g,' ').replace(/(\d)d(\d)/g,'$1.$2').replace(/__/g,', ').replace(/([\d])p([\s,])/g,"$1%$2 ").replace(/([\d])p$/,"$1%"),
|
|
300
308
|
values: ['right:r', 'left:l', 'center:c'],
|
|
301
309
|
},
|
|
302
310
|
'background-position-y': {
|
|
303
|
-
alias:
|
|
311
|
+
// alias:'bgpy', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (bpy)
|
|
304
312
|
type: 'd',
|
|
305
|
-
compiler: (value)
|
|
313
|
+
compiler: positionOffset, // (value)=>value.replace(/-/g,' ').replace(/(\d)d(\d)/g,'$1.$2').replace(/__/g,', ').replace(/([\d])p([\s,])/g,"$1%$2 ").replace(/([\d])p$/,"$1%"),
|
|
306
314
|
values: ['top:t', 'center:c', 'bottom:b'],
|
|
307
315
|
},
|
|
308
316
|
'background-repeat': {
|
|
@@ -311,10 +319,10 @@ const cssProps = {
|
|
|
311
319
|
// compiler:'',
|
|
312
320
|
compiler: (value) => value.replace(/^-/, '').replace(/__/g, ' '),
|
|
313
321
|
values: ['repeat:r', 'repeat-x:rx', 'repeat-y:ry', 'round:ro', 'space:s', 'no-repeat:nr',
|
|
314
|
-
'repeat repeat:rr', 'repeat space:rs', 'repeat round:rro', 'repeat no-repeat:rnr',
|
|
315
|
-
'space repeat:sr', 'space space:ss', 'space round:sro', 'space no-repeat:snr',
|
|
316
|
-
'round repeat:ror', 'round space:ros', 'round round:roro', 'round no-repeat:ronr',
|
|
317
|
-
'no-repeat repeat:nrr', 'no-repeat space:nrs', 'no-repeat round:nrro', 'no-repeat no-repeat:nrnr'
|
|
322
|
+
'repeat repeat:repeat-repeat:rr', 'repeat space:repeat-space:rs', 'repeat round:repeat-round:rro', 'repeat no-repeat:repeat-no-repeat:rnr',
|
|
323
|
+
'space repeat:space-repeat:sr', 'space space:space-space:ss', 'space round:space-round:sro', 'space no-repeat:space-no-repeat:snr',
|
|
324
|
+
'round repeat:round-repeat:ror', 'round space:round-space:ros', 'round round:round-round:roro', 'round no-repeat:round-no-repeat:ronr',
|
|
325
|
+
'no-repeat repeat:no-repeat-repeat:nrr', 'no-repeat space:no-repeat-space:nrs', 'no-repeat round:no-repeat-round:nrro', 'no-repeat no-repeat:no-repeat-no-repeat:nrnr'
|
|
318
326
|
],
|
|
319
327
|
},
|
|
320
328
|
'background-size': {
|
|
@@ -331,12 +339,12 @@ const cssProps = {
|
|
|
331
339
|
values: ['auto:a', 'contain:c', 'cover:co'],
|
|
332
340
|
},
|
|
333
341
|
// 'bleed':{},
|
|
334
|
-
'block-overflow':
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
},
|
|
342
|
+
// 'block-overflow':{
|
|
343
|
+
// alias:'',
|
|
344
|
+
// type:'d',
|
|
345
|
+
// compiler:(value:string)=>value.replace(/^-/,''),
|
|
346
|
+
// values:['clip:c','ellipsis:e']
|
|
347
|
+
// },
|
|
340
348
|
'block-size': {
|
|
341
349
|
alias: '', // border-spacing-bs
|
|
342
350
|
type: 'd',
|
|
@@ -353,7 +361,7 @@ const cssProps = {
|
|
|
353
361
|
alias: '',
|
|
354
362
|
type: 'd',
|
|
355
363
|
compiler: border,
|
|
356
|
-
values: [''],
|
|
364
|
+
values: ['none:n', '0'],
|
|
357
365
|
},
|
|
358
366
|
'border-block-color': {
|
|
359
367
|
alias: '',
|
|
@@ -413,7 +421,7 @@ const cssProps = {
|
|
|
413
421
|
alias: 'bb',
|
|
414
422
|
type: 'd',
|
|
415
423
|
compiler: border,
|
|
416
|
-
values: [''],
|
|
424
|
+
values: ['none:n', '0'],
|
|
417
425
|
},
|
|
418
426
|
'border-bottom-color': {
|
|
419
427
|
alias: 'bbc',
|
|
@@ -445,11 +453,11 @@ const cssProps = {
|
|
|
445
453
|
compiler: length,
|
|
446
454
|
values: width,
|
|
447
455
|
},
|
|
448
|
-
'border-boundary':
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
},
|
|
456
|
+
// 'border-boundary':{
|
|
457
|
+
// alias:'',
|
|
458
|
+
// type:'s',
|
|
459
|
+
// 'values':['none:n','parent:p','display:d']
|
|
460
|
+
// },
|
|
453
461
|
'border-collapse': {
|
|
454
462
|
alias: '',
|
|
455
463
|
type: 's',
|
|
@@ -531,10 +539,10 @@ const cssProps = {
|
|
|
531
539
|
values: [''],
|
|
532
540
|
},
|
|
533
541
|
'border-inline': {
|
|
534
|
-
alias:
|
|
542
|
+
// alias:'bi', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
535
543
|
type: 'd',
|
|
536
544
|
compiler: border,
|
|
537
|
-
values: [''],
|
|
545
|
+
values: ['none:n', '0'],
|
|
538
546
|
},
|
|
539
547
|
'border-inline-color': {
|
|
540
548
|
alias: 'bic',
|
|
@@ -594,7 +602,7 @@ const cssProps = {
|
|
|
594
602
|
alias: 'bl',
|
|
595
603
|
type: 'd',
|
|
596
604
|
compiler: border,
|
|
597
|
-
values: [''],
|
|
605
|
+
values: ['none:n', '0'],
|
|
598
606
|
},
|
|
599
607
|
'border-left-color': {
|
|
600
608
|
alias: 'blc',
|
|
@@ -624,7 +632,7 @@ const cssProps = {
|
|
|
624
632
|
alias: 'brt',
|
|
625
633
|
type: 'd',
|
|
626
634
|
compiler: border,
|
|
627
|
-
values: [''],
|
|
635
|
+
values: ['none:n', '0'],
|
|
628
636
|
},
|
|
629
637
|
'border-right-color': {
|
|
630
638
|
alias: 'brc',
|
|
@@ -672,7 +680,7 @@ const cssProps = {
|
|
|
672
680
|
alias: 'bt',
|
|
673
681
|
type: 'd',
|
|
674
682
|
compiler: border,
|
|
675
|
-
values: [''],
|
|
683
|
+
values: ['none:n', '0'],
|
|
676
684
|
},
|
|
677
685
|
'border-top-color': {
|
|
678
686
|
alias: 'btc',
|
|
@@ -723,7 +731,14 @@ const cssProps = {
|
|
|
723
731
|
values: ['slice:s', 'clone:c'],
|
|
724
732
|
},
|
|
725
733
|
'box-reflect': {
|
|
726
|
-
alias:
|
|
734
|
+
// alias:'bxr', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (br)
|
|
735
|
+
property: '-webkit-box-reflect',
|
|
736
|
+
type: 'd',
|
|
737
|
+
compiler: length,
|
|
738
|
+
values: ['none:n', 'below:b', 'above:a', 'left:l', 'right:r'],
|
|
739
|
+
},
|
|
740
|
+
'-webkit-box-reflect': {
|
|
741
|
+
// alias:'bxr', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (br)
|
|
727
742
|
type: 'd',
|
|
728
743
|
compiler: length,
|
|
729
744
|
values: ['none:n', 'below:b', 'above:a', 'left:l', 'right:r'],
|
|
@@ -741,7 +756,7 @@ const cssProps = {
|
|
|
741
756
|
values: ['content-box:cb', 'border-box:bb'],
|
|
742
757
|
},
|
|
743
758
|
'break-after': {
|
|
744
|
-
alias:
|
|
759
|
+
// alias:'ba', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
745
760
|
type: 's',
|
|
746
761
|
// compiler:'',
|
|
747
762
|
values: ['auto:au', 'all', 'always:al', 'avoid:av', 'avoid-column:ac', 'avoid-page:ap', 'avoid-region:ar', 'column:c', 'left:l', 'page:p', 'recto:rec', 'region:reg', 'right:r', 'verso:v'],
|
|
@@ -749,14 +764,14 @@ const cssProps = {
|
|
|
749
764
|
'break-before': {
|
|
750
765
|
alias: '',
|
|
751
766
|
type: 's',
|
|
752
|
-
// compiler:'',
|
|
767
|
+
// compiler:'', auto, avoid, avoid-page, avoid-column, avoid-region
|
|
753
768
|
values: ['auto:au', 'all', 'always:al', 'avoid:av', 'avoid-column:ac', 'avoid-page:ap', 'avoid-region:ar', 'column:c', 'left:l', 'page:p', 'recto:rec', 'region:reg', 'right:r', 'verso:v'],
|
|
754
769
|
},
|
|
755
770
|
'break-inside': {
|
|
756
771
|
alias: '', // ----
|
|
757
772
|
type: 's',
|
|
758
773
|
// compiler:'',
|
|
759
|
-
values: ['auto:au', '
|
|
774
|
+
values: ['auto:au', 'avoid:av', 'avoid-column:ac', 'avoid-page:ap', 'avoid-region:ar'],
|
|
760
775
|
},
|
|
761
776
|
// ----------C--------
|
|
762
777
|
'caption-side': {
|
|
@@ -808,13 +823,13 @@ const cssProps = {
|
|
|
808
823
|
values: ['normal:n', 'dark:d', 'only dark:only-dark:od:o-d', 'light dark:light-dark:l-d:ld', 'only light:only-light:o-l:ol', 'light:l']
|
|
809
824
|
},
|
|
810
825
|
'column-count': {
|
|
811
|
-
alias:
|
|
826
|
+
// alias:'cc', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
812
827
|
type: 'd',
|
|
813
828
|
compiler: length,
|
|
814
829
|
values: ['auto:a'],
|
|
815
830
|
},
|
|
816
831
|
'column-fill': {
|
|
817
|
-
alias:
|
|
832
|
+
// alias:'cf', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
818
833
|
type: 's',
|
|
819
834
|
// compiler:'',
|
|
820
835
|
values: ['auto:a', 'balance:b'],
|
|
@@ -823,13 +838,13 @@ const cssProps = {
|
|
|
823
838
|
alias: 'cg',
|
|
824
839
|
type: 'd',
|
|
825
840
|
compiler: length,
|
|
826
|
-
values: ['normal:n', ...remUnits],
|
|
841
|
+
values: ['normal:nl:n', ...remUnits],
|
|
827
842
|
},
|
|
828
843
|
'column-rule': {
|
|
829
|
-
alias:
|
|
844
|
+
// alias:'cr', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix (it turned cr-card into CSS)
|
|
830
845
|
type: 'd',
|
|
831
846
|
compiler: border,
|
|
832
|
-
values: [''],
|
|
847
|
+
values: ['none:n', '0'],
|
|
833
848
|
},
|
|
834
849
|
'column-rule-color': {
|
|
835
850
|
alias: 'crc',
|
|
@@ -850,19 +865,19 @@ const cssProps = {
|
|
|
850
865
|
values: width,
|
|
851
866
|
},
|
|
852
867
|
'column-span': {
|
|
853
|
-
alias:
|
|
868
|
+
// alias:'cs', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
854
869
|
type: 's',
|
|
855
870
|
// compiler:'',
|
|
856
871
|
values: ['all:a', 'none:n'],
|
|
857
872
|
},
|
|
858
873
|
'column-width': {
|
|
859
|
-
alias:
|
|
874
|
+
// alias:'cw', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
860
875
|
type: 'd',
|
|
861
876
|
compiler: length,
|
|
862
877
|
values: ['auto:a'],
|
|
863
878
|
},
|
|
864
879
|
'columns': {
|
|
865
|
-
alias:
|
|
880
|
+
// alias:'cols', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (c)
|
|
866
881
|
type: 'd',
|
|
867
882
|
compiler: length,
|
|
868
883
|
values: [''],
|
|
@@ -877,30 +892,30 @@ const cssProps = {
|
|
|
877
892
|
alias: '',
|
|
878
893
|
type: 'd',
|
|
879
894
|
compiler: length,
|
|
880
|
-
values: ['none:n'
|
|
895
|
+
values: ['none:n']
|
|
881
896
|
},
|
|
882
897
|
'contain-intrinsic-height': {
|
|
883
898
|
alias: '',
|
|
884
899
|
type: 'd',
|
|
885
900
|
compiler: length,
|
|
886
|
-
values: ['none:n'
|
|
901
|
+
values: ['none:n']
|
|
887
902
|
},
|
|
888
903
|
'contain-intrinsic-inline-size': {
|
|
889
904
|
alias: '',
|
|
890
905
|
type: 'd',
|
|
891
906
|
compiler: length,
|
|
892
|
-
values: ['none:n'
|
|
907
|
+
values: ['none:n']
|
|
893
908
|
},
|
|
894
909
|
'contain-intrinsic-size': {
|
|
895
910
|
alias: '',
|
|
896
911
|
type: 'd',
|
|
897
912
|
compiler: length,
|
|
898
|
-
values: ['none:n'
|
|
913
|
+
values: ['none:n']
|
|
899
914
|
}, 'contain-intrinsic-width': {
|
|
900
915
|
alias: '',
|
|
901
916
|
type: 'd',
|
|
902
917
|
compiler: length,
|
|
903
|
-
values: ['none:n'
|
|
918
|
+
values: ['none:n']
|
|
904
919
|
},
|
|
905
920
|
'container': {
|
|
906
921
|
alias: '',
|
|
@@ -932,7 +947,7 @@ const cssProps = {
|
|
|
932
947
|
values: ['visible:v', 'hidden:h', 'auto:a']
|
|
933
948
|
},
|
|
934
949
|
'counter-increment': {
|
|
935
|
-
alias:
|
|
950
|
+
// alias:'ci', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
936
951
|
type: 'd',
|
|
937
952
|
compiler: (value) => value.replace(/^-/, '').replace(/[-]([-]?[\d])[-]?/g, ' $1 '),
|
|
938
953
|
values: ['none:n'],
|
|
@@ -961,7 +976,7 @@ const cssProps = {
|
|
|
961
976
|
},
|
|
962
977
|
// ----------D--------
|
|
963
978
|
'direction': {
|
|
964
|
-
alias:
|
|
979
|
+
// alias:'dir',// -- // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (d)
|
|
965
980
|
type: 's',
|
|
966
981
|
// compiler:'',
|
|
967
982
|
values: ['ltr:l', 'rtl:r'],
|
|
@@ -970,14 +985,14 @@ const cssProps = {
|
|
|
970
985
|
alias: 'd',
|
|
971
986
|
type: 's',
|
|
972
987
|
// compiler:'',
|
|
973
|
-
values: ['-webkit-box:webkit-box:wb:box', 'block:b', '
|
|
988
|
+
values: ['-webkit-box:webkit-box:wb:box', 'block:b', 'contents:cont', 'flex:f', 'grid:g', 'inline:i', 'inline-block:ib',
|
|
974
989
|
'inline-flex:if', 'inline-grid:ig', 'inline-table:it',
|
|
975
990
|
'list-item:li', 'none:n', 'run-in:ri', 'table:t', 'table-caption:tcap', 'table-cell:tcl', 'table-column:tc',
|
|
976
991
|
'table-column-group:tcg', 'table-footer-group:tfg', 'table-header-group:thg', 'table-row:tr', 'table-row-group:trg'],
|
|
977
992
|
},
|
|
978
993
|
// ----------E--------
|
|
979
994
|
'empty-cells': {
|
|
980
|
-
alias:
|
|
995
|
+
// alias:'ec', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
981
996
|
type: 's',
|
|
982
997
|
// compiler:'',
|
|
983
998
|
values: ['hide:h', 'show:s'],
|
|
@@ -1014,9 +1029,9 @@ const cssProps = {
|
|
|
1014
1029
|
values: ['row:r', 'row-reverse:rr', 'column:c', 'column-reverse:cr'],
|
|
1015
1030
|
},
|
|
1016
1031
|
'flex-flow': {
|
|
1017
|
-
alias:
|
|
1032
|
+
// alias:'ffl', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (ff)
|
|
1018
1033
|
type: 'd',
|
|
1019
|
-
compiler: (value) => value.replace(
|
|
1034
|
+
compiler: (value) => value.replace(/^-/, '').replace(/-(?=(?:row|column|nowrap|wrap|balance)\b)/g, ' '),
|
|
1020
1035
|
values: [''],
|
|
1021
1036
|
},
|
|
1022
1037
|
'flex-grow': {
|
|
@@ -1062,7 +1077,7 @@ const cssProps = {
|
|
|
1062
1077
|
values: [''],
|
|
1063
1078
|
},
|
|
1064
1079
|
'font-kerning': {
|
|
1065
|
-
alias:
|
|
1080
|
+
// alias:'fk', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1066
1081
|
type: 's',
|
|
1067
1082
|
// compiler:'',
|
|
1068
1083
|
values: ['auto:a', 'normal:nl:n2', 'none:n'],
|
|
@@ -1071,7 +1086,7 @@ const cssProps = {
|
|
|
1071
1086
|
alias: 'flo',
|
|
1072
1087
|
type: 'd',
|
|
1073
1088
|
compiler: (value) => value.replace(/(\w+)/, '"$1"'),
|
|
1074
|
-
values: ['normal
|
|
1089
|
+
values: ['normal:nl'],
|
|
1075
1090
|
},
|
|
1076
1091
|
'font-size': {
|
|
1077
1092
|
alias: 'fs',
|
|
@@ -1105,16 +1120,16 @@ const cssProps = {
|
|
|
1105
1120
|
values: ['none:n', 'weight:w',],
|
|
1106
1121
|
},
|
|
1107
1122
|
'font-variant': {
|
|
1108
|
-
alias:
|
|
1123
|
+
// alias:'fv', // 1.5.4 drop: rarely used (3 uses); a 2-letter alias takes a common name prefix
|
|
1109
1124
|
type: 's',
|
|
1110
1125
|
// compiler:'',
|
|
1111
1126
|
values: ['normal:nl', 'small-caps:sc'],
|
|
1112
1127
|
},
|
|
1113
1128
|
'font-variant-alternates': {
|
|
1114
1129
|
alias: 'fva',
|
|
1115
|
-
type: '',
|
|
1130
|
+
type: 's',
|
|
1116
1131
|
// compiler:'',
|
|
1117
|
-
values: [''],
|
|
1132
|
+
values: ['normal:nl', 'historical-forms:hf'],
|
|
1118
1133
|
},
|
|
1119
1134
|
'font-variant-caps': {
|
|
1120
1135
|
alias: 'fvc',
|
|
@@ -1124,9 +1139,9 @@ const cssProps = {
|
|
|
1124
1139
|
},
|
|
1125
1140
|
'font-variant-east-asian': {
|
|
1126
1141
|
alias: 'fvea',
|
|
1127
|
-
type: '',
|
|
1142
|
+
type: 's',
|
|
1128
1143
|
// compiler:'',
|
|
1129
|
-
values: [''],
|
|
1144
|
+
values: ['normal:nl', 'jis78', 'jis83', 'jis90', 'jis04', 'simplified:s', 'traditional:t', 'full-width:fw', 'proportional-width:pw', 'ruby:r'],
|
|
1130
1145
|
},
|
|
1131
1146
|
'font-variant-ligatures': {
|
|
1132
1147
|
alias: 'fvl',
|
|
@@ -1179,10 +1194,10 @@ const cssProps = {
|
|
|
1179
1194
|
alias: 'g',
|
|
1180
1195
|
type: 'd',
|
|
1181
1196
|
compiler: length,
|
|
1182
|
-
values: ['
|
|
1197
|
+
values: ['normal:nl:n', ...remUnits],
|
|
1183
1198
|
},
|
|
1184
1199
|
'grid': {
|
|
1185
|
-
alias:
|
|
1200
|
+
// alias:'gd', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1186
1201
|
type: 'd',
|
|
1187
1202
|
compiler: (value) => repeat(value).replace(/[-]?(minmax)-(min-content|max-content|auto|\w+)-(min-content|max-content|auto|\w+)/g, " $1($2 , $3 ) ")
|
|
1188
1203
|
.replace(/[-]?(fit-content)[-]([\w]+)/g, "$1( $2 ) ")
|
|
@@ -1259,7 +1274,7 @@ const cssProps = {
|
|
|
1259
1274
|
alias: 'gcg',
|
|
1260
1275
|
type: 'd',
|
|
1261
1276
|
compiler: length,
|
|
1262
|
-
values: ['
|
|
1277
|
+
values: ['normal:nl:n', ...remUnits],
|
|
1263
1278
|
},
|
|
1264
1279
|
'grid-column-start': {
|
|
1265
1280
|
alias: 'gcs',
|
|
@@ -1269,10 +1284,10 @@ const cssProps = {
|
|
|
1269
1284
|
values: ['auto:a'],
|
|
1270
1285
|
},
|
|
1271
1286
|
'grid-gap': {
|
|
1272
|
-
alias:
|
|
1287
|
+
// alias:'gg', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1273
1288
|
type: 'd',
|
|
1274
1289
|
compiler: lenByNumPer,
|
|
1275
|
-
values: ['
|
|
1290
|
+
values: ['normal:nl:n', ...remUnits],
|
|
1276
1291
|
},
|
|
1277
1292
|
'grid-row': {
|
|
1278
1293
|
alias: 'gr',
|
|
@@ -1292,7 +1307,7 @@ const cssProps = {
|
|
|
1292
1307
|
alias: 'grg',
|
|
1293
1308
|
type: 'd',
|
|
1294
1309
|
compiler: length,
|
|
1295
|
-
values: ['
|
|
1310
|
+
values: ['normal:nl:n', ...remUnits],
|
|
1296
1311
|
},
|
|
1297
1312
|
'grid-row-start': {
|
|
1298
1313
|
alias: 'grs',
|
|
@@ -1302,7 +1317,7 @@ const cssProps = {
|
|
|
1302
1317
|
values: ['auto:a'],
|
|
1303
1318
|
},
|
|
1304
1319
|
'grid-template': {
|
|
1305
|
-
alias:
|
|
1320
|
+
// alias:'gt', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1306
1321
|
type: 'd',
|
|
1307
1322
|
compiler: repeat,
|
|
1308
1323
|
values: ['none:n'],
|
|
@@ -1341,7 +1356,7 @@ const cssProps = {
|
|
|
1341
1356
|
},
|
|
1342
1357
|
// ----------H--------
|
|
1343
1358
|
'hanging-punctuation': {
|
|
1344
|
-
alias:
|
|
1359
|
+
// alias:'hp', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1345
1360
|
type: 'd',
|
|
1346
1361
|
compiler: (value) => value.replace(/-e/g, 'E').replace(/-/g, ' ').replace(/E/g, '-e'),
|
|
1347
1362
|
values: ['none:n', 'first:f', 'last:l', 'force-end:fe', 'allow-end:ae'],
|
|
@@ -1360,19 +1375,19 @@ const cssProps = {
|
|
|
1360
1375
|
},
|
|
1361
1376
|
// ----------I--------
|
|
1362
1377
|
'image-orientation': {
|
|
1363
|
-
alias:
|
|
1378
|
+
// alias:'io', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1364
1379
|
type: 's',
|
|
1365
1380
|
// compiler:'',
|
|
1366
1381
|
values: ['none:n', 'from-image:fi'],
|
|
1367
1382
|
},
|
|
1368
1383
|
'image-rendering': {
|
|
1369
|
-
alias:
|
|
1384
|
+
// alias:'ir', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1370
1385
|
type: 's',
|
|
1371
1386
|
// compiler:'',
|
|
1372
1387
|
values: ['auto:a', 'crisp-edges:ce', 'pixelated:p'],
|
|
1373
1388
|
},
|
|
1374
1389
|
'initial-letter': {
|
|
1375
|
-
'alias':
|
|
1390
|
+
// 'alias':'il', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1376
1391
|
compiler: (value) => value.replace(/^-/, '').replace(/(\d)d(\d)/, '$1.$2'),
|
|
1377
1392
|
values: ['normal:nl']
|
|
1378
1393
|
},
|
|
@@ -1388,18 +1403,18 @@ const cssProps = {
|
|
|
1388
1403
|
compiler: length,
|
|
1389
1404
|
values: ['auto:a'],
|
|
1390
1405
|
},
|
|
1391
|
-
'inset-area':
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
},
|
|
1406
|
+
// 'inset-area':{
|
|
1407
|
+
// // alias:'ia', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1408
|
+
// values:['none:n','top left:top-left:tl','start end:start-end:se','block-start center:block-start-center:bsc',
|
|
1409
|
+
// 'inline-start block-end:inline-start-block-end:isbe','x-start y-end:x-start-y-end:xsye',
|
|
1410
|
+
// 'center y-self-end:center-y-self-end:cye','top span-left:top-span-left:tsl',
|
|
1411
|
+
// 'center span-start:center-span-start:css','inline-start span-block-end:inline-start-span-block-end:issbe',
|
|
1412
|
+
// 'y-start span-x-end:y-start-span-x-end:yssxe','top span-all:top-span-all:tsa','block-end span-all:block-end-span-all:besa',
|
|
1413
|
+
// 'x-self-start span-all:x-self-start-span-all:xsssa','top:t', 'inline-start:is', 'center:c', 'span-all:sa','end:e'
|
|
1414
|
+
// ],
|
|
1415
|
+
// },
|
|
1401
1416
|
'inset-block': {
|
|
1402
|
-
alias:
|
|
1417
|
+
// alias:'ib', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1403
1418
|
type: 'd',
|
|
1404
1419
|
compiler: length,
|
|
1405
1420
|
values: ['auto:a'],
|
|
@@ -1453,7 +1468,7 @@ const cssProps = {
|
|
|
1453
1468
|
// compiler:'',
|
|
1454
1469
|
values: ['legacy:le:l2', 'stretch:st:s2', 'start:s', 'left:l', 'center:c', 'end:e', 'right:r', 'flex-start:fs', 'flex-end:fe',
|
|
1455
1470
|
'normal:nl', 'baseline:b', 'first baseline:first-baseline:fb', 'last baseline:last-baseline:lb', 'self-start:ss', 'self-end:se',
|
|
1456
|
-
'
|
|
1471
|
+
'safe center:safe-center:sc', 'unsafe center:unsafe-center:uc', 'legacy right:legacy-right:lr',
|
|
1457
1472
|
'legacy left:legacy-left:ll', 'legacy center:legacy-center:lc'],
|
|
1458
1473
|
},
|
|
1459
1474
|
'justify-self': {
|
|
@@ -1479,13 +1494,13 @@ const cssProps = {
|
|
|
1479
1494
|
values: ['normal:nl'],
|
|
1480
1495
|
},
|
|
1481
1496
|
'lighting-color': {
|
|
1482
|
-
alias:
|
|
1497
|
+
// alias:'lc', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1483
1498
|
type: 'd',
|
|
1484
1499
|
compiler: color,
|
|
1485
1500
|
// values:[],
|
|
1486
1501
|
},
|
|
1487
1502
|
'line-break': {
|
|
1488
|
-
alias:
|
|
1503
|
+
// alias:'lb', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1489
1504
|
type: 's',
|
|
1490
1505
|
// compiler:'',
|
|
1491
1506
|
values: ['auto:a', 'loose:l', 'normal:nl', 'strict:s', 'anywhere:aw:a2'],
|
|
@@ -1655,7 +1670,7 @@ const cssProps = {
|
|
|
1655
1670
|
'mask-position': {
|
|
1656
1671
|
alias: '',
|
|
1657
1672
|
type: 'd',
|
|
1658
|
-
compiler: length,
|
|
1673
|
+
compiler: positionOffset, // length,
|
|
1659
1674
|
values: ['top:t', 'right:r', 'bottom:b', 'left:l', 'center:c'],
|
|
1660
1675
|
},
|
|
1661
1676
|
'mask-repeat': {
|
|
@@ -1707,7 +1722,7 @@ const cssProps = {
|
|
|
1707
1722
|
values: ['max-content:xc', 'min-content:mc', 'none:n', 'fit-content:fc'],
|
|
1708
1723
|
},
|
|
1709
1724
|
'max-block-size': {
|
|
1710
|
-
alias:
|
|
1725
|
+
// alias:'xbs', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (mbs)
|
|
1711
1726
|
type: 'd',
|
|
1712
1727
|
compiler: length,
|
|
1713
1728
|
values: ['max-content:xc', 'min-content:mc', 'none:n'],
|
|
@@ -1722,25 +1737,25 @@ const cssProps = {
|
|
|
1722
1737
|
alias: '',
|
|
1723
1738
|
type: 'd',
|
|
1724
1739
|
compiler: length,
|
|
1725
|
-
values: ['max-content:xc', 'min-content:mc'
|
|
1740
|
+
values: ['max-content:xc', 'min-content:mc'],
|
|
1726
1741
|
},
|
|
1727
1742
|
'min-inline-size': {
|
|
1728
1743
|
alias: '',
|
|
1729
1744
|
type: 'd',
|
|
1730
1745
|
compiler: length,
|
|
1731
|
-
values: ['max-content:xc', 'min-content:mc'
|
|
1746
|
+
values: ['max-content:xc', 'min-content:mc'],
|
|
1732
1747
|
},
|
|
1733
1748
|
'min-height': {
|
|
1734
1749
|
alias: 'mh',
|
|
1735
1750
|
type: 'd',
|
|
1736
1751
|
compiler: length,
|
|
1737
|
-
values: ['max-content:xc', 'min-content:mc', '
|
|
1752
|
+
values: ['max-content:xc', 'min-content:mc', 'fit-content:fc'],
|
|
1738
1753
|
},
|
|
1739
1754
|
'min-width': {
|
|
1740
1755
|
alias: 'mw',
|
|
1741
1756
|
type: 'd',
|
|
1742
1757
|
compiler: length,
|
|
1743
|
-
values: ['max-content:xc', 'min-content:mc', '
|
|
1758
|
+
values: ['max-content:xc', 'min-content:mc', 'fit-content:fc'],
|
|
1744
1759
|
},
|
|
1745
1760
|
'mix-blend-mode': {
|
|
1746
1761
|
alias: 'mbm',
|
|
@@ -1758,7 +1773,7 @@ const cssProps = {
|
|
|
1758
1773
|
'object-position': {
|
|
1759
1774
|
alias: '',
|
|
1760
1775
|
type: 'd',
|
|
1761
|
-
compiler: length,
|
|
1776
|
+
compiler: positionOffset, // length,
|
|
1762
1777
|
values: ['top:t', 'left:l', 'center:c', 'bottom:b', 'right:r'],
|
|
1763
1778
|
},
|
|
1764
1779
|
// 'offset':{// --
|
|
@@ -1768,31 +1783,31 @@ const cssProps = {
|
|
|
1768
1783
|
// values:[''],
|
|
1769
1784
|
// },
|
|
1770
1785
|
'offset-anchor': {
|
|
1771
|
-
alias:
|
|
1786
|
+
// alias:'ofa', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (oa)
|
|
1772
1787
|
type: 'd',
|
|
1773
1788
|
compiler: length,
|
|
1774
1789
|
values: ['top:t', 'left:l', 'center:c', 'bottom:b', 'right:r', 'auto:a'],
|
|
1775
1790
|
},
|
|
1776
1791
|
'offset-distance': {
|
|
1777
|
-
alias:
|
|
1792
|
+
// alias:'ofd', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (od)
|
|
1778
1793
|
type: 's',
|
|
1779
1794
|
compiler: length,
|
|
1780
1795
|
values: [''],
|
|
1781
1796
|
},
|
|
1782
1797
|
'offset-path': {
|
|
1783
|
-
alias:
|
|
1798
|
+
// alias:'ofp', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (op)
|
|
1784
1799
|
type: 'd',
|
|
1785
1800
|
compiler: clipPath,
|
|
1786
1801
|
values: [''],
|
|
1787
1802
|
},
|
|
1788
1803
|
'offset-position': {
|
|
1789
|
-
alias:
|
|
1804
|
+
// alias:'ofpos', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (op)
|
|
1790
1805
|
type: 'd',
|
|
1791
|
-
compiler: length,
|
|
1806
|
+
compiler: positionOffset, // length,
|
|
1792
1807
|
values: [''],
|
|
1793
1808
|
},
|
|
1794
1809
|
'offset-rotate': {
|
|
1795
|
-
alias:
|
|
1810
|
+
// alias:'ofr', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (or)
|
|
1796
1811
|
type: 'd',
|
|
1797
1812
|
compiler: length,
|
|
1798
1813
|
values: ['auto:a', 'reverse:r'],
|
|
@@ -1810,7 +1825,7 @@ const cssProps = {
|
|
|
1810
1825
|
values: [''],
|
|
1811
1826
|
},
|
|
1812
1827
|
'orphans': {
|
|
1813
|
-
alias:
|
|
1828
|
+
// alias:'orp', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (o)
|
|
1814
1829
|
type: 's',
|
|
1815
1830
|
compiler: length,
|
|
1816
1831
|
values: [''],
|
|
@@ -1819,7 +1834,7 @@ const cssProps = {
|
|
|
1819
1834
|
alias: 'ol',
|
|
1820
1835
|
type: 's',
|
|
1821
1836
|
compiler: border,
|
|
1822
|
-
values: ['none:n', 'auto:a'],
|
|
1837
|
+
values: ['none:n', '0', 'auto:a'],
|
|
1823
1838
|
},
|
|
1824
1839
|
'outline-color': {
|
|
1825
1840
|
alias: 'olc',
|
|
@@ -1837,7 +1852,7 @@ const cssProps = {
|
|
|
1837
1852
|
alias: 'ols',
|
|
1838
1853
|
type: 's',
|
|
1839
1854
|
// compiler:'',
|
|
1840
|
-
values:
|
|
1855
|
+
values: ['dotted:d', 'dashed:da', 'solid:s', 'double:db', 'groove:g', 'ridge:ri', 'inset:i', 'outset:o', 'none:n'],
|
|
1841
1856
|
},
|
|
1842
1857
|
'outline-width': {
|
|
1843
1858
|
alias: 'olw',
|
|
@@ -1857,7 +1872,7 @@ const cssProps = {
|
|
|
1857
1872
|
values: ['content-box:cb', 'padding-box:pb', 'border-box:bb']
|
|
1858
1873
|
},
|
|
1859
1874
|
'overflow-anchor': {
|
|
1860
|
-
alias:
|
|
1875
|
+
// alias:'oa', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
1861
1876
|
type: 's',
|
|
1862
1877
|
// compiler:'',
|
|
1863
1878
|
values: ['auto:a', 'none:n'],
|
|
@@ -1881,7 +1896,7 @@ const cssProps = {
|
|
|
1881
1896
|
values: ['visible:v', 'hidden:h', 'clip:c', 'scroll:s', 'auto:a',],
|
|
1882
1897
|
},
|
|
1883
1898
|
'overlay': {
|
|
1884
|
-
alias:
|
|
1899
|
+
// alias:'olay', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (o)
|
|
1885
1900
|
values: ['auto:a', 'none:n']
|
|
1886
1901
|
},
|
|
1887
1902
|
'overscroll-behavior': {
|
|
@@ -1982,7 +1997,7 @@ const cssProps = {
|
|
|
1982
1997
|
values: [...remUnits],
|
|
1983
1998
|
},
|
|
1984
1999
|
'page': {
|
|
1985
|
-
alias:
|
|
2000
|
+
// alias:'pg', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix (it turned pg-btn into CSS)
|
|
1986
2001
|
type: 'd',
|
|
1987
2002
|
compiler: (value) => value.replace(/^-/, ''),
|
|
1988
2003
|
values: ['auto:a']
|
|
@@ -2006,7 +2021,7 @@ const cssProps = {
|
|
|
2006
2021
|
values: ['auto:a', 'avoid:av:a2'],
|
|
2007
2022
|
},
|
|
2008
2023
|
'paint-order': {
|
|
2009
|
-
alias:
|
|
2024
|
+
// alias:'po', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2010
2025
|
type: 's',
|
|
2011
2026
|
// compiler:'',
|
|
2012
2027
|
values: ['fill:f', 'stroke:s', 'markers:m', 'normal:nl'],
|
|
@@ -2018,10 +2033,10 @@ const cssProps = {
|
|
|
2018
2033
|
values: ['none:n'],
|
|
2019
2034
|
},
|
|
2020
2035
|
'perspective-origin': {
|
|
2021
|
-
alias:
|
|
2036
|
+
// alias:'perso', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (po)
|
|
2022
2037
|
type: 's',
|
|
2023
2038
|
compiler: length,
|
|
2024
|
-
values: [''],
|
|
2039
|
+
values: ['center:c'],
|
|
2025
2040
|
},
|
|
2026
2041
|
'place-content': {
|
|
2027
2042
|
alias: 'pc',
|
|
@@ -2063,7 +2078,7 @@ const cssProps = {
|
|
|
2063
2078
|
values: ['static:st:s2', 'absolute:a', 'fixed:f', 'relative:r', 'sticky:s'],
|
|
2064
2079
|
},
|
|
2065
2080
|
'position-anchor': {
|
|
2066
|
-
alias:
|
|
2081
|
+
// alias:'pa', // 1.5.4 drop: rarely used (1 uses); a 2-letter alias takes a common name prefix
|
|
2067
2082
|
type: 'd',
|
|
2068
2083
|
compiler: (value) => "-" + value,
|
|
2069
2084
|
values: ['none:n']
|
|
@@ -2086,7 +2101,7 @@ const cssProps = {
|
|
|
2086
2101
|
},
|
|
2087
2102
|
// ----------Q--------
|
|
2088
2103
|
'quotes': {
|
|
2089
|
-
alias:
|
|
2104
|
+
// alias:'q', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2090
2105
|
type: '',
|
|
2091
2106
|
// compiler:'',
|
|
2092
2107
|
values: ['none:n', 'auto:a'],
|
|
@@ -2114,7 +2129,7 @@ const cssProps = {
|
|
|
2114
2129
|
alias: 'rg',
|
|
2115
2130
|
type: 'd',
|
|
2116
2131
|
compiler: length,
|
|
2117
|
-
values: ['
|
|
2132
|
+
values: ['normal:nl:n', ...remUnits],
|
|
2118
2133
|
},
|
|
2119
2134
|
// ----------S--------
|
|
2120
2135
|
'scale': {
|
|
@@ -2130,7 +2145,7 @@ const cssProps = {
|
|
|
2130
2145
|
values: ['auto:a', 'smooth:s'],
|
|
2131
2146
|
},
|
|
2132
2147
|
'scroll-margin': {
|
|
2133
|
-
alias:
|
|
2148
|
+
// alias:'sm', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2134
2149
|
type: 'd',
|
|
2135
2150
|
compiler: length,
|
|
2136
2151
|
values: [''],
|
|
@@ -2196,70 +2211,70 @@ const cssProps = {
|
|
|
2196
2211
|
values: [''],
|
|
2197
2212
|
},
|
|
2198
2213
|
'scroll-padding': {
|
|
2199
|
-
alias:
|
|
2214
|
+
// alias:'sp', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2200
2215
|
type: 'd',
|
|
2201
2216
|
compiler: length,
|
|
2202
|
-
values: ['
|
|
2217
|
+
values: ['auto:a', ...remUnits],
|
|
2203
2218
|
},
|
|
2204
2219
|
'scroll-padding-block': {
|
|
2205
2220
|
alias: '',
|
|
2206
2221
|
type: 'd',
|
|
2207
2222
|
compiler: length,
|
|
2208
|
-
values: ['
|
|
2223
|
+
values: ['auto:a', ...remUnits],
|
|
2209
2224
|
},
|
|
2210
2225
|
'scroll-padding-block-end': {
|
|
2211
2226
|
alias: 'spbe',
|
|
2212
2227
|
type: 'd',
|
|
2213
2228
|
compiler: length,
|
|
2214
|
-
values: ['
|
|
2229
|
+
values: ['auto:a', ...remUnits],
|
|
2215
2230
|
},
|
|
2216
2231
|
'scroll-padding-block-start': {
|
|
2217
2232
|
alias: 'spbs',
|
|
2218
2233
|
type: 'd',
|
|
2219
2234
|
compiler: length,
|
|
2220
|
-
values: ['
|
|
2235
|
+
values: ['auto:a', ...remUnits],
|
|
2221
2236
|
},
|
|
2222
2237
|
'scroll-padding-bottom': {
|
|
2223
2238
|
alias: 'spb',
|
|
2224
2239
|
type: 'd',
|
|
2225
2240
|
compiler: length,
|
|
2226
|
-
values: ['
|
|
2241
|
+
values: ['auto:a', ...remUnits],
|
|
2227
2242
|
},
|
|
2228
2243
|
'scroll-padding-inline': {
|
|
2229
2244
|
alias: 'spi',
|
|
2230
2245
|
type: 'd',
|
|
2231
2246
|
compiler: length,
|
|
2232
|
-
values: ['
|
|
2247
|
+
values: ['auto:a', ...remUnits],
|
|
2233
2248
|
},
|
|
2234
2249
|
'scroll-padding-inline-end': {
|
|
2235
2250
|
alias: 'spie',
|
|
2236
2251
|
type: 'd',
|
|
2237
2252
|
compiler: length,
|
|
2238
|
-
values: ['
|
|
2253
|
+
values: ['auto:a', ...remUnits],
|
|
2239
2254
|
},
|
|
2240
2255
|
'scroll-padding-inline-start': {
|
|
2241
2256
|
alias: 'spis',
|
|
2242
2257
|
type: 'd',
|
|
2243
2258
|
compiler: length,
|
|
2244
|
-
values: ['
|
|
2259
|
+
values: ['auto:a', ...remUnits],
|
|
2245
2260
|
},
|
|
2246
2261
|
'scroll-padding-left': {
|
|
2247
2262
|
alias: 'spl',
|
|
2248
2263
|
type: 'd',
|
|
2249
2264
|
compiler: length,
|
|
2250
|
-
values: ['
|
|
2265
|
+
values: ['auto:a', ...remUnits],
|
|
2251
2266
|
},
|
|
2252
2267
|
'scroll-padding-right': {
|
|
2253
2268
|
alias: 'spr',
|
|
2254
2269
|
type: 'd',
|
|
2255
2270
|
compiler: length,
|
|
2256
|
-
values: ['
|
|
2271
|
+
values: ['auto:a', ...remUnits],
|
|
2257
2272
|
},
|
|
2258
2273
|
'scroll-padding-top': {
|
|
2259
2274
|
alias: 'spt',
|
|
2260
2275
|
type: 'd',
|
|
2261
2276
|
compiler: length,
|
|
2262
|
-
values: ['
|
|
2277
|
+
values: ['auto:a', ...remUnits],
|
|
2263
2278
|
},
|
|
2264
2279
|
'scroll-snap-align': {
|
|
2265
2280
|
alias: 'ssa',
|
|
@@ -2283,14 +2298,14 @@ const cssProps = {
|
|
|
2283
2298
|
],
|
|
2284
2299
|
},
|
|
2285
2300
|
'scroll-timeline': {
|
|
2286
|
-
'alias':
|
|
2301
|
+
// 'alias':'st', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix (it turned st-label into CSS)
|
|
2287
2302
|
compiler: (value) => ('-' + value).replace(/-(block|inline|y|x)/, " $1").replace(/^--none[\s]/, 'none '),
|
|
2288
2303
|
values: ['none:n']
|
|
2289
2304
|
},
|
|
2290
2305
|
'scroll-timeline-axis': {
|
|
2291
2306
|
'alias': 'sta',
|
|
2292
2307
|
// compiler:'',
|
|
2293
|
-
values: ['
|
|
2308
|
+
values: ['block:b', 'inline:i', 'y', 'x']
|
|
2294
2309
|
},
|
|
2295
2310
|
'scroll-timeline-name': {
|
|
2296
2311
|
'alias': 'stn',
|
|
@@ -2298,13 +2313,13 @@ const cssProps = {
|
|
|
2298
2313
|
values: ['none:n']
|
|
2299
2314
|
},
|
|
2300
2315
|
'scrollbar-color': {
|
|
2301
|
-
alias:
|
|
2316
|
+
// alias:'sbc', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (sc)
|
|
2302
2317
|
type: 'd',
|
|
2303
2318
|
compiler: color,
|
|
2304
2319
|
values: [''],
|
|
2305
2320
|
},
|
|
2306
2321
|
'scrollbar-gutter': {
|
|
2307
|
-
alias:
|
|
2322
|
+
// alias:'sbg', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (sg)
|
|
2308
2323
|
type: 'd',
|
|
2309
2324
|
// compiler:'',
|
|
2310
2325
|
values: ['auto:a', 'stable:s', 'stable both-edges:stable-both-edges:sbe'],
|
|
@@ -2347,7 +2362,7 @@ const cssProps = {
|
|
|
2347
2362
|
},
|
|
2348
2363
|
// ----------T--------
|
|
2349
2364
|
'tab-size': {
|
|
2350
|
-
alias:
|
|
2365
|
+
// alias:'ts', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix (it turned ts-card into CSS)
|
|
2351
2366
|
type: 'd',
|
|
2352
2367
|
compiler: length,
|
|
2353
2368
|
values: [''],
|
|
@@ -2362,7 +2377,7 @@ const cssProps = {
|
|
|
2362
2377
|
alias: 'ta',
|
|
2363
2378
|
type: 's',
|
|
2364
2379
|
// compiler:'',
|
|
2365
|
-
values: ['
|
|
2380
|
+
values: ['left:l', 'right:r', 'center:c', 'justify:j', 'end:e', 'start:s'],
|
|
2366
2381
|
},
|
|
2367
2382
|
'text-align-last': {
|
|
2368
2383
|
alias: 'tal',
|
|
@@ -2386,7 +2401,7 @@ const cssProps = {
|
|
|
2386
2401
|
alias: 'td',
|
|
2387
2402
|
type: 's',
|
|
2388
2403
|
// compiler:'',
|
|
2389
|
-
values: [
|
|
2404
|
+
values: ['none:n', 'dotted:d', 'dashed:da', 'solid:s', 'double:db', 'wavy:w', 'underline:u', 'overline:ol:o2', 'line-through:lt'],
|
|
2390
2405
|
},
|
|
2391
2406
|
'text-decoration-color': {
|
|
2392
2407
|
alias: 'tdc',
|
|
@@ -2404,7 +2419,7 @@ const cssProps = {
|
|
|
2404
2419
|
alias: 'tds',
|
|
2405
2420
|
type: '',
|
|
2406
2421
|
// compiler:'',
|
|
2407
|
-
values: [
|
|
2422
|
+
values: ['dotted:d', 'dashed:da', 'solid:s', 'double:db', 'wavy:w'],
|
|
2408
2423
|
},
|
|
2409
2424
|
'text-decoration-thickness': {
|
|
2410
2425
|
alias: 'tdt',
|
|
@@ -2413,7 +2428,7 @@ const cssProps = {
|
|
|
2413
2428
|
values: ['auto:a', 'from-font:ff'],
|
|
2414
2429
|
},
|
|
2415
2430
|
'text-emphasis': {
|
|
2416
|
-
alias:
|
|
2431
|
+
// alias:'te', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2417
2432
|
type: 's',
|
|
2418
2433
|
// compiler:'',
|
|
2419
2434
|
values: ['none:n', 'open:o', 'filled:f', 'dot:d', 'circle:c', 'double-circle:dc', 'triangle:t', 'sesame'],
|
|
@@ -2431,7 +2446,7 @@ const cssProps = {
|
|
|
2431
2446
|
values: [''],
|
|
2432
2447
|
},
|
|
2433
2448
|
'text-justify': {
|
|
2434
|
-
alias:
|
|
2449
|
+
// alias:'tj', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2435
2450
|
type: 's',
|
|
2436
2451
|
// compiler:'',
|
|
2437
2452
|
values: ['none:n', 'inter-word:iw', 'inter-character:ic', 'distribute:d', 'auto:a'],
|
|
@@ -2467,7 +2482,7 @@ const cssProps = {
|
|
|
2467
2482
|
values: ['none:n', 'capitalize:c', 'uppercase:u:uc', 'lowercase:l:lc', 'full-width:fw', 'full-size-kana:fsk'],
|
|
2468
2483
|
},
|
|
2469
2484
|
'timeline-scope': {
|
|
2470
|
-
'alias':
|
|
2485
|
+
// 'alias':'tls', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (ts)
|
|
2471
2486
|
compiler: (value) => '-' + value,
|
|
2472
2487
|
values: ['none:n']
|
|
2473
2488
|
},
|
|
@@ -2508,7 +2523,7 @@ const cssProps = {
|
|
|
2508
2523
|
values: ['auto:a'],
|
|
2509
2524
|
},
|
|
2510
2525
|
'touch-action': {
|
|
2511
|
-
alias:
|
|
2526
|
+
// alias:'toa', // 1.5.4 drop: rarely used (16 uses) and doesn't follow the first-letter rule (ta)
|
|
2512
2527
|
values: ['auto:a', 'none:n', 'pan-x:px', 'pan-left:pl', 'pan-right:pr', 'pan-y:py', 'pan-up:pu', 'pan-down:pd', 'pinch-zoom:pz', 'manipulation:m']
|
|
2513
2528
|
},
|
|
2514
2529
|
'transform': {
|
|
@@ -2518,7 +2533,7 @@ const cssProps = {
|
|
|
2518
2533
|
values: ['none:n'],
|
|
2519
2534
|
},
|
|
2520
2535
|
'transform-box': {
|
|
2521
|
-
alias:
|
|
2536
|
+
// alias:'tfb', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (tb)
|
|
2522
2537
|
type: 's',
|
|
2523
2538
|
// compiler:'',
|
|
2524
2539
|
values: ['content-box:cb', 'border-box:bb', 'fill-box:fb', 'stroke-box:sb', 'view-box:vb'],
|
|
@@ -2542,7 +2557,7 @@ const cssProps = {
|
|
|
2542
2557
|
values: [''],
|
|
2543
2558
|
},
|
|
2544
2559
|
'transition-behavior': {
|
|
2545
|
-
alias:
|
|
2560
|
+
// alias:'tb', // 1.5.4 drop: rarely used (17 uses); a 2-letter alias takes a common name prefix
|
|
2546
2561
|
values: ['allow-discrete:ad', 'normal:nl'],
|
|
2547
2562
|
},
|
|
2548
2563
|
'transition-delay': {
|
|
@@ -2577,7 +2592,7 @@ const cssProps = {
|
|
|
2577
2592
|
},
|
|
2578
2593
|
// ----------U--------
|
|
2579
2594
|
'unicode-bidi': {
|
|
2580
|
-
alias:
|
|
2595
|
+
// alias:'ub', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2581
2596
|
type: 's',
|
|
2582
2597
|
// compiler:'',
|
|
2583
2598
|
values: ['normal:nl', 'embed:e', 'isolate:i', 'bidi-override:bo', 'isolate-override:io', 'plaintext:p:pt'],
|
|
@@ -2590,7 +2605,7 @@ const cssProps = {
|
|
|
2590
2605
|
},
|
|
2591
2606
|
// ----------V--------
|
|
2592
2607
|
'vector-effect': {
|
|
2593
|
-
alias:
|
|
2608
|
+
// alias:'ve', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2594
2609
|
type: 's',
|
|
2595
2610
|
// compiler:length,
|
|
2596
2611
|
values: ['none:n', 'non-scaling-stroke:nss'],
|
|
@@ -2608,7 +2623,7 @@ const cssProps = {
|
|
|
2608
2623
|
values: ['visible:v', 'hidden:h', 'collapse:c'],
|
|
2609
2624
|
},
|
|
2610
2625
|
'view-timeline': {
|
|
2611
|
-
alias:
|
|
2626
|
+
// alias:'vt', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2612
2627
|
compiler: (value) => "-" + value.replace(/-(block|inline|x|y)/, ' $1'),
|
|
2613
2628
|
values: ['none block:none-block', 'none inline:none-inline', 'none x:none-x', 'none y:none-y']
|
|
2614
2629
|
},
|
|
@@ -2628,7 +2643,7 @@ const cssProps = {
|
|
|
2628
2643
|
values: ['auto:a']
|
|
2629
2644
|
},
|
|
2630
2645
|
'view-transition-name': {
|
|
2631
|
-
'alias':
|
|
2646
|
+
// 'alias':'vtn2',
|
|
2632
2647
|
compiler: (value) => value.replace(/^-/, ''),
|
|
2633
2648
|
'values': ['none:n']
|
|
2634
2649
|
},
|
|
@@ -2644,7 +2659,7 @@ const cssProps = {
|
|
|
2644
2659
|
values: ['collapse:c', 'preserve:p', 'preserve-breaks:pb', 'preserve-spaces:ps', 'break-spaces:bs']
|
|
2645
2660
|
},
|
|
2646
2661
|
'widows': {
|
|
2647
|
-
alias:
|
|
2662
|
+
// alias:'wid', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (w)
|
|
2648
2663
|
type: 'd',
|
|
2649
2664
|
compiler: length,
|
|
2650
2665
|
values: [''],
|
|
@@ -2674,25 +2689,25 @@ const cssProps = {
|
|
|
2674
2689
|
values: ['normal:nl'],
|
|
2675
2690
|
},
|
|
2676
2691
|
'word-wrap': {
|
|
2677
|
-
alias:
|
|
2692
|
+
// alias:'ww', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2678
2693
|
type: 's',
|
|
2679
2694
|
// compiler:'',
|
|
2680
2695
|
values: ['break-word:bw', 'normal:nl'],
|
|
2681
2696
|
},
|
|
2682
2697
|
'writing-mode': {
|
|
2683
|
-
alias:
|
|
2698
|
+
// alias:'wm', // 1.5.4 drop: rarely used (3 uses); a 2-letter alias takes a common name prefix
|
|
2684
2699
|
type: 's',
|
|
2685
2700
|
// compiler:'',
|
|
2686
2701
|
values: ['horizontal-tb:ht', 'vertical-rl:vrl', 'vertical-lr:vlr'],
|
|
2687
2702
|
},
|
|
2688
2703
|
'x': {
|
|
2689
|
-
alias:
|
|
2704
|
+
// alias:'x', // 1.5.4 drop: rarely used (1 uses); a 2-letter alias takes a common name prefix
|
|
2690
2705
|
type: 'd',
|
|
2691
2706
|
compiler: length,
|
|
2692
2707
|
values: [''],
|
|
2693
2708
|
},
|
|
2694
2709
|
'y': {
|
|
2695
|
-
alias:
|
|
2710
|
+
// alias:'y', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2696
2711
|
type: 'd',
|
|
2697
2712
|
compiler: length,
|
|
2698
2713
|
values: [''],
|
|
@@ -2705,10 +2720,10 @@ const cssProps = {
|
|
|
2705
2720
|
values: ['auto:a'],
|
|
2706
2721
|
},
|
|
2707
2722
|
'zoom': {
|
|
2708
|
-
alias:
|
|
2723
|
+
// alias:'zo', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2709
2724
|
type: 'd',
|
|
2710
2725
|
compiler: length,
|
|
2711
|
-
values: ['
|
|
2726
|
+
values: ['normal:nl']
|
|
2712
2727
|
},
|
|
2713
2728
|
// ----------------SVG-----------------------------
|
|
2714
2729
|
// 'alignment-baseline':{
|
|
@@ -2730,25 +2745,25 @@ const cssProps = {
|
|
|
2730
2745
|
values: ['none:n', 'context-fill:cf', 'context-stroke:cs'],
|
|
2731
2746
|
},
|
|
2732
2747
|
'fill-opacity': {
|
|
2733
|
-
alias:
|
|
2748
|
+
// alias:'fo', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2734
2749
|
type: 'd',
|
|
2735
2750
|
compiler: (value) => value.replace(/^-/, '').replace(/(\d)d(\d)/, '$1.$2').replace(/([\d])p$/, '$1%'),
|
|
2736
2751
|
values: [],
|
|
2737
2752
|
},
|
|
2738
2753
|
'fill-rule': {
|
|
2739
|
-
alias:
|
|
2754
|
+
// alias:'fr', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2740
2755
|
type: 'd',
|
|
2741
2756
|
// compiler:'',
|
|
2742
2757
|
values: ['nonzero:nz', 'evenodd:eo'],
|
|
2743
2758
|
},
|
|
2744
2759
|
'stroke-dasharray': {
|
|
2745
|
-
alias:
|
|
2760
|
+
// alias:'sda', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (sd)
|
|
2746
2761
|
type: 'd',
|
|
2747
2762
|
compiler: length,
|
|
2748
2763
|
values: [],
|
|
2749
2764
|
},
|
|
2750
2765
|
'stroke-dashoffset': {
|
|
2751
|
-
alias:
|
|
2766
|
+
// alias:'sdo', // 1.5.4 drop: rarely used (3 uses) and doesn't follow the first-letter rule (sd)
|
|
2752
2767
|
type: 'd',
|
|
2753
2768
|
compiler: length,
|
|
2754
2769
|
values: [],
|
|
@@ -2760,19 +2775,19 @@ const cssProps = {
|
|
|
2760
2775
|
values: [],
|
|
2761
2776
|
},
|
|
2762
2777
|
'stroke-opacity': {
|
|
2763
|
-
alias:
|
|
2778
|
+
// alias:'so', // 1.5.4 drop: rarely used (0 uses); a 2-letter alias takes a common name prefix
|
|
2764
2779
|
type: 'd',
|
|
2765
2780
|
compiler: length,
|
|
2766
2781
|
values: [],
|
|
2767
2782
|
},
|
|
2768
2783
|
'stroke-linecap': {
|
|
2769
|
-
alias:
|
|
2784
|
+
// alias:'slc', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (sl)
|
|
2770
2785
|
type: 's',
|
|
2771
2786
|
// compiler:'',
|
|
2772
2787
|
values: ['butt', 'round', 'square'],
|
|
2773
2788
|
},
|
|
2774
2789
|
'stroke-linejoin': {
|
|
2775
|
-
alias:
|
|
2790
|
+
// alias:'slj', // 1.5.4 drop: rarely used (0 uses) and doesn't follow the first-letter rule (sl)
|
|
2776
2791
|
type: 's',
|
|
2777
2792
|
// compiler:'',
|
|
2778
2793
|
values: ['arcs', 'bevel', 'miter', 'miter-clip', 'round'],
|
|
@@ -2945,25 +2960,25 @@ const cssProps = {
|
|
|
2945
2960
|
alias: '',
|
|
2946
2961
|
type: 'd',
|
|
2947
2962
|
compiler: border,
|
|
2948
|
-
values: ['none:n'],
|
|
2963
|
+
values: ['none:n', '0'],
|
|
2949
2964
|
},
|
|
2950
2965
|
'border-block-end': {
|
|
2951
2966
|
alias: '',
|
|
2952
2967
|
type: 'd',
|
|
2953
2968
|
compiler: border,
|
|
2954
|
-
values: ['none:n'],
|
|
2969
|
+
values: ['none:n', '0'],
|
|
2955
2970
|
},
|
|
2956
2971
|
'border-inline-start': {
|
|
2957
2972
|
alias: '',
|
|
2958
2973
|
type: 'd',
|
|
2959
2974
|
compiler: border,
|
|
2960
|
-
values: ['none:n'],
|
|
2975
|
+
values: ['none:n', '0'],
|
|
2961
2976
|
},
|
|
2962
2977
|
'border-inline-end': {
|
|
2963
2978
|
alias: '',
|
|
2964
2979
|
type: 'd',
|
|
2965
2980
|
compiler: border,
|
|
2966
|
-
values: ['none:n'],
|
|
2981
|
+
values: ['none:n', '0'],
|
|
2967
2982
|
},
|
|
2968
2983
|
// ---------- Overflow (logical) ----------
|
|
2969
2984
|
'overflow-block': {
|
|
@@ -3104,7 +3119,7 @@ const cssProps = {
|
|
|
3104
3119
|
property: 'min-height',
|
|
3105
3120
|
type: 'd',
|
|
3106
3121
|
compiler: length,
|
|
3107
|
-
values: ['max-content:xc', 'min-content:mc', '
|
|
3122
|
+
values: ['max-content:xc', 'min-content:mc', 'fit-content:fc'],
|
|
3108
3123
|
},
|
|
3109
3124
|
'max-w': {
|
|
3110
3125
|
property: 'max-width',
|
|
@@ -3116,7 +3131,7 @@ const cssProps = {
|
|
|
3116
3131
|
property: 'min-width',
|
|
3117
3132
|
type: 'd',
|
|
3118
3133
|
compiler: length,
|
|
3119
|
-
values: ['max-content:xc', 'min-content:mc', '
|
|
3134
|
+
values: ['max-content:xc', 'min-content:mc', 'fit-content:fc'],
|
|
3120
3135
|
},
|
|
3121
3136
|
};
|
|
3122
3137
|
export default cssProps;
|