@webstudio-is/css-data 0.64.0 → 0.66.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.
@@ -3835,8 +3835,8 @@ const keywordValues = {
3835
3835
  "unset"
3836
3836
  ],
3837
3837
  fontWeight: [
3838
- "400",
3839
- "700",
3838
+ "normal",
3839
+ "bold",
3840
3840
  "bolder",
3841
3841
  "lighter",
3842
3842
  "initial",
@@ -1444,7 +1444,7 @@ const properties = {
1444
1444
  inherited: true,
1445
1445
  initial: {
1446
1446
  type: "keyword",
1447
- value: "400"
1447
+ value: "normal"
1448
1448
  },
1449
1449
  popularity: 0.88598106,
1450
1450
  appliesTo: "allElements"
@@ -2364,7 +2364,7 @@ const properties = {
2364
2364
  inherited: false,
2365
2365
  initial: {
2366
2366
  type: "keyword",
2367
- value: "invertOrCurrentColor"
2367
+ value: "currentColor"
2368
2368
  },
2369
2369
  popularity: 0.09538741,
2370
2370
  appliesTo: "allElements"
@@ -3858,8 +3858,8 @@ const keywordValues = {
3858
3858
  "unset"
3859
3859
  ],
3860
3860
  fontWeight: [
3861
- "400",
3862
- "700",
3861
+ "normal",
3862
+ "bold",
3863
3863
  "bolder",
3864
3864
  "lighter",
3865
3865
  "initial",
@@ -1467,7 +1467,7 @@ const properties = {
1467
1467
  inherited: true,
1468
1468
  initial: {
1469
1469
  type: "keyword",
1470
- value: "400"
1470
+ value: "normal"
1471
1471
  },
1472
1472
  popularity: 0.88598106,
1473
1473
  appliesTo: "allElements"
@@ -2387,7 +2387,7 @@ const properties = {
2387
2387
  inherited: false,
2388
2388
  initial: {
2389
2389
  type: "keyword",
2390
- value: "invertOrCurrentColor"
2390
+ value: "currentColor"
2391
2391
  },
2392
2392
  popularity: 0.09538741,
2393
2393
  appliesTo: "allElements"
package/lib/cjs/html.js CHANGED
@@ -107,9 +107,7 @@ const pl40px = {
107
107
  };
108
108
  const fontWeightBold = {
109
109
  property: "fontWeight",
110
- // in browsers defined as bold
111
- // though builder accepts only numeric values
112
- value: { type: "keyword", value: "700" }
110
+ value: { type: "keyword", value: "bold" }
113
111
  };
114
112
  const fontStyleItalic = {
115
113
  property: "fontStyle",
package/lib/html.js CHANGED
@@ -24,9 +24,7 @@ const pl40px = {
24
24
  };
25
25
  const fontWeightBold = {
26
26
  property: "fontWeight",
27
- // in browsers defined as bold
28
- // though builder accepts only numeric values
29
- value: { type: "keyword", value: "700" }
27
+ value: { type: "keyword", value: "bold" }
30
28
  };
31
29
  const fontStyleItalic = {
32
30
  property: "fontStyle",
@@ -139,7 +139,7 @@ export declare const keywordValues: {
139
139
  readonly fontVariantLigatures: readonly ["normal", "none", "common-ligatures", "no-common-ligatures", "discretionary-ligatures", "no-discretionary-ligatures", "historical-ligatures", "no-historical-ligatures", "contextual", "no-contextual", "initial", "inherit", "unset"];
140
140
  readonly fontVariantNumeric: readonly ["normal", "lining-nums", "oldstyle-nums", "proportional-nums", "tabular-nums", "diagonal-fractions", "stacked-fractions", "ordinal", "slashed-zero", "initial", "inherit", "unset"];
141
141
  readonly fontVariantPosition: readonly ["normal", "sub", "super", "initial", "inherit", "unset"];
142
- readonly fontWeight: readonly ["400", "700", "bolder", "lighter", "initial", "inherit", "unset"];
142
+ readonly fontWeight: readonly ["normal", "bold", "bolder", "lighter", "initial", "inherit", "unset"];
143
143
  readonly forcedColorAdjust: readonly ["auto", "none", "initial", "inherit", "unset"];
144
144
  readonly gridAutoColumns: readonly ["min-content", "max-content", "auto", "initial", "inherit", "unset"];
145
145
  readonly gridAutoFlow: readonly ["row", "column", "dense", "initial", "inherit", "unset"];
@@ -1438,7 +1438,7 @@ export declare const properties: {
1438
1438
  readonly inherited: true;
1439
1439
  readonly initial: {
1440
1440
  readonly type: "keyword";
1441
- readonly value: "400";
1441
+ readonly value: "normal";
1442
1442
  };
1443
1443
  readonly popularity: 0.88598106;
1444
1444
  readonly appliesTo: "allElements";
@@ -2355,7 +2355,7 @@ export declare const properties: {
2355
2355
  readonly inherited: false;
2356
2356
  readonly initial: {
2357
2357
  readonly type: "keyword";
2358
- readonly value: "invertOrCurrentColor";
2358
+ readonly value: "currentColor";
2359
2359
  };
2360
2360
  readonly popularity: 0.09538741;
2361
2361
  readonly appliesTo: "allElements";
@@ -1443,7 +1443,7 @@ export declare const properties: import("type-fest/source/writable-deep").Writab
1443
1443
  readonly inherited: true;
1444
1444
  readonly initial: {
1445
1445
  readonly type: "keyword";
1446
- readonly value: "400";
1446
+ readonly value: "normal";
1447
1447
  };
1448
1448
  readonly popularity: 0.88598106;
1449
1449
  readonly appliesTo: "allElements";
@@ -2360,7 +2360,7 @@ export declare const properties: import("type-fest/source/writable-deep").Writab
2360
2360
  readonly inherited: false;
2361
2361
  readonly initial: {
2362
2362
  readonly type: "keyword";
2363
- readonly value: "invertOrCurrentColor";
2363
+ readonly value: "currentColor";
2364
2364
  };
2365
2365
  readonly popularity: 0.09538741;
2366
2366
  readonly appliesTo: "allElements";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-data",
3
- "version": "0.64.0",
3
+ "version": "0.66.0",
4
4
  "description": "CSS Data",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -3836,8 +3836,8 @@ export const keywordValues = {
3836
3836
  "unset",
3837
3837
  ],
3838
3838
  fontWeight: [
3839
- "400",
3840
- "700",
3839
+ "normal",
3840
+ "bold",
3841
3841
  "bolder",
3842
3842
  "lighter",
3843
3843
  "initial",
@@ -1445,7 +1445,7 @@ export const properties = {
1445
1445
  inherited: true,
1446
1446
  initial: {
1447
1447
  type: "keyword",
1448
- value: "400",
1448
+ value: "normal",
1449
1449
  },
1450
1450
  popularity: 0.88598106,
1451
1451
  appliesTo: "allElements",
@@ -2365,7 +2365,7 @@ export const properties = {
2365
2365
  inherited: false,
2366
2366
  initial: {
2367
2367
  type: "keyword",
2368
- value: "invertOrCurrentColor",
2368
+ value: "currentColor",
2369
2369
  },
2370
2370
  popularity: 0.09538741,
2371
2371
  appliesTo: "allElements",
package/src/html.ts CHANGED
@@ -48,9 +48,7 @@ const pl40px: Styles[number] = {
48
48
 
49
49
  const fontWeightBold: Styles[number] = {
50
50
  property: "fontWeight",
51
- // in browsers defined as bold
52
- // though builder accepts only numeric values
53
- value: { type: "keyword", value: "700" },
51
+ value: { type: "keyword", value: "bold" },
54
52
  };
55
53
 
56
54
  const fontStyleItalic: Styles[number] = {