@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.
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -1,5 +1,5 @@
1
1
  export { Body } from "./body";
2
2
  export { Link } from "./link";
3
3
  export { RichTextLink } from "./rich-text-link";
4
- export { ServerForm as Form } from "./server-form";
4
+ export { WebhookForm as Form } from "./webhook-form";
5
5
  export { RemixForm } from "./remix-form";
@@ -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 "./server-form.ws";
4
+ export { meta as Form } from "./webhook-form.ws";
5
5
  export { meta as RemixForm } from "./remix-form.ws";
@@ -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 "./server-form.ws";
4
+ export { propsMeta as Form } from "./webhook-form.ws";
5
5
  export { propsMeta as RemixForm } from "./remix-form.ws";
@@ -1,3 +1,2 @@
1
- import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
- export declare const meta: WsComponentMeta;
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 ServerForm: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLFormElement> & import("react").FormHTMLAttributes<HTMLFormElement> & {
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.145.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.8.1",
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.145.0",
42
- "@webstudio-is/icons": "0.145.0",
43
- "@webstudio-is/react-sdk": "0.145.0",
44
- "@webstudio-is/sdk-components-react": "0.145.0"
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.8.1",
48
- "@types/node": "^18.17.1",
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.145.0",
54
+ "@webstudio-is/generate-arg-types": "0.0.0",
55
55
  "@webstudio-is/tsconfig": "1.0.7"
56
56
  },
57
57
  "scripts": {