@webstudio-is/sdk-components-react-radix 0.204.0 → 0.206.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.
@@ -53,16 +53,16 @@ const o = {
53
53
  h3: [
54
54
  ...a,
55
55
  {
56
- property: "marginTop",
56
+ property: "margin-top",
57
57
  value: { type: "unit", unit: "px", value: 0 }
58
58
  },
59
59
  {
60
- property: "marginBottom",
60
+ property: "margin-bottom",
61
61
  value: { type: "unit", unit: "px", value: 0 }
62
62
  }
63
63
  ]
64
64
  }
65
- }, T = {
65
+ }, C = {
66
66
  type: "container",
67
67
  label: "Item Trigger",
68
68
  icon: r,
@@ -81,7 +81,7 @@ const o = {
81
81
  presetStyle: {
82
82
  button: [p, d].flat()
83
83
  }
84
- }, C = {
84
+ }, T = {
85
85
  type: "container",
86
86
  label: "Item Content",
87
87
  icon: c,
@@ -105,10 +105,10 @@ const o = {
105
105
  };
106
106
  export {
107
107
  f as metaAccordion,
108
- C as metaAccordionContent,
108
+ T as metaAccordionContent,
109
109
  H as metaAccordionHeader,
110
110
  v as metaAccordionItem,
111
- T as metaAccordionTrigger,
111
+ C as metaAccordionTrigger,
112
112
  M as propsMetaAccordion,
113
113
  P as propsMetaAccordionContent,
114
114
  S as propsMetaAccordionHeader,
@@ -1,38 +1,38 @@
1
- const o = (e, r, p) => ({
2
- property: e,
3
- value: { type: "unit", unit: p, value: r }
4
- }), t = (e, r) => ({
5
- property: e,
6
- value: { type: "keyword", value: r }
7
- }), d = (e, r, p, l) => ({
8
- property: e,
9
- value: { type: "rgb", alpha: 1, r, g: p, b: l }
10
- }), i = [
1
+ const o = (r, t, p) => ({
2
+ property: r,
3
+ value: { type: "unit", unit: p, value: t }
4
+ }), e = (r, t) => ({
5
+ property: r,
6
+ value: { type: "keyword", value: t }
7
+ }), d = (r, t, p, l) => ({
8
+ property: r,
9
+ value: { type: "rgb", alpha: 1, r: t, g: p, b: l }
10
+ }), b = [
11
11
  {
12
- property: "backgroundColor",
12
+ property: "background-color",
13
13
  value: { type: "keyword", value: "transparent" }
14
14
  },
15
15
  {
16
- property: "backgroundImage",
16
+ property: "background-image",
17
17
  value: { type: "keyword", value: "none" }
18
18
  },
19
- o("borderTopWidth", 0, "px"),
20
- o("borderRightWidth", 0, "px"),
21
- o("borderBottomWidth", 0, "px"),
22
- o("borderLeftWidth", 0, "px"),
23
- t("borderTopStyle", "solid"),
24
- t("borderRightStyle", "solid"),
25
- t("borderBottomStyle", "solid"),
26
- t("borderLeftStyle", "solid"),
27
- d("borderTopColor", 226, 232, 240),
28
- d("borderRightColor", 226, 232, 240),
29
- d("borderBottomColor", 226, 232, 240),
30
- d("borderLeftColor", 226, 232, 240),
31
- o("paddingTop", 0, "px"),
32
- o("paddingRight", 0, "px"),
33
- o("paddingBottom", 0, "px"),
34
- o("paddingLeft", 0, "px")
19
+ o("border-top-width", 0, "px"),
20
+ o("border-right-width", 0, "px"),
21
+ o("border-bottom-width", 0, "px"),
22
+ o("border-left-width", 0, "px"),
23
+ e("border-top-style", "solid"),
24
+ e("border-right-style", "solid"),
25
+ e("border-bottom-style", "solid"),
26
+ e("border-left-style", "solid"),
27
+ d("border-top-color", 226, 232, 240),
28
+ d("border-right-color", 226, 232, 240),
29
+ d("border-bottom-color", 226, 232, 240),
30
+ d("border-left-color", 226, 232, 240),
31
+ o("padding-top", 0, "px"),
32
+ o("padding-right", 0, "px"),
33
+ o("padding-bottom", 0, "px"),
34
+ o("padding-left", 0, "px")
35
35
  ];
36
36
  export {
37
- i as buttonReset
37
+ b as buttonReset
38
38
  };
@@ -1,2 +1,2 @@
1
- import type { EmbedTemplateStyleDecl } from "@webstudio-is/sdk";
2
- export declare const buttonReset: EmbedTemplateStyleDecl[];
1
+ import type { PresetStyleDecl } from "@webstudio-is/sdk";
2
+ export declare const buttonReset: PresetStyleDecl[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react-radix",
3
- "version": "0.204.0",
3
+ "version": "0.206.0",
4
4
  "description": "Webstudio wrapper for radix library",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -44,24 +44,24 @@
44
44
  "react-dom": "18.3.0-canary-14898b6a9-20240318"
45
45
  },
46
46
  "dependencies": {
47
- "@radix-ui/react-accordion": "^1.2.2",
48
- "@radix-ui/react-checkbox": "^1.1.3",
49
- "@radix-ui/react-collapsible": "^1.1.2",
50
- "@radix-ui/react-dialog": "^1.1.5",
51
- "@radix-ui/react-label": "^2.1.1",
52
- "@radix-ui/react-navigation-menu": "^1.2.4",
53
- "@radix-ui/react-popover": "^1.1.5",
54
- "@radix-ui/react-radio-group": "^1.2.2",
47
+ "@radix-ui/react-accordion": "^1.2.3",
48
+ "@radix-ui/react-checkbox": "^1.1.4",
49
+ "@radix-ui/react-collapsible": "^1.1.3",
50
+ "@radix-ui/react-dialog": "^1.1.6",
51
+ "@radix-ui/react-label": "^2.1.2",
52
+ "@radix-ui/react-navigation-menu": "^1.2.5",
53
+ "@radix-ui/react-popover": "^1.1.6",
54
+ "@radix-ui/react-radio-group": "^1.2.3",
55
55
  "@radix-ui/react-select": "^2.1.5",
56
- "@radix-ui/react-switch": "^1.1.2",
57
- "@radix-ui/react-tabs": "^1.1.2",
58
- "@radix-ui/react-tooltip": "^1.1.7",
56
+ "@radix-ui/react-switch": "^1.1.3",
57
+ "@radix-ui/react-tabs": "^1.1.3",
58
+ "@radix-ui/react-tooltip": "^1.1.8",
59
59
  "@radix-ui/react-use-controllable-state": "^1.1.0",
60
60
  "await-interaction-response": "^0.0.2",
61
- "@webstudio-is/css-engine": "0.204.0",
62
- "@webstudio-is/react-sdk": "0.204.0",
63
- "@webstudio-is/sdk": "0.204.0",
64
- "@webstudio-is/icons": "0.204.0"
61
+ "@webstudio-is/css-engine": "0.206.0",
62
+ "@webstudio-is/sdk": "0.206.0",
63
+ "@webstudio-is/react-sdk": "0.206.0",
64
+ "@webstudio-is/icons": "0.206.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/react": "^18.2.70",
@@ -70,10 +70,10 @@
70
70
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
71
71
  "@webstudio-is/css-data": "0.0.0",
72
72
  "@webstudio-is/generate-arg-types": "0.0.0",
73
+ "@webstudio-is/sdk-components-react": "0.206.0",
73
74
  "@webstudio-is/sdk-cli": "^0.94.0",
74
- "@webstudio-is/sdk-components-react": "0.204.0",
75
- "@webstudio-is/tsconfig": "1.0.7",
76
- "@webstudio-is/template": "0.204.0"
75
+ "@webstudio-is/template": "0.206.0",
76
+ "@webstudio-is/tsconfig": "1.0.7"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "vite build --config ../../vite.sdk-components.config.ts",