@webstudio-is/sdk-components-react 0.191.4 → 0.192.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/__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__/heading.props.js +516 -0
- package/lib/__generated__/html-embed.props.js +13 -0
- package/lib/__generated__/image.props.js +592 -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 +568 -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 +586 -0
- package/lib/__generated__/vimeo-spinner.props.js +508 -0
- package/lib/__generated__/vimeo.props.js +674 -0
- package/lib/__generated__/xml-node.props.js +7 -0
- package/lib/__generated__/xml-time.props.js +18 -0
- package/lib/blockquote.js +9 -0
- package/lib/blockquote.ws.js +79 -0
- package/lib/body.js +7 -0
- package/lib/body.ws.js +30 -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.ws.js +43 -0
- package/lib/checkbox.js +15 -0
- package/lib/checkbox.ws.js +58 -0
- package/lib/code-text.js +10 -0
- package/lib/code-text.ws.js +59 -0
- package/lib/components.js +79 -0
- package/lib/content-embed.ws.js +77 -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 +11 -0
- package/lib/heading.js +9 -0
- package/lib/heading.ws.js +44 -0
- package/lib/home_wsKvRSqvkajPPBeycZ-C8.svg +3 -0
- package/lib/hooks.js +5 -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 +40 -0
- package/lib/image.ws.js +65 -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.ws.js +42 -0
- package/lib/link.js +15 -0
- package/lib/link.ws.js +67 -0
- package/lib/list-item.js +9 -0
- package/lib/list-item.ws.js +39 -0
- package/lib/list.js +6 -0
- package/lib/list.ws.js +92 -0
- package/lib/markdown-embed.js +14 -0
- package/lib/markdown-embed.ws.js +111 -0
- package/lib/metas.js +81 -0
- package/lib/option.js +7 -0
- package/lib/option.ws.js +45 -0
- package/lib/paragraph.js +7 -0
- package/lib/paragraph.ws.js +39 -0
- package/lib/props.js +79 -0
- package/lib/radio-button.js +15 -0
- package/lib/radio-button.ws.js +60 -0
- package/lib/rich-text-link.js +8 -0
- package/lib/rich-text-link.ws.js +11 -0
- package/lib/select.js +19 -0
- package/lib/select.ws.js +96 -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 +15 -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/text.js +10 -0
- package/lib/text.ws.js +41 -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 +22 -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__/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__/local-date.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__/xml-node.props.d.ts +2 -0
- package/lib/types/__generated__/xml-time.props.d.ts +2 -0
- package/lib/types/blockquote.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.ws.d.ts +3 -0
- package/lib/types/checkbox.d.ts +4 -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 +39 -0
- package/lib/types/content-embed.ws.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/heading.d.ts +8 -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 +11 -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.ws.d.ts +3 -0
- package/lib/types/link.d.ts +7 -0
- package/lib/types/link.ws.d.ts +3 -0
- package/lib/types/list-item.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.ws.d.ts +3 -0
- package/lib/types/markdown-embed.d.ts +7 -0
- package/lib/types/markdown-embed.ws.d.ts +3 -0
- package/lib/types/metas.d.ts +40 -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.ws.d.ts +3 -0
- package/lib/types/props.d.ts +39 -0
- package/lib/types/radio-button.d.ts +4 -0
- package/lib/types/radio-button.ws.d.ts +3 -0
- package/lib/types/rich-text-link.d.ts +2 -0
- package/lib/types/rich-text-link.ws.d.ts +3 -0
- package/lib/types/select.d.ts +4 -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/test-utils/cartesian.d.ts +2 -0
- package/lib/types/text.d.ts +8 -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 +75 -0
- package/lib/types/vimeo.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/vimeo-play-button.js +15 -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 +19 -0
- package/lib/vimeo-spinner.js +13 -0
- package/lib/vimeo-spinner.ws.js +25 -0
- package/lib/vimeo.js +215 -0
- package/lib/vimeo.ws.js +329 -0
- package/lib/xml-node.js +44 -0
- package/lib/xml-node.ws.js +18 -0
- package/lib/xml-time.js +25 -0
- package/lib/xml-time.ws.js +18 -0
- package/package.json +5 -5
|
@@ -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,11 @@
|
|
|
1
|
+
import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
|
|
2
|
+
export declare const meta: WsComponentMeta;
|
|
3
|
+
export declare const propsOverrides: {
|
|
4
|
+
readonly src: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly control: "file";
|
|
7
|
+
readonly label: "Source";
|
|
8
|
+
readonly required: false;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const propsMeta: WsComponentPropsMeta;
|
|
@@ -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,7 @@
|
|
|
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
|
+
} & {
|
|
6
|
+
$webstudio$canvasOnly$assetId?: string | undefined;
|
|
7
|
+
}, "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,40 @@
|
|
|
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 ContentEmbed } from "./content-embed.ws";
|
|
6
|
+
export { meta as Body } from "./body.ws";
|
|
7
|
+
export { meta as Box } from "./box.ws";
|
|
8
|
+
export { meta as Text } from "./text.ws";
|
|
9
|
+
export { meta as Heading } from "./heading.ws";
|
|
10
|
+
export { meta as Paragraph } from "./paragraph.ws";
|
|
11
|
+
export { meta as Link } from "./link.ws";
|
|
12
|
+
export { meta as RichTextLink } from "./rich-text-link.ws";
|
|
13
|
+
export { meta as Span } from "./span.ws";
|
|
14
|
+
export { meta as Bold } from "./bold.ws";
|
|
15
|
+
export { meta as Italic } from "./italic.ws";
|
|
16
|
+
export { meta as Superscript } from "./superscript.ws";
|
|
17
|
+
export { meta as Subscript } from "./subscript.ws";
|
|
18
|
+
export { meta as Button } from "./button.ws";
|
|
19
|
+
export { meta as Input } from "./input.ws";
|
|
20
|
+
export { meta as Form } from "./form.ws";
|
|
21
|
+
export { meta as RemixForm } from "./form.ws";
|
|
22
|
+
export { meta as Image } from "./image.ws";
|
|
23
|
+
export { meta as Blockquote } from "./blockquote.ws";
|
|
24
|
+
export { meta as List } from "./list.ws";
|
|
25
|
+
export { meta as ListItem } from "./list-item.ws";
|
|
26
|
+
export { meta as Separator } from "./separator.ws";
|
|
27
|
+
export { meta as CodeText } from "./code-text.ws";
|
|
28
|
+
export { meta as Label } from "./label.ws";
|
|
29
|
+
export { meta as Textarea } from "./textarea.ws";
|
|
30
|
+
export { meta as RadioButton } from "./radio-button.ws";
|
|
31
|
+
export { meta as Checkbox } from "./checkbox.ws";
|
|
32
|
+
export { meta as Vimeo } from "./vimeo.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";
|
|
@@ -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,39 @@
|
|
|
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 "./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 VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
33
|
+
export { propsMeta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
34
|
+
export { propsMeta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
35
|
+
export { propsMeta as XmlNode } from "./xml-node.ws";
|
|
36
|
+
export { propsMeta as XmlTime } from "./xml-time.ws";
|
|
37
|
+
export { propsMeta as Time } from "./time.ws";
|
|
38
|
+
export { propsMeta as Select } from "./select.ws";
|
|
39
|
+
export { propsMeta as Option } from "./option.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>, "type" | "value"> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -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,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 {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { defaultTag } from "./button";
|
|
2
|
+
export { defaultTag };
|
|
3
|
+
export declare const VimeoPlayButton: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|