@webstudio-is/sdk-components-react 0.88.0 → 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 (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,9 +23,24 @@ __export(radio_button_props_exports, {
23
23
  module.exports = __toCommonJS(radio_button_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,13 +652,24 @@ 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
  typeof: { required: false, control: "text", type: "string" },
463
675
  unselectable: {
@@ -467,5 +679,10 @@ const props = {
467
679
  options: ["on", "off"]
468
680
  },
469
681
  vocab: { required: false, control: "text", type: "string" },
470
- width: { required: false, control: "number", type: "number" }
682
+ width: {
683
+ required: false,
684
+ control: "number",
685
+ type: "number",
686
+ description: "Defines the image\u2019s width in pixels."
687
+ }
471
688
  };
@@ -23,7 +23,12 @@ __export(rich_text_link_props_exports, {
23
23
  module.exports = __toCommonJS(rich_text_link_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accessKey: { 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
+ },
27
32
  "aria-activedescendant": {
28
33
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
29
34
  required: false,
@@ -179,7 +184,7 @@ const props = {
179
184
  type: "string"
180
185
  },
181
186
  "aria-label": {
182
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
187
+ 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.",
183
188
  required: false,
184
189
  control: "text",
185
190
  type: "string"
@@ -355,22 +360,77 @@ const props = {
355
360
  control: "text",
356
361
  type: "string"
357
362
  },
358
- autoCapitalize: { required: false, control: "text", type: "string" },
363
+ autoCapitalize: {
364
+ required: false,
365
+ control: "text",
366
+ type: "string",
367
+ description: "Sets whether input is automatically capitalized when entered by user."
368
+ },
359
369
  autoCorrect: { required: false, control: "text", type: "string" },
360
- autoFocus: { required: false, control: "boolean", type: "boolean" },
370
+ autoFocus: {
371
+ required: false,
372
+ control: "boolean",
373
+ type: "boolean",
374
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
375
+ },
361
376
  autoSave: { required: false, control: "text", type: "string" },
362
377
  className: { required: false, control: "text", type: "string" },
363
- color: { required: false, control: "color", type: "string" },
364
- content: { required: false, control: "text", type: "string" },
365
- contextMenu: { required: false, control: "text", type: "string" },
378
+ color: {
379
+ required: false,
380
+ control: "color",
381
+ type: "string",
382
+ 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."
383
+ },
384
+ content: {
385
+ required: false,
386
+ control: "text",
387
+ type: "string",
388
+ description: "A value associated with http-equiv orname depending on the context."
389
+ },
390
+ contextMenu: {
391
+ required: false,
392
+ control: "text",
393
+ type: "string",
394
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
395
+ },
366
396
  datatype: { required: false, control: "text", type: "string" },
367
397
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
368
- dir: { required: false, control: "text", type: "string" },
369
- draggable: { required: false, control: "boolean", type: "boolean" },
370
- hidden: { required: false, control: "boolean", type: "boolean" },
371
- href: { required: false, control: "text", type: "string" },
372
- hrefLang: { required: false, control: "text", type: "string" },
373
- id: { required: false, control: "text", type: "string" },
398
+ dir: {
399
+ required: false,
400
+ control: "text",
401
+ type: "string",
402
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
403
+ },
404
+ draggable: {
405
+ required: false,
406
+ control: "boolean",
407
+ type: "boolean",
408
+ description: "Defines whether the element can be dragged."
409
+ },
410
+ hidden: {
411
+ required: false,
412
+ control: "boolean",
413
+ type: "boolean",
414
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
415
+ },
416
+ href: {
417
+ required: false,
418
+ control: "text",
419
+ type: "string",
420
+ description: "The URL of a linked resource."
421
+ },
422
+ hrefLang: {
423
+ required: false,
424
+ control: "text",
425
+ type: "string",
426
+ description: "Specifies the language of the linked resource."
427
+ },
428
+ id: {
429
+ required: false,
430
+ control: "text",
431
+ type: "string",
432
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
433
+ },
374
434
  inputMode: {
375
435
  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",
376
436
  required: false,
@@ -398,11 +458,31 @@ const props = {
398
458
  itemRef: { required: false, control: "text", type: "string" },
399
459
  itemScope: { required: false, control: "boolean", type: "boolean" },
400
460
  itemType: { required: false, control: "text", type: "string" },
401
- lang: { required: false, control: "text", type: "string" },
402
- media: { required: false, control: "text", type: "string" },
461
+ lang: {
462
+ required: false,
463
+ control: "text",
464
+ type: "string",
465
+ description: "Defines the language used in the element."
466
+ },
467
+ media: {
468
+ required: false,
469
+ control: "text",
470
+ type: "string",
471
+ description: "Specifies a hint of the media for which the linked resource was designed."
472
+ },
403
473
  nonce: { required: false, control: "text", type: "string" },
404
- ping: { required: false, control: "text", type: "string" },
405
- placeholder: { required: false, control: "text", type: "string" },
474
+ ping: {
475
+ required: false,
476
+ control: "text",
477
+ type: "string",
478
+ description: "The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink."
479
+ },
480
+ placeholder: {
481
+ required: false,
482
+ control: "text",
483
+ type: "string",
484
+ description: "Provides a hint to the user of what can be entered in the field."
485
+ },
406
486
  prefix: { required: false, control: "text", type: "string" },
407
487
  property: { required: false, control: "text", type: "string" },
408
488
  radioGroup: { required: false, control: "text", type: "string" },
@@ -420,16 +500,37 @@ const props = {
420
500
  "strict-origin",
421
501
  "strict-origin-when-cross-origin",
422
502
  "unsafe-url"
423
- ]
503
+ ],
504
+ description: "Specifies which referrer is sent when fetching the resource."
505
+ },
506
+ rel: {
507
+ required: false,
508
+ control: "text",
509
+ type: "string",
510
+ description: "Specifies the relationship of the target object to the link object."
424
511
  },
425
- rel: { required: false, control: "text", type: "string" },
426
512
  resource: { required: false, control: "text", type: "string" },
427
513
  results: { required: false, control: "number", type: "number" },
428
514
  rev: { required: false, control: "text", type: "string" },
429
- role: { required: false, control: "text", type: "string" },
515
+ role: {
516
+ required: false,
517
+ control: "text",
518
+ type: "string",
519
+ description: "Defines an explicit role for an element for use by assistive technologies."
520
+ },
430
521
  security: { required: false, control: "text", type: "string" },
431
- slot: { required: false, control: "text", type: "string" },
432
- spellCheck: { required: false, control: "boolean", type: "boolean" },
522
+ slot: {
523
+ required: false,
524
+ control: "text",
525
+ type: "string",
526
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
527
+ },
528
+ spellCheck: {
529
+ required: false,
530
+ control: "boolean",
531
+ type: "boolean",
532
+ description: "Indicates whether spell checking is allowed for the element."
533
+ },
433
534
  suppressContentEditableWarning: {
434
535
  required: false,
435
536
  control: "boolean",
@@ -440,21 +541,38 @@ const props = {
440
541
  control: "boolean",
441
542
  type: "boolean"
442
543
  },
443
- tabIndex: { required: false, control: "number", type: "number" },
544
+ tabIndex: {
545
+ required: false,
546
+ control: "number",
547
+ type: "number",
548
+ description: "Overrides the browser's default tab order and follows the one specified instead."
549
+ },
444
550
  target: {
445
551
  required: false,
446
552
  control: "select",
447
553
  type: "string",
448
- options: ["_self", "_blank", "_parent", "_top"]
554
+ options: ["_self", "_blank", "_parent", "_top"],
555
+ description: "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)"
556
+ },
557
+ title: {
558
+ required: false,
559
+ control: "text",
560
+ type: "string",
561
+ description: "Text to be displayed in a tooltip when hovering over the element."
449
562
  },
450
- title: { required: false, control: "text", type: "string" },
451
563
  translate: {
452
564
  required: false,
453
565
  control: "radio",
454
566
  type: "string",
455
- options: ["yes", "no"]
567
+ options: ["yes", "no"],
568
+ 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."
569
+ },
570
+ type: {
571
+ required: false,
572
+ control: "text",
573
+ type: "string",
574
+ description: "Defines the type of the element."
456
575
  },
457
- type: { required: false, control: "text", type: "string" },
458
576
  typeof: { required: false, control: "text", type: "string" },
459
577
  unselectable: {
460
578
  required: false,