@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-data",
3
- "version": "0.60.0",
3
+ "version": "0.62.0",
4
4
  "description": "CSS Data",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -9,12 +9,14 @@
9
9
  "@types/css-tree": "^2.0.0",
10
10
  "camelcase": "^6.3.0",
11
11
  "css-tree": "^2.3.1",
12
+ "html-tags": "^3.2.0",
12
13
  "mdn-data": "2.0.30",
13
14
  "tsx": "^3.12.6",
15
+ "type-fest": "^3.7.1",
14
16
  "typescript": "5.0.3",
15
17
  "zod": "^3.19.1",
16
18
  "@webstudio-is/scripts": "^0.0.0",
17
- "@webstudio-is/tsconfig": "^1.0.5"
19
+ "@webstudio-is/tsconfig": "^1.0.6"
18
20
  },
19
21
  "peerDependencies": {
20
22
  "zod": "^3.19.1"
@@ -3836,8 +3836,8 @@ export const keywordValues = {
3836
3836
  "unset",
3837
3837
  ],
3838
3838
  fontWeight: [
3839
- "normal",
3840
- "bold",
3839
+ "400",
3840
+ "700",
3841
3841
  "bolder",
3842
3842
  "lighter",
3843
3843
  "initial",
@@ -257,8 +257,19 @@ export const properties = {
257
257
  unitGroups: ["length", "percentage"],
258
258
  inherited: false,
259
259
  initial: {
260
- type: "keyword",
261
- value: "0% 0%",
260
+ type: "tuple",
261
+ value: [
262
+ {
263
+ type: "unit",
264
+ unit: "%",
265
+ value: 0,
266
+ },
267
+ {
268
+ type: "unit",
269
+ unit: "%",
270
+ value: 0,
271
+ },
272
+ ],
262
273
  },
263
274
  popularity: 0.76724967,
264
275
  appliesTo: "allElements",
@@ -330,7 +341,7 @@ export const properties = {
330
341
  inherited: false,
331
342
  initial: {
332
343
  type: "keyword",
333
- value: "currentcolor",
344
+ value: "currentColor",
334
345
  },
335
346
  popularity: 0.00012849,
336
347
  appliesTo: "allElements",
@@ -360,7 +371,7 @@ export const properties = {
360
371
  inherited: false,
361
372
  initial: {
362
373
  type: "keyword",
363
- value: "currentcolor",
374
+ value: "currentColor",
364
375
  },
365
376
  popularity: 0.00172099,
366
377
  appliesTo: "allElements",
@@ -390,7 +401,7 @@ export const properties = {
390
401
  inherited: false,
391
402
  initial: {
392
403
  type: "keyword",
393
- value: "currentcolor",
404
+ value: "currentColor",
394
405
  },
395
406
  popularity: 0.00170188,
396
407
  appliesTo: "allElements",
@@ -420,7 +431,7 @@ export const properties = {
420
431
  inherited: false,
421
432
  initial: {
422
433
  type: "keyword",
423
- value: "currentcolor",
434
+ value: "currentColor",
424
435
  },
425
436
  popularity: 0.42283564,
426
437
  appliesTo: "allElements",
@@ -557,7 +568,7 @@ export const properties = {
557
568
  inherited: false,
558
569
  initial: {
559
570
  type: "keyword",
560
- value: "currentcolor",
571
+ value: "currentColor",
561
572
  },
562
573
  popularity: 0.00007844,
563
574
  appliesTo: "allElements",
@@ -587,7 +598,7 @@ export const properties = {
587
598
  inherited: false,
588
599
  initial: {
589
600
  type: "keyword",
590
- value: "currentcolor",
601
+ value: "currentColor",
591
602
  },
592
603
  popularity: 0.00196849,
593
604
  appliesTo: "allElements",
@@ -617,7 +628,7 @@ export const properties = {
617
628
  inherited: false,
618
629
  initial: {
619
630
  type: "keyword",
620
- value: "currentcolor",
631
+ value: "currentColor",
621
632
  },
622
633
  popularity: 0.00196928,
623
634
  appliesTo: "allElements",
@@ -647,7 +658,7 @@ export const properties = {
647
658
  inherited: false,
648
659
  initial: {
649
660
  type: "keyword",
650
- value: "currentcolor",
661
+ value: "currentColor",
651
662
  },
652
663
  popularity: 0.30754028,
653
664
  appliesTo: "allElements",
@@ -677,7 +688,7 @@ export const properties = {
677
688
  inherited: false,
678
689
  initial: {
679
690
  type: "keyword",
680
- value: "currentcolor",
691
+ value: "currentColor",
681
692
  },
682
693
  popularity: 0.29336595,
683
694
  appliesTo: "allElements",
@@ -740,7 +751,7 @@ export const properties = {
740
751
  inherited: false,
741
752
  initial: {
742
753
  type: "keyword",
743
- value: "currentcolor",
754
+ value: "currentColor",
744
755
  },
745
756
  popularity: 0.43342948,
746
757
  appliesTo: "allElements",
@@ -983,7 +994,7 @@ export const properties = {
983
994
  inherited: false,
984
995
  initial: {
985
996
  type: "keyword",
986
- value: "currentcolor",
997
+ value: "currentColor",
987
998
  },
988
999
  popularity: 0.01356616,
989
1000
  appliesTo: "multicolElements",
@@ -1344,8 +1355,17 @@ export const properties = {
1344
1355
  unitGroups: [],
1345
1356
  inherited: true,
1346
1357
  initial: {
1347
- type: "keyword",
1348
- value: "weight style",
1358
+ type: "tuple",
1359
+ value: [
1360
+ {
1361
+ type: "keyword",
1362
+ value: "weight",
1363
+ },
1364
+ {
1365
+ type: "keyword",
1366
+ value: "style",
1367
+ },
1368
+ ],
1349
1369
  },
1350
1370
  popularity: 0.00686166,
1351
1371
  appliesTo: "allElements",
@@ -1425,7 +1445,7 @@ export const properties = {
1425
1445
  inherited: true,
1426
1446
  initial: {
1427
1447
  type: "keyword",
1428
- value: "normal",
1448
+ value: "400",
1429
1449
  },
1430
1450
  popularity: 0.88598106,
1431
1451
  appliesTo: "allElements",
@@ -2239,8 +2259,19 @@ export const properties = {
2239
2259
  unitGroups: ["length", "percentage"],
2240
2260
  inherited: true,
2241
2261
  initial: {
2242
- type: "keyword",
2243
- value: "50% 50%",
2262
+ type: "tuple",
2263
+ value: [
2264
+ {
2265
+ type: "unit",
2266
+ unit: "%",
2267
+ value: 50,
2268
+ },
2269
+ {
2270
+ type: "unit",
2271
+ unit: "%",
2272
+ value: 50,
2273
+ },
2274
+ ],
2244
2275
  },
2245
2276
  popularity: 0.08374319,
2246
2277
  appliesTo: "replacedElements",
@@ -2643,8 +2674,19 @@ export const properties = {
2643
2674
  unitGroups: ["length", "percentage"],
2644
2675
  inherited: false,
2645
2676
  initial: {
2646
- type: "keyword",
2647
- value: "50% 50%",
2677
+ type: "tuple",
2678
+ value: [
2679
+ {
2680
+ type: "unit",
2681
+ unit: "%",
2682
+ value: 50,
2683
+ },
2684
+ {
2685
+ type: "unit",
2686
+ unit: "%",
2687
+ value: 50,
2688
+ },
2689
+ ],
2648
2690
  },
2649
2691
  popularity: 0.03597136,
2650
2692
  appliesTo: "transformableElements",
@@ -3106,7 +3148,7 @@ export const properties = {
3106
3148
  inherited: false,
3107
3149
  initial: {
3108
3150
  type: "keyword",
3109
- value: "currentcolor",
3151
+ value: "currentColor",
3110
3152
  },
3111
3153
  popularity: 0.05079903,
3112
3154
  appliesTo: "allElements",
@@ -3166,7 +3208,7 @@ export const properties = {
3166
3208
  inherited: false,
3167
3209
  initial: {
3168
3210
  type: "keyword",
3169
- value: "currentcolor",
3211
+ value: "currentColor",
3170
3212
  },
3171
3213
  popularity: 0,
3172
3214
  appliesTo: "allElements",
@@ -3175,8 +3217,17 @@ export const properties = {
3175
3217
  unitGroups: [],
3176
3218
  inherited: false,
3177
3219
  initial: {
3178
- type: "keyword",
3179
- value: "over right",
3220
+ type: "tuple",
3221
+ value: [
3222
+ {
3223
+ type: "keyword",
3224
+ value: "over",
3225
+ },
3226
+ {
3227
+ type: "keyword",
3228
+ value: "right",
3229
+ },
3230
+ ],
3180
3231
  },
3181
3232
  popularity: 0,
3182
3233
  appliesTo: "allElements",
@@ -3337,8 +3388,24 @@ export const properties = {
3337
3388
  unitGroups: ["length", "percentage"],
3338
3389
  inherited: false,
3339
3390
  initial: {
3340
- type: "keyword",
3341
- value: "50% 50% 0",
3391
+ type: "tuple",
3392
+ value: [
3393
+ {
3394
+ type: "unit",
3395
+ unit: "%",
3396
+ value: 50,
3397
+ },
3398
+ {
3399
+ type: "unit",
3400
+ unit: "%",
3401
+ value: 50,
3402
+ },
3403
+ {
3404
+ type: "unit",
3405
+ unit: "px",
3406
+ value: 0,
3407
+ },
3408
+ ],
3342
3409
  },
3343
3410
  popularity: 0.54179205,
3344
3411
  appliesTo: "transformableElements",
@@ -0,0 +1,8 @@
1
+ import * as html from "./html";
2
+ import type { htmlTags as HtmlTags } from "html-tags";
3
+
4
+ type ExportedTags = keyof typeof html;
5
+
6
+ declare let exportedTags: ExportedTags;
7
+
8
+ exportedTags satisfies HtmlTags;