@webstudio-is/sdk-components-react-radix 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 (96) hide show
  1. package/lib/__generated__/accordion.props.js +605 -109
  2. package/lib/__generated__/button.props.js +161 -29
  3. package/lib/__generated__/checkbox.props.js +284 -51
  4. package/lib/__generated__/collapsible.props.js +234 -42
  5. package/lib/__generated__/dialog.props.js +611 -110
  6. package/lib/__generated__/input.props.js +264 -47
  7. package/lib/__generated__/label.props.js +123 -22
  8. package/lib/__generated__/navigation-menu.props.js +563 -102
  9. package/lib/__generated__/popover.props.js +129 -25
  10. package/lib/__generated__/radio-group.props.js +421 -76
  11. package/lib/__generated__/select.props.js +876 -160
  12. package/lib/__generated__/sheet.props.js +591 -110
  13. package/lib/__generated__/switch.props.js +284 -51
  14. package/lib/__generated__/tabs.props.js +506 -91
  15. package/lib/__generated__/textarea.props.js +177 -31
  16. package/lib/__generated__/tooltip.props.js +131 -27
  17. package/lib/accordion.ws.js +1 -0
  18. package/lib/checkbox.ws.js +2 -0
  19. package/lib/cjs/__generated__/accordion.props.js +605 -109
  20. package/lib/cjs/__generated__/button.props.js +161 -29
  21. package/lib/cjs/__generated__/checkbox.props.js +284 -51
  22. package/lib/cjs/__generated__/collapsible.props.js +234 -42
  23. package/lib/cjs/__generated__/dialog.props.js +611 -110
  24. package/lib/cjs/__generated__/input.props.js +264 -47
  25. package/lib/cjs/__generated__/label.props.js +123 -22
  26. package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
  27. package/lib/cjs/__generated__/popover.props.js +129 -25
  28. package/lib/cjs/__generated__/radio-group.props.js +421 -76
  29. package/lib/cjs/__generated__/select.props.js +875 -159
  30. package/lib/cjs/__generated__/sheet.props.js +591 -110
  31. package/lib/cjs/__generated__/switch.props.js +284 -51
  32. package/lib/cjs/__generated__/tabs.props.js +506 -91
  33. package/lib/cjs/__generated__/textarea.props.js +177 -31
  34. package/lib/cjs/__generated__/tooltip.props.js +131 -27
  35. package/lib/cjs/accordion.ws.js +1 -0
  36. package/lib/cjs/checkbox.ws.js +2 -0
  37. package/lib/cjs/collapsible.ws.js +1 -0
  38. package/lib/cjs/dialog.ws.js +1 -0
  39. package/lib/cjs/label.ws.js +1 -0
  40. package/lib/cjs/navigation-menu.ws.js +1 -0
  41. package/lib/cjs/popover.ws.js +1 -0
  42. package/lib/cjs/props-descriptions.js +56 -0
  43. package/lib/cjs/radio-group.ws.js +3 -0
  44. package/lib/cjs/select.js +3 -1
  45. package/lib/cjs/select.ws.js +1 -0
  46. package/lib/cjs/sheet.ws.js +1 -0
  47. package/lib/cjs/switch.ws.js +2 -0
  48. package/lib/cjs/tabs.ws.js +1 -0
  49. package/lib/cjs/tooltip.ws.js +1 -0
  50. package/lib/collapsible.ws.js +1 -0
  51. package/lib/dialog.ws.js +1 -0
  52. package/lib/label.ws.js +1 -0
  53. package/lib/navigation-menu.ws.js +1 -0
  54. package/lib/popover.ws.js +1 -0
  55. package/lib/props-descriptions.js +36 -0
  56. package/lib/radio-group.ws.js +3 -0
  57. package/lib/select.js +3 -1
  58. package/lib/select.ws.js +1 -0
  59. package/lib/sheet.ws.js +1 -0
  60. package/lib/switch.ws.js +2 -0
  61. package/lib/tabs.ws.js +1 -0
  62. package/lib/tooltip.ws.js +1 -0
  63. package/lib/types/props-descriptions.d.ts +29 -0
  64. package/lib/types/select.d.ts +4 -2
  65. package/package.json +6 -6
  66. package/src/__generated__/accordion.props.ts +675 -103
  67. package/src/__generated__/button.props.ts +180 -27
  68. package/src/__generated__/checkbox.props.ts +317 -48
  69. package/src/__generated__/collapsible.props.ts +261 -40
  70. package/src/__generated__/dialog.props.ts +682 -104
  71. package/src/__generated__/input.props.ts +292 -44
  72. package/src/__generated__/label.props.ts +137 -21
  73. package/src/__generated__/navigation-menu.props.ts +629 -96
  74. package/src/__generated__/popover.props.ts +142 -21
  75. package/src/__generated__/radio-group.props.ts +470 -71
  76. package/src/__generated__/select.props.ts +979 -153
  77. package/src/__generated__/sheet.props.ts +657 -99
  78. package/src/__generated__/switch.props.ts +317 -48
  79. package/src/__generated__/tabs.props.ts +565 -86
  80. package/src/__generated__/textarea.props.ts +195 -30
  81. package/src/__generated__/tooltip.props.ts +145 -23
  82. package/src/accordion.ws.ts +2 -0
  83. package/src/checkbox.ws.ts +3 -0
  84. package/src/collapsible.ws.ts +2 -0
  85. package/src/dialog.ws.tsx +2 -0
  86. package/src/label.ws.ts +2 -0
  87. package/src/navigation-menu.ws.ts +1 -0
  88. package/src/popover.ws.tsx +1 -0
  89. package/src/props-descriptions.ts +43 -0
  90. package/src/radio-group.ws.ts +4 -0
  91. package/src/select.tsx +8 -3
  92. package/src/select.ws.ts +2 -0
  93. package/src/sheet.ws.tsx +2 -0
  94. package/src/switch.ws.ts +3 -0
  95. package/src/tabs.ws.ts +2 -0
  96. package/src/tooltip.ws.tsx +2 -0
