@webstudio-is/css-data 0.60.0 → 0.62.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/lib/__generated__/keyword-values.js +2 -2
- package/lib/__generated__/properties.js +93 -26
- package/lib/cjs/__generated__/keyword-values.js +2 -2
- package/lib/cjs/__generated__/properties.js +93 -26
- package/lib/cjs/html-check.js +2 -0
- package/lib/cjs/html.js +521 -0
- package/lib/cjs/index.js +22 -1
- package/lib/html-check.js +1 -0
- package/lib/html.js +501 -0
- package/lib/index.js +8 -1
- package/lib/types/src/__generated__/keyword-values.d.ts +1 -1
- package/lib/types/src/__generated__/properties.d.ts +74 -26
- package/lib/types/src/html-check.d.ts +1 -0
- package/lib/types/src/html.d.ts +53 -0
- package/lib/types/src/index.d.ts +3587 -1
- package/lib/types/src/schema.d.ts +124 -124
- package/package.json +4 -2
- package/src/__generated__/keyword-values.ts +2 -2
- package/src/__generated__/properties.ts +93 -26
- package/src/html-check.ts +8 -0
- package/src/html.ts +545 -0
- package/src/index.ts +12 -1
|
@@ -256,8 +256,19 @@ const properties = {
|
|
|
256
256
|
unitGroups: ["length", "percentage"],
|
|
257
257
|
inherited: false,
|
|
258
258
|
initial: {
|
|
259
|
-
type: "
|
|
260
|
-
value:
|
|
259
|
+
type: "tuple",
|
|
260
|
+
value: [
|
|
261
|
+
{
|
|
262
|
+
type: "unit",
|
|
263
|
+
unit: "%",
|
|
264
|
+
value: 0
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
type: "unit",
|
|
268
|
+
unit: "%",
|
|
269
|
+
value: 0
|
|
270
|
+
}
|
|
271
|
+
]
|
|
261
272
|
},
|
|
262
273
|
popularity: 0.76724967,
|
|
263
274
|
appliesTo: "allElements"
|
|
@@ -329,7 +340,7 @@ const properties = {
|
|
|
329
340
|
inherited: false,
|
|
330
341
|
initial: {
|
|
331
342
|
type: "keyword",
|
|
332
|
-
value: "
|
|
343
|
+
value: "currentColor"
|
|
333
344
|
},
|
|
334
345
|
popularity: 12849e-8,
|
|
335
346
|
appliesTo: "allElements"
|
|
@@ -359,7 +370,7 @@ const properties = {
|
|
|
359
370
|
inherited: false,
|
|
360
371
|
initial: {
|
|
361
372
|
type: "keyword",
|
|
362
|
-
value: "
|
|
373
|
+
value: "currentColor"
|
|
363
374
|
},
|
|
364
375
|
popularity: 172099e-8,
|
|
365
376
|
appliesTo: "allElements"
|
|
@@ -389,7 +400,7 @@ const properties = {
|
|
|
389
400
|
inherited: false,
|
|
390
401
|
initial: {
|
|
391
402
|
type: "keyword",
|
|
392
|
-
value: "
|
|
403
|
+
value: "currentColor"
|
|
393
404
|
},
|
|
394
405
|
popularity: 170188e-8,
|
|
395
406
|
appliesTo: "allElements"
|
|
@@ -419,7 +430,7 @@ const properties = {
|
|
|
419
430
|
inherited: false,
|
|
420
431
|
initial: {
|
|
421
432
|
type: "keyword",
|
|
422
|
-
value: "
|
|
433
|
+
value: "currentColor"
|
|
423
434
|
},
|
|
424
435
|
popularity: 0.42283564,
|
|
425
436
|
appliesTo: "allElements"
|
|
@@ -556,7 +567,7 @@ const properties = {
|
|
|
556
567
|
inherited: false,
|
|
557
568
|
initial: {
|
|
558
569
|
type: "keyword",
|
|
559
|
-
value: "
|
|
570
|
+
value: "currentColor"
|
|
560
571
|
},
|
|
561
572
|
popularity: 7844e-8,
|
|
562
573
|
appliesTo: "allElements"
|
|
@@ -586,7 +597,7 @@ const properties = {
|
|
|
586
597
|
inherited: false,
|
|
587
598
|
initial: {
|
|
588
599
|
type: "keyword",
|
|
589
|
-
value: "
|
|
600
|
+
value: "currentColor"
|
|
590
601
|
},
|
|
591
602
|
popularity: 196849e-8,
|
|
592
603
|
appliesTo: "allElements"
|
|
@@ -616,7 +627,7 @@ const properties = {
|
|
|
616
627
|
inherited: false,
|
|
617
628
|
initial: {
|
|
618
629
|
type: "keyword",
|
|
619
|
-
value: "
|
|
630
|
+
value: "currentColor"
|
|
620
631
|
},
|
|
621
632
|
popularity: 196928e-8,
|
|
622
633
|
appliesTo: "allElements"
|
|
@@ -646,7 +657,7 @@ const properties = {
|
|
|
646
657
|
inherited: false,
|
|
647
658
|
initial: {
|
|
648
659
|
type: "keyword",
|
|
649
|
-
value: "
|
|
660
|
+
value: "currentColor"
|
|
650
661
|
},
|
|
651
662
|
popularity: 0.30754028,
|
|
652
663
|
appliesTo: "allElements"
|
|
@@ -676,7 +687,7 @@ const properties = {
|
|
|
676
687
|
inherited: false,
|
|
677
688
|
initial: {
|
|
678
689
|
type: "keyword",
|
|
679
|
-
value: "
|
|
690
|
+
value: "currentColor"
|
|
680
691
|
},
|
|
681
692
|
popularity: 0.29336595,
|
|
682
693
|
appliesTo: "allElements"
|
|
@@ -739,7 +750,7 @@ const properties = {
|
|
|
739
750
|
inherited: false,
|
|
740
751
|
initial: {
|
|
741
752
|
type: "keyword",
|
|
742
|
-
value: "
|
|
753
|
+
value: "currentColor"
|
|
743
754
|
},
|
|
744
755
|
popularity: 0.43342948,
|
|
745
756
|
appliesTo: "allElements"
|
|
@@ -982,7 +993,7 @@ const properties = {
|
|
|
982
993
|
inherited: false,
|
|
983
994
|
initial: {
|
|
984
995
|
type: "keyword",
|
|
985
|
-
value: "
|
|
996
|
+
value: "currentColor"
|
|
986
997
|
},
|
|
987
998
|
popularity: 0.01356616,
|
|
988
999
|
appliesTo: "multicolElements"
|
|
@@ -1343,8 +1354,17 @@ const properties = {
|
|
|
1343
1354
|
unitGroups: [],
|
|
1344
1355
|
inherited: true,
|
|
1345
1356
|
initial: {
|
|
1346
|
-
type: "
|
|
1347
|
-
value:
|
|
1357
|
+
type: "tuple",
|
|
1358
|
+
value: [
|
|
1359
|
+
{
|
|
1360
|
+
type: "keyword",
|
|
1361
|
+
value: "weight"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
type: "keyword",
|
|
1365
|
+
value: "style"
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1348
1368
|
},
|
|
1349
1369
|
popularity: 686166e-8,
|
|
1350
1370
|
appliesTo: "allElements"
|
|
@@ -1424,7 +1444,7 @@ const properties = {
|
|
|
1424
1444
|
inherited: true,
|
|
1425
1445
|
initial: {
|
|
1426
1446
|
type: "keyword",
|
|
1427
|
-
value: "
|
|
1447
|
+
value: "400"
|
|
1428
1448
|
},
|
|
1429
1449
|
popularity: 0.88598106,
|
|
1430
1450
|
appliesTo: "allElements"
|
|
@@ -2238,8 +2258,19 @@ const properties = {
|
|
|
2238
2258
|
unitGroups: ["length", "percentage"],
|
|
2239
2259
|
inherited: true,
|
|
2240
2260
|
initial: {
|
|
2241
|
-
type: "
|
|
2242
|
-
value:
|
|
2261
|
+
type: "tuple",
|
|
2262
|
+
value: [
|
|
2263
|
+
{
|
|
2264
|
+
type: "unit",
|
|
2265
|
+
unit: "%",
|
|
2266
|
+
value: 50
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
type: "unit",
|
|
2270
|
+
unit: "%",
|
|
2271
|
+
value: 50
|
|
2272
|
+
}
|
|
2273
|
+
]
|
|
2243
2274
|
},
|
|
2244
2275
|
popularity: 0.08374319,
|
|
2245
2276
|
appliesTo: "replacedElements"
|
|
@@ -2642,8 +2673,19 @@ const properties = {
|
|
|
2642
2673
|
unitGroups: ["length", "percentage"],
|
|
2643
2674
|
inherited: false,
|
|
2644
2675
|
initial: {
|
|
2645
|
-
type: "
|
|
2646
|
-
value:
|
|
2676
|
+
type: "tuple",
|
|
2677
|
+
value: [
|
|
2678
|
+
{
|
|
2679
|
+
type: "unit",
|
|
2680
|
+
unit: "%",
|
|
2681
|
+
value: 50
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
type: "unit",
|
|
2685
|
+
unit: "%",
|
|
2686
|
+
value: 50
|
|
2687
|
+
}
|
|
2688
|
+
]
|
|
2647
2689
|
},
|
|
2648
2690
|
popularity: 0.03597136,
|
|
2649
2691
|
appliesTo: "transformableElements"
|
|
@@ -3105,7 +3147,7 @@ const properties = {
|
|
|
3105
3147
|
inherited: false,
|
|
3106
3148
|
initial: {
|
|
3107
3149
|
type: "keyword",
|
|
3108
|
-
value: "
|
|
3150
|
+
value: "currentColor"
|
|
3109
3151
|
},
|
|
3110
3152
|
popularity: 0.05079903,
|
|
3111
3153
|
appliesTo: "allElements"
|
|
@@ -3165,7 +3207,7 @@ const properties = {
|
|
|
3165
3207
|
inherited: false,
|
|
3166
3208
|
initial: {
|
|
3167
3209
|
type: "keyword",
|
|
3168
|
-
value: "
|
|
3210
|
+
value: "currentColor"
|
|
3169
3211
|
},
|
|
3170
3212
|
popularity: 0,
|
|
3171
3213
|
appliesTo: "allElements"
|
|
@@ -3174,8 +3216,17 @@ const properties = {
|
|
|
3174
3216
|
unitGroups: [],
|
|
3175
3217
|
inherited: false,
|
|
3176
3218
|
initial: {
|
|
3177
|
-
type: "
|
|
3178
|
-
value:
|
|
3219
|
+
type: "tuple",
|
|
3220
|
+
value: [
|
|
3221
|
+
{
|
|
3222
|
+
type: "keyword",
|
|
3223
|
+
value: "over"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
type: "keyword",
|
|
3227
|
+
value: "right"
|
|
3228
|
+
}
|
|
3229
|
+
]
|
|
3179
3230
|
},
|
|
3180
3231
|
popularity: 0,
|
|
3181
3232
|
appliesTo: "allElements"
|
|
@@ -3335,8 +3386,24 @@ const properties = {
|
|
|
3335
3386
|
unitGroups: ["length", "percentage"],
|
|
3336
3387
|
inherited: false,
|
|
3337
3388
|
initial: {
|
|
3338
|
-
type: "
|
|
3339
|
-
value:
|
|
3389
|
+
type: "tuple",
|
|
3390
|
+
value: [
|
|
3391
|
+
{
|
|
3392
|
+
type: "unit",
|
|
3393
|
+
unit: "%",
|
|
3394
|
+
value: 50
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
type: "unit",
|
|
3398
|
+
unit: "%",
|
|
3399
|
+
value: 50
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
type: "unit",
|
|
3403
|
+
unit: "px",
|
|
3404
|
+
value: 0
|
|
3405
|
+
}
|
|
3406
|
+
]
|
|
3340
3407
|
},
|
|
3341
3408
|
popularity: 0.54179205,
|
|
3342
3409
|
appliesTo: "transformableElements"
|
|
@@ -279,8 +279,19 @@ const properties = {
|
|
|
279
279
|
unitGroups: ["length", "percentage"],
|
|
280
280
|
inherited: false,
|
|
281
281
|
initial: {
|
|
282
|
-
type: "
|
|
283
|
-
value:
|
|
282
|
+
type: "tuple",
|
|
283
|
+
value: [
|
|
284
|
+
{
|
|
285
|
+
type: "unit",
|
|
286
|
+
unit: "%",
|
|
287
|
+
value: 0
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
type: "unit",
|
|
291
|
+
unit: "%",
|
|
292
|
+
value: 0
|
|
293
|
+
}
|
|
294
|
+
]
|
|
284
295
|
},
|
|
285
296
|
popularity: 0.76724967,
|
|
286
297
|
appliesTo: "allElements"
|
|
@@ -352,7 +363,7 @@ const properties = {
|
|
|
352
363
|
inherited: false,
|
|
353
364
|
initial: {
|
|
354
365
|
type: "keyword",
|
|
355
|
-
value: "
|
|
366
|
+
value: "currentColor"
|
|
356
367
|
},
|
|
357
368
|
popularity: 12849e-8,
|
|
358
369
|
appliesTo: "allElements"
|
|
@@ -382,7 +393,7 @@ const properties = {
|
|
|
382
393
|
inherited: false,
|
|
383
394
|
initial: {
|
|
384
395
|
type: "keyword",
|
|
385
|
-
value: "
|
|
396
|
+
value: "currentColor"
|
|
386
397
|
},
|
|
387
398
|
popularity: 172099e-8,
|
|
388
399
|
appliesTo: "allElements"
|
|
@@ -412,7 +423,7 @@ const properties = {
|
|
|
412
423
|
inherited: false,
|
|
413
424
|
initial: {
|
|
414
425
|
type: "keyword",
|
|
415
|
-
value: "
|
|
426
|
+
value: "currentColor"
|
|
416
427
|
},
|
|
417
428
|
popularity: 170188e-8,
|
|
418
429
|
appliesTo: "allElements"
|
|
@@ -442,7 +453,7 @@ const properties = {
|
|
|
442
453
|
inherited: false,
|
|
443
454
|
initial: {
|
|
444
455
|
type: "keyword",
|
|
445
|
-
value: "
|
|
456
|
+
value: "currentColor"
|
|
446
457
|
},
|
|
447
458
|
popularity: 0.42283564,
|
|
448
459
|
appliesTo: "allElements"
|
|
@@ -579,7 +590,7 @@ const properties = {
|
|
|
579
590
|
inherited: false,
|
|
580
591
|
initial: {
|
|
581
592
|
type: "keyword",
|
|
582
|
-
value: "
|
|
593
|
+
value: "currentColor"
|
|
583
594
|
},
|
|
584
595
|
popularity: 7844e-8,
|
|
585
596
|
appliesTo: "allElements"
|
|
@@ -609,7 +620,7 @@ const properties = {
|
|
|
609
620
|
inherited: false,
|
|
610
621
|
initial: {
|
|
611
622
|
type: "keyword",
|
|
612
|
-
value: "
|
|
623
|
+
value: "currentColor"
|
|
613
624
|
},
|
|
614
625
|
popularity: 196849e-8,
|
|
615
626
|
appliesTo: "allElements"
|
|
@@ -639,7 +650,7 @@ const properties = {
|
|
|
639
650
|
inherited: false,
|
|
640
651
|
initial: {
|
|
641
652
|
type: "keyword",
|
|
642
|
-
value: "
|
|
653
|
+
value: "currentColor"
|
|
643
654
|
},
|
|
644
655
|
popularity: 196928e-8,
|
|
645
656
|
appliesTo: "allElements"
|
|
@@ -669,7 +680,7 @@ const properties = {
|
|
|
669
680
|
inherited: false,
|
|
670
681
|
initial: {
|
|
671
682
|
type: "keyword",
|
|
672
|
-
value: "
|
|
683
|
+
value: "currentColor"
|
|
673
684
|
},
|
|
674
685
|
popularity: 0.30754028,
|
|
675
686
|
appliesTo: "allElements"
|
|
@@ -699,7 +710,7 @@ const properties = {
|
|
|
699
710
|
inherited: false,
|
|
700
711
|
initial: {
|
|
701
712
|
type: "keyword",
|
|
702
|
-
value: "
|
|
713
|
+
value: "currentColor"
|
|
703
714
|
},
|
|
704
715
|
popularity: 0.29336595,
|
|
705
716
|
appliesTo: "allElements"
|
|
@@ -762,7 +773,7 @@ const properties = {
|
|
|
762
773
|
inherited: false,
|
|
763
774
|
initial: {
|
|
764
775
|
type: "keyword",
|
|
765
|
-
value: "
|
|
776
|
+
value: "currentColor"
|
|
766
777
|
},
|
|
767
778
|
popularity: 0.43342948,
|
|
768
779
|
appliesTo: "allElements"
|
|
@@ -1005,7 +1016,7 @@ const properties = {
|
|
|
1005
1016
|
inherited: false,
|
|
1006
1017
|
initial: {
|
|
1007
1018
|
type: "keyword",
|
|
1008
|
-
value: "
|
|
1019
|
+
value: "currentColor"
|
|
1009
1020
|
},
|
|
1010
1021
|
popularity: 0.01356616,
|
|
1011
1022
|
appliesTo: "multicolElements"
|
|
@@ -1366,8 +1377,17 @@ const properties = {
|
|
|
1366
1377
|
unitGroups: [],
|
|
1367
1378
|
inherited: true,
|
|
1368
1379
|
initial: {
|
|
1369
|
-
type: "
|
|
1370
|
-
value:
|
|
1380
|
+
type: "tuple",
|
|
1381
|
+
value: [
|
|
1382
|
+
{
|
|
1383
|
+
type: "keyword",
|
|
1384
|
+
value: "weight"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
type: "keyword",
|
|
1388
|
+
value: "style"
|
|
1389
|
+
}
|
|
1390
|
+
]
|
|
1371
1391
|
},
|
|
1372
1392
|
popularity: 686166e-8,
|
|
1373
1393
|
appliesTo: "allElements"
|
|
@@ -1447,7 +1467,7 @@ const properties = {
|
|
|
1447
1467
|
inherited: true,
|
|
1448
1468
|
initial: {
|
|
1449
1469
|
type: "keyword",
|
|
1450
|
-
value: "
|
|
1470
|
+
value: "400"
|
|
1451
1471
|
},
|
|
1452
1472
|
popularity: 0.88598106,
|
|
1453
1473
|
appliesTo: "allElements"
|
|
@@ -2261,8 +2281,19 @@ const properties = {
|
|
|
2261
2281
|
unitGroups: ["length", "percentage"],
|
|
2262
2282
|
inherited: true,
|
|
2263
2283
|
initial: {
|
|
2264
|
-
type: "
|
|
2265
|
-
value:
|
|
2284
|
+
type: "tuple",
|
|
2285
|
+
value: [
|
|
2286
|
+
{
|
|
2287
|
+
type: "unit",
|
|
2288
|
+
unit: "%",
|
|
2289
|
+
value: 50
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
type: "unit",
|
|
2293
|
+
unit: "%",
|
|
2294
|
+
value: 50
|
|
2295
|
+
}
|
|
2296
|
+
]
|
|
2266
2297
|
},
|
|
2267
2298
|
popularity: 0.08374319,
|
|
2268
2299
|
appliesTo: "replacedElements"
|
|
@@ -2665,8 +2696,19 @@ const properties = {
|
|
|
2665
2696
|
unitGroups: ["length", "percentage"],
|
|
2666
2697
|
inherited: false,
|
|
2667
2698
|
initial: {
|
|
2668
|
-
type: "
|
|
2669
|
-
value:
|
|
2699
|
+
type: "tuple",
|
|
2700
|
+
value: [
|
|
2701
|
+
{
|
|
2702
|
+
type: "unit",
|
|
2703
|
+
unit: "%",
|
|
2704
|
+
value: 50
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
type: "unit",
|
|
2708
|
+
unit: "%",
|
|
2709
|
+
value: 50
|
|
2710
|
+
}
|
|
2711
|
+
]
|
|
2670
2712
|
},
|
|
2671
2713
|
popularity: 0.03597136,
|
|
2672
2714
|
appliesTo: "transformableElements"
|
|
@@ -3128,7 +3170,7 @@ const properties = {
|
|
|
3128
3170
|
inherited: false,
|
|
3129
3171
|
initial: {
|
|
3130
3172
|
type: "keyword",
|
|
3131
|
-
value: "
|
|
3173
|
+
value: "currentColor"
|
|
3132
3174
|
},
|
|
3133
3175
|
popularity: 0.05079903,
|
|
3134
3176
|
appliesTo: "allElements"
|
|
@@ -3188,7 +3230,7 @@ const properties = {
|
|
|
3188
3230
|
inherited: false,
|
|
3189
3231
|
initial: {
|
|
3190
3232
|
type: "keyword",
|
|
3191
|
-
value: "
|
|
3233
|
+
value: "currentColor"
|
|
3192
3234
|
},
|
|
3193
3235
|
popularity: 0,
|
|
3194
3236
|
appliesTo: "allElements"
|
|
@@ -3197,8 +3239,17 @@ const properties = {
|
|
|
3197
3239
|
unitGroups: [],
|
|
3198
3240
|
inherited: false,
|
|
3199
3241
|
initial: {
|
|
3200
|
-
type: "
|
|
3201
|
-
value:
|
|
3242
|
+
type: "tuple",
|
|
3243
|
+
value: [
|
|
3244
|
+
{
|
|
3245
|
+
type: "keyword",
|
|
3246
|
+
value: "over"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
type: "keyword",
|
|
3250
|
+
value: "right"
|
|
3251
|
+
}
|
|
3252
|
+
]
|
|
3202
3253
|
},
|
|
3203
3254
|
popularity: 0,
|
|
3204
3255
|
appliesTo: "allElements"
|
|
@@ -3358,8 +3409,24 @@ const properties = {
|
|
|
3358
3409
|
unitGroups: ["length", "percentage"],
|
|
3359
3410
|
inherited: false,
|
|
3360
3411
|
initial: {
|
|
3361
|
-
type: "
|
|
3362
|
-
value:
|
|
3412
|
+
type: "tuple",
|
|
3413
|
+
value: [
|
|
3414
|
+
{
|
|
3415
|
+
type: "unit",
|
|
3416
|
+
unit: "%",
|
|
3417
|
+
value: 50
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
type: "unit",
|
|
3421
|
+
unit: "%",
|
|
3422
|
+
value: 50
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
type: "unit",
|
|
3426
|
+
unit: "px",
|
|
3427
|
+
value: 0
|
|
3428
|
+
}
|
|
3429
|
+
]
|
|
3363
3430
|
},
|
|
3364
3431
|
popularity: 0.54179205,
|
|
3365
3432
|
appliesTo: "transformableElements"
|