@webstudio-is/sdk-components-react 0.87.1 → 0.89.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 (163) hide show
  1. package/lib/__generated__/blockquote.props.js +117 -21
  2. package/lib/__generated__/body.props.js +111 -20
  3. package/lib/__generated__/bold.props.js +111 -20
  4. package/lib/__generated__/box.props.js +112 -20
  5. package/lib/__generated__/button.props.js +161 -29
  6. package/lib/__generated__/checkbox.props.js +261 -50
  7. package/lib/__generated__/code-text.props.js +108 -24
  8. package/lib/__generated__/form.props.js +159 -28
  9. package/lib/__generated__/heading.props.js +112 -20
  10. package/lib/__generated__/image.props.js +149 -29
  11. package/lib/__generated__/input.props.js +263 -51
  12. package/lib/__generated__/italic.props.js +111 -20
  13. package/lib/__generated__/label.props.js +123 -22
  14. package/lib/__generated__/link.props.js +145 -27
  15. package/lib/__generated__/list-item.props.js +111 -20
  16. package/lib/__generated__/list.props.js +126 -23
  17. package/lib/__generated__/paragraph.props.js +111 -20
  18. package/lib/__generated__/radio-button.props.js +261 -50
  19. package/lib/__generated__/rich-text-link.props.js +145 -27
  20. package/lib/__generated__/separator.props.js +111 -20
  21. package/lib/__generated__/span.props.js +111 -20
  22. package/lib/__generated__/subscript.props.js +111 -20
  23. package/lib/__generated__/superscript.props.js +111 -20
  24. package/lib/__generated__/text.props.js +114 -22
  25. package/lib/__generated__/textarea.props.js +177 -31
  26. package/lib/__generated__/vimeo-play-button.props.js +161 -29
  27. package/lib/__generated__/vimeo-preview-image.props.js +149 -29
  28. package/lib/__generated__/vimeo-spinner.props.js +111 -20
  29. package/lib/__generated__/vimeo.props.js +112 -21
  30. package/lib/blockquote.ws.js +2 -1
  31. package/lib/box.ws.js +1 -0
  32. package/lib/button.ws.js +1 -0
  33. package/lib/checkbox.ws.js +1 -0
  34. package/lib/cjs/__generated__/blockquote.props.js +117 -21
  35. package/lib/cjs/__generated__/body.props.js +111 -20
  36. package/lib/cjs/__generated__/bold.props.js +111 -20
  37. package/lib/cjs/__generated__/box.props.js +112 -20
  38. package/lib/cjs/__generated__/button.props.js +161 -29
  39. package/lib/cjs/__generated__/checkbox.props.js +261 -50
  40. package/lib/cjs/__generated__/code-text.props.js +108 -24
  41. package/lib/cjs/__generated__/form.props.js +159 -28
  42. package/lib/cjs/__generated__/heading.props.js +112 -20
  43. package/lib/cjs/__generated__/image.props.js +149 -29
  44. package/lib/cjs/__generated__/input.props.js +263 -51
  45. package/lib/cjs/__generated__/italic.props.js +111 -20
  46. package/lib/cjs/__generated__/label.props.js +123 -22
  47. package/lib/cjs/__generated__/link.props.js +145 -27
  48. package/lib/cjs/__generated__/list-item.props.js +111 -20
  49. package/lib/cjs/__generated__/list.props.js +126 -23
  50. package/lib/cjs/__generated__/paragraph.props.js +111 -20
  51. package/lib/cjs/__generated__/radio-button.props.js +261 -50
  52. package/lib/cjs/__generated__/rich-text-link.props.js +145 -27
  53. package/lib/cjs/__generated__/separator.props.js +111 -20
  54. package/lib/cjs/__generated__/span.props.js +111 -20
  55. package/lib/cjs/__generated__/subscript.props.js +111 -20
  56. package/lib/cjs/__generated__/superscript.props.js +111 -20
  57. package/lib/cjs/__generated__/text.props.js +114 -22
  58. package/lib/cjs/__generated__/textarea.props.js +177 -31
  59. package/lib/cjs/__generated__/vimeo-play-button.props.js +161 -29
  60. package/lib/cjs/__generated__/vimeo-preview-image.props.js +149 -29
  61. package/lib/cjs/__generated__/vimeo-spinner.props.js +111 -20
  62. package/lib/cjs/__generated__/vimeo.props.js +112 -21
  63. package/lib/cjs/blockquote.ws.js +2 -1
  64. package/lib/cjs/box.ws.js +1 -0
  65. package/lib/cjs/button.ws.js +1 -0
  66. package/lib/cjs/checkbox.ws.js +1 -0
  67. package/lib/cjs/code-text.js +4 -13
  68. package/lib/cjs/code-text.ws.js +10 -9
  69. package/lib/cjs/form.ws.js +1 -0
  70. package/lib/cjs/heading.ws.js +2 -0
  71. package/lib/cjs/html-embed.ws.js +1 -0
  72. package/lib/cjs/image.ws.js +1 -0
  73. package/lib/cjs/input.ws.js +1 -0
  74. package/lib/cjs/label.ws.js +1 -1
  75. package/lib/cjs/link.ws.js +2 -0
  76. package/lib/cjs/list-item.ws.js +1 -0
  77. package/lib/cjs/list.ws.js +1 -0
  78. package/lib/cjs/paragraph.ws.js +2 -0
  79. package/lib/cjs/radio-button.ws.js +1 -0
  80. package/lib/cjs/separator.ws.js +1 -0
  81. package/lib/cjs/text.ws.js +1 -0
  82. package/lib/cjs/textarea.ws.js +1 -0
  83. package/lib/cjs/vimeo.ws.js +1 -0
  84. package/lib/code-text.js +4 -13
  85. package/lib/code-text.ws.js +8 -7
  86. package/lib/form.ws.js +1 -0
  87. package/lib/heading.ws.js +2 -0
  88. package/lib/html-embed.ws.js +1 -0
  89. package/lib/image.ws.js +1 -0
  90. package/lib/input.ws.js +1 -0
  91. package/lib/label.ws.js +1 -1
  92. package/lib/link.ws.js +2 -0
  93. package/lib/list-item.ws.js +1 -0
  94. package/lib/list.ws.js +1 -0
  95. package/lib/paragraph.ws.js +2 -0
  96. package/lib/radio-button.ws.js +1 -0
  97. package/lib/separator.ws.js +1 -0
  98. package/lib/text.ws.js +1 -0
  99. package/lib/textarea.ws.js +1 -0
  100. package/lib/types/box.d.ts +1 -0
  101. package/lib/types/code-text.d.ts +2 -8
  102. package/lib/types/heading.d.ts +1 -0
  103. package/lib/types/list.d.ts +1 -0
  104. package/lib/types/text.d.ts +2 -1
  105. package/lib/types/vimeo-preview-image.d.ts +2 -2
  106. package/lib/types/vimeo.d.ts +1 -1
  107. package/lib/vimeo.ws.js +1 -0
  108. package/package.json +6 -6
  109. package/src/__generated__/blockquote.props.ts +131 -20
  110. package/src/__generated__/body.props.ts +124 -19
  111. package/src/__generated__/bold.props.ts +124 -19
  112. package/src/__generated__/box.props.ts +126 -19
  113. package/src/__generated__/button.props.ts +180 -27
  114. package/src/__generated__/checkbox.props.ts +289 -47
  115. package/src/__generated__/code-text.props.ts +121 -23
  116. package/src/__generated__/form.props.ts +179 -27
  117. package/src/__generated__/heading.props.ts +126 -19
  118. package/src/__generated__/image.props.ts +160 -24
  119. package/src/__generated__/input.props.ts +291 -47
  120. package/src/__generated__/italic.props.ts +124 -19
  121. package/src/__generated__/label.props.ts +137 -21
  122. package/src/__generated__/link.props.ts +159 -24
  123. package/src/__generated__/list-item.props.ts +124 -19
  124. package/src/__generated__/list.props.ts +140 -21
  125. package/src/__generated__/paragraph.props.ts +124 -19
  126. package/src/__generated__/radio-button.props.ts +289 -47
  127. package/src/__generated__/rich-text-link.props.ts +159 -24
  128. package/src/__generated__/separator.props.ts +124 -19
  129. package/src/__generated__/span.props.ts +124 -19
  130. package/src/__generated__/subscript.props.ts +124 -19
  131. package/src/__generated__/superscript.props.ts +124 -19
  132. package/src/__generated__/text.props.ts +128 -21
  133. package/src/__generated__/textarea.props.ts +195 -30
  134. package/src/__generated__/vimeo-play-button.props.ts +179 -27
  135. package/src/__generated__/vimeo-preview-image.props.ts +160 -24
  136. package/src/__generated__/vimeo-spinner.props.ts +124 -19
  137. package/src/__generated__/vimeo.props.ts +125 -20
  138. package/src/blockquote.ws.tsx +3 -1
  139. package/src/box.tsx +1 -0
  140. package/src/box.ws.ts +2 -0
  141. package/src/button.ws.tsx +2 -0
  142. package/src/checkbox.ws.tsx +2 -0
  143. package/src/code-text.tsx +8 -22
  144. package/src/code-text.ws.tsx +10 -7
  145. package/src/form.ws.tsx +1 -0
  146. package/src/heading.tsx +1 -0
  147. package/src/heading.ws.tsx +3 -0
  148. package/src/html-embed.ws.ts +1 -0
  149. package/src/image.ws.tsx +2 -0
  150. package/src/input.ws.tsx +2 -0
  151. package/src/label.ws.tsx +1 -1
  152. package/src/link.ws.tsx +3 -0
  153. package/src/list-item.ws.tsx +1 -0
  154. package/src/list.tsx +1 -0
  155. package/src/list.ws.tsx +1 -0
  156. package/src/paragraph.ws.tsx +2 -0
  157. package/src/radio-button.ws.tsx +2 -0
  158. package/src/separator.ws.tsx +2 -0
  159. package/src/text.tsx +2 -1
  160. package/src/text.ws.tsx +2 -0
  161. package/src/textarea.ws.tsx +2 -0
  162. package/src/vimeo.tsx +1 -1
  163. package/src/vimeo.ws.ts +2 -0
