@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
|
@@ -24,7 +24,12 @@ __export(switch_props_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(switch_props_exports);
|
|
25
25
|
const propsSwitch = {
|
|
26
26
|
about: { required: false, control: "text", type: "string" },
|
|
27
|
-
accessKey: {
|
|
27
|
+
accessKey: {
|
|
28
|
+
required: false,
|
|
29
|
+
control: "text",
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
32
|
+
},
|
|
28
33
|
"aria-activedescendant": {
|
|
29
34
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
30
35
|
required: false,
|
|
@@ -180,7 +185,7 @@ const propsSwitch = {
|
|
|
180
185
|
type: "string"
|
|
181
186
|
},
|
|
182
187
|
"aria-label": {
|
|
183
|
-
description: "
|
|
188
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
184
189
|
required: false,
|
|
185
190
|
control: "text",
|
|
186
191
|
type: "string"
|
|
@@ -356,27 +361,112 @@ const propsSwitch = {
|
|
|
356
361
|
control: "text",
|
|
357
362
|
type: "string"
|
|
358
363
|
},
|
|
359
|
-
autoCapitalize: {
|
|
364
|
+
autoCapitalize: {
|
|
365
|
+
required: false,
|
|
366
|
+
control: "text",
|
|
367
|
+
type: "string",
|
|
368
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
369
|
+
},
|
|
360
370
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
361
|
-
autoFocus: {
|
|
371
|
+
autoFocus: {
|
|
372
|
+
required: false,
|
|
373
|
+
control: "boolean",
|
|
374
|
+
type: "boolean",
|
|
375
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
376
|
+
},
|
|
362
377
|
autoSave: { required: false, control: "text", type: "string" },
|
|
363
|
-
checked: {
|
|
378
|
+
checked: {
|
|
379
|
+
required: false,
|
|
380
|
+
control: "boolean",
|
|
381
|
+
type: "boolean",
|
|
382
|
+
description: "Indicates whether the element should be checked on page load."
|
|
383
|
+
},
|
|
364
384
|
className: { required: false, control: "text", type: "string" },
|
|
365
|
-
color: {
|
|
366
|
-
|
|
367
|
-
|
|
385
|
+
color: {
|
|
386
|
+
required: false,
|
|
387
|
+
control: "color",
|
|
388
|
+
type: "string",
|
|
389
|
+
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."
|
|
390
|
+
},
|
|
391
|
+
content: {
|
|
392
|
+
required: false,
|
|
393
|
+
control: "text",
|
|
394
|
+
type: "string",
|
|
395
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
396
|
+
},
|
|
397
|
+
contextMenu: {
|
|
398
|
+
required: false,
|
|
399
|
+
control: "text",
|
|
400
|
+
type: "string",
|
|
401
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
402
|
+
},
|
|
368
403
|
datatype: { required: false, control: "text", type: "string" },
|
|
369
|
-
dir: {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
404
|
+
dir: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "text",
|
|
407
|
+
type: "string",
|
|
408
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
409
|
+
},
|
|
410
|
+
disabled: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "boolean",
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "Indicates whether the user can interact with the element."
|
|
415
|
+
},
|
|
416
|
+
draggable: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "boolean",
|
|
419
|
+
type: "boolean",
|
|
420
|
+
description: "Defines whether the element can be dragged."
|
|
421
|
+
},
|
|
422
|
+
form: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Indicates the form that is the owner of the element."
|
|
427
|
+
},
|
|
428
|
+
formAction: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "text",
|
|
431
|
+
type: "string",
|
|
432
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
433
|
+
},
|
|
434
|
+
formEncType: {
|
|
435
|
+
required: false,
|
|
436
|
+
control: "text",
|
|
437
|
+
type: "string",
|
|
438
|
+
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.`
|
|
439
|
+
},
|
|
440
|
+
formMethod: {
|
|
441
|
+
required: false,
|
|
442
|
+
control: "text",
|
|
443
|
+
type: "string",
|
|
444
|
+
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.`
|
|
445
|
+
},
|
|
446
|
+
formNoValidate: {
|
|
447
|
+
required: false,
|
|
448
|
+
control: "boolean",
|
|
449
|
+
type: "boolean",
|
|
450
|
+
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.`
|
|
451
|
+
},
|
|
452
|
+
formTarget: {
|
|
453
|
+
required: false,
|
|
454
|
+
control: "text",
|
|
455
|
+
type: "string",
|
|
456
|
+
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.`
|
|
457
|
+
},
|
|
458
|
+
hidden: {
|
|
459
|
+
required: false,
|
|
460
|
+
control: "boolean",
|
|
461
|
+
type: "boolean",
|
|
462
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
463
|
+
},
|
|
464
|
+
id: {
|
|
465
|
+
required: false,
|
|
466
|
+
control: "text",
|
|
467
|
+
type: "string",
|
|
468
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
469
|
+
},
|
|
380
470
|
inputMode: {
|
|
381
471
|
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",
|
|
382
472
|
required: false,
|
|
@@ -404,22 +494,62 @@ const propsSwitch = {
|
|
|
404
494
|
itemRef: { required: false, control: "text", type: "string" },
|
|
405
495
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
406
496
|
itemType: { required: false, control: "text", type: "string" },
|
|
407
|
-
lang: {
|
|
408
|
-
|
|
497
|
+
lang: {
|
|
498
|
+
required: false,
|
|
499
|
+
control: "text",
|
|
500
|
+
type: "string",
|
|
501
|
+
description: "Defines the language used in the element."
|
|
502
|
+
},
|
|
503
|
+
name: {
|
|
504
|
+
required: false,
|
|
505
|
+
control: "text",
|
|
506
|
+
type: "string",
|
|
507
|
+
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)."
|
|
508
|
+
},
|
|
409
509
|
nonce: { required: false, control: "text", type: "string" },
|
|
410
|
-
placeholder: {
|
|
510
|
+
placeholder: {
|
|
511
|
+
required: false,
|
|
512
|
+
control: "text",
|
|
513
|
+
type: "string",
|
|
514
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
515
|
+
},
|
|
411
516
|
prefix: { required: false, control: "text", type: "string" },
|
|
412
517
|
property: { required: false, control: "text", type: "string" },
|
|
413
518
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
414
|
-
rel: {
|
|
415
|
-
|
|
519
|
+
rel: {
|
|
520
|
+
required: false,
|
|
521
|
+
control: "text",
|
|
522
|
+
type: "string",
|
|
523
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
524
|
+
},
|
|
525
|
+
required: {
|
|
526
|
+
required: false,
|
|
527
|
+
control: "boolean",
|
|
528
|
+
type: "boolean",
|
|
529
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
530
|
+
},
|
|
416
531
|
resource: { required: false, control: "text", type: "string" },
|
|
417
532
|
results: { required: false, control: "number", type: "number" },
|
|
418
533
|
rev: { required: false, control: "text", type: "string" },
|
|
419
|
-
role: {
|
|
534
|
+
role: {
|
|
535
|
+
required: false,
|
|
536
|
+
control: "text",
|
|
537
|
+
type: "string",
|
|
538
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
539
|
+
},
|
|
420
540
|
security: { required: false, control: "text", type: "string" },
|
|
421
|
-
slot: {
|
|
422
|
-
|
|
541
|
+
slot: {
|
|
542
|
+
required: false,
|
|
543
|
+
control: "text",
|
|
544
|
+
type: "string",
|
|
545
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
546
|
+
},
|
|
547
|
+
spellCheck: {
|
|
548
|
+
required: false,
|
|
549
|
+
control: "boolean",
|
|
550
|
+
type: "boolean",
|
|
551
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
552
|
+
},
|
|
423
553
|
suppressContentEditableWarning: {
|
|
424
554
|
required: false,
|
|
425
555
|
control: "boolean",
|
|
@@ -430,19 +560,31 @@ const propsSwitch = {
|
|
|
430
560
|
control: "boolean",
|
|
431
561
|
type: "boolean"
|
|
432
562
|
},
|
|
433
|
-
tabIndex: {
|
|
434
|
-
|
|
563
|
+
tabIndex: {
|
|
564
|
+
required: false,
|
|
565
|
+
control: "number",
|
|
566
|
+
type: "number",
|
|
567
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
568
|
+
},
|
|
569
|
+
title: {
|
|
570
|
+
required: false,
|
|
571
|
+
control: "text",
|
|
572
|
+
type: "string",
|
|
573
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
574
|
+
},
|
|
435
575
|
translate: {
|
|
436
576
|
required: false,
|
|
437
577
|
control: "radio",
|
|
438
578
|
type: "string",
|
|
439
|
-
options: ["yes", "no"]
|
|
579
|
+
options: ["yes", "no"],
|
|
580
|
+
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."
|
|
440
581
|
},
|
|
441
582
|
type: {
|
|
442
583
|
required: false,
|
|
443
584
|
control: "radio",
|
|
444
585
|
type: "string",
|
|
445
|
-
options: ["button", "submit", "reset"]
|
|
586
|
+
options: ["button", "submit", "reset"],
|
|
587
|
+
description: "Defines the type of the element."
|
|
446
588
|
},
|
|
447
589
|
typeof: { required: false, control: "text", type: "string" },
|
|
448
590
|
unselectable: {
|
|
@@ -455,7 +597,12 @@ const propsSwitch = {
|
|
|
455
597
|
};
|
|
456
598
|
const propsSwitchThumb = {
|
|
457
599
|
about: { required: false, control: "text", type: "string" },
|
|
458
|
-
accessKey: {
|
|
600
|
+
accessKey: {
|
|
601
|
+
required: false,
|
|
602
|
+
control: "text",
|
|
603
|
+
type: "string",
|
|
604
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
605
|
+
},
|
|
459
606
|
"aria-activedescendant": {
|
|
460
607
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
461
608
|
required: false,
|
|
@@ -611,7 +758,7 @@ const propsSwitchThumb = {
|
|
|
611
758
|
type: "string"
|
|
612
759
|
},
|
|
613
760
|
"aria-label": {
|
|
614
|
-
description: "
|
|
761
|
+
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.",
|
|
615
762
|
required: false,
|
|
616
763
|
control: "text",
|
|
617
764
|
type: "string"
|
|
@@ -787,19 +934,64 @@ const propsSwitchThumb = {
|
|
|
787
934
|
control: "text",
|
|
788
935
|
type: "string"
|
|
789
936
|
},
|
|
790
|
-
autoCapitalize: {
|
|
937
|
+
autoCapitalize: {
|
|
938
|
+
required: false,
|
|
939
|
+
control: "text",
|
|
940
|
+
type: "string",
|
|
941
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
942
|
+
},
|
|
791
943
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
792
|
-
autoFocus: {
|
|
944
|
+
autoFocus: {
|
|
945
|
+
required: false,
|
|
946
|
+
control: "boolean",
|
|
947
|
+
type: "boolean",
|
|
948
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
949
|
+
},
|
|
793
950
|
autoSave: { required: false, control: "text", type: "string" },
|
|
794
951
|
className: { required: false, control: "text", type: "string" },
|
|
795
|
-
color: {
|
|
796
|
-
|
|
797
|
-
|
|
952
|
+
color: {
|
|
953
|
+
required: false,
|
|
954
|
+
control: "color",
|
|
955
|
+
type: "string",
|
|
956
|
+
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."
|
|
957
|
+
},
|
|
958
|
+
content: {
|
|
959
|
+
required: false,
|
|
960
|
+
control: "text",
|
|
961
|
+
type: "string",
|
|
962
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
963
|
+
},
|
|
964
|
+
contextMenu: {
|
|
965
|
+
required: false,
|
|
966
|
+
control: "text",
|
|
967
|
+
type: "string",
|
|
968
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
969
|
+
},
|
|
798
970
|
datatype: { required: false, control: "text", type: "string" },
|
|
799
|
-
dir: {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
971
|
+
dir: {
|
|
972
|
+
required: false,
|
|
973
|
+
control: "text",
|
|
974
|
+
type: "string",
|
|
975
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
976
|
+
},
|
|
977
|
+
draggable: {
|
|
978
|
+
required: false,
|
|
979
|
+
control: "boolean",
|
|
980
|
+
type: "boolean",
|
|
981
|
+
description: "Defines whether the element can be dragged."
|
|
982
|
+
},
|
|
983
|
+
hidden: {
|
|
984
|
+
required: false,
|
|
985
|
+
control: "boolean",
|
|
986
|
+
type: "boolean",
|
|
987
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
988
|
+
},
|
|
989
|
+
id: {
|
|
990
|
+
required: false,
|
|
991
|
+
control: "text",
|
|
992
|
+
type: "string",
|
|
993
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
994
|
+
},
|
|
803
995
|
inputMode: {
|
|
804
996
|
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",
|
|
805
997
|
required: false,
|
|
@@ -827,20 +1019,50 @@ const propsSwitchThumb = {
|
|
|
827
1019
|
itemRef: { required: false, control: "text", type: "string" },
|
|
828
1020
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
829
1021
|
itemType: { required: false, control: "text", type: "string" },
|
|
830
|
-
lang: {
|
|
1022
|
+
lang: {
|
|
1023
|
+
required: false,
|
|
1024
|
+
control: "text",
|
|
1025
|
+
type: "string",
|
|
1026
|
+
description: "Defines the language used in the element."
|
|
1027
|
+
},
|
|
831
1028
|
nonce: { required: false, control: "text", type: "string" },
|
|
832
|
-
placeholder: {
|
|
1029
|
+
placeholder: {
|
|
1030
|
+
required: false,
|
|
1031
|
+
control: "text",
|
|
1032
|
+
type: "string",
|
|
1033
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1034
|
+
},
|
|
833
1035
|
prefix: { required: false, control: "text", type: "string" },
|
|
834
1036
|
property: { required: false, control: "text", type: "string" },
|
|
835
1037
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
836
|
-
rel: {
|
|
1038
|
+
rel: {
|
|
1039
|
+
required: false,
|
|
1040
|
+
control: "text",
|
|
1041
|
+
type: "string",
|
|
1042
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1043
|
+
},
|
|
837
1044
|
resource: { required: false, control: "text", type: "string" },
|
|
838
1045
|
results: { required: false, control: "number", type: "number" },
|
|
839
1046
|
rev: { required: false, control: "text", type: "string" },
|
|
840
|
-
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
|
+
},
|
|
841
1053
|
security: { required: false, control: "text", type: "string" },
|
|
842
|
-
slot: {
|
|
843
|
-
|
|
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
|
+
},
|
|
844
1066
|
suppressContentEditableWarning: {
|
|
845
1067
|
required: false,
|
|
846
1068
|
control: "boolean",
|
|
@@ -851,13 +1073,24 @@ const propsSwitchThumb = {
|
|
|
851
1073
|
control: "boolean",
|
|
852
1074
|
type: "boolean"
|
|
853
1075
|
},
|
|
854
|
-
tabIndex: {
|
|
855
|
-
|
|
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
|
+
},
|
|
856
1088
|
translate: {
|
|
857
1089
|
required: false,
|
|
858
1090
|
control: "radio",
|
|
859
1091
|
type: "string",
|
|
860
|
-
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."
|
|
861
1094
|
},
|
|
862
1095
|
typeof: { required: false, control: "text", type: "string" },
|
|
863
1096
|
unselectable: {
|