@webstudio-is/sdk-components-react 0.219.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.
Files changed (141) hide show
  1. package/lib/__generated__/checkbox.props.js +1 -1
  2. package/lib/__generated__/markdown-embed.props.js +2 -8
  3. package/lib/__generated__/radio-button.props.js +1 -1
  4. package/lib/__generated__/time.props.js +0 -7
  5. package/lib/blockquote.ws.js +7 -14
  6. package/lib/body.ws.js +6 -24
  7. package/lib/bold.ws.js +7 -15
  8. package/lib/box.ws.js +16 -25
  9. package/lib/button.ws.js +7 -19
  10. package/lib/checkbox.ws.js +8 -21
  11. package/lib/code-text.ws.js +10 -17
  12. package/lib/form.ws.js +7 -16
  13. package/lib/fragment.ws.js +2 -7
  14. package/lib/head-link.ws.js +6 -9
  15. package/lib/head-meta.ws.js +5 -8
  16. package/lib/head-slot.template.js +1 -1
  17. package/lib/head-slot.ws.js +3 -7
  18. package/lib/head-title.ws.js +2 -4
  19. package/lib/heading.ws.js +14 -21
  20. package/lib/html-embed.ws.js +6 -8
  21. package/lib/image.ws.js +20 -26
  22. package/lib/input.js +18 -14
  23. package/lib/input.ws.js +10 -31
  24. package/lib/italic.ws.js +7 -21
  25. package/lib/label.ws.js +6 -12
  26. package/lib/link.ws.js +11 -28
  27. package/lib/list-item.ws.js +6 -15
  28. package/lib/list.ws.js +9 -15
  29. package/lib/markdown-embed.ws.js +6 -8
  30. package/lib/option.js +3 -1
  31. package/lib/option.ws.js +6 -10
  32. package/lib/paragraph.ws.js +7 -16
  33. package/lib/radio-button.ws.js +9 -23
  34. package/lib/rich-text-link.ws.js +3 -4
  35. package/lib/select.js +27 -14
  36. package/lib/select.ws.js +10 -23
  37. package/lib/separator.ws.js +9 -18
  38. package/lib/slot.ws.js +5 -8
  39. package/lib/span.ws.js +7 -13
  40. package/lib/subscript.ws.js +7 -15
  41. package/lib/superscript.ws.js +7 -15
  42. package/lib/templates.js +12 -36
  43. package/lib/text.ws.js +8 -12
  44. package/lib/textarea.js +16 -5
  45. package/lib/textarea.ws.js +11 -32
  46. package/lib/time.js +2 -1
  47. package/lib/time.ws.js +12 -14
  48. package/lib/types/blockquote.ws.d.ts +1 -2
  49. package/lib/types/body.ws.d.ts +1 -2
  50. package/lib/types/bold.ws.d.ts +1 -2
  51. package/lib/types/box.ws.d.ts +1 -2
  52. package/lib/types/button.ws.d.ts +1 -2
  53. package/lib/types/checkbox.d.ts +1 -1
  54. package/lib/types/checkbox.ws.d.ts +1 -2
  55. package/lib/types/code-text.ws.d.ts +1 -2
  56. package/lib/types/form.ws.d.ts +1 -2
  57. package/lib/types/fragment.ws.d.ts +1 -2
  58. package/lib/types/head-link.ws.d.ts +1 -2
  59. package/lib/types/head-meta.ws.d.ts +1 -2
  60. package/lib/types/head-slot.ws.d.ts +1 -2
  61. package/lib/types/head-title.ws.d.ts +1 -2
  62. package/lib/types/heading.ws.d.ts +1 -2
  63. package/lib/types/html-embed.ws.d.ts +1 -2
  64. package/lib/types/image.ws.d.ts +1 -2
  65. package/lib/types/input.d.ts +1 -4
  66. package/lib/types/input.ws.d.ts +1 -2
  67. package/lib/types/italic.ws.d.ts +1 -2
  68. package/lib/types/label.ws.d.ts +1 -2
  69. package/lib/types/link.ws.d.ts +1 -2
  70. package/lib/types/list-item.ws.d.ts +1 -2
  71. package/lib/types/list.ws.d.ts +1 -2
  72. package/lib/types/markdown-embed.d.ts +3 -3
  73. package/lib/types/markdown-embed.ws.d.ts +1 -2
  74. package/lib/types/option.d.ts +0 -1
  75. package/lib/types/option.ws.d.ts +1 -2
  76. package/lib/types/paragraph.ws.d.ts +1 -2
  77. package/lib/types/radio-button.d.ts +1 -1
  78. package/lib/types/radio-button.ws.d.ts +1 -2
  79. package/lib/types/rich-text-link.ws.d.ts +1 -2
  80. package/lib/types/select.d.ts +0 -1
  81. package/lib/types/select.ws.d.ts +1 -2
  82. package/lib/types/separator.ws.d.ts +1 -2
  83. package/lib/types/slot.ws.d.ts +1 -2
  84. package/lib/types/span.ws.d.ts +1 -2
  85. package/lib/types/subscript.ws.d.ts +1 -2
  86. package/lib/types/superscript.ws.d.ts +1 -2
  87. package/lib/types/templates.d.ts +0 -12
  88. package/lib/types/text.ws.d.ts +1 -2
  89. package/lib/types/textarea.d.ts +0 -1
  90. package/lib/types/textarea.ws.d.ts +1 -2
  91. package/lib/types/time.d.ts +2 -4
  92. package/lib/types/time.ws.d.ts +1 -2
  93. package/lib/types/video.ws.d.ts +1 -2
  94. package/lib/types/vimeo-play-button.ws.d.ts +1 -2
  95. package/lib/types/vimeo-preview-image.d.ts +21 -21
  96. package/lib/types/vimeo-preview-image.ws.d.ts +1 -2
  97. package/lib/types/vimeo-spinner.ws.d.ts +1 -2
  98. package/lib/types/vimeo.ws.d.ts +1 -2
  99. package/lib/types/webhook-form.ws.d.ts +1 -2
  100. package/lib/types/xml-node.ws.d.ts +1 -2
  101. package/lib/types/xml-time.ws.d.ts +1 -2
  102. package/lib/types/youtube.ws.d.ts +1 -2
  103. package/lib/video.ws.js +14 -17
  104. package/lib/vimeo-play-button.ws.js +9 -15
  105. package/lib/vimeo-preview-image.ws.js +6 -8
  106. package/lib/vimeo-spinner.ws.js +7 -13
  107. package/lib/vimeo.template.js +22 -21
  108. package/lib/vimeo.ws.js +13 -19
  109. package/lib/webhook-form.template.js +61 -22
  110. package/lib/webhook-form.ws.js +4 -6
  111. package/lib/xml-node.ws.js +5 -7
  112. package/lib/xml-time.ws.js +5 -7
  113. package/lib/youtube.template.js +16 -15
  114. package/lib/youtube.ws.js +13 -19
  115. package/package.json +8 -13
  116. package/lib/blockquote.template.js +0 -11
  117. package/lib/button.template.js +0 -11
  118. package/lib/checkbox.template.js +0 -14
  119. package/lib/heading.template.js +0 -11
  120. package/lib/label.template.js +0 -10
  121. package/lib/link.template.js +0 -11
  122. package/lib/list-item.template.js +0 -11
  123. package/lib/list.template.js +0 -15
  124. package/lib/paragraph.template.js +0 -11
  125. package/lib/props.js +0 -92
  126. package/lib/radio-button.template.js +0 -14
  127. package/lib/select.template.js +0 -16
  128. package/lib/text.template.js +0 -11
  129. package/lib/types/blockquote.template.d.ts +0 -2
  130. package/lib/types/button.template.d.ts +0 -2
  131. package/lib/types/checkbox.template.d.ts +0 -2
  132. package/lib/types/heading.template.d.ts +0 -2
  133. package/lib/types/label.template.d.ts +0 -2
  134. package/lib/types/link.template.d.ts +0 -2
  135. package/lib/types/list-item.template.d.ts +0 -2
  136. package/lib/types/list.template.d.ts +0 -2
  137. package/lib/types/paragraph.template.d.ts +0 -2
  138. package/lib/types/props.d.ts +0 -45
  139. package/lib/types/radio-button.template.d.ts +0 -2
  140. package/lib/types/select.template.d.ts +0 -2
  141. package/lib/types/text.template.d.ts +0 -2
