@webstudio-is/sdk-components-react 0.88.0 → 0.90.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__/blockquote.props.js +117 -21
- package/lib/__generated__/body.props.js +111 -20
- package/lib/__generated__/bold.props.js +111 -20
- package/lib/__generated__/box.props.js +112 -20
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +264 -47
- package/lib/__generated__/code-text.props.js +111 -20
- package/lib/__generated__/form.props.js +159 -28
- package/lib/__generated__/heading.props.js +112 -20
- package/lib/__generated__/image.props.js +149 -29
- package/lib/__generated__/input.props.js +266 -48
- package/lib/__generated__/italic.props.js +111 -20
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/link.props.js +145 -27
- package/lib/__generated__/list-item.props.js +111 -20
- package/lib/__generated__/list.props.js +126 -23
- package/lib/__generated__/paragraph.props.js +111 -20
- package/lib/__generated__/radio-button.props.js +264 -47
- package/lib/__generated__/rich-text-link.props.js +145 -27
- package/lib/__generated__/separator.props.js +111 -20
- package/lib/__generated__/span.props.js +111 -20
- package/lib/__generated__/subscript.props.js +111 -20
- package/lib/__generated__/superscript.props.js +111 -20
- package/lib/__generated__/text.props.js +112 -20
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/vimeo-play-button.props.js +161 -29
- package/lib/__generated__/vimeo-preview-image.props.js +149 -29
- package/lib/__generated__/vimeo-spinner.props.js +111 -20
- package/lib/__generated__/vimeo.props.js +112 -21
- package/lib/blockquote.ws.js +1 -0
- package/lib/box.ws.js +1 -0
- package/lib/button.ws.js +1 -0
- package/lib/checkbox.ws.js +1 -0
- package/lib/cjs/__generated__/blockquote.props.js +117 -21
- package/lib/cjs/__generated__/body.props.js +111 -20
- package/lib/cjs/__generated__/bold.props.js +111 -20
- package/lib/cjs/__generated__/box.props.js +112 -20
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +264 -47
- package/lib/cjs/__generated__/code-text.props.js +111 -20
- package/lib/cjs/__generated__/form.props.js +159 -28
- package/lib/cjs/__generated__/heading.props.js +112 -20
- package/lib/cjs/__generated__/image.props.js +149 -29
- package/lib/cjs/__generated__/input.props.js +266 -48
- package/lib/cjs/__generated__/italic.props.js +111 -20
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/link.props.js +145 -27
- package/lib/cjs/__generated__/list-item.props.js +111 -20
- package/lib/cjs/__generated__/list.props.js +126 -23
- package/lib/cjs/__generated__/paragraph.props.js +111 -20
- package/lib/cjs/__generated__/radio-button.props.js +264 -47
- package/lib/cjs/__generated__/rich-text-link.props.js +145 -27
- package/lib/cjs/__generated__/separator.props.js +111 -20
- package/lib/cjs/__generated__/span.props.js +111 -20
- package/lib/cjs/__generated__/subscript.props.js +111 -20
- package/lib/cjs/__generated__/superscript.props.js +111 -20
- package/lib/cjs/__generated__/text.props.js +112 -20
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/vimeo-play-button.props.js +161 -29
- package/lib/cjs/__generated__/vimeo-preview-image.props.js +149 -29
- package/lib/cjs/__generated__/vimeo-spinner.props.js +111 -20
- package/lib/cjs/__generated__/vimeo.props.js +112 -21
- package/lib/cjs/blockquote.ws.js +1 -0
- package/lib/cjs/box.ws.js +1 -0
- package/lib/cjs/button.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +1 -0
- package/lib/cjs/code-text.ws.js +2 -0
- package/lib/cjs/form.ws.js +1 -0
- package/lib/cjs/heading.ws.js +2 -0
- package/lib/cjs/html-embed.ws.js +1 -0
- package/lib/cjs/image.ws.js +1 -0
- package/lib/cjs/input.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -1
- package/lib/cjs/link.ws.js +2 -0
- package/lib/cjs/list-item.ws.js +1 -0
- package/lib/cjs/list.ws.js +1 -0
- package/lib/cjs/paragraph.ws.js +2 -0
- package/lib/cjs/radio-button.ws.js +1 -0
- package/lib/cjs/separator.ws.js +1 -0
- package/lib/cjs/text.ws.js +1 -0
- package/lib/cjs/textarea.ws.js +1 -0
- package/lib/cjs/vimeo.ws.js +1 -0
- package/lib/code-text.ws.js +2 -0
- package/lib/form.ws.js +1 -0
- package/lib/heading.ws.js +2 -0
- package/lib/html-embed.ws.js +1 -0
- package/lib/image.ws.js +1 -0
- package/lib/input.ws.js +1 -0
- package/lib/label.ws.js +1 -1
- package/lib/link.ws.js +2 -0
- package/lib/list-item.ws.js +1 -0
- package/lib/list.ws.js +1 -0
- package/lib/paragraph.ws.js +2 -0
- package/lib/radio-button.ws.js +1 -0
- package/lib/separator.ws.js +1 -0
- package/lib/text.ws.js +1 -0
- package/lib/textarea.ws.js +1 -0
- package/lib/types/box.d.ts +1 -0
- package/lib/types/heading.d.ts +1 -0
- package/lib/types/list.d.ts +1 -0
- package/lib/types/text.d.ts +1 -0
- package/lib/types/vimeo.d.ts +1 -1
- package/lib/vimeo.ws.js +1 -0
- package/package.json +6 -6
- package/src/__generated__/blockquote.props.ts +131 -20
- package/src/__generated__/body.props.ts +124 -19
- package/src/__generated__/bold.props.ts +124 -19
- package/src/__generated__/box.props.ts +126 -19
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +292 -44
- package/src/__generated__/code-text.props.ts +124 -19
- package/src/__generated__/form.props.ts +179 -27
- package/src/__generated__/heading.props.ts +126 -19
- package/src/__generated__/image.props.ts +160 -24
- package/src/__generated__/input.props.ts +294 -44
- package/src/__generated__/italic.props.ts +124 -19
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/link.props.ts +159 -24
- package/src/__generated__/list-item.props.ts +124 -19
- package/src/__generated__/list.props.ts +140 -21
- package/src/__generated__/paragraph.props.ts +124 -19
- package/src/__generated__/radio-button.props.ts +292 -44
- package/src/__generated__/rich-text-link.props.ts +159 -24
- package/src/__generated__/separator.props.ts +124 -19
- package/src/__generated__/span.props.ts +124 -19
- package/src/__generated__/subscript.props.ts +124 -19
- package/src/__generated__/superscript.props.ts +124 -19
- package/src/__generated__/text.props.ts +126 -19
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/vimeo-play-button.props.ts +179 -27
- package/src/__generated__/vimeo-preview-image.props.ts +160 -24
- package/src/__generated__/vimeo-spinner.props.ts +124 -19
- package/src/__generated__/vimeo.props.ts +125 -20
- package/src/blockquote.ws.tsx +2 -0
- package/src/box.tsx +1 -0
- package/src/box.ws.ts +2 -0
- package/src/button.ws.tsx +2 -0
- package/src/checkbox.ws.tsx +2 -0
- package/src/code-text.ws.tsx +3 -0
- package/src/form.ws.tsx +1 -0
- package/src/heading.tsx +1 -0
- package/src/heading.ws.tsx +3 -0
- package/src/html-embed.ws.ts +1 -0
- package/src/image.ws.tsx +2 -0
- package/src/input.ws.tsx +2 -0
- package/src/label.ws.tsx +1 -1
- package/src/link.ws.tsx +3 -0
- package/src/list-item.ws.tsx +1 -0
- package/src/list.tsx +1 -0
- package/src/list.ws.tsx +1 -0
- package/src/paragraph.ws.tsx +2 -0
- package/src/radio-button.ws.tsx +2 -0
- package/src/separator.ws.tsx +2 -0
- package/src/text.tsx +1 -0
- package/src/text.ws.tsx +2 -0
- package/src/textarea.ws.tsx +2 -0
- package/src/vimeo.tsx +1 -1
- package/src/vimeo.ws.ts +2 -0
|
@@ -23,7 +23,12 @@ __export(button_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(button_props_exports);
|
|
24
24
|
const props = {
|
|
25
25
|
about: { required: false, control: "text", type: "string" },
|
|
26
|
-
accessKey: {
|
|
26
|
+
accessKey: {
|
|
27
|
+
required: false,
|
|
28
|
+
control: "text",
|
|
29
|
+
type: "string",
|
|
30
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
31
|
+
},
|
|
27
32
|
"aria-activedescendant": {
|
|
28
33
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
29
34
|
required: false,
|
|
@@ -179,7 +184,7 @@ const props = {
|
|
|
179
184
|
type: "string"
|
|
180
185
|
},
|
|
181
186
|
"aria-label": {
|
|
182
|
-
description: "
|
|
187
|
+
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.",
|
|
183
188
|
required: false,
|
|
184
189
|
control: "text",
|
|
185
190
|
type: "string"
|
|
@@ -355,27 +360,107 @@ const props = {
|
|
|
355
360
|
control: "text",
|
|
356
361
|
type: "string"
|
|
357
362
|
},
|
|
358
|
-
autoCapitalize: {
|
|
363
|
+
autoCapitalize: {
|
|
364
|
+
required: false,
|
|
365
|
+
control: "text",
|
|
366
|
+
type: "string",
|
|
367
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
368
|
+
},
|
|
359
369
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
360
|
-
autoFocus: {
|
|
370
|
+
autoFocus: {
|
|
371
|
+
required: false,
|
|
372
|
+
control: "boolean",
|
|
373
|
+
type: "boolean",
|
|
374
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
375
|
+
},
|
|
361
376
|
autoSave: { required: false, control: "text", type: "string" },
|
|
362
377
|
className: { required: false, control: "text", type: "string" },
|
|
363
|
-
color: {
|
|
364
|
-
|
|
365
|
-
|
|
378
|
+
color: {
|
|
379
|
+
required: false,
|
|
380
|
+
control: "color",
|
|
381
|
+
type: "string",
|
|
382
|
+
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."
|
|
383
|
+
},
|
|
384
|
+
content: {
|
|
385
|
+
required: false,
|
|
386
|
+
control: "text",
|
|
387
|
+
type: "string",
|
|
388
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
389
|
+
},
|
|
390
|
+
contextMenu: {
|
|
391
|
+
required: false,
|
|
392
|
+
control: "text",
|
|
393
|
+
type: "string",
|
|
394
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
395
|
+
},
|
|
366
396
|
datatype: { required: false, control: "text", type: "string" },
|
|
367
397
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
368
|
-
dir: {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
398
|
+
dir: {
|
|
399
|
+
required: false,
|
|
400
|
+
control: "text",
|
|
401
|
+
type: "string",
|
|
402
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
403
|
+
},
|
|
404
|
+
disabled: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "boolean",
|
|
407
|
+
type: "boolean",
|
|
408
|
+
description: "Indicates whether the user can interact with the element."
|
|
409
|
+
},
|
|
410
|
+
draggable: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "boolean",
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "Defines whether the element can be dragged."
|
|
415
|
+
},
|
|
416
|
+
form: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "text",
|
|
419
|
+
type: "string",
|
|
420
|
+
description: "Indicates the form that is the owner of the element."
|
|
421
|
+
},
|
|
422
|
+
formAction: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
427
|
+
},
|
|
428
|
+
formEncType: {
|
|
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 sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
433
|
+
},
|
|
434
|
+
formMethod: {
|
|
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 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.`
|
|
439
|
+
},
|
|
440
|
+
formNoValidate: {
|
|
441
|
+
required: false,
|
|
442
|
+
control: "boolean",
|
|
443
|
+
type: "boolean",
|
|
444
|
+
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.`
|
|
445
|
+
},
|
|
446
|
+
formTarget: {
|
|
447
|
+
required: false,
|
|
448
|
+
control: "text",
|
|
449
|
+
type: "string",
|
|
450
|
+
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.`
|
|
451
|
+
},
|
|
452
|
+
hidden: {
|
|
453
|
+
required: false,
|
|
454
|
+
control: "boolean",
|
|
455
|
+
type: "boolean",
|
|
456
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
457
|
+
},
|
|
458
|
+
id: {
|
|
459
|
+
required: false,
|
|
460
|
+
control: "text",
|
|
461
|
+
type: "string",
|
|
462
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
463
|
+
},
|
|
379
464
|
inputMode: {
|
|
380
465
|
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",
|
|
381
466
|
required: false,
|
|
@@ -403,21 +488,56 @@ const props = {
|
|
|
403
488
|
itemRef: { required: false, control: "text", type: "string" },
|
|
404
489
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
405
490
|
itemType: { required: false, control: "text", type: "string" },
|
|
406
|
-
lang: {
|
|
407
|
-
|
|
491
|
+
lang: {
|
|
492
|
+
required: false,
|
|
493
|
+
control: "text",
|
|
494
|
+
type: "string",
|
|
495
|
+
description: "Defines the language used in the element."
|
|
496
|
+
},
|
|
497
|
+
name: {
|
|
498
|
+
required: false,
|
|
499
|
+
control: "text",
|
|
500
|
+
type: "string",
|
|
501
|
+
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)."
|
|
502
|
+
},
|
|
408
503
|
nonce: { required: false, control: "text", type: "string" },
|
|
409
|
-
placeholder: {
|
|
504
|
+
placeholder: {
|
|
505
|
+
required: false,
|
|
506
|
+
control: "text",
|
|
507
|
+
type: "string",
|
|
508
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
509
|
+
},
|
|
410
510
|
prefix: { required: false, control: "text", type: "string" },
|
|
411
511
|
property: { required: false, control: "text", type: "string" },
|
|
412
512
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
413
|
-
rel: {
|
|
513
|
+
rel: {
|
|
514
|
+
required: false,
|
|
515
|
+
control: "text",
|
|
516
|
+
type: "string",
|
|
517
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
518
|
+
},
|
|
414
519
|
resource: { required: false, control: "text", type: "string" },
|
|
415
520
|
results: { required: false, control: "number", type: "number" },
|
|
416
521
|
rev: { required: false, control: "text", type: "string" },
|
|
417
|
-
role: {
|
|
522
|
+
role: {
|
|
523
|
+
required: false,
|
|
524
|
+
control: "text",
|
|
525
|
+
type: "string",
|
|
526
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
527
|
+
},
|
|
418
528
|
security: { required: false, control: "text", type: "string" },
|
|
419
|
-
slot: {
|
|
420
|
-
|
|
529
|
+
slot: {
|
|
530
|
+
required: false,
|
|
531
|
+
control: "text",
|
|
532
|
+
type: "string",
|
|
533
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
534
|
+
},
|
|
535
|
+
spellCheck: {
|
|
536
|
+
required: false,
|
|
537
|
+
control: "boolean",
|
|
538
|
+
type: "boolean",
|
|
539
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
540
|
+
},
|
|
421
541
|
suppressContentEditableWarning: {
|
|
422
542
|
required: false,
|
|
423
543
|
control: "boolean",
|
|
@@ -428,20 +548,32 @@ const props = {
|
|
|
428
548
|
control: "boolean",
|
|
429
549
|
type: "boolean"
|
|
430
550
|
},
|
|
431
|
-
tabIndex: {
|
|
432
|
-
|
|
551
|
+
tabIndex: {
|
|
552
|
+
required: false,
|
|
553
|
+
control: "number",
|
|
554
|
+
type: "number",
|
|
555
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
556
|
+
},
|
|
557
|
+
title: {
|
|
558
|
+
required: false,
|
|
559
|
+
control: "text",
|
|
560
|
+
type: "string",
|
|
561
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
562
|
+
},
|
|
433
563
|
translate: {
|
|
434
564
|
required: false,
|
|
435
565
|
control: "radio",
|
|
436
566
|
type: "string",
|
|
437
|
-
options: ["yes", "no"]
|
|
567
|
+
options: ["yes", "no"],
|
|
568
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
438
569
|
},
|
|
439
570
|
type: {
|
|
440
571
|
required: false,
|
|
441
572
|
control: "radio",
|
|
442
573
|
type: "string",
|
|
443
574
|
defaultValue: "submit",
|
|
444
|
-
options: ["button", "submit", "reset"]
|
|
575
|
+
options: ["button", "submit", "reset"],
|
|
576
|
+
description: "Defines the behavior of the button, such as submitting a form or resetting form fields."
|
|
445
577
|
},
|
|
446
578
|
typeof: { required: false, control: "text", type: "string" },
|
|
447
579
|
unselectable: {
|
|
@@ -23,9 +23,24 @@ __export(checkbox_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(checkbox_props_exports);
|
|
24
24
|
const props = {
|
|
25
25
|
about: { required: false, control: "text", type: "string" },
|
|
26
|
-
accept: {
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
accept: {
|
|
27
|
+
required: false,
|
|
28
|
+
control: "text",
|
|
29
|
+
type: "string",
|
|
30
|
+
description: "List of types the server accepts, typically a file type."
|
|
31
|
+
},
|
|
32
|
+
accessKey: {
|
|
33
|
+
required: false,
|
|
34
|
+
control: "text",
|
|
35
|
+
type: "string",
|
|
36
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
37
|
+
},
|
|
38
|
+
alt: {
|
|
39
|
+
required: false,
|
|
40
|
+
control: "text",
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
|
|
43
|
+
},
|
|
29
44
|
"aria-activedescendant": {
|
|
30
45
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
31
46
|
required: false,
|
|
@@ -181,7 +196,7 @@ const props = {
|
|
|
181
196
|
type: "string"
|
|
182
197
|
},
|
|
183
198
|
"aria-label": {
|
|
184
|
-
description: "
|
|
199
|
+
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.",
|
|
185
200
|
required: false,
|
|
186
201
|
control: "text",
|
|
187
202
|
type: "string"
|
|
@@ -357,36 +372,132 @@ const props = {
|
|
|
357
372
|
control: "text",
|
|
358
373
|
type: "string"
|
|
359
374
|
},
|
|
360
|
-
autoCapitalize: {
|
|
361
|
-
|
|
375
|
+
autoCapitalize: {
|
|
376
|
+
required: false,
|
|
377
|
+
control: "text",
|
|
378
|
+
type: "string",
|
|
379
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
380
|
+
},
|
|
381
|
+
autoComplete: {
|
|
382
|
+
required: false,
|
|
383
|
+
control: "text",
|
|
384
|
+
type: "string",
|
|
385
|
+
description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
|
|
386
|
+
},
|
|
362
387
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
363
|
-
autoFocus: {
|
|
388
|
+
autoFocus: {
|
|
389
|
+
required: false,
|
|
390
|
+
control: "boolean",
|
|
391
|
+
type: "boolean",
|
|
392
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
393
|
+
},
|
|
364
394
|
autoSave: { required: false, control: "text", type: "string" },
|
|
365
|
-
checked: {
|
|
395
|
+
checked: {
|
|
396
|
+
required: false,
|
|
397
|
+
control: "boolean",
|
|
398
|
+
type: "boolean",
|
|
399
|
+
description: "Indicates whether the element should be checked on page load."
|
|
400
|
+
},
|
|
366
401
|
className: { required: false, control: "text", type: "string" },
|
|
367
|
-
color: {
|
|
368
|
-
|
|
369
|
-
|
|
402
|
+
color: {
|
|
403
|
+
required: false,
|
|
404
|
+
control: "color",
|
|
405
|
+
type: "string",
|
|
406
|
+
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."
|
|
407
|
+
},
|
|
408
|
+
content: {
|
|
409
|
+
required: false,
|
|
410
|
+
control: "text",
|
|
411
|
+
type: "string",
|
|
412
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
413
|
+
},
|
|
414
|
+
contextMenu: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "text",
|
|
417
|
+
type: "string",
|
|
418
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
419
|
+
},
|
|
370
420
|
datatype: { required: false, control: "text", type: "string" },
|
|
371
421
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
372
|
-
dir: {
|
|
373
|
-
|
|
374
|
-
|
|
422
|
+
dir: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
427
|
+
},
|
|
428
|
+
disabled: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "boolean",
|
|
431
|
+
type: "boolean",
|
|
432
|
+
description: "Indicates whether the user can interact with the element."
|
|
433
|
+
},
|
|
434
|
+
draggable: {
|
|
435
|
+
required: false,
|
|
436
|
+
control: "boolean",
|
|
437
|
+
type: "boolean",
|
|
438
|
+
description: "Defines whether the element can be dragged."
|
|
439
|
+
},
|
|
375
440
|
enterKeyHint: {
|
|
376
441
|
required: false,
|
|
377
442
|
control: "select",
|
|
378
443
|
type: "string",
|
|
379
|
-
options: ["search", "enter", "done", "go", "next", "previous", "send"]
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
444
|
+
options: ["search", "enter", "done", "go", "next", "previous", "send"],
|
|
445
|
+
description: "The enterkeyhint specifies what action label (or icon) to present for the enter key onvirtual keyboards. The attribute can be used with form controls (such asthe value of textarea elements), or in elements in anediting host (e.g., using contenteditable attribute)."
|
|
446
|
+
},
|
|
447
|
+
form: {
|
|
448
|
+
required: false,
|
|
449
|
+
control: "text",
|
|
450
|
+
type: "string",
|
|
451
|
+
description: "Indicates the form that is the owner of the element."
|
|
452
|
+
},
|
|
453
|
+
formAction: {
|
|
454
|
+
required: false,
|
|
455
|
+
control: "text",
|
|
456
|
+
type: "string",
|
|
457
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
458
|
+
},
|
|
459
|
+
formEncType: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
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.`
|
|
464
|
+
},
|
|
465
|
+
formMethod: {
|
|
466
|
+
required: false,
|
|
467
|
+
control: "text",
|
|
468
|
+
type: "string",
|
|
469
|
+
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.`
|
|
470
|
+
},
|
|
471
|
+
formNoValidate: {
|
|
472
|
+
required: false,
|
|
473
|
+
control: "boolean",
|
|
474
|
+
type: "boolean",
|
|
475
|
+
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.`
|
|
476
|
+
},
|
|
477
|
+
formTarget: {
|
|
478
|
+
required: false,
|
|
479
|
+
control: "text",
|
|
480
|
+
type: "string",
|
|
481
|
+
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.`
|
|
482
|
+
},
|
|
483
|
+
height: {
|
|
484
|
+
required: false,
|
|
485
|
+
control: "number",
|
|
486
|
+
type: "number",
|
|
487
|
+
description: "Defines the image\u2019s height in pixels."
|
|
488
|
+
},
|
|
489
|
+
hidden: {
|
|
490
|
+
required: false,
|
|
491
|
+
control: "boolean",
|
|
492
|
+
type: "boolean",
|
|
493
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
494
|
+
},
|
|
495
|
+
id: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
500
|
+
},
|
|
390
501
|
inputMode: {
|
|
391
502
|
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",
|
|
392
503
|
required: false,
|
|
@@ -414,32 +525,122 @@ const props = {
|
|
|
414
525
|
itemRef: { required: false, control: "text", type: "string" },
|
|
415
526
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
416
527
|
itemType: { required: false, control: "text", type: "string" },
|
|
417
|
-
lang: {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
528
|
+
lang: {
|
|
529
|
+
required: false,
|
|
530
|
+
control: "text",
|
|
531
|
+
type: "string",
|
|
532
|
+
description: "Defines the language used in the element."
|
|
533
|
+
},
|
|
534
|
+
list: {
|
|
535
|
+
required: false,
|
|
536
|
+
control: "text",
|
|
537
|
+
type: "string",
|
|
538
|
+
description: "Identifies a list of pre-defined options to suggest to the user."
|
|
539
|
+
},
|
|
540
|
+
max: {
|
|
541
|
+
required: false,
|
|
542
|
+
control: "number",
|
|
543
|
+
type: "number",
|
|
544
|
+
description: "Indicates the maximum value allowed."
|
|
545
|
+
},
|
|
546
|
+
maxLength: {
|
|
547
|
+
required: false,
|
|
548
|
+
control: "number",
|
|
549
|
+
type: "number",
|
|
550
|
+
description: "Defines the maximum number of characters allowed in the element."
|
|
551
|
+
},
|
|
552
|
+
min: {
|
|
553
|
+
required: false,
|
|
554
|
+
control: "number",
|
|
555
|
+
type: "number",
|
|
556
|
+
description: "Indicates the minimum value allowed."
|
|
557
|
+
},
|
|
558
|
+
minLength: {
|
|
559
|
+
required: false,
|
|
560
|
+
control: "number",
|
|
561
|
+
type: "number",
|
|
562
|
+
description: "Defines the minimum number of characters allowed in the element."
|
|
563
|
+
},
|
|
564
|
+
multiple: {
|
|
565
|
+
required: false,
|
|
566
|
+
control: "boolean",
|
|
567
|
+
type: "boolean",
|
|
568
|
+
description: "Indicates whether multiple values can be entered in an input of the type email or file."
|
|
569
|
+
},
|
|
570
|
+
name: {
|
|
571
|
+
required: false,
|
|
572
|
+
control: "text",
|
|
573
|
+
type: "string",
|
|
574
|
+
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)."
|
|
575
|
+
},
|
|
425
576
|
nonce: { required: false, control: "text", type: "string" },
|
|
426
|
-
pattern: {
|
|
427
|
-
|
|
577
|
+
pattern: {
|
|
578
|
+
required: false,
|
|
579
|
+
control: "text",
|
|
580
|
+
type: "string",
|
|
581
|
+
description: "Defines a regular expression which the element's value will be validated against."
|
|
582
|
+
},
|
|
583
|
+
placeholder: {
|
|
584
|
+
required: false,
|
|
585
|
+
control: "text",
|
|
586
|
+
type: "string",
|
|
587
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
588
|
+
},
|
|
428
589
|
prefix: { required: false, control: "text", type: "string" },
|
|
429
590
|
property: { required: false, control: "text", type: "string" },
|
|
430
591
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
431
|
-
readOnly: {
|
|
432
|
-
|
|
433
|
-
|
|
592
|
+
readOnly: {
|
|
593
|
+
required: false,
|
|
594
|
+
control: "boolean",
|
|
595
|
+
type: "boolean",
|
|
596
|
+
description: "Indicates whether the element can be edited."
|
|
597
|
+
},
|
|
598
|
+
rel: {
|
|
599
|
+
required: false,
|
|
600
|
+
control: "text",
|
|
601
|
+
type: "string",
|
|
602
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
603
|
+
},
|
|
604
|
+
required: {
|
|
605
|
+
required: false,
|
|
606
|
+
control: "boolean",
|
|
607
|
+
type: "boolean",
|
|
608
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
609
|
+
},
|
|
434
610
|
resource: { required: false, control: "text", type: "string" },
|
|
435
611
|
results: { required: false, control: "number", type: "number" },
|
|
436
612
|
rev: { required: false, control: "text", type: "string" },
|
|
437
|
-
role: {
|
|
613
|
+
role: {
|
|
614
|
+
required: false,
|
|
615
|
+
control: "text",
|
|
616
|
+
type: "string",
|
|
617
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
618
|
+
},
|
|
438
619
|
security: { required: false, control: "text", type: "string" },
|
|
439
|
-
size: {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
620
|
+
size: {
|
|
621
|
+
required: false,
|
|
622
|
+
control: "number",
|
|
623
|
+
type: "number",
|
|
624
|
+
description: "Defines the width of the element (in pixels). If the element'stype attribute is text or password then it's the number of characters."
|
|
625
|
+
},
|
|
626
|
+
slot: {
|
|
627
|
+
required: false,
|
|
628
|
+
control: "text",
|
|
629
|
+
type: "string",
|
|
630
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
631
|
+
},
|
|
632
|
+
spellCheck: {
|
|
633
|
+
required: false,
|
|
634
|
+
control: "boolean",
|
|
635
|
+
type: "boolean",
|
|
636
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
637
|
+
},
|
|
638
|
+
src: {
|
|
639
|
+
required: false,
|
|
640
|
+
control: "text",
|
|
641
|
+
type: "string",
|
|
642
|
+
description: "The URL of the embeddable content."
|
|
643
|
+
},
|
|
443
644
|
step: { required: false, control: "number", type: "number" },
|
|
444
645
|
suppressContentEditableWarning: {
|
|
445
646
|
required: false,
|
|
@@ -451,13 +652,24 @@ const props = {
|
|
|
451
652
|
control: "boolean",
|
|
452
653
|
type: "boolean"
|
|
453
654
|
},
|
|
454
|
-
tabIndex: {
|
|
455
|
-
|
|
655
|
+
tabIndex: {
|
|
656
|
+
required: false,
|
|
657
|
+
control: "number",
|
|
658
|
+
type: "number",
|
|
659
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
660
|
+
},
|
|
661
|
+
title: {
|
|
662
|
+
required: false,
|
|
663
|
+
control: "text",
|
|
664
|
+
type: "string",
|
|
665
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
666
|
+
},
|
|
456
667
|
translate: {
|
|
457
668
|
required: false,
|
|
458
669
|
control: "radio",
|
|
459
670
|
type: "string",
|
|
460
|
-
options: ["yes", "no"]
|
|
671
|
+
options: ["yes", "no"],
|
|
672
|
+
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."
|
|
461
673
|
},
|
|
462
674
|
typeof: { required: false, control: "text", type: "string" },
|
|
463
675
|
unselectable: {
|
|
@@ -467,5 +679,10 @@ const props = {
|
|
|
467
679
|
options: ["on", "off"]
|
|
468
680
|
},
|
|
469
681
|
vocab: { required: false, control: "text", type: "string" },
|
|
470
|
-
width: {
|
|
682
|
+
width: {
|
|
683
|
+
required: false,
|
|
684
|
+
control: "number",
|
|
685
|
+
type: "number",
|
|
686
|
+
description: "Defines the image\u2019s width in pixels."
|
|
687
|
+
}
|
|
471
688
|
};
|