@webstudio-is/sdk-components-react 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.
- package/lib/components.js +117 -11
- package/lib/metas.js +850 -372
- package/lib/props.js +945 -1099
- package/lib/types/__generated__/xml-node.props.d.ts +2 -0
- package/lib/types/code-text.d.ts +3 -1
- package/lib/types/components.d.ts +1 -0
- package/lib/types/html-embed-patchers.d.ts +2 -0
- package/lib/types/metas.d.ts +1 -0
- package/lib/types/props.d.ts +1 -0
- package/lib/types/xml-node.d.ts +8 -0
- package/lib/types/xml-node.ws.d.ts +3 -0
- package/package.json +7 -7
package/lib/types/code-text.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const defaultTag = "code";
|
|
3
|
-
export declare const CodeText: import("react").ForwardRefExoticComponent<Omit<import("react").
|
|
3
|
+
export declare const CodeText: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
|
|
4
|
+
code?: string | undefined;
|
|
5
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
package/lib/types/metas.d.ts
CHANGED
|
@@ -30,3 +30,4 @@ export { meta as Vimeo } from "./vimeo.ws";
|
|
|
30
30
|
export { meta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
31
31
|
export { meta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
32
32
|
export { meta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
33
|
+
export { meta as XmlNode } from "./xml-node.ws";
|
package/lib/types/props.d.ts
CHANGED
|
@@ -30,3 +30,4 @@ export { propsMeta as Vimeo } from "./vimeo.ws";
|
|
|
30
30
|
export { propsMeta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
31
31
|
export { propsMeta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
32
32
|
export { propsMeta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
33
|
+
export { propsMeta as XmlNode } from "./xml-node.ws";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export declare const defaultTag = "div";
|
|
3
|
+
type Props = {
|
|
4
|
+
tag: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const XmlNode: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"description": "Webstudio default library for react",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@react-aria/utils": "^3.21.0",
|
|
41
41
|
"colord": "^2.9.3",
|
|
42
|
-
"@webstudio-is/
|
|
43
|
-
"@webstudio-is/
|
|
44
|
-
"@webstudio-is/react-sdk": "0.
|
|
42
|
+
"@webstudio-is/icons": "0.151.0",
|
|
43
|
+
"@webstudio-is/image": "0.151.0",
|
|
44
|
+
"@webstudio-is/react-sdk": "0.151.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/globals": "^29.7.0",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
57
57
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
58
58
|
"typescript": "5.4.5",
|
|
59
|
-
"@webstudio-is/generate-arg-types": "0.
|
|
60
|
-
"@webstudio-is/jest-config": "1.0.7",
|
|
59
|
+
"@webstudio-is/generate-arg-types": "0.0.0",
|
|
61
60
|
"@webstudio-is/storybook-config": "0.0.0",
|
|
62
|
-
"@webstudio-is/tsconfig": "1.0.7"
|
|
61
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
62
|
+
"@webstudio-is/jest-config": "1.0.7"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"dev": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib --watch",
|