@webstudio-is/sdk-components-react 0.88.0 → 0.90.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 (158) 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 +264 -47
  7. package/lib/__generated__/code-text.props.js +111 -20
  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 +266 -48
  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 +264 -47
  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 +112 -20
  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 +1 -0
  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 +264 -47
  40. package/lib/cjs/__generated__/code-text.props.js +111 -20
  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 +266 -48
  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 +264 -47
  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 +112 -20
  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 +1 -0
  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.ws.js +2 -0
  68. package/lib/cjs/form.ws.js +1 -0
  69. package/lib/cjs/heading.ws.js +2 -0
  70. package/lib/cjs/html-embed.ws.js +1 -0
  71. package/lib/cjs/image.ws.js +1 -0
  72. package/lib/cjs/input.ws.js +1 -0
  73. package/lib/cjs/label.ws.js +1 -1
  74. package/lib/cjs/link.ws.js +2 -0
  75. package/lib/cjs/list-item.ws.js +1 -0
  76. package/lib/cjs/list.ws.js +1 -0
  77. package/lib/cjs/paragraph.ws.js +2 -0
  78. package/lib/cjs/radio-button.ws.js +1 -0
  79. package/lib/cjs/separator.ws.js +1 -0
  80. package/lib/cjs/text.ws.js +1 -0
  81. package/lib/cjs/textarea.ws.js +1 -0
  82. package/lib/cjs/vimeo.ws.js +1 -0
  83. package/lib/code-text.ws.js +2 -0
  84. package/lib/form.ws.js +1 -0
  85. package/lib/heading.ws.js +2 -0
  86. package/lib/html-embed.ws.js +1 -0
  87. package/lib/image.ws.js +1 -0
  88. package/lib/input.ws.js +1 -0
  89. package/lib/label.ws.js +1 -1
  90. package/lib/link.ws.js +2 -0
  91. package/lib/list-item.ws.js +1 -0
  92. package/lib/list.ws.js +1 -0
  93. package/lib/paragraph.ws.js +2 -0
  94. package/lib/radio-button.ws.js +1 -0
  95. package/lib/separator.ws.js +1 -0
  96. package/lib/text.ws.js +1 -0
  97. package/lib/textarea.ws.js +1 -0
  98. package/lib/types/box.d.ts +1 -0
  99. package/lib/types/heading.d.ts +1 -0
  100. package/lib/types/list.d.ts +1 -0
  101. package/lib/types/text.d.ts +1 -0
  102. package/lib/types/vimeo.d.ts +1 -1
  103. package/lib/vimeo.ws.js +1 -0
  104. package/package.json +6 -6
  105. package/src/__generated__/blockquote.props.ts +131 -20
  106. package/src/__generated__/body.props.ts +124 -19
  107. package/src/__generated__/bold.props.ts +124 -19
  108. package/src/__generated__/box.props.ts +126 -19
  109. package/src/__generated__/button.props.ts +180 -27
  110. package/src/__generated__/checkbox.props.ts +292 -44
  111. package/src/__generated__/code-text.props.ts +124 -19
  112. package/src/__generated__/form.props.ts +179 -27
  113. package/src/__generated__/heading.props.ts +126 -19
  114. package/src/__generated__/image.props.ts +160 -24
  115. package/src/__generated__/input.props.ts +294 -44
  116. package/src/__generated__/italic.props.ts +124 -19
  117. package/src/__generated__/label.props.ts +137 -21
  118. package/src/__generated__/link.props.ts +159 -24
  119. package/src/__generated__/list-item.props.ts +124 -19
  120. package/src/__generated__/list.props.ts +140 -21
  121. package/src/__generated__/paragraph.props.ts +124 -19
  122. package/src/__generated__/radio-button.props.ts +292 -44
  123. package/src/__generated__/rich-text-link.props.ts +159 -24
  124. package/src/__generated__/separator.props.ts +124 -19
  125. package/src/__generated__/span.props.ts +124 -19
  126. package/src/__generated__/subscript.props.ts +124 -19
  127. package/src/__generated__/superscript.props.ts +124 -19
  128. package/src/__generated__/text.props.ts +126 -19
  129. package/src/__generated__/textarea.props.ts +195 -30
  130. package/src/__generated__/vimeo-play-button.props.ts +179 -27
  131. package/src/__generated__/vimeo-preview-image.props.ts +160 -24
  132. package/src/__generated__/vimeo-spinner.props.ts +124 -19
  133. package/src/__generated__/vimeo.props.ts +125 -20
  134. package/src/blockquote.ws.tsx +2 -0
  135. package/src/box.tsx +1 -0
  136. package/src/box.ws.ts +2 -0
  137. package/src/button.ws.tsx +2 -0
  138. package/src/checkbox.ws.tsx +2 -0
  139. package/src/code-text.ws.tsx +3 -0
  140. package/src/form.ws.tsx +1 -0
  141. package/src/heading.tsx +1 -0
  142. package/src/heading.ws.tsx +3 -0
  143. package/src/html-embed.ws.ts +1 -0
  144. package/src/image.ws.tsx +2 -0
  145. package/src/input.ws.tsx +2 -0
  146. package/src/label.ws.tsx +1 -1
  147. package/src/link.ws.tsx +3 -0
  148. package/src/list-item.ws.tsx +1 -0
  149. package/src/list.tsx +1 -0
  150. package/src/list.ws.tsx +1 -0
  151. package/src/paragraph.ws.tsx +2 -0
  152. package/src/radio-button.ws.tsx +2 -0
  153. package/src/separator.ws.tsx +2 -0
  154. package/src/text.tsx +1 -0
  155. package/src/text.ws.tsx +2 -0
  156. package/src/textarea.ws.tsx +2 -0
  157. package/src/vimeo.tsx +1 -1
  158. package/src/vimeo.ws.ts +2 -0
