@webstudio-is/sdk-components-react 0.0.0-017f1bd
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/LICENSE +661 -0
- package/README.md +3 -0
- package/lib/__generated__/blockquote.props.js +4 -0
- package/lib/__generated__/body.props.js +4 -0
- package/lib/__generated__/bold.props.js +4 -0
- package/lib/__generated__/box.props.js +6 -0
- package/lib/__generated__/button.props.js +4 -0
- package/lib/__generated__/checkbox.props.js +11 -0
- package/lib/__generated__/code-text.props.js +6 -0
- package/lib/__generated__/form.props.js +4 -0
- package/lib/__generated__/head-link.props.js +4 -0
- package/lib/__generated__/head-meta.props.js +4 -0
- package/lib/__generated__/head-slot.props.js +4 -0
- package/lib/__generated__/head-title.props.js +4 -0
- package/lib/__generated__/heading.props.js +6 -0
- package/lib/__generated__/html-embed.props.js +18 -0
- package/lib/__generated__/image.props.js +13 -0
- package/lib/__generated__/input.props.js +4 -0
- package/lib/__generated__/italic.props.js +4 -0
- package/lib/__generated__/label.props.js +4 -0
- package/lib/__generated__/link.props.js +27 -0
- package/lib/__generated__/list-item.props.js +4 -0
- package/lib/__generated__/list.props.js +12 -0
- package/lib/__generated__/markdown-embed.props.js +6 -0
- package/lib/__generated__/option.props.js +4 -0
- package/lib/__generated__/paragraph.props.js +4 -0
- package/lib/__generated__/radio-button.props.js +11 -0
- package/lib/__generated__/select.props.js +4 -0
- package/lib/__generated__/separator.props.js +4 -0
- package/lib/__generated__/span.props.js +4 -0
- package/lib/__generated__/subscript.props.js +4 -0
- package/lib/__generated__/superscript.props.js +4 -0
- package/lib/__generated__/text.props.js +6 -0
- package/lib/__generated__/textarea.props.js +4 -0
- package/lib/__generated__/time.props.js +305 -0
- package/lib/__generated__/video.props.js +4 -0
- package/lib/__generated__/vimeo-play-button.props.js +4 -0
- package/lib/__generated__/vimeo-preview-image.props.js +12 -0
- package/lib/__generated__/vimeo-spinner.props.js +4 -0
- package/lib/__generated__/vimeo.props.js +170 -0
- package/lib/__generated__/webhook-form.props.js +13 -0
- package/lib/__generated__/xml-node.props.js +26 -0
- package/lib/__generated__/xml-time.props.js +19 -0
- package/lib/__generated__/youtube.props.js +168 -0
- package/lib/blockquote.js +9 -0
- package/lib/blockquote.ws.js +56 -0
- package/lib/body.js +7 -0
- package/lib/body.ws.js +10 -0
- package/lib/bold.js +7 -0
- package/lib/bold.ws.js +11 -0
- package/lib/box.js +12 -0
- package/lib/box.ws.js +41 -0
- package/lib/button.js +9 -0
- package/lib/button.ws.js +10 -0
- package/lib/checkbox.js +15 -0
- package/lib/checkbox.ws.js +20 -0
- package/lib/code-text.js +10 -0
- package/lib/code-text.ws.js +51 -0
- package/lib/components.js +91 -0
- package/lib/content-embed.template.js +83 -0
- package/lib/form.js +7 -0
- package/lib/form.ws.js +16 -0
- package/lib/fragment.js +7 -0
- package/lib/fragment.ws.js +4 -0
- package/lib/head-link.js +23 -0
- package/lib/head-link.ws.js +14 -0
- package/lib/head-meta.js +23 -0
- package/lib/head-meta.ws.js +14 -0
- package/lib/head-slot.js +53 -0
- package/lib/head-slot.template.js +15 -0
- package/lib/head-slot.ws.js +14 -0
- package/lib/head-title.js +23 -0
- package/lib/head-title.ws.js +13 -0
- package/lib/heading.js +12 -0
- package/lib/heading.ws.js +25 -0
- package/lib/home_wsKvRSqvkajPPBeycZ-C8.svg +3 -0
- package/lib/hooks.js +6 -0
- package/lib/html-embed-patchers.js +29 -0
- package/lib/html-embed.js +112 -0
- package/lib/html-embed.ws.js +48 -0
- package/lib/image.js +38 -0
- package/lib/image.ws.js +53 -0
- package/lib/input.js +21 -0
- package/lib/input.ws.js +28 -0
- package/lib/italic.js +7 -0
- package/lib/italic.ws.js +11 -0
- package/lib/label.js +7 -0
- package/lib/label.ws.js +16 -0
- package/lib/link.js +15 -0
- package/lib/link.ws.js +26 -0
- package/lib/list-item.js +9 -0
- package/lib/list-item.ws.js +10 -0
- package/lib/list.js +6 -0
- package/lib/list.ws.js +41 -0
- package/lib/markdown-embed.js +19 -0
- package/lib/markdown-embed.template.js +75 -0
- package/lib/markdown-embed.ws.js +35 -0
- package/lib/metas.js +92 -0
- package/lib/option.js +9 -0
- package/lib/option.ws.js +35 -0
- package/lib/paragraph.js +7 -0
- package/lib/paragraph.ws.js +10 -0
- package/lib/radio-button.js +15 -0
- package/lib/radio-button.ws.js +21 -0
- package/lib/rich-text-link.ws.js +5 -0
- package/lib/select.js +32 -0
- package/lib/select.ws.js +26 -0
- package/lib/separator.js +9 -0
- package/lib/separator.ws.js +38 -0
- package/lib/shared/video.js +13 -0
- package/lib/slot.js +14 -0
- package/lib/slot.ws.js +10 -0
- package/lib/span.js +7 -0
- package/lib/span.ws.js +13 -0
- package/lib/subscript.js +7 -0
- package/lib/subscript.ws.js +11 -0
- package/lib/superscript.js +7 -0
- package/lib/superscript.ws.js +11 -0
- package/lib/templates.js +14 -0
- package/lib/text.js +12 -0
- package/lib/text.ws.js +28 -0
- package/lib/textarea.js +18 -0
- package/lib/textarea.ws.js +33 -0
- package/lib/time.js +320 -0
- package/lib/time.ws.js +18 -0
- package/lib/types/__generated__/blockquote.props.d.ts +2 -0
- package/lib/types/__generated__/body.props.d.ts +2 -0
- package/lib/types/__generated__/bold.props.d.ts +2 -0
- package/lib/types/__generated__/box.props.d.ts +2 -0
- package/lib/types/__generated__/button.props.d.ts +2 -0
- package/lib/types/__generated__/checkbox.props.d.ts +2 -0
- package/lib/types/__generated__/code-text.props.d.ts +2 -0
- package/lib/types/__generated__/form.props.d.ts +2 -0
- package/lib/types/__generated__/fragment.props.d.ts +2 -0
- package/lib/types/__generated__/head-link.props.d.ts +2 -0
- package/lib/types/__generated__/head-meta.props.d.ts +2 -0
- package/lib/types/__generated__/head-slot.props.d.ts +2 -0
- package/lib/types/__generated__/head-title.props.d.ts +2 -0
- package/lib/types/__generated__/heading.props.d.ts +2 -0
- package/lib/types/__generated__/html-embed.props.d.ts +2 -0
- package/lib/types/__generated__/image.props.d.ts +2 -0
- package/lib/types/__generated__/input.props.d.ts +2 -0
- package/lib/types/__generated__/italic.props.d.ts +2 -0
- package/lib/types/__generated__/label.props.d.ts +2 -0
- package/lib/types/__generated__/link.props.d.ts +2 -0
- package/lib/types/__generated__/list-item.props.d.ts +2 -0
- package/lib/types/__generated__/list.props.d.ts +2 -0
- package/lib/types/__generated__/markdown-embed.props.d.ts +2 -0
- package/lib/types/__generated__/option.props.d.ts +2 -0
- package/lib/types/__generated__/paragraph.props.d.ts +2 -0
- package/lib/types/__generated__/radio-button.props.d.ts +2 -0
- package/lib/types/__generated__/rich-text-link.props.d.ts +2 -0
- package/lib/types/__generated__/select.props.d.ts +2 -0
- package/lib/types/__generated__/separator.props.d.ts +2 -0
- package/lib/types/__generated__/slot.props.d.ts +2 -0
- package/lib/types/__generated__/span.props.d.ts +2 -0
- package/lib/types/__generated__/subscript.props.d.ts +2 -0
- package/lib/types/__generated__/superscript.props.d.ts +2 -0
- package/lib/types/__generated__/text.props.d.ts +2 -0
- package/lib/types/__generated__/textarea.props.d.ts +2 -0
- package/lib/types/__generated__/time.props.d.ts +2 -0
- package/lib/types/__generated__/video.props.d.ts +2 -0
- package/lib/types/__generated__/vimeo-play-button.props.d.ts +2 -0
- package/lib/types/__generated__/vimeo-preview-image.props.d.ts +2 -0
- package/lib/types/__generated__/vimeo-spinner.props.d.ts +2 -0
- package/lib/types/__generated__/vimeo.props.d.ts +2 -0
- package/lib/types/__generated__/webhook-form.props.d.ts +2 -0
- package/lib/types/__generated__/xml-node.props.d.ts +2 -0
- package/lib/types/__generated__/xml-time.props.d.ts +2 -0
- package/lib/types/__generated__/youtube.props.d.ts +2 -0
- package/lib/types/blockquote.d.ts +2 -0
- package/lib/types/blockquote.ws.d.ts +2 -0
- package/lib/types/body.d.ts +2 -0
- package/lib/types/body.ws.d.ts +2 -0
- package/lib/types/bold.d.ts +2 -0
- package/lib/types/bold.ws.d.ts +2 -0
- package/lib/types/box.d.ts +7 -0
- package/lib/types/box.ws.d.ts +2 -0
- package/lib/types/button.d.ts +2 -0
- package/lib/types/button.ws.d.ts +2 -0
- package/lib/types/checkbox.d.ts +4 -0
- package/lib/types/checkbox.ws.d.ts +2 -0
- package/lib/types/code-text.d.ts +4 -0
- package/lib/types/code-text.ws.d.ts +2 -0
- package/lib/types/components.d.ts +45 -0
- package/lib/types/content-embed.template.d.ts +2 -0
- package/lib/types/form.d.ts +2 -0
- package/lib/types/form.ws.d.ts +2 -0
- package/lib/types/fragment.d.ts +6 -0
- package/lib/types/fragment.ws.d.ts +2 -0
- package/lib/types/head-link.d.ts +8 -0
- package/lib/types/head-link.ws.d.ts +2 -0
- package/lib/types/head-meta.d.ts +2 -0
- package/lib/types/head-meta.ws.d.ts +2 -0
- package/lib/types/head-slot.d.ts +9 -0
- package/lib/types/head-slot.template.d.ts +2 -0
- package/lib/types/head-slot.ws.d.ts +2 -0
- package/lib/types/head-title.d.ts +2 -0
- package/lib/types/head-title.ws.d.ts +2 -0
- package/lib/types/heading.d.ts +7 -0
- package/lib/types/heading.ws.d.ts +2 -0
- package/lib/types/hooks.d.ts +2 -0
- package/lib/types/html-embed-patchers.d.ts +2 -0
- package/lib/types/html-embed.d.ts +12 -0
- package/lib/types/html-embed.test.d.ts +1 -0
- package/lib/types/html-embed.ws.d.ts +2 -0
- package/lib/types/image.d.ts +8 -0
- package/lib/types/image.ws.d.ts +2 -0
- package/lib/types/input.d.ts +1 -0
- package/lib/types/input.ws.d.ts +2 -0
- package/lib/types/italic.d.ts +2 -0
- package/lib/types/italic.ws.d.ts +2 -0
- package/lib/types/label.d.ts +2 -0
- package/lib/types/label.ws.d.ts +2 -0
- package/lib/types/link.d.ts +11 -0
- package/lib/types/link.ws.d.ts +2 -0
- package/lib/types/list-item.d.ts +2 -0
- package/lib/types/list-item.ws.d.ts +2 -0
- package/lib/types/list.d.ts +10 -0
- package/lib/types/list.ws.d.ts +2 -0
- package/lib/types/markdown-embed.d.ts +7 -0
- package/lib/types/markdown-embed.template.d.ts +2 -0
- package/lib/types/markdown-embed.ws.d.ts +2 -0
- package/lib/types/metas.d.ts +45 -0
- package/lib/types/option.d.ts +1 -0
- package/lib/types/option.ws.d.ts +2 -0
- package/lib/types/paragraph.d.ts +2 -0
- package/lib/types/paragraph.ws.d.ts +2 -0
- package/lib/types/radio-button.d.ts +4 -0
- package/lib/types/radio-button.ws.d.ts +2 -0
- package/lib/types/rich-text-link.d.ts +1 -0
- package/lib/types/rich-text-link.ws.d.ts +2 -0
- package/lib/types/select.d.ts +3 -0
- package/lib/types/select.ws.d.ts +2 -0
- package/lib/types/separator.d.ts +2 -0
- package/lib/types/separator.ws.d.ts +2 -0
- package/lib/types/shared/video.d.ts +7 -0
- package/lib/types/slot.d.ts +6 -0
- package/lib/types/slot.ws.d.ts +2 -0
- package/lib/types/span.d.ts +2 -0
- package/lib/types/span.ws.d.ts +2 -0
- package/lib/types/subscript.d.ts +2 -0
- package/lib/types/subscript.ws.d.ts +2 -0
- package/lib/types/superscript.d.ts +2 -0
- package/lib/types/superscript.ws.d.ts +2 -0
- package/lib/types/templates.d.ts +6 -0
- package/lib/types/test-utils/cartesian.d.ts +2 -0
- package/lib/types/text.d.ts +7 -0
- package/lib/types/text.ws.d.ts +2 -0
- package/lib/types/textarea.d.ts +1 -0
- package/lib/types/textarea.ws.d.ts +2 -0
- package/lib/types/time.d.ts +16 -0
- package/lib/types/time.test.d.ts +1 -0
- package/lib/types/time.ws.d.ts +2 -0
- package/lib/types/video.d.ts +9 -0
- package/lib/types/video.ws.d.ts +2 -0
- package/lib/types/vimeo-play-button.d.ts +3 -0
- package/lib/types/vimeo-play-button.ws.d.ts +2 -0
- package/lib/types/vimeo-preview-image.d.ts +284 -0
- package/lib/types/vimeo-preview-image.ws.d.ts +2 -0
- package/lib/types/vimeo-spinner.d.ts +1 -0
- package/lib/types/vimeo-spinner.ws.d.ts +2 -0
- package/lib/types/vimeo.d.ts +79 -0
- package/lib/types/vimeo.template.d.ts +2 -0
- package/lib/types/vimeo.ws.d.ts +2 -0
- package/lib/types/webhook-form.d.ts +9 -0
- package/lib/types/webhook-form.template.d.ts +2 -0
- package/lib/types/webhook-form.ws.d.ts +2 -0
- package/lib/types/xml-node.d.ts +13 -0
- package/lib/types/xml-node.ws.d.ts +2 -0
- package/lib/types/xml-time.d.ts +6 -0
- package/lib/types/xml-time.ws.d.ts +2 -0
- package/lib/types/youtube.d.ts +143 -0
- package/lib/types/youtube.template.d.ts +2 -0
- package/lib/types/youtube.ws.d.ts +2 -0
- package/lib/video.js +53 -0
- package/lib/video.ws.js +44 -0
- package/lib/vimeo-play-button.js +18 -0
- package/lib/vimeo-play-button.ws.js +18 -0
- package/lib/vimeo-preview-image.js +19 -0
- package/lib/vimeo-preview-image.ws.js +25 -0
- package/lib/vimeo-spinner.js +13 -0
- package/lib/vimeo-spinner.ws.js +18 -0
- package/lib/vimeo.js +215 -0
- package/lib/vimeo.template.js +94 -0
- package/lib/vimeo.ws.js +35 -0
- package/lib/webhook-form.js +9 -0
- package/lib/webhook-form.template.js +88 -0
- package/lib/webhook-form.ws.js +27 -0
- package/lib/xml-node.js +61 -0
- package/lib/xml-node.ws.js +13 -0
- package/lib/xml-time.js +25 -0
- package/lib/xml-time.ws.js +13 -0
- package/lib/youtube.js +227 -0
- package/lib/youtube.template.js +98 -0
- package/lib/youtube.ws.js +45 -0
- package/package.json +74 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "blockquote";
|
|
2
|
+
export declare const Blockquote: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & import("react").RefAttributes<HTMLQuoteElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
declare const defaultTag = "div";
|
|
3
|
+
type Props = ComponentProps<typeof defaultTag> & {
|
|
4
|
+
tag?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const Box: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "button";
|
|
2
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const defaultTag = "input";
|
|
2
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type" | "value"> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const defaultTag = "code";
|
|
2
|
+
export declare const CodeText: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
|
|
3
|
+
code?: string;
|
|
4
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { Slot } from "./slot";
|
|
2
|
+
export { Fragment } from "./fragment";
|
|
3
|
+
export { HtmlEmbed } from "./html-embed";
|
|
4
|
+
export { MarkdownEmbed } from "./markdown-embed";
|
|
5
|
+
export { Body } from "./body";
|
|
6
|
+
export { Box } from "./box";
|
|
7
|
+
export { Text } from "./text";
|
|
8
|
+
export { Heading } from "./heading";
|
|
9
|
+
export { Paragraph } from "./paragraph";
|
|
10
|
+
export { Link } from "./link";
|
|
11
|
+
export { RichTextLink } from "./rich-text-link";
|
|
12
|
+
export { Span } from "./span";
|
|
13
|
+
export { Bold } from "./bold";
|
|
14
|
+
export { Italic } from "./italic";
|
|
15
|
+
export { Superscript } from "./superscript";
|
|
16
|
+
export { Subscript } from "./subscript";
|
|
17
|
+
export { Button } from "./button";
|
|
18
|
+
export { Input } from "./input";
|
|
19
|
+
export { WebhookForm as Form } from "./webhook-form";
|
|
20
|
+
export { Form as RemixForm } from "./form";
|
|
21
|
+
export { Image } from "./image";
|
|
22
|
+
export { Blockquote } from "./blockquote";
|
|
23
|
+
export { List } from "./list";
|
|
24
|
+
export { ListItem } from "./list-item";
|
|
25
|
+
export { Separator } from "./separator";
|
|
26
|
+
export { CodeText } from "./code-text";
|
|
27
|
+
export { Label } from "./label";
|
|
28
|
+
export { Textarea } from "./textarea";
|
|
29
|
+
export { RadioButton } from "./radio-button";
|
|
30
|
+
export { Checkbox } from "./checkbox";
|
|
31
|
+
export { Vimeo } from "./vimeo";
|
|
32
|
+
export { YouTube } from "./youtube";
|
|
33
|
+
export { VimeoPreviewImage } from "./vimeo-preview-image";
|
|
34
|
+
export { VimeoPlayButton } from "./vimeo-play-button";
|
|
35
|
+
export { VimeoSpinner } from "./vimeo-spinner";
|
|
36
|
+
export { XmlNode } from "./xml-node";
|
|
37
|
+
export { XmlTime } from "./xml-time";
|
|
38
|
+
export { Time } from "./time";
|
|
39
|
+
export { Select } from "./select";
|
|
40
|
+
export { Option } from "./option";
|
|
41
|
+
export { HeadSlot } from "./head-slot";
|
|
42
|
+
export { HeadLink } from "./head-link";
|
|
43
|
+
export { HeadMeta } from "./head-meta";
|
|
44
|
+
export { HeadTitle } from "./head-title";
|
|
45
|
+
export { Video } from "./video";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "form";
|
|
2
|
+
export declare const Form: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import("react").RefAttributes<HTMLFormElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const defaultTag = "link";
|
|
2
|
+
type LinkRel = "alternate" | "author" | "canonical" | "dns-prefetch" | "help" | "icon" | "license" | "manifest" | "modulepreload" | "next" | "nofollow" | "noopener" | "noreferrer" | "opener" | "pingback" | "preconnect" | "prefetch" | "preload" | "prev" | "search" | "stylesheet" | "tag";
|
|
3
|
+
type LinkAs = "audio" | "document" | "embed" | "fetch" | "font" | "image" | "object" | "script" | "style" | "track" | "video" | "worker";
|
|
4
|
+
export declare const HeadLink: import("react").ForwardRefExoticComponent<Omit<{
|
|
5
|
+
rel?: LinkRel;
|
|
6
|
+
as?: LinkAs;
|
|
7
|
+
} & import("react").ClassAttributes<HTMLLinkElement> & import("react").LinkHTMLAttributes<HTMLLinkElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "meta";
|
|
2
|
+
export declare const HeadMeta: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Hook } from "@webstudio-is/react-sdk/runtime";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
export declare const defaultTag = "head";
|
|
4
|
+
export declare const HeadSlot: import("react").ForwardRefExoticComponent<{
|
|
5
|
+
"data-ws-expand"?: boolean;
|
|
6
|
+
} & {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export declare const hooksHeadSlot: Hook;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "title";
|
|
2
|
+
export declare const HeadTitle: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
declare const defaultTag = "h1";
|
|
3
|
+
type Props = ComponentProps<typeof defaultTag> & {
|
|
4
|
+
tag?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const Heading: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const __testing__: {
|
|
2
|
+
scriptTestIdPrefix: string;
|
|
3
|
+
};
|
|
4
|
+
type HtmlEmbedProps = {
|
|
5
|
+
code: string;
|
|
6
|
+
executeScriptOnCanvas?: boolean;
|
|
7
|
+
clientOnly?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
children?: never;
|
|
10
|
+
};
|
|
11
|
+
export declare const HtmlEmbed: import("react").ForwardRefExoticComponent<HtmlEmbedProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { Image as WebstudioImage } from "@webstudio-is/image";
|
|
3
|
+
export declare const defaultTag = "img";
|
|
4
|
+
type Props = Omit<ComponentPropsWithoutRef<typeof WebstudioImage>, "loader">;
|
|
5
|
+
export declare const Image: import("react").ForwardRefExoticComponent<Props & {
|
|
6
|
+
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
7
|
+
} & import("react").RefAttributes<HTMLImageElement>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Input: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "label";
|
|
2
|
+
export declare const Label: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const defaultTag = "a";
|
|
2
|
+
export declare const Link: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "target" | "download"> & {
|
|
3
|
+
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
4
|
+
download?: boolean;
|
|
5
|
+
prefetch?: "none" | "intent" | "render" | "viewport";
|
|
6
|
+
preventScrollReset?: boolean;
|
|
7
|
+
reloadDocument?: boolean;
|
|
8
|
+
replace?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
11
|
+
}, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
declare const unorderedTag = "ul";
|
|
3
|
+
declare const orderedTag = "ol";
|
|
4
|
+
export type ListTag = typeof unorderedTag | typeof orderedTag;
|
|
5
|
+
type Props = ComponentProps<typeof unorderedTag> & ComponentProps<typeof orderedTag> & {
|
|
6
|
+
/** Shows numbers instead of bullets when toggled. See the “List Style Type” property under the “List Item” section in the Style panel for more options. */
|
|
7
|
+
ordered?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const List: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
type MarkdownEmbedProps = ComponentProps<"div"> & {
|
|
3
|
+
code: string;
|
|
4
|
+
children?: never;
|
|
5
|
+
};
|
|
6
|
+
export declare const MarkdownEmbed: import("react").ForwardRefExoticComponent<Omit<MarkdownEmbedProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { meta as Slot } from "./slot.ws";
|
|
2
|
+
export { meta as Fragment } from "./fragment.ws";
|
|
3
|
+
export { meta as HtmlEmbed } from "./html-embed.ws";
|
|
4
|
+
export { meta as MarkdownEmbed } from "./markdown-embed.ws";
|
|
5
|
+
export { meta as Body } from "./body.ws";
|
|
6
|
+
export { meta as Box } from "./box.ws";
|
|
7
|
+
export { meta as Text } from "./text.ws";
|
|
8
|
+
export { meta as Heading } from "./heading.ws";
|
|
9
|
+
export { meta as Paragraph } from "./paragraph.ws";
|
|
10
|
+
export { meta as Link } from "./link.ws";
|
|
11
|
+
export { meta as RichTextLink } from "./rich-text-link.ws";
|
|
12
|
+
export { meta as Span } from "./span.ws";
|
|
13
|
+
export { meta as Bold } from "./bold.ws";
|
|
14
|
+
export { meta as Italic } from "./italic.ws";
|
|
15
|
+
export { meta as Superscript } from "./superscript.ws";
|
|
16
|
+
export { meta as Subscript } from "./subscript.ws";
|
|
17
|
+
export { meta as Button } from "./button.ws";
|
|
18
|
+
export { meta as Input } from "./input.ws";
|
|
19
|
+
export { meta as Form } from "./webhook-form.ws";
|
|
20
|
+
export { meta as RemixForm } from "./form.ws";
|
|
21
|
+
export { meta as Image } from "./image.ws";
|
|
22
|
+
export { meta as Blockquote } from "./blockquote.ws";
|
|
23
|
+
export { meta as List } from "./list.ws";
|
|
24
|
+
export { meta as ListItem } from "./list-item.ws";
|
|
25
|
+
export { meta as Separator } from "./separator.ws";
|
|
26
|
+
export { meta as CodeText } from "./code-text.ws";
|
|
27
|
+
export { meta as Label } from "./label.ws";
|
|
28
|
+
export { meta as Textarea } from "./textarea.ws";
|
|
29
|
+
export { meta as RadioButton } from "./radio-button.ws";
|
|
30
|
+
export { meta as Checkbox } from "./checkbox.ws";
|
|
31
|
+
export { meta as Vimeo } from "./vimeo.ws";
|
|
32
|
+
export { meta as YouTube } from "./youtube.ws";
|
|
33
|
+
export { meta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
34
|
+
export { meta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
35
|
+
export { meta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
36
|
+
export { meta as XmlNode } from "./xml-node.ws";
|
|
37
|
+
export { meta as XmlTime } from "./xml-time.ws";
|
|
38
|
+
export { meta as Time } from "./time.ws";
|
|
39
|
+
export { meta as Select } from "./select.ws";
|
|
40
|
+
export { meta as Option } from "./option.ws";
|
|
41
|
+
export { meta as HeadSlot } from "./head-slot.ws";
|
|
42
|
+
export { meta as HeadLink } from "./head-link.ws";
|
|
43
|
+
export { meta as HeadMeta } from "./head-meta.ws";
|
|
44
|
+
export { meta as HeadTitle } from "./head-title.ws";
|
|
45
|
+
export { meta as Video } from "./video.ws";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Option: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & import("react").RefAttributes<HTMLOptionElement>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "p";
|
|
2
|
+
export declare const Paragraph: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const defaultTag = "input";
|
|
2
|
+
export declare const RadioButton: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type" | "value"> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Link as RichTextLink } from "./link";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type Hook } from "@webstudio-is/react-sdk/runtime";
|
|
2
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
3
|
+
export declare const hooksSelect: Hook;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const requestFullscreen: (element: HTMLIFrameElement) => void;
|
|
2
|
+
export type PlayerStatus = "initial" | "loading" | "ready";
|
|
3
|
+
export declare const VideoContext: import("react").Context<{
|
|
4
|
+
previewImageUrl?: URL;
|
|
5
|
+
onInitPlayer: () => void;
|
|
6
|
+
status: PlayerStatus;
|
|
7
|
+
}>;
|