@webstudio-is/sdk-components-react-remix 0.194.0 → 0.196.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/metas.js +4 -5
- package/lib/props.js +1 -11
- package/lib/templates.js +1 -0
- package/lib/types/link.d.ts +4 -0
- package/lib/types/metas.d.ts +1 -5
- package/lib/types/props.d.ts +0 -5
- package/lib/types/rich-text-link.d.ts +4 -0
- package/lib/types/shared/remix-link.d.ts +4 -0
- package/lib/types/templates.d.ts +0 -0
- package/package.json +7 -7
- package/lib/__generated__/link.props.js +0 -578
- package/lib/__generated__/webhook-form.props.js +0 -569
- package/lib/link.ws.js +0 -17
- package/lib/rich-text-link.ws.js +0 -7
- package/lib/types/__generated__/body.props.d.ts +0 -2
- package/lib/types/__generated__/link.props.d.ts +0 -2
- package/lib/types/__generated__/remix-form.props.d.ts +0 -2
- package/lib/types/__generated__/rich-text-link.props.d.ts +0 -2
- package/lib/types/__generated__/webhook-form.props.d.ts +0 -2
- package/lib/types/body.ws.d.ts +0 -2
- package/lib/types/link.ws.d.ts +0 -3
- package/lib/types/remix-form.ws.d.ts +0 -2
- package/lib/types/rich-text-link.ws.d.ts +0 -3
- package/lib/types/webhook-form.ws.d.ts +0 -3
- package/lib/webhook-form.ws.js +0 -127
package/lib/metas.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Body as i, Link as t, Form as x, RichTextLink as a } from "@webstudio-is/sdk-components-react/metas";
|
|
1
|
+
import { Body as m, Form as r, Link as e, RemixForm as x, RichTextLink as k } from "@webstudio-is/sdk-components-react/metas";
|
|
3
2
|
export {
|
|
4
|
-
|
|
3
|
+
m as Body,
|
|
5
4
|
r as Form,
|
|
6
|
-
|
|
5
|
+
e as Link,
|
|
7
6
|
x as RemixForm,
|
|
8
|
-
|
|
7
|
+
k as RichTextLink
|
|
9
8
|
};
|
package/lib/props.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { propsMeta as m } from "./rich-text-link.ws.js";
|
|
3
|
-
import { propsMeta as a } from "./webhook-form.ws.js";
|
|
4
|
-
import { Body as x, Form as f } from "@webstudio-is/sdk-components-react/props";
|
|
5
|
-
export {
|
|
6
|
-
x as Body,
|
|
7
|
-
a as Form,
|
|
8
|
-
p as Link,
|
|
9
|
-
f as RemixForm,
|
|
10
|
-
m as RichTextLink
|
|
11
|
-
};
|
|
1
|
+
|
package/lib/templates.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/types/link.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export declare const Link: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "target" | "download"> & {
|
|
2
2
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
3
3
|
download?: boolean;
|
|
4
|
+
prefetch?: "none" | "intent" | "render" | "viewport";
|
|
5
|
+
preventScrollReset?: boolean;
|
|
6
|
+
reloadDocument?: boolean;
|
|
7
|
+
replace?: boolean;
|
|
4
8
|
} & {
|
|
5
9
|
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
6
10
|
}, "ref"> & import("react").RefAttributes<HTMLAnchorElement>, "ref">, "target"> & {
|
package/lib/types/metas.d.ts
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { meta as Link } from "./link.ws";
|
|
3
|
-
export { meta as RichTextLink } from "./rich-text-link.ws";
|
|
4
|
-
export { meta as Form } from "./webhook-form.ws";
|
|
5
|
-
export { meta as RemixForm } from "./remix-form.ws";
|
|
1
|
+
export { Body, Link, RichTextLink, Form, RemixForm, } from "@webstudio-is/sdk-components-react/metas";
|
package/lib/types/props.d.ts
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { propsMeta as Body } from "./body.ws";
|
|
2
|
-
export { propsMeta as Link } from "./link.ws";
|
|
3
|
-
export { propsMeta as RichTextLink } from "./rich-text-link.ws";
|
|
4
|
-
export { propsMeta as Form } from "./webhook-form.ws";
|
|
5
|
-
export { propsMeta as RemixForm } from "./remix-form.ws";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export declare const RichTextLink: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "target" | "download"> & {
|
|
2
2
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
3
3
|
download?: boolean;
|
|
4
|
+
prefetch?: "none" | "intent" | "render" | "viewport";
|
|
5
|
+
preventScrollReset?: boolean;
|
|
6
|
+
reloadDocument?: boolean;
|
|
7
|
+
replace?: boolean;
|
|
4
8
|
} & {
|
|
5
9
|
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
6
10
|
}, "ref"> & import("react").RefAttributes<HTMLAnchorElement>, "ref">, "target"> & {
|
|
@@ -2,6 +2,10 @@ import type { Link } from "@webstudio-is/sdk-components-react";
|
|
|
2
2
|
export declare const wrapLinkComponent: (BaseLink: typeof Link) => import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "target" | "download"> & {
|
|
3
3
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
4
4
|
download?: boolean;
|
|
5
|
+
prefetch?: "none" | "intent" | "render" | "viewport";
|
|
6
|
+
preventScrollReset?: boolean;
|
|
7
|
+
reloadDocument?: boolean;
|
|
8
|
+
replace?: boolean;
|
|
5
9
|
} & {
|
|
6
10
|
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
7
11
|
}, "ref"> & import("react").RefAttributes<HTMLAnchorElement>, "ref">, "target"> & {
|
|
File without changes
|
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.196.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/
|
|
39
|
-
"@webstudio-is/
|
|
40
|
-
"@webstudio-is/sdk
|
|
41
|
-
"@webstudio-is/sdk": "0.
|
|
38
|
+
"@webstudio-is/react-sdk": "0.196.0",
|
|
39
|
+
"@webstudio-is/icons": "0.196.0",
|
|
40
|
+
"@webstudio-is/sdk": "0.196.0",
|
|
41
|
+
"@webstudio-is/sdk-components-react": "0.196.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@remix-run/react": "^2.15.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@types/react-dom": "^18.2.25",
|
|
48
48
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
49
49
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
50
|
-
"@webstudio-is/
|
|
51
|
-
"@webstudio-is/
|
|
50
|
+
"@webstudio-is/generate-arg-types": "0.0.0",
|
|
51
|
+
"@webstudio-is/tsconfig": "1.0.7"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "vite build --config ../../vite.sdk-components.config.ts",
|