@@ -1,7 +1,17 @@
1
1
  const props = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accessKey: { required: false, control: "text", type: "string" },
4
- alt: { required: false, control: "text", type: "string" },
3
+ accessKey: {
4
+ required: false,
5
+ control: "text",
6
+ type: "string",
7
+ description: "Keyboard shortcut to activate or add focus to the element."
8
+ },
9
+ alt: {
10
+ required: false,
11
+ control: "text",
12
+ type: "string",
13
+ description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
14
+ },
5
15
  "aria-activedescendant": {
6
16
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
7
17
  required: false,
@@ -157,7 +167,7 @@ const props = {
157
167
  type: "string"
158
168
  },
159
169
  "aria-label": {
160
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
170
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
161
171
  required: false,
162
172
  control: "text",
163
173
  type: "string"
@@ -333,33 +343,85 @@ const props = {
333
343
  control: "text",
334
344
  type: "string"
335
345
  },
336
- autoCapitalize: { required: false, control: "text", type: "string" },
346
+ autoCapitalize: {
347
+ required: false,
348
+ control: "text",
349
+ type: "string",
350
+ description: "Sets whether input is automatically capitalized when entered by user."
351
+ },
337
352
  autoCorrect: { required: false, control: "text", type: "string" },
338
- autoFocus: { required: false, control: "boolean", type: "boolean" },
353
+ autoFocus: {
354
+ required: false,
355
+ control: "boolean",
356
+ type: "boolean",
357
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
358
+ },
339
359
  autoSave: { required: false, control: "text", type: "string" },
340
360
  className: { required: false, control: "text", type: "string" },
341
- color: { required: false, control: "color", type: "string" },
342
- content: { required: false, control: "text", type: "string" },
343
- contextMenu: { required: false, control: "text", type: "string" },
361
+ color: {
362
+ required: false,
363
+ control: "color",
364
+ type: "string",
365
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
366
+ },
367
+ content: {
368
+ required: false,
369
+ control: "text",
370
+ type: "string",
371
+ description: "A value associated with http-equiv orname depending on the context."
372
+ },
373
+ contextMenu: {
374
+ required: false,
375
+ control: "text",
376
+ type: "string",
377
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
378
+ },
344
379
  crossOrigin: {
345
380
  required: false,
346
381
  control: "radio",
347
382
  type: "string",
348
- options: ["", "anonymous", "use-credentials"]
383
+ options: ["", "anonymous", "use-credentials"],
384
+ description: "How the element handles cross-origin requests"
349
385
  },
350
386
  datatype: { required: false, control: "text", type: "string" },
351
387
  decoding: {
352
388
  required: false,
353
389
  control: "radio",
354
390
  type: "string",
355
- options: ["async", "auto", "sync"]
391
+ options: ["async", "auto", "sync"],
392
+ description: "Indicates the preferred method to decode the image."
356
393
  },
357
394
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
358
- dir: { required: false, control: "text", type: "string" },
359
- draggable: { required: false, control: "boolean", type: "boolean" },
360
- height: { required: false, control: "number", type: "number" },
361
- hidden: { required: false, control: "boolean", type: "boolean" },
362
- id: { required: false, control: "text", type: "string" },
395
+ dir: {
396
+ required: false,
397
+ control: "text",
398
+ type: "string",
399
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
400
+ },
401
+ draggable: {
402
+ required: false,
403
+ control: "boolean",
404
+ type: "boolean",
405
+ description: "Defines whether the element can be dragged."
406
+ },
407
+ height: {
408
+ required: false,
409
+ control: "number",
410
+ type: "number",
411
+ description: "Defines the image\u2019s height in pixels."
412
+ },
413
+ hidden: {
414
+ required: false,
415
+ control: "boolean",
416
+ type: "boolean",
417
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
418
+ },
419
+ id: {
420
+ required: false,
421
+ control: "text",
422
+ type: "string",
423
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
424
+ },
363
425
  inputMode: {
364
426
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
365
427
  required: false,
@@ -387,17 +449,28 @@ const props = {
387
449
  itemRef: { required: false, control: "text", type: "string" },
388
450
  itemScope: { required: false, control: "boolean", type: "boolean" },
389
451
  itemType: { required: false, control: "text", type: "string" },
390
- lang: { required: false, control: "text", type: "string" },
452
+ lang: {
453
+ required: false,
454
+ control: "text",
455
+ type: "string",
456
+ description: "Defines the language used in the element."
457
+ },
391
458
  loading: {
392
459
  required: false,
393
460
  control: "radio",
394
461
  type: "string",
395
462
  defaultValue: "lazy",
396
- options: ["eager", "lazy"]
463
+ options: ["eager", "lazy"],
464
+ description: "Determines whether the image will load as soon as possible (Eager), or when it scrolls into view (Lazy). Lazy loading is a great option for pages with many images because it can significantly reduce the time it takes for the page to load initially."
397
465
  },
398
466
  nonce: { required: false, control: "text", type: "string" },
399
467
  optimize: { required: false, control: "boolean", type: "boolean" },
400
- placeholder: { required: false, control: "text", type: "string" },
468
+ placeholder: {
469
+ required: false,
470
+ control: "text",
471
+ type: "string",
472
+ description: "Provides a hint to the user of what can be entered in the field."
473
+ },
401
474
  prefix: { required: false, control: "text", type: "string" },
402
475
  property: { required: false, control: "text", type: "string" },
403
476
  quality: { required: false, control: "number", type: "number" },
@@ -416,19 +489,50 @@ const props = {
416
489
  "strict-origin",
417
490
  "strict-origin-when-cross-origin",
418
491
  "unsafe-url"
419
- ]
492
+ ],
493
+ description: "Specifies which referrer is sent when fetching the resource."
494
+ },
495
+ rel: {
496
+ required: false,
497
+ control: "text",
498
+ type: "string",
499
+ description: "Specifies the relationship of the target object to the link object."
420
500
  },
421
- rel: { required: false, control: "text", type: "string" },
422
501
  resource: { required: false, control: "text", type: "string" },
423
502
  results: { required: false, control: "number", type: "number" },
424
503
  rev: { required: false, control: "text", type: "string" },
425
- role: { required: false, control: "text", type: "string" },
504
+ role: {
505
+ required: false,
506
+ control: "text",
507
+ type: "string",
508
+ description: "Defines an explicit role for an element for use by assistive technologies."
509
+ },
426
510
  security: { required: false, control: "text", type: "string" },
427
511
  sizes: { required: false, control: "text", type: "string" },
428
- slot: { required: false, control: "text", type: "string" },
429
- spellCheck: { required: false, control: "boolean", type: "boolean" },
430
- src: { required: false, control: "text", type: "string" },
431
- srcSet: { required: false, control: "text", type: "string" },
512
+ slot: {
513
+ required: false,
514
+ control: "text",
515
+ type: "string",
516
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
517
+ },
518
+ spellCheck: {
519
+ required: false,
520
+ control: "boolean",
521
+ type: "boolean",
522
+ description: "Indicates whether spell checking is allowed for the element."
523
+ },
524
+ src: {
525
+ required: false,
526
+ control: "text",
527
+ type: "string",
528
+ description: "The URL of the embeddable content."
529
+ },
530
+ srcSet: {
531
+ required: false,
532
+ control: "text",
533
+ type: "string",
534
+ description: "One or more responsive image candidates."
535
+ },
432
536
  suppressContentEditableWarning: {
433
537
  required: false,
434
538
  control: "boolean",
@@ -439,13 +543,24 @@ const props = {
439
543
  control: "boolean",
440
544
  type: "boolean"
441
545
  },
442
- tabIndex: { required: false, control: "number", type: "number" },
443
- title: { required: false, control: "text", type: "string" },
546
+ tabIndex: {
547
+ required: false,
548
+ control: "number",
549
+ type: "number",
550
+ description: "Overrides the browser's default tab order and follows the one specified instead."
551
+ },
552
+ title: {
553
+ required: false,
554
+ control: "text",
555
+ type: "string",
556
+ description: "Text to be displayed in a tooltip when hovering over the element."
557
+ },
444
558
  translate: {
445
559
  required: false,
446
560
  control: "radio",
447
561
  type: "string",
448
- options: ["yes", "no"]
562
+ options: ["yes", "no"],
563
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
449
564
  },
450
565
  typeof: { required: false, control: "text", type: "string" },
451
566
  unselectable: {
@@ -456,7 +571,12 @@ const props = {
456
571
  },
457
572
  useMap: { required: false, control: "text", type: "string" },
458
573
  vocab: { required: false, control: "text", type: "string" },
459
- width: { required: false, control: "number", type: "number" }
574
+ width: {
575
+ required: false,
576
+ control: "number",
577
+ type: "number",
578
+ description: "Defines the image\u2019s width in pixels."
579
+ }
460
580
  };
461
581
  export {
462
582
  props
@@ -1,8 +1,23 @@
1
1
  const props = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accept: { required: false, control: "text", type: "string" },
4
- accessKey: { required: false, control: "text", type: "string" },
5
- alt: { required: false, control: "text", type: "string" },
3
+ accept: {
4
+ required: false,
5
+ control: "text",
6
+ type: "string",
7
+ description: "List of types the server accepts, typically a file type."
8
+ },
9
+ accessKey: {
10
+ required: false,
11
+ control: "text",
12
+ type: "string",
13
+ description: "Keyboard shortcut to activate or add focus to the element."
14
+ },
15
+ alt: {
16
+ required: false,
17
+ control: "text",
18
+ type: "string",
19
+ description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
20
+ },
6
21
  "aria-activedescendant": {
7
22
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
8
23
  required: false,
@@ -158,7 +173,7 @@ const props = {
158
173
  type: "string"
159
174
  },
160
175
  "aria-label": {
161
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
176
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
162
177
  required: false,
163
178
  control: "text",
164
179
  type: "string"
@@ -334,42 +349,132 @@ const props = {
334
349
  control: "text",
335
350
  type: "string"
336
351
  },
337
- autoCapitalize: { required: false, control: "text", type: "string" },
338
- autoComplete: { required: false, control: "text", type: "string" },
352
+ autoCapitalize: {
353
+ required: false,
354
+ control: "text",
355
+ type: "string",
356
+ description: "Sets whether input is automatically capitalized when entered by user."
357
+ },
358
+ autoComplete: {
359
+ required: false,
360
+ control: "text",
361
+ type: "string",
362
+ description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
363
+ },
339
364
  autoCorrect: { required: false, control: "text", type: "string" },
340
- autoFocus: { required: false, control: "boolean", type: "boolean" },
365
+ autoFocus: {
366
+ required: false,
367
+ control: "boolean",
368
+ type: "boolean",
369
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
370
+ },
341
371
  autoSave: { required: false, control: "text", type: "string" },
342
- checked: { required: false, control: "boolean", type: "boolean" },
372
+ checked: {
373
+ required: false,
374
+ control: "boolean",
375
+ type: "boolean",
376
+ description: "Indicates whether the element should be checked on page load."
377
+ },
343
378
  className: { required: false, control: "text", type: "string" },
344
- color: { required: false, control: "color", type: "string" },
345
- content: { required: false, control: "text", type: "string" },
346
- contextMenu: { required: false, control: "text", type: "string" },
347
- crossOrigin: {
379
+ color: {
348
380
  required: false,
349
- control: "radio",
381
+ control: "color",
350
382
  type: "string",
351
- options: ["", "anonymous", "use-credentials"]
383
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
384
+ },
385
+ content: {
386
+ required: false,
387
+ control: "text",
388
+ type: "string",
389
+ description: "A value associated with http-equiv orname depending on the context."
390
+ },
391
+ contextMenu: {
392
+ required: false,
393
+ control: "text",
394
+ type: "string",
395
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
352
396
  },
353
397
  datatype: { required: false, control: "text", type: "string" },
354
398
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
355
- dir: { required: false, control: "text", type: "string" },
356
- disabled: { required: false, control: "boolean", type: "boolean" },
357
- draggable: { required: false, control: "boolean", type: "boolean" },
399
+ dir: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
404
+ },
405
+ disabled: {
406
+ required: false,
407
+ control: "boolean",
408
+ type: "boolean",
409
+ description: "Indicates whether the user can interact with the element."
410
+ },
411
+ draggable: {
412
+ required: false,
413
+ control: "boolean",
414
+ type: "boolean",
415
+ description: "Defines whether the element can be dragged."
416
+ },
358
417
  enterKeyHint: {
359
418
  required: false,
360
419
  control: "select",
361
420
  type: "string",
362
- options: ["search", "enter", "done", "go", "next", "previous", "send"]
363
- },
364
- form: { required: false, control: "text", type: "string" },
365
- formAction: { required: false, control: "text", type: "string" },
366
- formEncType: { required: false, control: "text", type: "string" },
367
- formMethod: { required: false, control: "text", type: "string" },
368
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
369
- formTarget: { required: false, control: "text", type: "string" },
370
- height: { required: false, control: "number", type: "number" },
371
- hidden: { required: false, control: "boolean", type: "boolean" },
372
- id: { required: false, control: "text", type: "string" },
421
+ options: ["search", "enter", "done", "go", "next", "previous", "send"],
422
+ description: "The enterkeyhint specifies what action label (or icon) to present for the enter key onvirtual keyboards. The attribute can be used with form controls (such asthe value of textarea elements), or in elements in anediting host (e.g., using contenteditable attribute)."
423
+ },
424
+ form: {
425
+ required: false,
426
+ control: "text",
427
+ type: "string",
428
+ description: "Indicates the form that is the owner of the element."
429
+ },
430
+ formAction: {
431
+ required: false,
432
+ control: "text",
433
+ type: "string",
434
+ description: "Indicates the action of the element, overriding the action defined inthe form."
435
+ },
436
+ formEncType: {
437
+ required: false,
438
+ control: "text",
439
+ type: "string",
440
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
441
+ },
442
+ formMethod: {
443
+ required: false,
444
+ control: "text",
445
+ type: "string",
446
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
447
+ },
448
+ formNoValidate: {
449
+ required: false,
450
+ control: "boolean",
451
+ type: "boolean",
452
+ description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
453
+ },
454
+ formTarget: {
455
+ required: false,
456
+ control: "text",
457
+ type: "string",
458
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
459
+ },
460
+ height: {
461
+ required: false,
462
+ control: "number",
463
+ type: "number",
464
+ description: "Defines the image\u2019s height in pixels."
465
+ },
466
+ hidden: {
467
+ required: false,
468
+ control: "boolean",
469
+ type: "boolean",
470
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
471
+ },
472
+ id: {
473
+ required: false,
474
+ control: "text",
475
+ type: "string",
476
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
477
+ },
373
478
  inputMode: {
374
479
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
375
480
  required: false,
@@ -397,32 +502,122 @@ const props = {
397
502
  itemRef: { required: false, control: "text", type: "string" },
398
503
  itemScope: { required: false, control: "boolean", type: "boolean" },
399
504
  itemType: { required: false, control: "text", type: "string" },
400
- lang: { required: false, control: "text", type: "string" },
401
- list: { required: false, control: "text", type: "string" },
402
- max: { required: false, control: "number", type: "number" },
403
- maxLength: { required: false, control: "number", type: "number" },
404
- min: { required: false, control: "number", type: "number" },
405
- minLength: { required: false, control: "number", type: "number" },
406
- multiple: { required: false, control: "boolean", type: "boolean" },
407
- name: { required: false, control: "text", type: "string" },
505
+ lang: {
506
+ required: false,
507
+ control: "text",
508
+ type: "string",
509
+ description: "Defines the language used in the element."
510
+ },
511
+ list: {
512
+ required: false,
513
+ control: "text",
514
+ type: "string",
515
+ description: "Identifies a list of pre-defined options to suggest to the user."
516
+ },
517
+ max: {
518
+ required: false,
519
+ control: "number",
520
+ type: "number",
521
+ description: "Indicates the maximum value allowed."
522
+ },
523
+ maxLength: {
524
+ required: false,
525
+ control: "number",
526
+ type: "number",
527
+ description: "Defines the maximum number of characters allowed in the element."
528
+ },
529
+ min: {
530
+ required: false,
531
+ control: "number",
532
+ type: "number",
533
+ description: "Indicates the minimum value allowed."
534
+ },
535
+ minLength: {
536
+ required: false,
537
+ control: "number",
538
+ type: "number",
539
+ description: "Defines the minimum number of characters allowed in the element."
540
+ },
541
+ multiple: {
542
+ required: false,
543
+ control: "boolean",
544
+ type: "boolean",
545
+ description: "Indicates whether multiple values can be entered in an input of the type email or file."
546
+ },
547
+ name: {
548
+ required: false,
549
+ control: "text",
550
+ type: "string",
551
+ description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
552
+ },
408
553
  nonce: { required: false, control: "text", type: "string" },
409
- pattern: { required: false, control: "text", type: "string" },
410
- placeholder: { required: false, control: "text", type: "string" },
554
+ pattern: {
555
+ required: false,
556
+ control: "text",
557
+ type: "string",
558
+ description: "Defines a regular expression which the element's value will be validated against."
559
+ },
560
+ placeholder: {
561
+ required: false,
562
+ control: "text",
563
+ type: "string",
564
+ description: "Provides a hint to the user of what can be entered in the field."
565
+ },
411
566
  prefix: { required: false, control: "text", type: "string" },
412
567
  property: { required: false, control: "text", type: "string" },
413
568
  radioGroup: { required: false, control: "text", type: "string" },
414
- readOnly: { required: false, control: "boolean", type: "boolean" },
415
- rel: { required: false, control: "text", type: "string" },
416
- required: { required: false, control: "boolean", type: "boolean" },
569
+ readOnly: {
570
+ required: false,
571
+ control: "boolean",
572
+ type: "boolean",
573
+ description: "Indicates whether the element can be edited."
574
+ },
575
+ rel: {
576
+ required: false,
577
+ control: "text",
578
+ type: "string",
579
+ description: "Specifies the relationship of the target object to the link object."
580
+ },
581
+ required: {
582
+ required: false,
583
+ control: "boolean",
584
+ type: "boolean",
585
+ description: "Indicates whether this form element must be filled before the form can be submitted."
586
+ },
417
587
  resource: { required: false, control: "text", type: "string" },
418
588
  results: { required: false, control: "number", type: "number" },
419
589
  rev: { required: false, control: "text", type: "string" },
420
- role: { required: false, control: "text", type: "string" },
590
+ role: {
591
+ required: false,
592
+ control: "text",
593
+ type: "string",
594
+ description: "Defines an explicit role for an element for use by assistive technologies."
595
+ },
421
596
  security: { required: false, control: "text", type: "string" },
422
- size: { required: false, control: "number", type: "number" },
423
- slot: { required: false, control: "text", type: "string" },
424
- spellCheck: { required: false, control: "boolean", type: "boolean" },
425
- src: { required: false, control: "text", type: "string" },
597
+ size: {
598
+ required: false,
599
+ control: "number",
600
+ type: "number",
601
+ description: "Defines the width of the element (in pixels). If the element'stype attribute is text or password then it's the number of characters."
602
+ },
603
+ slot: {
604
+ required: false,
605
+ control: "text",
606
+ type: "string",
607
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
608
+ },
609
+ spellCheck: {
610
+ required: false,
611
+ control: "boolean",
612
+ type: "boolean",
613
+ description: "Indicates whether spell checking is allowed for the element."
614
+ },
615
+ src: {
616
+ required: false,
617
+ control: "text",
618
+ type: "string",
619
+ description: "The URL of the embeddable content."
620
+ },
426
621
  step: { required: false, control: "number", type: "number" },
427
622
  suppressContentEditableWarning: {
428
623
  required: false,
@@ -434,19 +629,31 @@ const props = {
434
629
  control: "boolean",
435
630
  type: "boolean"
436
631
  },
437
- tabIndex: { required: false, control: "number", type: "number" },
438
- title: { required: false, control: "text", type: "string" },
632
+ tabIndex: {
633
+ required: false,
634
+ control: "number",
635
+ type: "number",
636
+ description: "Overrides the browser's default tab order and follows the one specified instead."
637
+ },
638
+ title: {
639
+ required: false,
640
+ control: "text",
641
+ type: "string",
642
+ description: "Text to be displayed in a tooltip when hovering over the element."
643
+ },
439
644
  translate: {
440
645
  required: false,
441
646
  control: "radio",
442
647
  type: "string",
443
- options: ["yes", "no"]
648
+ options: ["yes", "no"],
649
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
444
650
  },
445
651
  type: {
446
652
  required: false,
447
653
  control: "select",
448
654
  type: "string",
449
- options: ["number", "text", "email", "password", "tel", "url"]
655
+ options: ["number", "text", "email", "password", "tel", "url"],
656
+ description: "Specifies the type of data that this input will accept and helps the browser provide appropriate validation and formatting for that input type."
450
657
  },
451
658
  typeof: { required: false, control: "text", type: "string" },
452
659
  unselectable: {
@@ -456,7 +663,12 @@ const props = {
456
663
  options: ["on", "off"]
457
664
  },
458
665
  vocab: { required: false, control: "text", type: "string" },
459
- width: { required: false, control: "number", type: "number" }
666
+ width: {
667
+ required: false,
668
+ control: "number",
669
+ type: "number",
670
+ description: "Defines the image\u2019s width in pixels."
671
+ }
460
672
  };
461
673
  export {
462
674
  props