@webstudio-is/react-sdk 0.185.0 → 0.189.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.
@@ -1,6 +1,5 @@
1
1
  export * from "./remix";
2
2
  export * from "./css/index";
3
- export * from "./tree/index";
4
3
  export * from "./core-components";
5
4
  export * from "./components/components-utils";
6
5
  export { PropMeta } from "./prop-meta";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/react-sdk",
3
- "version": "0.185.0",
3
+ "version": "0.189.0",
4
4
  "description": "Webstudio JavaScript / TypeScript API",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -12,8 +12,8 @@
12
12
  "react": "18.3.0-canary-14898b6a9-20240318",
13
13
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
14
14
  "strip-indent": "^4.0.0",
15
- "type-fest": "^4.24.0",
16
- "typescript": "5.5.2",
15
+ "type-fest": "^4.26.1",
16
+ "typescript": "5.6.3",
17
17
  "zod": "^3.22.4",
18
18
  "@webstudio-is/jest-config": "1.0.7",
19
19
  "@webstudio-is/tsconfig": "1.0.7"
@@ -28,11 +28,11 @@
28
28
  "html-tags": "^4.0.0",
29
29
  "nanoid": "^5.0.1",
30
30
  "title-case": "^4.3.2",
31
- "@webstudio-is/css-engine": "0.185.0",
32
- "@webstudio-is/icons": "^0.185.0",
33
- "@webstudio-is/fonts": "0.185.0",
34
- "@webstudio-is/image": "0.185.0",
35
- "@webstudio-is/sdk": "0.185.0"
31
+ "@webstudio-is/fonts": "0.189.0",
32
+ "@webstudio-is/css-engine": "0.189.0",
33
+ "@webstudio-is/image": "0.189.0",
34
+ "@webstudio-is/sdk": "0.189.0",
35
+ "@webstudio-is/icons": "^0.189.0"
36
36
  },
37
37
  "exports": {
38
38
  ".": {
@@ -1,26 +0,0 @@
1
- import { type ForwardRefExoticComponent, type ReactNode, type RefAttributes } from "react";
2
- import type { Instance, Instances } from "@webstudio-is/sdk";
3
- import type { Components } from "../components/components-utils";
4
- import { type Params } from "../context";
5
- import type { ImageLoader } from "@webstudio-is/image";
6
- type InstanceSelector = Instance["id"][];
7
- export type WebstudioComponentProps = {
8
- instance: Instance;
9
- instanceSelector: Instance["id"][];
10
- components: Components;
11
- };
12
- export declare const createElementsTree: ({ renderer, assetBaseUrl, imageBaseUrl, imageLoader, instances, rootInstanceId, Component, components, }: Params & {
13
- instances: Instances;
14
- imageLoader: ImageLoader;
15
- rootInstanceId: Instance["id"];
16
- Component: ForwardRefExoticComponent<WebstudioComponentProps & RefAttributes<HTMLElement>>;
17
- components: Components;
18
- }) => import("react/jsx-runtime").JSX.Element | null;
19
- export declare const createInstanceChildrenElements: ({ instances, instanceSelector, children, Component, components, }: {
20
- instances: Instances;
21
- instanceSelector: InstanceSelector;
22
- children: Instance["children"];
23
- Component: ForwardRefExoticComponent<WebstudioComponentProps & RefAttributes<HTMLElement>>;
24
- components: Components;
25
- }) => ReactNode[] | undefined;
26
- export {};
@@ -1 +0,0 @@
1
- export * from "./create-elements-tree";