@webstudio-is/sdk-components-react 0.90.0 → 0.92.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 (387) hide show
  1. package/lib/__generated__/blockquote.props.js +2 -4
  2. package/lib/__generated__/body.props.js +2 -4
  3. package/lib/__generated__/bold.props.js +2 -4
  4. package/lib/__generated__/box.props.js +2 -4
  5. package/lib/__generated__/button.props.js +2 -4
  6. package/lib/__generated__/checkbox.props.js +2 -4
  7. package/lib/__generated__/code-text.props.js +2 -4
  8. package/lib/__generated__/form.props.js +2 -4
  9. package/lib/__generated__/fragment.props.js +2 -4
  10. package/lib/__generated__/heading.props.js +2 -4
  11. package/lib/__generated__/html-embed.props.js +2 -4
  12. package/lib/__generated__/image.props.js +2 -4
  13. package/lib/__generated__/input.props.js +2 -4
  14. package/lib/__generated__/italic.props.js +2 -4
  15. package/lib/__generated__/label.props.js +2 -4
  16. package/lib/__generated__/link.props.js +2 -4
  17. package/lib/__generated__/list-item.props.js +2 -4
  18. package/lib/__generated__/list.props.js +2 -4
  19. package/lib/__generated__/paragraph.props.js +2 -4
  20. package/lib/__generated__/radio-button.props.js +2 -4
  21. package/lib/__generated__/rich-text-link.props.js +2 -4
  22. package/lib/__generated__/separator.props.js +2 -4
  23. package/lib/__generated__/slot.props.js +2 -4
  24. package/lib/__generated__/span.props.js +2 -4
  25. package/lib/__generated__/subscript.props.js +2 -4
  26. package/lib/__generated__/superscript.props.js +2 -4
  27. package/lib/__generated__/text.props.js +2 -4
  28. package/lib/__generated__/textarea.props.js +2 -4
  29. package/lib/__generated__/vimeo-play-button.props.js +2 -4
  30. package/lib/__generated__/vimeo-preview-image.props.js +2 -4
  31. package/lib/__generated__/vimeo-spinner.props.js +2 -4
  32. package/lib/__generated__/vimeo.props.js +2 -4
  33. package/lib/blockquote.js +3 -6
  34. package/lib/blockquote.stories.js +11 -0
  35. package/lib/blockquote.ws.js +3 -6
  36. package/lib/body.js +3 -6
  37. package/lib/body.stories.js +11 -0
  38. package/lib/body.ws.js +3 -6
  39. package/lib/bold.js +3 -6
  40. package/lib/bold.stories.js +11 -0
  41. package/lib/bold.ws.js +3 -6
  42. package/lib/box.js +3 -6
  43. package/lib/box.stories.js +11 -0
  44. package/lib/box.ws.js +3 -6
  45. package/lib/button.js +3 -6
  46. package/lib/button.stories.js +11 -0
  47. package/lib/button.ws.js +3 -6
  48. package/lib/checkbox.js +3 -6
  49. package/lib/checkbox.ws.js +3 -6
  50. package/lib/code-text.js +3 -6
  51. package/lib/code-text.stories.js +11 -0
  52. package/lib/code-text.ws.js +3 -6
  53. package/lib/components.js +33 -66
  54. package/lib/form.js +3 -6
  55. package/lib/form.stories.js +11 -0
  56. package/lib/form.ws.js +3 -6
  57. package/lib/fragment.js +2 -4
  58. package/lib/fragment.ws.js +3 -6
  59. package/lib/heading.js +2 -4
  60. package/lib/heading.stories.js +11 -0
  61. package/lib/heading.ws.js +3 -6
  62. package/lib/html-embed.js +2 -4
  63. package/lib/html-embed.stories.js +11 -0
  64. package/lib/html-embed.ws.js +3 -6
  65. package/lib/image.js +3 -6
  66. package/lib/image.stories.js +7 -0
  67. package/lib/image.ws.js +4 -8
  68. package/lib/input.js +3 -6
  69. package/lib/input.stories.js +9 -0
  70. package/lib/input.ws.js +9 -11
  71. package/lib/italic.js +3 -6
  72. package/lib/italic.stories.js +11 -0
  73. package/lib/italic.ws.js +3 -6
  74. package/lib/label.js +3 -6
  75. package/lib/label.ws.js +3 -6
  76. package/lib/link.js +3 -6
  77. package/lib/link.stories.js +11 -0
  78. package/lib/link.ws.js +3 -6
  79. package/lib/list-item.js +3 -6
  80. package/lib/list-item.stories.js +11 -0
  81. package/lib/list-item.ws.js +3 -6
  82. package/lib/list.js +2 -4
  83. package/lib/list.stories.js +13 -0
  84. package/lib/list.ws.js +3 -6
  85. package/lib/metas.js +33 -66
  86. package/lib/paragraph.js +3 -6
  87. package/lib/paragraph.stories.js +11 -0
  88. package/lib/paragraph.ws.js +3 -6
  89. package/lib/props.js +33 -66
  90. package/lib/radio-button.js +3 -6
  91. package/lib/radio-button.ws.js +9 -11
  92. package/lib/rich-text-link.js +2 -4
  93. package/lib/rich-text-link.stories.js +11 -0
  94. package/lib/rich-text-link.ws.js +3 -6
  95. package/lib/separator.js +3 -6
  96. package/lib/separator.stories.js +7 -0
  97. package/lib/separator.ws.js +3 -6
  98. package/lib/slot.js +2 -4
  99. package/lib/slot.stories.js +11 -0
  100. package/lib/slot.ws.js +3 -6
  101. package/lib/span.js +3 -6
  102. package/lib/span.stories.js +11 -0
  103. package/lib/span.ws.js +3 -6
  104. package/lib/subscript.js +3 -6
  105. package/lib/subscript.stories.js +11 -0
  106. package/lib/subscript.ws.js +3 -6
  107. package/lib/superscript.js +3 -6
  108. package/lib/superscript.stories.js +11 -0
  109. package/lib/superscript.ws.js +3 -6
  110. package/lib/text.js +3 -6
  111. package/lib/text.stories.js +11 -0
  112. package/lib/text.ws.js +3 -6
  113. package/lib/textarea.js +3 -6
  114. package/lib/textarea.ws.js +9 -11
  115. package/lib/types/__generated__/blockquote.props.d.ts +1 -1
  116. package/lib/types/__generated__/body.props.d.ts +1 -1
  117. package/lib/types/__generated__/bold.props.d.ts +1 -1
  118. package/lib/types/__generated__/box.props.d.ts +1 -1
  119. package/lib/types/__generated__/button.props.d.ts +1 -1
  120. package/lib/types/__generated__/checkbox.props.d.ts +1 -1
  121. package/lib/types/__generated__/code-text.props.d.ts +1 -1
  122. package/lib/types/__generated__/form.props.d.ts +1 -1
  123. package/lib/types/__generated__/fragment.props.d.ts +1 -1
  124. package/lib/types/__generated__/heading.props.d.ts +1 -1
  125. package/lib/types/__generated__/html-embed.props.d.ts +1 -1
  126. package/lib/types/__generated__/image.props.d.ts +1 -1
  127. package/lib/types/__generated__/input.props.d.ts +1 -1
  128. package/lib/types/__generated__/italic.props.d.ts +1 -1
  129. package/lib/types/__generated__/label.props.d.ts +1 -1
  130. package/lib/types/__generated__/link.props.d.ts +1 -1
  131. package/lib/types/__generated__/list-item.props.d.ts +1 -1
  132. package/lib/types/__generated__/list.props.d.ts +1 -1
  133. package/lib/types/__generated__/paragraph.props.d.ts +1 -1
  134. package/lib/types/__generated__/radio-button.props.d.ts +1 -1
  135. package/lib/types/__generated__/rich-text-link.props.d.ts +1 -1
  136. package/lib/types/__generated__/separator.props.d.ts +1 -1
  137. package/lib/types/__generated__/slot.props.d.ts +1 -1
  138. package/lib/types/__generated__/span.props.d.ts +1 -1
  139. package/lib/types/__generated__/subscript.props.d.ts +1 -1
  140. package/lib/types/__generated__/superscript.props.d.ts +1 -1
  141. package/lib/types/__generated__/text.props.d.ts +1 -1
  142. package/lib/types/__generated__/textarea.props.d.ts +1 -1
  143. package/lib/types/__generated__/vimeo-play-button.props.d.ts +1 -1
  144. package/lib/types/__generated__/vimeo-preview-image.props.d.ts +1 -1
  145. package/lib/types/__generated__/vimeo-spinner.props.d.ts +1 -1
  146. package/lib/types/__generated__/vimeo.props.d.ts +1 -1
  147. package/lib/types/vimeo-preview-image.d.ts +1 -1
  148. package/lib/vimeo-play-button.js +3 -5
  149. package/lib/vimeo-play-button.stories.js +11 -0
  150. package/lib/vimeo-play-button.ws.js +3 -6
  151. package/lib/vimeo-preview-image.js +2 -4
  152. package/lib/vimeo-preview-image.stories.js +11 -0
  153. package/lib/vimeo-preview-image.ws.js +3 -6
  154. package/lib/vimeo-spinner.js +2 -4
  155. package/lib/vimeo-spinner.stories.js +11 -0
  156. package/lib/vimeo-spinner.ws.js +3 -6
  157. package/lib/vimeo.js +3 -6
  158. package/lib/vimeo.stories.js +11 -0
  159. package/lib/vimeo.ws.js +3 -6
  160. package/package.json +16 -20
  161. package/lib/cjs/__generated__/blockquote.props.js +0 -536
  162. package/lib/cjs/__generated__/body.props.js +0 -530
  163. package/lib/cjs/__generated__/bold.props.js +0 -530
  164. package/lib/cjs/__generated__/box.props.js +0 -549
  165. package/lib/cjs/__generated__/button.props.js +0 -586
  166. package/lib/cjs/__generated__/checkbox.props.js +0 -688
  167. package/lib/cjs/__generated__/code-text.props.js +0 -530
  168. package/lib/cjs/__generated__/form.props.js +0 -578
  169. package/lib/cjs/__generated__/fragment.props.js +0 -24
  170. package/lib/cjs/__generated__/heading.props.js +0 -538
  171. package/lib/cjs/__generated__/html-embed.props.js +0 -31
  172. package/lib/cjs/__generated__/image.props.js +0 -603
  173. package/lib/cjs/__generated__/input.props.js +0 -695
  174. package/lib/cjs/__generated__/italic.props.js +0 -530
  175. package/lib/cjs/__generated__/label.props.js +0 -542
  176. package/lib/cjs/__generated__/link.props.js +0 -584
  177. package/lib/cjs/__generated__/list-item.props.js +0 -530
  178. package/lib/cjs/__generated__/list.props.js +0 -556
  179. package/lib/cjs/__generated__/paragraph.props.js +0 -530
  180. package/lib/cjs/__generated__/radio-button.props.js +0 -688
  181. package/lib/cjs/__generated__/rich-text-link.props.js +0 -584
  182. package/lib/cjs/__generated__/separator.props.js +0 -530
  183. package/lib/cjs/__generated__/slot.props.js +0 -24
  184. package/lib/cjs/__generated__/span.props.js +0 -530
  185. package/lib/cjs/__generated__/subscript.props.js +0 -530
  186. package/lib/cjs/__generated__/superscript.props.js +0 -530
  187. package/lib/cjs/__generated__/text.props.js +0 -538
  188. package/lib/cjs/__generated__/textarea.props.js +0 -597
  189. package/lib/cjs/__generated__/vimeo-play-button.props.js +0 -585
  190. package/lib/cjs/__generated__/vimeo-preview-image.props.js +0 -602
  191. package/lib/cjs/__generated__/vimeo-spinner.props.js +0 -530
  192. package/lib/cjs/__generated__/vimeo.props.js +0 -687
  193. package/lib/cjs/blockquote.js +0 -32
  194. package/lib/cjs/blockquote.ws.js +0 -96
  195. package/lib/cjs/body.js +0 -29
  196. package/lib/cjs/body.ws.js +0 -52
  197. package/lib/cjs/bold.js +0 -29
  198. package/lib/cjs/bold.ws.js +0 -42
  199. package/lib/cjs/box.js +0 -32
  200. package/lib/cjs/box.ws.js +0 -54
  201. package/lib/cjs/button.js +0 -31
  202. package/lib/cjs/button.ws.js +0 -57
  203. package/lib/cjs/checkbox.js +0 -29
  204. package/lib/cjs/checkbox.ws.js +0 -78
  205. package/lib/cjs/code-text.js +0 -30
  206. package/lib/cjs/code-text.ws.js +0 -75
  207. package/lib/cjs/components.js +0 -86
  208. package/lib/cjs/form.js +0 -29
  209. package/lib/cjs/form.ws.js +0 -84
  210. package/lib/cjs/fragment.js +0 -29
  211. package/lib/cjs/fragment.ws.js +0 -33
  212. package/lib/cjs/heading.js +0 -31
  213. package/lib/cjs/heading.ws.js +0 -58
  214. package/lib/cjs/html-embed.js +0 -80
  215. package/lib/cjs/html-embed.ws.js +0 -51
  216. package/lib/cjs/image.js +0 -86
  217. package/lib/cjs/image.ws.js +0 -70
  218. package/lib/cjs/input.js +0 -29
  219. package/lib/cjs/input.ws.js +0 -63
  220. package/lib/cjs/italic.js +0 -29
  221. package/lib/cjs/italic.ws.js +0 -48
  222. package/lib/cjs/label.js +0 -29
  223. package/lib/cjs/label.ws.js +0 -61
  224. package/lib/cjs/link.js +0 -52
  225. package/lib/cjs/link.ws.js +0 -81
  226. package/lib/cjs/list-item.js +0 -32
  227. package/lib/cjs/list-item.ws.js +0 -53
  228. package/lib/cjs/list.js +0 -31
  229. package/lib/cjs/list.ws.js +0 -74
  230. package/lib/cjs/metas.js +0 -86
  231. package/lib/cjs/package.json +0 -1
  232. package/lib/cjs/paragraph.js +0 -29
  233. package/lib/cjs/paragraph.ws.js +0 -53
  234. package/lib/cjs/props.js +0 -86
  235. package/lib/cjs/radio-button.js +0 -29
  236. package/lib/cjs/radio-button.ws.js +0 -78
  237. package/lib/cjs/rich-text-link.js +0 -28
  238. package/lib/cjs/rich-text-link.ws.js +0 -32
  239. package/lib/cjs/separator.js +0 -32
  240. package/lib/cjs/separator.ws.js +0 -71
  241. package/lib/cjs/slot.js +0 -36
  242. package/lib/cjs/slot.ws.js +0 -37
  243. package/lib/cjs/span.js +0 -29
  244. package/lib/cjs/span.ws.js +0 -42
  245. package/lib/cjs/subscript.js +0 -29
  246. package/lib/cjs/subscript.ws.js +0 -42
  247. package/lib/cjs/superscript.js +0 -29
  248. package/lib/cjs/superscript.ws.js +0 -42
  249. package/lib/cjs/text.js +0 -32
  250. package/lib/cjs/text.ws.js +0 -58
  251. package/lib/cjs/textarea.js +0 -29
  252. package/lib/cjs/textarea.ws.js +0 -64
  253. package/lib/cjs/vimeo-play-button.js +0 -38
  254. package/lib/cjs/vimeo-play-button.ws.js +0 -46
  255. package/lib/cjs/vimeo-preview-image.js +0 -40
  256. package/lib/cjs/vimeo-preview-image.ws.js +0 -37
  257. package/lib/cjs/vimeo-spinner.js +0 -37
  258. package/lib/cjs/vimeo-spinner.ws.js +0 -44
  259. package/lib/cjs/vimeo.js +0 -294
  260. package/lib/cjs/vimeo.ws.js +0 -348
  261. package/src/LICENSE +0 -661
  262. package/src/__generated__/blockquote.props.ts +0 -580
  263. package/src/__generated__/body.props.ts +0 -573
  264. package/src/__generated__/bold.props.ts +0 -573
  265. package/src/__generated__/box.props.ts +0 -593
  266. package/src/__generated__/button.props.ts +0 -636
  267. package/src/__generated__/checkbox.props.ts +0 -748
  268. package/src/__generated__/code-text.props.ts +0 -573
  269. package/src/__generated__/form.props.ts +0 -628
  270. package/src/__generated__/fragment.props.ts +0 -3
  271. package/src/__generated__/heading.props.ts +0 -582
  272. package/src/__generated__/html-embed.props.ts +0 -10
  273. package/src/__generated__/image.props.ts +0 -648
  274. package/src/__generated__/input.props.ts +0 -756
  275. package/src/__generated__/italic.props.ts +0 -573
  276. package/src/__generated__/label.props.ts +0 -586
  277. package/src/__generated__/link.props.ts +0 -630
  278. package/src/__generated__/list-item.props.ts +0 -573
  279. package/src/__generated__/list.props.ts +0 -601
  280. package/src/__generated__/paragraph.props.ts +0 -573
  281. package/src/__generated__/radio-button.props.ts +0 -748
  282. package/src/__generated__/rich-text-link.props.ts +0 -630
  283. package/src/__generated__/separator.props.ts +0 -573
  284. package/src/__generated__/slot.props.ts +0 -3
  285. package/src/__generated__/span.props.ts +0 -573
  286. package/src/__generated__/subscript.props.ts +0 -573
  287. package/src/__generated__/superscript.props.ts +0 -573
  288. package/src/__generated__/text.props.ts +0 -582
  289. package/src/__generated__/textarea.props.ts +0 -645
  290. package/src/__generated__/vimeo-play-button.props.ts +0 -634
  291. package/src/__generated__/vimeo-preview-image.props.ts +0 -647
  292. package/src/__generated__/vimeo-spinner.props.ts +0 -573
  293. package/src/__generated__/vimeo.props.ts +0 -751
  294. package/src/blockquote.stories.tsx +0 -13
  295. package/src/blockquote.tsx +0 -18
  296. package/src/blockquote.ws.tsx +0 -84
  297. package/src/body.stories.tsx +0 -13
  298. package/src/body.tsx +0 -10
  299. package/src/body.ws.tsx +0 -37
  300. package/src/bold.stories.tsx +0 -13
  301. package/src/bold.tsx +0 -10
  302. package/src/bold.ws.tsx +0 -27
  303. package/src/box.stories.tsx +0 -13
  304. package/src/box.tsx +0 -32
  305. package/src/box.ws.ts +0 -54
  306. package/src/button.stories.tsx +0 -13
  307. package/src/button.tsx +0 -15
  308. package/src/button.ws.tsx +0 -43
  309. package/src/checkbox.tsx +0 -13
  310. package/src/checkbox.ws.tsx +0 -64
  311. package/src/code-text.stories.tsx +0 -13
  312. package/src/code-text.tsx +0 -17
  313. package/src/code-text.ws.tsx +0 -61
  314. package/src/components.ts +0 -32
  315. package/src/form.stories.tsx +0 -13
  316. package/src/form.tsx +0 -14
  317. package/src/form.ws.tsx +0 -69
  318. package/src/fragment.tsx +0 -11
  319. package/src/fragment.ws.ts +0 -15
  320. package/src/heading.stories.tsx +0 -13
  321. package/src/heading.tsx +0 -21
  322. package/src/heading.ws.tsx +0 -47
  323. package/src/html-embed.stories.tsx +0 -13
  324. package/src/html-embed.tsx +0 -99
  325. package/src/html-embed.ws.ts +0 -34
  326. package/src/image.stories.tsx +0 -9
  327. package/src/image.tsx +0 -91
  328. package/src/image.ws.tsx +0 -58
  329. package/src/input.stories.tsx +0 -11
  330. package/src/input.tsx +0 -13
  331. package/src/input.ws.tsx +0 -49
  332. package/src/italic.stories.tsx +0 -13
  333. package/src/italic.tsx +0 -10
  334. package/src/italic.ws.tsx +0 -33
  335. package/src/label.tsx +0 -10
  336. package/src/label.ws.tsx +0 -46
  337. package/src/link.stories.tsx +0 -13
  338. package/src/link.tsx +0 -43
  339. package/src/link.ws.tsx +0 -67
  340. package/src/list-item.stories.tsx +0 -13
  341. package/src/list-item.tsx +0 -18
  342. package/src/list-item.ws.tsx +0 -38
  343. package/src/list.stories.tsx +0 -14
  344. package/src/list.tsx +0 -27
  345. package/src/list.ws.tsx +0 -59
  346. package/src/metas.ts +0 -32
  347. package/src/paragraph.stories.tsx +0 -13
  348. package/src/paragraph.tsx +0 -10
  349. package/src/paragraph.ws.tsx +0 -38
  350. package/src/props.ts +0 -32
  351. package/src/radio-button.tsx +0 -13
  352. package/src/radio-button.ws.tsx +0 -64
  353. package/src/rich-text-link.stories.tsx +0 -13
  354. package/src/rich-text-link.tsx +0 -8
  355. package/src/rich-text-link.ws.tsx +0 -14
  356. package/src/separator.stories.tsx +0 -9
  357. package/src/separator.tsx +0 -18
  358. package/src/separator.ws.tsx +0 -58
  359. package/src/slot.stories.tsx +0 -13
  360. package/src/slot.tsx +0 -17
  361. package/src/slot.ws.ts +0 -20
  362. package/src/span.stories.tsx +0 -13
  363. package/src/span.tsx +0 -10
  364. package/src/span.ws.tsx +0 -27
  365. package/src/subscript.stories.tsx +0 -13
  366. package/src/subscript.tsx +0 -10
  367. package/src/subscript.ws.tsx +0 -27
  368. package/src/superscript.stories.tsx +0 -13
  369. package/src/superscript.tsx +0 -10
  370. package/src/superscript.ws.tsx +0 -27
  371. package/src/text.stories.tsx +0 -13
  372. package/src/text.tsx +0 -22
  373. package/src/text.ws.tsx +0 -44
  374. package/src/textarea.tsx +0 -13
  375. package/src/textarea.ws.tsx +0 -50
  376. package/src/vimeo-play-button.stories.tsx +0 -13
  377. package/src/vimeo-play-button.tsx +0 -24
  378. package/src/vimeo-play-button.ws.ts +0 -30
  379. package/src/vimeo-preview-image.stories.tsx +0 -13
  380. package/src/vimeo-preview-image.tsx +0 -30
  381. package/src/vimeo-preview-image.ws.ts +0 -22
  382. package/src/vimeo-spinner.stories.tsx +0 -13
  383. package/src/vimeo-spinner.tsx +0 -25
  384. package/src/vimeo-spinner.ws.ts +0 -28
  385. package/src/vimeo.stories.tsx +0 -13
  386. package/src/vimeo.tsx +0 -431
  387. package/src/vimeo.ws.ts +0 -335
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -511,6 +512,3 @@ const props = {
511
512
  },
