@webstudio-is/sdk-components-react-remix 0.72.0 → 0.74.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.
@@ -20,11 +20,9 @@ var components_exports = {};
20
20
  __export(components_exports, {
21
21
  Form: () => import_form.Form,
22
22
  Link: () => import_link.Link,
23
- LinkBlock: () => import_link_block.LinkBlock,
24
23
  RichTextLink: () => import_rich_text_link.RichTextLink
25
24
  });
26
25
  module.exports = __toCommonJS(components_exports);
27
26
  var import_link = require("./link");
28
- var import_link_block = require("./link-block");
29
27
  var import_rich_text_link = require("./rich-text-link");
30
28
  var import_form = require("./form");
@@ -80,7 +80,7 @@ const meta = {
80
80
  children: [
81
81
  {
82
82
  type: "instance",
83
- component: "TextBlock",
83
+ component: "Text",
84
84
  children: [
85
85
  { type: "text", value: "Thank you for getting in touch!" }
86
86
  ]
@@ -93,7 +93,7 @@ const meta = {
93
93
  children: [
94
94
  {
95
95
  type: "instance",
96
- component: "TextBlock",
96
+ component: "Text",
97
97
  children: [
98
98
  { type: "text", value: "Sorry, something went wrong." }
99
99
  ]
package/lib/cjs/props.js CHANGED
@@ -20,11 +20,9 @@ var props_exports = {};
20
20
  __export(props_exports, {
21
21
  Form: () => import_form.propsMeta,
22
22
  Link: () => import_link.propsMeta,
23
- LinkBlock: () => import_link_block.propsMeta,
24
23
  RichTextLink: () => import_rich_text_link.propsMeta
25
24
  });
26
25
  module.exports = __toCommonJS(props_exports);
27
26
  var import_form = require("./form.ws");
28
27
  var import_link = require("./link.ws");
29
- var import_link_block = require("./link-block.ws");
30
28
  var import_rich_text_link = require("./rich-text-link.ws");
package/lib/components.js CHANGED
@@ -1,10 +1,8 @@
1
1
  import { Link } from "./link";
2
- import { LinkBlock } from "./link-block";
3
2
  import { RichTextLink } from "./rich-text-link";
4
3
  import { Form } from "./form";
5
4
  export {
6
5
  Form,
7
6
  Link,
8
- LinkBlock,
9
7
  RichTextLink
10
8
  };
package/lib/form.ws.js CHANGED
@@ -56,7 +56,7 @@ const meta = {
56
56
  children: [
57
57
  {
58
58
  type: "instance",
59
- component: "TextBlock",
59
+ component: "Text",
60
60
  children: [
61
61
  { type: "text", value: "Thank you for getting in touch!" }
62
62
  ]
@@ -69,7 +69,7 @@ const meta = {
69
69
  children: [
70
70
  {
71
71
  type: "instance",
72
- component: "TextBlock",
72
+ component: "Text",
73
73
  children: [
74
74
  { type: "text", value: "Sorry, something went wrong." }
75
75
  ]
package/lib/props.js CHANGED
@@ -1,10 +1,8 @@
1
1
  import { propsMeta } from "./form.ws";
2
2
  import { propsMeta as propsMeta2 } from "./link.ws";
3
- import { propsMeta as propsMeta3 } from "./link-block.ws";
4
- import { propsMeta as propsMeta4 } from "./rich-text-link.ws";
3
+ import { propsMeta as propsMeta3 } from "./rich-text-link.ws";
5
4
  export {
6
5
  propsMeta as Form,
7
6
  propsMeta2 as Link,
8
- propsMeta3 as LinkBlock,
9
- propsMeta4 as RichTextLink
7
+ propsMeta3 as RichTextLink
10
8
  };
@@ -1,4 +1,3 @@
1
1
  export { Link } from "./link";
2
- export { LinkBlock } from "./link-block";
3
2
  export { RichTextLink } from "./rich-text-link";
4
3
  export { Form } from "./form";
@@ -1,4 +1,3 @@
1
1
  export { propsMeta as Form } from "./form.ws";
2
2
  export { propsMeta as Link } from "./link.ws";
3
- export { propsMeta as LinkBlock } from "./link-block.ws";
4
3
  export { propsMeta as RichTextLink } from "./rich-text-link.ws";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react-remix",
3
- "version": "0.72.0",
3
+ "version": "0.74.0",
4
4
  "description": "Webstudio components for Remix",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -38,11 +38,11 @@
38
38
  "react-dom": "^18.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@webstudio-is/form-handlers": "^0.72.0",
42
- "@webstudio-is/generate-arg-types": "^0.72.0",
43
- "@webstudio-is/icons": "^0.72.0",
44
- "@webstudio-is/react-sdk": "^0.72.0",
45
- "@webstudio-is/sdk-components-react": "^0.72.0"
41
+ "@webstudio-is/form-handlers": "^0.74.0",
42
+ "@webstudio-is/generate-arg-types": "^0.74.0",
43
+ "@webstudio-is/icons": "^0.74.0",
44
+ "@webstudio-is/react-sdk": "^0.74.0",
45
+ "@webstudio-is/sdk-components-react": "^0.74.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@remix-run/react": "^1.15.0",
@@ -50,7 +50,7 @@
50
50
  "@types/react-dom": "^18.0.11",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
- "typescript": "5.0.3",
53
+ "typescript": "5.1.3",
54
54
  "@webstudio-is/scripts": "^0.0.0",
55
55
  "@webstudio-is/tsconfig": "^1.0.6"
56
56
  },
package/src/components.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { Link } from "./link";
2
- export { LinkBlock } from "./link-block";
3
2
  export { RichTextLink } from "./rich-text-link";
4
3
  export { Form } from "./form";
package/src/form.ws.tsx CHANGED
@@ -64,7 +64,7 @@ export const meta: WsComponentMeta = {
64
64
  children: [
65
65
  {
66
66
  type: "instance",
67
- component: "TextBlock",
67
+ component: "Text",
68
68
  children: [
69
69
  { type: "text", value: "Thank you for getting in touch!" },
70
70
  ],
@@ -77,7 +77,7 @@ export const meta: WsComponentMeta = {
77
77
  children: [
78
78
  {
79
79
  type: "instance",
80
- component: "TextBlock",
80
+ component: "Text",
81
81
  children: [
82
82
  { type: "text", value: "Sorry, something went wrong." },
83
83
  ],
package/src/props.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { propsMeta as Form } from "./form.ws";
2
2
  export { propsMeta as Link } from "./link.ws";
3
- export { propsMeta as LinkBlock } from "./link-block.ws";
4
3
  export { propsMeta as RichTextLink } from "./rich-text-link.ws";
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var link_block_exports = {};
20
- __export(link_block_exports, {
21
- LinkBlock: () => LinkBlock
22
- });
23
- module.exports = __toCommonJS(link_block_exports);
24
- var import_sdk_components_react = require("@webstudio-is/sdk-components-react");
25
- var import_remix_link = require("./shared/remix-link");
26
- const LinkBlock = (0, import_remix_link.wrapLinkComponent)(import_sdk_components_react.LinkBlock);
@@ -1,27 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var link_block_ws_exports = {};
20
- __export(link_block_ws_exports, {
21
- meta: () => import_metas.LinkBlock,
22
- propsMeta: () => propsMeta
23
- });
24
- module.exports = __toCommonJS(link_block_ws_exports);
25
- var import_link = require("./link.ws");
26
- var import_metas = require("@webstudio-is/sdk-components-react/metas");
27
- const propsMeta = import_link.propsMeta;
package/lib/link-block.js DELETED
@@ -1,6 +0,0 @@
1
- import { LinkBlock as BaseLink } from "@webstudio-is/sdk-components-react";
2
- import { wrapLinkComponent } from "./shared/remix-link";
3
- const LinkBlock = wrapLinkComponent(BaseLink);
4
- export {
5
- LinkBlock
6
- };
@@ -1,7 +0,0 @@
1
- import { propsMeta as linkPropsMeta } from "./link.ws";
2
- import { LinkBlock } from "@webstudio-is/sdk-components-react/metas";
3
- const propsMeta = linkPropsMeta;
4
- export {
5
- LinkBlock as meta,
6
- propsMeta
7
- };
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const LinkBlock: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "target"> & {
3
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
4
- }, "ref"> & import("react").RefAttributes<HTMLAnchorElement>, "ref">, "target"> & {
5
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
6
- prefetch?: "none" | "intent" | "render" | undefined;
7
- reloadDocument?: boolean | undefined;
8
- replace?: boolean | undefined;
9
- preventScrollReset?: boolean | undefined;
10
- } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,3 +0,0 @@
1
- import type { WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
- export { LinkBlock as meta } from "@webstudio-is/sdk-components-react/metas";
3
- export declare const propsMeta: WsComponentPropsMeta;
@@ -1,4 +0,0 @@
1
- import { LinkBlock as BaseLink } from "@webstudio-is/sdk-components-react";
2
- import { wrapLinkComponent } from "./shared/remix-link";
3
-
4
- export const LinkBlock = wrapLinkComponent(BaseLink);
@@ -1,6 +0,0 @@
1
- import type { WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
- import { propsMeta as linkPropsMeta } from "./link.ws";
3
-
4
- export { LinkBlock as meta } from "@webstudio-is/sdk-components-react/metas";
5
-
6
- export const propsMeta: WsComponentPropsMeta = linkPropsMeta;