@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 propsCheckbox = {
|
|
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 propsCheckbox = {
|
|
|
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,27 +337,112 @@ const propsCheckbox = {
|
|
|
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
|
-
checked: {
|
|
354
|
+
checked: {
|
|
355
|
+
required: true,
|
|
356
|
+
control: "boolean",
|
|
357
|
+
type: "boolean",
|
|
358
|
+
description: "Indicates whether the element should be checked on page load."
|
|
359
|
+
},
|
|
340
360
|
className: { required: false, control: "text", type: "string" },
|
|
341
|
-
color: {
|
|
342
|
-
|
|
343
|
-
|
|
361
|
+
color: {
|
|
362
|
+
required: false,
|
|
363
|
+
control: "color",
|
|
364
|
+
type: "string",
|
|
365
|
+
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."
|
|
366
|
+
},
|
|
367
|
+
content: {
|
|
368
|
+
required: false,
|
|
369
|
+
control: "text",
|
|
370
|
+
type: "string",
|
|
371
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
372
|
+
},
|
|
373
|
+
contextMenu: {
|
|
374
|
+
required: false,
|
|
375
|
+
control: "text",
|
|
376
|
+
type: "string",
|
|
377
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
378
|
+
},
|
|
344
379
|
datatype: { required: false, control: "text", type: "string" },
|
|
345
|
-
dir: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
380
|
+
dir: {
|
|
381
|
+
required: false,
|
|
382
|
+
control: "text",
|
|
383
|
+
type: "string",
|
|
384
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
385
|
+
},
|
|
386
|
+
disabled: {
|
|
387
|
+
required: false,
|
|
388
|
+
control: "boolean",
|
|
389
|
+
type: "boolean",
|
|
390
|
+
description: "Indicates whether the user can interact with the element."
|
|
391
|
+
},
|
|
392
|
+
draggable: {
|
|
393
|
+
required: false,
|
|
394
|
+
control: "boolean",
|
|
395
|
+
type: "boolean",
|
|
396
|
+
description: "Defines whether the element can be dragged."
|
|
397
|
+
},
|
|
398
|
+
form: {
|
|
399
|
+
required: false,
|
|
400
|
+
control: "text",
|
|
401
|
+
type: "string",
|
|
402
|
+
description: "Indicates the form that is the owner of the element."
|
|
403
|
+
},
|
|
404
|
+
formAction: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "text",
|
|
407
|
+
type: "string",
|
|
408
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
409
|
+
},
|
|
410
|
+
formEncType: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "text",
|
|
413
|
+
type: "string",
|
|
414
|
+
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.`
|
|
415
|
+
},
|
|
416
|
+
formMethod: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "text",
|
|
419
|
+
type: "string",
|
|
420
|
+
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.`
|
|
421
|
+
},
|
|
422
|
+
formNoValidate: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "boolean",
|
|
425
|
+
type: "boolean",
|
|
426
|
+
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.`
|
|
427
|
+
},
|
|
428
|
+
formTarget: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "text",
|
|
431
|
+
type: "string",
|
|
432
|
+
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.`
|
|
433
|
+
},
|
|
434
|
+
hidden: {
|
|
435
|
+
required: false,
|
|
436
|
+
control: "boolean",
|
|
437
|
+
type: "boolean",
|
|
438
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
439
|
+
},
|
|
440
|
+
id: {
|
|
441
|
+
required: false,
|
|
442
|
+
control: "text",
|
|
443
|
+
type: "string",
|
|
444
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
445
|
+
},
|
|
356
446
|
inputMode: {
|
|
357
447
|
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",
|
|
358
448
|
required: false,
|
|
@@ -380,22 +470,62 @@ const propsCheckbox = {
|
|
|
380
470
|
itemRef: { required: false, control: "text", type: "string" },
|
|
381
471
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
382
472
|
itemType: { required: false, control: "text", type: "string" },
|
|
383
|
-
lang: {
|
|
384
|
-
|
|
473
|
+
lang: {
|
|
474
|
+
required: false,
|
|
475
|
+
control: "text",
|
|
476
|
+
type: "string",
|
|
477
|
+
description: "Defines the language used in the element."
|
|
478
|
+
},
|
|
479
|
+
name: {
|
|
480
|
+
required: false,
|
|
481
|
+
control: "text",
|
|
482
|
+
type: "string",
|
|
483
|
+
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)."
|
|
484
|
+
},
|
|
385
485
|
nonce: { required: false, control: "text", type: "string" },
|
|
386
|
-
placeholder: {
|
|
486
|
+
placeholder: {
|
|
487
|
+
required: false,
|
|
488
|
+
control: "text",
|
|
489
|
+
type: "string",
|
|
490
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
491
|
+
},
|
|
387
492
|
prefix: { required: false, control: "text", type: "string" },
|
|
388
493
|
property: { required: false, control: "text", type: "string" },
|
|
389
494
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
390
|
-
rel: {
|
|
391
|
-
|
|
495
|
+
rel: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
500
|
+
},
|
|
501
|
+
required: {
|
|
502
|
+
required: false,
|
|
503
|
+
control: "boolean",
|
|
504
|
+
type: "boolean",
|
|
505
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
506
|
+
},
|
|
392
507
|
resource: { required: false, control: "text", type: "string" },
|
|
393
508
|
results: { required: false, control: "number", type: "number" },
|
|
394
509
|
rev: { required: false, control: "text", type: "string" },
|
|
395
|
-
role: {
|
|
510
|
+
role: {
|
|
511
|
+
required: false,
|
|
512
|
+
control: "text",
|
|
513
|
+
type: "string",
|
|
514
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
515
|
+
},
|
|
396
516
|
security: { required: false, control: "text", type: "string" },
|
|
397
|
-
slot: {
|
|
398
|
-
|
|
517
|
+
slot: {
|
|
518
|
+
required: false,
|
|
519
|
+
control: "text",
|
|
520
|
+
type: "string",
|
|
521
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
522
|
+
},
|
|
523
|
+
spellCheck: {
|
|
524
|
+
required: false,
|
|
525
|
+
control: "boolean",
|
|
526
|
+
type: "boolean",
|
|
527
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
528
|
+
},
|
|
399
529
|
suppressContentEditableWarning: {
|
|
400
530
|
required: false,
|
|
401
531
|
control: "boolean",
|
|
@@ -406,19 +536,31 @@ const propsCheckbox = {
|
|
|
406
536
|
control: "boolean",
|
|
407
537
|
type: "boolean"
|
|
408
538
|
},
|
|
409
|
-
tabIndex: {
|
|
410
|
-
|
|
539
|
+
tabIndex: {
|
|
540
|
+
required: false,
|
|
541
|
+
control: "number",
|
|
542
|
+
type: "number",
|
|
543
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
544
|
+
},
|
|
545
|
+
title: {
|
|
546
|
+
required: false,
|
|
547
|
+
control: "text",
|
|
548
|
+
type: "string",
|
|
549
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
550
|
+
},
|
|
411
551
|
translate: {
|
|
412
552
|
required: false,
|
|
413
553
|
control: "radio",
|
|
414
554
|
type: "string",
|
|
415
|
-
options: ["yes", "no"]
|
|
555
|
+
options: ["yes", "no"],
|
|
556
|
+
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."
|
|
416
557
|
},
|
|
417
558
|
type: {
|
|
418
559
|
required: false,
|
|
419
560
|
control: "radio",
|
|
420
561
|
type: "string",
|
|
421
|
-
options: ["button", "submit", "reset"]
|
|
562
|
+
options: ["button", "submit", "reset"],
|
|
563
|
+
description: "Defines the type of the element."
|
|
422
564
|
},
|
|
423
565
|
typeof: { required: false, control: "text", type: "string" },
|
|
424
566
|
unselectable: {
|
|
@@ -431,7 +573,12 @@ const propsCheckbox = {
|
|
|
431
573
|
};
|
|
432
574
|
const propsCheckboxIndicator = {
|
|
433
575
|
about: { required: false, control: "text", type: "string" },
|
|
434
|
-
accessKey: {
|
|
576
|
+
accessKey: {
|
|
577
|
+
required: false,
|
|
578
|
+
control: "text",
|
|
579
|
+
type: "string",
|
|
580
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
581
|
+
},
|
|
435
582
|
"aria-activedescendant": {
|
|
436
583
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
437
584
|
required: false,
|
|
@@ -587,7 +734,7 @@ const propsCheckboxIndicator = {
|
|
|
587
734
|
type: "string"
|
|
588
735
|
},
|
|
589
736
|
"aria-label": {
|
|
590
|
-
description: "
|
|
737
|
+
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
738
|
required: false,
|
|
592
739
|
control: "text",
|
|
593
740
|
type: "string"
|
|
@@ -763,19 +910,64 @@ const propsCheckboxIndicator = {
|
|
|
763
910
|
control: "text",
|
|
764
911
|
type: "string"
|
|
765
912
|
},
|
|
766
|
-
autoCapitalize: {
|
|
913
|
+
autoCapitalize: {
|
|
914
|
+
required: false,
|
|
915
|
+
control: "text",
|
|
916
|
+
type: "string",
|
|
917
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
918
|
+
},
|
|
767
919
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
768
|
-
autoFocus: {
|
|
920
|
+
autoFocus: {
|
|
921
|
+
required: false,
|
|
922
|
+
control: "boolean",
|
|
923
|
+
type: "boolean",
|
|
924
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
925
|
+
},
|
|
769
926
|
autoSave: { required: false, control: "text", type: "string" },
|
|
770
927
|
className: { required: false, control: "text", type: "string" },
|
|
771
|
-
color: {
|
|
772
|
-
|
|
773
|
-
|
|
928
|
+
color: {
|
|
929
|
+
required: false,
|
|
930
|
+
control: "color",
|
|
931
|
+
type: "string",
|
|
932
|
+
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."
|
|
933
|
+
},
|
|
934
|
+
content: {
|
|
935
|
+
required: false,
|
|
936
|
+
control: "text",
|
|
937
|
+
type: "string",
|
|
938
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
939
|
+
},
|
|
940
|
+
contextMenu: {
|
|
941
|
+
required: false,
|
|
942
|
+
control: "text",
|
|
943
|
+
type: "string",
|
|
944
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
945
|
+
},
|
|
774
946
|
datatype: { required: false, control: "text", type: "string" },
|
|
775
|
-
dir: {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
947
|
+
dir: {
|
|
948
|
+
required: false,
|
|
949
|
+
control: "text",
|
|
950
|
+
type: "string",
|
|
951
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
952
|
+
},
|
|
953
|
+
draggable: {
|
|
954
|
+
required: false,
|
|
955
|
+
control: "boolean",
|
|
956
|
+
type: "boolean",
|
|
957
|
+
description: "Defines whether the element can be dragged."
|
|
958
|
+
},
|
|
959
|
+
hidden: {
|
|
960
|
+
required: false,
|
|
961
|
+
control: "boolean",
|
|
962
|
+
type: "boolean",
|
|
963
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
964
|
+
},
|
|
965
|
+
id: {
|
|
966
|
+
required: false,
|
|
967
|
+
control: "text",
|
|
968
|
+
type: "string",
|
|
969
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
970
|
+
},
|
|
779
971
|
inputMode: {
|
|
780
972
|
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",
|
|
781
973
|
required: false,
|
|
@@ -803,20 +995,50 @@ const propsCheckboxIndicator = {
|
|
|
803
995
|
itemRef: { required: false, control: "text", type: "string" },
|
|
804
996
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
805
997
|
itemType: { required: false, control: "text", type: "string" },
|
|
806
|
-
lang: {
|
|
998
|
+
lang: {
|
|
999
|
+
required: false,
|
|
1000
|
+
control: "text",
|
|
1001
|
+
type: "string",
|
|
1002
|
+
description: "Defines the language used in the element."
|
|
1003
|
+
},
|
|
807
1004
|
nonce: { required: false, control: "text", type: "string" },
|
|
808
|
-
placeholder: {
|
|
1005
|
+
placeholder: {
|
|
1006
|
+
required: false,
|
|
1007
|
+
control: "text",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1010
|
+
},
|
|
809
1011
|
prefix: { required: false, control: "text", type: "string" },
|
|
810
1012
|
property: { required: false, control: "text", type: "string" },
|
|
811
1013
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
812
|
-
rel: {
|
|
1014
|
+
rel: {
|
|
1015
|
+
required: false,
|
|
1016
|
+
control: "text",
|
|
1017
|
+
type: "string",
|
|
1018
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1019
|
+
},
|
|
813
1020
|
resource: { required: false, control: "text", type: "string" },
|
|
814
1021
|
results: { required: false, control: "number", type: "number" },
|
|
815
1022
|
rev: { required: false, control: "text", type: "string" },
|
|
816
|
-
role: {
|
|
1023
|
+
role: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "text",
|
|
1026
|
+
type: "string",
|
|
1027
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1028
|
+
},
|
|
817
1029
|
security: { required: false, control: "text", type: "string" },
|
|
818
|
-
slot: {
|
|
819
|
-
|
|
1030
|
+
slot: {
|
|
1031
|
+
required: false,
|
|
1032
|
+
control: "text",
|
|
1033
|
+
type: "string",
|
|
1034
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1035
|
+
},
|
|
1036
|
+
spellCheck: {
|
|
1037
|
+
required: false,
|
|
1038
|
+
control: "boolean",
|
|
1039
|
+
type: "boolean",
|
|
1040
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1041
|
+
},
|
|
820
1042
|
suppressContentEditableWarning: {
|
|
821
1043
|
required: false,
|
|
822
1044
|
control: "boolean",
|
|
@@ -827,13 +1049,24 @@ const propsCheckboxIndicator = {
|
|
|
827
1049
|
control: "boolean",
|
|
828
1050
|
type: "boolean"
|
|
829
1051
|
},
|
|
830
|
-
tabIndex: {
|
|
831
|
-
|
|
1052
|
+
tabIndex: {
|
|
1053
|
+
required: false,
|
|
1054
|
+
control: "number",
|
|
1055
|
+
type: "number",
|
|
1056
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1057
|
+
},
|
|
1058
|
+
title: {
|
|
1059
|
+
required: false,
|
|
1060
|
+
control: "text",
|
|
1061
|
+
type: "string",
|
|
1062
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1063
|
+
},
|
|
832
1064
|
translate: {
|
|
833
1065
|
required: false,
|
|
834
1066
|
control: "radio",
|
|
835
1067
|
type: "string",
|
|
836
|
-
options: ["yes", "no"]
|
|
1068
|
+
options: ["yes", "no"],
|
|
1069
|
+
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."
|
|
837
1070
|
},
|
|
838
1071
|
typeof: { required: false, control: "text", type: "string" },
|
|
839
1072
|
unselectable: {
|