@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,9 +337,19 @@ 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
|
autopause: {
|
|
339
354
|
description: "Whether to pause the current video when another Vimeo video on the same page starts to play. Set this value to false to permit simultaneous playback of all the videos on the page. This option has no effect if you've disabled cookies in your browser, either through browser settings or with an extension or plugin.",
|
|
340
355
|
required: false,
|
|
@@ -364,9 +379,24 @@ const props = {
|
|
|
364
379
|
defaultValue: false
|
|
365
380
|
},
|
|
366
381
|
className: { required: false, control: "text", type: "string" },
|
|
367
|
-
color: {
|
|
368
|
-
|
|
369
|
-
|
|
382
|
+
color: {
|
|
383
|
+
required: false,
|
|
384
|
+
control: "color",
|
|
385
|
+
type: "string",
|
|
386
|
+
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."
|
|
387
|
+
},
|
|
388
|
+
content: {
|
|
389
|
+
required: false,
|
|
390
|
+
control: "text",
|
|
391
|
+
type: "string",
|
|
392
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
393
|
+
},
|
|
394
|
+
contextMenu: {
|
|
395
|
+
required: false,
|
|
396
|
+
control: "text",
|
|
397
|
+
type: "string",
|
|
398
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
399
|
+
},
|
|
370
400
|
controlsColor: {
|
|
371
401
|
description: "A color value of the playback controls, which is normally #00ADEF. The embed settings of the video might override this value.",
|
|
372
402
|
required: false,
|
|
@@ -375,7 +405,12 @@ const props = {
|
|
|
375
405
|
},
|
|
376
406
|
datatype: { required: false, control: "text", type: "string" },
|
|
377
407
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
378
|
-
dir: {
|
|
408
|
+
dir: {
|
|
409
|
+
required: false,
|
|
410
|
+
control: "text",
|
|
411
|
+
type: "string",
|
|
412
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
413
|
+
},
|
|
379
414
|
doNotTrack: {
|
|
380
415
|
description: "Whether to prevent the player from tracking session data, including cookies. Keep in mind that setting this argument to true also blocks video stats.",
|
|
381
416
|
required: false,
|
|
@@ -383,9 +418,24 @@ const props = {
|
|
|
383
418
|
type: "boolean",
|
|
384
419
|
defaultValue: false
|
|
385
420
|
},
|
|
386
|
-
draggable: {
|
|
387
|
-
|
|
388
|
-
|
|
421
|
+
draggable: {
|
|
422
|
+
required: false,
|
|
423
|
+
control: "boolean",
|
|
424
|
+
type: "boolean",
|
|
425
|
+
description: "Defines whether the element can be dragged."
|
|
426
|
+
},
|
|
427
|
+
hidden: {
|
|
428
|
+
required: false,
|
|
429
|
+
control: "boolean",
|
|
430
|
+
type: "boolean",
|
|
431
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
432
|
+
},
|
|
433
|
+
id: {
|
|
434
|
+
required: false,
|
|
435
|
+
control: "text",
|
|
436
|
+
type: "string",
|
|
437
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
438
|
+
},
|
|
389
439
|
inputMode: {
|
|
390
440
|
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",
|
|
391
441
|
required: false,
|
|
@@ -426,7 +476,12 @@ const props = {
|
|
|
426
476
|
type: "boolean",
|
|
427
477
|
defaultValue: true
|
|
428
478
|
},
|
|
429
|
-
lang: {
|
|
479
|
+
lang: {
|
|
480
|
+
required: false,
|
|
481
|
+
control: "text",
|
|
482
|
+
type: "string",
|
|
483
|
+
description: "Defines the language used in the element."
|
|
484
|
+
},
|
|
430
485
|
loop: {
|
|
431
486
|
description: "Whether to restart the video automatically after reaching the end.",
|
|
432
487
|
required: false,
|
|
@@ -449,7 +504,12 @@ const props = {
|
|
|
449
504
|
type: "boolean",
|
|
450
505
|
defaultValue: false
|
|
451
506
|
},
|
|
452
|
-
placeholder: {
|
|
507
|
+
placeholder: {
|
|
508
|
+
required: false,
|
|
509
|
+
control: "text",
|
|
510
|
+
type: "string",
|
|
511
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
512
|
+
},
|
|
453
513
|
playsinline: {
|
|
454
514
|
description: "Whether the video plays inline on supported mobile devices. To force the device to play the video in fullscreen mode instead, set this value to false.",
|
|
455
515
|
required: false,
|
|
@@ -468,7 +528,12 @@ const props = {
|
|
|
468
528
|
options: ["auto", "360p", "540p", "720p", "1080p", "2k", "4k"]
|
|
469
529
|
},
|
|
470
530
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
471
|
-
rel: {
|
|
531
|
+
rel: {
|
|
532
|
+
required: false,
|
|
533
|
+
control: "text",
|
|
534
|
+
type: "string",
|
|
535
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
536
|
+
},
|
|
472
537
|
resource: { required: false, control: "text", type: "string" },
|
|
473
538
|
responsive: {
|
|
474
539
|
description: "Whether to return a responsive embed code, or one that provides intelligent adjustments based on viewing conditions. We recommend this option for mobile-optimized sites.",
|
|
@@ -479,7 +544,12 @@ const props = {
|
|
|
479
544
|
},
|
|
480
545
|
results: { required: false, control: "number", type: "number" },
|
|
481
546
|
rev: { required: false, control: "text", type: "string" },
|
|
482
|
-
role: {
|
|
547
|
+
role: {
|
|
548
|
+
required: false,
|
|
549
|
+
control: "text",
|
|
550
|
+
type: "string",
|
|
551
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
552
|
+
},
|
|
483
553
|
security: { required: false, control: "text", type: "string" },
|
|
484
554
|
showByline: {
|
|
485
555
|
description: "Whether to display the video owner's name.",
|
|
@@ -516,7 +586,12 @@ const props = {
|
|
|
516
586
|
type: "boolean",
|
|
517
587
|
defaultValue: false
|
|
518
588
|
},
|
|
519
|
-
slot: {
|
|
589
|
+
slot: {
|
|
590
|
+
required: false,
|
|
591
|
+
control: "text",
|
|
592
|
+
type: "string",
|
|
593
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
594
|
+
},
|
|
520
595
|
speed: {
|
|
521
596
|
description: "Whether the player displays speed controls in the preferences menu and enables the playback rate API.",
|
|
522
597
|
required: false,
|
|
@@ -524,7 +599,12 @@ const props = {
|
|
|
524
599
|
type: "boolean",
|
|
525
600
|
defaultValue: false
|
|
526
601
|
},
|
|
527
|
-
spellCheck: {
|
|
602
|
+
spellCheck: {
|
|
603
|
+
required: false,
|
|
604
|
+
control: "boolean",
|
|
605
|
+
type: "boolean",
|
|
606
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
607
|
+
},
|
|
528
608
|
suppressContentEditableWarning: {
|
|
529
609
|
required: false,
|
|
530
610
|
control: "boolean",
|
|
@@ -535,19 +615,30 @@ const props = {
|
|
|
535
615
|
control: "boolean",
|
|
536
616
|
type: "boolean"
|
|
537
617
|
},
|
|
538
|
-
tabIndex: {
|
|
618
|
+
tabIndex: {
|
|
619
|
+
required: false,
|
|
620
|
+
control: "number",
|
|
621
|
+
type: "number",
|
|
622
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
623
|
+
},
|
|
539
624
|
texttrack: {
|
|
540
625
|
description: "The text track to display with the video. Specify the text track by its language code (en), the language code and locale (en-US), or the language code and kind (en.captions). For this argument to work, the video must already have a text track of the given type; see our Help Center or Working with Text Track Uploads for more information.\nTo enable automatically generated closed captions instead, provide the value en-x-autogen. Please note that, at the present time, automatic captions are always in English.",
|
|
541
626
|
required: false,
|
|
542
627
|
control: "text",
|
|
543
628
|
type: "string"
|
|
544
629
|
},
|
|
545
|
-
title: {
|
|
630
|
+
title: {
|
|
631
|
+
required: false,
|
|
632
|
+
control: "text",
|
|
633
|
+
type: "string",
|
|
634
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
635
|
+
},
|
|
546
636
|
translate: {
|
|
547
637
|
required: false,
|
|
548
638
|
control: "radio",
|
|
549
639
|
type: "string",
|
|
550
|
-
options: ["yes", "no"]
|
|
640
|
+
options: ["yes", "no"],
|
|
641
|
+
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."
|
|
551
642
|
},
|
|
552
643
|
transparent: {
|
|
553
644
|
description: "Whether the responsive player and transparent background are enabled.",
|
|
@@ -564,7 +655,7 @@ const props = {
|
|
|
564
655
|
options: ["on", "off"]
|
|
565
656
|
},
|
|
566
657
|
url: {
|
|
567
|
-
description: "The ID or the URL of the video on Vimeo. You must supply one of these values to identify the video. When the video's privacy setting is Private, you must use the URL, and the URL must include the h parameter. For more information, see
|
|
658
|
+
description: "The ID or the URL of the video on Vimeo. You must supply one of these values to identify the video. When the video's privacy setting is Private, you must use the URL, and the URL must include the h parameter. For more information, see Vimeo\u2019s introductory guide.",
|
|
568
659
|
required: false,
|
|
569
660
|
control: "text",
|
|
570
661
|
type: "string"
|
package/lib/blockquote.ws.js
CHANGED
package/lib/box.ws.js
CHANGED
package/lib/button.ws.js
CHANGED
|
@@ -12,6 +12,7 @@ const meta = {
|
|
|
12
12
|
type: "container",
|
|
13
13
|
invalidAncestors: ["Button"],
|
|
14
14
|
label: "Button",
|
|
15
|
+
description: "Use a button to submit forms or trigger actions within a page. Do not use a button to navigate users to another resource or another page - that\u2019s what a link is used for.",
|
|
15
16
|
icon: ButtonElementIcon,
|
|
16
17
|
presetStyle,
|
|
17
18
|
states: [
|
package/lib/checkbox.ws.js
CHANGED
|
@@ -18,6 +18,7 @@ const meta = {
|
|
|
18
18
|
invalidAncestors: ["Button"],
|
|
19
19
|
type: "control",
|
|
20
20
|
label: "Checkbox",
|
|
21
|
+
description: "Use within a form to allow your users to toggle between checked and not checked. Group checkboxes by matching their \u201CName\u201D properties. Unlike radios, any number of checkboxes in a group can be checked.",
|
|
21
22
|
icon: CheckboxCheckedIcon,
|
|
22
23
|
presetStyle,
|
|
23
24
|
order: 6,
|
|
@@ -23,7 +23,12 @@ __export(blockquote_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(blockquote_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,21 +360,71 @@ 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
|
-
cite: {
|
|
377
|
+
cite: {
|
|
378
|
+
required: false,
|
|
379
|
+
control: "text",
|
|
380
|
+
type: "string",
|
|
381
|
+
description: "Contains a URI which points to the source of the quote or change."
|
|
382
|
+
},
|
|
363
383
|
className: { required: false, control: "text", type: "string" },
|
|
364
|
-
color: {
|
|
365
|
-
|
|
366
|
-
|
|
384
|
+
color: {
|
|
385
|
+
required: false,
|
|
386
|
+
control: "color",
|
|
387
|
+
type: "string",
|
|
388
|
+
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."
|
|
389
|
+
},
|
|
390
|
+
content: {
|
|
391
|
+
required: false,
|
|
392
|
+
control: "text",
|
|
393
|
+
type: "string",
|
|
394
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
395
|
+
},
|
|
396
|
+
contextMenu: {
|
|
397
|
+
required: false,
|
|
398
|
+
control: "text",
|
|
399
|
+
type: "string",
|
|
400
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
401
|
+
},
|
|
367
402
|
datatype: { required: false, control: "text", type: "string" },
|
|
368
403
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
369
|
-
dir: {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
404
|
+
dir: {
|
|
405
|
+
required: false,
|
|
406
|
+
control: "text",
|
|
407
|
+
type: "string",
|
|
408
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
409
|
+
},
|
|
410
|
+
draggable: {
|
|
411
|
+
required: false,
|
|
412
|
+
control: "boolean",
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "Defines whether the element can be dragged."
|
|
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
|
+
id: {
|
|
423
|
+
required: false,
|
|
424
|
+
control: "text",
|
|
425
|
+
type: "string",
|
|
426
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
427
|
+
},
|
|
373
428
|
inputMode: {
|
|
374
429
|
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",
|
|
375
430
|
required: false,
|
|
@@ -397,20 +452,50 @@ const props = {
|
|
|
397
452
|
itemRef: { required: false, control: "text", type: "string" },
|
|
398
453
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
399
454
|
itemType: { required: false, control: "text", type: "string" },
|
|
400
|
-
lang: {
|
|
455
|
+
lang: {
|
|
456
|
+
required: false,
|
|
457
|
+
control: "text",
|
|
458
|
+
type: "string",
|
|
459
|
+
description: "Defines the language used in the element."
|
|
460
|
+
},
|
|
401
461
|
nonce: { required: false, control: "text", type: "string" },
|
|
402
|
-
placeholder: {
|
|
462
|
+
placeholder: {
|
|
463
|
+
required: false,
|
|
464
|
+
control: "text",
|
|
465
|
+
type: "string",
|
|
466
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
467
|
+
},
|
|
403
468
|
prefix: { required: false, control: "text", type: "string" },
|
|
404
469
|
property: { required: false, control: "text", type: "string" },
|
|
405
470
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
406
|
-
rel: {
|
|
471
|
+
rel: {
|
|
472
|
+
required: false,
|
|
473
|
+
control: "text",
|
|
474
|
+
type: "string",
|
|
475
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
476
|
+
},
|
|
407
477
|
resource: { required: false, control: "text", type: "string" },
|
|
408
478
|
results: { required: false, control: "number", type: "number" },
|
|
409
479
|
rev: { required: false, control: "text", type: "string" },
|
|
410
|
-
role: {
|
|
480
|
+
role: {
|
|
481
|
+
required: false,
|
|
482
|
+
control: "text",
|
|
483
|
+
type: "string",
|
|
484
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
485
|
+
},
|
|
411
486
|
security: { required: false, control: "text", type: "string" },
|
|
412
|
-
slot: {
|
|
413
|
-
|
|
487
|
+
slot: {
|
|
488
|
+
required: false,
|
|
489
|
+
control: "text",
|
|
490
|
+
type: "string",
|
|
491
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
492
|
+
},
|
|
493
|
+
spellCheck: {
|
|
494
|
+
required: false,
|
|
495
|
+
control: "boolean",
|
|
496
|
+
type: "boolean",
|
|
497
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
498
|
+
},
|
|
414
499
|
suppressContentEditableWarning: {
|
|
415
500
|
required: false,
|
|
416
501
|
control: "boolean",
|
|
@@ -421,13 +506,24 @@ const props = {
|
|
|
421
506
|
control: "boolean",
|
|
422
507
|
type: "boolean"
|
|
423
508
|
},
|
|
424
|
-
tabIndex: {
|
|
425
|
-
|
|
509
|
+
tabIndex: {
|
|
510
|
+
required: false,
|
|
511
|
+
control: "number",
|
|
512
|
+
type: "number",
|
|
513
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
514
|
+
},
|
|
515
|
+
title: {
|
|
516
|
+
required: false,
|
|
517
|
+
control: "text",
|
|
518
|
+
type: "string",
|
|
519
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
520
|
+
},
|
|
426
521
|
translate: {
|
|
427
522
|
required: false,
|
|
428
523
|
control: "radio",
|
|
429
524
|
type: "string",
|
|
430
|
-
options: ["yes", "no"]
|
|
525
|
+
options: ["yes", "no"],
|
|
526
|
+
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."
|
|
431
527
|
},
|
|
432
528
|
typeof: { required: false, control: "text", type: "string" },
|
|
433
529
|
unselectable: {
|