@webstudio-is/react-sdk 0.7.2 → 0.8.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 (330) hide show
  1. package/lib/arg-types/utils.js +3 -8
  2. package/lib/cjs/arg-types/utils.cjs +88 -0
  3. package/lib/cjs/arg-types/utils.d.ts +10 -0
  4. package/lib/cjs/arg-types/utils.d.ts.map +1 -0
  5. package/lib/cjs/components/body.cjs +8 -0
  6. package/lib/cjs/components/body.d.ts +3 -0
  7. package/lib/cjs/components/body.d.ts.map +1 -0
  8. package/lib/cjs/components/body.props.json +491 -0
  9. package/lib/cjs/components/body.stories.cjs +11 -0
  10. package/lib/cjs/components/body.stories.d.ts +7 -0
  11. package/lib/cjs/components/body.stories.d.ts.map +1 -0
  12. package/lib/cjs/components/body.ws.cjs +64 -0
  13. package/lib/cjs/components/body.ws.d.ts +5 -0
  14. package/lib/cjs/components/body.ws.d.ts.map +1 -0
  15. package/lib/cjs/components/bold.cjs +8 -0
  16. package/lib/cjs/components/bold.d.ts +3 -0
  17. package/lib/cjs/components/bold.d.ts.map +1 -0
  18. package/lib/cjs/components/bold.props.json +491 -0
  19. package/lib/cjs/components/bold.stories.cjs +14 -0
  20. package/lib/cjs/components/bold.stories.d.ts +6 -0
  21. package/lib/cjs/components/bold.stories.d.ts.map +1 -0
  22. package/lib/cjs/components/bold.ws.cjs +14 -0
  23. package/lib/cjs/components/bold.ws.d.ts +5 -0
  24. package/lib/cjs/components/bold.ws.d.ts.map +1 -0
  25. package/lib/cjs/components/box.cjs +9 -0
  26. package/lib/cjs/components/box.d.ts +8 -0
  27. package/lib/cjs/components/box.d.ts.map +1 -0
  28. package/lib/cjs/components/box.props.json +508 -0
  29. package/lib/cjs/components/box.stories.cjs +12 -0
  30. package/lib/cjs/components/box.stories.d.ts +10 -0
  31. package/lib/cjs/components/box.stories.d.ts.map +1 -0
  32. package/lib/cjs/components/box.ws.cjs +21 -0
  33. package/lib/cjs/components/box.ws.d.ts +5 -0
  34. package/lib/cjs/components/box.ws.d.ts.map +1 -0
  35. package/lib/cjs/components/button.cjs +11 -0
  36. package/lib/cjs/components/button.d.ts +3 -0
  37. package/lib/cjs/components/button.d.ts.map +1 -0
  38. package/lib/cjs/components/button.props.json +547 -0
  39. package/lib/cjs/components/button.stories.cjs +14 -0
  40. package/lib/cjs/components/button.stories.d.ts +6 -0
  41. package/lib/cjs/components/button.stories.d.ts.map +1 -0
  42. package/lib/cjs/components/button.ws.cjs +15 -0
  43. package/lib/cjs/components/button.ws.d.ts +5 -0
  44. package/lib/cjs/components/button.ws.d.ts.map +1 -0
  45. package/lib/cjs/components/component-type.cjs +28 -0
  46. package/lib/cjs/components/component-type.d.ts +17 -0
  47. package/lib/cjs/components/component-type.d.ts.map +1 -0
  48. package/lib/cjs/components/form.cjs +8 -0
  49. package/lib/cjs/components/form.d.ts +3 -0
  50. package/lib/cjs/components/form.d.ts.map +1 -0
  51. package/lib/cjs/components/form.props.json +531 -0
  52. package/lib/cjs/components/form.stories.cjs +12 -0
  53. package/lib/cjs/components/form.stories.d.ts +6 -0
  54. package/lib/cjs/components/form.stories.d.ts.map +1 -0
  55. package/lib/cjs/components/form.ws.cjs +26 -0
  56. package/lib/cjs/components/form.ws.d.ts +5 -0
  57. package/lib/cjs/components/form.ws.d.ts.map +1 -0
  58. package/lib/cjs/components/heading.cjs +9 -0
  59. package/lib/cjs/components/heading.d.ts +8 -0
  60. package/lib/cjs/components/heading.d.ts.map +1 -0
  61. package/lib/cjs/components/heading.props.json +497 -0
  62. package/lib/cjs/components/heading.stories.cjs +14 -0
  63. package/lib/cjs/components/heading.stories.d.ts +10 -0
  64. package/lib/cjs/components/heading.stories.d.ts.map +1 -0
  65. package/lib/cjs/components/heading.ws.cjs +15 -0
  66. package/lib/cjs/components/heading.ws.d.ts +5 -0
  67. package/lib/cjs/components/heading.ws.d.ts.map +1 -0
  68. package/lib/cjs/components/image.cjs +40 -0
  69. package/lib/cjs/components/image.d.ts +3 -0
  70. package/lib/cjs/components/image.d.ts.map +1 -0
  71. package/lib/cjs/components/image.props.json +575 -0
  72. package/lib/cjs/components/image.stories.cjs +12 -0
  73. package/lib/cjs/components/image.stories.d.ts +6 -0
  74. package/lib/cjs/components/image.stories.d.ts.map +1 -0
  75. package/lib/cjs/components/image.ws.cjs +29 -0
  76. package/lib/cjs/components/image.ws.d.ts +5 -0
  77. package/lib/cjs/components/image.ws.d.ts.map +1 -0
  78. package/lib/cjs/components/index.cjs +36 -0
  79. package/lib/cjs/components/index.d.ts +16 -0
  80. package/lib/cjs/components/index.d.ts.map +1 -0
  81. package/lib/cjs/components/index.test.cjs +33 -0
  82. package/lib/cjs/components/index.test.d.ts +2 -0
  83. package/lib/cjs/components/index.test.d.ts.map +1 -0
  84. package/lib/cjs/components/input.cjs +8 -0
  85. package/lib/cjs/components/input.d.ts +3 -0
  86. package/lib/cjs/components/input.d.ts.map +1 -0
  87. package/lib/cjs/components/input.props.json +657 -0
  88. package/lib/cjs/components/input.stories.cjs +12 -0
  89. package/lib/cjs/components/input.stories.d.ts +6 -0
  90. package/lib/cjs/components/input.stories.d.ts.map +1 -0
  91. package/lib/cjs/components/input.ws.cjs +14 -0
  92. package/lib/cjs/components/input.ws.d.ts +5 -0
  93. package/lib/cjs/components/input.ws.d.ts.map +1 -0
  94. package/lib/cjs/components/italic.cjs +8 -0
  95. package/lib/cjs/components/italic.d.ts +3 -0
  96. package/lib/cjs/components/italic.d.ts.map +1 -0
  97. package/lib/cjs/components/italic.props.json +491 -0
  98. package/lib/cjs/components/italic.stories.cjs +14 -0
  99. package/lib/cjs/components/italic.stories.d.ts +6 -0
  100. package/lib/cjs/components/italic.stories.d.ts.map +1 -0
  101. package/lib/cjs/components/italic.ws.cjs +21 -0
  102. package/lib/cjs/components/italic.ws.d.ts +5 -0
  103. package/lib/cjs/components/italic.ws.d.ts.map +1 -0
  104. package/lib/cjs/components/link.cjs +8 -0
  105. package/lib/cjs/components/link.d.ts +8 -0
  106. package/lib/cjs/components/link.d.ts.map +1 -0
  107. package/lib/cjs/components/link.props.json +547 -0
  108. package/lib/cjs/components/link.stories.cjs +14 -0
  109. package/lib/cjs/components/link.stories.d.ts +10 -0
  110. package/lib/cjs/components/link.stories.d.ts.map +1 -0
  111. package/lib/cjs/components/link.ws.cjs +27 -0
  112. package/lib/cjs/components/link.ws.d.ts +5 -0
  113. package/lib/cjs/components/link.ws.d.ts.map +1 -0
  114. package/lib/cjs/components/meta.cjs +40 -0
  115. package/lib/cjs/components/meta.d.ts +7479 -0
  116. package/lib/cjs/components/meta.d.ts.map +1 -0
  117. package/lib/cjs/components/paragraph.cjs +8 -0
  118. package/lib/cjs/components/paragraph.d.ts +3 -0
  119. package/lib/cjs/components/paragraph.d.ts.map +1 -0
  120. package/lib/cjs/components/paragraph.props.json +491 -0
  121. package/lib/cjs/components/paragraph.stories.cjs +14 -0
  122. package/lib/cjs/components/paragraph.stories.d.ts +6 -0
  123. package/lib/cjs/components/paragraph.stories.d.ts.map +1 -0
  124. package/lib/cjs/components/paragraph.ws.cjs +15 -0
  125. package/lib/cjs/components/paragraph.ws.d.ts +5 -0
  126. package/lib/cjs/components/paragraph.ws.d.ts.map +1 -0
  127. package/lib/cjs/components/span.cjs +8 -0
  128. package/lib/cjs/components/span.d.ts +3 -0
  129. package/lib/cjs/components/span.d.ts.map +1 -0
  130. package/lib/cjs/components/span.props.json +491 -0
  131. package/lib/cjs/components/span.stories.cjs +14 -0
  132. package/lib/cjs/components/span.stories.d.ts +6 -0
  133. package/lib/cjs/components/span.stories.d.ts.map +1 -0
  134. package/lib/cjs/components/span.ws.cjs +14 -0
  135. package/lib/cjs/components/span.ws.d.ts +5 -0
  136. package/lib/cjs/components/span.ws.d.ts.map +1 -0
  137. package/lib/cjs/components/subscript.cjs +8 -0
  138. package/lib/cjs/components/subscript.d.ts +3 -0
  139. package/lib/cjs/components/subscript.d.ts.map +1 -0
  140. package/lib/cjs/components/subscript.props.json +491 -0
  141. package/lib/cjs/components/subscript.stories.cjs +14 -0
  142. package/lib/cjs/components/subscript.stories.d.ts +6 -0
  143. package/lib/cjs/components/subscript.stories.d.ts.map +1 -0
  144. package/lib/cjs/components/subscript.ws.cjs +14 -0
  145. package/lib/cjs/components/subscript.ws.d.ts +5 -0
  146. package/lib/cjs/components/subscript.ws.d.ts.map +1 -0
  147. package/lib/cjs/components/superscript.cjs +8 -0
  148. package/lib/cjs/components/superscript.d.ts +3 -0
  149. package/lib/cjs/components/superscript.d.ts.map +1 -0
  150. package/lib/cjs/components/superscript.props.json +491 -0
  151. package/lib/cjs/components/superscript.stories.cjs +14 -0
  152. package/lib/cjs/components/superscript.stories.d.ts +6 -0
  153. package/lib/cjs/components/superscript.stories.d.ts.map +1 -0
  154. package/lib/cjs/components/superscript.ws.cjs +14 -0
  155. package/lib/cjs/components/superscript.ws.d.ts +5 -0
  156. package/lib/cjs/components/superscript.ws.d.ts.map +1 -0
  157. package/lib/cjs/components/text-block.cjs +8 -0
  158. package/lib/cjs/components/text-block.d.ts +3 -0
  159. package/lib/cjs/components/text-block.d.ts.map +1 -0
  160. package/lib/cjs/components/text-block.props.json +491 -0
  161. package/lib/cjs/components/text-block.stories.cjs +14 -0
  162. package/lib/cjs/components/text-block.stories.d.ts +6 -0
  163. package/lib/cjs/components/text-block.stories.d.ts.map +1 -0
  164. package/lib/cjs/components/text-block.ws.cjs +23 -0
  165. package/lib/cjs/components/text-block.ws.d.ts +5 -0
  166. package/lib/cjs/components/text-block.ws.d.ts.map +1 -0
  167. package/lib/cjs/css/breakpoints.cjs +9 -0
  168. package/lib/cjs/css/breakpoints.d.ts +4 -0
  169. package/lib/cjs/css/breakpoints.d.ts.map +1 -0
  170. package/lib/cjs/css/categories.cjs +229 -0
  171. package/lib/cjs/css/categories.d.ts +408 -0
  172. package/lib/cjs/css/categories.d.ts.map +1 -0
  173. package/lib/cjs/css/get-browser-style.cjs +48 -0
  174. package/lib/cjs/css/get-browser-style.d.ts +3 -0
  175. package/lib/cjs/css/get-browser-style.d.ts.map +1 -0
  176. package/lib/cjs/css/index.cjs +19 -0
  177. package/lib/cjs/css/index.d.ts +4 -0
  178. package/lib/cjs/css/index.d.ts.map +1 -0
  179. package/lib/cjs/db/index.cjs +18 -0
  180. package/lib/cjs/db/index.d.ts +3 -0
  181. package/lib/cjs/db/index.d.ts.map +1 -0
  182. package/lib/cjs/db/instance.cjs +21 -0
  183. package/lib/cjs/db/instance.d.ts +14 -0
  184. package/lib/cjs/db/instance.d.ts.map +1 -0
  185. package/lib/cjs/db/types.cjs +2 -0
  186. package/lib/cjs/db/types.d.ts +17 -0
  187. package/lib/cjs/db/types.d.ts.map +1 -0
  188. package/lib/cjs/index.cjs +37 -0
  189. package/lib/cjs/index.d.ts +9 -0
  190. package/lib/cjs/index.d.ts.map +1 -0
  191. package/lib/cjs/pubsub/create.cjs +66 -0
  192. package/lib/cjs/pubsub/create.d.ts +29 -0
  193. package/lib/cjs/pubsub/create.d.ts.map +1 -0
  194. package/lib/cjs/pubsub/index.cjs +17 -0
  195. package/lib/cjs/pubsub/index.d.ts +2 -0
  196. package/lib/cjs/pubsub/index.d.ts.map +1 -0
  197. package/lib/cjs/remix/handle-request.server.cjs +15 -0
  198. package/lib/cjs/remix/handle-request.server.d.ts +3 -0
  199. package/lib/cjs/remix/handle-request.server.d.ts.map +1 -0
  200. package/lib/cjs/remix/index.cjs +18 -0
  201. package/lib/cjs/remix/index.d.ts +3 -0
  202. package/lib/cjs/remix/index.d.ts.map +1 -0
  203. package/lib/cjs/remix/root.cjs +13 -0
  204. package/lib/cjs/remix/root.d.ts +8 -0
  205. package/lib/cjs/remix/root.d.ts.map +1 -0
  206. package/lib/cjs/tree/create-elements-tree.cjs +54 -0
  207. package/lib/cjs/tree/create-elements-tree.d.ts +19 -0
  208. package/lib/cjs/tree/create-elements-tree.d.ts.map +1 -0
  209. package/lib/cjs/tree/index.cjs +19 -0
  210. package/lib/cjs/tree/index.d.ts +4 -0
  211. package/lib/cjs/tree/index.d.ts.map +1 -0
  212. package/lib/cjs/tree/root.cjs +17 -0
  213. package/lib/cjs/tree/root.d.ts +18 -0
  214. package/lib/cjs/tree/root.d.ts.map +1 -0
  215. package/lib/cjs/tree/session-storage-polyfill.cjs +39 -0
  216. package/lib/cjs/tree/session-storage-polyfill.d.ts +2 -0
  217. package/lib/cjs/tree/session-storage-polyfill.d.ts.map +1 -0
  218. package/lib/cjs/tree/wrapper-component.cjs +53 -0
  219. package/lib/cjs/tree/wrapper-component.d.ts +12 -0
  220. package/lib/cjs/tree/wrapper-component.d.ts.map +1 -0
  221. package/lib/cjs/user-props/all-user-props.cjs +21 -0
  222. package/lib/cjs/user-props/all-user-props.d.ts +8 -0
  223. package/lib/cjs/user-props/all-user-props.d.ts.map +1 -0
  224. package/lib/cjs/user-props/index.cjs +20 -0
  225. package/lib/cjs/user-props/index.d.ts +5 -0
  226. package/lib/cjs/user-props/index.d.ts.map +1 -0
  227. package/lib/cjs/user-props/schema.cjs +33 -0
  228. package/lib/cjs/user-props/schema.d.ts +72 -0
  229. package/lib/cjs/user-props/schema.d.ts.map +1 -0
  230. package/lib/cjs/user-props/types.cjs +2 -0
  231. package/lib/cjs/user-props/types.d.ts +13 -0
  232. package/lib/cjs/user-props/types.d.ts.map +1 -0
  233. package/lib/cjs/user-props/use-user-props.cjs +33 -0
  234. package/lib/cjs/user-props/use-user-props.d.ts +12 -0
  235. package/lib/cjs/user-props/use-user-props.d.ts.map +1 -0
  236. package/lib/components/body.js +4 -7
  237. package/lib/components/body.stories.js +5 -9
  238. package/lib/components/body.ws.js +5 -7
  239. package/lib/components/bold.js +4 -7
  240. package/lib/components/bold.stories.js +7 -10
  241. package/lib/components/bold.ws.js +5 -7
  242. package/lib/components/box.js +4 -7
  243. package/lib/components/box.stories.js +7 -10
  244. package/lib/components/box.ws.js +5 -7
  245. package/lib/components/button.js +5 -8
  246. package/lib/components/button.stories.js +7 -10
  247. package/lib/components/button.ws.js +5 -7
  248. package/lib/components/component-type.js +11 -14
  249. package/lib/components/form.js +4 -7
  250. package/lib/components/form.stories.js +7 -10
  251. package/lib/components/form.ws.js +5 -7
  252. package/lib/components/heading.js +4 -7
  253. package/lib/components/heading.stories.js +7 -10
  254. package/lib/components/heading.ws.js +5 -7
  255. package/lib/components/image.d.ts +2 -10
  256. package/lib/components/image.d.ts.map +1 -1
  257. package/lib/components/image.js +6 -21
  258. package/lib/components/image.stories.d.ts +2 -10
  259. package/lib/components/image.stories.d.ts.map +1 -1
  260. package/lib/components/image.stories.js +7 -10
  261. package/lib/components/image.ws.js +5 -7
  262. package/lib/components/index.js +15 -36
  263. package/lib/components/index.test.js +3 -28
  264. package/lib/components/input.js +4 -7
  265. package/lib/components/input.stories.js +7 -10
  266. package/lib/components/input.ws.js +5 -7
  267. package/lib/components/italic.js +4 -7
  268. package/lib/components/italic.stories.js +7 -10
  269. package/lib/components/italic.ws.d.ts.map +1 -1
  270. package/lib/components/italic.ws.js +12 -7
  271. package/lib/components/link.js +4 -7
  272. package/lib/components/link.stories.js +7 -10
  273. package/lib/components/link.ws.js +5 -7
  274. package/lib/components/meta.d.ts +13 -4
  275. package/lib/components/meta.d.ts.map +1 -1
  276. package/lib/components/meta.js +32 -37
  277. package/lib/components/paragraph.js +4 -7
  278. package/lib/components/paragraph.stories.js +7 -10
  279. package/lib/components/paragraph.ws.js +5 -7
  280. package/lib/components/span.js +4 -7
  281. package/lib/components/span.stories.js +7 -10
  282. package/lib/components/span.ws.js +5 -7
  283. package/lib/components/subscript.js +4 -7
  284. package/lib/components/subscript.stories.js +7 -10
  285. package/lib/components/subscript.ws.js +5 -7
  286. package/lib/components/superscript.js +4 -7
  287. package/lib/components/superscript.stories.js +7 -10
  288. package/lib/components/superscript.ws.js +5 -7
  289. package/lib/components/text-block.js +4 -7
  290. package/lib/components/text-block.stories.js +7 -10
  291. package/lib/components/text-block.ws.js +5 -7
  292. package/lib/css/breakpoints.js +1 -4
  293. package/lib/css/categories.js +5 -8
  294. package/lib/css/get-browser-style.js +7 -11
  295. package/lib/css/index.js +3 -19
  296. package/lib/db/index.js +2 -18
  297. package/lib/db/instance.js +8 -12
  298. package/lib/db/types.d.ts +6 -0
  299. package/lib/db/types.d.ts.map +1 -1
  300. package/lib/db/types.js +1 -2
  301. package/lib/index.js +8 -37
  302. package/lib/pubsub/create.js +8 -15
  303. package/lib/pubsub/index.js +1 -17
  304. package/lib/remix/handle-request.server.js +5 -9
  305. package/lib/remix/index.js +2 -18
  306. package/lib/remix/root.js +5 -9
  307. package/lib/tree/create-elements-tree.js +7 -11
  308. package/lib/tree/index.js +3 -19
  309. package/lib/tree/root.js +7 -11
  310. package/lib/tree/session-storage-polyfill.js +2 -6
  311. package/lib/tree/wrapper-component.js +11 -39
  312. package/lib/tsconfig.tsbuildinfo +1 -0
  313. package/lib/user-props/all-user-props.js +7 -11
  314. package/lib/user-props/index.js +4 -20
  315. package/lib/user-props/schema.d.ts +41 -4
  316. package/lib/user-props/schema.d.ts.map +1 -1
  317. package/lib/user-props/schema.js +29 -10
  318. package/lib/user-props/types.js +1 -2
  319. package/lib/user-props/use-user-props.d.ts.map +1 -1
  320. package/lib/user-props/use-user-props.js +7 -11
  321. package/package.json +16 -10
  322. package/lib/component-utils/image.d.ts +0 -107
  323. package/lib/component-utils/image.d.ts.map +0 -1
  324. package/lib/component-utils/image.js +0 -198
  325. package/lib/component-utils/image.test.d.ts +0 -2
  326. package/lib/component-utils/image.test.d.ts.map +0 -1
  327. package/lib/component-utils/image.test.js +0 -132
  328. package/lib/components/image-dev.stories.d.ts +0 -36
  329. package/lib/components/image-dev.stories.d.ts.map +0 -1
  330. package/lib/components/image-dev.stories.js +0 -102
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Italic = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const defaultTag = "i";
7
+ exports.Italic = (0, react_1.forwardRef)((props, ref) => (0, jsx_runtime_1.jsx)("i", { ...props, ref: ref }));
8
+ exports.Italic.displayName = "Italic";
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const Italic: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>;
3
+ //# sourceMappingURL=italic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"italic.d.ts","sourceRoot":"","sources":["../../../src/components/italic.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,MAAM,sPAG0B,CAAC"}
@@ -0,0 +1,491 @@
1
+ {
2
+ "slot": {
3
+ "defaultValue": null,
4
+ "required": false,
5
+ "type": "text"
6
+ },
7
+ "style": {
8
+ "defaultValue": null,
9
+ "required": false,
10
+ "type": "text"
11
+ },
12
+ "title": {
13
+ "defaultValue": null,
14
+ "required": false,
15
+ "type": "text"
16
+ },
17
+ "defaultChecked": {
18
+ "defaultValue": null,
19
+ "required": false,
20
+ "type": "boolean"
21
+ },
22
+ "defaultValue": {
23
+ "defaultValue": null,
24
+ "required": false,
25
+ "type": "text"
26
+ },
27
+ "suppressContentEditableWarning": {
28
+ "defaultValue": null,
29
+ "required": false,
30
+ "type": "boolean"
31
+ },
32
+ "suppressHydrationWarning": {
33
+ "defaultValue": null,
34
+ "required": false,
35
+ "type": "boolean"
36
+ },
37
+ "accessKey": {
38
+ "defaultValue": null,
39
+ "required": false,
40
+ "type": "text"
41
+ },
42
+ "className": {
43
+ "defaultValue": null,
44
+ "required": false,
45
+ "type": "text"
46
+ },
47
+ "contentEditable": {
48
+ "defaultValue": null,
49
+ "required": false,
50
+ "type": "text"
51
+ },
52
+ "contextMenu": {
53
+ "defaultValue": null,
54
+ "required": false,
55
+ "type": "text"
56
+ },
57
+ "dir": {
58
+ "defaultValue": null,
59
+ "required": false,
60
+ "type": "text"
61
+ },
62
+ "draggable": {
63
+ "defaultValue": null,
64
+ "required": false,
65
+ "type": "boolean"
66
+ },
67
+ "hidden": {
68
+ "defaultValue": null,
69
+ "required": false,
70
+ "type": "boolean"
71
+ },
72
+ "id": {
73
+ "defaultValue": null,
74
+ "required": false,
75
+ "type": "text"
76
+ },
77
+ "lang": {
78
+ "defaultValue": null,
79
+ "required": false,
80
+ "type": "text"
81
+ },
82
+ "placeholder": {
83
+ "defaultValue": null,
84
+ "required": false,
85
+ "type": "text"
86
+ },
87
+ "spellCheck": {
88
+ "defaultValue": null,
89
+ "required": false,
90
+ "type": "boolean"
91
+ },
92
+ "tabIndex": {
93
+ "defaultValue": null,
94
+ "required": false,
95
+ "type": "number"
96
+ },
97
+ "translate": {
98
+ "defaultValue": null,
99
+ "options": ["yes", "no"],
100
+ "required": false,
101
+ "type": "radio"
102
+ },
103
+ "radioGroup": {
104
+ "defaultValue": null,
105
+ "required": false,
106
+ "type": "text"
107
+ },
108
+ "role": {
109
+ "defaultValue": null,
110
+ "required": false,
111
+ "type": "text"
112
+ },
113
+ "about": {
114
+ "defaultValue": null,
115
+ "required": false,
116
+ "type": "text"
117
+ },
118
+ "datatype": {
119
+ "defaultValue": null,
120
+ "required": false,
121
+ "type": "text"
122
+ },
123
+ "inlist": {
124
+ "defaultValue": null,
125
+ "required": false,
126
+ "type": "text"
127
+ },
128
+ "prefix": {
129
+ "defaultValue": null,
130
+ "required": false,
131
+ "type": "text"
132
+ },
133
+ "property": {
134
+ "defaultValue": null,
135
+ "required": false,
136
+ "type": "text"
137
+ },
138
+ "resource": {
139
+ "defaultValue": null,
140
+ "required": false,
141
+ "type": "text"
142
+ },
143
+ "typeof": {
144
+ "defaultValue": null,
145
+ "required": false,
146
+ "type": "text"
147
+ },
148
+ "vocab": {
149
+ "defaultValue": null,
150
+ "required": false,
151
+ "type": "text"
152
+ },
153
+ "autoCapitalize": {
154
+ "defaultValue": null,
155
+ "required": false,
156
+ "type": "text"
157
+ },
158
+ "autoCorrect": {
159
+ "defaultValue": null,
160
+ "required": false,
161
+ "type": "text"
162
+ },
163
+ "autoSave": {
164
+ "defaultValue": null,
165
+ "required": false,
166
+ "type": "text"
167
+ },
168
+ "color": {
169
+ "defaultValue": null,
170
+ "required": false,
171
+ "type": "color"
172
+ },
173
+ "itemProp": {
174
+ "defaultValue": null,
175
+ "required": false,
176
+ "type": "text"
177
+ },
178
+ "itemScope": {
179
+ "defaultValue": null,
180
+ "required": false,
181
+ "type": "boolean"
182
+ },
183
+ "itemType": {
184
+ "defaultValue": null,
185
+ "required": false,
186
+ "type": "text"
187
+ },
188
+ "itemID": {
189
+ "defaultValue": null,
190
+ "required": false,
191
+ "type": "text"
192
+ },
193
+ "itemRef": {
194
+ "defaultValue": null,
195
+ "required": false,
196
+ "type": "text"
197
+ },
198
+ "results": {
199
+ "defaultValue": null,
200
+ "required": false,
201
+ "type": "number"
202
+ },
203
+ "security": {
204
+ "defaultValue": null,
205
+ "required": false,
206
+ "type": "text"
207
+ },
208
+ "unselectable": {
209
+ "defaultValue": null,
210
+ "options": ["on", "off"],
211
+ "required": false,
212
+ "type": "radio"
213
+ },
214
+ "inputMode": {
215
+ "defaultValue": null,
216
+ "options": [
217
+ "text",
218
+ "none",
219
+ "search",
220
+ "tel",
221
+ "url",
222
+ "email",
223
+ "numeric",
224
+ "decimal"
225
+ ],
226
+ "required": false,
227
+ "type": "select"
228
+ },
229
+ "is": {
230
+ "defaultValue": null,
231
+ "required": false,
232
+ "type": "text"
233
+ },
234
+ "aria-activedescendant": {
235
+ "defaultValue": null,
236
+ "required": false,
237
+ "type": "text"
238
+ },
239
+ "aria-atomic": {
240
+ "defaultValue": null,
241
+ "required": false,
242
+ "type": "boolean"
243
+ },
244
+ "aria-autocomplete": {
245
+ "defaultValue": null,
246
+ "options": ["list", "none", "inline", "both"],
247
+ "required": false,
248
+ "type": "radio"
249
+ },
250
+ "aria-busy": {
251
+ "defaultValue": null,
252
+ "required": false,
253
+ "type": "boolean"
254
+ },
255
+ "aria-checked": {
256
+ "defaultValue": null,
257
+ "required": false,
258
+ "type": "text"
259
+ },
260
+ "aria-colcount": {
261
+ "defaultValue": null,
262
+ "required": false,
263
+ "type": "number"
264
+ },
265
+ "aria-colindex": {
266
+ "defaultValue": null,
267
+ "required": false,
268
+ "type": "number"
269
+ },
270
+ "aria-colspan": {
271
+ "defaultValue": null,
272
+ "required": false,
273
+ "type": "number"
274
+ },
275
+ "aria-controls": {
276
+ "defaultValue": null,
277
+ "required": false,
278
+ "type": "text"
279
+ },
280
+ "aria-current": {
281
+ "defaultValue": null,
282
+ "required": false,
283
+ "type": "text"
284
+ },
285
+ "aria-describedby": {
286
+ "defaultValue": null,
287
+ "required": false,
288
+ "type": "text"
289
+ },
290
+ "aria-details": {
291
+ "defaultValue": null,
292
+ "required": false,
293
+ "type": "text"
294
+ },
295
+ "aria-disabled": {
296
+ "defaultValue": null,
297
+ "required": false,
298
+ "type": "boolean"
299
+ },
300
+ "aria-dropeffect": {
301
+ "defaultValue": null,
302
+ "options": ["link", "none", "copy", "execute", "move", "popup"],
303
+ "required": false,
304
+ "type": "select"
305
+ },
306
+ "aria-errormessage": {
307
+ "defaultValue": null,
308
+ "required": false,
309
+ "type": "text"
310
+ },
311
+ "aria-expanded": {
312
+ "defaultValue": null,
313
+ "required": false,
314
+ "type": "boolean"
315
+ },
316
+ "aria-flowto": {
317
+ "defaultValue": null,
318
+ "required": false,
319
+ "type": "text"
320
+ },
321
+ "aria-grabbed": {
322
+ "defaultValue": null,
323
+ "required": false,
324
+ "type": "boolean"
325
+ },
326
+ "aria-haspopup": {
327
+ "defaultValue": null,
328
+ "required": false,
329
+ "type": "text"
330
+ },
331
+ "aria-hidden": {
332
+ "defaultValue": null,
333
+ "required": false,
334
+ "type": "boolean"
335
+ },
336
+ "aria-invalid": {
337
+ "defaultValue": null,
338
+ "required": false,
339
+ "type": "text"
340
+ },
341
+ "aria-keyshortcuts": {
342
+ "defaultValue": null,
343
+ "required": false,
344
+ "type": "text"
345
+ },
346
+ "aria-label": {
347
+ "defaultValue": null,
348
+ "required": false,
349
+ "type": "text"
350
+ },
351
+ "aria-labelledby": {
352
+ "defaultValue": null,
353
+ "required": false,
354
+ "type": "text"
355
+ },
356
+ "aria-level": {
357
+ "defaultValue": null,
358
+ "required": false,
359
+ "type": "number"
360
+ },
361
+ "aria-live": {
362
+ "defaultValue": null,
363
+ "options": ["off", "assertive", "polite"],
364
+ "required": false,
365
+ "type": "radio"
366
+ },
367
+ "aria-modal": {
368
+ "defaultValue": null,
369
+ "required": false,
370
+ "type": "boolean"
371
+ },
372
+ "aria-multiline": {
373
+ "defaultValue": null,
374
+ "required": false,
375
+ "type": "boolean"
376
+ },
377
+ "aria-multiselectable": {
378
+ "defaultValue": null,
379
+ "required": false,
380
+ "type": "boolean"
381
+ },
382
+ "aria-orientation": {
383
+ "defaultValue": null,
384
+ "options": ["horizontal", "vertical"],
385
+ "required": false,
386
+ "type": "radio"
387
+ },
388
+ "aria-owns": {
389
+ "defaultValue": null,
390
+ "required": false,
391
+ "type": "text"
392
+ },
393
+ "aria-placeholder": {
394
+ "defaultValue": null,
395
+ "required": false,
396
+ "type": "text"
397
+ },
398
+ "aria-posinset": {
399
+ "defaultValue": null,
400
+ "required": false,
401
+ "type": "number"
402
+ },
403
+ "aria-pressed": {
404
+ "defaultValue": null,
405
+ "required": false,
406
+ "type": "text"
407
+ },
408
+ "aria-readonly": {
409
+ "defaultValue": null,
410
+ "required": false,
411
+ "type": "boolean"
412
+ },
413
+ "aria-relevant": {
414
+ "defaultValue": null,
415
+ "options": [
416
+ "text",
417
+ "additions",
418
+ "additions removals",
419
+ "additions text",
420
+ "all",
421
+ "removals",
422
+ "removals additions",
423
+ "removals text",
424
+ "text additions",
425
+ "text removals"
426
+ ],
427
+ "required": false,
428
+ "type": "select"
429
+ },
430
+ "aria-required": {
431
+ "defaultValue": null,
432
+ "required": false,
433
+ "type": "boolean"
434
+ },
435
+ "aria-roledescription": {
436
+ "defaultValue": null,
437
+ "required": false,
438
+ "type": "text"
439
+ },
440
+ "aria-rowcount": {
441
+ "defaultValue": null,
442
+ "required": false,
443
+ "type": "number"
444
+ },
445
+ "aria-rowindex": {
446
+ "defaultValue": null,
447
+ "required": false,
448
+ "type": "number"
449
+ },
450
+ "aria-rowspan": {
451
+ "defaultValue": null,
452
+ "required": false,
453
+ "type": "number"
454
+ },
455
+ "aria-selected": {
456
+ "defaultValue": null,
457
+ "required": false,
458
+ "type": "boolean"
459
+ },
460
+ "aria-setsize": {
461
+ "defaultValue": null,
462
+ "required": false,
463
+ "type": "number"
464
+ },
465
+ "aria-sort": {
466
+ "defaultValue": null,
467
+ "options": ["none", "ascending", "descending", "other"],
468
+ "required": false,
469
+ "type": "radio"
470
+ },
471
+ "aria-valuemax": {
472
+ "defaultValue": null,
473
+ "required": false,
474
+ "type": "number"
475
+ },
476
+ "aria-valuemin": {
477
+ "defaultValue": null,
478
+ "required": false,
479
+ "type": "number"
480
+ },
481
+ "aria-valuenow": {
482
+ "defaultValue": null,
483
+ "required": false,
484
+ "type": "number"
485
+ },
486
+ "aria-valuetext": {
487
+ "defaultValue": null,
488
+ "required": false,
489
+ "type": "text"
490
+ }
491
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Italic = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const italic_1 = require("./italic");
6
+ exports.default = {
7
+ title: "Components/Italic",
8
+ component: italic_1.Italic,
9
+ };
10
+ const Template = (args) => ((0, jsx_runtime_1.jsx)(italic_1.Italic, { ...args }));
11
+ exports.Italic = Template.bind({});
12
+ exports.Italic.args = {
13
+ children: "some italic text",
14
+ };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { ComponentStory, ComponentMeta } from "@storybook/react";
3
+ declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
4
+ export default _default;
5
+ export declare const Italic: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>>>;
6
+ //# sourceMappingURL=italic.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"italic.stories.d.ts","sourceRoot":"","sources":["../../../src/components/italic.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAGtE,wBAG2C;AAM3C,eAAO,MAAM,MAAM,sQAAoB,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const icons_1 = require("@webstudio-is/icons");
4
+ const italic_1 = require("./italic");
5
+ const defaultStyle = {
6
+ fontStyle: {
7
+ type: "keyword",
8
+ value: "italic",
9
+ },
10
+ };
11
+ const meta = {
12
+ Icon: icons_1.FontItalicIcon,
13
+ Component: italic_1.Italic,
14
+ defaultStyle,
15
+ canAcceptChildren: false,
16
+ isContentEditable: false,
17
+ isInlineOnly: true,
18
+ label: "Italic Text",
19
+ isListed: false,
20
+ };
21
+ exports.default = meta;
@@ -0,0 +1,5 @@
1
+ import type { WsComponentMeta } from "./component-type";
2
+ import { Italic } from "./italic";
3
+ declare const meta: WsComponentMeta<typeof Italic>;
4
+ export default meta;
5
+ //# sourceMappingURL=italic.ws.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"italic.ws.d.ts","sourceRoot":"","sources":["../../../src/components/italic.ws.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,QAAA,MAAM,IAAI,EAAE,eAAe,CAAC,OAAO,MAAM,CASxC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Link = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const defaultTag = "a";
7
+ exports.Link = (0, react_1.forwardRef)(({ href = "", ...props }, ref) => (0, jsx_runtime_1.jsx)("a", { ...props, href: href, ref: ref }));
8
+ exports.Link.displayName = "Link";
@@ -0,0 +1,8 @@
1
+ import { type ComponentProps } from "react";
2
+ declare const defaultTag = "a";
3
+ declare type LinkProps = Omit<ComponentProps<typeof defaultTag>, "href"> & {
4
+ href?: string;
5
+ };
6
+ export declare const Link: import("react").ForwardRefExoticComponent<Pick<LinkProps, "color" | "translate" | "type" | "id" | "children" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "href" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & import("react").RefAttributes<HTMLAnchorElement>>;
7
+ export {};
8
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzE,QAAA,MAAM,UAAU,MAAM,CAAC;AAEvB,aAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,MAAM,CAAC,GAAG;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,IAAI,0sJAEhB,CAAC"}