@@ -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,36 +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" },
379
+ color: {
380
+ required: false,
381
+ control: "color",
382
+ type: "string",
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."
396
+ },
347
397
  datatype: { required: false, control: "text", type: "string" },
348
398
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
349
- dir: { required: false, control: "text", type: "string" },
350
- disabled: { required: false, control: "boolean", type: "boolean" },
351
- 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
+ },
352
417
  enterKeyHint: {
353
418
  required: false,
354
419
  control: "select",
355
420
  type: "string",
356
- options: ["search", "enter", "done", "go", "next", "previous", "send"]
357
- },
358
- form: { required: false, control: "text", type: "string" },
359
- formAction: { required: false, control: "text", type: "string" },
360
- formEncType: { required: false, control: "text", type: "string" },
361
- formMethod: { required: false, control: "text", type: "string" },
362
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
363
- formTarget: { required: false, control: "text", type: "string" },
364
- height: { required: false, control: "number", type: "number" },
365
- hidden: { required: false, control: "boolean", type: "boolean" },
366
- 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
+ },
367
478
  inputMode: {
368
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",
369
480
  required: false,
@@ -391,32 +502,122 @@ const props = {
391
502
  itemRef: { required: false, control: "text", type: "string" },
392
503
  itemScope: { required: false, control: "boolean", type: "boolean" },
393
504
  itemType: { required: false, control: "text", type: "string" },
394
- lang: { required: false, control: "text", type: "string" },
395
- list: { required: false, control: "text", type: "string" },
396
- max: { required: false, control: "number", type: "number" },
397
- maxLength: { required: false, control: "number", type: "number" },
398
- min: { required: false, control: "number", type: "number" },
399
- minLength: { required: false, control: "number", type: "number" },
400
- multiple: { required: false, control: "boolean", type: "boolean" },
401
- 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
+ },
402
553
  nonce: { required: false, control: "text", type: "string" },
403
- pattern: { required: false, control: "text", type: "string" },
404
- 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
+ },
405
566
  prefix: { required: false, control: "text", type: "string" },
406
567
  property: { required: false, control: "text", type: "string" },
407
568
  radioGroup: { required: false, control: "text", type: "string" },
