@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.
- package/lib/__generated__/accordion.props.js +605 -109
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +284 -51
- package/lib/__generated__/collapsible.props.js +234 -42
- package/lib/__generated__/dialog.props.js +611 -110
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/navigation-menu.props.js +563 -102
- package/lib/__generated__/popover.props.js +129 -25
- package/lib/__generated__/radio-group.props.js +421 -76
- package/lib/__generated__/select.props.js +876 -160
- package/lib/__generated__/sheet.props.js +591 -110
- package/lib/__generated__/switch.props.js +284 -51
- package/lib/__generated__/tabs.props.js +506 -91
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -27
- package/lib/accordion.ws.js +1 -0
- package/lib/checkbox.ws.js +2 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -109
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +284 -51
- package/lib/cjs/__generated__/collapsible.props.js +234 -42
- package/lib/cjs/__generated__/dialog.props.js +611 -110
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
- package/lib/cjs/__generated__/popover.props.js +129 -25
- package/lib/cjs/__generated__/radio-group.props.js +421 -76
- package/lib/cjs/__generated__/select.props.js +875 -159
- package/lib/cjs/__generated__/sheet.props.js +591 -110
- package/lib/cjs/__generated__/switch.props.js +284 -51
- package/lib/cjs/__generated__/tabs.props.js +506 -91
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -27
- package/lib/cjs/accordion.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +2 -0
- package/lib/cjs/collapsible.ws.js +1 -0
- package/lib/cjs/dialog.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -0
- package/lib/cjs/navigation-menu.ws.js +1 -0
- package/lib/cjs/popover.ws.js +1 -0
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/radio-group.ws.js +3 -0
- package/lib/cjs/select.js +3 -1
- package/lib/cjs/select.ws.js +1 -0
- package/lib/cjs/sheet.ws.js +1 -0
- package/lib/cjs/switch.ws.js +2 -0
- package/lib/cjs/tabs.ws.js +1 -0
- package/lib/cjs/tooltip.ws.js +1 -0
- package/lib/collapsible.ws.js +1 -0
- package/lib/dialog.ws.js +1 -0
- package/lib/label.ws.js +1 -0
- package/lib/navigation-menu.ws.js +1 -0
- package/lib/popover.ws.js +1 -0
- package/lib/props-descriptions.js +36 -0
- package/lib/radio-group.ws.js +3 -0
- package/lib/select.js +3 -1
- package/lib/select.ws.js +1 -0
- package/lib/sheet.ws.js +1 -0
- package/lib/switch.ws.js +2 -0
- package/lib/tabs.ws.js +1 -0
- package/lib/tooltip.ws.js +1 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/select.d.ts +4 -2
- package/package.json +6 -6
- package/src/__generated__/accordion.props.ts +675 -103
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +317 -48
- package/src/__generated__/collapsible.props.ts +261 -40
- package/src/__generated__/dialog.props.ts +682 -104
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/navigation-menu.props.ts +629 -96
- package/src/__generated__/popover.props.ts +142 -21
- package/src/__generated__/radio-group.props.ts +470 -71
- package/src/__generated__/select.props.ts +979 -153
- package/src/__generated__/sheet.props.ts +657 -99
- package/src/__generated__/switch.props.ts +317 -48
- package/src/__generated__/tabs.props.ts +565 -86
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -23
- package/src/accordion.ws.ts +2 -0
- package/src/checkbox.ws.ts +3 -0
- package/src/collapsible.ws.ts +2 -0
- package/src/dialog.ws.tsx +2 -0
- package/src/label.ws.ts +2 -0
- package/src/navigation-menu.ws.ts +1 -0
- package/src/popover.ws.tsx +1 -0
- package/src/props-descriptions.ts +43 -0
- package/src/radio-group.ws.ts +4 -0
- package/src/select.tsx +8 -3
- package/src/select.ws.ts +2 -0
- package/src/sheet.ws.tsx +2 -0
- package/src/switch.ws.ts +3 -0
- package/src/tabs.ws.ts +2 -0
- package/src/tooltip.ws.tsx +2 -0
|
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
|
2
2
|
|
|
3
3
|
export const propsRadioGroup: Record<string, PropMeta> = {
|
|
4
4
|
about: { required: false, control: "text", type: "string" },
|
|
5
|
-
accessKey: {
|
|
5
|
+
accessKey: {
|
|
6
|
+
required: false,
|
|
7
|
+
control: "text",
|
|
8
|
+
type: "string",
|
|
9
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
10
|
+
},
|
|
6
11
|
"aria-activedescendant": {
|
|
7
12
|
description:
|
|
8
13
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -183,7 +188,7 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
183
188
|
},
|
|
184
189
|
"aria-label": {
|
|
185
190
|
description:
|
|
186
|
-
"
|
|
191
|
+
"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.",
|
|
187
192
|
required: false,
|
|
188
193
|
control: "text",
|
|
189
194
|
type: "string",
|
|
@@ -382,25 +387,79 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
382
387
|
control: "text",
|
|
383
388
|
type: "string",
|
|
384
389
|
},
|
|
385
|
-
autoCapitalize: {
|
|
390
|
+
autoCapitalize: {
|
|
391
|
+
required: false,
|
|
392
|
+
control: "text",
|
|
393
|
+
type: "string",
|
|
394
|
+
description:
|
|
395
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
396
|
+
},
|
|
386
397
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
387
|
-
autoFocus: {
|
|
398
|
+
autoFocus: {
|
|
399
|
+
required: false,
|
|
400
|
+
control: "boolean",
|
|
401
|
+
type: "boolean",
|
|
402
|
+
description:
|
|
403
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
404
|
+
},
|
|
388
405
|
autoSave: { required: false, control: "text", type: "string" },
|
|
389
406
|
className: { required: false, control: "text", type: "string" },
|
|
390
|
-
color: {
|
|
391
|
-
|
|
392
|
-
|
|
407
|
+
color: {
|
|
408
|
+
required: false,
|
|
409
|
+
control: "color",
|
|
410
|
+
type: "string",
|
|
411
|
+
description:
|
|
412
|
+
"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.",
|
|
413
|
+
},
|
|
414
|
+
content: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "text",
|
|
417
|
+
type: "string",
|
|
418
|
+
description:
|
|
419
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
420
|
+
},
|
|
421
|
+
contextMenu: {
|
|
422
|
+
required: false,
|
|
423
|
+
control: "text",
|
|
424
|
+
type: "string",
|
|
425
|
+
description:
|
|
426
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
427
|
+
},
|
|
393
428
|
datatype: { required: false, control: "text", type: "string" },
|
|
394
429
|
dir: {
|
|
395
430
|
required: false,
|
|
396
431
|
control: "radio",
|
|
397
432
|
type: "string",
|
|
398
433
|
options: ["ltr", "rtl"],
|
|
434
|
+
description:
|
|
435
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
436
|
+
},
|
|
437
|
+
disabled: {
|
|
438
|
+
required: false,
|
|
439
|
+
control: "boolean",
|
|
440
|
+
type: "boolean",
|
|
441
|
+
description: "Indicates whether the user can interact with the element.",
|
|
442
|
+
},
|
|
443
|
+
draggable: {
|
|
444
|
+
required: false,
|
|
445
|
+
control: "boolean",
|
|
446
|
+
type: "boolean",
|
|
447
|
+
description: "Defines whether the element can be dragged.",
|
|
448
|
+
},
|
|
449
|
+
hidden: {
|
|
450
|
+
required: false,
|
|
451
|
+
control: "boolean",
|
|
452
|
+
type: "boolean",
|
|
453
|
+
description:
|
|
454
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
455
|
+
},
|
|
456
|
+
id: {
|
|
457
|
+
required: false,
|
|
458
|
+
control: "text",
|
|
459
|
+
type: "string",
|
|
460
|
+
description:
|
|
461
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
399
462
|
},
|
|
400
|
-
disabled: { required: false, control: "boolean", type: "boolean" },
|
|
401
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
402
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
403
|
-
id: { required: false, control: "text", type: "string" },
|
|
404
463
|
inputMode: {
|
|
405
464
|
description:
|
|
406
465
|
"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",
|
|
@@ -430,9 +489,26 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
430
489
|
itemRef: { required: false, control: "text", type: "string" },
|
|
431
490
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
432
491
|
itemType: { required: false, control: "text", type: "string" },
|
|
433
|
-
lang: {
|
|
434
|
-
|
|
435
|
-
|
|
492
|
+
lang: {
|
|
493
|
+
required: false,
|
|
494
|
+
control: "text",
|
|
495
|
+
type: "string",
|
|
496
|
+
description: "Defines the language used in the element.",
|
|
497
|
+
},
|
|
498
|
+
loop: {
|
|
499
|
+
required: false,
|
|
500
|
+
control: "boolean",
|
|
501
|
+
type: "boolean",
|
|
502
|
+
description:
|
|
503
|
+
"Indicates whether the media should start playing from the start when it's finished.",
|
|
504
|
+
},
|
|
505
|
+
name: {
|
|
506
|
+
required: false,
|
|
507
|
+
control: "text",
|
|
508
|
+
type: "string",
|
|
509
|
+
description:
|
|
510
|
+
"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).",
|
|
511
|
+
},
|
|
436
512
|
nonce: { required: false, control: "text", type: "string" },
|
|
437
513
|
orientation: {
|
|
438
514
|
required: false,
|
|
@@ -440,19 +516,53 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
440
516
|
type: "string",
|
|
441
517
|
options: ["horizontal", "vertical"],
|
|
442
518
|
},
|
|
443
|
-
placeholder: {
|
|
519
|
+
placeholder: {
|
|
520
|
+
required: false,
|
|
521
|
+
control: "text",
|
|
522
|
+
type: "string",
|
|
523
|
+
description:
|
|
524
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
525
|
+
},
|
|
444
526
|
prefix: { required: false, control: "text", type: "string" },
|
|
445
527
|
property: { required: false, control: "text", type: "string" },
|
|
446
528
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
447
|
-
rel: {
|
|
448
|
-
|
|
529
|
+
rel: {
|
|
530
|
+
required: false,
|
|
531
|
+
control: "text",
|
|
532
|
+
type: "string",
|
|
533
|
+
description:
|
|
534
|
+
"Specifies the relationship of the target object to the link object.",
|
|
535
|
+
},
|
|
536
|
+
required: {
|
|
537
|
+
required: false,
|
|
538
|
+
control: "boolean",
|
|
539
|
+
type: "boolean",
|
|
540
|
+
description:
|
|
541
|
+
"Indicates whether this form element must be filled before the form can be submitted.",
|
|
542
|
+
},
|
|
449
543
|
resource: { required: false, control: "text", type: "string" },
|
|
450
544
|
results: { required: false, control: "number", type: "number" },
|
|
451
545
|
rev: { required: false, control: "text", type: "string" },
|
|
452
|
-
role: {
|
|
546
|
+
role: {
|
|
547
|
+
required: false,
|
|
548
|
+
control: "text",
|
|
549
|
+
type: "string",
|
|
550
|
+
description:
|
|
551
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
552
|
+
},
|
|
453
553
|
security: { required: false, control: "text", type: "string" },
|
|
454
|
-
slot: {
|
|
455
|
-
|
|
554
|
+
slot: {
|
|
555
|
+
required: false,
|
|
556
|
+
control: "text",
|
|
557
|
+
type: "string",
|
|
558
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
559
|
+
},
|
|
560
|
+
spellCheck: {
|
|
561
|
+
required: false,
|
|
562
|
+
control: "boolean",
|
|
563
|
+
type: "boolean",
|
|
564
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
565
|
+
},
|
|
456
566
|
suppressContentEditableWarning: {
|
|
457
567
|
required: false,
|
|
458
568
|
control: "boolean",
|
|
@@ -463,13 +573,27 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
463
573
|
control: "boolean",
|
|
464
574
|
type: "boolean",
|
|
465
575
|
},
|
|
466
|
-
tabIndex: {
|
|
467
|
-
|
|
576
|
+
tabIndex: {
|
|
577
|
+
required: false,
|
|
578
|
+
control: "number",
|
|
579
|
+
type: "number",
|
|
580
|
+
description:
|
|
581
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
582
|
+
},
|
|
583
|
+
title: {
|
|
584
|
+
required: false,
|
|
585
|
+
control: "text",
|
|
586
|
+
type: "string",
|
|
587
|
+
description:
|
|
588
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
589
|
+
},
|
|
468
590
|
translate: {
|
|
469
591
|
required: false,
|
|
470
592
|
control: "radio",
|
|
471
593
|
type: "string",
|
|
472
594
|
options: ["yes", "no"],
|
|
595
|
+
description:
|
|
596
|
+
"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.",
|
|
473
597
|
},
|
|
474
598
|
typeof: { required: false, control: "text", type: "string" },
|
|
475
599
|
unselectable: {
|
|
@@ -478,12 +602,23 @@ export const propsRadioGroup: Record<string, PropMeta> = {
|
|
|
478
602
|
type: "string",
|
|
479
603
|
options: ["on", "off"],
|
|
480
604
|
},
|
|
481
|
-
value: {
|
|
605
|
+
value: {
|
|
606
|
+
required: false,
|
|
607
|
+
control: "text",
|
|
608
|
+
type: "string",
|
|
609
|
+
description:
|
|
610
|
+
"Defines a default value which will be displayed in the element on pageload.",
|
|
611
|
+
},
|
|
482
612
|
vocab: { required: false, control: "text", type: "string" },
|
|
483
613
|
};
|
|
484
614
|
export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
485
615
|
about: { required: false, control: "text", type: "string" },
|
|
486
|
-
accessKey: {
|
|
616
|
+
accessKey: {
|
|
617
|
+
required: false,
|
|
618
|
+
control: "text",
|
|
619
|
+
type: "string",
|
|
620
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
621
|
+
},
|
|
487
622
|
"aria-activedescendant": {
|
|
488
623
|
description:
|
|
489
624
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -664,7 +799,7 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
|
664
799
|
},
|
|
665
800
|
"aria-label": {
|
|
666
801
|
description:
|
|
667
|
-
"
|
|
802
|
+
"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.",
|
|
668
803
|
required: false,
|
|
669
804
|
control: "text",
|
|
670
805
|
type: "string",
|
|
@@ -863,27 +998,126 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
|
863
998
|
control: "text",
|
|
864
999
|
type: "string",
|
|
865
1000
|
},
|
|
866
|
-
autoCapitalize: {
|
|
1001
|
+
autoCapitalize: {
|
|
1002
|
+
required: false,
|
|
1003
|
+
control: "text",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
description:
|
|
1006
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1007
|
+
},
|
|
867
1008
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
868
|
-
autoFocus: {
|
|
1009
|
+
autoFocus: {
|
|
1010
|
+
required: false,
|
|
1011
|
+
control: "boolean",
|
|
1012
|
+
type: "boolean",
|
|
1013
|
+
description:
|
|
1014
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1015
|
+
},
|
|
869
1016
|
autoSave: { required: false, control: "text", type: "string" },
|
|
870
|
-
checked: {
|
|
1017
|
+
checked: {
|
|
1018
|
+
required: false,
|
|
1019
|
+
control: "boolean",
|
|
1020
|
+
type: "boolean",
|
|
1021
|
+
description:
|
|
1022
|
+
"Indicates whether the element should be checked on page load.",
|
|
1023
|
+
},
|
|
871
1024
|
className: { required: false, control: "text", type: "string" },
|
|
872
|
-
color: {
|
|
873
|
-
|
|
874
|
-
|
|
1025
|
+
color: {
|
|
1026
|
+
required: false,
|
|
1027
|
+
control: "color",
|
|
1028
|
+
type: "string",
|
|
1029
|
+
description:
|
|
1030
|
+
"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.",
|
|
1031
|
+
},
|
|
1032
|
+
content: {
|
|
1033
|
+
required: false,
|
|
1034
|
+
control: "text",
|
|
1035
|
+
type: "string",
|
|
1036
|
+
description:
|
|
1037
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1038
|
+
},
|
|
1039
|
+
contextMenu: {
|
|
1040
|
+
required: false,
|
|
1041
|
+
control: "text",
|
|
1042
|
+
type: "string",
|
|
1043
|
+
description:
|
|
1044
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1045
|
+
},
|
|
875
1046
|
datatype: { required: false, control: "text", type: "string" },
|
|
876
|
-
dir: {
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
1047
|
+
dir: {
|
|
1048
|
+
required: false,
|
|
1049
|
+
control: "text",
|
|
1050
|
+
type: "string",
|
|
1051
|
+
description:
|
|
1052
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1053
|
+
},
|
|
1054
|
+
disabled: {
|
|
1055
|
+
required: false,
|
|
1056
|
+
control: "boolean",
|
|
1057
|
+
type: "boolean",
|
|
1058
|
+
description: "Indicates whether the user can interact with the element.",
|
|
1059
|
+
},
|
|
1060
|
+
draggable: {
|
|
1061
|
+
required: false,
|
|
1062
|
+
control: "boolean",
|
|
1063
|
+
type: "boolean",
|
|
1064
|
+
description: "Defines whether the element can be dragged.",
|
|
1065
|
+
},
|
|
1066
|
+
form: {
|
|
1067
|
+
required: false,
|
|
1068
|
+
control: "text",
|
|
1069
|
+
type: "string",
|
|
1070
|
+
description: "Indicates the form that is the owner of the element.",
|
|
1071
|
+
},
|
|
1072
|
+
formAction: {
|
|
1073
|
+
required: false,
|
|
1074
|
+
control: "text",
|
|
1075
|
+
type: "string",
|
|
1076
|
+
description:
|
|
1077
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
1078
|
+
},
|
|
1079
|
+
formEncType: {
|
|
1080
|
+
required: false,
|
|
1081
|
+
control: "text",
|
|
1082
|
+
type: "string",
|
|
1083
|
+
description:
|
|
1084
|
+
'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.',
|
|
1085
|
+
},
|
|
1086
|
+
formMethod: {
|
|
1087
|
+
required: false,
|
|
1088
|
+
control: "text",
|
|
1089
|
+
type: "string",
|
|
1090
|
+
description:
|
|
1091
|
+
'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.',
|
|
1092
|
+
},
|
|
1093
|
+
formNoValidate: {
|
|
1094
|
+
required: false,
|
|
1095
|
+
control: "boolean",
|
|
1096
|
+
type: "boolean",
|
|
1097
|
+
description:
|
|
1098
|
+
'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.',
|
|
1099
|
+
},
|
|
1100
|
+
formTarget: {
|
|
1101
|
+
required: false,
|
|
1102
|
+
control: "text",
|
|
1103
|
+
type: "string",
|
|
1104
|
+
description:
|
|
1105
|
+
'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.',
|
|
1106
|
+
},
|
|
1107
|
+
hidden: {
|
|
1108
|
+
required: false,
|
|
1109
|
+
control: "boolean",
|
|
1110
|
+
type: "boolean",
|
|
1111
|
+
description:
|
|
1112
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1113
|
+
},
|
|
1114
|
+
id: {
|
|
1115
|
+
required: false,
|
|
1116
|
+
control: "text",
|
|
1117
|
+
type: "string",
|
|
1118
|
+
description:
|
|
1119
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1120
|
+
},
|
|
887
1121
|
inputMode: {
|
|
888
1122
|
description:
|
|
889
1123
|
"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",
|
|
@@ -913,21 +1147,60 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
|
913
1147
|
itemRef: { required: false, control: "text", type: "string" },
|
|
914
1148
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
915
1149
|
itemType: { required: false, control: "text", type: "string" },
|
|
916
|
-
lang: {
|
|
1150
|
+
lang: {
|
|
1151
|
+
required: false,
|
|
1152
|
+
control: "text",
|
|
1153
|
+
type: "string",
|
|
1154
|
+
description: "Defines the language used in the element.",
|
|
1155
|
+
},
|
|
917
1156
|
nonce: { required: false, control: "text", type: "string" },
|
|
918
|
-
placeholder: {
|
|
1157
|
+
placeholder: {
|
|
1158
|
+
required: false,
|
|
1159
|
+
control: "text",
|
|
1160
|
+
type: "string",
|
|
1161
|
+
description:
|
|
1162
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1163
|
+
},
|
|
919
1164
|
prefix: { required: false, control: "text", type: "string" },
|
|
920
1165
|
property: { required: false, control: "text", type: "string" },
|
|
921
1166
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
922
|
-
rel: {
|
|
923
|
-
|
|
1167
|
+
rel: {
|
|
1168
|
+
required: false,
|
|
1169
|
+
control: "text",
|
|
1170
|
+
type: "string",
|
|
1171
|
+
description:
|
|
1172
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1173
|
+
},
|
|
1174
|
+
required: {
|
|
1175
|
+
required: false,
|
|
1176
|
+
control: "boolean",
|
|
1177
|
+
type: "boolean",
|
|
1178
|
+
description:
|
|
1179
|
+
"Indicates whether this form element must be filled before the form can be submitted.",
|
|
1180
|
+
},
|
|
924
1181
|
resource: { required: false, control: "text", type: "string" },
|
|
925
1182
|
results: { required: false, control: "number", type: "number" },
|
|
926
1183
|
rev: { required: false, control: "text", type: "string" },
|
|
927
|
-
role: {
|
|
1184
|
+
role: {
|
|
1185
|
+
required: false,
|
|
1186
|
+
control: "text",
|
|
1187
|
+
type: "string",
|
|
1188
|
+
description:
|
|
1189
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1190
|
+
},
|
|
928
1191
|
security: { required: false, control: "text", type: "string" },
|
|
929
|
-
slot: {
|
|
930
|
-
|
|
1192
|
+
slot: {
|
|
1193
|
+
required: false,
|
|
1194
|
+
control: "text",
|
|
1195
|
+
type: "string",
|
|
1196
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1197
|
+
},
|
|
1198
|
+
spellCheck: {
|
|
1199
|
+
required: false,
|
|
1200
|
+
control: "boolean",
|
|
1201
|
+
type: "boolean",
|
|
1202
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1203
|
+
},
|
|
931
1204
|
suppressContentEditableWarning: {
|
|
932
1205
|
required: false,
|
|
933
1206
|
control: "boolean",
|
|
@@ -938,19 +1211,34 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
|
938
1211
|
control: "boolean",
|
|
939
1212
|
type: "boolean",
|
|
940
1213
|
},
|
|
941
|
-
tabIndex: {
|
|
942
|
-
|
|
1214
|
+
tabIndex: {
|
|
1215
|
+
required: false,
|
|
1216
|
+
control: "number",
|
|
1217
|
+
type: "number",
|
|
1218
|
+
description:
|
|
1219
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1220
|
+
},
|
|
1221
|
+
title: {
|
|
1222
|
+
required: false,
|
|
1223
|
+
control: "text",
|
|
1224
|
+
type: "string",
|
|
1225
|
+
description:
|
|
1226
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1227
|
+
},
|
|
943
1228
|
translate: {
|
|
944
1229
|
required: false,
|
|
945
1230
|
control: "radio",
|
|
946
1231
|
type: "string",
|
|
947
1232
|
options: ["yes", "no"],
|
|
1233
|
+
description:
|
|
1234
|
+
"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.",
|
|
948
1235
|
},
|
|
949
1236
|
type: {
|
|
950
1237
|
required: false,
|
|
951
1238
|
control: "radio",
|
|
952
1239
|
type: "string",
|
|
953
1240
|
options: ["button", "submit", "reset"],
|
|
1241
|
+
description: "Defines the type of the element.",
|
|
954
1242
|
},
|
|
955
1243
|
typeof: { required: false, control: "text", type: "string" },
|
|
956
1244
|
unselectable: {
|
|
@@ -959,12 +1247,23 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {
|
|
|
959
1247
|
type: "string",
|
|
960
1248
|
options: ["on", "off"],
|
|
961
1249
|
},
|
|
962
|
-
value: {
|
|
1250
|
+
value: {
|
|
1251
|
+
required: true,
|
|
1252
|
+
control: "text",
|
|
1253
|
+
type: "string",
|
|
1254
|
+
description:
|
|
1255
|
+
"Defines a default value which will be displayed in the element on pageload.",
|
|
1256
|
+
},
|
|
963
1257
|
vocab: { required: false, control: "text", type: "string" },
|
|
964
1258
|
};
|
|
965
1259
|
export const propsRadioGroupIndicator: Record<string, PropMeta> = {
|
|
966
1260
|
about: { required: false, control: "text", type: "string" },
|
|
967
|
-
accessKey: {
|
|
1261
|
+
accessKey: {
|
|
1262
|
+
required: false,
|
|
1263
|
+
control: "text",
|
|
1264
|
+
type: "string",
|
|
1265
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1266
|
+
},
|
|
968
1267
|
"aria-activedescendant": {
|
|
969
1268
|
description:
|
|
970
1269
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1145,7 +1444,7 @@ export const propsRadioGroupIndicator: Record<string, PropMeta> = {
|
|
|
1145
1444
|
},
|
|
1146
1445
|
"aria-label": {
|
|
1147
1446
|
description:
|
|
1148
|
-
"
|
|
1447
|
+
"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.",
|
|
1149
1448
|
required: false,
|
|
1150
1449
|
control: "text",
|
|
1151
1450
|
type: "string",
|
|
@@ -1344,19 +1643,72 @@ export const propsRadioGroupIndicator: Record<string, PropMeta> = {
|
|
|
1344
1643
|
control: "text",
|
|
1345
1644
|
type: "string",
|
|
1346
1645
|
},
|
|
1347
|
-
autoCapitalize: {
|
|
1646
|
+
autoCapitalize: {
|
|
1647
|
+
required: false,
|
|
1648
|
+
control: "text",
|
|
1649
|
+
type: "string",
|
|
1650
|
+
description:
|
|
1651
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1652
|
+
},
|
|
1348
1653
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1349
|
-
autoFocus: {
|
|
1654
|
+
autoFocus: {
|
|
1655
|
+
required: false,
|
|
1656
|
+
control: "boolean",
|
|
1657
|
+
type: "boolean",
|
|
1658
|
+
description:
|
|
1659
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1660
|
+
},
|
|
1350
1661
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1351
1662
|
className: { required: false, control: "text", type: "string" },
|
|
1352
|
-
color: {
|
|
1353
|
-
|
|
1354
|
-
|
|
1663
|
+
color: {
|
|
1664
|
+
required: false,
|
|
1665
|
+
control: "color",
|
|
1666
|
+
type: "string",
|
|
1667
|
+
description:
|
|
1668
|
+
"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.",
|
|
1669
|
+
},
|
|
1670
|
+
content: {
|
|
1671
|
+
required: false,
|
|
1672
|
+
control: "text",
|
|
1673
|
+
type: "string",
|
|
1674
|
+
description:
|
|
1675
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1676
|
+
},
|
|
1677
|
+
contextMenu: {
|
|
1678
|
+
required: false,
|
|
1679
|
+
control: "text",
|
|
1680
|
+
type: "string",
|
|
1681
|
+
description:
|
|
1682
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1683
|
+
},
|
|
1355
1684
|
datatype: { required: false, control: "text", type: "string" },
|
|
1356
|
-
dir: {
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1685
|
+
dir: {
|
|
1686
|
+
required: false,
|
|
1687
|
+
control: "text",
|
|
1688
|
+
type: "string",
|
|
1689
|
+
description:
|
|
1690
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1691
|
+
},
|
|
1692
|
+
draggable: {
|
|
1693
|
+
required: false,
|
|
1694
|
+
control: "boolean",
|
|
1695
|
+
type: "boolean",
|
|
1696
|
+
description: "Defines whether the element can be dragged.",
|
|
1697
|
+
},
|
|
1698
|
+
hidden: {
|
|
1699
|
+
required: false,
|
|
1700
|
+
control: "boolean",
|
|
1701
|
+
type: "boolean",
|
|
1702
|
+
description:
|
|
1703
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1704
|
+
},
|
|
1705
|
+
id: {
|
|
1706
|
+
required: false,
|
|
1707
|
+
control: "text",
|
|
1708
|
+
type: "string",
|
|
1709
|
+
description:
|
|
1710
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1711
|
+
},
|
|
1360
1712
|
inputMode: {
|
|
1361
1713
|
description:
|
|
1362
1714
|
"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",
|
|
@@ -1386,20 +1738,53 @@ export const propsRadioGroupIndicator: Record<string, PropMeta> = {
|
|
|
1386
1738
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1387
1739
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1388
1740
|
itemType: { required: false, control: "text", type: "string" },
|
|
1389
|
-
lang: {
|
|
1741
|
+
lang: {
|
|
1742
|
+
required: false,
|
|
1743
|
+
control: "text",
|
|
1744
|
+
type: "string",
|
|
1745
|
+
description: "Defines the language used in the element.",
|
|
1746
|
+
},
|
|
1390
1747
|
nonce: { required: false, control: "text", type: "string" },
|
|
1391
|
-
placeholder: {
|
|
1748
|
+
placeholder: {
|
|
1749
|
+
required: false,
|
|
1750
|
+
control: "text",
|
|
1751
|
+
type: "string",
|
|
1752
|
+
description:
|
|
1753
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1754
|
+
},
|
|
1392
1755
|
prefix: { required: false, control: "text", type: "string" },
|
|
1393
1756
|
property: { required: false, control: "text", type: "string" },
|
|
1394
1757
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1395
|
-
rel: {
|
|
1758
|
+
rel: {
|
|
1759
|
+
required: false,
|
|
1760
|
+
control: "text",
|
|
1761
|
+
type: "string",
|
|
1762
|
+
description:
|
|
1763
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1764
|
+
},
|
|
1396
1765
|
resource: { required: false, control: "text", type: "string" },
|
|
1397
1766
|
results: { required: false, control: "number", type: "number" },
|
|
1398
1767
|
rev: { required: false, control: "text", type: "string" },
|
|
1399
|
-
role: {
|
|
1768
|
+
role: {
|
|
1769
|
+
required: false,
|
|
1770
|
+
control: "text",
|
|
1771
|
+
type: "string",
|
|
1772
|
+
description:
|
|
1773
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1774
|
+
},
|
|
1400
1775
|
security: { required: false, control: "text", type: "string" },
|
|
1401
|
-
slot: {
|
|
1402
|
-
|
|
1776
|
+
slot: {
|
|
1777
|
+
required: false,
|
|
1778
|
+
control: "text",
|
|
1779
|
+
type: "string",
|
|
1780
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1781
|
+
},
|
|
1782
|
+
spellCheck: {
|
|
1783
|
+
required: false,
|
|
1784
|
+
control: "boolean",
|
|
1785
|
+
type: "boolean",
|
|
1786
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1787
|
+
},
|
|
1403
1788
|
suppressContentEditableWarning: {
|
|
1404
1789
|
required: false,
|
|
1405
1790
|
control: "boolean",
|
|
@@ -1410,13 +1795,27 @@ export const propsRadioGroupIndicator: Record<string, PropMeta> = {
|
|
|
1410
1795
|
control: "boolean",
|
|
1411
1796
|
type: "boolean",
|
|
1412
1797
|
},
|
|
1413
|
-
tabIndex: {
|
|
1414
|
-
|
|
1798
|
+
tabIndex: {
|
|
1799
|
+
required: false,
|
|
1800
|
+
control: "number",
|
|
1801
|
+
type: "number",
|
|
1802
|
+
description:
|
|
1803
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1804
|
+
},
|
|
1805
|
+
title: {
|
|
1806
|
+
required: false,
|
|
1807
|
+
control: "text",
|
|
1808
|
+
type: "string",
|
|
1809
|
+
description:
|
|
1810
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1811
|
+
},
|
|
1415
1812
|
translate: {
|
|
1416
1813
|
required: false,
|
|
1417
1814
|
control: "radio",
|
|
1418
1815
|
type: "string",
|
|
1419
1816
|
options: ["yes", "no"],
|
|
1817
|
+
description:
|
|
1818
|
+
"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.",
|
|
1420
1819
|
},
|
|
1421
1820
|
typeof: { required: false, control: "text", type: "string" },
|
|
1422
1821
|
unselectable: {
|