@webstudio-is/sdk-components-react 0.0.0-021f2d4
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 +514 -0
- package/lib/__generated__/body.props.js +508 -0
- package/lib/__generated__/bold.props.js +508 -0
- package/lib/__generated__/box.props.js +527 -0
- package/lib/__generated__/button.props.js +570 -0
- package/lib/__generated__/checkbox.props.js +672 -0
- package/lib/__generated__/code-text.props.js +509 -0
- package/lib/__generated__/form.props.js +556 -0
- package/lib/__generated__/head-link.props.js +620 -0
- package/lib/__generated__/head-meta.props.js +532 -0
- package/lib/__generated__/head-title.props.js +508 -0
- package/lib/__generated__/head.props.js +508 -0
- package/lib/__generated__/heading.props.js +516 -0
- package/lib/__generated__/html-embed.props.js +13 -0
- package/lib/__generated__/image.props.js +593 -0
- package/lib/__generated__/input.props.js +696 -0
- package/lib/__generated__/italic.props.js +508 -0
- package/lib/__generated__/label.props.js +520 -0
- package/lib/__generated__/link.props.js +578 -0
- package/lib/__generated__/list-item.props.js +514 -0
- package/lib/__generated__/list.props.js +534 -0
- package/lib/__generated__/markdown-embed.props.js +7 -0
- package/lib/__generated__/option.props.js +532 -0
- package/lib/__generated__/paragraph.props.js +508 -0
- package/lib/__generated__/radio-button.props.js +672 -0
- package/lib/__generated__/select.props.js +556 -0
- package/lib/__generated__/separator.props.js +508 -0
- package/lib/__generated__/span.props.js +508 -0
- package/lib/__generated__/subscript.props.js +508 -0
- package/lib/__generated__/superscript.props.js +508 -0
- package/lib/__generated__/text.props.js +516 -0
- package/lib/__generated__/textarea.props.js +587 -0
- package/lib/__generated__/time.props.js +312 -0
- package/lib/__generated__/vimeo-play-button.props.js +569 -0
- package/lib/__generated__/vimeo-preview-image.props.js +591 -0
- package/lib/__generated__/vimeo-spinner.props.js +508 -0
- package/lib/__generated__/vimeo.props.js +673 -0
- package/lib/__generated__/webhook-form.props.js +569 -0
- package/lib/__generated__/xml-node.props.js +21 -0
- package/lib/__generated__/xml-time.props.js +18 -0
- package/lib/__generated__/youtube.props.js +665 -0
- package/lib/blockquote.js +9 -0
- package/lib/blockquote.template.js +11 -0
- package/lib/blockquote.ws.js +63 -0
- package/lib/body.js +7 -0
- package/lib/body.ws.js +29 -0
- package/lib/bold.js +7 -0
- package/lib/bold.ws.js +20 -0
- package/lib/box.js +9 -0
- package/lib/box.ws.js +31 -0
- package/lib/button.js +9 -0
- package/lib/button.template.js +11 -0
- package/lib/button.ws.js +27 -0
- package/lib/checkbox.js +15 -0
- package/lib/checkbox.template.js +14 -0
- package/lib/checkbox.ws.js +38 -0
- package/lib/code-text.js +10 -0
- package/lib/code-text.ws.js +59 -0
- package/lib/components.js +89 -0
- package/lib/content-embed.template.js +83 -0
- package/lib/form.js +7 -0
- package/lib/form.ws.js +30 -0
- package/lib/fragment.js +7 -0
- package/lib/fragment.ws.js +10 -0
- package/lib/head-link.js +23 -0
- package/lib/head-link.ws.js +19 -0
- package/lib/head-meta.js +23 -0
- package/lib/head-meta.ws.js +19 -0
- package/lib/head-slot.js +54 -0
- package/lib/head-slot.template.js +15 -0
- package/lib/head-slot.ws.js +25 -0
- package/lib/head-title.js +23 -0
- package/lib/head-title.ws.js +18 -0
- package/lib/heading.js +9 -0
- package/lib/heading.template.js +11 -0
- package/lib/heading.ws.js +28 -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 +46 -0
- package/lib/image.js +38 -0
- package/lib/image.ws.js +60 -0
- package/lib/input.js +17 -0
- package/lib/input.ws.js +54 -0
- package/lib/italic.js +7 -0
- package/lib/italic.ws.js +26 -0
- package/lib/label.js +7 -0
- package/lib/label.template.js +10 -0
- package/lib/label.ws.js +27 -0
- package/lib/link.js +15 -0
- package/lib/link.template.js +11 -0
- package/lib/link.ws.js +47 -0
- package/lib/list-item.js +9 -0
- package/lib/list-item.template.js +11 -0
- package/lib/list-item.ws.js +26 -0
- package/lib/list.js +6 -0
- package/lib/list.template.js +15 -0
- package/lib/list.ws.js +48 -0
- package/lib/markdown-embed.js +19 -0
- package/lib/markdown-embed.template.js +75 -0
- package/lib/markdown-embed.ws.js +33 -0
- package/lib/metas.js +90 -0
- package/lib/option.js +7 -0
- package/lib/option.ws.js +44 -0
- package/lib/paragraph.js +7 -0
- package/lib/paragraph.template.js +11 -0
- package/lib/paragraph.ws.js +23 -0
- package/lib/props.js +90 -0
- package/lib/radio-button.js +15 -0
- package/lib/radio-button.template.js +14 -0
- package/lib/radio-button.ws.js +40 -0
- package/lib/rich-text-link.ws.js +9 -0
- package/lib/select.js +19 -0
- package/lib/select.template.js +16 -0
- package/lib/select.ws.js +44 -0
- package/lib/separator.js +9 -0
- package/lib/separator.ws.js +48 -0
- package/lib/slot.js +14 -0
- package/lib/slot.ws.js +14 -0
- package/lib/span.js +7 -0
- package/lib/span.ws.js +20 -0
- package/lib/subscript.js +7 -0
- package/lib/subscript.ws.js +20 -0
- package/lib/superscript.js +7 -0
- package/lib/superscript.ws.js +20 -0
- package/lib/templates.js +38 -0
- package/lib/text.js +10 -0
- package/lib/text.template.js +11 -0
- package/lib/text.ws.js +25 -0
- package/lib/textarea.js +7 -0
- package/lib/textarea.ws.js +55 -0
- package/lib/time.js +319 -0
- package/lib/time.ws.js +21 -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__/head.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__/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.template.d.ts +2 -0
- package/lib/types/blockquote.ws.d.ts +3 -0
- package/lib/types/body.d.ts +2 -0
- package/lib/types/body.ws.d.ts +3 -0
- package/lib/types/bold.d.ts +2 -0
- package/lib/types/bold.ws.d.ts +3 -0
- package/lib/types/box.d.ts +8 -0
- package/lib/types/box.ws.d.ts +3 -0
- package/lib/types/button.d.ts +2 -0
- package/lib/types/button.template.d.ts +2 -0
- package/lib/types/button.ws.d.ts +3 -0
- package/lib/types/checkbox.d.ts +4 -0
- package/lib/types/checkbox.template.d.ts +2 -0
- package/lib/types/checkbox.ws.d.ts +3 -0
- package/lib/types/code-text.d.ts +4 -0
- package/lib/types/code-text.ws.d.ts +3 -0
- package/lib/types/components.d.ts +44 -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 +3 -0
- package/lib/types/fragment.d.ts +6 -0
- package/lib/types/fragment.ws.d.ts +3 -0
- package/lib/types/head-link.d.ts +8 -0
- package/lib/types/head-link.ws.d.ts +3 -0
- package/lib/types/head-meta.d.ts +2 -0
- package/lib/types/head-meta.ws.d.ts +3 -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 +3 -0
- package/lib/types/head-title.d.ts +2 -0
- package/lib/types/head-title.ws.d.ts +3 -0
- package/lib/types/heading.d.ts +8 -0
- package/lib/types/heading.template.d.ts +2 -0
- package/lib/types/heading.ws.d.ts +3 -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 +3 -0
- package/lib/types/image.d.ts +8 -0
- package/lib/types/image.ws.d.ts +3 -0
- package/lib/types/input.d.ts +4 -0
- package/lib/types/input.ws.d.ts +3 -0
- package/lib/types/italic.d.ts +2 -0
- package/lib/types/italic.ws.d.ts +3 -0
- package/lib/types/label.d.ts +2 -0
- package/lib/types/label.template.d.ts +2 -0
- package/lib/types/label.ws.d.ts +3 -0
- package/lib/types/link.d.ts +11 -0
- package/lib/types/link.template.d.ts +2 -0
- package/lib/types/link.ws.d.ts +3 -0
- package/lib/types/list-item.d.ts +2 -0
- package/lib/types/list-item.template.d.ts +2 -0
- package/lib/types/list-item.ws.d.ts +3 -0
- package/lib/types/list.d.ts +10 -0
- package/lib/types/list.template.d.ts +2 -0
- package/lib/types/list.ws.d.ts +3 -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 +3 -0
- package/lib/types/metas.d.ts +44 -0
- package/lib/types/option.d.ts +2 -0
- package/lib/types/option.ws.d.ts +3 -0
- package/lib/types/paragraph.d.ts +2 -0
- package/lib/types/paragraph.template.d.ts +2 -0
- package/lib/types/paragraph.ws.d.ts +3 -0
- package/lib/types/props.d.ts +44 -0
- package/lib/types/radio-button.d.ts +4 -0
- package/lib/types/radio-button.template.d.ts +2 -0
- package/lib/types/radio-button.ws.d.ts +3 -0
- package/lib/types/rich-text-link.d.ts +1 -0
- package/lib/types/rich-text-link.ws.d.ts +3 -0
- package/lib/types/select.d.ts +4 -0
- package/lib/types/select.template.d.ts +2 -0
- package/lib/types/select.ws.d.ts +3 -0
- package/lib/types/separator.d.ts +2 -0
- package/lib/types/separator.ws.d.ts +3 -0
- package/lib/types/slot.d.ts +6 -0
- package/lib/types/slot.ws.d.ts +3 -0
- package/lib/types/span.d.ts +2 -0
- package/lib/types/span.ws.d.ts +3 -0
- package/lib/types/subscript.d.ts +2 -0
- package/lib/types/subscript.ws.d.ts +3 -0
- package/lib/types/superscript.d.ts +2 -0
- package/lib/types/superscript.ws.d.ts +3 -0
- package/lib/types/templates.d.ts +18 -0
- package/lib/types/test-utils/cartesian.d.ts +2 -0
- package/lib/types/text.d.ts +8 -0
- package/lib/types/text.template.d.ts +2 -0
- package/lib/types/text.ws.d.ts +3 -0
- package/lib/types/textarea.d.ts +2 -0
- package/lib/types/textarea.ws.d.ts +3 -0
- package/lib/types/time.d.ts +18 -0
- package/lib/types/time.test.d.ts +1 -0
- package/lib/types/time.ws.d.ts +3 -0
- package/lib/types/vimeo-play-button.d.ts +3 -0
- package/lib/types/vimeo-play-button.ws.d.ts +3 -0
- package/lib/types/vimeo-preview-image.d.ts +284 -0
- package/lib/types/vimeo-preview-image.ws.d.ts +3 -0
- package/lib/types/vimeo-spinner.d.ts +1 -0
- package/lib/types/vimeo-spinner.ws.d.ts +3 -0
- package/lib/types/vimeo.d.ts +85 -0
- package/lib/types/vimeo.template.d.ts +2 -0
- package/lib/types/vimeo.ws.d.ts +3 -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 +3 -0
- package/lib/types/xml-node.d.ts +13 -0
- package/lib/types/xml-node.ws.d.ts +3 -0
- package/lib/types/xml-time.d.ts +6 -0
- package/lib/types/xml-time.ws.d.ts +3 -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 +3 -0
- package/lib/vimeo-play-button.js +18 -0
- package/lib/vimeo-play-button.ws.js +31 -0
- package/lib/vimeo-preview-image.js +19 -0
- package/lib/vimeo-preview-image.ws.js +27 -0
- package/lib/vimeo-spinner.js +13 -0
- package/lib/vimeo-spinner.ws.js +25 -0
- package/lib/vimeo.js +216 -0
- package/lib/vimeo.template.js +93 -0
- package/lib/vimeo.ws.js +40 -0
- package/lib/webhook-form.js +9 -0
- package/lib/webhook-form.template.js +49 -0
- package/lib/webhook-form.ws.js +26 -0
- package/lib/xml-node.js +60 -0
- package/lib/xml-node.ws.js +16 -0
- package/lib/xml-time.js +25 -0
- package/lib/xml-time.ws.js +16 -0
- package/lib/youtube.js +206 -0
- package/lib/youtube.template.js +97 -0
- package/lib/youtube.ws.js +51 -0
- package/package.json +77 -0
|
@@ -0,0 +1,44 @@
|
|
|
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";
|
|
@@ -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,8 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
declare const defaultTag = "h1";
|
|
3
|
+
type Props = ComponentProps<typeof defaultTag> & {
|
|
4
|
+
/** Use HTML heading levels (h1-h6) to structure content hierarchically, with h1 as the main title and subsequent levels representing sub-sections. Maintain a logical order and avoid skipping levels to ensure consistent and meaningful organization. */
|
|
5
|
+
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
|
+
};
|
|
7
|
+
export declare const Heading: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
8
|
+
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,4 @@
|
|
|
1
|
+
export declare const defaultTag = "input";
|
|
2
|
+
export declare const Input: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
type?: "color" | "date" | "datetime-local" | "email" | "hidden" | "month" | "number" | "password" | "range" | "search" | "tel" | "text" | "time" | "url" | "week";
|
|
4
|
+
}, "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,44 @@
|
|
|
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";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "option";
|
|
2
|
+
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,44 @@
|
|
|
1
|
+
export { propsMeta as Slot } from "./slot.ws";
|
|
2
|
+
export { propsMeta as Fragment } from "./fragment.ws";
|
|
3
|
+
export { propsMeta as HtmlEmbed } from "./html-embed.ws";
|
|
4
|
+
export { propsMeta as MarkdownEmbed } from "./markdown-embed.ws";
|
|
5
|
+
export { propsMeta as Body } from "./body.ws";
|
|
6
|
+
export { propsMeta as Box } from "./box.ws";
|
|
7
|
+
export { propsMeta as Text } from "./text.ws";
|
|
8
|
+
export { propsMeta as Heading } from "./heading.ws";
|
|
9
|
+
export { propsMeta as Paragraph } from "./paragraph.ws";
|
|
10
|
+
export { propsMeta as Link } from "./link.ws";
|
|
11
|
+
export { propsMeta as RichTextLink } from "./rich-text-link.ws";
|
|
12
|
+
export { propsMeta as Span } from "./span.ws";
|
|
13
|
+
export { propsMeta as Bold } from "./bold.ws";
|
|
14
|
+
export { propsMeta as Italic } from "./italic.ws";
|
|
15
|
+
export { propsMeta as Superscript } from "./superscript.ws";
|
|
16
|
+
export { propsMeta as Subscript } from "./subscript.ws";
|
|
17
|
+
export { propsMeta as Button } from "./button.ws";
|
|
18
|
+
export { propsMeta as Input } from "./input.ws";
|
|
19
|
+
export { propsMeta as Form } from "./webhook-form.ws";
|
|
20
|
+
export { propsMeta as RemixForm } from "./form.ws";
|
|
21
|
+
export { propsMeta as Image } from "./image.ws";
|
|
22
|
+
export { propsMeta as Blockquote } from "./blockquote.ws";
|
|
23
|
+
export { propsMeta as List } from "./list.ws";
|
|
24
|
+
export { propsMeta as ListItem } from "./list-item.ws";
|
|
25
|
+
export { propsMeta as Separator } from "./separator.ws";
|
|
26
|
+
export { propsMeta as CodeText } from "./code-text.ws";
|
|
27
|
+
export { propsMeta as Label } from "./label.ws";
|
|
28
|
+
export { propsMeta as Textarea } from "./textarea.ws";
|
|
29
|
+
export { propsMeta as RadioButton } from "./radio-button.ws";
|
|
30
|
+
export { propsMeta as Checkbox } from "./checkbox.ws";
|
|
31
|
+
export { propsMeta as Vimeo } from "./vimeo.ws";
|
|
32
|
+
export { propsMeta as YouTube } from "./youtube.ws";
|
|
33
|
+
export { propsMeta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
34
|
+
export { propsMeta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
35
|
+
export { propsMeta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
36
|
+
export { propsMeta as XmlNode } from "./xml-node.ws";
|
|
37
|
+
export { propsMeta as XmlTime } from "./xml-time.ws";
|
|
38
|
+
export { propsMeta as Time } from "./time.ws";
|
|
39
|
+
export { propsMeta as Select } from "./select.ws";
|
|
40
|
+
export { propsMeta as Option } from "./option.ws";
|
|
41
|
+
export { propsMeta as HeadSlot } from "./head-slot.ws";
|
|
42
|
+
export { propsMeta as HeadLink } from "./head-link.ws";
|
|
43
|
+
export { propsMeta as HeadMeta } from "./head-meta.ws";
|
|
44
|
+
export { propsMeta as HeadTitle } from "./head-title.ws";
|
|
@@ -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>, "value" | "type"> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Link as RichTextLink } from "./link";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Hook } from "@webstudio-is/react-sdk/runtime";
|
|
2
|
+
export declare const defaultTag = "select";
|
|
3
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
4
|
+
export declare const hooksSelect: Hook;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { meta as ContentEmbed } from "./content-embed.template";
|
|
2
|
+
export { meta as MarkdownEmbed } from "./markdown-embed.template";
|
|
3
|
+
export { meta as Text } from "./text.template";
|
|
4
|
+
export { meta as Heading } from "./heading.template";
|
|
5
|
+
export { meta as Paragraph } from "./paragraph.template";
|
|
6
|
+
export { meta as Link } from "./link.template";
|
|
7
|
+
export { meta as Button } from "./button.template";
|
|
8
|
+
export { meta as Form } from "./webhook-form.template";
|
|
9
|
+
export { meta as Blockquote } from "./blockquote.template";
|
|
10
|
+
export { meta as List } from "./list.template";
|
|
11
|
+
export { meta as ListItem } from "./list-item.template";
|
|
12
|
+
export { meta as Label } from "./label.template";
|
|
13
|
+
export { meta as RadioButton } from "./radio-button.template";
|
|
14
|
+
export { meta as Checkbox } from "./checkbox.template";
|
|
15
|
+
export { meta as Vimeo } from "./vimeo.template";
|
|
16
|
+
export { meta as YouTube } from "./youtube.template";
|
|
17
|
+
export { meta as Select } from "./select.template";
|
|
18
|
+
export { meta as HeadSlot } from "./head-slot.template";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export declare const defaultTag = "div";
|
|
3
|
+
type Props = ComponentProps<typeof defaultTag> & {
|
|
4
|
+
/** Use this property to change the HTML tag of this element to semantically structure and describe the content of a webpage. This can be important for accessibility tools and search engine optimization. */
|
|
5
|
+
tag?: "div" | "span" | "figcaption" | "cite";
|
|
6
|
+
};
|
|
7
|
+
export declare const Text: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTag = "textarea";
|
|
2
|
+
export declare const Textarea: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const languages: readonly ["af", "am", "ar", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "es", "et", "eu", "fa", "fi", "fr", "ga", "gl", "gu", "he", "hi", "hr", "hu", "hy", "id", "is", "it", "ja", "ka", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "mt", "nb", "nl", "nn", "pl", "pt", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "te", "th", "tr", "uk", "ur", "uz", "vi", "zh"];
|
|
2
|
+
declare const countries: readonly ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VA", "VE", "VN", "YE", "ZM", "ZW"];
|
|
3
|
+
type Language = (typeof languages)[number];
|
|
4
|
+
type Country = (typeof countries)[number];
|
|
5
|
+
type DateStyle = Intl.DateTimeFormatOptions["dateStyle"] | "none";
|
|
6
|
+
type TimeStyle = Intl.DateTimeFormatOptions["timeStyle"] | "none";
|
|
7
|
+
type TimeProps = {
|
|
8
|
+
datetime?: string;
|
|
9
|
+
language?: Language;
|
|
10
|
+
country?: Country;
|
|
11
|
+
dateStyle?: DateStyle;
|
|
12
|
+
timeStyle?: TimeStyle;
|
|
13
|
+
};
|
|
14
|
+
export declare const Time: import("react").ForwardRefExoticComponent<TimeProps & import("react").RefAttributes<HTMLTimeElement>>;
|
|
15
|
+
export declare const __testing__: {
|
|
16
|
+
parseDate: (datetimeString: string) => Date | undefined;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|