@webstudio-is/sdk-components-react-remix 0.145.0 → 0.151.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/components.js +8 -5
- package/lib/metas.js +42 -61
- package/lib/props.js +76 -657
- package/lib/types/__generated__/webhook-form.props.d.ts +2 -0
- package/lib/types/components.d.ts +1 -1
- package/lib/types/metas.d.ts +1 -1
- package/lib/types/props.d.ts +1 -1
- package/lib/types/remix-form.ws.d.ts +2 -3
- package/lib/types/{server-form.d.ts → webhook-form.d.ts} +1 -1
- package/package.json +9 -9
- /package/lib/types/__generated__/{server-form.props.d.ts → body.props.d.ts} +0 -0
- /package/lib/types/{server-form.ws.d.ts → webhook-form.ws.d.ts} +0 -0
package/lib/types/metas.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { meta as Body } from "./body.ws";
|
|
2
2
|
export { meta as Link } from "./link.ws";
|
|
3
3
|
export { meta as RichTextLink } from "./rich-text-link.ws";
|
|
4
|
-
export { meta as Form } from "./
|
|
4
|
+
export { meta as Form } from "./webhook-form.ws";
|
|
5
5
|
export { meta as RemixForm } from "./remix-form.ws";
|
package/lib/types/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { propsMeta as Body } from "./body.ws";
|
|
2
2
|
export { propsMeta as Link } from "./link.ws";
|
|
3
3
|
export { propsMeta as RichTextLink } from "./rich-text-link.ws";
|
|
4
|
-
export { propsMeta as Form } from "./
|
|
4
|
+
export { propsMeta as Form } from "./webhook-form.ws";
|
|
5
5
|
export { propsMeta as RemixForm } from "./remix-form.ws";
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export declare const propsMeta: WsComponentPropsMeta;
|
|
1
|
+
export { Form as meta } from "@webstudio-is/sdk-components-react/metas";
|
|
2
|
+
export { Form as propsMeta } from "@webstudio-is/sdk-components-react/props";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { type FormProps } from "@remix-run/react";
|
|
3
3
|
export declare const defaultTag = "form";
|
|
4
4
|
type State = "initial" | "success" | "error";
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const WebhookForm: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLFormElement> & import("react").FormHTMLAttributes<HTMLFormElement> & {
|
|
6
6
|
/** Use this property to reveal the Success and Error states on the canvas so they can be styled. The Initial state is displayed when the page first opens. The Success and Error states are displayed depending on whether the Form submits successfully or unsuccessfully. */
|
|
7
7
|
state?: State | undefined;
|
|
8
8
|
encType?: FormProps["encType"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react-remix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"description": "Webstudio components for Remix",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@remix-run/react": "^2.
|
|
36
|
+
"@remix-run/react": "^2.9.1",
|
|
37
37
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
38
38
|
"react-dom": "18.3.0-canary-14898b6a9-20240318"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@webstudio-is/form-handlers": "0.
|
|
42
|
-
"@webstudio-is/icons": "0.
|
|
43
|
-
"@webstudio-is/react
|
|
44
|
-
"@webstudio-is/sdk
|
|
41
|
+
"@webstudio-is/form-handlers": "0.151.0",
|
|
42
|
+
"@webstudio-is/icons": "0.151.0",
|
|
43
|
+
"@webstudio-is/sdk-components-react": "0.151.0",
|
|
44
|
+
"@webstudio-is/react-sdk": "0.151.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@remix-run/react": "^2.
|
|
48
|
-
"@types/node": "^
|
|
47
|
+
"@remix-run/react": "^2.9.1",
|
|
48
|
+
"@types/node": "^20.12.7",
|
|
49
49
|
"@types/react": "^18.2.70",
|
|
50
50
|
"@types/react-dom": "^18.2.25",
|
|
51
51
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
52
52
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
53
53
|
"typescript": "5.4.5",
|
|
54
|
-
"@webstudio-is/generate-arg-types": "0.
|
|
54
|
+
"@webstudio-is/generate-arg-types": "0.0.0",
|
|
55
55
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
File without changes
|
|
File without changes
|