@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
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const props = {
|
|
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 props = {
|
|
|
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,20 +337,65 @@ const props = {
|
|
|
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
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
345
|
-
dir: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
375
|
+
dir: {
|
|
376
|
+
required: false,
|
|
377
|
+
control: "text",
|
|
378
|
+
type: "string",
|
|
379
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
380
|
+
},
|
|
381
|
+
draggable: {
|
|
382
|
+
required: false,
|
|
383
|
+
control: "boolean",
|
|
384
|
+
type: "boolean",
|
|
385
|
+
description: "Defines whether the element can be dragged."
|
|
386
|
+
},
|
|
387
|
+
hidden: {
|
|
388
|
+
required: false,
|
|
389
|
+
control: "boolean",
|
|
390
|
+
type: "boolean",
|
|
391
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
392
|
+
},
|
|
393
|
+
id: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "text",
|
|
396
|
+
type: "string",
|
|
397
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
398
|
+
},
|
|
349
399
|
inputMode: {
|
|
350
400
|
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",
|
|
351
401
|
required: false,
|
|
@@ -373,20 +423,50 @@ const props = {
|
|
|
373
423
|
itemRef: { required: false, control: "text", type: "string" },
|
|
374
424
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
375
425
|
itemType: { required: false, control: "text", type: "string" },
|
|
376
|
-
lang: {
|
|
426
|
+
lang: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "text",
|
|
429
|
+
type: "string",
|
|
430
|
+
description: "Defines the language used in the element."
|
|
431
|
+
},
|
|
377
432
|
nonce: { required: false, control: "text", type: "string" },
|
|
378
|
-
placeholder: {
|
|
433
|
+
placeholder: {
|
|
434
|
+
required: false,
|
|
435
|
+
control: "text",
|
|
436
|
+
type: "string",
|
|
437
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
438
|
+
},
|
|
379
439
|
prefix: { required: false, control: "text", type: "string" },
|
|
380
440
|
property: { required: false, control: "text", type: "string" },
|
|
381
441
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
382
|
-
rel: {
|
|
442
|
+
rel: {
|
|
443
|
+
required: false,
|
|
444
|
+
control: "text",
|
|
445
|
+
type: "string",
|
|
446
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
447
|
+
},
|
|
383
448
|
resource: { required: false, control: "text", type: "string" },
|
|
384
449
|
results: { required: false, control: "number", type: "number" },
|
|
385
450
|
rev: { required: false, control: "text", type: "string" },
|
|
386
|
-
role: {
|
|
451
|
+
role: {
|
|
452
|
+
required: false,
|
|
453
|
+
control: "text",
|
|
454
|
+
type: "string",
|
|
455
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
456
|
+
},
|
|
387
457
|
security: { required: false, control: "text", type: "string" },
|
|
388
|
-
slot: {
|
|
389
|
-
|
|
458
|
+
slot: {
|
|
459
|
+
required: false,
|
|
460
|
+
control: "text",
|
|
461
|
+
type: "string",
|
|
462
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
463
|
+
},
|
|
464
|
+
spellCheck: {
|
|
465
|
+
required: false,
|
|
466
|
+
control: "boolean",
|
|
467
|
+
type: "boolean",
|
|
468
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
469
|
+
},
|
|
390
470
|
suppressContentEditableWarning: {
|
|
391
471
|
required: false,
|
|
392
472
|
control: "boolean",
|
|
@@ -397,13 +477,24 @@ const props = {
|
|
|
397
477
|
control: "boolean",
|
|
398
478
|
type: "boolean"
|
|
399
479
|
},
|
|
400
|
-
tabIndex: {
|
|
401
|
-
|
|
480
|
+
tabIndex: {
|
|
481
|
+
required: false,
|
|
482
|
+
control: "number",
|
|
483
|
+
type: "number",
|
|
484
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
485
|
+
},
|
|
486
|
+
title: {
|
|
487
|
+
required: false,
|
|
488
|
+
control: "text",
|
|
489
|
+
type: "string",
|
|
490
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
491
|
+
},
|
|
402
492
|
translate: {
|
|
403
493
|
required: false,
|
|
404
494
|
control: "radio",
|
|
405
495
|
type: "string",
|
|
406
|
-
options: ["yes", "no"]
|
|
496
|
+
options: ["yes", "no"],
|
|
497
|
+
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."
|
|
407
498
|
},
|
|
408
499
|
typeof: { required: false, control: "text", type: "string" },
|
|
409
500
|
unselectable: {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const props = {
|
|
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 props = {
|
|
|
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,20 +337,65 @@ const props = {
|
|
|
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
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
345
|
-
dir: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
375
|
+
dir: {
|
|
376
|
+
required: false,
|
|
377
|
+
control: "text",
|
|
378
|
+
type: "string",
|
|
379
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
380
|
+
},
|
|
381
|
+
draggable: {
|
|
382
|
+
required: false,
|
|
383
|
+
control: "boolean",
|
|
384
|
+
type: "boolean",
|
|
385
|
+
description: "Defines whether the element can be dragged."
|
|
386
|
+
},
|
|
387
|
+
hidden: {
|
|
388
|
+
required: false,
|
|
389
|
+
control: "boolean",
|
|
390
|
+
type: "boolean",
|
|
391
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
392
|
+
},
|
|
393
|
+
id: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "text",
|
|
396
|
+
type: "string",
|
|
397
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
398
|
+
},
|
|
349
399
|
inputMode: {
|
|
350
400
|
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",
|
|
351
401
|
required: false,
|
|
@@ -373,20 +423,50 @@ const props = {
|
|
|
373
423
|
itemRef: { required: false, control: "text", type: "string" },
|
|
374
424
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
375
425
|
itemType: { required: false, control: "text", type: "string" },
|
|
376
|
-
lang: {
|
|
426
|
+
lang: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "text",
|
|
429
|
+
type: "string",
|
|
430
|
+
description: "Defines the language used in the element."
|
|
431
|
+
},
|
|
377
432
|
nonce: { required: false, control: "text", type: "string" },
|
|
378
|
-
placeholder: {
|
|
433
|
+
placeholder: {
|
|
434
|
+
required: false,
|
|
435
|
+
control: "text",
|
|
436
|
+
type: "string",
|
|
437
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
438
|
+
},
|
|
379
439
|
prefix: { required: false, control: "text", type: "string" },
|
|
380
440
|
property: { required: false, control: "text", type: "string" },
|
|
381
441
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
382
|
-
rel: {
|
|
442
|
+
rel: {
|
|
443
|
+
required: false,
|
|
444
|
+
control: "text",
|
|
445
|
+
type: "string",
|
|
446
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
447
|
+
},
|
|
383
448
|
resource: { required: false, control: "text", type: "string" },
|
|
384
449
|
results: { required: false, control: "number", type: "number" },
|
|
385
450
|
rev: { required: false, control: "text", type: "string" },
|
|
386
|
-
role: {
|
|
451
|
+
role: {
|
|
452
|
+
required: false,
|
|
453
|
+
control: "text",
|
|
454
|
+
type: "string",
|
|
455
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
456
|
+
},
|
|
387
457
|
security: { required: false, control: "text", type: "string" },
|
|
388
|
-
slot: {
|
|
389
|
-
|
|
458
|
+
slot: {
|
|
459
|
+
required: false,
|
|
460
|
+
control: "text",
|
|
461
|
+
type: "string",
|
|
462
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
463
|
+
},
|
|
464
|
+
spellCheck: {
|
|
465
|
+
required: false,
|
|
466
|
+
control: "boolean",
|
|
467
|
+
type: "boolean",
|
|
468
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
469
|
+
},
|
|
390
470
|
suppressContentEditableWarning: {
|
|
391
471
|
required: false,
|
|
392
472
|
control: "boolean",
|
|
@@ -397,20 +477,32 @@ const props = {
|
|
|
397
477
|
control: "boolean",
|
|
398
478
|
type: "boolean"
|
|
399
479
|
},
|
|
400
|
-
tabIndex: {
|
|
480
|
+
tabIndex: {
|
|
481
|
+
required: false,
|
|
482
|
+
control: "number",
|
|
483
|
+
type: "number",
|
|
484
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
485
|
+
},
|
|
401
486
|
tag: {
|
|
487
|
+
description: "Use this property to change the HTML tag of this element to semantically structure and describe the content of a webpage. This can be important for accessibility tools and search engine optimization.",
|
|
402
488
|
required: false,
|
|
403
489
|
control: "select",
|
|
404
490
|
type: "string",
|
|
405
491
|
defaultValue: "div",
|
|
406
492
|
options: ["div", "cite", "figcaption", "span"]
|
|
407
493
|
},
|
|
408
|
-
title: {
|
|
494
|
+
title: {
|
|
495
|
+
required: false,
|
|
496
|
+
control: "text",
|
|
497
|
+
type: "string",
|
|
498
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
499
|
+
},
|
|
409
500
|
translate: {
|
|
410
501
|
required: false,
|
|
411
502
|
control: "radio",
|
|
412
503
|
type: "string",
|
|
413
|
-
options: ["yes", "no"]
|
|
504
|
+
options: ["yes", "no"],
|
|
505
|
+
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."
|
|
414
506
|
},
|
|
415
507
|
typeof: { required: false, control: "text", type: "string" },
|
|
416
508
|
unselectable: {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const props = {
|
|
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 props = {
|
|
|
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,90 @@ const props = {
|
|
|
332
337
|
control: "text",
|
|
333
338
|
type: "string"
|
|
334
339
|
},
|
|
335
|
-
autoCapitalize: {
|
|
336
|
-
|
|
340
|
+
autoCapitalize: {
|
|
341
|
+
required: false,
|
|
342
|
+
control: "text",
|
|
343
|
+
type: "string",
|
|
344
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
345
|
+
},
|
|
346
|
+
autoComplete: {
|
|
347
|
+
required: false,
|
|
348
|
+
control: "text",
|
|
349
|
+
type: "string",
|
|
350
|
+
description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
|
|
351
|
+
},
|
|
337
352
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
338
|
-
autoFocus: {
|
|
353
|
+
autoFocus: {
|
|
354
|
+
required: false,
|
|
355
|
+
control: "boolean",
|
|
356
|
+
type: "boolean",
|
|
357
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
358
|
+
},
|
|
339
359
|
autoSave: { required: false, control: "text", type: "string" },
|
|
340
360
|
className: { required: false, control: "text", type: "string" },
|
|
341
|
-
color: {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
+
cols: {
|
|
368
|
+
required: false,
|
|
369
|
+
control: "number",
|
|
370
|
+
type: "number",
|
|
371
|
+
description: "Defines the number of columns in a textarea."
|
|
372
|
+
},
|
|
373
|
+
content: {
|
|
374
|
+
required: false,
|
|
375
|
+
control: "text",
|
|
376
|
+
type: "string",
|
|
377
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
378
|
+
},
|
|
379
|
+
contextMenu: {
|
|
380
|
+
required: false,
|
|
381
|
+
control: "text",
|
|
382
|
+
type: "string",
|
|
383
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
384
|
+
},
|
|
345
385
|
datatype: { required: false, control: "text", type: "string" },
|
|
346
386
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
347
|
-
dir: {
|
|
387
|
+
dir: {
|
|
388
|
+
required: false,
|
|
389
|
+
control: "text",
|
|
390
|
+
type: "string",
|
|
391
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
392
|
+
},
|
|
348
393
|
dirName: { required: false, control: "text", type: "string" },
|
|
349
|
-
disabled: {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
394
|
+
disabled: {
|
|
395
|
+
required: false,
|
|
396
|
+
control: "boolean",
|
|
397
|
+
type: "boolean",
|
|
398
|
+
description: "Indicates whether the user can interact with the element."
|
|
399
|
+
},
|
|
400
|
+
draggable: {
|
|
401
|
+
required: false,
|
|
402
|
+
control: "boolean",
|
|
403
|
+
type: "boolean",
|
|
404
|
+
description: "Defines whether the element can be dragged."
|
|
405
|
+
},
|
|
406
|
+
form: {
|
|
407
|
+
required: false,
|
|
408
|
+
control: "text",
|
|
409
|
+
type: "string",
|
|
410
|
+
description: "Indicates the form that is the owner of the element."
|
|
411
|
+
},
|
|
412
|
+
hidden: {
|
|
413
|
+
required: false,
|
|
414
|
+
control: "boolean",
|
|
415
|
+
type: "boolean",
|
|
416
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
417
|
+
},
|
|
418
|
+
id: {
|
|
419
|
+
required: false,
|
|
420
|
+
control: "text",
|
|
421
|
+
type: "string",
|
|
422
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
423
|
+
},
|
|
354
424
|
inputMode: {
|
|
355
425
|
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
426
|
required: false,
|
|
@@ -378,26 +448,86 @@ const props = {
|
|
|
378
448
|
itemRef: { required: false, control: "text", type: "string" },
|
|
379
449
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
380
450
|
itemType: { required: false, control: "text", type: "string" },
|
|
381
|
-
lang: {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
451
|
+
lang: {
|
|
452
|
+
required: false,
|
|
453
|
+
control: "text",
|
|
454
|
+
type: "string",
|
|
455
|
+
description: "Defines the language used in the element."
|
|
456
|
+
},
|
|
457
|
+
maxLength: {
|
|
458
|
+
required: false,
|
|
459
|
+
control: "number",
|
|
460
|
+
type: "number",
|
|
461
|
+
description: "Defines the maximum number of characters allowed in the element."
|
|
462
|
+
},
|
|
463
|
+
minLength: {
|
|
464
|
+
required: false,
|
|
465
|
+
control: "number",
|
|
466
|
+
type: "number",
|
|
467
|
+
description: "Defines the minimum number of characters allowed in the element."
|
|
468
|
+
},
|
|
469
|
+
name: {
|
|
470
|
+
required: false,
|
|
471
|
+
control: "text",
|
|
472
|
+
type: "string",
|
|
473
|
+
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)."
|
|
474
|
+
},
|
|
385
475
|
nonce: { required: false, control: "text", type: "string" },
|
|
386
|
-
placeholder: {
|
|
476
|
+
placeholder: {
|
|
477
|
+
required: false,
|
|
478
|
+
control: "text",
|
|
479
|
+
type: "string",
|
|
480
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
481
|
+
},
|
|
387
482
|
prefix: { required: false, control: "text", type: "string" },
|
|
388
483
|
property: { required: false, control: "text", type: "string" },
|
|
389
484
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
390
|
-
readOnly: {
|
|
391
|
-
|
|
392
|
-
|
|
485
|
+
readOnly: {
|
|
486
|
+
required: false,
|
|
487
|
+
control: "boolean",
|
|
488
|
+
type: "boolean",
|
|
489
|
+
description: "Indicates whether the element can be edited."
|
|
490
|
+
},
|
|
491
|
+
rel: {
|
|
492
|
+
required: false,
|
|
493
|
+
control: "text",
|
|
494
|
+
type: "string",
|
|
495
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
496
|
+
},
|
|
497
|
+
required: {
|
|
498
|
+
required: false,
|
|
499
|
+
control: "boolean",
|
|
500
|
+
type: "boolean",
|
|
501
|
+
description: "Indicates whether this form element must be filled before the form can be submitted."
|
|
502
|
+
},
|
|
393
503
|
resource: { required: false, control: "text", type: "string" },
|
|
394
504
|
results: { required: false, control: "number", type: "number" },
|
|
395
505
|
rev: { required: false, control: "text", type: "string" },
|
|
396
|
-
role: {
|
|
397
|
-
|
|
506
|
+
role: {
|
|
507
|
+
required: false,
|
|
508
|
+
control: "text",
|
|
509
|
+
type: "string",
|
|
510
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
511
|
+
},
|
|
512
|
+
rows: {
|
|
513
|
+
required: false,
|
|
514
|
+
control: "number",
|
|
515
|
+
type: "number",
|
|
516
|
+
description: "Defines the number of rows in a text area."
|
|
517
|
+
},
|
|
398
518
|
security: { required: false, control: "text", type: "string" },
|
|
399
|
-
slot: {
|
|
400
|
-
|
|
519
|
+
slot: {
|
|
520
|
+
required: false,
|
|
521
|
+
control: "text",
|
|
522
|
+
type: "string",
|
|
523
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
524
|
+
},
|
|
525
|
+
spellCheck: {
|
|
526
|
+
required: false,
|
|
527
|
+
control: "boolean",
|
|
528
|
+
type: "boolean",
|
|
529
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
530
|
+
},
|
|
401
531
|
suppressContentEditableWarning: {
|
|
402
532
|
required: false,
|
|
403
533
|
control: "boolean",
|
|
@@ -408,13 +538,24 @@ const props = {
|
|
|
408
538
|
control: "boolean",
|
|
409
539
|
type: "boolean"
|
|
410
540
|
},
|
|
411
|
-
tabIndex: {
|
|
412
|
-
|
|
541
|
+
tabIndex: {
|
|
542
|
+
required: false,
|
|
543
|
+
control: "number",
|
|
544
|
+
type: "number",
|
|
545
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
546
|
+
},
|
|
547
|
+
title: {
|
|
548
|
+
required: false,
|
|
549
|
+
control: "text",
|
|
550
|
+
type: "string",
|
|
551
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
552
|
+
},
|
|
413
553
|
translate: {
|
|
414
554
|
required: false,
|
|
415
555
|
control: "radio",
|
|
416
556
|
type: "string",
|
|
417
|
-
options: ["yes", "no"]
|
|
557
|
+
options: ["yes", "no"],
|
|
558
|
+
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."
|
|
418
559
|
},
|
|
419
560
|
typeof: { required: false, control: "text", type: "string" },
|
|
420
561
|
unselectable: {
|
|
@@ -424,7 +565,12 @@ const props = {
|
|
|
424
565
|
options: ["on", "off"]
|
|
425
566
|
},
|
|
426
567
|
vocab: { required: false, control: "text", type: "string" },
|
|
427
|
-
wrap: {
|
|
568
|
+
wrap: {
|
|
569
|
+
required: false,
|
|
570
|
+
control: "text",
|
|
571
|
+
type: "string",
|
|
572
|
+
description: "Indicates whether the text should be wrapped."
|
|
573
|
+
}
|
|
428
574
|
};
|
|
429
575
|
export {
|
|
430
576
|
props
|