@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
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const propsRadioGroup = {
|
|
2
2
|
about: { required: false, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
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 propsRadioGroup = {
|
|
|
156
161
|
type: "string"
|
|
157
162
|
},
|
|
158
163
|
"aria-label": {
|
|
159
|
-
description: "
|
|
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,25 +337,71 @@ const propsRadioGroup = {
|
|
|
332
337
|
control: "text",
|
|
333
338
|
type: "string"
|
|
334
339
|
},
|
|
335
|
-
autoCapitalize: {
|
|
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: {
|
|
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: {
|
|
341
|
-
|
|
342
|
-
|
|
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
374
|
dir: {
|
|
345
375
|
required: false,
|
|
346
376
|
control: "radio",
|
|
347
377
|
type: "string",
|
|
348
|
-
options: ["ltr", "rtl"]
|
|
378
|
+
options: ["ltr", "rtl"],
|
|
379
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
380
|
+
},
|
|
381
|
+
disabled: {
|
|
382
|
+
required: false,
|
|
383
|
+
control: "boolean",
|
|
384
|
+
type: "boolean",
|
|
385
|
+
description: "Indicates whether the user can interact with the element."
|
|
386
|
+
},
|
|
387
|
+
draggable: {
|
|
388
|
+
required: false,
|
|
389
|
+
control: "boolean",
|
|
390
|
+
type: "boolean",
|
|
391
|
+
description: "Defines whether the element can be dragged."
|
|
392
|
+
},
|
|
393
|
+
hidden: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "boolean",
|
|
396
|
+
type: "boolean",
|
|
397
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
398
|
+
},
|
|
399
|
+
id: {
|
|
400
|
+
required: false,
|
|
401
|
+
control: "text",
|
|
402
|
+
type: "string",
|
|
403
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
349
404
|
},
|
|
350
|
-
disabled: { required: false, control: "boolean", type: "boolean" },
|
|
351
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
352
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
353
|
-
id: { required: false, control: "text", type: "string" },
|
|
354
405
|
inputMode: {
|
|
355
406
|
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",
|
|
356
407
|
required: false,
|
|
@@ -378,9 +429,24 @@ const propsRadioGroup = {
|
|
|
378
429
|
itemRef: { required: false, control: "text", type: "string" },
|
|
379
430
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
380
431
|
itemType: { required: false, control: "text", type: "string" },
|
|
381
|
-
lang: {
|
|
382
|
-
|
|
383
|
-
|
|
432
|
+
lang: {
|
|
433
|
+
required: false,
|
|
434
|
+
control: "text",
|
|
435
|
+
type: "string",
|
|
436
|
+
description: "Defines the language used in the element."
|
|
437
|
+
},
|
|
438
|
+
loop: {
|
|
439
|
+
required: false,
|
|
440
|
+
control: "boolean",
|
|
441
|
+
type: "boolean",
|
|
442
|
+
description: "Indicates whether the media should start playing from the start when it's finished."
|
|
443
|
+
},
|
|
444
|
+
name: {
|
|
445
|
+
required: false,
|
|
446
|
+
control: "text",
|
|
447
|
+
type: "string",
|
|
448
|
+
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)."
|
|
449
|
+
},
|
|
384
450
|
nonce: { required: false, control: "text", type: "string" },
|
|
385
451
|
orientation: {
|
|
386
452
|
required: false,
|
|
@@ -388,19 +454,49 @@ const propsRadioGroup = {
|
|
|
388
454
|
type: "string",
|
|
389
455
|
options: ["horizontal", "vertical"]
|
|
390
456
|
},
|
|
391
|
-
placeholder: {
|
|
457
|
+
placeholder: {
|
|
458
|
+
required: false,
|
|
459
|
+
control: "text",
|
|
460
|
+
type: "string",
|
|
461
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
462
|
+
},
|
|
392
463
|
prefix: { required: false, control: "text", type: "string" },
|
|
393
464
|
property: { required: false, control: "text", type: "string" },
|
|
394
465
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
395
|
-
rel: {
|
|
396
|
-
|
|
466
|
+
rel: {
|
|
467
|
+
required: false,
|
|
468
|
+
control: "text",
|
|
469
|
+
type: "string",
|
|
470
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
471
|
+
},
|
|
472
|
+
required: {
|
|
473
|
+
required: false,
|
|
474
|
+
control: "boolean",
|
|
475
|
+
type: "boolean",
|
|
476
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
477
|
+
},
|
|
397
478
|
resource: { required: false, control: "text", type: "string" },
|
|
398
479
|
results: { required: false, control: "number", type: "number" },
|
|
399
480
|
rev: { required: false, control: "text", type: "string" },
|
|
400
|
-
role: {
|
|
481
|
+
role: {
|
|
482
|
+
required: false,
|
|
483
|
+
control: "text",
|
|
484
|
+
type: "string",
|
|
485
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
486
|
+
},
|
|
401
487
|
security: { required: false, control: "text", type: "string" },
|
|
402
|
-
slot: {
|
|
403
|
-
|
|
488
|
+
slot: {
|
|
489
|
+
required: false,
|
|
490
|
+
control: "text",
|
|
491
|
+
type: "string",
|
|
492
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
493
|
+
},
|
|
494
|
+
spellCheck: {
|
|
495
|
+
required: false,
|
|
496
|
+
control: "boolean",
|
|
497
|
+
type: "boolean",
|
|
498
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
499
|
+
},
|
|
404
500
|
suppressContentEditableWarning: {
|
|
405
501
|
required: false,
|
|
406
502
|
control: "boolean",
|
|
@@ -411,13 +507,24 @@ const propsRadioGroup = {
|
|
|
411
507
|
control: "boolean",
|
|
412
508
|
type: "boolean"
|
|
413
509
|
},
|
|
414
|
-
tabIndex: {
|
|
415
|
-
|
|
510
|
+
tabIndex: {
|
|
511
|
+
required: false,
|
|
512
|
+
control: "number",
|
|
513
|
+
type: "number",
|
|
514
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
515
|
+
},
|
|
516
|
+
title: {
|
|
517
|
+
required: false,
|
|
518
|
+
control: "text",
|
|
519
|
+
type: "string",
|
|
520
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
521
|
+
},
|
|
416
522
|
translate: {
|
|
417
523
|
required: false,
|
|
418
524
|
control: "radio",
|
|
419
525
|
type: "string",
|
|
420
|
-
options: ["yes", "no"]
|
|
526
|
+
options: ["yes", "no"],
|
|
527
|
+
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."
|
|
421
528
|
},
|
|
422
529
|
typeof: { required: false, control: "text", type: "string" },
|
|
423
530
|
unselectable: {
|
|
@@ -426,12 +533,22 @@ const propsRadioGroup = {
|
|
|
426
533
|
type: "string",
|
|
427
534
|
options: ["on", "off"]
|
|
428
535
|
},
|
|
429
|
-
value: {
|
|
536
|
+
value: {
|
|
537
|
+
required: false,
|
|
538
|
+
control: "text",
|
|
539
|
+
type: "string",
|
|
540
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
541
|
+
},
|
|
430
542
|
vocab: { required: false, control: "text", type: "string" }
|
|
431
543
|
};
|
|
432
544
|
const propsRadioGroupItem = {
|
|
433
545
|
about: { required: false, control: "text", type: "string" },
|
|
434
|
-
accessKey: {
|
|
546
|
+
accessKey: {
|
|
547
|
+
required: false,
|
|
548
|
+
control: "text",
|
|
549
|
+
type: "string",
|
|
550
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
551
|
+
},
|
|
435
552
|
"aria-activedescendant": {
|
|
436
553
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
437
554
|
required: false,
|
|
@@ -587,7 +704,7 @@ const propsRadioGroupItem = {
|
|
|
587
704
|
type: "string"
|
|
588
705
|
},
|
|
589
706
|
"aria-label": {
|
|
590
|
-
description: "
|
|
707
|
+
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.",
|
|
591
708
|
required: false,
|
|
592
709
|
control: "text",
|
|
593
710
|
type: "string"
|
|
@@ -763,27 +880,112 @@ const propsRadioGroupItem = {
|
|
|
763
880
|
control: "text",
|
|
764
881
|
type: "string"
|
|
765
882
|
},
|
|
766
|
-
autoCapitalize: {
|
|
883
|
+
autoCapitalize: {
|
|
884
|
+
required: false,
|
|
885
|
+
control: "text",
|
|
886
|
+
type: "string",
|
|
887
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
888
|
+
},
|
|
767
889
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
768
|
-
autoFocus: {
|
|
890
|
+
autoFocus: {
|
|
891
|
+
required: false,
|
|
892
|
+
control: "boolean",
|
|
893
|
+
type: "boolean",
|
|
894
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
895
|
+
},
|
|
769
896
|
autoSave: { required: false, control: "text", type: "string" },
|
|
770
|
-
checked: {
|
|
897
|
+
checked: {
|
|
898
|
+
required: false,
|
|
899
|
+
control: "boolean",
|
|
900
|
+
type: "boolean",
|
|
901
|
+
description: "Indicates whether the element should be checked on page load."
|
|
902
|
+
},
|
|
771
903
|
className: { required: false, control: "text", type: "string" },
|
|
772
|
-
color: {
|
|
773
|
-
|
|
774
|
-
|
|
904
|
+
color: {
|
|
905
|
+
required: false,
|
|
906
|
+
control: "color",
|
|
907
|
+
type: "string",
|
|
908
|
+
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."
|
|
909
|
+
},
|
|
910
|
+
content: {
|
|
911
|
+
required: false,
|
|
912
|
+
control: "text",
|
|
913
|
+
type: "string",
|
|
914
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
915
|
+
},
|
|
916
|
+
contextMenu: {
|
|
917
|
+
required: false,
|
|
918
|
+
control: "text",
|
|
919
|
+
type: "string",
|
|
920
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
921
|
+
},
|
|
775
922
|
datatype: { required: false, control: "text", type: "string" },
|
|
776
|
-
dir: {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
923
|
+
dir: {
|
|
924
|
+
required: false,
|
|
925
|
+
control: "text",
|
|
926
|
+
type: "string",
|
|
927
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
928
|
+
},
|
|
929
|
+
disabled: {
|
|
930
|
+
required: false,
|
|
931
|
+
control: "boolean",
|
|
932
|
+
type: "boolean",
|
|
933
|
+
description: "Indicates whether the user can interact with the element."
|
|
934
|
+
},
|
|
935
|
+
draggable: {
|
|
936
|
+
required: false,
|
|
937
|
+
control: "boolean",
|
|
938
|
+
type: "boolean",
|
|
939
|
+
description: "Defines whether the element can be dragged."
|
|
940
|
+
},
|
|
941
|
+
form: {
|
|
942
|
+
required: false,
|
|
943
|
+
control: "text",
|
|
944
|
+
type: "string",
|
|
945
|
+
description: "Indicates the form that is the owner of the element."
|
|
946
|
+
},
|
|
947
|
+
formAction: {
|
|
948
|
+
required: false,
|
|
949
|
+
control: "text",
|
|
950
|
+
type: "string",
|
|
951
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
952
|
+
},
|
|
953
|
+
formEncType: {
|
|
954
|
+
required: false,
|
|
955
|
+
control: "text",
|
|
956
|
+
type: "string",
|
|
957
|
+
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.`
|
|
958
|
+
},
|
|
959
|
+
formMethod: {
|
|
960
|
+
required: false,
|
|
961
|
+
control: "text",
|
|
962
|
+
type: "string",
|
|
963
|
+
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.`
|
|
964
|
+
},
|
|
965
|
+
formNoValidate: {
|
|
966
|
+
required: false,
|
|
967
|
+
control: "boolean",
|
|
968
|
+
type: "boolean",
|
|
969
|
+
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.`
|
|
970
|
+
},
|
|
971
|
+
formTarget: {
|
|
972
|
+
required: false,
|
|
973
|
+
control: "text",
|
|
974
|
+
type: "string",
|
|
975
|
+
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.`
|
|
976
|
+
},
|
|
977
|
+
hidden: {
|
|
978
|
+
required: false,
|
|
979
|
+
control: "boolean",
|
|
980
|
+
type: "boolean",
|
|
981
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
982
|
+
},
|
|
983
|
+
id: {
|
|
984
|
+
required: false,
|
|
985
|
+
control: "text",
|
|
986
|
+
type: "string",
|
|
987
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
988
|
+
},
|
|
787
989
|
inputMode: {
|
|
788
990
|
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",
|
|
789
991
|
required: false,
|
|
@@ -811,21 +1013,56 @@ const propsRadioGroupItem = {
|
|
|
811
1013
|
itemRef: { required: false, control: "text", type: "string" },
|
|
812
1014
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
813
1015
|
itemType: { required: false, control: "text", type: "string" },
|
|
814
|
-
lang: {
|
|
1016
|
+
lang: {
|
|
1017
|
+
required: false,
|
|
1018
|
+
control: "text",
|
|
1019
|
+
type: "string",
|
|
1020
|
+
description: "Defines the language used in the element."
|
|
1021
|
+
},
|
|
815
1022
|
nonce: { required: false, control: "text", type: "string" },
|
|
816
|
-
placeholder: {
|
|
1023
|
+
placeholder: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "text",
|
|
1026
|
+
type: "string",
|
|
1027
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1028
|
+
},
|
|
817
1029
|
prefix: { required: false, control: "text", type: "string" },
|
|
818
1030
|
property: { required: false, control: "text", type: "string" },
|
|
819
1031
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
820
|
-
rel: {
|
|
821
|
-
|
|
1032
|
+
rel: {
|
|
1033
|
+
required: false,
|
|
1034
|
+
control: "text",
|
|
1035
|
+
type: "string",
|
|
1036
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1037
|
+
},
|
|
1038
|
+
required: {
|
|
1039
|
+
required: false,
|
|
1040
|
+
control: "boolean",
|
|
1041
|
+
type: "boolean",
|
|
1042
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
1043
|
+
},
|
|
822
1044
|
resource: { required: false, control: "text", type: "string" },
|
|
823
1045
|
results: { required: false, control: "number", type: "number" },
|
|
824
1046
|
rev: { required: false, control: "text", type: "string" },
|
|
825
|
-
role: {
|
|
1047
|
+
role: {
|
|
1048
|
+
required: false,
|
|
1049
|
+
control: "text",
|
|
1050
|
+
type: "string",
|
|
1051
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1052
|
+
},
|
|
826
1053
|
security: { required: false, control: "text", type: "string" },
|
|
827
|
-
slot: {
|
|
828
|
-
|
|
1054
|
+
slot: {
|
|
1055
|
+
required: false,
|
|
1056
|
+
control: "text",
|
|
1057
|
+
type: "string",
|
|
1058
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1059
|
+
},
|
|
1060
|
+
spellCheck: {
|
|
1061
|
+
required: false,
|
|
1062
|
+
control: "boolean",
|
|
1063
|
+
type: "boolean",
|
|
1064
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1065
|
+
},
|
|
829
1066
|
suppressContentEditableWarning: {
|
|
830
1067
|
required: false,
|
|
831
1068
|
control: "boolean",
|
|
@@ -836,19 +1073,31 @@ const propsRadioGroupItem = {
|
|
|
836
1073
|
control: "boolean",
|
|
837
1074
|
type: "boolean"
|
|
838
1075
|
},
|
|
839
|
-
tabIndex: {
|
|
840
|
-
|
|
1076
|
+
tabIndex: {
|
|
1077
|
+
required: false,
|
|
1078
|
+
control: "number",
|
|
1079
|
+
type: "number",
|
|
1080
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1081
|
+
},
|
|
1082
|
+
title: {
|
|
1083
|
+
required: false,
|
|
1084
|
+
control: "text",
|
|
1085
|
+
type: "string",
|
|
1086
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1087
|
+
},
|
|
841
1088
|
translate: {
|
|
842
1089
|
required: false,
|
|
843
1090
|
control: "radio",
|
|
844
1091
|
type: "string",
|
|
845
|
-
options: ["yes", "no"]
|
|
1092
|
+
options: ["yes", "no"],
|
|
1093
|
+
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."
|
|
846
1094
|
},
|
|
847
1095
|
type: {
|
|
848
1096
|
required: false,
|
|
849
1097
|
control: "radio",
|
|
850
1098
|
type: "string",
|
|
851
|
-
options: ["button", "submit", "reset"]
|
|
1099
|
+
options: ["button", "submit", "reset"],
|
|
1100
|
+
description: "Defines the type of the element."
|
|
852
1101
|
},
|
|
853
1102
|
typeof: { required: false, control: "text", type: "string" },
|
|
854
1103
|
unselectable: {
|
|
@@ -857,12 +1106,22 @@ const propsRadioGroupItem = {
|
|
|
857
1106
|
type: "string",
|
|
858
1107
|
options: ["on", "off"]
|
|
859
1108
|
},
|
|
860
|
-
value: {
|
|
1109
|
+
value: {
|
|
1110
|
+
required: true,
|
|
1111
|
+
control: "text",
|
|
1112
|
+
type: "string",
|
|
1113
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
1114
|
+
},
|
|
861
1115
|
vocab: { required: false, control: "text", type: "string" }
|
|
862
1116
|
};
|
|
863
1117
|
const propsRadioGroupIndicator = {
|
|
864
1118
|
about: { required: false, control: "text", type: "string" },
|
|
865
|
-
accessKey: {
|
|
1119
|
+
accessKey: {
|
|
1120
|
+
required: false,
|
|
1121
|
+
control: "text",
|
|
1122
|
+
type: "string",
|
|
1123
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1124
|
+
},
|
|
866
1125
|
"aria-activedescendant": {
|
|
867
1126
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
868
1127
|
required: false,
|
|
@@ -1018,7 +1277,7 @@ const propsRadioGroupIndicator = {
|
|
|
1018
1277
|
type: "string"
|
|
1019
1278
|
},
|
|
1020
1279
|
"aria-label": {
|
|
1021
|
-
description: "
|
|
1280
|
+
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.",
|
|
1022
1281
|
required: false,
|
|
1023
1282
|
control: "text",
|
|
1024
1283
|
type: "string"
|
|
@@ -1194,19 +1453,64 @@ const propsRadioGroupIndicator = {
|
|
|
1194
1453
|
control: "text",
|
|
1195
1454
|
type: "string"
|
|
1196
1455
|
},
|
|
1197
|
-
autoCapitalize: {
|
|
1456
|
+
autoCapitalize: {
|
|
1457
|
+
required: false,
|
|
1458
|
+
control: "text",
|
|
1459
|
+
type: "string",
|
|
1460
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1461
|
+
},
|
|
1198
1462
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1199
|
-
autoFocus: {
|
|
1463
|
+
autoFocus: {
|
|
1464
|
+
required: false,
|
|
1465
|
+
control: "boolean",
|
|
1466
|
+
type: "boolean",
|
|
1467
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1468
|
+
},
|
|
1200
1469
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1201
1470
|
className: { required: false, control: "text", type: "string" },
|
|
1202
|
-
color: {
|
|
1203
|
-
|
|
1204
|
-
|
|
1471
|
+
color: {
|
|
1472
|
+
required: false,
|
|
1473
|
+
control: "color",
|
|
1474
|
+
type: "string",
|
|
1475
|
+
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."
|
|
1476
|
+
},
|
|
1477
|
+
content: {
|
|
1478
|
+
required: false,
|
|
1479
|
+
control: "text",
|
|
1480
|
+
type: "string",
|
|
1481
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1482
|
+
},
|
|
1483
|
+
contextMenu: {
|
|
1484
|
+
required: false,
|
|
1485
|
+
control: "text",
|
|
1486
|
+
type: "string",
|
|
1487
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1488
|
+
},
|
|
1205
1489
|
datatype: { required: false, control: "text", type: "string" },
|
|
1206
|
-
dir: {
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1490
|
+
dir: {
|
|
1491
|
+
required: false,
|
|
1492
|
+
control: "text",
|
|
1493
|
+
type: "string",
|
|
1494
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1495
|
+
},
|
|
1496
|
+
draggable: {
|
|
1497
|
+
required: false,
|
|
1498
|
+
control: "boolean",
|
|
1499
|
+
type: "boolean",
|
|
1500
|
+
description: "Defines whether the element can be dragged."
|
|
1501
|
+
},
|
|
1502
|
+
hidden: {
|
|
1503
|
+
required: false,
|
|
1504
|
+
control: "boolean",
|
|
1505
|
+
type: "boolean",
|
|
1506
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1507
|
+
},
|
|
1508
|
+
id: {
|
|
1509
|
+
required: false,
|
|
1510
|
+
control: "text",
|
|
1511
|
+
type: "string",
|
|
1512
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1513
|
+
},
|
|
1210
1514
|
inputMode: {
|
|
1211
1515
|
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",
|
|
1212
1516
|
required: false,
|
|
@@ -1234,20 +1538,50 @@ const propsRadioGroupIndicator = {
|
|
|
1234
1538
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1235
1539
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1236
1540
|
itemType: { required: false, control: "text", type: "string" },
|
|
1237
|
-
lang: {
|
|
1541
|
+
lang: {
|
|
1542
|
+
required: false,
|
|
1543
|
+
control: "text",
|
|
1544
|
+
type: "string",
|
|
1545
|
+
description: "Defines the language used in the element."
|
|
1546
|
+
},
|
|
1238
1547
|
nonce: { required: false, control: "text", type: "string" },
|
|
1239
|
-
placeholder: {
|
|
1548
|
+
placeholder: {
|
|
1549
|
+
required: false,
|
|
1550
|
+
control: "text",
|
|
1551
|
+
type: "string",
|
|
1552
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1553
|
+
},
|
|
1240
1554
|
prefix: { required: false, control: "text", type: "string" },
|
|
1241
1555
|
property: { required: false, control: "text", type: "string" },
|
|
1242
1556
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1243
|
-
rel: {
|
|
1557
|
+
rel: {
|
|
1558
|
+
required: false,
|
|
1559
|
+
control: "text",
|
|
1560
|
+
type: "string",
|
|
1561
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1562
|
+
},
|
|
1244
1563
|
resource: { required: false, control: "text", type: "string" },
|
|
1245
1564
|
results: { required: false, control: "number", type: "number" },
|
|
1246
1565
|
rev: { required: false, control: "text", type: "string" },
|
|
1247
|
-
role: {
|
|
1566
|
+
role: {
|
|
1567
|
+
required: false,
|
|
1568
|
+
control: "text",
|
|
1569
|
+
type: "string",
|
|
1570
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1571
|
+
},
|
|
1248
1572
|
security: { required: false, control: "text", type: "string" },
|
|
1249
|
-
slot: {
|
|
1250
|
-
|
|
1573
|
+
slot: {
|
|
1574
|
+
required: false,
|
|
1575
|
+
control: "text",
|
|
1576
|
+
type: "string",
|
|
1577
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1578
|
+
},
|
|
1579
|
+
spellCheck: {
|
|
1580
|
+
required: false,
|
|
1581
|
+
control: "boolean",
|
|
1582
|
+
type: "boolean",
|
|
1583
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1584
|
+
},
|
|
1251
1585
|
suppressContentEditableWarning: {
|
|
1252
1586
|
required: false,
|
|
1253
1587
|
control: "boolean",
|
|
@@ -1258,13 +1592,24 @@ const propsRadioGroupIndicator = {
|
|
|
1258
1592
|
control: "boolean",
|
|
1259
1593
|
type: "boolean"
|
|
1260
1594
|
},
|
|
1261
|
-
tabIndex: {
|
|
1262
|
-
|
|
1595
|
+
tabIndex: {
|
|
1596
|
+
required: false,
|
|
1597
|
+
control: "number",
|
|
1598
|
+
type: "number",
|
|
1599
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1600
|
+
},
|
|
1601
|
+
title: {
|
|
1602
|
+
required: false,
|
|
1603
|
+
control: "text",
|
|
1604
|
+
type: "string",
|
|
1605
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1606
|
+
},
|
|
1263
1607
|
translate: {
|
|
1264
1608
|
required: false,
|
|
1265
1609
|
control: "radio",
|
|
1266
1610
|
type: "string",
|
|
1267
|
-
options: ["yes", "no"]
|
|
1611
|
+
options: ["yes", "no"],
|
|
1612
|
+
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."
|
|
1268
1613
|
},
|
|
1269
1614
|
typeof: { required: false, control: "text", type: "string" },
|
|
1270
1615
|
unselectable: {
|