@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.
Files changed (243) hide show
  1. package/lib/__generated__/blockquote.props.js +514 -0
  2. package/lib/__generated__/body.props.js +508 -0
  3. package/lib/__generated__/bold.props.js +508 -0
  4. package/lib/__generated__/box.props.js +527 -0
  5. package/lib/__generated__/button.props.js +570 -0
  6. package/lib/__generated__/checkbox.props.js +672 -0
  7. package/lib/__generated__/code-text.props.js +509 -0
  8. package/lib/__generated__/form.props.js +556 -0
  9. package/lib/__generated__/heading.props.js +516 -0
  10. package/lib/__generated__/html-embed.props.js +13 -0
  11. package/lib/__generated__/image.props.js +592 -0
  12. package/lib/__generated__/input.props.js +696 -0
  13. package/lib/__generated__/italic.props.js +508 -0
  14. package/lib/__generated__/label.props.js +520 -0
  15. package/lib/__generated__/link.props.js +568 -0
  16. package/lib/__generated__/list-item.props.js +514 -0
  17. package/lib/__generated__/list.props.js +534 -0
  18. package/lib/__generated__/markdown-embed.props.js +7 -0
  19. package/lib/__generated__/option.props.js +532 -0
  20. package/lib/__generated__/paragraph.props.js +508 -0
  21. package/lib/__generated__/radio-button.props.js +672 -0
  22. package/lib/__generated__/select.props.js +556 -0
  23. package/lib/__generated__/separator.props.js +508 -0
  24. package/lib/__generated__/span.props.js +508 -0
  25. package/lib/__generated__/subscript.props.js +508 -0
  26. package/lib/__generated__/superscript.props.js +508 -0
  27. package/lib/__generated__/text.props.js +516 -0
  28. package/lib/__generated__/textarea.props.js +587 -0
  29. package/lib/__generated__/time.props.js +312 -0
  30. package/lib/__generated__/vimeo-play-button.props.js +569 -0
  31. package/lib/__generated__/vimeo-preview-image.props.js +586 -0
  32. package/lib/__generated__/vimeo-spinner.props.js +508 -0
  33. package/lib/__generated__/vimeo.props.js +674 -0
  34. package/lib/__generated__/xml-node.props.js +7 -0
  35. package/lib/__generated__/xml-time.props.js +18 -0
  36. package/lib/blockquote.js +9 -0
  37. package/lib/blockquote.ws.js +79 -0
  38. package/lib/body.js +7 -0
  39. package/lib/body.ws.js +30 -0
  40. package/lib/bold.js +7 -0
  41. package/lib/bold.ws.js +20 -0
  42. package/lib/box.js +9 -0
  43. package/lib/box.ws.js +31 -0
  44. package/lib/button.js +9 -0
  45. package/lib/button.ws.js +43 -0
  46. package/lib/checkbox.js +15 -0
  47. package/lib/checkbox.ws.js +58 -0
  48. package/lib/code-text.js +10 -0
  49. package/lib/code-text.ws.js +59 -0
  50. package/lib/components.js +79 -0
  51. package/lib/content-embed.ws.js +77 -0
  52. package/lib/form.js +7 -0
  53. package/lib/form.ws.js +30 -0
  54. package/lib/fragment.js +7 -0
  55. package/lib/fragment.ws.js +11 -0
  56. package/lib/heading.js +9 -0
  57. package/lib/heading.ws.js +44 -0
  58. package/lib/home_wsKvRSqvkajPPBeycZ-C8.svg +3 -0
  59. package/lib/hooks.js +5 -0
  60. package/lib/html-embed-patchers.js +29 -0
  61. package/lib/html-embed.js +112 -0
  62. package/lib/html-embed.ws.js +46 -0
  63. package/lib/image.js +40 -0
  64. package/lib/image.ws.js +65 -0
  65. package/lib/input.js +17 -0
  66. package/lib/input.ws.js +54 -0
  67. package/lib/italic.js +7 -0
  68. package/lib/italic.ws.js +26 -0
  69. package/lib/label.js +7 -0
  70. package/lib/label.ws.js +42 -0
  71. package/lib/link.js +15 -0
  72. package/lib/link.ws.js +67 -0
  73. package/lib/list-item.js +9 -0
  74. package/lib/list-item.ws.js +39 -0
  75. package/lib/list.js +6 -0
  76. package/lib/list.ws.js +92 -0
  77. package/lib/markdown-embed.js +14 -0
  78. package/lib/markdown-embed.ws.js +111 -0
  79. package/lib/metas.js +81 -0
  80. package/lib/option.js +7 -0
  81. package/lib/option.ws.js +45 -0
  82. package/lib/paragraph.js +7 -0
  83. package/lib/paragraph.ws.js +39 -0
  84. package/lib/props.js +79 -0
  85. package/lib/radio-button.js +15 -0
  86. package/lib/radio-button.ws.js +60 -0
  87. package/lib/rich-text-link.js +8 -0
  88. package/lib/rich-text-link.ws.js +11 -0
  89. package/lib/select.js +19 -0
  90. package/lib/select.ws.js +96 -0
  91. package/lib/separator.js +9 -0
  92. package/lib/separator.ws.js +48 -0
  93. package/lib/slot.js +14 -0
  94. package/lib/slot.ws.js +15 -0
  95. package/lib/span.js +7 -0
  96. package/lib/span.ws.js +20 -0
  97. package/lib/subscript.js +7 -0
  98. package/lib/subscript.ws.js +20 -0
  99. package/lib/superscript.js +7 -0
  100. package/lib/superscript.ws.js +20 -0
  101. package/lib/text.js +10 -0
  102. package/lib/text.ws.js +41 -0
  103. package/lib/textarea.js +7 -0
  104. package/lib/textarea.ws.js +55 -0
  105. package/lib/time.js +319 -0
  106. package/lib/time.ws.js +22 -0
  107. package/lib/types/__generated__/blockquote.props.d.ts +2 -0
  108. package/lib/types/__generated__/body.props.d.ts +2 -0
  109. package/lib/types/__generated__/bold.props.d.ts +2 -0
  110. package/lib/types/__generated__/box.props.d.ts +2 -0
  111. package/lib/types/__generated__/button.props.d.ts +2 -0
  112. package/lib/types/__generated__/checkbox.props.d.ts +2 -0
  113. package/lib/types/__generated__/code-text.props.d.ts +2 -0
  114. package/lib/types/__generated__/form.props.d.ts +2 -0
  115. package/lib/types/__generated__/fragment.props.d.ts +2 -0
  116. package/lib/types/__generated__/heading.props.d.ts +2 -0
  117. package/lib/types/__generated__/html-embed.props.d.ts +2 -0
  118. package/lib/types/__generated__/image.props.d.ts +2 -0
  119. package/lib/types/__generated__/input.props.d.ts +2 -0
  120. package/lib/types/__generated__/italic.props.d.ts +2 -0
  121. package/lib/types/__generated__/label.props.d.ts +2 -0
  122. package/lib/types/__generated__/link.props.d.ts +2 -0
  123. package/lib/types/__generated__/list-item.props.d.ts +2 -0
  124. package/lib/types/__generated__/list.props.d.ts +2 -0
  125. package/lib/types/__generated__/local-date.props.d.ts +2 -0
  126. package/lib/types/__generated__/markdown-embed.props.d.ts +2 -0
  127. package/lib/types/__generated__/option.props.d.ts +2 -0
  128. package/lib/types/__generated__/paragraph.props.d.ts +2 -0
  129. package/lib/types/__generated__/radio-button.props.d.ts +2 -0
  130. package/lib/types/__generated__/rich-text-link.props.d.ts +2 -0
  131. package/lib/types/__generated__/select.props.d.ts +2 -0
  132. package/lib/types/__generated__/separator.props.d.ts +2 -0
  133. package/lib/types/__generated__/slot.props.d.ts +2 -0
  134. package/lib/types/__generated__/span.props.d.ts +2 -0
  135. package/lib/types/__generated__/subscript.props.d.ts +2 -0
  136. package/lib/types/__generated__/superscript.props.d.ts +2 -0
  137. package/lib/types/__generated__/text.props.d.ts +2 -0
  138. package/lib/types/__generated__/textarea.props.d.ts +2 -0
  139. package/lib/types/__generated__/time.props.d.ts +2 -0
  140. package/lib/types/__generated__/vimeo-play-button.props.d.ts +2 -0
  141. package/lib/types/__generated__/vimeo-preview-image.props.d.ts +2 -0
  142. package/lib/types/__generated__/vimeo-spinner.props.d.ts +2 -0
  143. package/lib/types/__generated__/vimeo.props.d.ts +2 -0
  144. package/lib/types/__generated__/xml-node.props.d.ts +2 -0
  145. package/lib/types/__generated__/xml-time.props.d.ts +2 -0
  146. package/lib/types/blockquote.d.ts +2 -0
  147. package/lib/types/blockquote.ws.d.ts +3 -0
  148. package/lib/types/body.d.ts +2 -0
  149. package/lib/types/body.ws.d.ts +3 -0
  150. package/lib/types/bold.d.ts +2 -0
  151. package/lib/types/bold.ws.d.ts +3 -0
  152. package/lib/types/box.d.ts +8 -0
  153. package/lib/types/box.ws.d.ts +3 -0
  154. package/lib/types/button.d.ts +2 -0
  155. package/lib/types/button.ws.d.ts +3 -0
  156. package/lib/types/checkbox.d.ts +4 -0
  157. package/lib/types/checkbox.ws.d.ts +3 -0
  158. package/lib/types/code-text.d.ts +4 -0
  159. package/lib/types/code-text.ws.d.ts +3 -0
  160. package/lib/types/components.d.ts +39 -0
  161. package/lib/types/content-embed.ws.d.ts +2 -0
  162. package/lib/types/form.d.ts +2 -0
  163. package/lib/types/form.ws.d.ts +3 -0
  164. package/lib/types/fragment.d.ts +6 -0
  165. package/lib/types/fragment.ws.d.ts +3 -0
  166. package/lib/types/heading.d.ts +8 -0
  167. package/lib/types/heading.ws.d.ts +3 -0
  168. package/lib/types/hooks.d.ts +2 -0
  169. package/lib/types/html-embed-patchers.d.ts +2 -0
  170. package/lib/types/html-embed.d.ts +12 -0
  171. package/lib/types/html-embed.test.d.ts +1 -0
  172. package/lib/types/html-embed.ws.d.ts +3 -0
  173. package/lib/types/image.d.ts +8 -0
  174. package/lib/types/image.ws.d.ts +11 -0
  175. package/lib/types/input.d.ts +4 -0
  176. package/lib/types/input.ws.d.ts +3 -0
  177. package/lib/types/italic.d.ts +2 -0
  178. package/lib/types/italic.ws.d.ts +3 -0
  179. package/lib/types/label.d.ts +2 -0
  180. package/lib/types/label.ws.d.ts +3 -0
  181. package/lib/types/link.d.ts +7 -0
  182. package/lib/types/link.ws.d.ts +3 -0
  183. package/lib/types/list-item.d.ts +2 -0
  184. package/lib/types/list-item.ws.d.ts +3 -0
  185. package/lib/types/list.d.ts +10 -0
  186. package/lib/types/list.ws.d.ts +3 -0
  187. package/lib/types/markdown-embed.d.ts +7 -0
  188. package/lib/types/markdown-embed.ws.d.ts +3 -0
  189. package/lib/types/metas.d.ts +40 -0
  190. package/lib/types/option.d.ts +2 -0
  191. package/lib/types/option.ws.d.ts +3 -0
  192. package/lib/types/paragraph.d.ts +2 -0
  193. package/lib/types/paragraph.ws.d.ts +3 -0
  194. package/lib/types/props.d.ts +39 -0
  195. package/lib/types/radio-button.d.ts +4 -0
  196. package/lib/types/radio-button.ws.d.ts +3 -0
  197. package/lib/types/rich-text-link.d.ts +2 -0
  198. package/lib/types/rich-text-link.ws.d.ts +3 -0
  199. package/lib/types/select.d.ts +4 -0
  200. package/lib/types/select.ws.d.ts +3 -0
  201. package/lib/types/separator.d.ts +2 -0
  202. package/lib/types/separator.ws.d.ts +3 -0
  203. package/lib/types/slot.d.ts +6 -0
  204. package/lib/types/slot.ws.d.ts +3 -0
  205. package/lib/types/span.d.ts +2 -0
  206. package/lib/types/span.ws.d.ts +3 -0
  207. package/lib/types/subscript.d.ts +2 -0
  208. package/lib/types/subscript.ws.d.ts +3 -0
  209. package/lib/types/superscript.d.ts +2 -0
  210. package/lib/types/superscript.ws.d.ts +3 -0
  211. package/lib/types/test-utils/cartesian.d.ts +2 -0
  212. package/lib/types/text.d.ts +8 -0
  213. package/lib/types/text.ws.d.ts +3 -0
  214. package/lib/types/textarea.d.ts +2 -0
  215. package/lib/types/textarea.ws.d.ts +3 -0
  216. package/lib/types/time.d.ts +18 -0
  217. package/lib/types/time.test.d.ts +1 -0
  218. package/lib/types/time.ws.d.ts +3 -0
  219. package/lib/types/vimeo-play-button.d.ts +3 -0
  220. package/lib/types/vimeo-play-button.ws.d.ts +3 -0
  221. package/lib/types/vimeo-preview-image.d.ts +284 -0
  222. package/lib/types/vimeo-preview-image.ws.d.ts +3 -0
  223. package/lib/types/vimeo-spinner.d.ts +1 -0
  224. package/lib/types/vimeo-spinner.ws.d.ts +3 -0
  225. package/lib/types/vimeo.d.ts +75 -0
  226. package/lib/types/vimeo.ws.d.ts +3 -0
  227. package/lib/types/xml-node.d.ts +13 -0
  228. package/lib/types/xml-node.ws.d.ts +3 -0
  229. package/lib/types/xml-time.d.ts +6 -0
  230. package/lib/types/xml-time.ws.d.ts +3 -0
  231. package/lib/vimeo-play-button.js +15 -0
  232. package/lib/vimeo-play-button.ws.js +31 -0
  233. package/lib/vimeo-preview-image.js +19 -0
  234. package/lib/vimeo-preview-image.ws.js +19 -0
  235. package/lib/vimeo-spinner.js +13 -0
  236. package/lib/vimeo-spinner.ws.js +25 -0
  237. package/lib/vimeo.js +215 -0
  238. package/lib/vimeo.ws.js +329 -0
  239. package/lib/xml-node.js +44 -0
  240. package/lib/xml-node.ws.js +18 -0
  241. package/lib/xml-time.js +25 -0
  242. package/lib/xml-time.ws.js +18 -0
  243. package/package.json +5 -5
