@webstudio-is/react-sdk 0.7.0 → 0.7.2

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 (187) hide show
  1. package/lib/arg-types/utils.d.ts +4 -18
  2. package/lib/arg-types/utils.d.ts.map +1 -1
  3. package/lib/arg-types/utils.js +23 -16
  4. package/lib/component-utils/image.d.ts +107 -0
  5. package/lib/component-utils/image.d.ts.map +1 -0
  6. package/lib/component-utils/image.js +198 -0
  7. package/lib/component-utils/image.test.d.ts +2 -0
  8. package/lib/component-utils/image.test.d.ts.map +1 -0
  9. package/lib/component-utils/image.test.js +132 -0
  10. package/lib/components/body.props.json +104 -1847
  11. package/lib/components/body.stories.d.ts +2 -2
  12. package/lib/components/body.stories.d.ts.map +1 -1
  13. package/lib/components/body.stories.js +0 -5
  14. package/lib/components/bold.d.ts +2 -2
  15. package/lib/components/bold.d.ts.map +1 -1
  16. package/lib/components/bold.props.json +104 -1847
  17. package/lib/components/bold.stories.d.ts +3 -3
  18. package/lib/components/bold.stories.d.ts.map +1 -1
  19. package/lib/components/bold.stories.js +0 -5
  20. package/lib/components/box.props.json +108 -1899
  21. package/lib/components/box.stories.d.ts +5 -5
  22. package/lib/components/box.stories.d.ts.map +1 -1
  23. package/lib/components/box.stories.js +0 -5
  24. package/lib/components/button.d.ts +2 -2
  25. package/lib/components/button.d.ts.map +1 -1
  26. package/lib/components/button.props.json +117 -2065
  27. package/lib/components/button.stories.d.ts +3 -3
  28. package/lib/components/button.stories.d.ts.map +1 -1
  29. package/lib/components/button.stories.js +0 -5
  30. package/lib/components/component-type.d.ts +1 -1
  31. package/lib/components/component-type.d.ts.map +1 -1
  32. package/lib/components/form.d.ts +2 -2
  33. package/lib/components/form.d.ts.map +1 -1
  34. package/lib/components/form.props.json +112 -1991
  35. package/lib/components/form.stories.d.ts +3 -3
  36. package/lib/components/form.stories.d.ts.map +1 -1
  37. package/lib/components/form.stories.js +0 -5
  38. package/lib/components/heading.props.json +107 -1893
  39. package/lib/components/heading.stories.d.ts +5 -5
  40. package/lib/components/heading.stories.d.ts.map +1 -1
  41. package/lib/components/heading.stories.js +0 -5
  42. package/lib/components/image-dev.stories.d.ts +36 -0
  43. package/lib/components/image-dev.stories.d.ts.map +1 -0
  44. package/lib/components/image-dev.stories.js +102 -0
  45. package/lib/components/image.d.ts +10 -2
  46. package/lib/components/image.d.ts.map +1 -1
  47. package/lib/components/image.js +19 -9
  48. package/lib/components/image.props.json +140 -2098
  49. package/lib/components/image.stories.d.ts +11 -3
  50. package/lib/components/image.stories.d.ts.map +1 -1
  51. package/lib/components/image.stories.js +0 -5
  52. package/lib/components/image.ws.d.ts.map +1 -1
  53. package/lib/components/image.ws.js +15 -0
  54. package/lib/components/index.d.ts +3 -0
  55. package/lib/components/index.d.ts.map +1 -1
  56. package/lib/components/index.js +7 -1
  57. package/lib/components/input.d.ts +2 -2
  58. package/lib/components/input.d.ts.map +1 -1
  59. package/lib/components/input.props.json +138 -2474
  60. package/lib/components/input.stories.d.ts +3 -3
  61. package/lib/components/input.stories.d.ts.map +1 -1
  62. package/lib/components/input.stories.js +0 -5
  63. package/lib/components/italic.d.ts +2 -2
  64. package/lib/components/italic.d.ts.map +1 -1
  65. package/lib/components/italic.props.json +104 -1847
  66. package/lib/components/italic.stories.d.ts +3 -3
  67. package/lib/components/italic.stories.d.ts.map +1 -1
  68. package/lib/components/italic.stories.js +0 -5
  69. package/lib/components/link.d.ts +2 -2
  70. package/lib/components/link.d.ts.map +1 -1
  71. package/lib/components/link.props.json +116 -2040
  72. package/lib/components/link.stories.d.ts +5 -5
  73. package/lib/components/link.stories.d.ts.map +1 -1
  74. package/lib/components/link.stories.js +0 -5
  75. package/lib/components/meta.d.ts +7469 -12
  76. package/lib/components/meta.d.ts.map +1 -1
  77. package/lib/components/meta.js +34 -25
  78. package/lib/components/paragraph.d.ts +2 -2
  79. package/lib/components/paragraph.d.ts.map +1 -1
  80. package/lib/components/paragraph.props.json +104 -1847
  81. package/lib/components/paragraph.stories.d.ts +3 -3
  82. package/lib/components/paragraph.stories.d.ts.map +1 -1
  83. package/lib/components/paragraph.stories.js +0 -5
  84. package/lib/components/span.d.ts +3 -0
  85. package/lib/components/span.d.ts.map +1 -0
  86. package/lib/components/span.js +8 -0
  87. package/lib/components/span.props.json +491 -0
  88. package/lib/components/span.stories.d.ts +6 -0
  89. package/lib/components/span.stories.d.ts.map +1 -0
  90. package/lib/components/span.stories.js +14 -0
  91. package/lib/components/span.ws.d.ts +5 -0
  92. package/lib/components/span.ws.d.ts.map +1 -0
  93. package/lib/components/span.ws.js +14 -0
  94. package/lib/components/subscript.d.ts +3 -0
  95. package/lib/components/subscript.d.ts.map +1 -0
  96. package/lib/components/subscript.js +8 -0
  97. package/lib/components/subscript.props.json +491 -0
  98. package/lib/components/subscript.stories.d.ts +6 -0
  99. package/lib/components/subscript.stories.d.ts.map +1 -0
  100. package/lib/components/subscript.stories.js +14 -0
  101. package/lib/components/subscript.ws.d.ts +5 -0
  102. package/lib/components/subscript.ws.d.ts.map +1 -0
  103. package/lib/components/subscript.ws.js +14 -0
  104. package/lib/components/superscript.d.ts +3 -0
  105. package/lib/components/superscript.d.ts.map +1 -0
  106. package/lib/components/superscript.js +8 -0
  107. package/lib/components/superscript.props.json +491 -0
  108. package/lib/components/superscript.stories.d.ts +6 -0
  109. package/lib/components/superscript.stories.d.ts.map +1 -0
  110. package/lib/components/superscript.stories.js +14 -0
  111. package/lib/components/superscript.ws.d.ts +5 -0
  112. package/lib/components/superscript.ws.d.ts.map +1 -0
  113. package/lib/components/superscript.ws.js +14 -0
  114. package/lib/components/text-block.d.ts +2 -2
  115. package/lib/components/text-block.d.ts.map +1 -1
  116. package/lib/components/text-block.props.json +104 -1847
  117. package/lib/components/text-block.stories.d.ts +3 -3
  118. package/lib/components/text-block.stories.d.ts.map +1 -1
  119. package/lib/components/text-block.stories.js +0 -5
  120. package/lib/css/breakpoints.d.ts +1 -1
  121. package/lib/css/breakpoints.d.ts.map +1 -1
  122. package/lib/css/categories.d.ts +2 -2
  123. package/lib/css/get-browser-style.d.ts +1 -1
  124. package/lib/css/get-browser-style.d.ts.map +1 -1
  125. package/lib/css/get-browser-style.js +10 -5
  126. package/lib/css/index.d.ts +0 -5
  127. package/lib/css/index.d.ts.map +1 -1
  128. package/lib/css/index.js +0 -5
  129. package/lib/db/instance.d.ts +1 -1
  130. package/lib/db/instance.d.ts.map +1 -1
  131. package/lib/db/instance.js +2 -2
  132. package/lib/index.d.ts +1 -2
  133. package/lib/index.d.ts.map +1 -1
  134. package/lib/index.js +2 -3
  135. package/lib/pubsub/create.d.ts +1 -0
  136. package/lib/pubsub/create.d.ts.map +1 -1
  137. package/lib/pubsub/create.js +8 -0
  138. package/lib/remix/handle-request.server.d.ts.map +1 -1
  139. package/lib/remix/handle-request.server.js +1 -2
  140. package/lib/remix/root.d.ts.map +1 -1
  141. package/lib/remix/root.js +2 -2
  142. package/lib/tree/create-elements-tree.d.ts +7 -11
  143. package/lib/tree/create-elements-tree.d.ts.map +1 -1
  144. package/lib/tree/create-elements-tree.js +5 -10
  145. package/lib/tree/root.d.ts +4 -6
  146. package/lib/tree/root.d.ts.map +1 -1
  147. package/lib/tree/root.js +1 -23
  148. package/lib/tree/session-storage-polyfill.d.ts +2 -0
  149. package/lib/tree/session-storage-polyfill.d.ts.map +1 -0
  150. package/lib/tree/session-storage-polyfill.js +39 -0
  151. package/lib/tree/wrapper-component.d.ts +4 -4
  152. package/lib/tree/wrapper-component.d.ts.map +1 -1
  153. package/lib/tree/wrapper-component.js +5 -5
  154. package/package.json +21 -13
  155. package/lib/css/keyword-values.d.ts +0 -302
  156. package/lib/css/keyword-values.d.ts.map +0 -1
  157. package/lib/css/keyword-values.js +0 -6619
  158. package/lib/css/properties.d.ts +0 -3199
  159. package/lib/css/properties.d.ts.map +0 -1
  160. package/lib/css/properties.js +0 -3202
  161. package/lib/css/schema.d.ts +0 -283
  162. package/lib/css/schema.d.ts.map +0 -1
  163. package/lib/css/schema.js +0 -48
  164. package/lib/css/types.d.ts +0 -6
  165. package/lib/css/types.d.ts.map +0 -1
  166. package/lib/css/types.js +0 -2
  167. package/lib/css/units.d.ts +0 -2
  168. package/lib/css/units.d.ts.map +0 -1
  169. package/lib/css/units.js +0 -35
  170. package/lib/remix/constants.d.ts +0 -2
  171. package/lib/remix/constants.d.ts.map +0 -1
  172. package/lib/remix/constants.js +0 -4
  173. package/lib/remix/insert-critical-css.d.ts +0 -2
  174. package/lib/remix/insert-critical-css.d.ts.map +0 -1
  175. package/lib/remix/insert-critical-css.js +0 -9
  176. package/lib/stitches/index.d.ts +0 -3
  177. package/lib/stitches/index.d.ts.map +0 -1
  178. package/lib/stitches/index.js +0 -18
  179. package/lib/stitches/stitches.d.ts +0 -8
  180. package/lib/stitches/stitches.d.ts.map +0 -1
  181. package/lib/stitches/stitches.js +0 -38
  182. package/lib/stitches/to-css.d.ts +0 -8
  183. package/lib/stitches/to-css.d.ts.map +0 -1
  184. package/lib/stitches/to-css.js +0 -52
  185. package/lib/stitches/to-css.test.d.ts +0 -2
  186. package/lib/stitches/to-css.test.d.ts.map +0 -1
  187. package/lib/stitches/to-css.test.js +0 -82