@@ -23,8 +23,18 @@ __export(image_props_exports, {
23
23
  module.exports = __toCommonJS(image_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accessKey: { required: false, control: "text", type: "string" },
27
- alt: { required: false, control: "text", type: "string" },
26
+ accessKey: {
27
+ required: false,
28
+ control: "text",
29
+ type: "string",
30
+ description: "Keyboard shortcut to activate or add focus to the element."
31
+ },
32
+ alt: {
33
+ required: false,
34
+ control: "text",
35
+ type: "string",
36
+ 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."
37
+ },
28
38
  "aria-activedescendant": {
29
39
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
30
40
  required: false,
@@ -180,7 +190,7 @@ const props = {
180
190
  type: "string"
181
191
  },
182
192
  "aria-label": {
183
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
193
+ 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.",
184
194
  required: false,
185
195
  control: "text",
186
196
  type: "string"
@@ -356,33 +366,85 @@ const props = {
356
366
  control: "text",
357
367
  type: "string"
358
368
  },
359
- autoCapitalize: { required: false, control: "text", type: "string" },
369
+ autoCapitalize: {
370
+ required: false,
371
+ control: "text",
372
+ type: "string",
373
+ description: "Sets whether input is automatically capitalized when entered by user."
374
+ },
360
375
  autoCorrect: { required: false, control: "text", type: "string" },
361
- autoFocus: { required: false, control: "boolean", type: "boolean" },
376
+ autoFocus: {
377
+ required: false,
378
+ control: "boolean",
379
+ type: "boolean",
380
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
381
+ },
362
382
  autoSave: { required: false, control: "text", type: "string" },
363
383
  className: { required: false, control: "text", type: "string" },
364
- color: { required: false, control: "color", type: "string" },
365
- content: { required: false, control: "text", type: "string" },
366
- contextMenu: { required: false, control: "text", type: "string" },
384
+ color: {
385
+ required: false,
386
+ control: "color",
387
+ type: "string",
388
+ 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."
389
+ },
390
+ content: {
391
+ required: false,
392
+ control: "text",
393
+ type: "string",
394
+ description: "A value associated with http-equiv orname depending on the context."
395
+ },
396
+ contextMenu: {
397
+ required: false,
398
+ control: "text",
399
+ type: "string",
400
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
401
+ },
367
402
  crossOrigin: {
368
403
  required: false,
369
404
  control: "radio",
370
405
  type: "string",
371
- options: ["", "anonymous", "use-credentials"]
406
+ options: ["", "anonymous", "use-credentials"],
407
+ description: "How the element handles cross-origin requests"
372
408
  },
373
409
  datatype: { required: false, control: "text", type: "string" },
374
410
  decoding: {
375
411
  required: false,
376
412
  control: "radio",
377
413
  type: "string",
378
- options: ["async", "auto", "sync"]
414
+ options: ["async", "auto", "sync"],
415
+ description: "Indicates the preferred method to decode the image."
379
416
  },
380
417
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
381
- dir: { required: false, control: "text", type: "string" },
382
- draggable: { required: false, control: "boolean", type: "boolean" },
383
- height: { required: false, control: "number", type: "number" },
384
- hidden: { required: false, control: "boolean", type: "boolean" },
385
- id: { required: false, control: "text", type: "string" },
418
+ dir: {
419
+ required: false,
420
+ control: "text",
421
+ type: "string",
422
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
423
+ },
424
+ draggable: {
425
+ required: false,
426
+ control: "boolean",
427
+ type: "boolean",
428
+ description: "Defines whether the element can be dragged."
429
+ },
430
+ height: {
431
+ required: false,
432
+ control: "number",
433
+ type: "number",
434
+ description: "Defines the image\u2019s height in pixels."
435
+ },
436
+ hidden: {
437
+ required: false,
438
+ control: "boolean",
439
+ type: "boolean",
440
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
441
+ },
442
+ id: {
443
+ required: false,
444
+ control: "text",
445
+ type: "string",
446
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
447
+ },
386
448
  inputMode: {
387
449
  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",
388
450
  required: false,
@@ -410,17 +472,28 @@ const props = {
410
472
  itemRef: { required: false, control: "text", type: "string" },
411
473
  itemScope: { required: false, control: "boolean", type: "boolean" },
412
474
  itemType: { required: false, control: "text", type: "string" },
413
- lang: { required: false, control: "text", type: "string" },
475
+ lang: {
476
+ required: false,
477
+ control: "text",
478
+ type: "string",
479
+ description: "Defines the language used in the element."
480
+ },
414
481
  loading: {
415
482
  required: false,
416
483
  control: "radio",
417
484
  type: "string",
418
485
  defaultValue: "lazy",
419
- options: ["eager", "lazy"]
486
+ options: ["eager", "lazy"],
487
+ 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."
420
488
  },
421
489
  nonce: { required: false, control: "text", type: "string" },
422
490
  optimize: { required: false, control: "boolean", type: "boolean" },
423
- placeholder: { required: false, control: "text", type: "string" },
491
+ placeholder: {
492
+ required: false,
493
+ control: "text",
494
+ type: "string",
495
+ description: "Provides a hint to the user of what can be entered in the field."
496
+ },
424
497
  prefix: { required: false, control: "text", type: "string" },
425
498
  property: { required: false, control: "text", type: "string" },
426
499
  quality: { required: false, control: "number", type: "number" },
@@ -439,19 +512,50 @@ const props = {
439
512
  "strict-origin",
440
513
  "strict-origin-when-cross-origin",
441
514
  "unsafe-url"
442
- ]
515
+ ],
516
+ description: "Specifies which referrer is sent when fetching the resource."
517
+ },
518
+ rel: {
519
+ required: false,
520
+ control: "text",
521
+ type: "string",
522
+ description: "Specifies the relationship of the target object to the link object."
443
523
  },
444
- rel: { required: false, control: "text", type: "string" },
445
524
  resource: { required: false, control: "text", type: "string" },
446
525
  results: { required: false, control: "number", type: "number" },
447
526
  rev: { required: false, control: "text", type: "string" },
448
- role: { required: false, control: "text", type: "string" },
527
+ role: {
528
+ required: false,
529
+ control: "text",
530
+ type: "string",
531
+ description: "Defines an explicit role for an element for use by assistive technologies."
532
+ },
449
533
  security: { required: false, control: "text", type: "string" },
450
534
  sizes: { required: false, control: "text", type: "string" },
451
- slot: { required: false, control: "text", type: "string" },
452
- spellCheck: { required: false, control: "boolean", type: "boolean" },
453
- src: { required: false, control: "text", type: "string" },
454
- srcSet: { required: false, control: "text", type: "string" },
535
+ slot: {
536
+ required: false,
537
+ control: "text",
538
+ type: "string",
539
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
540
+ },
541
+ spellCheck: {
542
+ required: false,
543
+ control: "boolean",
544
+ type: "boolean",
545
+ description: "Indicates whether spell checking is allowed for the element."
546
+ },
547
+ src: {
548
+ required: false,
549
+ control: "text",
550
+ type: "string",
551
+ description: "The URL of the embeddable content."
552
+ },
553
+ srcSet: {
554
+ required: false,
555
+ control: "text",
556
+ type: "string",
557
+ description: "One or more responsive image candidates."
558
+ },
455
559
  suppressContentEditableWarning: {
456
560
  required: false,
457
561
  control: "boolean",
@@ -462,13 +566,24 @@ const props = {
462
566
  control: "boolean",
463
567
  type: "boolean"
464
568
  },
465
- tabIndex: { required: false, control: "number", type: "number" },
466
- title: { required: false, control: "text", type: "string" },
569
+ tabIndex: {
570
+ required: false,
571
+ control: "number",
572
+ type: "number",
573
+ description: "Overrides the browser's default tab order and follows the one specified instead."
574
+ },
575
+ title: {
576
+ required: false,
577
+ control: "text",
578
+ type: "string",
579
+ description: "Text to be displayed in a tooltip when hovering over the element."
580
+ },
467
581
  translate: {
468
582
  required: false,
469
583
  control: "radio",
470
584
  type: "string",
471
- options: ["yes", "no"]
585
+ options: ["yes", "no"],
586
+ 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."
472
587
  },
473
588
  typeof: { required: false, control: "text", type: "string" },
474
589
  unselectable: {
@@ -479,5 +594,10 @@ const props = {
479
594
  },
480
595
  useMap: { required: false, control: "text", type: "string" },
481
596
  vocab: { required: false, control: "text", type: "string" },
482
- width: { required: false, control: "number", type: "number" }
597
+ width: {
598
+ required: false,
599
+ control: "number",
600
+ type: "number",
601
+ description: "Defines the image\u2019s width in pixels."
602
+ }
483
603
  };
@@ -23,9 +23,24 @@ __export(input_props_exports, {
23
23
  module.exports = __toCommonJS(input_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accept: { required: false, control: "text", type: "string" },
27
- accessKey: { required: false, control: "text", type: "string" },
28
- alt: { required: false, control: "text", type: "string" },
26
+ accept: {
27
+ required: false,
28
+ control: "text",
29
+ type: "string",
30
+ description: "List of types the server accepts, typically a file type."
31
+ },
32
+ accessKey: {
33
+ required: false,
34
+ control: "text",
35
+ type: "string",
36
+ description: "Keyboard shortcut to activate or add focus to the element."
37
+ },
38
+ alt: {
39
+ required: false,
40
+ control: "text",
41
+ type: "string",
42
+ 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."
43
+ },
29
44
  "aria-activedescendant": {
30
45
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
31
46
  required: false,
@@ -181,7 +196,7 @@ const props = {
181
196
  type: "string"
182
197
  },
183
198
  "aria-label": {
184
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
199
+ 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.",
185
200
  required: false,
186
201
  control: "text",
187
202
  type: "string"
@@ -357,36 +372,132 @@ const props = {
357
372
  control: "text",
358
373
  type: "string"
359
374
  },
360
- autoCapitalize: { required: false, control: "text", type: "string" },
361
- autoComplete: { required: false, control: "text", type: "string" },
375
+ autoCapitalize: {
376
+ required: false,
377
+ control: "text",
378
+ type: "string",
379
+ description: "Sets whether input is automatically capitalized when entered by user."
380
+ },
381
+ autoComplete: {
382
+ required: false,
383
+ control: "text",
384
+ type: "string",
385
+ description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
386
+ },
362
387
  autoCorrect: { required: false, control: "text", type: "string" },
363
- autoFocus: { required: false, control: "boolean", type: "boolean" },
388
+ autoFocus: {
389
+ required: false,
390
+ control: "boolean",
391
+ type: "boolean",
392
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
393
+ },
364
394
  autoSave: { required: false, control: "text", type: "string" },
365
- checked: { required: false, control: "boolean", type: "boolean" },
395
+ checked: {
396
+ required: false,
397
+ control: "boolean",
398
+ type: "boolean",
399
+ description: "Indicates whether the element should be checked on page load."
400
+ },
366
401
  className: { required: false, control: "text", type: "string" },
367
- color: { required: false, control: "color", type: "string" },
368
- content: { required: false, control: "text", type: "string" },
369
- contextMenu: { required: false, control: "text", type: "string" },
402
+ color: {
403
+ required: false,
404
+ control: "color",
405
+ type: "string",
406
+ 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."
407
+ },
408
+ content: {
409
+ required: false,
410
+ control: "text",
411
+ type: "string",
412
+ description: "A value associated with http-equiv orname depending on the context."
413
+ },
414
+ contextMenu: {
415
+ required: false,
416
+ control: "text",
417
+ type: "string",
418
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
419
+ },
370
420
  datatype: { required: false, control: "text", type: "string" },
371
421
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
372
- dir: { required: false, control: "text", type: "string" },
373
- disabled: { required: false, control: "boolean", type: "boolean" },
374
- draggable: { required: false, control: "boolean", type: "boolean" },
422
+ dir: {
423
+ required: false,
424
+ control: "text",
425
+ type: "string",
426
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
427
+ },
428
+ disabled: {
429
+ required: false,
430
+ control: "boolean",
431
+ type: "boolean",
432
+ description: "Indicates whether the user can interact with the element."
433
+ },
434
+ draggable: {
435
+ required: false,
436
+ control: "boolean",
437
+ type: "boolean",
438
+ description: "Defines whether the element can be dragged."
439
+ },
375
440
  enterKeyHint: {
376
441
  required: false,
377
442
  control: "select",
378
443
  type: "string",
379
- options: ["search", "enter", "done", "go", "next", "previous", "send"]
380
- },
381
- form: { required: false, control: "text", type: "string" },
382
- formAction: { required: false, control: "text", type: "string" },
383
- formEncType: { required: false, control: "text", type: "string" },
384
- formMethod: { required: false, control: "text", type: "string" },
385
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
386
- formTarget: { required: false, control: "text", type: "string" },
387
- height: { required: false, control: "number", type: "number" },
388
- hidden: { required: false, control: "boolean", type: "boolean" },
389
- id: { required: false, control: "text", type: "string" },
444
+ options: ["search", "enter", "done", "go", "next", "previous", "send"],
445
+ 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)."
446
+ },
447
+ form: {
448
+ required: false,
449
+ control: "text",
450
+ type: "string",
451
+ description: "Indicates the form that is the owner of the element."
452
+ },
453
+ formAction: {
454
+ required: false,
455
+ control: "text",
456
+ type: "string",
457
+ description: "Indicates the action of the element, overriding the action defined inthe form."
458
+ },
459
+ formEncType: {
460
+ required: false,
461
+ control: "text",
462
+ type: "string",
463
+ 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.`
464
+ },
465
+ formMethod: {
466
+ required: false,
467
+ control: "text",
468
+ type: "string",
469
+ 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.`
470
+ },
471
+ formNoValidate: {
472
+ required: false,
473
+ control: "boolean",
474
+ type: "boolean",
475
+ 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.`
476
+ },
477
+ formTarget: {
478
+ required: false,
479
+ control: "text",
480
+ type: "string",
481
+ 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.`
482
+ },
483
+ height: {
484
+ required: false,
485
+ control: "number",
486
+ type: "number",
487
+ description: "Defines the image\u2019s height in pixels."
488
+ },
489
+ hidden: {
490
+ required: false,
491
+ control: "boolean",
492
+ type: "boolean",
493
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
494
+ },
495
+ id: {
496
+ required: false,
497
+ control: "text",
498
+ type: "string",
499
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
500
+ },
390
501
  inputMode: {
391
502
  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",
392
503
  required: false,
@@ -414,32 +525,122 @@ const props = {
414
525
  itemRef: { required: false, control: "text", type: "string" },
415
526
  itemScope: { required: false, control: "boolean", type: "boolean" },
416
527
  itemType: { required: false, control: "text", type: "string" },
417
- lang: { required: false, control: "text", type: "string" },
418
- list: { required: false, control: "text", type: "string" },
419
- max: { required: false, control: "number", type: "number" },
420
- maxLength: { required: false, control: "number", type: "number" },
421
- min: { required: false, control: "number", type: "number" },
422
- minLength: { required: false, control: "number", type: "number" },
423
- multiple: { required: false, control: "boolean", type: "boolean" },
424
- name: { required: false, control: "text", type: "string" },
528
+ lang: {
529
+ required: false,
530
+ control: "text",
531
+ type: "string",
532
+ description: "Defines the language used in the element."
533
+ },
534
+ list: {
535
+ required: false,
536
+ control: "text",
537
+ type: "string",
538
+ description: "Identifies a list of pre-defined options to suggest to the user."
539
+ },
540
+ max: {
541
+ required: false,
542
+ control: "number",
543
+ type: "number",
544
+ description: "Indicates the maximum value allowed."
545
+ },
546
+ maxLength: {
547
+ required: false,
548
+ control: "number",
549
+ type: "number",
550
+ description: "Defines the maximum number of characters allowed in the element."
551
+ },
552
+ min: {
553
+ required: false,
554
+ control: "number",
555
+ type: "number",
556
+ description: "Indicates the minimum value allowed."
557
+ },
558
+ minLength: {
559
+ required: false,
560
+ control: "number",
561
+ type: "number",
562
+ description: "Defines the minimum number of characters allowed in the element."
563
+ },
564
+ multiple: {
565
+ required: false,
566
+ control: "boolean",
567
+ type: "boolean",
568
+ description: "Indicates whether multiple values can be entered in an input of the type email or file."
569
+ },
570
+ name: {
571
+ required: false,
572
+ control: "text",
573
+ type: "string",
574
+ 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)."
575
+ },
425
576
  nonce: { required: false, control: "text", type: "string" },
426
- pattern: { required: false, control: "text", type: "string" },
427
- placeholder: { required: false, control: "text", type: "string" },
577
+ pattern: {
578
+ required: false,
579
+ control: "text",
580
+ type: "string",
581
+ description: "Defines a regular expression which the element's value will be validated against."
582
+ },
583
+ placeholder: {
584
+ required: false,
585
+ control: "text",
586
+ type: "string",
587
+ description: "Provides a hint to the user of what can be entered in the field."
588
+ },
428
589
  prefix: { required: false, control: "text", type: "string" },
429
590
  property: { required: false, control: "text", type: "string" },
430
591
  radioGroup: { required: false, control: "text", type: "string" },
431
- readOnly: { required: false, control: "boolean", type: "boolean" },
432
- rel: { required: false, control: "text", type: "string" },
433
- required: { required: false, control: "boolean", type: "boolean" },
592
+ readOnly: {
593
+ required: false,
594
+ control: "boolean",
595
+ type: "boolean",
596
+ description: "Indicates whether the element can be edited."
597
+ },
598
+ rel: {
599
+ required: false,
600
+ control: "text",
601
+ type: "string",
602
+ description: "Specifies the relationship of the target object to the link object."
603
+ },
604
+ required: {
605
+ required: false,
606
+ control: "boolean",
607
+ type: "boolean",
608
+ description: "Indicates whether this form element must be filled before the form can be submitted."
609
+ },
434
610
  resource: { required: false, control: "text", type: "string" },
435
611
  results: { required: false, control: "number", type: "number" },
436
612
  rev: { required: false, control: "text", type: "string" },
437
- role: { required: false, control: "text", type: "string" },
613
+ role: {
614
+ required: false,
615
+ control: "text",
616
+ type: "string",
617
+ description: "Defines an explicit role for an element for use by assistive technologies."
618
+ },
438
619
  security: { required: false, control: "text", type: "string" },
439
- size: { required: false, control: "number", type: "number" },
440
- slot: { required: false, control: "text", type: "string" },
441
- spellCheck: { required: false, control: "boolean", type: "boolean" },
442
- src: { required: false, control: "text", type: "string" },
620
+ size: {
621
+ required: false,
622
+ control: "number",
623
+ type: "number",
624
+ 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."
625
+ },
626
+ slot: {
627
+ required: false,
628
+ control: "text",
629
+ type: "string",
630
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
631
+ },
632
+ spellCheck: {
633
+ required: false,
634
+ control: "boolean",
635
+ type: "boolean",
636
+ description: "Indicates whether spell checking is allowed for the element."
637
+ },
638
+ src: {
639
+ required: false,
640
+ control: "text",
641
+ type: "string",
642
+ description: "The URL of the embeddable content."
643
+ },
443
644
  step: { required: false, control: "number", type: "number" },
444
645
  suppressContentEditableWarning: {
445
646
  required: false,
@@ -451,19 +652,31 @@ const props = {
451
652
  control: "boolean",
452
653
  type: "boolean"
453
654
  },
454
- tabIndex: { required: false, control: "number", type: "number" },
455
- title: { required: false, control: "text", type: "string" },
655
+ tabIndex: {
656
+ required: false,
657
+ control: "number",
658
+ type: "number",
659
+ description: "Overrides the browser's default tab order and follows the one specified instead."
660
+ },
661
+ title: {
662
+ required: false,
663
+ control: "text",
664
+ type: "string",
665
+ description: "Text to be displayed in a tooltip when hovering over the element."
666
+ },
456
667
  translate: {
457
668
  required: false,
458
669
  control: "radio",
459
670
  type: "string",
460
- options: ["yes", "no"]
671
+ options: ["yes", "no"],
672
+ 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."
461
673
  },
462
674
  type: {
463
675
  required: false,
464
676
  control: "select",
465
677
  type: "string",
466
- options: ["number", "text", "email", "password", "tel", "url"]
678
+ options: ["number", "text", "email", "password", "tel", "url"],
679
+ description: "Specifies the type of data that this input will accept and helps the browser provide appropriate validation and formatting for that input type."
467
680
  },
468
681
  typeof: { required: false, control: "text", type: "string" },
469
682
  unselectable: {
@@ -473,5 +686,10 @@ const props = {
473
686
  options: ["on", "off"]
474
687
  },
475
688
  vocab: { required: false, control: "text", type: "string" },
476
- width: { required: false, control: "number", type: "number" }
689
+ width: {
690
+ required: false,
691
+ control: "number",
692
+ type: "number",
693
+ description: "Defines the image\u2019s width in pixels."
694
+ }
477
695
  };