@webstudio-is/sdk-components-react 0.77.0 → 0.79.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.
@@ -2,10 +2,54 @@ import { BlockquoteIcon } from "@webstudio-is/icons/svg";
2
2
  import {
3
3
  defaultStates
4
4
  } from "@webstudio-is/react-sdk";
5
- import { blockquote } from "@webstudio-is/react-sdk/css-normalize";
6
5
  import { props } from "./__generated__/blockquote.props";
7
6
  const presetStyle = {
8
- blockquote
7
+ blockquote: [
8
+ {
9
+ property: "marginTop",
10
+ value: { type: "unit", value: 0, unit: "number" }
11
+ },
12
+ {
13
+ property: "marginRight",
14
+ value: { type: "unit", value: 0, unit: "number" }
15
+ },
16
+ {
17
+ property: "marginBottom",
18
+ value: { type: "unit", value: 10, unit: "px" }
19
+ },
20
+ {
21
+ property: "marginLeft",
22
+ value: { type: "unit", value: 0, unit: "number" }
23
+ },
24
+ {
25
+ property: "paddingTop",
26
+ value: { type: "unit", value: 10, unit: "px" }
27
+ },
28
+ {
29
+ property: "paddingBottom",
30
+ value: { type: "unit", value: 10, unit: "px" }
31
+ },
32
+ {
33
+ property: "paddingLeft",
34
+ value: { type: "unit", value: 20, unit: "px" }
35
+ },
36
+ {
37
+ property: "paddingRight",
38
+ value: { type: "unit", value: 20, unit: "px" }
39
+ },
40
+ {
41
+ property: "borderLeftWidth",
42
+ value: { type: "unit", value: 5, unit: "px" }
43
+ },
44
+ {
45
+ property: "borderLeftStyle",
46
+ value: { type: "keyword", value: "solid" }
47
+ },
48
+ {
49
+ property: "borderLeftColor",
50
+ value: { type: "rgb", r: 226, g: 226, b: 226, alpha: 1 }
51
+ }
52
+ ]
9
53
  };
10
54
  const meta = {
11
55
  category: "text",
@@ -24,10 +24,54 @@ __export(blockquote_ws_exports, {
24
24
  module.exports = __toCommonJS(blockquote_ws_exports);
25
25
  var import_svg = require("@webstudio-is/icons/svg");
26
26
  var import_react_sdk = require("@webstudio-is/react-sdk");
27
- var import_css_normalize = require("@webstudio-is/react-sdk/css-normalize");
28
27
  var import_blockquote = require("./__generated__/blockquote.props");
29
28
  const presetStyle = {
30
- blockquote: import_css_normalize.blockquote
29
+ blockquote: [
30
+ {
31
+ property: "marginTop",
32
+ value: { type: "unit", value: 0, unit: "number" }
33
+ },
34
+ {
35
+ property: "marginRight",
36
+ value: { type: "unit", value: 0, unit: "number" }
37
+ },
38
+ {
39
+ property: "marginBottom",
40
+ value: { type: "unit", value: 10, unit: "px" }
41
+ },
42
+ {
43
+ property: "marginLeft",
44
+ value: { type: "unit", value: 0, unit: "number" }
45
+ },
46
+ {
47
+ property: "paddingTop",
48
+ value: { type: "unit", value: 10, unit: "px" }
49
+ },
50
+ {
51
+ property: "paddingBottom",
52
+ value: { type: "unit", value: 10, unit: "px" }
53
+ },
54
+ {
55
+ property: "paddingLeft",
56
+ value: { type: "unit", value: 20, unit: "px" }
57
+ },
58
+ {
59
+ property: "paddingRight",
60
+ value: { type: "unit", value: 20, unit: "px" }
61
+ },
62
+ {
63
+ property: "borderLeftWidth",
64
+ value: { type: "unit", value: 5, unit: "px" }
65
+ },
66
+ {
67
+ property: "borderLeftStyle",
68
+ value: { type: "keyword", value: "solid" }
69
+ },
70
+ {
71
+ property: "borderLeftColor",
72
+ value: { type: "rgb", r: 226, g: 226, b: 226, alpha: 1 }
73
+ }
74
+ ]
31
75
  };
32
76
  const meta = {
33
77
  category: "text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -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.77.0",
44
- "@webstudio-is/generate-arg-types": "^0.77.0",
45
- "@webstudio-is/icons": "^0.77.0",
46
- "@webstudio-is/image": "^0.77.0",
47
- "@webstudio-is/react-sdk": "^0.77.0"
43
+ "@webstudio-is/css-vars": "^0.79.0",
44
+ "@webstudio-is/generate-arg-types": "^0.79.0",
45
+ "@webstudio-is/icons": "^0.79.0",
46
+ "@webstudio-is/image": "^0.79.0",
47
+ "@webstudio-is/react-sdk": "^0.79.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@storybook/react": "^7.0.23",
@@ -5,12 +5,58 @@ import {
5
5
  type WsComponentMeta,
6
6
  type WsComponentPropsMeta,
7
7
  } from "@webstudio-is/react-sdk";
8
- import { blockquote } from "@webstudio-is/react-sdk/css-normalize";
9
8
  import type { defaultTag } from "./blockquote";
10
9
  import { props } from "./__generated__/blockquote.props";
11
10
 
12
11
  const presetStyle = {
13
- blockquote,
12
+ blockquote: [
13
+ {
14
+ property: "marginTop",
15
+ value: { type: "unit", value: 0, unit: "number" },
16
+ },
17
+ {
18
+ property: "marginRight",
19
+ value: { type: "unit", value: 0, unit: "number" },
20
+ },
21
+ {
22
+ property: "marginBottom",
23
+ value: { type: "unit", value: 10, unit: "px" },
24
+ },
25
+ {
26
+ property: "marginLeft",
27
+ value: { type: "unit", value: 0, unit: "number" },
28
+ },
29
+
30
+ {
31
+ property: "paddingTop",
32
+ value: { type: "unit", value: 10, unit: "px" },
33
+ },
34
+ {
35
+ property: "paddingBottom",
36
+ value: { type: "unit", value: 10, unit: "px" },
37
+ },
38
+ {
39
+ property: "paddingLeft",
40
+ value: { type: "unit", value: 20, unit: "px" },
41
+ },
42
+ {
43
+ property: "paddingRight",
44
+ value: { type: "unit", value: 20, unit: "px" },
45
+ },
46
+
47
+ {
48
+ property: "borderLeftWidth",
49
+ value: { type: "unit", value: 5, unit: "px" },
50
+ },
51
+ {
52
+ property: "borderLeftStyle",
53
+ value: { type: "keyword", value: "solid" },
54
+ },
55
+ {
56
+ property: "borderLeftColor",
57
+ value: { type: "rgb", r: 226, g: 226, b: 226, alpha: 1 },
58
+ },
59
+ ],
14
60
  } satisfies PresetStyle<typeof defaultTag>;
15
61
 
16
62
  export const meta: WsComponentMeta = {