@@ -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,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 Superscript: 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=superscript.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"superscript.stories.d.ts","sourceRoot":"","sources":["../../src/components/superscript.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAGtE,wBAGgD;AAMhD,eAAO,MAAM,WAAW,sQAAoB,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Superscript = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const superscript_1 = require("./superscript");
6
+ exports.default = {
7
+ title: "Components/Superscript",
8
+ component: superscript_1.Superscript,
9
+ };
10
+ const Template = (args) => ((0, jsx_runtime_1.jsx)(superscript_1.Superscript, { ...args }));
11
+ exports.Superscript = Template.bind({});
12
+ exports.Superscript.args = {
13
+ children: "some superscript text",
14
+ };
@@ -0,0 +1,5 @@
1
+ import type { WsComponentMeta } from "./component-type";
2
+ import { Superscript } from "./superscript";
3
+ declare const meta: WsComponentMeta<typeof Superscript>;
4
+ export default meta;
5
+ //# sourceMappingURL=superscript.ws.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"superscript.ws.d.ts","sourceRoot":"","sources":["../../src/components/superscript.ws.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,eAAe,CAAC,OAAO,WAAW,CAQ7C,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const icons_1 = require("@webstudio-is/icons");
4
+ const superscript_1 = require("./superscript");
5
+ const meta = {
6
+ Icon: icons_1.SuperscriptIcon,
7
+ Component: superscript_1.Superscript,
8
+ canAcceptChildren: false,
9
+ isContentEditable: false,
10
+ label: "Superscript Text",
11
+ isInlineOnly: true,
12
+ isListed: false,
13
+ };
14
+ exports.default = meta;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- export declare const TextBlock: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
1
+ /// <reference types="react" />
2
+ export declare const TextBlock: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
3
3
  //# sourceMappingURL=text-block.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-block.d.ts","sourceRoot":"","sources":["../../src/components/text-block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAIhF,eAAO,MAAM,SAAS,gNAGyB,CAAC"}
1
+ {"version":3,"file":"text-block.d.ts","sourceRoot":"","sources":["../../src/components/text-block.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,SAAS,kQAGyB,CAAC"}