@webstudio-is/css-data 0.82.0 → 0.84.0
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/LICENSE +661 -21
- package/lib/__generated__/keyword-values.js +38 -2
- package/lib/__generated__/properties.js +101 -11
- package/lib/cjs/__generated__/keyword-values.js +38 -2
- package/lib/cjs/__generated__/properties.js +101 -11
- package/lib/cjs/custom-data.js +64 -0
- package/lib/cjs/html-check.js +23 -0
- package/lib/cjs/html.js +353 -308
- package/lib/cjs/property-parsers/box-shadow.js +1 -0
- package/lib/custom-data.js +44 -0
- package/lib/html-check.js +1 -0
- package/lib/html.js +353 -308
- package/lib/property-parsers/box-shadow.js +1 -0
- package/lib/types/__generated__/keyword-values.d.ts +11 -2
- package/lib/types/__generated__/properties.d.ts +101 -11
- package/lib/types/custom-data.d.ts +15 -0
- package/lib/types/html.d.ts +8 -0
- package/lib/types/index.d.ts +101 -11
- package/package.json +8 -8
- package/src/__generated__/keyword-values.ts +38 -2
- package/src/__generated__/properties.ts +101 -11
- package/src/custom-data.ts +57 -0
- package/src/html.ts +387 -330
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
const keywordValues = {
|
|
2
|
+
WebkitFontSmoothing: ["auto", "none", "antialiased", "subpixel-antialiased"],
|
|
3
|
+
MozOsxFontSmoothing: ["auto", "grayscale"],
|
|
4
|
+
listStyleType: [
|
|
5
|
+
"disc",
|
|
6
|
+
"circle",
|
|
7
|
+
"square",
|
|
8
|
+
"decimal",
|
|
9
|
+
"georgian",
|
|
10
|
+
"trad-chinese-informal",
|
|
11
|
+
"kannada",
|
|
12
|
+
"none",
|
|
13
|
+
"initial",
|
|
14
|
+
"inherit",
|
|
15
|
+
"unset"
|
|
16
|
+
],
|
|
2
17
|
accentColor: [
|
|
3
18
|
"auto",
|
|
4
19
|
"transparent",
|
|
@@ -2874,7 +2889,6 @@ const keywordValues = {
|
|
|
2874
2889
|
"inherit",
|
|
2875
2890
|
"unset"
|
|
2876
2891
|
],
|
|
2877
|
-
printColorAdjust: ["economy", "exact", "initial", "inherit", "unset"],
|
|
2878
2892
|
colorScheme: [
|
|
2879
2893
|
"normal",
|
|
2880
2894
|
"light",
|
|
@@ -3077,6 +3091,15 @@ const keywordValues = {
|
|
|
3077
3091
|
containIntrinsicHeight: ["none", "auto", "initial", "inherit", "unset"],
|
|
3078
3092
|
containIntrinsicInlineSize: ["none", "auto", "initial", "inherit", "unset"],
|
|
3079
3093
|
containIntrinsicWidth: ["none", "auto", "initial", "inherit", "unset"],
|
|
3094
|
+
containerName: ["none", "initial", "inherit", "unset"],
|
|
3095
|
+
containerType: [
|
|
3096
|
+
"normal",
|
|
3097
|
+
"size",
|
|
3098
|
+
"inline-size",
|
|
3099
|
+
"initial",
|
|
3100
|
+
"inherit",
|
|
3101
|
+
"unset"
|
|
3102
|
+
],
|
|
3080
3103
|
content: [
|
|
3081
3104
|
"normal",
|
|
3082
3105
|
"none",
|
|
@@ -3224,6 +3247,7 @@ const keywordValues = {
|
|
|
3224
3247
|
fontKerning: ["auto", "normal", "none", "initial", "inherit", "unset"],
|
|
3225
3248
|
fontLanguageOverride: ["normal", "initial", "inherit", "unset"],
|
|
3226
3249
|
fontOpticalSizing: ["auto", "none", "initial", "inherit", "unset"],
|
|
3250
|
+
fontPalette: ["normal", "light", "dark", "initial", "inherit", "unset"],
|
|
3227
3251
|
fontVariationSettings: ["normal", "initial", "inherit", "unset"],
|
|
3228
3252
|
fontSize: [
|
|
3229
3253
|
"xx-small",
|
|
@@ -3349,6 +3373,15 @@ const keywordValues = {
|
|
|
3349
3373
|
"inherit",
|
|
3350
3374
|
"unset"
|
|
3351
3375
|
],
|
|
3376
|
+
fontVariantEmoji: [
|
|
3377
|
+
"normal",
|
|
3378
|
+
"text",
|
|
3379
|
+
"emoji",
|
|
3380
|
+
"unicode",
|
|
3381
|
+
"initial",
|
|
3382
|
+
"inherit",
|
|
3383
|
+
"unset"
|
|
3384
|
+
],
|
|
3352
3385
|
fontVariantLigatures: [
|
|
3353
3386
|
"normal",
|
|
3354
3387
|
"none",
|
|
@@ -3458,6 +3491,7 @@ const keywordValues = {
|
|
|
3458
3491
|
"unset"
|
|
3459
3492
|
],
|
|
3460
3493
|
hyphenateCharacter: ["auto", "initial", "inherit", "unset"],
|
|
3494
|
+
hyphenateLimitChars: ["auto", "initial", "inherit", "unset"],
|
|
3461
3495
|
hyphens: ["none", "manual", "auto", "initial", "inherit", "unset"],
|
|
3462
3496
|
imageOrientation: ["from-image", "flip", "initial", "inherit", "unset"],
|
|
3463
3497
|
imageRendering: [
|
|
@@ -3593,7 +3627,6 @@ const keywordValues = {
|
|
|
3593
3627
|
lineHeightStep: ["initial", "inherit", "unset"],
|
|
3594
3628
|
listStyleImage: ["none", "initial", "inherit", "unset"],
|
|
3595
3629
|
listStylePosition: ["inside", "outside", "initial", "inherit", "unset"],
|
|
3596
|
-
listStyleType: ["none", "initial", "inherit", "unset"],
|
|
3597
3630
|
marginBlockEnd: ["auto", "initial", "inherit", "unset"],
|
|
3598
3631
|
marginBlockStart: ["auto", "initial", "inherit", "unset"],
|
|
3599
3632
|
marginBottom: ["auto", "initial", "inherit", "unset"],
|
|
@@ -4139,6 +4172,7 @@ const keywordValues = {
|
|
|
4139
4172
|
paddingLeft: ["initial", "inherit", "unset"],
|
|
4140
4173
|
paddingRight: ["initial", "inherit", "unset"],
|
|
4141
4174
|
paddingTop: ["initial", "inherit", "unset"],
|
|
4175
|
+
page: ["auto", "initial", "inherit", "unset"],
|
|
4142
4176
|
pageBreakAfter: [
|
|
4143
4177
|
"auto",
|
|
4144
4178
|
"always",
|
|
@@ -4209,6 +4243,7 @@ const keywordValues = {
|
|
|
4209
4243
|
"inherit",
|
|
4210
4244
|
"unset"
|
|
4211
4245
|
],
|
|
4246
|
+
printColorAdjust: ["economy", "exact", "initial", "inherit", "unset"],
|
|
4212
4247
|
quotes: ["none", "auto", "initial", "inherit", "unset"],
|
|
4213
4248
|
resize: [
|
|
4214
4249
|
"none",
|
|
@@ -5161,6 +5196,7 @@ const keywordValues = {
|
|
|
5161
5196
|
"inherit",
|
|
5162
5197
|
"unset"
|
|
5163
5198
|
],
|
|
5199
|
+
viewTransitionName: ["none", "initial", "inherit", "unset"],
|
|
5164
5200
|
visibility: ["visible", "hidden", "collapse", "initial", "inherit", "unset"],
|
|
5165
5201
|
whiteSpace: [
|
|
5166
5202
|
"normal",
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
const properties = {
|
|
2
|
+
WebkitFontSmoothing: {
|
|
3
|
+
unitGroups: [],
|
|
4
|
+
inherited: true,
|
|
5
|
+
initial: {
|
|
6
|
+
type: "keyword",
|
|
7
|
+
value: "auto"
|
|
8
|
+
},
|
|
9
|
+
popularity: 0.61281794,
|
|
10
|
+
appliesTo: "allElements"
|
|
11
|
+
},
|
|
12
|
+
MozOsxFontSmoothing: {
|
|
13
|
+
unitGroups: [],
|
|
14
|
+
inherited: true,
|
|
15
|
+
initial: {
|
|
16
|
+
type: "keyword",
|
|
17
|
+
value: "auto"
|
|
18
|
+
},
|
|
19
|
+
popularity: 0,
|
|
20
|
+
appliesTo: "allElements"
|
|
21
|
+
},
|
|
2
22
|
accentColor: {
|
|
3
23
|
unitGroups: [],
|
|
4
24
|
inherited: true,
|
|
@@ -937,16 +957,6 @@ const properties = {
|
|
|
937
957
|
popularity: 0.90791486,
|
|
938
958
|
appliesTo: "allElementsAndText"
|
|
939
959
|
},
|
|
940
|
-
printColorAdjust: {
|
|
941
|
-
unitGroups: [],
|
|
942
|
-
inherited: true,
|
|
943
|
-
initial: {
|
|
944
|
-
type: "keyword",
|
|
945
|
-
value: "economy"
|
|
946
|
-
},
|
|
947
|
-
popularity: 0,
|
|
948
|
-
appliesTo: "allElements"
|
|
949
|
-
},
|
|
950
960
|
colorScheme: {
|
|
951
961
|
unitGroups: [],
|
|
952
962
|
inherited: true,
|
|
@@ -1088,6 +1098,26 @@ const properties = {
|
|
|
1088
1098
|
popularity: 0,
|
|
1089
1099
|
appliesTo: "elementsForWhichSizeContainmentCanApply"
|
|
1090
1100
|
},
|
|
1101
|
+
containerName: {
|
|
1102
|
+
unitGroups: [],
|
|
1103
|
+
inherited: false,
|
|
1104
|
+
initial: {
|
|
1105
|
+
type: "keyword",
|
|
1106
|
+
value: "none"
|
|
1107
|
+
},
|
|
1108
|
+
popularity: 0,
|
|
1109
|
+
appliesTo: "allElements"
|
|
1110
|
+
},
|
|
1111
|
+
containerType: {
|
|
1112
|
+
unitGroups: [],
|
|
1113
|
+
inherited: false,
|
|
1114
|
+
initial: {
|
|
1115
|
+
type: "keyword",
|
|
1116
|
+
value: "normal"
|
|
1117
|
+
},
|
|
1118
|
+
popularity: 0,
|
|
1119
|
+
appliesTo: "allElements"
|
|
1120
|
+
},
|
|
1091
1121
|
content: {
|
|
1092
1122
|
unitGroups: [],
|
|
1093
1123
|
inherited: false,
|
|
@@ -1106,7 +1136,7 @@ const properties = {
|
|
|
1106
1136
|
value: "visible"
|
|
1107
1137
|
},
|
|
1108
1138
|
popularity: 0.04199404,
|
|
1109
|
-
appliesTo: "
|
|
1139
|
+
appliesTo: "elementsForWhichSizeContainmentCanApply"
|
|
1110
1140
|
},
|
|
1111
1141
|
counterIncrement: {
|
|
1112
1142
|
unitGroups: ["number"],
|
|
@@ -1300,6 +1330,16 @@ const properties = {
|
|
|
1300
1330
|
popularity: 6232e-7,
|
|
1301
1331
|
appliesTo: "allElements"
|
|
1302
1332
|
},
|
|
1333
|
+
fontPalette: {
|
|
1334
|
+
unitGroups: [],
|
|
1335
|
+
inherited: true,
|
|
1336
|
+
initial: {
|
|
1337
|
+
type: "keyword",
|
|
1338
|
+
value: "normal"
|
|
1339
|
+
},
|
|
1340
|
+
popularity: 0,
|
|
1341
|
+
appliesTo: "allElementsAndText"
|
|
1342
|
+
},
|
|
1303
1343
|
fontVariationSettings: {
|
|
1304
1344
|
unitGroups: ["number"],
|
|
1305
1345
|
inherited: true,
|
|
@@ -1409,6 +1449,16 @@ const properties = {
|
|
|
1409
1449
|
popularity: 328361e-8,
|
|
1410
1450
|
appliesTo: "allElements"
|
|
1411
1451
|
},
|
|
1452
|
+
fontVariantEmoji: {
|
|
1453
|
+
unitGroups: [],
|
|
1454
|
+
inherited: true,
|
|
1455
|
+
initial: {
|
|
1456
|
+
type: "keyword",
|
|
1457
|
+
value: "normal"
|
|
1458
|
+
},
|
|
1459
|
+
popularity: 0,
|
|
1460
|
+
appliesTo: "allElementsAndText"
|
|
1461
|
+
},
|
|
1412
1462
|
fontVariantLigatures: {
|
|
1413
1463
|
unitGroups: [],
|
|
1414
1464
|
inherited: true,
|
|
@@ -1589,6 +1639,16 @@ const properties = {
|
|
|
1589
1639
|
popularity: 0,
|
|
1590
1640
|
appliesTo: "allElements"
|
|
1591
1641
|
},
|
|
1642
|
+
hyphenateLimitChars: {
|
|
1643
|
+
unitGroups: ["number"],
|
|
1644
|
+
inherited: true,
|
|
1645
|
+
initial: {
|
|
1646
|
+
type: "keyword",
|
|
1647
|
+
value: "auto"
|
|
1648
|
+
},
|
|
1649
|
+
popularity: 0,
|
|
1650
|
+
appliesTo: "allElements"
|
|
1651
|
+
},
|
|
1592
1652
|
hyphens: {
|
|
1593
1653
|
unitGroups: [],
|
|
1594
1654
|
inherited: true,
|
|
@@ -2619,6 +2679,16 @@ const properties = {
|
|
|
2619
2679
|
popularity: 0.82360295,
|
|
2620
2680
|
appliesTo: "allElementsExceptInternalTableDisplayTypes"
|
|
2621
2681
|
},
|
|
2682
|
+
page: {
|
|
2683
|
+
unitGroups: [],
|
|
2684
|
+
inherited: false,
|
|
2685
|
+
initial: {
|
|
2686
|
+
type: "keyword",
|
|
2687
|
+
value: "auto"
|
|
2688
|
+
},
|
|
2689
|
+
popularity: 131264e-8,
|
|
2690
|
+
appliesTo: "blockElementsInNormalFlow"
|
|
2691
|
+
},
|
|
2622
2692
|
pageBreakAfter: {
|
|
2623
2693
|
unitGroups: [],
|
|
2624
2694
|
inherited: false,
|
|
@@ -2710,6 +2780,16 @@ const properties = {
|
|
|
2710
2780
|
popularity: 0.92435004,
|
|
2711
2781
|
appliesTo: "allElements"
|
|
2712
2782
|
},
|
|
2783
|
+
printColorAdjust: {
|
|
2784
|
+
unitGroups: [],
|
|
2785
|
+
inherited: true,
|
|
2786
|
+
initial: {
|
|
2787
|
+
type: "keyword",
|
|
2788
|
+
value: "economy"
|
|
2789
|
+
},
|
|
2790
|
+
popularity: 0,
|
|
2791
|
+
appliesTo: "allElements"
|
|
2792
|
+
},
|
|
2713
2793
|
quotes: {
|
|
2714
2794
|
unitGroups: [],
|
|
2715
2795
|
inherited: true,
|
|
@@ -3500,6 +3580,16 @@ const properties = {
|
|
|
3500
3580
|
popularity: 0.84531302,
|
|
3501
3581
|
appliesTo: "inlineLevelAndTableCellElements"
|
|
3502
3582
|
},
|
|
3583
|
+
viewTransitionName: {
|
|
3584
|
+
unitGroups: [],
|
|
3585
|
+
inherited: false,
|
|
3586
|
+
initial: {
|
|
3587
|
+
type: "keyword",
|
|
3588
|
+
value: "none"
|
|
3589
|
+
},
|
|
3590
|
+
popularity: 0,
|
|
3591
|
+
appliesTo: "allElements"
|
|
3592
|
+
},
|
|
3503
3593
|
visibility: {
|
|
3504
3594
|
unitGroups: [],
|
|
3505
3595
|
inherited: true,
|
|
@@ -22,6 +22,21 @@ __export(keyword_values_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(keyword_values_exports);
|
|
24
24
|
const keywordValues = {
|
|
25
|
+
WebkitFontSmoothing: ["auto", "none", "antialiased", "subpixel-antialiased"],
|
|
26
|
+
MozOsxFontSmoothing: ["auto", "grayscale"],
|
|
27
|
+
listStyleType: [
|
|
28
|
+
"disc",
|
|
29
|
+
"circle",
|
|
30
|
+
"square",
|
|
31
|
+
"decimal",
|
|
32
|
+
"georgian",
|
|
33
|
+
"trad-chinese-informal",
|
|
34
|
+
"kannada",
|
|
35
|
+
"none",
|
|
36
|
+
"initial",
|
|
37
|
+
"inherit",
|
|
38
|
+
"unset"
|
|
39
|
+
],
|
|
25
40
|
accentColor: [
|
|
26
41
|
"auto",
|
|
27
42
|
"transparent",
|
|
@@ -2897,7 +2912,6 @@ const keywordValues = {
|
|
|
2897
2912
|
"inherit",
|
|
2898
2913
|
"unset"
|
|
2899
2914
|
],
|
|
2900
|
-
printColorAdjust: ["economy", "exact", "initial", "inherit", "unset"],
|
|
2901
2915
|
colorScheme: [
|
|
2902
2916
|
"normal",
|
|
2903
2917
|
"light",
|
|
@@ -3100,6 +3114,15 @@ const keywordValues = {
|
|
|
3100
3114
|
containIntrinsicHeight: ["none", "auto", "initial", "inherit", "unset"],
|
|
3101
3115
|
containIntrinsicInlineSize: ["none", "auto", "initial", "inherit", "unset"],
|
|
3102
3116
|
containIntrinsicWidth: ["none", "auto", "initial", "inherit", "unset"],
|
|
3117
|
+
containerName: ["none", "initial", "inherit", "unset"],
|
|
3118
|
+
containerType: [
|
|
3119
|
+
"normal",
|
|
3120
|
+
"size",
|
|
3121
|
+
"inline-size",
|
|
3122
|
+
"initial",
|
|
3123
|
+
"inherit",
|
|
3124
|
+
"unset"
|
|
3125
|
+
],
|
|
3103
3126
|
content: [
|
|
3104
3127
|
"normal",
|
|
3105
3128
|
"none",
|
|
@@ -3247,6 +3270,7 @@ const keywordValues = {
|
|
|
3247
3270
|
fontKerning: ["auto", "normal", "none", "initial", "inherit", "unset"],
|
|
3248
3271
|
fontLanguageOverride: ["normal", "initial", "inherit", "unset"],
|
|
3249
3272
|
fontOpticalSizing: ["auto", "none", "initial", "inherit", "unset"],
|
|
3273
|
+
fontPalette: ["normal", "light", "dark", "initial", "inherit", "unset"],
|
|
3250
3274
|
fontVariationSettings: ["normal", "initial", "inherit", "unset"],
|
|
3251
3275
|
fontSize: [
|
|
3252
3276
|
"xx-small",
|
|
@@ -3372,6 +3396,15 @@ const keywordValues = {
|
|
|
3372
3396
|
"inherit",
|
|
3373
3397
|
"unset"
|
|
3374
3398
|
],
|
|
3399
|
+
fontVariantEmoji: [
|
|
3400
|
+
"normal",
|
|
3401
|
+
"text",
|
|
3402
|
+
"emoji",
|
|
3403
|
+
"unicode",
|
|
3404
|
+
"initial",
|
|
3405
|
+
"inherit",
|
|
3406
|
+
"unset"
|
|
3407
|
+
],
|
|
3375
3408
|
fontVariantLigatures: [
|
|
3376
3409
|
"normal",
|
|
3377
3410
|
"none",
|
|
@@ -3481,6 +3514,7 @@ const keywordValues = {
|
|
|
3481
3514
|
"unset"
|
|
3482
3515
|
],
|
|
3483
3516
|
hyphenateCharacter: ["auto", "initial", "inherit", "unset"],
|
|
3517
|
+
hyphenateLimitChars: ["auto", "initial", "inherit", "unset"],
|
|
3484
3518
|
hyphens: ["none", "manual", "auto", "initial", "inherit", "unset"],
|
|
3485
3519
|
imageOrientation: ["from-image", "flip", "initial", "inherit", "unset"],
|
|
3486
3520
|
imageRendering: [
|
|
@@ -3616,7 +3650,6 @@ const keywordValues = {
|
|
|
3616
3650
|
lineHeightStep: ["initial", "inherit", "unset"],
|
|
3617
3651
|
listStyleImage: ["none", "initial", "inherit", "unset"],
|
|
3618
3652
|
listStylePosition: ["inside", "outside", "initial", "inherit", "unset"],
|
|
3619
|
-
listStyleType: ["none", "initial", "inherit", "unset"],
|
|
3620
3653
|
marginBlockEnd: ["auto", "initial", "inherit", "unset"],
|
|
3621
3654
|
marginBlockStart: ["auto", "initial", "inherit", "unset"],
|
|
3622
3655
|
marginBottom: ["auto", "initial", "inherit", "unset"],
|
|
@@ -4162,6 +4195,7 @@ const keywordValues = {
|
|
|
4162
4195
|
paddingLeft: ["initial", "inherit", "unset"],
|
|
4163
4196
|
paddingRight: ["initial", "inherit", "unset"],
|
|
4164
4197
|
paddingTop: ["initial", "inherit", "unset"],
|
|
4198
|
+
page: ["auto", "initial", "inherit", "unset"],
|
|
4165
4199
|
pageBreakAfter: [
|
|
4166
4200
|
"auto",
|
|
4167
4201
|
"always",
|
|
@@ -4232,6 +4266,7 @@ const keywordValues = {
|
|
|
4232
4266
|
"inherit",
|
|
4233
4267
|
"unset"
|
|
4234
4268
|
],
|
|
4269
|
+
printColorAdjust: ["economy", "exact", "initial", "inherit", "unset"],
|
|
4235
4270
|
quotes: ["none", "auto", "initial", "inherit", "unset"],
|
|
4236
4271
|
resize: [
|
|
4237
4272
|
"none",
|
|
@@ -5184,6 +5219,7 @@ const keywordValues = {
|
|
|
5184
5219
|
"inherit",
|
|
5185
5220
|
"unset"
|
|
5186
5221
|
],
|
|
5222
|
+
viewTransitionName: ["none", "initial", "inherit", "unset"],
|
|
5187
5223
|
visibility: ["visible", "hidden", "collapse", "initial", "inherit", "unset"],
|
|
5188
5224
|
whiteSpace: [
|
|
5189
5225
|
"normal",
|
|
@@ -22,6 +22,26 @@ __export(properties_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(properties_exports);
|
|
24
24
|
const properties = {
|
|
25
|
+
WebkitFontSmoothing: {
|
|
26
|
+
unitGroups: [],
|
|
27
|
+
inherited: true,
|
|
28
|
+
initial: {
|
|
29
|
+
type: "keyword",
|
|
30
|
+
value: "auto"
|
|
31
|
+
},
|
|
32
|
+
popularity: 0.61281794,
|
|
33
|
+
appliesTo: "allElements"
|
|
34
|
+
},
|
|
35
|
+
MozOsxFontSmoothing: {
|
|
36
|
+
unitGroups: [],
|
|
37
|
+
inherited: true,
|
|
38
|
+
initial: {
|
|
39
|
+
type: "keyword",
|
|
40
|
+
value: "auto"
|
|
41
|
+
},
|
|
42
|
+
popularity: 0,
|
|
43
|
+
appliesTo: "allElements"
|
|
44
|
+
},
|
|
25
45
|
accentColor: {
|
|
26
46
|
unitGroups: [],
|
|
27
47
|
inherited: true,
|
|
@@ -960,16 +980,6 @@ const properties = {
|
|
|
960
980
|
popularity: 0.90791486,
|
|
961
981
|
appliesTo: "allElementsAndText"
|
|
962
982
|
},
|
|
963
|
-
printColorAdjust: {
|
|
964
|
-
unitGroups: [],
|
|
965
|
-
inherited: true,
|
|
966
|
-
initial: {
|
|
967
|
-
type: "keyword",
|
|
968
|
-
value: "economy"
|
|
969
|
-
},
|
|
970
|
-
popularity: 0,
|
|
971
|
-
appliesTo: "allElements"
|
|
972
|
-
},
|
|
973
983
|
colorScheme: {
|
|
974
984
|
unitGroups: [],
|
|
975
985
|
inherited: true,
|
|
@@ -1111,6 +1121,26 @@ const properties = {
|
|
|
1111
1121
|
popularity: 0,
|
|
1112
1122
|
appliesTo: "elementsForWhichSizeContainmentCanApply"
|
|
1113
1123
|
},
|
|
1124
|
+
containerName: {
|
|
1125
|
+
unitGroups: [],
|
|
1126
|
+
inherited: false,
|
|
1127
|
+
initial: {
|
|
1128
|
+
type: "keyword",
|
|
1129
|
+
value: "none"
|
|
1130
|
+
},
|
|
1131
|
+
popularity: 0,
|
|
1132
|
+
appliesTo: "allElements"
|
|
1133
|
+
},
|
|
1134
|
+
containerType: {
|
|
1135
|
+
unitGroups: [],
|
|
1136
|
+
inherited: false,
|
|
1137
|
+
initial: {
|
|
1138
|
+
type: "keyword",
|
|
1139
|
+
value: "normal"
|
|
1140
|
+
},
|
|
1141
|
+
popularity: 0,
|
|
1142
|
+
appliesTo: "allElements"
|
|
1143
|
+
},
|
|
1114
1144
|
content: {
|
|
1115
1145
|
unitGroups: [],
|
|
1116
1146
|
inherited: false,
|
|
@@ -1129,7 +1159,7 @@ const properties = {
|
|
|
1129
1159
|
value: "visible"
|
|
1130
1160
|
},
|
|
1131
1161
|
popularity: 0.04199404,
|
|
1132
|
-
appliesTo: "
|
|
1162
|
+
appliesTo: "elementsForWhichSizeContainmentCanApply"
|
|
1133
1163
|
},
|
|
1134
1164
|
counterIncrement: {
|
|
1135
1165
|
unitGroups: ["number"],
|
|
@@ -1323,6 +1353,16 @@ const properties = {
|
|
|
1323
1353
|
popularity: 6232e-7,
|
|
1324
1354
|
appliesTo: "allElements"
|
|
1325
1355
|
},
|
|
1356
|
+
fontPalette: {
|
|
1357
|
+
unitGroups: [],
|
|
1358
|
+
inherited: true,
|
|
1359
|
+
initial: {
|
|
1360
|
+
type: "keyword",
|
|
1361
|
+
value: "normal"
|
|
1362
|
+
},
|
|
1363
|
+
popularity: 0,
|
|
1364
|
+
appliesTo: "allElementsAndText"
|
|
1365
|
+
},
|
|
1326
1366
|
fontVariationSettings: {
|
|
1327
1367
|
unitGroups: ["number"],
|
|
1328
1368
|
inherited: true,
|
|
@@ -1432,6 +1472,16 @@ const properties = {
|
|
|
1432
1472
|
popularity: 328361e-8,
|
|
1433
1473
|
appliesTo: "allElements"
|
|
1434
1474
|
},
|
|
1475
|
+
fontVariantEmoji: {
|
|
1476
|
+
unitGroups: [],
|
|
1477
|
+
inherited: true,
|
|
1478
|
+
initial: {
|
|
1479
|
+
type: "keyword",
|
|
1480
|
+
value: "normal"
|
|
1481
|
+
},
|
|
1482
|
+
popularity: 0,
|
|
1483
|
+
appliesTo: "allElementsAndText"
|
|
1484
|
+
},
|
|
1435
1485
|
fontVariantLigatures: {
|
|
1436
1486
|
unitGroups: [],
|
|
1437
1487
|
inherited: true,
|
|
@@ -1612,6 +1662,16 @@ const properties = {
|
|
|
1612
1662
|
popularity: 0,
|
|
1613
1663
|
appliesTo: "allElements"
|
|
1614
1664
|
},
|
|
1665
|
+
hyphenateLimitChars: {
|
|
1666
|
+
unitGroups: ["number"],
|
|
1667
|
+
inherited: true,
|
|
1668
|
+
initial: {
|
|
1669
|
+
type: "keyword",
|
|
1670
|
+
value: "auto"
|
|
1671
|
+
},
|
|
1672
|
+
popularity: 0,
|
|
1673
|
+
appliesTo: "allElements"
|
|
1674
|
+
},
|
|
1615
1675
|
hyphens: {
|
|
1616
1676
|
unitGroups: [],
|
|
1617
1677
|
inherited: true,
|
|
@@ -2642,6 +2702,16 @@ const properties = {
|
|
|
2642
2702
|
popularity: 0.82360295,
|
|
2643
2703
|
appliesTo: "allElementsExceptInternalTableDisplayTypes"
|
|
2644
2704
|
},
|
|
2705
|
+
page: {
|
|
2706
|
+
unitGroups: [],
|
|
2707
|
+
inherited: false,
|
|
2708
|
+
initial: {
|
|
2709
|
+
type: "keyword",
|
|
2710
|
+
value: "auto"
|
|
2711
|
+
},
|
|
2712
|
+
popularity: 131264e-8,
|
|
2713
|
+
appliesTo: "blockElementsInNormalFlow"
|
|
2714
|
+
},
|
|
2645
2715
|
pageBreakAfter: {
|
|
2646
2716
|
unitGroups: [],
|
|
2647
2717
|
inherited: false,
|
|
@@ -2733,6 +2803,16 @@ const properties = {
|
|
|
2733
2803
|
popularity: 0.92435004,
|
|
2734
2804
|
appliesTo: "allElements"
|
|
2735
2805
|
},
|
|
2806
|
+
printColorAdjust: {
|
|
2807
|
+
unitGroups: [],
|
|
2808
|
+
inherited: true,
|
|
2809
|
+
initial: {
|
|
2810
|
+
type: "keyword",
|
|
2811
|
+
value: "economy"
|
|
2812
|
+
},
|
|
2813
|
+
popularity: 0,
|
|
2814
|
+
appliesTo: "allElements"
|
|
2815
|
+
},
|
|
2736
2816
|
quotes: {
|
|
2737
2817
|
unitGroups: [],
|
|
2738
2818
|
inherited: true,
|
|
@@ -3523,6 +3603,16 @@ const properties = {
|
|
|
3523
3603
|
popularity: 0.84531302,
|
|
3524
3604
|
appliesTo: "inlineLevelAndTableCellElements"
|
|
3525
3605
|
},
|
|
3606
|
+
viewTransitionName: {
|
|
3607
|
+
unitGroups: [],
|
|
3608
|
+
inherited: false,
|
|
3609
|
+
initial: {
|
|
3610
|
+
type: "keyword",
|
|
3611
|
+
value: "none"
|
|
3612
|
+
},
|
|
3613
|
+
popularity: 0,
|
|
3614
|
+
appliesTo: "allElements"
|
|
3615
|
+
},
|
|
3526
3616
|
visibility: {
|
|
3527
3617
|
unitGroups: [],
|
|
3528
3618
|
inherited: true,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var custom_data_exports = {};
|
|
20
|
+
__export(custom_data_exports, {
|
|
21
|
+
keywordValues: () => keywordValues,
|
|
22
|
+
propertiesData: () => propertiesData
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(custom_data_exports);
|
|
25
|
+
var import_popularity_index = require("./popularity-index");
|
|
26
|
+
const propertiesData = {};
|
|
27
|
+
const keywordValues = {};
|
|
28
|
+
const getPopularityIndex = (property) => import_popularity_index.popularityIndex.find((data) => data.property === property)?.dayPercentage ?? 0;
|
|
29
|
+
propertiesData.WebkitFontSmoothing = {
|
|
30
|
+
unitGroups: [],
|
|
31
|
+
inherited: true,
|
|
32
|
+
initial: {
|
|
33
|
+
type: "keyword",
|
|
34
|
+
value: "auto"
|
|
35
|
+
},
|
|
36
|
+
popularity: getPopularityIndex("webkit-font-smoothing"),
|
|
37
|
+
appliesTo: "allElements"
|
|
38
|
+
};
|
|
39
|
+
keywordValues.WebkitFontSmoothing = [
|
|
40
|
+
"auto",
|
|
41
|
+
"none",
|
|
42
|
+
"antialiased",
|
|
43
|
+
"subpixel-antialiased"
|
|
44
|
+
];
|
|
45
|
+
propertiesData.MozOsxFontSmoothing = {
|
|
46
|
+
unitGroups: [],
|
|
47
|
+
inherited: true,
|
|
48
|
+
initial: {
|
|
49
|
+
type: "keyword",
|
|
50
|
+
value: "auto"
|
|
51
|
+
},
|
|
52
|
+
popularity: getPopularityIndex("moz-osx-font-smoothing"),
|
|
53
|
+
appliesTo: "allElements"
|
|
54
|
+
};
|
|
55
|
+
keywordValues.MozOsxFontSmoothing = ["auto", "grayscale"];
|
|
56
|
+
keywordValues.listStyleType = [
|
|
57
|
+
"disc",
|
|
58
|
+
"circle",
|
|
59
|
+
"square",
|
|
60
|
+
"decimal",
|
|
61
|
+
"georgian",
|
|
62
|
+
"trad-chinese-informal",
|
|
63
|
+
"kannada"
|
|
64
|
+
];
|
package/lib/cjs/html-check.js
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
12
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
24
|
+
var html = __toESM(require("./html"), 1);
|
|
2
25
|
exportedTags;
|