408
- readOnly: { required: false, control: "boolean", type: "boolean" },
409
- rel: { required: false, control: "text", type: "string" },
410
- 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
+ },
411
587
  resource: { required: false, control: "text", type: "string" },
412
588
  results: { required: false, control: "number", type: "number" },
413
589
  rev: { required: false, control: "text", type: "string" },
414
- 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
+ },
415
596
  security: { required: false, control: "text", type: "string" },
416
- size: { required: false, control: "number", type: "number" },
417
- slot: { required: false, control: "text", type: "string" },
418
- spellCheck: { required: false, control: "boolean", type: "boolean" },
419
- 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
+ },
420
621
  step: { required: false, control: "number", type: "number" },
421
622
  suppressContentEditableWarning: {
422
623
  required: false,
@@ -428,13 +629,24 @@ const props = {
428
629
  control: "boolean",
429
630
  type: "boolean"
430
631
  },
431
- tabIndex: { required: false, control: "number", type: "number" },
432
- 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
+ },
433
644
  translate: {
434
645
  required: false,
435
646
  control: "radio",
436
647
  type: "string",
437
- 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."
438
650
  },
439
651
  typeof: { required: false, control: "text", type: "string" },
440
652
  unselectable: {
@@ -444,7 +656,12 @@ const props = {
444
656
  options: ["on", "off"]
445
657
  },
446
658
  vocab: { required: false, control: "text", type: "string" },
447
- width: { required: false, control: "number", type: "number" }
659
+ width: {
660
+ required: false,
661
+ control: "number",
662
+ type: "number",
663
+ description: "Defines the image\u2019s width in pixels."
664
+ }
448
665
  };
