@webstudio-is/sdk-components-react 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.
package/lib/body.ws.js CHANGED
@@ -7,10 +7,6 @@ import { props } from "./__generated__/body.props";
7
7
  const presetStyle = {
8
8
  body: [
9
9
  ...body,
10
- {
11
- property: "minHeight",
12
- value: { type: "unit", unit: "%", value: 100 }
13
- },
14
10
  {
15
11
  property: "fontFamily",
16
12
  value: { type: "keyword", value: "Arial" }
@@ -29,10 +29,6 @@ var import_body = require("./__generated__/body.props");
29
29
  const presetStyle = {
30
30
  body: [
31
31
  ...import_css_normalize.body,
32
- {
33
- property: "minHeight",
34
- value: { type: "unit", unit: "%", value: 100 }
35
- },
36
32
  {
37
33
  property: "fontFamily",
38
34
  value: { type: "keyword", value: "Arial" }
@@ -27,6 +27,7 @@ const meta = {
27
27
  category: "general",
28
28
  type: "container",
29
29
  label: "Slot",
30
+ description: "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
30
31
  icon: import_svg.SlotComponentIcon,
31
32
  stylable: false,
32
33
  order: 6
package/lib/slot.ws.js CHANGED
@@ -3,6 +3,7 @@ const meta = {
3
3
  category: "general",
4
4
  type: "container",
5
5
  label: "Slot",
6
+ description: "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
6
7
  icon: SlotComponentIcon,
7
8
  stylable: false,
8
9
  order: 6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react",
3
- "version": "0.73.0",
3
+ "version": "0.75.0",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -15,21 +15,21 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "source": "./src/components.ts",
18
+ "types": "./lib/types/components.d.ts",
18
19
  "import": "./lib/components.js",
19
- "require": "./lib/cjs/components.js",
20
- "types": "./lib/types/components.d.ts"
20
+ "require": "./lib/cjs/components.js"
21
21
  },
22
22
  "./metas": {
23
23
  "source": "./src/metas.ts",
24
+ "types": "./lib/types/metas.d.ts",
24
25
  "import": "./lib/metas.js",
25
- "require": "./lib/cjs/metas.js",
26
- "types": "./lib/types/metas.d.ts"
26
+ "require": "./lib/cjs/metas.js"
27
27
  },
28
28
  "./props": {
29
29
  "source": "./src/props.ts",
30
+ "types": "./lib/types/props.d.ts",
30
31
  "import": "./lib/props.js",
31
- "require": "./lib/cjs/props.js",
32
- "types": "./lib/types/props.d.ts"
32
+ "require": "./lib/cjs/props.js"
33
33
  }
34
34
  },
35
35
  "peerDependencies": {
@@ -40,11 +40,11 @@
40
40
  "@react-aria/utils": "^3.13.3",
41
41
  "colord": "^2.9.3",
42
42
  "shallow-equal": "^3.1.0",
43
- "@webstudio-is/css-vars": "^0.73.0",
44
- "@webstudio-is/generate-arg-types": "^0.73.0",
45
- "@webstudio-is/icons": "^0.73.0",
46
- "@webstudio-is/image": "^0.73.0",
47
- "@webstudio-is/react-sdk": "^0.73.0"
43
+ "@webstudio-is/css-vars": "^0.75.0",
44
+ "@webstudio-is/generate-arg-types": "^0.75.0",
45
+ "@webstudio-is/icons": "^0.75.0",
46
+ "@webstudio-is/image": "^0.75.0",
47
+ "@webstudio-is/react-sdk": "^0.75.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@storybook/react": "^6.5.16",
@@ -61,7 +61,7 @@
61
61
  "dev": "build-package --watch",
62
62
  "build": "build-package",
63
63
  "build:args": "generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
64
- "dts": "tsc --declarationDir lib/types",
64
+ "dts": "tsc --project tsconfig.dts.json",
65
65
  "typecheck": "tsc --noEmit --emitDeclarationOnly false",
66
66
  "lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
67
67
  "checks": "pnpm typecheck && pnpm lint",
package/src/body.ws.tsx CHANGED
@@ -12,11 +12,6 @@ import type { defaultTag } from "./body";
12
12
  const presetStyle = {
13
13
  body: [
14
14
  ...body,
15
-
16
- {
17
- property: "minHeight",
18
- value: { type: "unit", unit: "%", value: 100 },
19
- },
20
15
  {
21
16
  property: "fontFamily",
22
17
  value: { type: "keyword", value: "Arial" },
package/src/slot.ws.ts CHANGED
@@ -8,6 +8,8 @@ export const meta: WsComponentMeta = {
8
8
  category: "general",
9
9
  type: "container",
10
10
  label: "Slot",
11
+ description:
12
+ "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
11
13
  icon: SlotComponentIcon,
12
14
  stylable: false,
13
15
  order: 6,