@webstudio-is/sdk-components-react-radix 0.90.0 → 0.91.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/cjs/dialog.ws.js +1 -0
- package/lib/dialog.ws.js +2 -0
- package/package.json +6 -6
- package/src/dialog.ws.tsx +2 -0
package/lib/cjs/dialog.ws.js
CHANGED
package/lib/dialog.ws.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
LargeXIcon
|
|
10
10
|
} from "@webstudio-is/icons/svg";
|
|
11
11
|
import {
|
|
12
|
+
defaultStates
|
|
12
13
|
} from "@webstudio-is/react-sdk";
|
|
13
14
|
import { div, button, h2, p } from "@webstudio-is/react-sdk/css-normalize";
|
|
14
15
|
import * as tc from "./theme/tailwind-classes";
|
|
@@ -70,6 +71,7 @@ const metaDialogClose = {
|
|
|
70
71
|
presetStyle: {
|
|
71
72
|
button: [buttonReset, button].flat()
|
|
72
73
|
},
|
|
74
|
+
states: defaultStates,
|
|
73
75
|
icon: ButtonElementIcon,
|
|
74
76
|
label: "Close Button"
|
|
75
77
|
};
|
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.91.0",
|
|
4
4
|
"description": "Webstudio wrapper for radix library",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
57
57
|
"@radix-ui/react-tooltip": "^1.0.6",
|
|
58
58
|
"tailwindcss": "^3.3.3",
|
|
59
|
-
"@webstudio-is/css-data": "^0.
|
|
60
|
-
"@webstudio-is/generate-arg-types": "^0.
|
|
61
|
-
"@webstudio-is/icons": "^0.
|
|
62
|
-
"@webstudio-is/react-sdk": "^0.
|
|
59
|
+
"@webstudio-is/css-data": "^0.91.0",
|
|
60
|
+
"@webstudio-is/generate-arg-types": "^0.91.0",
|
|
61
|
+
"@webstudio-is/icons": "^0.91.0",
|
|
62
|
+
"@webstudio-is/react-sdk": "^0.91.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@storybook/react": "^7.2.1",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"react-dom": "^18.2.0",
|
|
70
70
|
"typescript": "^5.1.6",
|
|
71
71
|
"@webstudio-is/scripts": "^0.0.0",
|
|
72
|
-
"@webstudio-is/sdk-components-react": "^0.
|
|
72
|
+
"@webstudio-is/sdk-components-react": "^0.91.0",
|
|
73
73
|
"@webstudio-is/storybook-config": "^0.0.0",
|
|
74
74
|
"@webstudio-is/tsconfig": "^1.0.7"
|
|
75
75
|
},
|
package/src/dialog.ws.tsx
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
LargeXIcon,
|
|
10
10
|
} from "@webstudio-is/icons/svg";
|
|
11
11
|
import {
|
|
12
|
+
defaultStates,
|
|
12
13
|
type PresetStyle,
|
|
13
14
|
type WsComponentMeta,
|
|
14
15
|
type WsComponentPropsMeta,
|
|
@@ -83,6 +84,7 @@ export const metaDialogClose: WsComponentMeta = {
|
|
|
83
84
|
presetStyle: {
|
|
84
85
|
button: [buttonReset, button].flat(),
|
|
85
86
|
},
|
|
87
|
+
states: defaultStates,
|
|
86
88
|
icon: ButtonElementIcon,
|
|
87
89
|
label: "Close Button",
|
|
88
90
|
};
|