512
513
  vocab: { required: false, control: "text", type: "string" }
513
514
  };
514
- export {
515
- props
516
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -524,6 +525,3 @@ const props = {
524
525
  },
525
526
  vocab: { required: false, control: "text", type: "string" }
526
527
  };
527
- export {
528
- props
529
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -561,6 +562,3 @@ const props = {
561
562
  },
562
563
  vocab: { required: false, control: "text", type: "string" }
563
564
  };
564
- export {
565
- props
566
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accept: {
4
5
  required: false,
@@ -663,6 +664,3 @@ const props = {
663
664
  description: "Defines the image\u2019s width in pixels."
664
665
  }
665
666
  };
666
- export {
667
- props
668
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  acceptCharset: {
4
5
  required: false,
@@ -553,6 +554,3 @@ const props = {
553
554
  },
554
555
  vocab: { required: false, control: "text", type: "string" }
555
556
  };
556
- export {
557
- props
558
- };
@@ -1,4 +1,2 @@
1
- const props = {};
2
- export {
3
- props
4
- };
1
+ "use strict";
2
+ export const props = {};
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -513,6 +514,3 @@ const props = {
513
514
  },
514
515
  vocab: { required: false, control: "text", type: "string" }
515
516
  };
516
- export {
517
- props
518
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  code: { required: true, control: "text", type: "string" },
3
4
  executeScriptOnCanvas: {
4
5
  required: true,
@@ -6,6 +7,3 @@ const props = {
6
7
  type: "boolean"
7
8
  }
8
9
  };
9
- export {
10
- props
11
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -578,6 +579,3 @@ const props = {
578
579
  description: "Defines the image\u2019s width in pixels."
579
580
  }
580
581
  };
581
- export {
582
- props
583
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accept: {
4
5
  required: false,
@@ -670,6 +671,3 @@ const props = {
670
671
  description: "Defines the image\u2019s width in pixels."
671
672
  }
672
673
  };
673
- export {
674
- props
675
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -517,6 +518,3 @@ const props = {
517
518
  },
518
519
  vocab: { required: false, control: "text", type: "string" }
519
520
  };
520
- export {
521
- props
522
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -559,6 +560,3 @@ const props = {
559
560
  },
560
561
  vocab: { required: false, control: "text", type: "string" }
561
562
  };
562
- export {
563
- props
564
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -531,6 +532,3 @@ const props = {
531
532
  },
532
533
  vocab: { required: false, control: "text", type: "string" }
533
534
  };
534
- export {
535
- props
536
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accept: {
4
5
  required: false,
@@ -663,6 +664,3 @@ const props = {
663
664
  description: "Defines the image\u2019s width in pixels."
664
665
  }
665
666
  };
666
- export {
667
- props
668
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -559,6 +560,3 @@ const props = {
559
560
  },
560
561
  vocab: { required: false, control: "text", type: "string" }
561
562
  };
562
- export {
563
- props
564
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,2 @@
1
- const props = {};
2
- export {
3
- props
4
- };
1
+ "use strict";
2
+ export const props = {};
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -513,6 +514,3 @@ const props = {
513
514
  },
514
515
  vocab: { required: false, control: "text", type: "string" }
515
516
  };
516
- export {
517
- props
518
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -572,6 +573,3 @@ const props = {
572
573
  description: "Indicates whether the text should be wrapped."
573
574
  }
574
575
  };
575
- export {
576
- props
577
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -560,6 +561,3 @@ const props = {
560
561
  },
561
562
  vocab: { required: false, control: "text", type: "string" }
562
563
  };
563
- export {
564
- props
565
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -577,6 +578,3 @@ const props = {
577
578
  description: "Defines the image\u2019s width in pixels."
578
579
  }
579
580
  };
580
- export {
581
- props
582
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -505,6 +506,3 @@ const props = {
505
506
  },
506
507
  vocab: { required: false, control: "text", type: "string" }
507
508
  };
508
- export {
509
- props
510
- };
@@ -1,4 +1,5 @@
1
- const props = {
1
+ "use strict";
2
+ export const props = {
2
3
  about: { required: false, control: "text", type: "string" },
3
4
  accessKey: {
4
5
  required: false,
@@ -662,6 +663,3 @@ const props = {
662
663
  },
663
664
  vocab: { required: false, control: "text", type: "string" }
664
665
  };
665
- export {
666
- props
667
- };
package/lib/blockquote.js CHANGED
@@ -1,15 +1,12 @@
1
+ "use strict";
1
2
  import {
2
3
  forwardRef,
3
4
  createElement
4
5
  } from "react";
5
- const defaultTag = "blockquote";
6
- const Blockquote = forwardRef(
6
+ export const defaultTag = "blockquote";
7
+ export const Blockquote = forwardRef(
7
8
  (props, ref) => {
8
9
  return createElement(defaultTag, { ...props, ref });
9
10
  }
10
11
  );
11
12
  Blockquote.displayName = "Blockquote";
12
- export {
13
- Blockquote,
14
- defaultTag
15
- };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ import { Blockquote as BlockquotePrimitive } from "./blockquote";
3
+ export default {
4
+ title: "Components/Blockquote",
5
+ component: BlockquotePrimitive
6
+ };
7
+ export const Blockquote = {
8
+ args: {
9
+ children: "Blockquote"
10
+ }
11
+ };
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { BlockquoteIcon } from "@webstudio-is/icons/svg";
2
3
  import {
3
4
  defaultStates
@@ -51,7 +52,7 @@ const presetStyle = {
51
52
  }
52
53
  ]
53
54
  };
54
- const meta = {
55
+ export const meta = {
55
56
  category: "text",
56
57
  type: "container",
57
58
  label: "Blockquote",
@@ -68,11 +69,7 @@ const meta = {
68
69
  ],
69
70
  order: 3
70
71
  };
71
- const propsMeta = {
72
+ export const propsMeta = {
72
73
  props,
73
74
  initialProps: ["id", "cite"]
74
75
  };
75
- export {
76
- meta,
77
- propsMeta
78
- };
package/lib/body.js CHANGED
@@ -1,9 +1,6 @@
1
+ "use strict";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef } from "react";
3
- const defaultTag = "body";
4
- const Body = forwardRef((props, ref) => /* @__PURE__ */ jsx("body", { ...props, ref }));
4
+ export const defaultTag = "body";
5
+ export const Body = forwardRef((props, ref) => /* @__PURE__ */ jsx("body", { ...props, ref }));
5
6
  Body.displayName = "Body";
6
- export {
7
- Body,
8
- defaultTag
9
- };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ import { Body as BodyPrimitive } from "./body";
3
+ export default {
4
+ title: "Components/Body",
5
+ component: BodyPrimitive
6
+ };
7
+ export const Body = {
8
+ args: {
9
+ children: "Body"
10
+ }
11
+ };
package/lib/body.ws.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { BodyIcon } from "@webstudio-is/icons/svg";
2
3
  import {
3
4
  defaultStates
@@ -17,18 +18,14 @@ const presetStyle = {
17
18
  }
18
19
  ]
19
20
  };
20
- const meta = {
21
+ export const meta = {
21
22
  type: "container",
22
23
  label: "Body",
23
24
  icon: BodyIcon,
24
25
  states: defaultStates,
25
26
  presetStyle
26
27
  };
27
- const propsMeta = {
28
+ export const propsMeta = {
28
29
  props,
29
30
  initialProps: ["id"]
30
31
  };
31
- export {
32
- meta,
33
- propsMeta
34
- };
package/lib/bold.js CHANGED
@@ -1,9 +1,6 @@
1
+ "use strict";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef } from "react";
3
- const defaultTag = "b";
4
- const Bold = forwardRef((props, ref) => /* @__PURE__ */ jsx("b", { ...props, ref }));
4
+ export const defaultTag = "b";
5
+ export const Bold = forwardRef((props, ref) => /* @__PURE__ */ jsx("b", { ...props, ref }));
5
6
  Bold.displayName = "Bold";
6
- export {
7
- Bold,
8
- defaultTag
9
- };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ import { Bold as BoldPrimitive } from "./bold";
3
+ export default {
4
+ title: "Components/Bold",
5
+ component: BoldPrimitive
6
+ };
7
+ export const Bold = {
8
+ args: {
9
+ children: "some bold text"
10
+ }
11
+ };
package/lib/bold.ws.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { BoldIcon } from "@webstudio-is/icons/svg";
2
3
  import {
3
4
  defaultStates
@@ -7,18 +8,14 @@ import { props } from "./__generated__/bold.props";
7
8
  const presetStyle = {
8
9
  b
9
10
  };
10
- const meta = {
11
+ export const meta = {
11
12
  type: "rich-text-child",
12
13
  label: "Bold Text",
13
14
  icon: BoldIcon,
14
15
  states: defaultStates,
15
16
  presetStyle
16
17
  };
17
- const propsMeta = {
18
+ export const propsMeta = {
18
19
  props,
19
20
  initialProps: ["id"]
20
21
  };
21
- export {
22
- meta,
23
- propsMeta
24
- };
package/lib/box.js CHANGED
@@ -1,15 +1,12 @@
1
+ "use strict";
1
2
  import {
2
3
  createElement,
3
4
  forwardRef
4
5
  } from "react";
5
- const defaultTag = "div";
6
- const Box = forwardRef(
6
+ export const defaultTag = "div";
7
+ export const Box = forwardRef(
7
8
  ({ tag = defaultTag, ...props }, ref) => {
8
9
  return createElement(tag, { ...props, ref });
9
10
  }
10
11
  );
11
12
  Box.displayName = "Box";
12
- export {
13
- Box,
14
- defaultTag
15
- };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ import { Box as BoxPrimitive } from "./box";
3
+ export default {
4
+ title: "Components/Box",
5
+ component: BoxPrimitive
6
+ };
7
+ export const Box = {
8
+ args: {
9
+ children: "Box"
10
+ }
11
+ };