package/lib/time.js ADDED
@@ -0,0 +1,319 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { forwardRef as M } from "react";
3
+ const c = [
4
+ "af",
5
+ "am",
6
+ "ar",
7
+ "az",
8
+ "be",
9
+ "bg",
10
+ "bn",
11
+ "bs",
12
+ "ca",
13
+ "cs",
14
+ "cy",
15
+ "da",
16
+ "de",
17
+ "el",
18
+ "en",
19
+ "es",
20
+ "et",
21
+ "eu",
22
+ "fa",
23
+ "fi",
24
+ "fr",
25
+ "ga",
26
+ "gl",
27
+ "gu",
28
+ "he",
29
+ "hi",
30
+ "hr",
31
+ "hu",
32
+ "hy",
33
+ "id",
34
+ "is",
35
+ "it",
36
+ "ja",
37
+ "ka",
38
+ "kk",
39
+ "km",
40
+ "kn",
41
+ "ko",
42
+ "ky",
43
+ "lb",
44
+ "lt",
45
+ "lv",
46
+ "mk",
47
+ "ml",
48
+ "mn",
49
+ "mr",
50
+ "ms",
51
+ "mt",
52
+ "nb",
53
+ "nl",
54
+ "nn",
55
+ "pl",
56
+ "pt",
57
+ "ro",
58
+ "ru",
59
+ "si",
60
+ "sk",
61
+ "sl",
62
+ "sq",
63
+ "sr",
64
+ "sv",
65
+ "sw",
66
+ "ta",
67
+ "te",
68
+ "th",
69
+ "tr",
70
+ "uk",
71
+ "ur",
72
+ "uz",
73
+ "vi",
74
+ "zh"
75
+ ], E = [
76
+ "AF",
77
+ "AL",
78
+ "DZ",
79
+ "AS",
80
+ "AD",
81
+ "AO",
82
+ "AI",
83
+ "AQ",
84
+ "AG",
85
+ "AR",
86
+ "AM",
87
+ "AW",
88
+ "AU",
89
+ "AT",
90
+ "AZ",
91
+ "BS",
92
+ "BH",
93
+ "BD",
94
+ "BB",
95
+ "BY",
96
+ "BE",
97
+ "BZ",
98
+ "BJ",
99
+ "BM",
100
+ "BT",
101
+ "BO",
102
+ "BA",
103
+ "BW",
104
+ "BR",
105
+ "BN",
106
+ "BG",
107
+ "BF",
108
+ "BI",
109
+ "CV",
110
+ "KH",
111
+ "CM",
112
+ "CA",
113
+ "KY",
114
+ "CF",
115
+ "TD",
116
+ "CL",
117
+ "CN",
118
+ "CO",
119
+ "KM",
120
+ "CG",
121
+ "CD",
122
+ "CR",
123
+ "HR",
124
+ "CU",
125
+ "CY",
126
+ "CZ",
127
+ "DK",
128
+ "DJ",
129
+ "DM",
130
+ "DO",
131
+ "EC",
132
+ "EG",
133
+ "SV",
134
+ "GQ",
135
+ "ER",
136
+ "EE",
137
+ "SZ",
138
+ "ET",
139
+ "FJ",
140
+ "FI",
141
+ "FR",
142
+ "GA",
143
+ "GM",
144
+ "GE",
145
+ "DE",
146
+ "GH",
147
+ "GR",
148
+ "GD",
149
+ "GT",
150
+ "GN",
151
+ "GW",
152
+ "GY",
153
+ "HT",
154
+ "HN",
155
+ "HU",
156
+ "IS",
157
+ "IN",
158
+ "ID",
159
+ "IR",
160
+ "IQ",
161
+ "IE",
162
+ "IL",
163
+ "IT",
164
+ "JM",
165
+ "JP",
166
+ "JO",
167
+ "KZ",
168
+ "KE",
169
+ "KI",
170
+ "KP",
171
+ "KR",
172
+ "KW",
173
+ "KG",
174
+ "LA",
175
+ "LV",
176
+ "LB",
177
+ "LS",
178
+ "LR",
179
+ "LY",
180
+ "LI",
181
+ "LT",
182
+ "LU",
183
+ "MG",
184
+ "MW",
185
+ "MY",
186
+ "MV",
187
+ "ML",
188
+ "MT",
189
+ "MH",
190
+ "MR",
191
+ "MU",
192
+ "MX",
193
+ "FM",
194
+ "MD",
195
+ "MC",
196
+ "MN",
197
+ "ME",
198
+ "MA",
199
+ "MZ",
200
+ "MM",
201
+ "NA",
202
+ "NR",
203
+ "NP",
204
+ "NL",
205
+ "NZ",
206
+ "NI",
207
+ "NE",
208
+ "NG",
209
+ "NO",
210
+ "OM",
211
+ "PK",
212
+ "PW",
213
+ "PA",
214
+ "PG",
215
+ "PY",
216
+ "PE",
217
+ "PH",
218
+ "PL",
219
+ "PT",
220
+ "QA",
221
+ "RO",
222
+ "RU",
223
+ "RW",
224
+ "KN",
225
+ "LC",
226
+ "VC",
227
+ "WS",
228
+ "SM",
229
+ "ST",
230
+ "SA",
231
+ "SN",
232
+ "RS",
233
+ "SC",
234
+ "SL",
235
+ "SG",
236
+ "SK",
237
+ "SI",
238
+ "SB",
239
+ "SO",
240
+ "ZA",
241
+ "SS",
242
+ "ES",
243
+ "LK",
244
+ "SD",
245
+ "SR",
246
+ "SE",
247
+ "CH",
248
+ "SY",
249
+ "TW",
250
+ "TJ",
251
+ "TZ",
252
+ "TH",
253
+ "TL",
254
+ "TG",
255
+ "TO",
256
+ "TT",
257
+ "TN",
258
+ "TR",
259
+ "TM",
260
+ "TV",
261
+ "UG",
262
+ "UA",
263
+ "AE",
264
+ "GB",
265
+ "US",
266
+ "UY",
267
+ "UZ",
268
+ "VU",
269
+ "VA",
270
+ "VE",
271
+ "VN",
272
+ "YE",
273
+ "ZM",
274
+ "ZW"
275
+ ], D = "dateTime attribute is not set", G = "", i = "en", A = "GB", L = "medium", f = "none", I = (t) => c.includes(t) ? t : i, B = (t) => E.includes(t) ? t : A, d = (t) => {
276
+ if (["full", "long", "medium", "short"].includes(t))
277
+ return t;
278
+ }, R = (t) => {
279
+ if (["full", "long", "medium", "short"].includes(t))
280
+ return t;
281
+ }, C = (t) => {
282
+ if (t === "")
283
+ return;
284
+ let e = new Date(t);
285
+ if (Number.isNaN(e.getTime()) === !1)
286
+ return e;
287
+ if (/^\d+$/.test(t)) {
288
+ let n = Number(t);
289
+ t.length === 10 && (n *= 1e3), e = new Date(n);
290
+ }
291
+ if (Number.isNaN(e.getTime()) === !1)
292
+ return e;
293
+ }, O = M(
294
+ ({
295
+ language: t = i,
296
+ country: e = A,
297
+ dateStyle: n = L,
298
+ timeStyle: l = f,
299
+ datetime: s = D,
300
+ ...a
301
+ }, u) => {
302
+ const S = `${I(t)}-${B(
303
+ e
304
+ )}`, N = {
305
+ dateStyle: d(n),
306
+ timeStyle: R(l)
307
+ }, r = s === null ? G : s.toString(), T = C(r);
308
+ let o = r;
309
+ if (T)
310
+ try {
311
+ o = new Intl.DateTimeFormat(S, N).format(T);
312
+ } catch {
313
+ }
314
+ return /* @__PURE__ */ m("time", { ref: u, dateTime: r, ...a, children: o });
315
+ }
316
+ );
317
+ export {
318
+ O as Time
319
+ };
package/lib/time.ws.js ADDED
@@ -0,0 +1,22 @@
1
+ import { CalendarIcon as t } from "@webstudio-is/icons/svg";
2
+ import { defaultStates as e } from "@webstudio-is/react-sdk";
3
+ import { time as a } from "@webstudio-is/sdk/normalize.css";
4
+ import { props as o } from "./__generated__/time.props.js";
5
+ const r = {
6
+ time: a
7
+ }, s = {
8
+ category: "data",
9
+ type: "container",
10
+ description: "Converts machine-readable date and time to a human-readable format.",
11
+ icon: t,
12
+ states: e,
13
+ presetStyle: r,
14
+ order: 5
15
+ }, d = {
16
+ props: o,
17
+ initialProps: ["datetime", "language", "country", "dateStyle", "timeStyle"]
18
+ };
19
+ export {
20
+ s as meta,
21
+ d as propsMeta
22
+ };
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/react-sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ export declare const defaultTag = "blockquote";
2
+ export declare const Blockquote: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & import("react").RefAttributes<HTMLQuoteElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,2 @@
1
+ export declare const defaultTag = "body";
2
+ export declare const Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref"> & import("react").RefAttributes<HTMLBodyElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,2 @@
1
+ export declare const defaultTag = "b";
2
+ export declare const Bold: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -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" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure";
6
+ };
7
+ export declare const Box: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,2 @@
1
+ export declare const defaultTag = "button";
2
+ export declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,4 @@
1
+ export declare const defaultTag = "input";
2
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type" | "value"> & {
3
+ value?: string;
4
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,4 @@
1
+ export declare const defaultTag = "code";
2
+ export declare const CodeText: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
3
+ code?: string;
4
+ }, "ref"> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,39 @@
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 { Form } from "./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 { VimeoPreviewImage } from "./vimeo-preview-image";
33
+ export { VimeoPlayButton } from "./vimeo-play-button";
34
+ export { VimeoSpinner } from "./vimeo-spinner";
35
+ export { XmlNode } from "./xml-node";
36
+ export { XmlTime } from "./xml-time";
37
+ export { Time } from "./time";
38
+ export { Select } from "./select";
39
+ export { Option } from "./option";
@@ -0,0 +1,2 @@
1
+ import { type WsComponentMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
@@ -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,3 @@
1
+ import { type WsComponentMeta, type WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from "react";
2
+ type Props = {
3
+ children?: ReactNode;
4
+ };
5
+ export declare const Fragment: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { WsComponentMeta, WsComponentPropsMeta } from "@webstudio-is/react-sdk";
2
+ export declare const meta: WsComponentMeta;
3
+ export declare const propsMeta: WsComponentPropsMeta;