449
666
  export {
450
667
  props
@@ -1,6 +1,11 @@
1
1
  const props = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accessKey: { 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
+ },
4
9
  "aria-activedescendant": {
5
10
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
6
11
  required: false,
@@ -156,7 +161,7 @@ const props = {
156
161
  type: "string"
157
162
  },
158
163
  "aria-label": {
159
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
164
+ 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.",
160
165
  required: false,
161
166
  control: "text",
162
167
  type: "string"
@@ -332,21 +337,76 @@ const props = {
332
337
  control: "text",
333
338
  type: "string"
334
339
  },
335
- autoCapitalize: { required: false, control: "text", type: "string" },
340
+ autoCapitalize: {
341
+ required: false,
342
+ control: "text",
343
+ type: "string",
344
+ description: "Sets whether input is automatically capitalized when entered by user."
345
+ },
336
346
  autoCorrect: { required: false, control: "text", type: "string" },
337
- autoFocus: { required: false, control: "boolean", type: "boolean" },
347
+ autoFocus: {
348
+ required: false,
349
+ control: "boolean",
350
+ type: "boolean",
351
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
352
+ },
338
353
  autoSave: { required: false, control: "text", type: "string" },
339
354
  className: { required: false, control: "text", type: "string" },
340
- color: { required: false, control: "color", type: "string" },
341
- content: { required: false, control: "text", type: "string" },
342
- contextMenu: { required: false, control: "text", type: "string" },
355
+ color: {
356
+ required: false,
357
+ control: "color",
358
+ type: "string",
359
+ 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."
360
+ },
361
+ content: {
362
+ required: false,
363
+ control: "text",
364
+ type: "string",
365
+ description: "A value associated with http-equiv orname depending on the context."
366
+ },
367
+ contextMenu: {
368
+ required: false,
369
+ control: "text",
370
+ type: "string",
371
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
372
+ },
343
373
  datatype: { required: false, control: "text", type: "string" },
344
- dir: { required: false, control: "text", type: "string" },
345
- draggable: { required: false, control: "boolean", type: "boolean" },
346
- form: { required: false, control: "text", type: "string" },
347
- hidden: { required: false, control: "boolean", type: "boolean" },
348
- htmlFor: { required: false, control: "text", type: "string" },
349
- id: { required: false, control: "text", type: "string" },
374
+ dir: {
375
+ required: false,
376
+ control: "text",
377
+ type: "string",
378
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
379
+ },
380
+ draggable: {
381
+ required: false,
382
+ control: "boolean",
383
+ type: "boolean",
384
+ description: "Defines whether the element can be dragged."
385
+ },
386
+ form: {
387
+ required: false,
388
+ control: "text",
389
+ type: "string",
390
+ description: "Indicates the form that is the owner of the element."
391
+ },
392
+ hidden: {
393
+ required: false,
394
+ control: "boolean",
395
+ type: "boolean",
396
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
397
+ },
398
+ htmlFor: {
399
+ required: false,
400
+ control: "text",
401
+ type: "string",
402
+ description: "Associates this Label with an Input. The value of the \u201CFor\u201D attribute should match the ID attribute of the corresponding Input element"
403
+ },
404
+ id: {
405
+ required: false,
406
+ control: "text",
407
+ type: "string",
408
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
409
+ },
350
410
  inputMode: {
351
411
  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",
352
412
  required: false,
@@ -374,20 +434,50 @@ const props = {
374
434
  itemRef: { required: false, control: "text", type: "string" },
375
435
  itemScope: { required: false, control: "boolean", type: "boolean" },
376
436
  itemType: { required: false, control: "text", type: "string" },
377
- lang: { required: false, control: "text", type: "string" },
437
+ lang: {
438
+ required: false,
439
+ control: "text",
440
+ type: "string",
441
+ description: "Defines the language used in the element."
442
+ },
378
443
  nonce: { required: false, control: "text", type: "string" },
379
- placeholder: { required: false, control: "text", type: "string" },
444
+ placeholder: {
445
+ required: false,
446
+ control: "text",
447
+ type: "string",
448
+ description: "Provides a hint to the user of what can be entered in the field."
449
+ },
380
450
  prefix: { required: false, control: "text", type: "string" },
381
451
  property: { required: false, control: "text", type: "string" },
382
452
  radioGroup: { required: false, control: "text", type: "string" },
383
- rel: { required: false, control: "text", type: "string" },
453
+ rel: {
454
+ required: false,
455
+ control: "text",
456
+ type: "string",
457
+ description: "Specifies the relationship of the target object to the link object."
458
+ },
384
459
  resource: { required: false, control: "text", type: "string" },
385
460
  results: { required: false, control: "number", type: "number" },
386
461
  rev: { required: false, control: "text", type: "string" },
387
- role: { required: false, control: "text", type: "string" },
462
+ role: {
463
+ required: false,
464
+ control: "text",
465
+ type: "string",
466
+ description: "Defines an explicit role for an element for use by assistive technologies."
467
+ },
388
468
  security: { required: false, control: "text", type: "string" },
389
- slot: { required: false, control: "text", type: "string" },
390
- spellCheck: { required: false, control: "boolean", type: "boolean" },
469
+ slot: {
470
+ required: false,
471
+ control: "text",
472
+ type: "string",
473
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
474
+ },
475
+ spellCheck: {
476
+ required: false,
477
+ control: "boolean",
478
+ type: "boolean",
479
+ description: "Indicates whether spell checking is allowed for the element."
480
+ },
391
481
  suppressContentEditableWarning: {
392
482
  required: false,
393
483
  control: "boolean",
@@ -398,13 +488,24 @@ const props = {
398
488
  control: "boolean",
399
489
  type: "boolean"
400
490
  },
401
- tabIndex: { required: false, control: "number", type: "number" },
402
- title: { required: false, control: "text", type: "string" },
491
+ tabIndex: {
492
+ required: false,
493
+ control: "number",
494
+ type: "number",
495
+ description: "Overrides the browser's default tab order and follows the one specified instead."
496
+ },
497
+ title: {
498
+ required: false,
499
+ control: "text",
500
+ type: "string",
501
+ description: "Text to be displayed in a tooltip when hovering over the element."
502
+ },
403
503
  translate: {
404
504
  required: false,
405
505
  control: "radio",
406
506
  type: "string",
407
- options: ["yes", "no"]
507
+ options: ["yes", "no"],
508
+ 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."
408
509
  },
409
510
  typeof: { required: false, control: "text", type: "string" },
410
511
  unselectable: {