@webstudio-is/sdk-components-react 0.87.1 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/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 +261 -50
- package/lib/__generated__/code-text.props.js +108 -24
- 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 +263 -51
- 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 +261 -50
- 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 +114 -22
- 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 +2 -1
- 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 +261 -50
- package/lib/cjs/__generated__/code-text.props.js +108 -24
- 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 +263 -51
- 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 +261 -50
- 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 +114 -22
- 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 +2 -1
- 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.js +4 -13
- package/lib/cjs/code-text.ws.js +10 -9
- 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.js +4 -13
- package/lib/code-text.ws.js +8 -7
- 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/code-text.d.ts +2 -8
- package/lib/types/heading.d.ts +1 -0
- package/lib/types/list.d.ts +1 -0
- package/lib/types/text.d.ts +2 -1
- package/lib/types/vimeo-preview-image.d.ts +2 -2
- 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 +289 -47
- package/src/__generated__/code-text.props.ts +121 -23
- 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 +291 -47
- 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 +289 -47
- 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 +128 -21
- 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 +3 -1
- 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.tsx +8 -22
- package/src/code-text.ws.tsx +10 -7
- 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 +2 -1
- 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(vimeo_spinner_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(vimeo_spinner_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(vimeo_props_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(vimeo_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,9 +360,19 @@ 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
|
autopause: {
|
|
362
377
|
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.",
|
|
363
378
|
required: false,
|
|
@@ -387,9 +402,24 @@ const props = {
|
|
|
387
402
|
defaultValue: false
|
|
388
403
|
},
|
|
389
404
|
className: { required: false, control: "text", type: "string" },
|
|
390
|
-
color: {
|
|
391
|
-
|
|
392
|
-
|
|
405
|
+
color: {
|
|
406
|
+
required: false,
|
|
407
|
+
control: "color",
|
|
408
|
+
type: "string",
|
|
409
|
+
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."
|
|
410
|
+
},
|
|
411
|
+
content: {
|
|
412
|
+
required: false,
|
|
413
|
+
control: "text",
|
|
414
|
+
type: "string",
|
|
415
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
416
|
+
},
|
|
417
|
+
contextMenu: {
|
|
418
|
+
required: false,
|
|
419
|
+
control: "text",
|
|
420
|
+
type: "string",
|
|
421
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
422
|
+
},
|
|
393
423
|
controlsColor: {
|
|
394
424
|
description: "A color value of the playback controls, which is normally #00ADEF. The embed settings of the video might override this value.",
|
|
395
425
|
required: false,
|
|
@@ -398,7 +428,12 @@ const props = {
|
|
|
398
428
|
},
|
|
399
429
|
datatype: { required: false, control: "text", type: "string" },
|
|
400
430
|
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
401
|
-
dir: {
|
|
431
|
+
dir: {
|
|
432
|
+
required: false,
|
|
433
|
+
control: "text",
|
|
434
|
+
type: "string",
|
|
435
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
436
|
+
},
|
|
402
437
|
doNotTrack: {
|
|
403
438
|
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.",
|
|
404
439
|
required: false,
|
|
@@ -406,9 +441,24 @@ const props = {
|
|
|
406
441
|
type: "boolean",
|
|
407
442
|
defaultValue: false
|
|
408
443
|
},
|
|
409
|
-
draggable: {
|
|
410
|
-
|
|
411
|
-
|
|
444
|
+
draggable: {
|
|
445
|
+
required: false,
|
|
446
|
+
control: "boolean",
|
|
447
|
+
type: "boolean",
|
|
448
|
+
description: "Defines whether the element can be dragged."
|
|
449
|
+
},
|
|
450
|
+
hidden: {
|
|
451
|
+
required: false,
|
|
452
|
+
control: "boolean",
|
|
453
|
+
type: "boolean",
|
|
454
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
455
|
+
},
|
|
456
|
+
id: {
|
|
457
|
+
required: false,
|
|
458
|
+
control: "text",
|
|
459
|
+
type: "string",
|
|
460
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
461
|
+
},
|
|
412
462
|
inputMode: {
|
|
413
463
|
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",
|
|
414
464
|
required: false,
|
|
@@ -449,7 +499,12 @@ const props = {
|
|
|
449
499
|
type: "boolean",
|
|
450
500
|
defaultValue: true
|
|
451
501
|
},
|
|
452
|
-
lang: {
|
|
502
|
+
lang: {
|
|
503
|
+
required: false,
|
|
504
|
+
control: "text",
|
|
505
|
+
type: "string",
|
|
506
|
+
description: "Defines the language used in the element."
|
|
507
|
+
},
|
|
453
508
|
loop: {
|
|
454
509
|
description: "Whether to restart the video automatically after reaching the end.",
|
|
455
510
|
required: false,
|
|
@@ -472,7 +527,12 @@ const props = {
|
|
|
472
527
|
type: "boolean",
|
|
473
528
|
defaultValue: false
|
|
474
529
|
},
|
|
475
|
-
placeholder: {
|
|
530
|
+
placeholder: {
|
|
531
|
+
required: false,
|
|
532
|
+
control: "text",
|
|
533
|
+
type: "string",
|
|
534
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
535
|
+
},
|
|
476
536
|
playsinline: {
|
|
477
537
|
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.",
|
|
478
538
|
required: false,
|
|
@@ -491,7 +551,12 @@ const props = {
|
|
|
491
551
|
options: ["auto", "360p", "540p", "720p", "1080p", "2k", "4k"]
|
|
492
552
|
},
|
|
493
553
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
494
|
-
rel: {
|
|
554
|
+
rel: {
|
|
555
|
+
required: false,
|
|
556
|
+
control: "text",
|
|
557
|
+
type: "string",
|
|
558
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
559
|
+
},
|
|
495
560
|
resource: { required: false, control: "text", type: "string" },
|
|
496
561
|
responsive: {
|
|
497
562
|
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.",
|
|
@@ -502,7 +567,12 @@ const props = {
|
|
|
502
567
|
},
|
|
503
568
|
results: { required: false, control: "number", type: "number" },
|
|
504
569
|
rev: { required: false, control: "text", type: "string" },
|
|
505
|
-
role: {
|
|
570
|
+
role: {
|
|
571
|
+
required: false,
|
|
572
|
+
control: "text",
|
|
573
|
+
type: "string",
|
|
574
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
575
|
+
},
|
|
506
576
|
security: { required: false, control: "text", type: "string" },
|
|
507
577
|
showByline: {
|
|
508
578
|
description: "Whether to display the video owner's name.",
|
|
@@ -539,7 +609,12 @@ const props = {
|
|
|
539
609
|
type: "boolean",
|
|
540
610
|
defaultValue: false
|
|
541
611
|
},
|
|
542
|
-
slot: {
|
|
612
|
+
slot: {
|
|
613
|
+
required: false,
|
|
614
|
+
control: "text",
|
|
615
|
+
type: "string",
|
|
616
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
617
|
+
},
|
|
543
618
|
speed: {
|
|
544
619
|
description: "Whether the player displays speed controls in the preferences menu and enables the playback rate API.",
|
|
545
620
|
required: false,
|
|
@@ -547,7 +622,12 @@ const props = {
|
|
|
547
622
|
type: "boolean",
|
|
548
623
|
defaultValue: false
|
|
549
624
|
},
|
|
550
|
-
spellCheck: {
|
|
625
|
+
spellCheck: {
|
|
626
|
+
required: false,
|
|
627
|
+
control: "boolean",
|
|
628
|
+
type: "boolean",
|
|
629
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
630
|
+
},
|
|
551
631
|
suppressContentEditableWarning: {
|
|
552
632
|
required: false,
|
|
553
633
|
control: "boolean",
|
|
@@ -558,19 +638,30 @@ const props = {
|
|
|
558
638
|
control: "boolean",
|
|
559
639
|
type: "boolean"
|
|
560
640
|
},
|
|
561
|
-
tabIndex: {
|
|
641
|
+
tabIndex: {
|
|
642
|
+
required: false,
|
|
643
|
+
control: "number",
|
|
644
|
+
type: "number",
|
|
645
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
646
|
+
},
|
|
562
647
|
texttrack: {
|
|
563
648
|
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.",
|
|
564
649
|
required: false,
|
|
565
650
|
control: "text",
|
|
566
651
|
type: "string"
|
|
567
652
|
},
|
|
568
|
-
title: {
|
|
653
|
+
title: {
|
|
654
|
+
required: false,
|
|
655
|
+
control: "text",
|
|
656
|
+
type: "string",
|
|
657
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
658
|
+
},
|
|
569
659
|
translate: {
|
|
570
660
|
required: false,
|
|
571
661
|
control: "radio",
|
|
572
662
|
type: "string",
|
|
573
|
-
options: ["yes", "no"]
|
|
663
|
+
options: ["yes", "no"],
|
|
664
|
+
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."
|
|
574
665
|
},
|
|
575
666
|
transparent: {
|
|
576
667
|
description: "Whether the responsive player and transparent background are enabled.",
|
|
@@ -587,7 +678,7 @@ const props = {
|
|
|
587
678
|
options: ["on", "off"]
|
|
588
679
|
},
|
|
589
680
|
url: {
|
|
590
|
-
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
|
|
681
|
+
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.",
|
|
591
682
|
required: false,
|
|
592
683
|
control: "text",
|
|
593
684
|
type: "string"
|
package/lib/cjs/blockquote.ws.js
CHANGED
|
@@ -77,6 +77,7 @@ const meta = {
|
|
|
77
77
|
category: "text",
|
|
78
78
|
type: "container",
|
|
79
79
|
label: "Blockquote",
|
|
80
|
+
description: "Use to style a quote from an external source like an article or book.",
|
|
80
81
|
icon: import_svg.BlockquoteIcon,
|
|
81
82
|
states: import_react_sdk.defaultStates,
|
|
82
83
|
presetStyle,
|
|
@@ -91,5 +92,5 @@ const meta = {
|
|
|
91
92
|
};
|
|
92
93
|
const propsMeta = {
|
|
93
94
|
props: import_blockquote.props,
|
|
94
|
-
initialProps: ["id"]
|
|
95
|
+
initialProps: ["id", "cite"]
|
|
95
96
|
};
|
package/lib/cjs/box.ws.js
CHANGED
|
@@ -42,6 +42,7 @@ const meta = {
|
|
|
42
42
|
category: "general",
|
|
43
43
|
type: "container",
|
|
44
44
|
label: "Box",
|
|
45
|
+
description: "A container for content. By default this is a Div, but the tag can be changed in settings.",
|
|
45
46
|
icon: import_svg.BoxIcon,
|
|
46
47
|
states: import_react_sdk.defaultStates,
|
|
47
48
|
presetStyle,
|
package/lib/cjs/button.ws.js
CHANGED
|
@@ -34,6 +34,7 @@ const meta = {
|
|
|
34
34
|
type: "container",
|
|
35
35
|
invalidAncestors: ["Button"],
|
|
36
36
|
label: "Button",
|
|
37
|
+
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.",
|
|
37
38
|
icon: import_svg.ButtonElementIcon,
|
|
38
39
|
presetStyle,
|
|
39
40
|
states: [
|
package/lib/cjs/checkbox.ws.js
CHANGED
|
@@ -40,6 +40,7 @@ const meta = {
|
|
|
40
40
|
invalidAncestors: ["Button"],
|
|
41
41
|
type: "control",
|
|
42
42
|
label: "Checkbox",
|
|
43
|
+
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.",
|
|
43
44
|
icon: import_svg.CheckboxCheckedIcon,
|
|
44
45
|
presetStyle,
|
|
45
46
|
order: 6,
|
package/lib/cjs/code-text.js
CHANGED
|
@@ -19,21 +19,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var code_text_exports = {};
|
|
20
20
|
__export(code_text_exports, {
|
|
21
21
|
CodeText: () => CodeText,
|
|
22
|
-
defaultTag: () => defaultTag
|
|
23
|
-
displayVarNamespace: () => displayVarNamespace
|
|
22
|
+
defaultTag: () => defaultTag
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(code_text_exports);
|
|
26
25
|
var import_react = require("react");
|
|
27
|
-
var import_css_vars = require("@webstudio-is/css-vars");
|
|
28
26
|
const defaultTag = "code";
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
const CodeText = (0, import_react.forwardRef)(
|
|
34
|
-
({ inline = false, ...props }, ref) => {
|
|
35
|
-
const style = inline ? void 0 : blockStyle;
|
|
36
|
-
return (0, import_react.createElement)(defaultTag, { ...props, style, ref });
|
|
37
|
-
}
|
|
38
|
-
);
|
|
27
|
+
const CodeText = (0, import_react.forwardRef)((props, ref) => {
|
|
28
|
+
return (0, import_react.createElement)(defaultTag, { ...props, ref });
|
|
29
|
+
});
|
|
39
30
|
CodeText.displayName = "CodeText";
|
package/lib/cjs/code-text.ws.js
CHANGED
|
@@ -25,18 +25,17 @@ module.exports = __toCommonJS(code_text_ws_exports);
|
|
|
25
25
|
var import_svg = require("@webstudio-is/icons/svg");
|
|
26
26
|
var import_react_sdk = require("@webstudio-is/react-sdk");
|
|
27
27
|
var import_css_normalize = require("@webstudio-is/react-sdk/css-normalize");
|
|
28
|
-
var import_code_text = require("./code-text");
|
|
29
|
-
var import_code_text2 = require("./__generated__/code-text.props");
|
|
28
|
+
var import_code_text = require("./__generated__/code-text.props");
|
|
30
29
|
const presetStyle = {
|
|
31
30
|
code: [
|
|
32
31
|
...import_css_normalize.code,
|
|
33
32
|
{
|
|
34
33
|
property: "display",
|
|
35
|
-
value: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
34
|
+
value: { type: "keyword", value: "block" }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
property: "whiteSpace",
|
|
38
|
+
value: { type: "keyword", value: "pre-wrap" }
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
41
|
property: "paddingLeft",
|
|
@@ -56,7 +55,9 @@ const meta = {
|
|
|
56
55
|
category: "general",
|
|
57
56
|
type: "container",
|
|
58
57
|
label: "Code Text",
|
|
58
|
+
description: "Use this component when you want to display code as text on the page.",
|
|
59
59
|
icon: import_svg.CodeTextIcon,
|
|
60
|
+
invalidAncestors: ["CodeText"],
|
|
60
61
|
states: import_react_sdk.defaultStates,
|
|
61
62
|
presetStyle,
|
|
62
63
|
template: [
|
|
@@ -69,6 +70,6 @@ const meta = {
|
|
|
69
70
|
order: 8
|
|
70
71
|
};
|
|
71
72
|
const propsMeta = {
|
|
72
|
-
props:
|
|
73
|
-
initialProps: ["id", "
|
|
73
|
+
props: import_code_text.props,
|
|
74
|
+
initialProps: ["id", "lang"]
|
|
74
75
|
};
|
package/lib/cjs/form.ws.js
CHANGED
package/lib/cjs/heading.ws.js
CHANGED
|
@@ -38,7 +38,9 @@ const meta = {
|
|
|
38
38
|
category: "text",
|
|
39
39
|
type: "container",
|
|
40
40
|
label: "Heading",
|
|
41
|
+
description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).",
|
|
41
42
|
icon: import_svg.HeadingIcon,
|
|
43
|
+
invalidAncestors: ["Heading"],
|
|
42
44
|
states: import_react_sdk.defaultStates,
|
|
43
45
|
presetStyle,
|
|
44
46
|
template: [
|
package/lib/cjs/html-embed.ws.js
CHANGED
package/lib/cjs/image.ws.js
CHANGED
|
@@ -47,6 +47,7 @@ const meta = {
|
|
|
47
47
|
category: "media",
|
|
48
48
|
type: "embed",
|
|
49
49
|
label: "Image",
|
|
50
|
+
description: "Add an image asset to the page. Webstudio automatically converts images to WebP or AVIF format and makes them responsive for best performance.",
|
|
50
51
|
icon: import_svg.ImageIcon,
|
|
51
52
|
states: import_react_sdk.defaultStates,
|
|
52
53
|
presetStyle,
|
package/lib/cjs/input.ws.js
CHANGED
package/lib/cjs/label.ws.js
CHANGED
package/lib/cjs/link.ws.js
CHANGED
|
@@ -43,7 +43,9 @@ const meta = {
|
|
|
43
43
|
category: "general",
|
|
44
44
|
type: "container",
|
|
45
45
|
label: "Link",
|
|
46
|
+
description: "Use a link to send your users to another page, section, or resource. Configure links in the Settings panel.",
|
|
46
47
|
icon: import_svg.LinkIcon,
|
|
48
|
+
invalidAncestors: ["Link"],
|
|
47
49
|
presetStyle,
|
|
48
50
|
order: 1,
|
|
49
51
|
states: [
|
package/lib/cjs/list-item.ws.js
CHANGED
package/lib/cjs/list.ws.js
CHANGED
package/lib/cjs/paragraph.ws.js
CHANGED
|
@@ -33,7 +33,9 @@ const meta = {
|
|
|
33
33
|
category: "text",
|
|
34
34
|
type: "container",
|
|
35
35
|
label: "Paragraph",
|
|
36
|
+
description: "A container for multi-line text.",
|
|
36
37
|
icon: import_svg.TextAlignLeftIcon,
|
|
38
|
+
invalidAncestors: ["Paragraph"],
|
|
37
39
|
states: import_react_sdk.defaultStates,
|
|
38
40
|
presetStyle,
|
|
39
41
|
template: [
|
|
@@ -40,6 +40,7 @@ const meta = {
|
|
|
40
40
|
invalidAncestors: ["Button"],
|
|
41
41
|
type: "control",
|
|
42
42
|
label: "Radio",
|
|
43
|
+
description: "Use within a form to allow your users to select a single option from a set of mutually exclusive choices. Group multiple radios by matching their \u201CName\u201D properties.",
|
|
43
44
|
icon: import_svg.RadioCheckedIcon,
|
|
44
45
|
presetStyle,
|
|
45
46
|
order: 5,
|
package/lib/cjs/separator.ws.js
CHANGED
|
@@ -59,6 +59,7 @@ const meta = {
|
|
|
59
59
|
category: "general",
|
|
60
60
|
type: "embed",
|
|
61
61
|
label: "Separator",
|
|
62
|
+
description: "Used to visually divide sections of content, helping to improve readability and organization within a webpage.",
|
|
62
63
|
icon: import_svg.DashIcon,
|
|
63
64
|
states: import_react_sdk.defaultStates,
|
|
64
65
|
presetStyle,
|
package/lib/cjs/text.ws.js
CHANGED