@webstudio-is/sdk-components-react 0.220.0 → 0.221.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__/checkbox.props.js +1 -1
- package/lib/__generated__/markdown-embed.props.js +2 -8
- package/lib/__generated__/radio-button.props.js +1 -1
- package/lib/blockquote.ws.js +6 -8
- package/lib/body.ws.js +5 -19
- package/lib/bold.ws.js +4 -6
- package/lib/box.ws.js +12 -17
- package/lib/button.ws.js +5 -13
- package/lib/checkbox.ws.js +6 -17
- package/lib/code-text.ws.js +6 -11
- package/lib/form.ws.js +6 -11
- package/lib/head-slot.template.js +1 -1
- package/lib/heading.ws.js +7 -9
- package/lib/html-embed.ws.js +1 -1
- package/lib/image.ws.js +8 -10
- package/lib/input.js +18 -14
- package/lib/input.ws.js +6 -23
- package/lib/italic.ws.js +6 -16
- package/lib/label.ws.js +2 -4
- package/lib/link.ws.js +5 -17
- package/lib/list-item.ws.js +0 -2
- package/lib/list.ws.js +7 -9
- package/lib/option.js +3 -1
- package/lib/option.ws.js +1 -1
- package/lib/paragraph.ws.js +2 -4
- package/lib/radio-button.ws.js +8 -20
- package/lib/select.js +27 -14
- package/lib/select.ws.js +4 -13
- package/lib/separator.ws.js +6 -11
- package/lib/slot.ws.js +1 -1
- package/lib/span.ws.js +6 -8
- package/lib/subscript.ws.js +6 -8
- package/lib/superscript.ws.js +6 -8
- package/lib/templates.js +12 -36
- package/lib/text.ws.js +4 -6
- package/lib/textarea.js +16 -5
- package/lib/textarea.ws.js +4 -21
- package/lib/time.ws.js +4 -6
- package/lib/types/blockquote.ws.d.ts +1 -1
- package/lib/types/body.ws.d.ts +1 -1
- package/lib/types/bold.ws.d.ts +1 -1
- package/lib/types/box.ws.d.ts +1 -1
- package/lib/types/button.ws.d.ts +1 -1
- package/lib/types/checkbox.d.ts +1 -1
- package/lib/types/checkbox.ws.d.ts +1 -1
- package/lib/types/code-text.ws.d.ts +1 -1
- package/lib/types/form.ws.d.ts +1 -1
- package/lib/types/heading.ws.d.ts +1 -1
- package/lib/types/image.ws.d.ts +1 -1
- package/lib/types/input.d.ts +1 -4
- package/lib/types/input.ws.d.ts +1 -1
- package/lib/types/italic.ws.d.ts +1 -1
- package/lib/types/label.ws.d.ts +1 -1
- package/lib/types/link.ws.d.ts +1 -1
- package/lib/types/list-item.ws.d.ts +1 -1
- package/lib/types/list.ws.d.ts +1 -1
- package/lib/types/markdown-embed.d.ts +3 -3
- package/lib/types/option.d.ts +0 -1
- package/lib/types/paragraph.ws.d.ts +1 -1
- package/lib/types/radio-button.d.ts +1 -1
- package/lib/types/radio-button.ws.d.ts +1 -1
- package/lib/types/select.d.ts +0 -1
- package/lib/types/select.ws.d.ts +1 -1
- package/lib/types/separator.ws.d.ts +1 -1
- package/lib/types/span.ws.d.ts +1 -1
- package/lib/types/subscript.ws.d.ts +1 -1
- package/lib/types/superscript.ws.d.ts +1 -1
- package/lib/types/templates.d.ts +0 -12
- package/lib/types/text.ws.d.ts +1 -1
- package/lib/types/textarea.d.ts +0 -1
- package/lib/types/textarea.ws.d.ts +1 -1
- package/lib/types/time.ws.d.ts +1 -1
- package/lib/types/vimeo-play-button.ws.d.ts +1 -1
- package/lib/types/vimeo-preview-image.d.ts +21 -21
- package/lib/types/vimeo-spinner.ws.d.ts +1 -1
- package/lib/types/vimeo.ws.d.ts +1 -1
- package/lib/types/youtube.ws.d.ts +1 -1
- package/lib/vimeo-play-button.ws.js +8 -10
- package/lib/vimeo-spinner.ws.js +6 -8
- package/lib/vimeo.template.js +22 -21
- package/lib/vimeo.ws.js +6 -8
- package/lib/webhook-form.template.js +61 -22
- package/lib/youtube.template.js +16 -15
- package/lib/youtube.ws.js +4 -6
- package/package.json +6 -6
- package/lib/blockquote.template.js +0 -11
- package/lib/button.template.js +0 -11
- package/lib/checkbox.template.js +0 -14
- package/lib/heading.template.js +0 -11
- package/lib/label.template.js +0 -10
- package/lib/link.template.js +0 -11
- package/lib/list-item.template.js +0 -11
- package/lib/list.template.js +0 -15
- package/lib/paragraph.template.js +0 -11
- package/lib/radio-button.template.js +0 -14
- package/lib/select.template.js +0 -16
- package/lib/text.template.js +0 -11
- package/lib/types/blockquote.template.d.ts +0 -2
- package/lib/types/button.template.d.ts +0 -2
- package/lib/types/checkbox.template.d.ts +0 -2
- package/lib/types/heading.template.d.ts +0 -2
- package/lib/types/label.template.d.ts +0 -2
- package/lib/types/link.template.d.ts +0 -2
- package/lib/types/list-item.template.d.ts +0 -2
- package/lib/types/list.template.d.ts +0 -2
- package/lib/types/paragraph.template.d.ts +0 -2
- package/lib/types/radio-button.template.d.ts +0 -2
- package/lib/types/select.template.d.ts +0 -2
- package/lib/types/text.template.d.ts +0 -2
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { $ as t } from "@webstudio-is/template";
|
|
3
|
-
const a = {
|
|
4
|
-
category: "typography",
|
|
5
|
-
description: "A container for multi-line text.",
|
|
6
|
-
order: 2,
|
|
7
|
-
template: /* @__PURE__ */ r(t.Paragraph, {})
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
a as meta
|
|
11
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { $ as e, PlaceholderValue as a } from "@webstudio-is/template";
|
|
3
|
-
const r = {
|
|
4
|
-
category: "forms",
|
|
5
|
-
description: "Use within a form to allow your users to select a single option from a set of mutually exclusive choices. Group multiple radios by matching their “Name” properties.",
|
|
6
|
-
order: 5,
|
|
7
|
-
template: /* @__PURE__ */ t(e.Label, { "ws:label": "Radio Field", children: [
|
|
8
|
-
/* @__PURE__ */ o(e.RadioButton, {}),
|
|
9
|
-
/* @__PURE__ */ o(e.Text, { "ws:label": "Radio Label", "ws:tag": "span", children: new a("Radio") })
|
|
10
|
-
] })
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
r as meta
|
|
14
|
-
};
|
package/lib/select.template.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { $ as e } from "@webstudio-is/template";
|
|
3
|
-
const n = {
|
|
4
|
-
category: "forms",
|
|
5
|
-
description: "A drop-down menu for users to select a single option from a predefined list.",
|
|
6
|
-
order: 4,
|
|
7
|
-
template: /* @__PURE__ */ t(e.Select, { children: [
|
|
8
|
-
/* @__PURE__ */ o(e.Option, { label: "Please choose an option", value: "" }),
|
|
9
|
-
/* @__PURE__ */ o(e.Option, { label: "Option A", value: "a" }),
|
|
10
|
-
/* @__PURE__ */ o(e.Option, { label: "Option B", value: "b" }),
|
|
11
|
-
/* @__PURE__ */ o(e.Option, { label: "Option C", value: "c" })
|
|
12
|
-
] })
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
n as meta
|
|
16
|
-
};
|
package/lib/text.template.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { $ as t, PlaceholderValue as o } from "@webstudio-is/template";
|
|
3
|
-
const a = {
|
|
4
|
-
category: "typography",
|
|
5
|
-
description: "A generic container for any text content that is not a heading or a link.",
|
|
6
|
-
order: 0,
|
|
7
|
-
template: /* @__PURE__ */ e(t.Text, { children: new o("The text you can edit") })
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
a as meta
|
|
11
|
-
};
|