@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(italic_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(italic_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,20 +360,65 @@ 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
|
-
|
|
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
|
+
draggable: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "boolean",
|
|
407
|
+
type: "boolean",
|
|
408
|
+
description: "Defines whether the element can be dragged."
|
|
409
|
+
},
|
|
410
|
+
hidden: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "boolean",
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
415
|
+
},
|
|
416
|
+
id: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "text",
|
|
419
|
+
type: "string",
|
|
420
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
421
|
+
},
|
|
372
422
|
inputMode: {
|
|
373
423
|
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",
|
|
374
424
|
required: false,
|
|
@@ -396,20 +446,50 @@ const props = {
|
|
|
396
446
|
itemRef: { required: false, control: "text", type: "string" },
|
|
397
447
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
398
448
|
itemType: { required: false, control: "text", type: "string" },
|
|
399
|
-
lang: {
|
|
449
|
+
lang: {
|
|
450
|
+
required: false,
|
|
451
|
+
control: "text",
|
|
452
|
+
type: "string",
|
|
453
|
+
description: "Defines the language used in the element."
|
|
454
|
+
},
|
|
400
455
|
nonce: { required: false, control: "text", type: "string" },
|
|
401
|
-
placeholder: {
|
|
456
|
+
placeholder: {
|
|
457
|
+
required: false,
|
|
458
|
+
control: "text",
|
|
459
|
+
type: "string",
|
|
460
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
461
|
+
},
|
|
402
462
|
prefix: { required: false, control: "text", type: "string" },
|
|
403
463
|
property: { required: false, control: "text", type: "string" },
|
|
404
464
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
405
|
-
rel: {
|
|
465
|
+
rel: {
|
|
466
|
+
required: false,
|
|
467
|
+
control: "text",
|
|
468
|
+
type: "string",
|
|
469
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
470
|
+
},
|
|
406
471
|
resource: { required: false, control: "text", type: "string" },
|
|
407
472
|
results: { required: false, control: "number", type: "number" },
|
|
408
473
|
rev: { required: false, control: "text", type: "string" },
|
|
409
|
-
role: {
|
|
474
|
+
role: {
|
|
475
|
+
required: false,
|
|
476
|
+
control: "text",
|
|
477
|
+
type: "string",
|
|
478
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
479
|
+
},
|
|
410
480
|
security: { required: false, control: "text", type: "string" },
|
|
411
|
-
slot: {
|
|
412
|
-
|
|
481
|
+
slot: {
|
|
482
|
+
required: false,
|
|
483
|
+
control: "text",
|
|
484
|
+
type: "string",
|
|
485
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
486
|
+
},
|
|
487
|
+
spellCheck: {
|
|
488
|
+
required: false,
|
|
489
|
+
control: "boolean",
|
|
490
|
+
type: "boolean",
|
|
491
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
492
|
+
},
|
|
413
493
|
suppressContentEditableWarning: {
|
|
414
494
|
required: false,
|
|
415
495
|
control: "boolean",
|
|
@@ -420,13 +500,24 @@ const props = {
|
|
|
420
500
|
control: "boolean",
|
|
421
501
|
type: "boolean"
|
|
422
502
|
},
|
|
423
|
-
tabIndex: {
|
|
424
|
-
|
|
503
|
+
tabIndex: {
|
|
504
|
+
required: false,
|
|
505
|
+
control: "number",
|
|
506
|
+
type: "number",
|
|
507
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
508
|
+
},
|
|
509
|
+
title: {
|
|
510
|
+
required: false,
|
|
511
|
+
control: "text",
|
|
512
|
+
type: "string",
|
|
513
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
514
|
+
},
|
|
425
515
|
translate: {
|
|
426
516
|
required: false,
|
|
427
517
|
control: "radio",
|
|
428
518
|
type: "string",
|
|
429
|
-
options: ["yes", "no"]
|
|
519
|
+
options: ["yes", "no"],
|
|
520
|
+
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."
|
|
430
521
|
},
|
|
431
522
|
typeof: { required: false, control: "text", type: "string" },
|
|
432
523
|
unselectable: {
|
|
@@ -23,7 +23,12 @@ __export(label_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(label_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,22 +360,77 @@ 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
|
-
|
|
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
|
+
draggable: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "boolean",
|
|
407
|
+
type: "boolean",
|
|
408
|
+
description: "Defines whether the element can be dragged."
|
|
409
|
+
},
|
|
410
|
+
form: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "text",
|
|
413
|
+
type: "string",
|
|
414
|
+
description: "Indicates the form that is the owner of the element."
|
|
415
|
+
},
|
|
416
|
+
hidden: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "boolean",
|
|
419
|
+
type: "boolean",
|
|
420
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
421
|
+
},
|
|
422
|
+
htmlFor: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Associates this Label with an Input. The value of the \u201CFor\u201D attribute should match the ID attribute of the corresponding Input element"
|
|
427
|
+
},
|
|
428
|
+
id: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "text",
|
|
431
|
+
type: "string",
|
|
432
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
433
|
+
},
|
|
374
434
|
inputMode: {
|
|
375
435
|
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",
|
|
376
436
|
required: false,
|
|
@@ -398,20 +458,50 @@ const props = {
|
|
|
398
458
|
itemRef: { required: false, control: "text", type: "string" },
|
|
399
459
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
400
460
|
itemType: { required: false, control: "text", type: "string" },
|
|
401
|
-
lang: {
|
|
461
|
+
lang: {
|
|
462
|
+
required: false,
|
|
463
|
+
control: "text",
|
|
464
|
+
type: "string",
|
|
465
|
+
description: "Defines the language used in the element."
|
|
466
|
+
},
|
|
402
467
|
nonce: { required: false, control: "text", type: "string" },
|
|
403
|
-
placeholder: {
|
|
468
|
+
placeholder: {
|
|
469
|
+
required: false,
|
|
470
|
+
control: "text",
|
|
471
|
+
type: "string",
|
|
472
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
473
|
+
},
|
|
404
474
|
prefix: { required: false, control: "text", type: "string" },
|
|
405
475
|
property: { required: false, control: "text", type: "string" },
|
|
406
476
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
407
|
-
rel: {
|
|
477
|
+
rel: {
|
|
478
|
+
required: false,
|
|
479
|
+
control: "text",
|
|
480
|
+
type: "string",
|
|
481
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
482
|
+
},
|
|
408
483
|
resource: { required: false, control: "text", type: "string" },
|
|
409
484
|
results: { required: false, control: "number", type: "number" },
|
|
410
485
|
rev: { required: false, control: "text", type: "string" },
|
|
411
|
-
role: {
|
|
486
|
+
role: {
|
|
487
|
+
required: false,
|
|
488
|
+
control: "text",
|
|
489
|
+
type: "string",
|
|
490
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
491
|
+
},
|
|
412
492
|
security: { required: false, control: "text", type: "string" },
|
|
413
|
-
slot: {
|
|
414
|
-
|
|
493
|
+
slot: {
|
|
494
|
+
required: false,
|
|
495
|
+
control: "text",
|
|
496
|
+
type: "string",
|
|
497
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
498
|
+
},
|
|
499
|
+
spellCheck: {
|
|
500
|
+
required: false,
|
|
501
|
+
control: "boolean",
|
|
502
|
+
type: "boolean",
|
|
503
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
504
|
+
},
|
|
415
505
|
suppressContentEditableWarning: {
|
|
416
506
|
required: false,
|
|
417
507
|
control: "boolean",
|
|
@@ -422,13 +512,24 @@ const props = {
|
|
|
422
512
|
control: "boolean",
|
|
423
513
|
type: "boolean"
|
|
424
514
|
},
|
|
425
|
-
tabIndex: {
|
|
426
|
-
|
|
515
|
+
tabIndex: {
|
|
516
|
+
required: false,
|
|
517
|
+
control: "number",
|
|
518
|
+
type: "number",
|
|
519
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
520
|
+
},
|
|
521
|
+
title: {
|
|
522
|
+
required: false,
|
|
523
|
+
control: "text",
|
|
524
|
+
type: "string",
|
|
525
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
526
|
+
},
|
|
427
527
|
translate: {
|
|
428
528
|
required: false,
|
|
429
529
|
control: "radio",
|
|
430
530
|
type: "string",
|
|
431
|
-
options: ["yes", "no"]
|
|
531
|
+
options: ["yes", "no"],
|
|
532
|
+
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."
|
|
432
533
|
},
|
|
433
534
|
typeof: { required: false, control: "text", type: "string" },
|
|
434
535
|
unselectable: {
|
|
@@ -23,7 +23,12 @@ __export(link_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(link_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,22 +360,77 @@ 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
|
-
|
|
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
|
+
draggable: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "boolean",
|
|
407
|
+
type: "boolean",
|
|
408
|
+
description: "Defines whether the element can be dragged."
|
|
409
|
+
},
|
|
410
|
+
hidden: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "boolean",
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
415
|
+
},
|
|
416
|
+
href: {
|
|
417
|
+
required: false,
|
|
418
|
+
control: "text",
|
|
419
|
+
type: "string",
|
|
420
|
+
description: "The URL of a linked resource."
|
|
421
|
+
},
|
|
422
|
+
hrefLang: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Specifies the language of the linked resource."
|
|
427
|
+
},
|
|
428
|
+
id: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "text",
|
|
431
|
+
type: "string",
|
|
432
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
433
|
+
},
|
|
374
434
|
inputMode: {
|
|
375
435
|
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",
|
|
376
436
|
required: false,
|
|
@@ -398,11 +458,31 @@ const props = {
|
|
|
398
458
|
itemRef: { required: false, control: "text", type: "string" },
|
|
399
459
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
400
460
|
itemType: { required: false, control: "text", type: "string" },
|
|
401
|
-
lang: {
|
|
402
|
-
|
|
461
|
+
lang: {
|
|
462
|
+
required: false,
|
|
463
|
+
control: "text",
|
|
464
|
+
type: "string",
|
|
465
|
+
description: "Defines the language used in the element."
|
|
466
|
+
},
|
|
467
|
+
media: {
|
|
468
|
+
required: false,
|
|
469
|
+
control: "text",
|
|
470
|
+
type: "string",
|
|
471
|
+
description: "Specifies a hint of the media for which the linked resource was designed."
|
|
472
|
+
},
|
|
403
473
|
nonce: { required: false, control: "text", type: "string" },
|
|
404
|
-
ping: {
|
|
405
|
-
|
|
474
|
+
ping: {
|
|
475
|
+
required: false,
|
|
476
|
+
control: "text",
|
|
477
|
+
type: "string",
|
|
478
|
+
description: "The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink."
|
|
479
|
+
},
|
|
480
|
+
placeholder: {
|
|
481
|
+
required: false,
|
|
482
|
+
control: "text",
|
|
483
|
+
type: "string",
|
|
484
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
485
|
+
},
|
|
406
486
|
prefix: { required: false, control: "text", type: "string" },
|
|
407
487
|
property: { required: false, control: "text", type: "string" },
|
|
408
488
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
@@ -420,16 +500,37 @@ const props = {
|
|
|
420
500
|
"strict-origin",
|
|
421
501
|
"strict-origin-when-cross-origin",
|
|
422
502
|
"unsafe-url"
|
|
423
|
-
]
|
|
503
|
+
],
|
|
504
|
+
description: "Specifies which referrer is sent when fetching the resource."
|
|
505
|
+
},
|
|
506
|
+
rel: {
|
|
507
|
+
required: false,
|
|
508
|
+
control: "text",
|
|
509
|
+
type: "string",
|
|
510
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
424
511
|
},
|
|
425
|
-
rel: { required: false, control: "text", type: "string" },
|
|
426
512
|
resource: { required: false, control: "text", type: "string" },
|
|
427
513
|
results: { required: false, control: "number", type: "number" },
|
|
428
514
|
rev: { required: false, control: "text", type: "string" },
|
|
429
|
-
role: {
|
|
515
|
+
role: {
|
|
516
|
+
required: false,
|
|
517
|
+
control: "text",
|
|
518
|
+
type: "string",
|
|
519
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
520
|
+
},
|
|
430
521
|
security: { required: false, control: "text", type: "string" },
|
|
431
|
-
slot: {
|
|
432
|
-
|
|
522
|
+
slot: {
|
|
523
|
+
required: false,
|
|
524
|
+
control: "text",
|
|
525
|
+
type: "string",
|
|
526
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
527
|
+
},
|
|
528
|
+
spellCheck: {
|
|
529
|
+
required: false,
|
|
530
|
+
control: "boolean",
|
|
531
|
+
type: "boolean",
|
|
532
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
533
|
+
},
|
|
433
534
|
suppressContentEditableWarning: {
|
|
434
535
|
required: false,
|
|
435
536
|
control: "boolean",
|
|
@@ -440,21 +541,38 @@ const props = {
|
|
|
440
541
|
control: "boolean",
|
|
441
542
|
type: "boolean"
|
|
442
543
|
},
|
|
443
|
-
tabIndex: {
|
|
544
|
+
tabIndex: {
|
|
545
|
+
required: false,
|
|
546
|
+
control: "number",
|
|
547
|
+
type: "number",
|
|
548
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
549
|
+
},
|
|
444
550
|
target: {
|
|
445
551
|
required: false,
|
|
446
552
|
control: "select",
|
|
447
553
|
type: "string",
|
|
448
|
-
options: ["_self", "_blank", "_parent", "_top"]
|
|
554
|
+
options: ["_self", "_blank", "_parent", "_top"],
|
|
555
|
+
description: "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)"
|
|
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."
|
|
449
562
|
},
|
|
450
|
-
title: { required: false, control: "text", type: "string" },
|
|
451
563
|
translate: {
|
|
452
564
|
required: false,
|
|
453
565
|
control: "radio",
|
|
454
566
|
type: "string",
|
|
455
|
-
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."
|
|
569
|
+
},
|
|
570
|
+
type: {
|
|
571
|
+
required: false,
|
|
572
|
+
control: "text",
|
|
573
|
+
type: "string",
|
|
574
|
+
description: "Defines the type of the element."
|
|
456
575
|
},
|
|
457
|
-
type: { required: false, control: "text", type: "string" },
|
|
458
576
|
typeof: { required: false, control: "text", type: "string" },
|
|
459
577
|
unselectable: {
|
|
460
578
|
required: false,
|