@webstudio-is/css-data 0.73.0 → 0.75.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.
Files changed (27) hide show
  1. package/lib/__generated__/property-value-descriptions.js +1 -1
  2. package/lib/cjs/__generated__/property-value-descriptions.js +1 -1
  3. package/lib/cjs/index.js +5 -2
  4. package/lib/index.js +8 -2
  5. package/lib/types/{src/__generated__ → __generated__}/property-value-descriptions.d.ts +1 -1
  6. package/lib/types/{src/index.d.ts → index.d.ts} +1 -0
  7. package/package.json +4 -4
  8. package/src/__generated__/property-value-descriptions.ts +1 -1
  9. package/src/index.ts +4 -0
  10. package/lib/types/bin/mdn-data.d.ts +0 -1
  11. package/lib/types/bin/property-value-descriptions.d.ts +0 -1
  12. /package/lib/types/{src/__generated__ → __generated__}/keyword-values.d.ts +0 -0
  13. /package/lib/types/{src/__generated__ → __generated__}/properties.d.ts +0 -0
  14. /package/lib/types/{src/__generated__ → __generated__}/units.d.ts +0 -0
  15. /package/lib/types/{src/html-check.d.ts → html-check.d.ts} +0 -0
  16. /package/lib/types/{src/html.d.ts → html.d.ts} +0 -0
  17. /package/lib/types/{src/parse-css-value.d.ts → parse-css-value.d.ts} +0 -0
  18. /package/lib/types/{src/parse-css-value.test.d.ts → parse-css-value.test.d.ts} +0 -0
  19. /package/lib/types/{src/parse-css.d.ts → parse-css.d.ts} +0 -0
  20. /package/lib/types/{src/parse-css.test.d.ts → parse-css.test.d.ts} +0 -0
  21. /package/lib/types/{src/popularity-index.d.ts → popularity-index.d.ts} +0 -0
  22. /package/lib/types/{src/property-parsers → property-parsers}/background.d.ts +0 -0
  23. /package/lib/types/{src/property-parsers → property-parsers}/background.test.d.ts +0 -0
  24. /package/lib/types/{src/property-parsers → property-parsers}/index.d.ts +0 -0
  25. /package/lib/types/{src/property-parsers → property-parsers}/parsers.d.ts +0 -0
  26. /package/lib/types/{src/property-parsers → property-parsers}/to-longhand.d.ts +0 -0
  27. /package/lib/types/{src/schema.d.ts → schema.d.ts} +0 -0
