@webstudio-is/sdk-components-react 0.218.0 → 0.220.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 +2 -178
- package/lib/__generated__/body.props.js +2 -172
- package/lib/__generated__/bold.props.js +2 -172
- package/lib/__generated__/box.props.js +3 -172
- package/lib/__generated__/button.props.js +2 -234
- package/lib/__generated__/checkbox.props.js +1 -328
- package/lib/__generated__/code-text.props.js +1 -170
- package/lib/__generated__/form.props.js +2 -220
- package/lib/__generated__/head-link.props.js +2 -284
- package/lib/__generated__/head-meta.props.js +2 -196
- package/lib/__generated__/head-title.props.js +2 -172
- package/lib/__generated__/heading.props.js +3 -172
- package/lib/__generated__/html-embed.props.js +6 -1
- package/lib/__generated__/image.props.js +1 -247
- package/lib/__generated__/input.props.js +2 -360
- package/lib/__generated__/italic.props.js +2 -172
- package/lib/__generated__/label.props.js +2 -184
- package/lib/__generated__/link.props.js +4 -221
- package/lib/__generated__/list-item.props.js +2 -178
- package/lib/__generated__/list.props.js +1 -189
- package/lib/__generated__/markdown-embed.props.js +6 -1
- package/lib/__generated__/option.props.js +2 -196
- package/lib/__generated__/paragraph.props.js +2 -172
- package/lib/__generated__/radio-button.props.js +1 -328
- package/lib/__generated__/select.props.js +2 -220
- package/lib/__generated__/separator.props.js +2 -172
- package/lib/__generated__/span.props.js +2 -172
- package/lib/__generated__/subscript.props.js +2 -172
- package/lib/__generated__/superscript.props.js +2 -172
- package/lib/__generated__/text.props.js +3 -172
- package/lib/__generated__/textarea.props.js +2 -251
- package/lib/__generated__/time.props.js +1 -8
- package/lib/__generated__/video.props.js +2 -251
- package/lib/__generated__/vimeo-play-button.props.js +2 -233
- package/lib/__generated__/vimeo-preview-image.props.js +1 -246
- package/lib/__generated__/vimeo-spinner.props.js +2 -172
- package/lib/__generated__/vimeo.props.js +118 -365
- package/lib/__generated__/webhook-form.props.js +1 -223
- package/lib/__generated__/xml-node.props.js +8 -3
- package/lib/__generated__/xml-time.props.js +4 -3
- package/lib/__generated__/youtube.props.js +1 -164
- package/lib/blockquote.ws.js +9 -14
- package/lib/body.ws.js +11 -15
- package/lib/bold.ws.js +6 -12
- package/lib/box.ws.js +17 -21
- package/lib/button.ws.js +10 -14
- package/lib/checkbox.ws.js +4 -6
- package/lib/code-text.ws.js +5 -7
- package/lib/form.ws.js +9 -13
- package/lib/fragment.ws.js +2 -7
- package/lib/head-link.ws.js +6 -9
- package/lib/head-meta.ws.js +5 -8
- package/lib/head-slot.js +4 -5
- package/lib/head-slot.ws.js +3 -7
- package/lib/head-title.ws.js +2 -4
- package/lib/heading.ws.js +16 -21
- package/lib/html-embed.ws.js +5 -7
- package/lib/image.ws.js +22 -26
- package/lib/input.ws.js +11 -15
- package/lib/italic.ws.js +9 -13
- package/lib/label.ws.js +8 -12
- package/lib/link.ws.js +13 -18
- package/lib/list-item.ws.js +8 -15
- package/lib/list.ws.js +10 -14
- package/lib/markdown-embed.js +3 -3
- package/lib/markdown-embed.ws.js +6 -8
- package/lib/option.ws.js +6 -10
- package/lib/paragraph.ws.js +9 -16
- package/lib/radio-button.ws.js +6 -8
- package/lib/rich-text-link.ws.js +3 -4
- package/lib/select.ws.js +13 -17
- package/lib/separator.ws.js +10 -14
- package/lib/shared/video.js +13 -0
- package/lib/slot.ws.js +4 -7
- package/lib/span.ws.js +5 -9
- package/lib/subscript.ws.js +7 -13
- package/lib/superscript.ws.js +8 -14
- package/lib/text.ws.js +10 -12
- package/lib/textarea.ws.js +14 -18
- package/lib/time.js +2 -1
- package/lib/time.ws.js +15 -15
- package/lib/types/blockquote.ws.d.ts +1 -2
- package/lib/types/body.ws.d.ts +1 -2
- package/lib/types/bold.ws.d.ts +1 -2
- package/lib/types/box.ws.d.ts +1 -2
- package/lib/types/button.ws.d.ts +1 -2
- package/lib/types/checkbox.ws.d.ts +1 -2
- package/lib/types/code-text.ws.d.ts +1 -2
- package/lib/types/form.ws.d.ts +1 -2
- package/lib/types/fragment.ws.d.ts +1 -2
- package/lib/types/head-link.ws.d.ts +1 -2
- package/lib/types/head-meta.ws.d.ts +1 -2
- package/lib/types/head-slot.ws.d.ts +1 -2
- package/lib/types/head-title.ws.d.ts +1 -2
- package/lib/types/heading.ws.d.ts +1 -2
- package/lib/types/html-embed.ws.d.ts +1 -2
- package/lib/types/image.ws.d.ts +1 -2
- package/lib/types/input.ws.d.ts +1 -2
- package/lib/types/italic.ws.d.ts +1 -2
- package/lib/types/label.ws.d.ts +1 -2
- package/lib/types/link.d.ts +1 -1
- package/lib/types/link.ws.d.ts +1 -2
- package/lib/types/list-item.ws.d.ts +1 -2
- package/lib/types/list.ws.d.ts +1 -2
- package/lib/types/markdown-embed.ws.d.ts +1 -2
- package/lib/types/option.ws.d.ts +1 -2
- package/lib/types/paragraph.ws.d.ts +1 -2
- package/lib/types/radio-button.ws.d.ts +1 -2
- package/lib/types/rich-text-link.ws.d.ts +1 -2
- package/lib/types/select.ws.d.ts +1 -2
- package/lib/types/separator.ws.d.ts +1 -2
- package/lib/types/shared/video.d.ts +7 -0
- package/lib/types/slot.ws.d.ts +1 -2
- package/lib/types/span.ws.d.ts +1 -2
- package/lib/types/subscript.ws.d.ts +1 -2
- package/lib/types/superscript.ws.d.ts +1 -2
- package/lib/types/text.ws.d.ts +1 -2
- package/lib/types/textarea.ws.d.ts +1 -2
- package/lib/types/time.d.ts +2 -4
- package/lib/types/time.ws.d.ts +1 -2
- package/lib/types/video.ws.d.ts +1 -2
- package/lib/types/vimeo-play-button.ws.d.ts +1 -2
- package/lib/types/vimeo-preview-image.ws.d.ts +1 -2
- package/lib/types/vimeo-spinner.ws.d.ts +1 -2
- package/lib/types/vimeo.d.ts +0 -7
- package/lib/types/vimeo.ws.d.ts +1 -2
- package/lib/types/webhook-form.ws.d.ts +1 -2
- package/lib/types/xml-node.ws.d.ts +1 -2
- package/lib/types/xml-time.ws.d.ts +1 -2
- package/lib/types/youtube.ws.d.ts +1 -2
- package/lib/video.js +19 -23
- package/lib/video.ws.js +14 -17
- package/lib/vimeo-play-button.js +4 -4
- package/lib/vimeo-play-button.ws.js +4 -8
- package/lib/vimeo-preview-image.js +5 -5
- package/lib/vimeo-preview-image.ws.js +6 -8
- package/lib/vimeo-spinner.js +1 -1
- package/lib/vimeo-spinner.ws.js +4 -8
- package/lib/vimeo.js +113 -121
- package/lib/vimeo.ws.js +13 -17
- package/lib/webhook-form.template.js +12 -12
- package/lib/webhook-form.ws.js +4 -6
- package/lib/xml-node.js +4 -4
- package/lib/xml-node.ws.js +5 -7
- package/lib/xml-time.ws.js +5 -7
- package/lib/youtube.js +1 -1
- package/lib/youtube.ws.js +13 -17
- package/package.json +9 -14
- package/lib/props.js +0 -92
- package/lib/types/props.d.ts +0 -45
|
@@ -1,183 +1,4 @@
|
|
|
1
1
|
const e = {
|
|
2
|
-
about: { required: !1, control: "text", type: "string" },
|
|
3
|
-
acceptCharset: {
|
|
4
|
-
required: !1,
|
|
5
|
-
control: "text",
|
|
6
|
-
type: "string",
|
|
7
|
-
description: "List of supported charsets."
|
|
8
|
-
},
|
|
9
|
-
accessKey: {
|
|
10
|
-
required: !1,
|
|
11
|
-
control: "text",
|
|
12
|
-
type: "string",
|
|
13
|
-
description: "Keyboard shortcut to activate or add focus to the element."
|
|
14
|
-
},
|
|
15
|
-
action: {
|
|
16
|
-
required: !1,
|
|
17
|
-
control: "text",
|
|
18
|
-
type: "string",
|
|
19
|
-
description: "The URI of a program that processes the information submitted via the form."
|
|
20
|
-
},
|
|
21
|
-
autoCapitalize: {
|
|
22
|
-
required: !1,
|
|
23
|
-
control: "text",
|
|
24
|
-
type: "string",
|
|
25
|
-
description: "Sets whether input is automatically capitalized when entered by user."
|
|
26
|
-
},
|
|
27
|
-
autoComplete: {
|
|
28
|
-
required: !1,
|
|
29
|
-
control: "text",
|
|
30
|
-
type: "string",
|
|
31
|
-
description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
|
|
32
|
-
},
|
|
33
|
-
autoCorrect: { required: !1, control: "text", type: "string" },
|
|
34
|
-
autoFocus: {
|
|
35
|
-
required: !1,
|
|
36
|
-
control: "boolean",
|
|
37
|
-
type: "boolean",
|
|
38
|
-
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
39
|
-
},
|
|
40
|
-
autoSave: { required: !1, control: "text", type: "string" },
|
|
41
|
-
className: { required: !1, control: "text", type: "string" },
|
|
42
|
-
color: {
|
|
43
|
-
required: !1,
|
|
44
|
-
control: "color",
|
|
45
|
-
type: "string",
|
|
46
|
-
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."
|
|
47
|
-
},
|
|
48
|
-
content: {
|
|
49
|
-
required: !1,
|
|
50
|
-
control: "text",
|
|
51
|
-
type: "string",
|
|
52
|
-
description: "A value associated with http-equiv orname depending on the context."
|
|
53
|
-
},
|
|
54
|
-
contextMenu: {
|
|
55
|
-
required: !1,
|
|
56
|
-
control: "text",
|
|
57
|
-
type: "string",
|
|
58
|
-
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
59
|
-
},
|
|
60
|
-
datatype: { required: !1, control: "text", type: "string" },
|
|
61
|
-
defaultChecked: { required: !1, control: "boolean", type: "boolean" },
|
|
62
|
-
defaultValue: { required: !1, control: "text", type: "string" },
|
|
63
|
-
dir: {
|
|
64
|
-
required: !1,
|
|
65
|
-
control: "text",
|
|
66
|
-
type: "string",
|
|
67
|
-
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
68
|
-
},
|
|
69
|
-
draggable: {
|
|
70
|
-
required: !1,
|
|
71
|
-
control: "boolean",
|
|
72
|
-
type: "boolean",
|
|
73
|
-
description: "Defines whether the element can be dragged."
|
|
74
|
-
},
|
|
75
|
-
encType: {
|
|
76
|
-
required: !1,
|
|
77
|
-
control: "radio",
|
|
78
|
-
type: "string",
|
|
79
|
-
options: [
|
|
80
|
-
"application/x-www-form-urlencoded",
|
|
81
|
-
"multipart/form-data",
|
|
82
|
-
"text/plain"
|
|
83
|
-
],
|
|
84
|
-
description: "Defines the content type of the form data when themethod is POST."
|
|
85
|
-
},
|
|
86
|
-
hidden: {
|
|
87
|
-
required: !1,
|
|
88
|
-
control: "boolean",
|
|
89
|
-
type: "boolean",
|
|
90
|
-
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
91
|
-
},
|
|
92
|
-
id: {
|
|
93
|
-
required: !1,
|
|
94
|
-
control: "text",
|
|
95
|
-
type: "string",
|
|
96
|
-
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
97
|
-
},
|
|
98
|
-
inputMode: {
|
|
99
|
-
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
100
|
-
required: !1,
|
|
101
|
-
control: "select",
|
|
102
|
-
type: "string",
|
|
103
|
-
options: [
|
|
104
|
-
"search",
|
|
105
|
-
"text",
|
|
106
|
-
"none",
|
|
107
|
-
"tel",
|
|
108
|
-
"url",
|
|
109
|
-
"email",
|
|
110
|
-
"numeric",
|
|
111
|
-
"decimal"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
is: {
|
|
115
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
116
|
-
required: !1,
|
|
117
|
-
control: "text",
|
|
118
|
-
type: "string"
|
|
119
|
-
},
|
|
120
|
-
itemID: { required: !1, control: "text", type: "string" },
|
|
121
|
-
itemProp: { required: !1, control: "text", type: "string" },
|
|
122
|
-
itemRef: { required: !1, control: "text", type: "string" },
|
|
123
|
-
itemScope: { required: !1, control: "boolean", type: "boolean" },
|
|
124
|
-
itemType: { required: !1, control: "text", type: "string" },
|
|
125
|
-
lang: {
|
|
126
|
-
required: !1,
|
|
127
|
-
control: "text",
|
|
128
|
-
type: "string",
|
|
129
|
-
description: "Defines the language used in the element."
|
|
130
|
-
},
|
|
131
|
-
method: {
|
|
132
|
-
required: !1,
|
|
133
|
-
control: "text",
|
|
134
|
-
type: "string",
|
|
135
|
-
description: "Defines which HTTP method to use when submitting the form. Can be GET (default) or POST."
|
|
136
|
-
},
|
|
137
|
-
name: {
|
|
138
|
-
required: !1,
|
|
139
|
-
control: "text",
|
|
140
|
-
type: "string",
|
|
141
|
-
description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
|
|
142
|
-
},
|
|
143
|
-
nonce: { required: !1, control: "text", type: "string" },
|
|
144
|
-
noValidate: {
|
|
145
|
-
required: !1,
|
|
146
|
-
control: "boolean",
|
|
147
|
-
type: "boolean",
|
|
148
|
-
description: "This attribute indicates that the form shouldn't be validated when submitted."
|
|
149
|
-
},
|
|
150
|
-
prefix: { required: !1, control: "text", type: "string" },
|
|
151
|
-
property: { required: !1, control: "text", type: "string" },
|
|
152
|
-
radioGroup: { required: !1, control: "text", type: "string" },
|
|
153
|
-
rel: {
|
|
154
|
-
required: !1,
|
|
155
|
-
control: "text",
|
|
156
|
-
type: "string",
|
|
157
|
-
description: "Specifies the relationship of the target object to the link object."
|
|
158
|
-
},
|
|
159
|
-
resource: { required: !1, control: "text", type: "string" },
|
|
160
|
-
results: { required: !1, control: "number", type: "number" },
|
|
161
|
-
rev: { required: !1, control: "text", type: "string" },
|
|
162
|
-
role: {
|
|
163
|
-
required: !1,
|
|
164
|
-
control: "text",
|
|
165
|
-
type: "string",
|
|
166
|
-
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
167
|
-
},
|
|
168
|
-
security: { required: !1, control: "text", type: "string" },
|
|
169
|
-
slot: {
|
|
170
|
-
required: !1,
|
|
171
|
-
control: "text",
|
|
172
|
-
type: "string",
|
|
173
|
-
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
174
|
-
},
|
|
175
|
-
spellCheck: {
|
|
176
|
-
required: !1,
|
|
177
|
-
control: "boolean",
|
|
178
|
-
type: "boolean",
|
|
179
|
-
description: "Indicates whether spell checking is allowed for the element."
|
|
180
|
-
},
|
|
181
2
|
state: {
|
|
182
3
|
description: "Use this property to reveal the Success and Error states on the canvas so they can be styled. The Initial state is displayed when the page first opens. The Success and Error states are displayed depending on whether the Form submits successfully or unsuccessfully.",
|
|
183
4
|
required: !1,
|
|
@@ -185,50 +6,7 @@ const e = {
|
|
|
185
6
|
type: "string",
|
|
186
7
|
defaultValue: "initial",
|
|
187
8
|
options: ["initial", "success", "error"]
|
|
188
|
-
}
|
|
189
|
-
suppressContentEditableWarning: {
|
|
190
|
-
required: !1,
|
|
191
|
-
control: "boolean",
|
|
192
|
-
type: "boolean"
|
|
193
|
-
},
|
|
194
|
-
suppressHydrationWarning: {
|
|
195
|
-
required: !1,
|
|
196
|
-
control: "boolean",
|
|
197
|
-
type: "boolean"
|
|
198
|
-
},
|
|
199
|
-
tabIndex: {
|
|
200
|
-
required: !1,
|
|
201
|
-
control: "number",
|
|
202
|
-
type: "number",
|
|
203
|
-
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
204
|
-
},
|
|
205
|
-
target: {
|
|
206
|
-
required: !1,
|
|
207
|
-
control: "text",
|
|
208
|
-
type: "string",
|
|
209
|
-
description: "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)"
|
|
210
|
-
},
|
|
211
|
-
title: {
|
|
212
|
-
required: !1,
|
|
213
|
-
control: "text",
|
|
214
|
-
type: "string",
|
|
215
|
-
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
216
|
-
},
|
|
217
|
-
translate: {
|
|
218
|
-
required: !1,
|
|
219
|
-
control: "radio",
|
|
220
|
-
type: "string",
|
|
221
|
-
options: ["yes", "no"],
|
|
222
|
-
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."
|
|
223
|
-
},
|
|
224
|
-
typeof: { required: !1, control: "text", type: "string" },
|
|
225
|
-
unselectable: {
|
|
226
|
-
required: !1,
|
|
227
|
-
control: "radio",
|
|
228
|
-
type: "string",
|
|
229
|
-
options: ["on", "off"]
|
|
230
|
-
},
|
|
231
|
-
vocab: { required: !1, control: "text", type: "string" }
|
|
9
|
+
}
|
|
232
10
|
};
|
|
233
11
|
export {
|
|
234
12
|
e as props
|
|
@@ -3,14 +3,19 @@ const e = {
|
|
|
3
3
|
required: !1,
|
|
4
4
|
control: "text",
|
|
5
5
|
type: "string",
|
|
6
|
-
description: "
|
|
6
|
+
description: "Document base URL"
|
|
7
|
+
},
|
|
8
|
+
hreflang: {
|
|
9
|
+
required: !1,
|
|
10
|
+
control: "text",
|
|
11
|
+
type: "string",
|
|
12
|
+
description: "Language of the linked resource"
|
|
7
13
|
},
|
|
8
|
-
hreflang: { required: !1, control: "text", type: "string" },
|
|
9
14
|
rel: {
|
|
10
15
|
required: !1,
|
|
11
16
|
control: "text",
|
|
12
17
|
type: "string",
|
|
13
|
-
description: "
|
|
18
|
+
description: "Relationship between the location in the document containing the hyperlink and the destination resource"
|
|
14
19
|
},
|
|
15
20
|
tag: { required: !1, control: "text", type: "string", defaultValue: "" },
|
|
16
21
|
xmlns: { required: !1, control: "text", type: "string" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
dateStyle: {
|
|
3
3
|
required: !1,
|
|
4
4
|
control: "radio",
|
|
@@ -10,9 +10,10 @@ const t = {
|
|
|
10
10
|
required: !1,
|
|
11
11
|
control: "text",
|
|
12
12
|
type: "string",
|
|
13
|
-
defaultValue: "dateTime attribute is not set"
|
|
13
|
+
defaultValue: "dateTime attribute is not set",
|
|
14
|
+
description: "Machine-readable value"
|
|
14
15
|
}
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
e as props
|
|
18
19
|
};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
const e = {
|
|
2
|
-
about: { required: !1, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
4
|
-
required: !1,
|
|
5
|
-
control: "text",
|
|
6
|
-
type: "string",
|
|
7
|
-
description: "Keyboard shortcut to activate or add focus to the element."
|
|
8
|
-
},
|
|
9
2
|
allowFullscreen: {
|
|
10
3
|
description: "Whether to allow fullscreen mode.\nOriginal parameter: `fs`",
|
|
11
4
|
required: !1,
|
|
@@ -13,19 +6,6 @@ const e = {
|
|
|
13
6
|
type: "boolean",
|
|
14
7
|
defaultValue: !0
|
|
15
8
|
},
|
|
16
|
-
autoCapitalize: {
|
|
17
|
-
required: !1,
|
|
18
|
-
control: "text",
|
|
19
|
-
type: "string",
|
|
20
|
-
description: "Sets whether input is automatically capitalized when entered by user."
|
|
21
|
-
},
|
|
22
|
-
autoCorrect: { required: !1, control: "text", type: "string" },
|
|
23
|
-
autoFocus: {
|
|
24
|
-
required: !1,
|
|
25
|
-
control: "boolean",
|
|
26
|
-
type: "boolean",
|
|
27
|
-
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
28
|
-
},
|
|
29
9
|
autoplay: {
|
|
30
10
|
description: "Whether the video should autoplay.\nSome browsers require the `muted` parameter to be set to `true` for autoplay to work.",
|
|
31
11
|
required: !1,
|
|
@@ -33,14 +13,12 @@ const e = {
|
|
|
33
13
|
type: "boolean",
|
|
34
14
|
defaultValue: !1
|
|
35
15
|
},
|
|
36
|
-
autoSave: { required: !1, control: "text", type: "string" },
|
|
37
16
|
captionLanguage: {
|
|
38
17
|
description: "Specifies the default language that the player will use to display captions.\nThe value is an ISO 639-1 two-letter language code.\nOriginal parameter: `cc_lang_pref`",
|
|
39
18
|
required: !1,
|
|
40
19
|
control: "text",
|
|
41
20
|
type: "string"
|
|
42
21
|
},
|
|
43
|
-
className: { required: !1, control: "text", type: "string" },
|
|
44
22
|
color: {
|
|
45
23
|
description: `Specifies the color that will be used in the player's video progress bar to highlight the amount of the video that the viewer has already seen.
|
|
46
24
|
Valid values are 'red' and 'white'.`,
|
|
@@ -49,27 +27,6 @@ Valid values are 'red' and 'white'.`,
|
|
|
49
27
|
type: "string",
|
|
50
28
|
options: ["red", "white"]
|
|
51
29
|
},
|
|
52
|
-
content: {
|
|
53
|
-
required: !1,
|
|
54
|
-
control: "text",
|
|
55
|
-
type: "string",
|
|
56
|
-
description: "A value associated with http-equiv orname depending on the context."
|
|
57
|
-
},
|
|
58
|
-
contextMenu: {
|
|
59
|
-
required: !1,
|
|
60
|
-
control: "text",
|
|
61
|
-
type: "string",
|
|
62
|
-
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
63
|
-
},
|
|
64
|
-
datatype: { required: !1, control: "text", type: "string" },
|
|
65
|
-
defaultChecked: { required: !1, control: "boolean", type: "boolean" },
|
|
66
|
-
defaultValue: { required: !1, control: "text", type: "string" },
|
|
67
|
-
dir: {
|
|
68
|
-
required: !1,
|
|
69
|
-
control: "text",
|
|
70
|
-
type: "string",
|
|
71
|
-
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
72
|
-
},
|
|
73
30
|
disableKeyboard: {
|
|
74
31
|
description: "Whether to disable keyboard controls.\nOriginal parameter: `disablekb`",
|
|
75
32
|
required: !1,
|
|
@@ -77,30 +34,12 @@ Valid values are 'red' and 'white'.`,
|
|
|
77
34
|
type: "boolean",
|
|
78
35
|
defaultValue: !1
|
|
79
36
|
},
|
|
80
|
-
draggable: {
|
|
81
|
-
required: !1,
|
|
82
|
-
control: "boolean",
|
|
83
|
-
type: "boolean",
|
|
84
|
-
description: "Defines whether the element can be dragged."
|
|
85
|
-
},
|
|
86
37
|
endTime: {
|
|
87
38
|
description: "End time of the video in seconds.\nOriginal parameter: `end`",
|
|
88
39
|
required: !1,
|
|
89
40
|
control: "number",
|
|
90
41
|
type: "number"
|
|
91
42
|
},
|
|
92
|
-
hidden: {
|
|
93
|
-
required: !1,
|
|
94
|
-
control: "boolean",
|
|
95
|
-
type: "boolean",
|
|
96
|
-
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
97
|
-
},
|
|
98
|
-
id: {
|
|
99
|
-
required: !1,
|
|
100
|
-
control: "text",
|
|
101
|
-
type: "string",
|
|
102
|
-
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
103
|
-
},
|
|
104
43
|
inline: {
|
|
105
44
|
description: "Whether to play inline on mobile (not fullscreen).",
|
|
106
45
|
required: !1,
|
|
@@ -108,33 +47,6 @@ Valid values are 'red' and 'white'.`,
|
|
|
108
47
|
type: "boolean",
|
|
109
48
|
defaultValue: !1
|
|
110
49
|
},
|
|
111
|
-
inputMode: {
|
|
112
|
-
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
113
|
-
required: !1,
|
|
114
|
-
control: "select",
|
|
115
|
-
type: "string",
|
|
116
|
-
options: [
|
|
117
|
-
"search",
|
|
118
|
-
"text",
|
|
119
|
-
"url",
|
|
120
|
-
"none",
|
|
121
|
-
"tel",
|
|
122
|
-
"email",
|
|
123
|
-
"numeric",
|
|
124
|
-
"decimal"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
is: {
|
|
128
|
-
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
129
|
-
required: !1,
|
|
130
|
-
control: "text",
|
|
131
|
-
type: "string"
|
|
132
|
-
},
|
|
133
|
-
itemID: { required: !1, control: "text", type: "string" },
|
|
134
|
-
itemProp: { required: !1, control: "text", type: "string" },
|
|
135
|
-
itemRef: { required: !1, control: "text", type: "string" },
|
|
136
|
-
itemScope: { required: !1, control: "boolean", type: "boolean" },
|
|
137
|
-
itemType: { required: !1, control: "text", type: "string" },
|
|
138
50
|
keyboard: {
|
|
139
51
|
description: "Whether to enable keyboard controls.",
|
|
140
52
|
required: !1,
|
|
@@ -142,12 +54,6 @@ Valid values are 'red' and 'white'.`,
|
|
|
142
54
|
type: "boolean",
|
|
143
55
|
defaultValue: !0
|
|
144
56
|
},
|
|
145
|
-
lang: {
|
|
146
|
-
required: !1,
|
|
147
|
-
control: "text",
|
|
148
|
-
type: "string",
|
|
149
|
-
description: "Defines the language used in the element."
|
|
150
|
-
},
|
|
151
57
|
language: {
|
|
152
58
|
description: "Sets the player's interface language. The value is an ISO 639-1 two-letter language code or a fully specified locale.\nOriginal parameter: `hl`",
|
|
153
59
|
required: !1,
|
|
@@ -189,7 +95,6 @@ Valid values are 'red' and 'white'.`,
|
|
|
189
95
|
type: "boolean",
|
|
190
96
|
defaultValue: !1
|
|
191
97
|
},
|
|
192
|
-
nonce: { required: !1, control: "text", type: "string" },
|
|
193
98
|
origin: {
|
|
194
99
|
description: "Your domain for API compliance (e.g., `https://yourdomain.com`).",
|
|
195
100
|
required: !1,
|
|
@@ -202,7 +107,6 @@ Valid values are 'red' and 'white'.`,
|
|
|
202
107
|
control: "text",
|
|
203
108
|
type: "string"
|
|
204
109
|
},
|
|
205
|
-
prefix: { required: !1, control: "text", type: "string" },
|
|
206
110
|
privacyEnhancedMode: {
|
|
207
111
|
description: `The Privacy Enhanced Mode of the YouTube embedded player prevents the use of views of embedded YouTube content from influencing the viewer’s browsing experience on YouTube.
|
|
208
112
|
https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-enhanced-mode`,
|
|
@@ -211,30 +115,12 @@ https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-
|
|
|
211
115
|
type: "boolean",
|
|
212
116
|
defaultValue: !0
|
|
213
117
|
},
|
|
214
|
-
property: { required: !1, control: "text", type: "string" },
|
|
215
|
-
radioGroup: { required: !1, control: "text", type: "string" },
|
|
216
118
|
referrer: {
|
|
217
119
|
description: "Referrer URL for tracking purposes.\nOriginal parameter: `widget_referrer`",
|
|
218
120
|
required: !1,
|
|
219
121
|
control: "text",
|
|
220
122
|
type: "string"
|
|
221
123
|
},
|
|
222
|
-
rel: {
|
|
223
|
-
required: !1,
|
|
224
|
-
control: "text",
|
|
225
|
-
type: "string",
|
|
226
|
-
description: "Specifies the relationship of the target object to the link object."
|
|
227
|
-
},
|
|
228
|
-
resource: { required: !1, control: "text", type: "string" },
|
|
229
|
-
results: { required: !1, control: "number", type: "number" },
|
|
230
|
-
rev: { required: !1, control: "text", type: "string" },
|
|
231
|
-
role: {
|
|
232
|
-
required: !1,
|
|
233
|
-
control: "text",
|
|
234
|
-
type: "string",
|
|
235
|
-
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
236
|
-
},
|
|
237
|
-
security: { required: !1, control: "text", type: "string" },
|
|
238
124
|
showAnnotations: {
|
|
239
125
|
description: "Whether to show annotations on the video.\nOriginal parameter: `iv_load_policy`",
|
|
240
126
|
required: !1,
|
|
@@ -264,67 +150,18 @@ https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-
|
|
|
264
150
|
type: "boolean",
|
|
265
151
|
defaultValue: !0
|
|
266
152
|
},
|
|
267
|
-
slot: {
|
|
268
|
-
required: !1,
|
|
269
|
-
control: "text",
|
|
270
|
-
type: "string",
|
|
271
|
-
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
272
|
-
},
|
|
273
|
-
spellCheck: {
|
|
274
|
-
required: !1,
|
|
275
|
-
control: "boolean",
|
|
276
|
-
type: "boolean",
|
|
277
|
-
description: "Indicates whether spell checking is allowed for the element."
|
|
278
|
-
},
|
|
279
153
|
startTime: {
|
|
280
154
|
description: "Start time of the video in seconds.\nOriginal parameter: `start`",
|
|
281
155
|
required: !1,
|
|
282
156
|
control: "number",
|
|
283
157
|
type: "number"
|
|
284
158
|
},
|
|
285
|
-
suppressContentEditableWarning: {
|
|
286
|
-
required: !1,
|
|
287
|
-
control: "boolean",
|
|
288
|
-
type: "boolean"
|
|
289
|
-
},
|
|
290
|
-
suppressHydrationWarning: {
|
|
291
|
-
required: !1,
|
|
292
|
-
control: "boolean",
|
|
293
|
-
type: "boolean"
|
|
294
|
-
},
|
|
295
|
-
tabIndex: {
|
|
296
|
-
required: !1,
|
|
297
|
-
control: "number",
|
|
298
|
-
type: "number",
|
|
299
|
-
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
300
|
-
},
|
|
301
|
-
title: {
|
|
302
|
-
description: 'The `title` attribute for the iframe.\nImproves accessibility by providing a brief description of the video content for screen readers.\nExample: "Video about web development tips".',
|
|
303
|
-
required: !1,
|
|
304
|
-
control: "text",
|
|
305
|
-
type: "string"
|
|
306
|
-
},
|
|
307
|
-
translate: {
|
|
308
|
-
required: !1,
|
|
309
|
-
control: "radio",
|
|
310
|
-
type: "string",
|
|
311
|
-
options: ["yes", "no"],
|
|
312
|
-
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."
|
|
313
|
-
},
|
|
314
|
-
typeof: { required: !1, control: "text", type: "string" },
|
|
315
|
-
unselectable: {
|
|
316
|
-
required: !1,
|
|
317
|
-
control: "radio",
|
|
318
|
-
type: "string",
|
|
319
|
-
options: ["on", "off"]
|
|
320
|
-
},
|
|
321
159
|
url: {
|
|
322
160
|
description: "The YouTube video URL or ID",
|
|
323
161
|
required: !1,
|
|
324
162
|
control: "text",
|
|
325
163
|
type: "string"
|
|
326
|
-
}
|
|
327
|
-
vocab: { required: !1, control: "text", type: "string" }
|
|
164
|
+
}
|
|
328
165
|
};
|
|
329
166
|
export {
|
|
330
167
|
e as props
|
package/lib/blockquote.ws.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const r = {
|
|
1
|
+
import { defaultStates as t } from "@webstudio-is/sdk";
|
|
2
|
+
import { props as e } from "./__generated__/blockquote.props.js";
|
|
3
|
+
const p = {
|
|
5
4
|
blockquote: [
|
|
6
5
|
{
|
|
7
6
|
property: "margin-top",
|
|
@@ -48,16 +47,12 @@ const r = {
|
|
|
48
47
|
value: { type: "rgb", r: 226, g: 226, b: 226, alpha: 1 }
|
|
49
48
|
}
|
|
50
49
|
]
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, l = {
|
|
57
|
-
props: p,
|
|
58
|
-
initialProps: ["id", "className", "cite"]
|
|
50
|
+
}, a = {
|
|
51
|
+
states: t,
|
|
52
|
+
presetStyle: p,
|
|
53
|
+
initialProps: ["id", "class", "cite"],
|
|
54
|
+
props: e
|
|
59
55
|
};
|
|
60
56
|
export {
|
|
61
|
-
|
|
62
|
-
l as propsMeta
|
|
57
|
+
a as meta
|
|
63
58
|
};
|
package/lib/body.ws.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const a = {
|
|
1
|
+
import { defaultStates as o } from "@webstudio-is/sdk";
|
|
2
|
+
import { body as t } from "@webstudio-is/sdk/normalize.css";
|
|
3
|
+
import { props as e } from "./__generated__/body.props.js";
|
|
4
|
+
const r = {
|
|
6
5
|
body: [
|
|
7
|
-
...
|
|
6
|
+
...t,
|
|
8
7
|
{
|
|
9
8
|
property: "-webkit-font-smoothing",
|
|
10
9
|
value: { type: "keyword", value: "antialiased" }
|
|
@@ -14,15 +13,12 @@ const a = {
|
|
|
14
13
|
value: { type: "keyword", value: "grayscale" }
|
|
15
14
|
}
|
|
16
15
|
]
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
props: r,
|
|
23
|
-
initialProps: ["id", "className"]
|
|
16
|
+
}, i = {
|
|
17
|
+
states: o,
|
|
18
|
+
presetStyle: r,
|
|
19
|
+
initialProps: ["id", "class"],
|
|
20
|
+
props: e
|
|
24
21
|
};
|
|
25
22
|
export {
|
|
26
|
-
|
|
27
|
-
y as propsMeta
|
|
23
|
+
i as meta
|
|
28
24
|
};
|
package/lib/bold.ws.js
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { BoldIcon as o } from "@webstudio-is/icons/svg";
|
|
2
1
|
import { defaultStates as t } from "@webstudio-is/sdk";
|
|
3
|
-
import { b as
|
|
2
|
+
import { b as o } from "@webstudio-is/sdk/normalize.css";
|
|
4
3
|
import { props as e } from "./__generated__/bold.props.js";
|
|
5
|
-
const
|
|
6
|
-
b: r
|
|
7
|
-
}, l = {
|
|
4
|
+
const a = {
|
|
8
5
|
label: "Bold Text",
|
|
9
|
-
icon: o,
|
|
10
6
|
states: t,
|
|
11
|
-
presetStyle:
|
|
12
|
-
|
|
13
|
-
props: e
|
|
14
|
-
initialProps: ["id", "className"]
|
|
7
|
+
presetStyle: { b: o },
|
|
8
|
+
initialProps: ["id", "class"],
|
|
9
|
+
props: e
|
|
15
10
|
};
|
|
16
11
|
export {
|
|
17
|
-
|
|
18
|
-
c as propsMeta
|
|
12
|
+
a as meta
|
|
19
13
|
};
|