@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.
package/lib/accordion.ws.js
CHANGED
|
@@ -53,16 +53,16 @@ const o = {
|
|
|
53
53
|
h3: [
|
|
54
54
|
...a,
|
|
55
55
|
{
|
|
56
|
-
property: "
|
|
56
|
+
property: "margin-top",
|
|
57
57
|
value: { type: "unit", unit: "px", value: 0 }
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
property: "
|
|
60
|
+
property: "margin-bottom",
|
|
61
61
|
value: { type: "unit", unit: "px", value: 0 }
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
|
-
},
|
|
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
|
-
},
|
|
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
|
-
|
|
108
|
+
T as metaAccordionContent,
|
|
109
109
|
H as metaAccordionHeader,
|
|
110
110
|
v as metaAccordionItem,
|
|
111
|
-
|
|
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 = (
|
|
2
|
-
property:
|
|
3
|
-
value: { type: "unit", unit: p, value:
|
|
4
|
-
}),
|
|
5
|
-
property:
|
|
6
|
-
value: { type: "keyword", value:
|
|
7
|
-
}), d = (
|
|
8
|
-
property:
|
|
9
|
-
value: { type: "rgb", alpha: 1, r, g: p, b: l }
|
|
10
|
-
}),
|
|
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: "
|
|
12
|
+
property: "background-color",
|
|
13
13
|
value: { type: "keyword", value: "transparent" }
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
property: "
|
|
16
|
+
property: "background-image",
|
|
17
17
|
value: { type: "keyword", value: "none" }
|
|
18
18
|
},
|
|
19
|
-
o("
|
|
20
|
-
o("
|
|
21
|
-
o("
|
|
22
|
-
o("
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
d("
|
|
28
|
-
d("
|
|
29
|
-
d("
|
|
30
|
-
d("
|
|
31
|
-
o("
|
|
32
|
-
o("
|
|
33
|
-
o("
|
|
34
|
-
o("
|
|
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
|
-
|
|
37
|
+
b as buttonReset
|
|
38
38
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const buttonReset:
|
|
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.
|
|
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.
|
|
48
|
-
"@radix-ui/react-checkbox": "^1.1.
|
|
49
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
50
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
51
|
-
"@radix-ui/react-label": "^2.1.
|
|
52
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
53
|
-
"@radix-ui/react-popover": "^1.1.
|
|
54
|
-
"@radix-ui/react-radio-group": "^1.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.
|
|
57
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
58
|
-
"@radix-ui/react-tooltip": "^1.1.
|
|
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.
|
|
62
|
-
"@webstudio-is/
|
|
63
|
-
"@webstudio-is/sdk": "0.
|
|
64
|
-
"@webstudio-is/icons": "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/
|
|
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",
|