@@ -152,7 +152,7 @@ const properties = {
152
152
  gridTemplateColumns: "Sets the size of the first letter in a block of text",
153
153
  gridTemplateRows: "Sets the starting position of a grid item's column",
154
154
  hangingPunctuation: "Sets the ending position of a grid item's column",
155
- height: "Sets the starting position of a grid item's row",
155
+ height: "Sets the height of an element",
156
156
  hyphenateCharacter: "Sets the ending position of a grid item's row",
157
157
  hyphens: "Defines named grid areas within the grid container",
158
158
  imageOrientation: "Defines the number and sizes of columns in a grid container",
@@ -176,7 +176,7 @@ const properties = {
176
176
  gridTemplateColumns: "Sets the size of the first letter in a block of text",
177
177
  gridTemplateRows: "Sets the starting position of a grid item's column",
178
178
  hangingPunctuation: "Sets the ending position of a grid item's column",
179
- height: "Sets the starting position of a grid item's row",
179
+ height: "Sets the height of an element",
180
180
  hyphenateCharacter: "Sets the ending position of a grid item's row",
181
181
  hyphens: "Defines named grid areas within the grid container",
182
182
  imageOrientation: "Defines the number and sizes of columns in a grid container",
package/lib/cjs/index.js CHANGED
@@ -29,17 +29,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
  var src_exports = {};
31
31
  __export(src_exports, {
32
+ declarationDescriptions: () => import_property_value_descriptions.declarations,
32
33
  html: () => html,
33
- properties: () => properties
34
+ properties: () => properties2,
35
+ propertyDescriptions: () => import_property_value_descriptions.properties
34
36
  });
35
37
  module.exports = __toCommonJS(src_exports);
36
38
  var exportedHtml = __toESM(require("./html"), 1);
37
39
  __reExport(src_exports, require("./__generated__/keyword-values"), module.exports);
38
40
  __reExport(src_exports, require("./__generated__/units"), module.exports);
41
+ var import_property_value_descriptions = require("./__generated__/property-value-descriptions");
39
42
  __reExport(src_exports, require("./schema"), module.exports);
40
43
  __reExport(src_exports, require("./property-parsers/index"), module.exports);
41
44
  __reExport(src_exports, require("./parse-css-value"), module.exports);
42
45
  __reExport(src_exports, require("./parse-css"), module.exports);
43
46
  var import_properties = require("./__generated__/properties");
44
47
  const html = exportedHtml;
45
- const properties = import_properties.properties;
48
+ const properties2 = import_properties.properties;
package/lib/index.js CHANGED
@@ -2,13 +2,19 @@ import * as exportedHtml from "./html";
2
2
  const html = exportedHtml;
3
3
  export * from "./__generated__/keyword-values";
4
4
  export * from "./__generated__/units";
5
+ import {
6
+ properties,
7
+ declarations
8
+ } from "./__generated__/property-value-descriptions";
5
9
  export * from "./schema";
6
10
  export * from "./property-parsers/index";
7
11
  export * from "./parse-css-value";
8
12
  export * from "./parse-css";
9
13
  import { properties as generatedProperties } from "./__generated__/properties";
10
- const properties = generatedProperties;
14
+ const properties2 = generatedProperties;
11
15
  export {
16
+ declarations as declarationDescriptions,
12
17
  html,
13
- properties
18
+ properties2 as properties,
19
+ properties as propertyDescriptions
14
20
  };
@@ -152,7 +152,7 @@ export declare const properties: {
152
152
  readonly gridTemplateColumns: "Sets the size of the first letter in a block of text";
153
153
  readonly gridTemplateRows: "Sets the starting position of a grid item's column";
154
154
  readonly hangingPunctuation: "Sets the ending position of a grid item's column";
155
- readonly height: "Sets the starting position of a grid item's row";
155
+ readonly height: "Sets the height of an element";
156
156
  readonly hyphenateCharacter: "Sets the ending position of a grid item's row";
157
157
  readonly hyphens: "Defines named grid areas within the grid container";
158
158
  readonly imageOrientation: "Defines the number and sizes of columns in a grid container";
@@ -2,6 +2,7 @@ import type { Html } from "./html";
2
2
  export declare const html: Html;
3
3
  export * from "./__generated__/keyword-values";
4
4
  export * from "./__generated__/units";
5
+ export { properties as propertyDescriptions, declarations as declarationDescriptions, } from "./__generated__/property-value-descriptions";
5
6
  export * from "./schema";
6
7
  export * from "./property-parsers/index";
7
8
  export * from "./parse-css-value";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-data",
3
- "version": "0.73.0",
3
+ "version": "0.75.0",
4
4
  "description": "CSS Data",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "exports": {
26
26
  "source": "./src/index.ts",
27
+ "types": "./lib/types/index.d.ts",
27
28
  "import": "./lib/index.js",
28
- "require": "./lib/cjs/index.js",
29
- "types": "./lib/types/index.d.ts"
29
+ "require": "./lib/cjs/index.js"
30
30
  },
31
31
  "files": [
32
32
  "lib/*",
@@ -51,7 +51,7 @@
51
51
  "build": "build-package",
52
52
  "build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__ && prettier --write \"./src/__generated__/**/*.ts\"",
53
53
  "build:descriptions": "tsx ./bin/property-value-descriptions.ts",
54
- "dts": "tsc --declarationDir lib/types",
54
+ "dts": "tsc --project tsconfig.dts.json",
55
55
  "lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
56
56
  "test": "NODE_OPTIONS=--experimental-vm-modules jest"
57
57
  }
@@ -177,7 +177,7 @@ export const properties = {
177
177
  gridTemplateColumns: "Sets the size of the first letter in a block of text",
178
178
  gridTemplateRows: "Sets the starting position of a grid item's column",
179
179
  hangingPunctuation: "Sets the ending position of a grid item's column",
180
- height: "Sets the starting position of a grid item's row",
180
+ height: "Sets the height of an element",
181
181
  hyphenateCharacter: "Sets the ending position of a grid item's row",
182
182
  hyphens: "Defines named grid areas within the grid container",
183
183
  imageOrientation:
package/src/index.ts CHANGED
@@ -5,6 +5,10 @@ export const html: Html = exportedHtml;
5
5
 
6
6
  export * from "./__generated__/keyword-values";
7
7
  export * from "./__generated__/units";
8
+ export {
9
+ properties as propertyDescriptions,
10
+ declarations as declarationDescriptions,
11
+ } from "./__generated__/property-value-descriptions";
8
12
  export * from "./schema";
9
13
 
10
14
  // longhand property parsers
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes