@webstudio-is/sdk-components-react-remix 0.175.0 → 0.179.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/props.js +1 -0
- package/lib/types/remix-form.d.ts +2 -1
- package/lib/types/webhook-form.d.ts +2 -1
- package/package.json +5 -5
package/lib/props.js
CHANGED
|
@@ -991,6 +991,7 @@ var props2 = {
|
|
|
991
991
|
},
|
|
992
992
|
datatype: { required: false, control: "text", type: "string" },
|
|
993
993
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
994
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
994
995
|
dir: {
|
|
995
996
|
required: false,
|
|
996
997
|
control: "text",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type FormProps } from "@remix-run/react";
|
|
2
2
|
export declare const defaultTag = "form";
|
|
3
|
-
export declare const RemixForm: import("react").ForwardRefExoticComponent<Omit<import("react").
|
|
3
|
+
export declare const RemixForm: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "action"> & Pick<FormProps, "encType"> & {
|
|
4
4
|
method?: Lowercase<NonNullable<FormProps["method"]>>;
|
|
5
|
+
action?: string;
|
|
5
6
|
}, "ref"> & import("react").RefAttributes<HTMLFormElement>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type FormProps } from "@remix-run/react";
|
|
2
2
|
export declare const defaultTag = "form";
|
|
3
3
|
type State = "initial" | "success" | "error";
|
|
4
|
-
export declare const WebhookForm: import("react").ForwardRefExoticComponent<Omit<import("react").
|
|
4
|
+
export declare const WebhookForm: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "action"> & {
|
|
5
5
|
/** 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. */
|
|
6
6
|
state?: State;
|
|
7
7
|
encType?: FormProps["encType"];
|
|
8
8
|
onStateChange?: (state: State) => void;
|
|
9
|
+
action?: string;
|
|
9
10
|
}, "ref"> & import("react").RefAttributes<HTMLFormElement>>;
|
|
10
11
|
export {};
|
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.179.0",
|
|
4
4
|
"description": "Webstudio components for Remix",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"react-dom": "18.3.0-canary-14898b6a9-20240318"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@webstudio-is/icons": "0.
|
|
39
|
-
"@webstudio-is/
|
|
40
|
-
"@webstudio-is/sdk": "0.
|
|
41
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
38
|
+
"@webstudio-is/icons": "0.179.0",
|
|
39
|
+
"@webstudio-is/sdk": "0.179.0",
|
|
40
|
+
"@webstudio-is/react-sdk": "0.179.0",
|
|
41
|
+
"@webstudio-is/sdk-components-react": "0.179.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@remix-run/react": "^2.11.0",
|