@@ -1,13 +1,13 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { SpinnerIcon as r, PlayIcon as l } from "@webstudio-is/icons/svg";
3
- import { $ as e, css as o } from "@webstudio-is/template";
4
- const p = {
3
+ import { $ as t, css as o, ws as a } from "@webstudio-is/template";
4
+ const d = {
5
5
  label: "YouTube",
6
6
  category: "media",
7
7
  order: 1,
8
8
  description: "Add a video to your page that is hosted on YouTube. Paste a YouTube URL and configure the video in the Settings tab.",
9
9
  template: /* @__PURE__ */ i(
10
- e.YouTube,
10
+ t.YouTube,
11
11
  {
12
12
  "ws:label": "YouTube",
13
13
  "ws:style": o`
@@ -16,8 +16,8 @@ const p = {
16
16
  width: 100%;
17
17
  `,
18
18
  children: [
19
- /* @__PURE__ */ t(
20
- e.VimeoPreviewImage,
19
+ /* @__PURE__ */ e(
20
+ t.VimeoPreviewImage,
21
21
  {
22
22
  "ws:label": "Preview Image",
23
23
  "ws:style": o`
@@ -33,8 +33,8 @@ const p = {
33
33
  optimize: !0
34
34
  }
35
35
  ),
36
- /* @__PURE__ */ t(
37
- e.VimeoSpinner,
36
+ /* @__PURE__ */ e(
37
+ t.VimeoSpinner,
38
38
  {
39
39
  "ws:label": "Spinner",
40
40
  "ws:style": o`
@@ -46,11 +46,11 @@ const p = {
46
46
  margin-top: -35px;
47
47
  margin-left: -35px;
48
48
  `,
49
- children: /* @__PURE__ */ t(e.HtmlEmbed, { "ws:label": "Spinner SVG", code: r })
49
+ children: /* @__PURE__ */ e(t.HtmlEmbed, { "ws:label": "Spinner SVG", code: r })
50
50
  }
51
51
  ),
52
- /* @__PURE__ */ t(
53
- e.VimeoPlayButton,
52
+ /* @__PURE__ */ e(
53
+ t.VimeoPlayButton,
54
54
  {
55
55
  "ws:label": "Play Button",
56
56
  "ws:style": o`
@@ -74,16 +74,17 @@ const p = {
74
74
  }
75
75
  `,
76
76
  "aria-label": "Play button",
77
- children: /* @__PURE__ */ t(
78
- e.Box,
77
+ children: /* @__PURE__ */ e(
78
+ a.element,
79
79
  {
80
+ "ws:tag": "div",
80
81
  "ws:label": "Play Icon",
81
82
  "ws:style": o`
82
83
  width: 60px;
83
84
  height: 60px;
84
85
  `,
85
86
  "aria-hidden": !0,
86
- children: /* @__PURE__ */ t(e.HtmlEmbed, { "ws:label": "Play SVG", code: l })
87
+ children: /* @__PURE__ */ e(t.HtmlEmbed, { "ws:label": "Play SVG", code: l })
87
88
  }
88
89
  )
89
90
  }
@@ -93,5 +94,5 @@ const p = {
93
94
  )
94
95
  };
95
96
  export {
96
- p as meta
97
+ d as meta
97
98
  };
package/lib/youtube.ws.js CHANGED
@@ -1,19 +1,7 @@
1
1
  import { YoutubeIcon as e } from "@webstudio-is/icons/svg";
2
- import { defaultStates as o } from "@webstudio-is/sdk";
3
- import { div as t } from "@webstudio-is/sdk/normalize.css";
2
+ import { div as o } from "@webstudio-is/sdk/normalize.css";
4
3
  import { props as i } from "./__generated__/youtube.props.js";
5
- const p = {
6
- icon: e,
7
- states: o,
8
- contentModel: {
9
- category: "instance",
10
- children: ["instance"],
11
- descendants: ["VimeoSpinner", "VimeoPlayButton", "VimeoPreviewImage"]
12
- },
13
- presetStyle: {
14
- div: t
15
- }
16
- }, n = [
4
+ const n = [
17
5
  "id",
18
6
  "className",
19
7
  "url",
@@ -41,11 +29,17 @@ const p = {
41
29
  "language",
42
30
  "color",
43
31
  "playlist"
44
- ], c = {
45
- props: i,
46
- initialProps: n
32
+ ], s = {
33
+ icon: e,
34
+ contentModel: {
35
+ category: "instance",
36
+ children: ["instance"],
37
+ descendants: ["VimeoSpinner", "VimeoPlayButton", "VimeoPreviewImage"]
38
+ },
39
+ presetStyle: { div: o },
40
+ initialProps: n,
41
+ props: i
47
42
  };
48
43
  export {
49
- p as meta,
50
- c as propsMeta
44
+ s as meta
51
45
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react",
3
- "version": "0.219.0",
3
+ "version": "0.221.0",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -23,11 +23,6 @@
23
23
  "types": "./lib/types/metas.d.ts",
24
24
  "import": "./lib/metas.js"
25
25
  },
26
- "./props": {
27
- "webstudio": "./src/props.ts",
28
- "types": "./lib/types/props.d.ts",
29
- "import": "./lib/props.js"
30
- },
31
26
  "./hooks": {
32
27
  "webstudio": "./src/hooks.ts",
33
28
  "types": "./lib/types/hooks.d.ts",
@@ -49,10 +44,10 @@
49
44
  "colord": "^2.9.3",
50
45
  "micromark": "^4.0.2",
51
46
  "micromark-extension-gfm-table": "^2.1.1",
52
- "@webstudio-is/icons": "0.219.0",
53
- "@webstudio-is/image": "0.219.0",
54
- "@webstudio-is/react-sdk": "0.219.0",
55
- "@webstudio-is/sdk": "0.219.0"
47
+ "@webstudio-is/icons": "0.221.0",
48
+ "@webstudio-is/react-sdk": "0.221.0",
49
+ "@webstudio-is/image": "0.221.0",
50
+ "@webstudio-is/sdk": "0.221.0"
56
51
  },
57
52
  "devDependencies": {
58
53
  "@testing-library/dom": "^10.4.0",
@@ -64,9 +59,9 @@
64
59
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
65
60
  "vitest": "^3.1.2",
66
61
  "@webstudio-is/generate-arg-types": "0.0.0",
67
- "@webstudio-is/tsconfig": "1.0.7",
68
- "@webstudio-is/template": "0.219.0",
69
- "@webstudio-is/sdk-cli": "0.94.0"
62
+ "@webstudio-is/sdk-cli": "0.94.0",
63
+ "@webstudio-is/template": "0.221.0",
64
+ "@webstudio-is/tsconfig": "1.0.7"
70
65
  },
71
66
  "scripts": {
72
67
  "build": "vite build --config ../../vite.sdk-components.config.ts",
@@ -1,11 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { $ as e } from "@webstudio-is/template";
3
- const a = {
4
- category: "typography",
5
- description: "Use to style a quote from an external source like an article or book.",
6
- order: 3,
7
- template: /* @__PURE__ */ o(e.Blockquote, {})
8
- };
9
- export {
10
- a as meta
11
- };
@@ -1,11 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { $ as o, PlaceholderValue as e } from "@webstudio-is/template";
3
- const n = {
4
- category: "forms",
5
- order: 2,
6
- description: "Use a button to submit forms or trigger actions within a page. Do not use a button to navigate users to another resource or another page - that’s what a link is used for.",
7
- template: /* @__PURE__ */ t(o.Button, { children: new e("Button text you can edit") })
8
- };
9
- export {
10
- n as meta
11
- };
@@ -1,14 +0,0 @@
1
- import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
- import { $ as e, PlaceholderValue as c } from "@webstudio-is/template";
3
- const l = {
4
- category: "forms",
5
- description: "Use within a form to allow your users to toggle between checked and not checked. Group checkboxes by matching their “Name” properties. Unlike radios, any number of checkboxes in a group can be checked.",
6
- order: 6,
7
- template: /* @__PURE__ */ r(e.Label, { "ws:label": "Checkbox Field", children: [
8
- /* @__PURE__ */ o(e.Checkbox, {}),
9
- /* @__PURE__ */ o(e.Text, { "ws:label": "Checkbox Label", "ws:tag": "span", children: new c("Checkbox") })
10
- ] })
11
- };
12
- export {
13
- l as meta
14
- };
@@ -1,11 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { $ as t } from "@webstudio-is/template";
3
- const n = {
4
- category: "typography",
5
- description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).",
6
- order: 1,
7
- template: /* @__PURE__ */ e(t.Heading, {})
8
- };
9
- export {
10
- n as meta
11
- };
@@ -1,10 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { $ as r, PlaceholderValue as o } from "@webstudio-is/template";
3
- const a = {
4
- category: "forms",
5
- order: 2,
6
- template: /* @__PURE__ */ e(r.Label, { children: new o("Form Label") })
7
- };
8
- export {
9
- a as meta
10
- };
@@ -1,11 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { $ as o } from "@webstudio-is/template";
3
- const n = {
4
- category: "general",
5
- description: "Use a link to send your users to another page, section, or resource. Configure links in the Settings panel.",
6
- order: 1,
7
- template: /* @__PURE__ */ e(o.Link, {})
8
- };
9
- export {
10
- n as meta
11
- };
@@ -1,11 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { $ as e } from "@webstudio-is/template";
3
- const i = {
4
- category: "typography",
5
- description: "Adds a new item to an existing list.",
6
- order: 5,
7
- template: /* @__PURE__ */ t(e.ListItem, {})
8
- };
9
- export {
10
- i as meta
11
- };
@@ -1,15 +0,0 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { $ as e, PlaceholderValue as i } from "@webstudio-is/template";
3
- const s = {
4
- category: "typography",
5
- description: "Groups content, like links in a menu or steps in a recipe.",
6
- order: 4,
7
- template: /* @__PURE__ */ n(e.List, { children: [
8
- /* @__PURE__ */ t(e.ListItem, { children: new i("List Item text you can edit") }),
9
- /* @__PURE__ */ t(e.ListItem, { children: new i("List Item text you can edit") }),
10
- /* @__PURE__ */ t(e.ListItem, { children: new i("List Item text you can edit") })
11
- ] })
12
- };
13
- export {
14
- s as meta
15
- };
@@ -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
- };
package/lib/props.js DELETED
@@ -1,92 +0,0 @@
1
- import { propsMeta as p } from "./slot.ws.js";
2
- import { propsMeta as t } from "./fragment.ws.js";
3
- import { propsMeta as s } from "./html-embed.ws.js";
4
- import { propsMeta as x } from "./markdown-embed.ws.js";
5
- import { propsMeta as f } from "./body.ws.js";
6
- import { propsMeta as d } from "./box.ws.js";
7
- import { propsMeta as l } from "./text.ws.js";
8
- import { propsMeta as S } from "./heading.ws.js";
9
- import { propsMeta as c } from "./paragraph.ws.js";
10
- import { propsMeta as b } from "./link.ws.js";
11
- import { propsMeta as H } from "./rich-text-link.ws.js";
12
- import { propsMeta as g } from "./span.ws.js";
13
- import { propsMeta as V } from "./bold.ws.js";
14
- import { propsMeta as F } from "./italic.ws.js";
15
- import { propsMeta as R } from "./superscript.ws.js";
16
- import { propsMeta as y } from "./subscript.ws.js";
17
- import { propsMeta as E } from "./button.ws.js";
18
- import { propsMeta as q } from "./input.ws.js";
19
- import { propsMeta as N } from "./webhook-form.ws.js";
20
- import { propsMeta as Y } from "./form.ws.js";
21
- import { propsMeta as z } from "./image.ws.js";
22
- import { propsMeta as D } from "./blockquote.ws.js";
23
- import { propsMeta as J } from "./list.ws.js";
24
- import { propsMeta as Q } from "./list-item.ws.js";
25
- import { propsMeta as W } from "./separator.ws.js";
26
- import { propsMeta as _ } from "./code-text.ws.js";
27
- import { propsMeta as oo } from "./label.ws.js";
28
- import { propsMeta as po } from "./textarea.ws.js";
29
- import { propsMeta as to } from "./radio-button.ws.js";
30
- import { propsMeta as so } from "./checkbox.ws.js";
31
- import { propsMeta as xo } from "./vimeo.ws.js";
32
- import { propsMeta as fo } from "./youtube.ws.js";
33
- import { propsMeta as no } from "./vimeo-preview-image.ws.js";
34
- import { propsMeta as uo } from "./vimeo-play-button.ws.js";
35
- import { propsMeta as To } from "./vimeo-spinner.ws.js";
36
- import { propsMeta as Bo } from "./xml-node.ws.js";
37
- import { propsMeta as ko } from "./xml-time.ws.js";
38
- import { propsMeta as Lo } from "./time.ws.js";
39
- import { propsMeta as Io } from "./select.ws.js";
40
- import { propsMeta as ho } from "./option.ws.js";
41
- import { propsMeta as Po } from "./head-slot.ws.js";
42
- import { propsMeta as wo } from "./head-link.ws.js";
43
- import { propsMeta as Co } from "./head-meta.ws.js";
44
- import { propsMeta as Xo } from "./head-title.ws.js";
45
- import { propsMeta as vo } from "./video.ws.js";
46
- export {
47
- D as Blockquote,
48
- f as Body,
49
- V as Bold,
50
- d as Box,
51
- E as Button,
52
- so as Checkbox,
53
- _ as CodeText,
54
- N as Form,
55
- t as Fragment,
56
- wo as HeadLink,
57
- Co as HeadMeta,
58
- Po as HeadSlot,
59
- Xo as HeadTitle,
60
- S as Heading,
61
- s as HtmlEmbed,
62
- z as Image,
63
- q as Input,
64
- F as Italic,
65
- oo as Label,
66
- b as Link,
67
- J as List,
68
- Q as ListItem,
69
- x as MarkdownEmbed,
70
- ho as Option,
71
- c as Paragraph,
72
- to as RadioButton,
73
- Y as RemixForm,
74
- H as RichTextLink,
75
- Io as Select,
76
- W as Separator,
77
- p as Slot,
78
- g as Span,
79
- y as Subscript,
80
- R as Superscript,
81
- l as Text,
82
- po as Textarea,
83
- Lo as Time,
84
- vo as Video,
85
- xo as Vimeo,
86
- uo as VimeoPlayButton,
87
- no as VimeoPreviewImage,
88
- To as VimeoSpinner,
89
- Bo as XmlNode,
90
- ko as XmlTime,
91
- fo as YouTube
92
- };
@@ -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
- };
@@ -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
- };
@@ -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
- };
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,45 +0,0 @@
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";
45
- export { propsMeta as Video } from "./video.ws";
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;
@@ -1,2 +0,0 @@
1
- import { type TemplateMeta } from "@webstudio-is/template";
2
- export declare const meta: TemplateMeta;