@webstudio-is/sdk-components-react 0.75.0 → 0.77.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 +84 -88
- package/lib/__generated__/body.props.js +83 -87
- package/lib/__generated__/bold.props.js +83 -87
- package/lib/__generated__/box.props.js +83 -87
- package/lib/__generated__/button.props.js +98 -103
- package/lib/__generated__/checkbox.props.js +120 -127
- package/lib/__generated__/code-text.props.js +84 -88
- package/lib/__generated__/form.props.js +90 -94
- package/lib/__generated__/heading.props.js +83 -87
- package/lib/__generated__/image.props.js +124 -128
- package/lib/__generated__/input.props.js +126 -133
- package/lib/__generated__/italic.props.js +83 -87
- package/lib/__generated__/label.props.js +85 -89
- package/lib/__generated__/link.props.js +110 -115
- package/lib/__generated__/list-item.props.js +83 -88
- package/lib/__generated__/list.props.js +87 -91
- package/lib/__generated__/paragraph.props.js +83 -87
- package/lib/__generated__/radio-button.props.js +120 -127
- package/lib/__generated__/rich-text-link.props.js +110 -115
- package/lib/__generated__/separator.props.js +83 -87
- package/lib/__generated__/span.props.js +83 -87
- package/lib/__generated__/subscript.props.js +83 -87
- package/lib/__generated__/superscript.props.js +83 -87
- package/lib/__generated__/text.props.js +83 -87
- package/lib/__generated__/textarea.props.js +95 -101
- package/lib/__generated__/vimeo-play-button.props.js +97 -102
- package/lib/__generated__/vimeo-preview-image.props.js +124 -128
- package/lib/__generated__/vimeo-spinner.props.js +83 -87
- package/lib/__generated__/vimeo.props.js +127 -131
- package/lib/blockquote.ws.js +2 -46
- package/lib/body.ws.js +1 -21
- package/lib/cjs/__generated__/blockquote.props.js +84 -88
- package/lib/cjs/__generated__/body.props.js +83 -87
- package/lib/cjs/__generated__/bold.props.js +83 -87
- package/lib/cjs/__generated__/box.props.js +83 -87
- package/lib/cjs/__generated__/button.props.js +98 -103
- package/lib/cjs/__generated__/checkbox.props.js +120 -127
- package/lib/cjs/__generated__/code-text.props.js +84 -88
- package/lib/cjs/__generated__/form.props.js +90 -94
- package/lib/cjs/__generated__/heading.props.js +83 -87
- package/lib/cjs/__generated__/image.props.js +124 -128
- package/lib/cjs/__generated__/input.props.js +126 -133
- package/lib/cjs/__generated__/italic.props.js +83 -87
- package/lib/cjs/__generated__/label.props.js +85 -89
- package/lib/cjs/__generated__/link.props.js +110 -115
- package/lib/cjs/__generated__/list-item.props.js +83 -88
- package/lib/cjs/__generated__/list.props.js +87 -91
- package/lib/cjs/__generated__/paragraph.props.js +83 -87
- package/lib/cjs/__generated__/radio-button.props.js +120 -127
- package/lib/cjs/__generated__/rich-text-link.props.js +110 -115
- package/lib/cjs/__generated__/separator.props.js +83 -87
- package/lib/cjs/__generated__/span.props.js +83 -87
- package/lib/cjs/__generated__/subscript.props.js +83 -87
- package/lib/cjs/__generated__/superscript.props.js +83 -87
- package/lib/cjs/__generated__/text.props.js +83 -87
- package/lib/cjs/__generated__/textarea.props.js +95 -101
- package/lib/cjs/__generated__/vimeo-play-button.props.js +97 -102
- package/lib/cjs/__generated__/vimeo-preview-image.props.js +124 -128
- package/lib/cjs/__generated__/vimeo-spinner.props.js +83 -87
- package/lib/cjs/__generated__/vimeo.props.js +127 -131
- package/lib/cjs/blockquote.ws.js +2 -46
- package/lib/cjs/body.ws.js +1 -21
- package/lib/cjs/code-text.js +2 -2
- package/lib/cjs/components.js +0 -4
- package/lib/cjs/form.ws.js +1 -0
- package/lib/cjs/link.js +6 -2
- package/lib/cjs/list.ws.js +1 -1
- package/lib/cjs/metas.js +0 -4
- package/lib/cjs/props.js +0 -4
- package/lib/code-text.js +2 -2
- package/lib/components.js +0 -4
- package/lib/form.ws.js +1 -0
- package/lib/link.js +6 -2
- package/lib/list.ws.js +1 -1
- package/lib/metas.js +14 -18
- package/lib/props.js +14 -18
- package/lib/types/code-text.d.ts +1 -1
- package/lib/types/components.d.ts +0 -2
- package/lib/types/metas.d.ts +0 -2
- package/lib/types/props.d.ts +0 -2
- package/package.json +10 -11
- package/src/__generated__/blockquote.props.ts +85 -89
- package/src/__generated__/body.props.ts +84 -88
- package/src/__generated__/bold.props.ts +84 -88
- package/src/__generated__/box.props.ts +84 -88
- package/src/__generated__/button.props.ts +99 -104
- package/src/__generated__/checkbox.props.ts +121 -128
- package/src/__generated__/code-text.props.ts +85 -89
- package/src/__generated__/form.props.ts +91 -95
- package/src/__generated__/heading.props.ts +84 -88
- package/src/__generated__/image.props.ts +126 -130
- package/src/__generated__/input.props.ts +127 -134
- package/src/__generated__/italic.props.ts +84 -88
- package/src/__generated__/label.props.ts +86 -90
- package/src/__generated__/link.props.ts +111 -116
- package/src/__generated__/list-item.props.ts +84 -89
- package/src/__generated__/list.props.ts +88 -92
- package/src/__generated__/paragraph.props.ts +84 -88
- package/src/__generated__/radio-button.props.ts +121 -128
- package/src/__generated__/rich-text-link.props.ts +111 -116
- package/src/__generated__/separator.props.ts +84 -88
- package/src/__generated__/span.props.ts +84 -88
- package/src/__generated__/subscript.props.ts +84 -88
- package/src/__generated__/superscript.props.ts +84 -88
- package/src/__generated__/text.props.ts +84 -88
- package/src/__generated__/textarea.props.ts +96 -102
- package/src/__generated__/vimeo-play-button.props.ts +98 -103
- package/src/__generated__/vimeo-preview-image.props.ts +126 -130
- package/src/__generated__/vimeo-spinner.props.ts +84 -88
- package/src/__generated__/vimeo.props.ts +131 -135
- package/src/blockquote.ws.tsx +2 -48
- package/src/body.ws.tsx +1 -21
- package/src/code-text.tsx +2 -2
- package/src/components.ts +0 -2
- package/src/form.ws.tsx +1 -0
- package/src/link.tsx +7 -2
- package/src/list.ws.tsx +1 -1
- package/src/metas.ts +0 -2
- package/src/props.ts +0 -2
- package/src/subscript.stories.tsx +9 -9
- package/lib/__generated__/error-message.props.js +0 -398
- package/lib/__generated__/success-message.props.js +0 -398
- package/lib/cjs/__generated__/error-message.props.js +0 -418
- package/lib/cjs/__generated__/success-message.props.js +0 -418
- package/lib/cjs/error-message.js +0 -29
- package/lib/cjs/error-message.ws.js +0 -40
- package/lib/cjs/success-message.js +0 -29
- package/lib/cjs/success-message.ws.js +0 -40
- package/lib/error-message.js +0 -9
- package/lib/error-message.ws.js +0 -20
- package/lib/success-message.js +0 -9
- package/lib/success-message.ws.js +0 -20
- package/lib/types/__generated__/error-message.props.d.ts +0 -2
- package/lib/types/__generated__/success-message.props.d.ts +0 -2
- package/lib/types/blockquote.stories.d.ts +0 -5
- package/lib/types/body.stories.d.ts +0 -6
- package/lib/types/bold.stories.d.ts +0 -5
- package/lib/types/box.stories.d.ts +0 -9
- package/lib/types/button.stories.d.ts +0 -5
- package/lib/types/code-text.stories.d.ts +0 -11
- package/lib/types/error-message.d.ts +0 -3
- package/lib/types/error-message.ws.d.ts +0 -3
- package/lib/types/form.stories.d.ts +0 -5
- package/lib/types/heading.stories.d.ts +0 -9
- package/lib/types/html-embed.stories.d.ts +0 -11
- package/lib/types/image.stories.d.ts +0 -562
- package/lib/types/input.stories.d.ts +0 -9
- package/lib/types/italic.stories.d.ts +0 -5
- package/lib/types/link.stories.d.ts +0 -9
- package/lib/types/list-item.stories.d.ts +0 -5
- package/lib/types/list.stories.d.ts +0 -9
- package/lib/types/paragraph.stories.d.ts +0 -5
- package/lib/types/rich-text-link.stories.d.ts +0 -9
- package/lib/types/separator.stories.d.ts +0 -5
- package/lib/types/slot.stories.d.ts +0 -9
- package/lib/types/span.stories.d.ts +0 -5
- package/lib/types/subscript.stories.d.ts +0 -5
- package/lib/types/success-message.d.ts +0 -3
- package/lib/types/success-message.ws.d.ts +0 -3
- package/lib/types/superscript.stories.d.ts +0 -5
- package/lib/types/text.stories.d.ts +0 -9
- package/lib/types/vimeo-play-button.stories.d.ts +0 -5
- package/lib/types/vimeo-preview-image.stories.d.ts +0 -562
- package/lib/types/vimeo-spinner.stories.d.ts +0 -5
- package/lib/types/vimeo.stories.d.ts +0 -71
- package/src/__generated__/error-message.props.ts +0 -443
- package/src/__generated__/success-message.props.ts +0 -443
- package/src/error-message.tsx +0 -10
- package/src/error-message.ws.tsx +0 -24
- package/src/success-message.tsx +0 -10
- package/src/success-message.ws.tsx +0 -24
|
@@ -1,91 +1,6 @@
|
|
|
1
1
|
const props = {
|
|
2
|
-
slot: { required: false, control: "text", type: "string" },
|
|
3
|
-
style: { required: false, control: "text", type: "string" },
|
|
4
|
-
title: { required: false, control: "text", type: "string" },
|
|
5
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
6
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
7
|
-
suppressContentEditableWarning: {
|
|
8
|
-
required: false,
|
|
9
|
-
control: "boolean",
|
|
10
|
-
type: "boolean"
|
|
11
|
-
},
|
|
12
|
-
suppressHydrationWarning: {
|
|
13
|
-
required: false,
|
|
14
|
-
control: "boolean",
|
|
15
|
-
type: "boolean"
|
|
16
|
-
},
|
|
17
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
18
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
19
|
-
className: { required: false, control: "text", type: "string" },
|
|
20
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
21
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
22
|
-
dir: { required: false, control: "text", type: "string" },
|
|
23
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
24
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
25
|
-
id: { required: false, control: "text", type: "string" },
|
|
26
|
-
lang: { required: false, control: "text", type: "string" },
|
|
27
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
28
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
29
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
30
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
31
|
-
translate: {
|
|
32
|
-
required: false,
|
|
33
|
-
control: "radio",
|
|
34
|
-
type: "string",
|
|
35
|
-
options: ["yes", "no"]
|
|
36
|
-
},
|
|
37
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
38
|
-
role: { required: false, control: "text", type: "string" },
|
|
39
2
|
about: { required: false, control: "text", type: "string" },
|
|
40
|
-
|
|
41
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
42
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
43
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
44
|
-
property: { required: false, control: "text", type: "string" },
|
|
45
|
-
rel: { required: false, control: "text", type: "string" },
|
|
46
|
-
resource: { required: false, control: "text", type: "string" },
|
|
47
|
-
rev: { required: false, control: "text", type: "string" },
|
|
48
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
49
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
50
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
51
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
52
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
53
|
-
color: { required: false, control: "color", type: "string" },
|
|
54
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
55
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
56
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
57
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
58
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
59
|
-
results: { required: false, control: "number", type: "number" },
|
|
60
|
-
security: { required: false, control: "text", type: "string" },
|
|
61
|
-
unselectable: {
|
|
62
|
-
required: false,
|
|
63
|
-
control: "radio",
|
|
64
|
-
type: "string",
|
|
65
|
-
options: ["on", "off"]
|
|
66
|
-
},
|
|
67
|
-
inputMode: {
|
|
68
|
-
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",
|
|
69
|
-
required: false,
|
|
70
|
-
control: "select",
|
|
71
|
-
type: "string",
|
|
72
|
-
options: [
|
|
73
|
-
"text",
|
|
74
|
-
"url",
|
|
75
|
-
"none",
|
|
76
|
-
"search",
|
|
77
|
-
"tel",
|
|
78
|
-
"email",
|
|
79
|
-
"numeric",
|
|
80
|
-
"decimal"
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
is: {
|
|
84
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
85
|
-
required: false,
|
|
86
|
-
control: "text",
|
|
87
|
-
type: "string"
|
|
88
|
-
},
|
|
3
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
89
4
|
"aria-activedescendant": {
|
|
90
5
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
91
6
|
required: false,
|
|
@@ -392,12 +307,9 @@ const props = {
|
|
|
392
307
|
control: "text",
|
|
393
308
|
type: "string"
|
|
394
309
|
},
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
control: "text",
|
|
399
|
-
type: "string"
|
|
400
|
-
},
|
|
310
|
+
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
311
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
312
|
+
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
401
313
|
autopause: {
|
|
402
314
|
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.",
|
|
403
315
|
required: false,
|
|
@@ -418,6 +330,70 @@ const props = {
|
|
|
418
330
|
type: "boolean",
|
|
419
331
|
defaultValue: false
|
|
420
332
|
},
|
|
333
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
334
|
+
backgroundMode: {
|
|
335
|
+
description: "Whether the player is in background mode, which hides the playback controls, enables autoplay, and loops the video.",
|
|
336
|
+
required: false,
|
|
337
|
+
control: "boolean",
|
|
338
|
+
type: "boolean",
|
|
339
|
+
defaultValue: false
|
|
340
|
+
},
|
|
341
|
+
className: { required: false, control: "text", type: "string" },
|
|
342
|
+
color: { required: false, control: "color", type: "string" },
|
|
343
|
+
content: { required: false, control: "text", type: "string" },
|
|
344
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
345
|
+
controlsColor: {
|
|
346
|
+
description: "A color value of the playback controls, which is normally #00ADEF. The embed settings of the video might override this value.",
|
|
347
|
+
required: false,
|
|
348
|
+
control: "color",
|
|
349
|
+
type: "string"
|
|
350
|
+
},
|
|
351
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
352
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
353
|
+
dir: { required: false, control: "text", type: "string" },
|
|
354
|
+
doNotTrack: {
|
|
355
|
+
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.",
|
|
356
|
+
required: false,
|
|
357
|
+
control: "boolean",
|
|
358
|
+
type: "boolean",
|
|
359
|
+
defaultValue: false
|
|
360
|
+
},
|
|
361
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
362
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
363
|
+
id: { required: false, control: "text", type: "string" },
|
|
364
|
+
inputMode: {
|
|
365
|
+
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",
|
|
366
|
+
required: false,
|
|
367
|
+
control: "select",
|
|
368
|
+
type: "string",
|
|
369
|
+
options: [
|
|
370
|
+
"text",
|
|
371
|
+
"url",
|
|
372
|
+
"none",
|
|
373
|
+
"search",
|
|
374
|
+
"tel",
|
|
375
|
+
"email",
|
|
376
|
+
"numeric",
|
|
377
|
+
"decimal"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
interactiveParams: {
|
|
381
|
+
description: "Key-value pairs representing dynamic parameters that are utilized on interactive videos with live elements, such as title=my-video,subtitle=interactive.",
|
|
382
|
+
required: false,
|
|
383
|
+
control: "text",
|
|
384
|
+
type: "string"
|
|
385
|
+
},
|
|
386
|
+
is: {
|
|
387
|
+
description: "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
388
|
+
required: false,
|
|
389
|
+
control: "text",
|
|
390
|
+
type: "string"
|
|
391
|
+
},
|
|
392
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
393
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
394
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
395
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
396
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
421
397
|
keyboard: {
|
|
422
398
|
description: "Whether to enable keyboard input to trigger player events. This setting doesn't affect tab control.",
|
|
423
399
|
required: false,
|
|
@@ -425,6 +401,7 @@ const props = {
|
|
|
425
401
|
type: "boolean",
|
|
426
402
|
defaultValue: true
|
|
427
403
|
},
|
|
404
|
+
lang: { required: false, control: "text", type: "string" },
|
|
428
405
|
loop: {
|
|
429
406
|
description: "Whether to restart the video automatically after reaching the end.",
|
|
430
407
|
required: false,
|
|
@@ -439,6 +416,7 @@ const props = {
|
|
|
439
416
|
type: "boolean",
|
|
440
417
|
defaultValue: false
|
|
441
418
|
},
|
|
419
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
442
420
|
pip: {
|
|
443
421
|
description: "Whether to include the picture-in-picture button among the player controls and enable the picture-in-picture API.",
|
|
444
422
|
required: false,
|
|
@@ -446,6 +424,7 @@ const props = {
|
|
|
446
424
|
type: "boolean",
|
|
447
425
|
defaultValue: false
|
|
448
426
|
},
|
|
427
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
449
428
|
playsinline: {
|
|
450
429
|
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.",
|
|
451
430
|
required: false,
|
|
@@ -453,6 +432,8 @@ const props = {
|
|
|
453
432
|
type: "boolean",
|
|
454
433
|
defaultValue: true
|
|
455
434
|
},
|
|
435
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
436
|
+
property: { required: false, control: "text", type: "string" },
|
|
456
437
|
quality: {
|
|
457
438
|
description: "For videos on a Vimeo Plus account or higher: the playback quality of the video. Use auto for the best possible quality given available bandwidth and other factors. You can also specify 360p, 540p, 720p, 1080p, 2k, and 4k.",
|
|
458
439
|
required: false,
|
|
@@ -461,6 +442,9 @@ const props = {
|
|
|
461
442
|
defaultValue: "auto",
|
|
462
443
|
options: ["auto", "360p", "540p", "720p", "1080p", "2k", "4k"]
|
|
463
444
|
},
|
|
445
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
446
|
+
rel: { required: false, control: "text", type: "string" },
|
|
447
|
+
resource: { required: false, control: "text", type: "string" },
|
|
464
448
|
responsive: {
|
|
465
449
|
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.",
|
|
466
450
|
required: false,
|
|
@@ -468,21 +452,26 @@ const props = {
|
|
|
468
452
|
type: "boolean",
|
|
469
453
|
defaultValue: true
|
|
470
454
|
},
|
|
471
|
-
|
|
472
|
-
|
|
455
|
+
results: { required: false, control: "number", type: "number" },
|
|
456
|
+
rev: { required: false, control: "text", type: "string" },
|
|
457
|
+
role: { required: false, control: "text", type: "string" },
|
|
458
|
+
security: { required: false, control: "text", type: "string" },
|
|
459
|
+
showByline: {
|
|
460
|
+
description: "Whether to display the video owner's name.",
|
|
473
461
|
required: false,
|
|
474
462
|
control: "boolean",
|
|
475
463
|
type: "boolean",
|
|
476
464
|
defaultValue: false
|
|
477
465
|
},
|
|
478
|
-
|
|
479
|
-
description: "
|
|
466
|
+
showControls: {
|
|
467
|
+
description: "Whether to display the player's interactive elements, including the play bar and sharing buttons. Set this option to false for a chromeless experience. To control playback when the play/pause button is hidden, set autoplay to true, use keyboard controls (which remain active), or implement our player SDK.",
|
|
480
468
|
required: false,
|
|
481
|
-
control: "
|
|
482
|
-
type: "
|
|
469
|
+
control: "boolean",
|
|
470
|
+
type: "boolean",
|
|
471
|
+
defaultValue: true
|
|
483
472
|
},
|
|
484
|
-
|
|
485
|
-
description: "Whether the
|
|
473
|
+
showPortrait: {
|
|
474
|
+
description: "Whether to display the video owner's portrait. Only works if either title or byline are also enabled",
|
|
486
475
|
required: false,
|
|
487
476
|
control: "boolean",
|
|
488
477
|
type: "boolean",
|
|
@@ -495,60 +484,67 @@ const props = {
|
|
|
495
484
|
type: "boolean",
|
|
496
485
|
defaultValue: false
|
|
497
486
|
},
|
|
498
|
-
|
|
499
|
-
description: "Whether
|
|
487
|
+
showTitle: {
|
|
488
|
+
description: "Whether the player displays the title overlay.",
|
|
500
489
|
required: false,
|
|
501
490
|
control: "boolean",
|
|
502
491
|
type: "boolean",
|
|
503
492
|
defaultValue: false
|
|
504
493
|
},
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
control: "text",
|
|
509
|
-
type: "string"
|
|
510
|
-
},
|
|
511
|
-
backgroundMode: {
|
|
512
|
-
description: "Whether the player is in background mode, which hides the playback controls, enables autoplay, and loops the video.",
|
|
494
|
+
slot: { required: false, control: "text", type: "string" },
|
|
495
|
+
speed: {
|
|
496
|
+
description: "Whether the player displays speed controls in the preferences menu and enables the playback rate API.",
|
|
513
497
|
required: false,
|
|
514
498
|
control: "boolean",
|
|
515
499
|
type: "boolean",
|
|
516
500
|
defaultValue: false
|
|
517
501
|
},
|
|
518
|
-
|
|
519
|
-
|
|
502
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
503
|
+
suppressContentEditableWarning: {
|
|
520
504
|
required: false,
|
|
521
505
|
control: "boolean",
|
|
522
|
-
type: "boolean"
|
|
523
|
-
defaultValue: true
|
|
506
|
+
type: "boolean"
|
|
524
507
|
},
|
|
525
|
-
|
|
526
|
-
description: "A color value of the playback controls, which is normally #00ADEF. The embed settings of the video might override this value.",
|
|
508
|
+
suppressHydrationWarning: {
|
|
527
509
|
required: false,
|
|
528
|
-
control: "
|
|
529
|
-
type: "
|
|
510
|
+
control: "boolean",
|
|
511
|
+
type: "boolean"
|
|
530
512
|
},
|
|
531
|
-
|
|
532
|
-
|
|
513
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
514
|
+
texttrack: {
|
|
515
|
+
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.",
|
|
533
516
|
required: false,
|
|
534
|
-
control: "
|
|
535
|
-
type: "
|
|
536
|
-
defaultValue: false
|
|
517
|
+
control: "text",
|
|
518
|
+
type: "string"
|
|
537
519
|
},
|
|
538
|
-
|
|
539
|
-
|
|
520
|
+
title: { required: false, control: "text", type: "string" },
|
|
521
|
+
translate: {
|
|
540
522
|
required: false,
|
|
541
|
-
control: "
|
|
542
|
-
type: "
|
|
543
|
-
|
|
523
|
+
control: "radio",
|
|
524
|
+
type: "string",
|
|
525
|
+
options: ["yes", "no"]
|
|
544
526
|
},
|
|
545
|
-
|
|
546
|
-
description: "Whether
|
|
527
|
+
transparent: {
|
|
528
|
+
description: "Whether the responsive player and transparent background are enabled.",
|
|
547
529
|
required: false,
|
|
548
530
|
control: "boolean",
|
|
549
531
|
type: "boolean",
|
|
550
532
|
defaultValue: true
|
|
551
|
-
}
|
|
533
|
+
},
|
|
534
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
535
|
+
unselectable: {
|
|
536
|
+
required: false,
|
|
537
|
+
control: "radio",
|
|
538
|
+
type: "string",
|
|
539
|
+
options: ["on", "off"]
|
|
540
|
+
},
|
|
541
|
+
url: {
|
|
542
|
+
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 our introductory guide.",
|
|
543
|
+
required: false,
|
|
544
|
+
control: "text",
|
|
545
|
+
type: "string"
|
|
546
|
+
},
|
|
547
|
+
vocab: { required: false, control: "text", type: "string" }
|
|
552
548
|
};
|
|
553
549
|
export {
|
|
554
550
|
props
|
package/lib/blockquote.ws.js
CHANGED
|
@@ -2,54 +2,10 @@ import { BlockquoteIcon } from "@webstudio-is/icons/svg";
|
|
|
2
2
|
import {
|
|
3
3
|
defaultStates
|
|
4
4
|
} from "@webstudio-is/react-sdk";
|
|
5
|
+
import { blockquote } from "@webstudio-is/react-sdk/css-normalize";
|
|
5
6
|
import { props } from "./__generated__/blockquote.props";
|
|
6
7
|
const presetStyle = {
|
|
7
|
-
blockquote
|
|
8
|
-
{
|
|
9
|
-
property: "marginTop",
|
|
10
|
-
value: { type: "unit", value: 0, unit: "number" }
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
property: "marginRight",
|
|
14
|
-
value: { type: "unit", value: 0, unit: "number" }
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
property: "marginBottom",
|
|
18
|
-
value: { type: "unit", value: 10, unit: "px" }
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
property: "marginLeft",
|
|
22
|
-
value: { type: "unit", value: 0, unit: "number" }
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
property: "paddingTop",
|
|
26
|
-
value: { type: "unit", value: 10, unit: "px" }
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
property: "paddingBottom",
|
|
30
|
-
value: { type: "unit", value: 10, unit: "px" }
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
property: "paddingLeft",
|
|
34
|
-
value: { type: "unit", value: 20, unit: "px" }
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
property: "paddingRight",
|
|
38
|
-
value: { type: "unit", value: 20, unit: "px" }
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
property: "borderLeftWidth",
|
|
42
|
-
value: { type: "unit", value: 5, unit: "px" }
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
property: "borderLeftStyle",
|
|
46
|
-
value: { type: "keyword", value: "solid" }
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
property: "borderLeftColor",
|
|
50
|
-
value: { type: "rgb", r: 226, g: 226, b: 226, alpha: 1 }
|
|
51
|
-
}
|
|
52
|
-
]
|
|
8
|
+
blockquote
|
|
53
9
|
};
|
|
54
10
|
const meta = {
|
|
55
11
|
category: "text",
|
package/lib/body.ws.js
CHANGED
|
@@ -5,27 +5,7 @@ import {
|
|
|
5
5
|
import { body } from "@webstudio-is/react-sdk/css-normalize";
|
|
6
6
|
import { props } from "./__generated__/body.props";
|
|
7
7
|
const presetStyle = {
|
|
8
|
-
body
|
|
9
|
-
...body,
|
|
10
|
-
{
|
|
11
|
-
property: "fontFamily",
|
|
12
|
-
value: { type: "keyword", value: "Arial" }
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
property: "fontSize",
|
|
16
|
-
value: { type: "unit", unit: "px", value: 14 }
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
property: "lineHeight",
|
|
20
|
-
value: { type: "unit", unit: "number", value: 1.5 }
|
|
21
|
-
},
|
|
22
|
-
// temporary set root color
|
|
23
|
-
// until builder start to fallback "inherit" to black
|
|
24
|
-
{
|
|
25
|
-
property: "color",
|
|
26
|
-
value: { type: "keyword", value: "black" }
|
|
27
|
-
}
|
|
28
|
-
]
|
|
8
|
+
body
|
|
29
9
|
};
|
|
30
10
|
const meta = {
|
|
31
11
|
type: "container",
|
|
@@ -22,94 +22,8 @@ __export(blockquote_props_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(blockquote_props_exports);
|
|
24
24
|
const props = {
|
|
25
|
-
cite: { required: false, control: "text", type: "string" },
|
|
26
|
-
slot: { required: false, control: "text", type: "string" },
|
|
27
|
-
style: { required: false, control: "text", type: "string" },
|
|
28
|
-
title: { required: false, control: "text", type: "string" },
|
|
29
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
30
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
31
|
-
suppressContentEditableWarning: {
|
|
32
|
-
required: false,
|
|
33
|
-
control: "boolean",
|
|
34
|
-
type: "boolean"
|
|
35
|
-
},
|
|
36
|
-
suppressHydrationWarning: {
|
|
37
|
-
required: false,
|
|
38
|
-
control: "boolean",
|
|
39
|
-
type: "boolean"
|
|
40
|
-
},
|
|
41
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
42
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
43
|
-
className: { required: false, control: "text", type: "string" },
|
|
44
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
45
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
46
|
-
dir: { required: false, control: "text", type: "string" },
|
|
47
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
48
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
49
|
-
id: { required: false, control: "text", type: "string" },
|
|
50
|
-
lang: { required: false, control: "text", type: "string" },
|
|
51
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
52
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
53
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
54
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
55
|
-
translate: {
|
|
56
|
-
required: false,
|
|
57
|
-
control: "radio",
|
|
58
|
-
type: "string",
|
|
59
|
-
options: ["yes", "no"]
|
|
60
|
-
},
|
|
61
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
62
|
-
role: { required: false, control: "text", type: "string" },
|
|
63
25
|
about: { required: false, control: "text", type: "string" },
|
|
64
|
-
|
|
65
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
66
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
67
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
68
|
-
property: { required: false, control: "text", type: "string" },
|
|
69
|
-
rel: { required: false, control: "text", type: "string" },
|
|
70
|
-
resource: { required: false, control: "text", type: "string" },
|
|
71
|
-
rev: { required: false, control: "text", type: "string" },
|
|
72
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
73
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
74
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
75
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
76
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
77
|
-
color: { required: false, control: "color", type: "string" },
|
|
78
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
79
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
80
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
81
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
82
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
83
|
-
results: { required: false, control: "number", type: "number" },
|
|
84
|
-
security: { required: false, control: "text", type: "string" },
|
|
85
|
-
unselectable: {
|
|
86
|
-
required: false,
|
|
87
|
-
control: "radio",
|
|
88
|
-
type: "string",
|
|
89
|
-
options: ["on", "off"]
|
|
90
|
-
},
|
|
91
|
-
inputMode: {
|
|
92
|
-
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",
|
|
93
|
-
required: false,
|
|
94
|
-
control: "select",
|
|
95
|
-
type: "string",
|
|
96
|
-
options: [
|
|
97
|
-
"text",
|
|
98
|
-
"none",
|
|
99
|
-
"search",
|
|
100
|
-
"tel",
|
|
101
|
-
"url",
|
|
102
|
-
"email",
|
|
103
|
-
"numeric",
|
|
104
|
-
"decimal"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
is: {
|
|
108
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
109
|
-
required: false,
|
|
110
|
-
control: "text",
|
|
111
|
-
type: "string"
|
|
112
|
-
},
|
|
26
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
113
27
|
"aria-activedescendant": {
|
|
114
28
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
115
29
|
required: false,
|
|
@@ -415,5 +329,87 @@ const props = {
|
|
|
415
329
|
required: false,
|
|
416
330
|
control: "text",
|
|
417
331
|
type: "string"
|
|
418
|
-
}
|
|
332
|
+
},
|
|
333
|
+
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
334
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
335
|
+
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
336
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
337
|
+
cite: { required: false, control: "text", type: "string" },
|
|
338
|
+
className: { required: false, control: "text", type: "string" },
|
|
339
|
+
color: { required: false, control: "color", type: "string" },
|
|
340
|
+
content: { required: false, control: "text", type: "string" },
|
|
341
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
342
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
343
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
344
|
+
dir: { required: false, control: "text", type: "string" },
|
|
345
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
346
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
347
|
+
id: { required: false, control: "text", type: "string" },
|
|
348
|
+
inputMode: {
|
|
349
|
+
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",
|
|
350
|
+
required: false,
|
|
351
|
+
control: "select",
|
|
352
|
+
type: "string",
|
|
353
|
+
options: [
|
|
354
|
+
"text",
|
|
355
|
+
"none",
|
|
356
|
+
"search",
|
|
357
|
+
"tel",
|
|
358
|
+
"url",
|
|
359
|
+
"email",
|
|
360
|
+
"numeric",
|
|
361
|
+
"decimal"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
is: {
|
|
365
|
+
description: "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
366
|
+
required: false,
|
|
367
|
+
control: "text",
|
|
368
|
+
type: "string"
|
|
369
|
+
},
|
|
370
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
371
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
372
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
373
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
374
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
375
|
+
lang: { required: false, control: "text", type: "string" },
|
|
376
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
377
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
378
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
379
|
+
property: { required: false, control: "text", type: "string" },
|
|
380
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
381
|
+
rel: { required: false, control: "text", type: "string" },
|
|
382
|
+
resource: { required: false, control: "text", type: "string" },
|
|
383
|
+
results: { required: false, control: "number", type: "number" },
|
|
384
|
+
rev: { required: false, control: "text", type: "string" },
|
|
385
|
+
role: { required: false, control: "text", type: "string" },
|
|
386
|
+
security: { required: false, control: "text", type: "string" },
|
|
387
|
+
slot: { required: false, control: "text", type: "string" },
|
|
388
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
389
|
+
suppressContentEditableWarning: {
|
|
390
|
+
required: false,
|
|
391
|
+
control: "boolean",
|
|
392
|
+
type: "boolean"
|
|
393
|
+
},
|
|
394
|
+
suppressHydrationWarning: {
|
|
395
|
+
required: false,
|
|
396
|
+
control: "boolean",
|
|
397
|
+
type: "boolean"
|
|
398
|
+
},
|
|
399
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
400
|
+
title: { required: false, control: "text", type: "string" },
|
|
401
|
+
translate: {
|
|
402
|
+
required: false,
|
|
403
|
+
control: "radio",
|
|
404
|
+
type: "string",
|
|
405
|
+
options: ["yes", "no"]
|
|
406
|
+
},
|
|
407
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
408
|
+
unselectable: {
|
|
409
|
+
required: false,
|
|
410
|
+
control: "radio",
|
|
411
|
+
type: "string",
|
|
412
|
+
options: ["on", "off"]
|
|
413
|
+
},
|
|
414
|
+
vocab: { required: false, control: "text", type: "string" }
|
|
419
415
|
};
|