@webstudio-is/sdk-components-react 0.218.0 → 0.219.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.
Files changed (59) hide show
  1. package/lib/__generated__/blockquote.props.js +2 -178
  2. package/lib/__generated__/body.props.js +2 -172
  3. package/lib/__generated__/bold.props.js +2 -172
  4. package/lib/__generated__/box.props.js +3 -172
  5. package/lib/__generated__/button.props.js +2 -234
  6. package/lib/__generated__/checkbox.props.js +1 -328
  7. package/lib/__generated__/code-text.props.js +1 -170
  8. package/lib/__generated__/form.props.js +2 -220
  9. package/lib/__generated__/head-link.props.js +2 -284
  10. package/lib/__generated__/head-meta.props.js +2 -196
  11. package/lib/__generated__/head-title.props.js +2 -172
  12. package/lib/__generated__/heading.props.js +3 -172
  13. package/lib/__generated__/html-embed.props.js +6 -1
  14. package/lib/__generated__/image.props.js +1 -247
  15. package/lib/__generated__/input.props.js +2 -360
  16. package/lib/__generated__/italic.props.js +2 -172
  17. package/lib/__generated__/label.props.js +2 -184
  18. package/lib/__generated__/link.props.js +4 -221
  19. package/lib/__generated__/list-item.props.js +2 -178
  20. package/lib/__generated__/list.props.js +1 -189
  21. package/lib/__generated__/markdown-embed.props.js +6 -1
  22. package/lib/__generated__/option.props.js +2 -196
  23. package/lib/__generated__/paragraph.props.js +2 -172
  24. package/lib/__generated__/radio-button.props.js +1 -328
  25. package/lib/__generated__/select.props.js +2 -220
  26. package/lib/__generated__/separator.props.js +2 -172
  27. package/lib/__generated__/span.props.js +2 -172
  28. package/lib/__generated__/subscript.props.js +2 -172
  29. package/lib/__generated__/superscript.props.js +2 -172
  30. package/lib/__generated__/text.props.js +3 -172
  31. package/lib/__generated__/textarea.props.js +2 -251
  32. package/lib/__generated__/time.props.js +3 -3
  33. package/lib/__generated__/video.props.js +2 -251
  34. package/lib/__generated__/vimeo-play-button.props.js +2 -233
  35. package/lib/__generated__/vimeo-preview-image.props.js +1 -246
  36. package/lib/__generated__/vimeo-spinner.props.js +2 -172
  37. package/lib/__generated__/vimeo.props.js +118 -365
  38. package/lib/__generated__/webhook-form.props.js +1 -223
  39. package/lib/__generated__/xml-node.props.js +8 -3
  40. package/lib/__generated__/xml-time.props.js +4 -3
  41. package/lib/__generated__/youtube.props.js +1 -164
  42. package/lib/box.ws.js +11 -11
  43. package/lib/head-slot.js +4 -5
  44. package/lib/heading.ws.js +7 -7
  45. package/lib/list.ws.js +3 -3
  46. package/lib/markdown-embed.js +3 -3
  47. package/lib/shared/video.js +13 -0
  48. package/lib/types/link.d.ts +1 -1
  49. package/lib/types/shared/video.d.ts +7 -0
  50. package/lib/types/vimeo.d.ts +0 -7
  51. package/lib/video.js +19 -23
  52. package/lib/vimeo-play-button.js +4 -4
  53. package/lib/vimeo-preview-image.js +5 -5
  54. package/lib/vimeo-spinner.js +1 -1
  55. package/lib/vimeo.js +113 -121
  56. package/lib/webhook-form.template.js +12 -12
  57. package/lib/xml-node.js +4 -4
  58. package/lib/youtube.js +1 -1
  59. package/package.json +8 -8
@@ -1,145 +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
- alt: {
10
- required: !1,
11
- control: "text",
12
- type: "string",
13
- description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
14
- },
15
- autoCapitalize: {
16
- required: !1,
17
- control: "text",
18
- type: "string",
19
- description: "Sets whether input is automatically capitalized when entered by user."
20
- },
21
- autoCorrect: { required: !1, control: "text", type: "string" },
22
- autoFocus: {
23
- required: !1,
24
- control: "boolean",
25
- type: "boolean",
26
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
27
- },
28
- autoSave: { required: !1, control: "text", type: "string" },
29
- className: { required: !1, control: "text", type: "string" },
30
- color: {
31
- required: !1,
32
- control: "color",
33
- type: "string",
34
- 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."
35
- },
36
- content: {
37
- required: !1,
38
- control: "text",
39
- type: "string",
40
- description: "A value associated with http-equiv orname depending on the context."
41
- },
42
- contextMenu: {
43
- required: !1,
44
- control: "text",
45
- type: "string",
46
- description: "Defines the ID of a menu element which willserve as the element's context menu."
47
- },
48
- crossOrigin: {
49
- required: !1,
50
- control: "radio",
51
- type: "string",
52
- options: ["", "anonymous", "use-credentials"],
53
- description: "How the element handles cross-origin requests"
54
- },
55
- datatype: { required: !1, control: "text", type: "string" },
56
- decoding: {
57
- required: !1,
58
- control: "radio",
59
- type: "string",
60
- options: ["async", "auto", "sync"],
61
- description: "Indicates the preferred method to decode the image."
62
- },
63
- defaultChecked: { required: !1, control: "boolean", type: "boolean" },
64
- defaultValue: { required: !1, control: "text", type: "string" },
65
- dir: {
66
- required: !1,
67
- control: "text",
68
- type: "string",
69
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
70
- },
71
- draggable: {
72
- required: !1,
73
- control: "boolean",
74
- type: "boolean",
75
- description: "Defines whether the element can be dragged."
76
- },
77
- fetchPriority: {
78
- required: !1,
79
- control: "radio",
80
- type: "string",
81
- options: ["high", "low", "auto"]
82
- },
83
- height: {
84
- required: !1,
85
- control: "number",
86
- type: "number",
87
- description: "Defines the image’s height in pixels."
88
- },
89
- hidden: {
90
- required: !1,
91
- control: "boolean",
92
- type: "boolean",
93
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
94
- },
95
- id: {
96
- required: !1,
97
- control: "text",
98
- type: "string",
99
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
100
- },
101
- inputMode: {
102
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
103
- required: !1,
104
- control: "select",
105
- type: "string",
106
- options: [
107
- "search",
108
- "text",
109
- "none",
110
- "tel",
111
- "url",
112
- "email",
113
- "numeric",
114
- "decimal"
115
- ]
116
- },
117
- is: {
118
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
119
- required: !1,
120
- control: "text",
121
- type: "string"
122
- },
123
- itemID: { required: !1, control: "text", type: "string" },
124
- itemProp: { required: !1, control: "text", type: "string" },
125
- itemRef: { required: !1, control: "text", type: "string" },
126
- itemScope: { required: !1, control: "boolean", type: "boolean" },
127
- itemType: { required: !1, control: "text", type: "string" },
128
- lang: {
129
- required: !1,
130
- control: "text",
131
- type: "string",
132
- description: "Defines the language used in the element."
133
- },
134
- loading: {
135
- required: !1,
136
- control: "radio",
137
- type: "string",
138
- defaultValue: "lazy",
139
- options: ["eager", "lazy"],
140
- description: "Determines whether the image will load as soon as possible (Eager), or when it scrolls into view (Lazy). Lazy loading is a great option for pages with many images because it can significantly reduce the time it takes for the page to load initially."
141
- },
142
- nonce: { required: !1, control: "text", type: "string" },
143
2
  optimize: {
144
3
  description: "Optimize the image for enhanced performance.",
145
4
  required: !1,
@@ -147,112 +6,7 @@ const e = {
147
6
  type: "boolean",
148
7
  defaultValue: !0
149
8
  },
150
- prefix: { required: !1, control: "text", type: "string" },
151
- property: { required: !1, control: "text", type: "string" },
152
- quality: { required: !1, control: "number", type: "number" },
153
- radioGroup: { required: !1, control: "text", type: "string" },
154
- referrerPolicy: {
155
- required: !1,
156
- control: "select",
157
- type: "string",
158
- options: [
159
- "",
160
- "origin",
161
- "no-referrer",
162
- "no-referrer-when-downgrade",
163
- "origin-when-cross-origin",
164
- "same-origin",
165
- "strict-origin",
166
- "strict-origin-when-cross-origin",
167
- "unsafe-url"
168
- ],
169
- description: "Specifies which referrer is sent when fetching the resource."
170
- },
171
- rel: {
172
- required: !1,
173
- control: "text",
174
- type: "string",
175
- description: "Specifies the relationship of the target object to the link object."
176
- },
177
- resource: { required: !1, control: "text", type: "string" },
178
- results: { required: !1, control: "number", type: "number" },
179
- rev: { required: !1, control: "text", type: "string" },
180
- role: {
181
- required: !1,
182
- control: "text",
183
- type: "string",
184
- description: "Defines an explicit role for an element for use by assistive technologies."
185
- },
186
- security: { required: !1, control: "text", type: "string" },
187
- sizes: { required: !1, control: "text", type: "string" },
188
- slot: {
189
- required: !1,
190
- control: "text",
191
- type: "string",
192
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
193
- },
194
- spellCheck: {
195
- required: !1,
196
- control: "boolean",
197
- type: "boolean",
198
- description: "Indicates whether spell checking is allowed for the element."
199
- },
200
- src: {
201
- required: !1,
202
- control: "text",
203
- type: "string",
204
- description: "The URL of the embeddable content."
205
- },
206
- srcSet: {
207
- required: !1,
208
- control: "text",
209
- type: "string",
210
- description: "One or more responsive image candidates."
211
- },
212
- suppressContentEditableWarning: {
213
- required: !1,
214
- control: "boolean",
215
- type: "boolean"
216
- },
217
- suppressHydrationWarning: {
218
- required: !1,
219
- control: "boolean",
220
- type: "boolean"
221
- },
222
- tabIndex: {
223
- required: !1,
224
- control: "number",
225
- type: "number",
226
- description: "Overrides the browser's default tab order and follows the one specified instead."
227
- },
228
- title: {
229
- required: !1,
230
- control: "text",
231
- type: "string",
232
- description: "Text to be displayed in a tooltip when hovering over the element."
233
- },
234
- translate: {
235
- required: !1,
236
- control: "radio",
237
- type: "string",
238
- options: ["yes", "no"],
239
- 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."
240
- },
241
- typeof: { required: !1, control: "text", type: "string" },
242
- unselectable: {
243
- required: !1,
244
- control: "radio",
245
- type: "string",
246
- options: ["on", "off"]
247
- },
248
- useMap: { required: !1, control: "text", type: "string" },
249
- vocab: { required: !1, control: "text", type: "string" },
250
- width: {
251
- required: !1,
252
- control: "number",
253
- type: "number",
254
- description: "Defines the image’s width in pixels."
255
- }
9
+ quality: { required: !1, control: "number", type: "number" }
256
10
  };
257
11
  export {
258
12
  e as props
@@ -1,362 +1,4 @@
1
- const e = {
2
- about: { required: !1, control: "text", type: "string" },
3
- accept: {
4
- required: !1,
5
- control: "text",
6
- type: "string",
7
- description: "List of types the server accepts, typically a file type."
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
- alt: {
16
- required: !1,
17
- control: "text",
18
- type: "string",
19
- description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
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
- autoCorrect: { required: !1, control: "text", type: "string" },
28
- autoFocus: {
29
- required: !1,
30
- control: "boolean",
31
- type: "boolean",
32
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
33
- },
34
- autoSave: { required: !1, control: "text", type: "string" },
35
- checked: {
36
- required: !1,
37
- control: "boolean",
38
- type: "boolean",
39
- description: "Indicates whether the element should be checked on page load."
40
- },
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
- disabled: {
70
- required: !1,
71
- control: "boolean",
72
- type: "boolean",
73
- description: "Indicates whether the user can interact with the element."
74
- },
75
- draggable: {
76
- required: !1,
77
- control: "boolean",
78
- type: "boolean",
79
- description: "Defines whether the element can be dragged."
80
- },
81
- enterKeyHint: {
82
- required: !1,
83
- control: "select",
84
- type: "string",
85
- options: ["search", "enter", "done", "go", "next", "previous", "send"],
86
- description: "The enterkeyhint specifies what action label (or icon) to present for the enter key onvirtual keyboards. The attribute can be used with form controls (such asthe value of textarea elements), or in elements in anediting host (e.g., using contenteditable attribute)."
87
- },
88
- form: {
89
- required: !1,
90
- control: "text",
91
- type: "string",
92
- description: "Indicates the form that is the owner of the element."
93
- },
94
- formAction: {
95
- required: !1,
96
- control: "text",
97
- type: "string",
98
- description: "Indicates the action of the element, overriding the action defined inthe form."
99
- },
100
- formEncType: {
101
- required: !1,
102
- control: "text",
103
- type: "string",
104
- description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
105
- },
106
- formMethod: {
107
- required: !1,
108
- control: "text",
109
- type: "string",
110
- description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
111
- },
112
- formNoValidate: {
113
- required: !1,
114
- control: "boolean",
115
- type: "boolean",
116
- description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
117
- },
118
- formTarget: {
119
- required: !1,
120
- control: "text",
121
- type: "string",
122
- description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
123
- },
124
- height: {
125
- required: !1,
126
- control: "number",
127
- type: "number",
128
- description: "Defines the image’s height in pixels."
129
- },
130
- hidden: {
131
- required: !1,
132
- control: "boolean",
133
- type: "boolean",
134
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
135
- },
136
- id: {
137
- required: !1,
138
- control: "text",
139
- type: "string",
140
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
141
- },
142
- inputMode: {
143
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
144
- required: !1,
145
- control: "select",
146
- type: "string",
147
- options: [
148
- "search",
149
- "text",
150
- "email",
151
- "tel",
152
- "url",
153
- "none",
154
- "numeric",
155
- "decimal"
156
- ]
157
- },
158
- is: {
159
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
160
- required: !1,
161
- control: "text",
162
- type: "string"
163
- },
164
- itemID: { required: !1, control: "text", type: "string" },
165
- itemProp: { required: !1, control: "text", type: "string" },
166
- itemRef: { required: !1, control: "text", type: "string" },
167
- itemScope: { required: !1, control: "boolean", type: "boolean" },
168
- itemType: { required: !1, control: "text", type: "string" },
169
- lang: {
170
- required: !1,
171
- control: "text",
172
- type: "string",
173
- description: "Defines the language used in the element."
174
- },
175
- list: {
176
- required: !1,
177
- control: "text",
178
- type: "string",
179
- description: "Identifies a list of pre-defined options to suggest to the user."
180
- },
181
- max: {
182
- required: !1,
183
- control: "number",
184
- type: "number",
185
- description: "Indicates the maximum value allowed."
186
- },
187
- maxLength: {
188
- required: !1,
189
- control: "number",
190
- type: "number",
191
- description: "Defines the maximum number of characters allowed in the element."
192
- },
193
- min: {
194
- required: !1,
195
- control: "number",
196
- type: "number",
197
- description: "Indicates the minimum value allowed."
198
- },
199
- minLength: {
200
- required: !1,
201
- control: "number",
202
- type: "number",
203
- description: "Defines the minimum number of characters allowed in the element."
204
- },
205
- multiple: {
206
- required: !1,
207
- control: "boolean",
208
- type: "boolean",
209
- description: "Indicates whether multiple values can be entered in an input of the type email or file."
210
- },
211
- name: {
212
- required: !1,
213
- control: "text",
214
- type: "string",
215
- 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)."
216
- },
217
- nonce: { required: !1, control: "text", type: "string" },
218
- pattern: {
219
- required: !1,
220
- control: "text",
221
- type: "string",
222
- description: "Defines a regular expression which the element's value will be validated against."
223
- },
224
- placeholder: {
225
- required: !1,
226
- control: "text",
227
- type: "string",
228
- description: "Provides a hint to the user of what can be entered in the field."
229
- },
230
- prefix: { required: !1, control: "text", type: "string" },
231
- property: { required: !1, control: "text", type: "string" },
232
- radioGroup: { required: !1, control: "text", type: "string" },
233
- readOnly: {
234
- required: !1,
235
- control: "boolean",
236
- type: "boolean",
237
- description: "Indicates whether the element can be edited."
238
- },
239
- rel: {
240
- required: !1,
241
- control: "text",
242
- type: "string",
243
- description: "Specifies the relationship of the target object to the link object."
244
- },
245
- required: {
246
- required: !1,
247
- control: "boolean",
248
- type: "boolean",
249
- description: "Indicates whether this form element must be filled before the form can be submitted."
250
- },
251
- resource: { required: !1, control: "text", type: "string" },
252
- results: { required: !1, control: "number", type: "number" },
253
- rev: { required: !1, control: "text", type: "string" },
254
- role: {
255
- required: !1,
256
- control: "text",
257
- type: "string",
258
- description: "Defines an explicit role for an element for use by assistive technologies."
259
- },
260
- security: { required: !1, control: "text", type: "string" },
261
- size: {
262
- required: !1,
263
- control: "number",
264
- type: "number",
265
- description: "Defines the width of the element (in pixels). If the element'stype attribute is text or password then it's the number of characters."
266
- },
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
- src: {
280
- required: !1,
281
- control: "text",
282
- type: "string",
283
- description: "The URL of the embeddable content."
284
- },
285
- step: { required: !1, control: "number", type: "number" },
286
- suppressContentEditableWarning: {
287
- required: !1,
288
- control: "boolean",
289
- type: "boolean"
290
- },
291
- suppressHydrationWarning: {
292
- required: !1,
293
- control: "boolean",
294
- type: "boolean"
295
- },
296
- tabIndex: {
297
- required: !1,
298
- control: "number",
299
- type: "number",
300
- description: "Overrides the browser's default tab order and follows the one specified instead."
301
- },
302
- title: {
303
- required: !1,
304
- control: "text",
305
- type: "string",
306
- description: "Text to be displayed in a tooltip when hovering over the element."
307
- },
308
- translate: {
309
- required: !1,
310
- control: "radio",
311
- type: "string",
312
- options: ["yes", "no"],
313
- 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."
314
- },
315
- type: {
316
- required: !1,
317
- control: "select",
318
- type: "string",
319
- defaultValue: "text",
320
- options: [
321
- "number",
322
- "search",
323
- "time",
324
- "text",
325
- "hidden",
326
- "color",
327
- "date",
328
- "datetime-local",
329
- "email",
330
- "month",
331
- "password",
332
- "range",
333
- "tel",
334
- "url",
335
- "week"
336
- ],
337
- description: "Specifies the type of data that this input will accept and helps the browser provide appropriate validation and formatting for that input type."
338
- },
339
- typeof: { required: !1, control: "text", type: "string" },
340
- unselectable: {
341
- required: !1,
342
- control: "radio",
343
- type: "string",
344
- options: ["off", "on"]
345
- },
346
- value: {
347
- required: !1,
348
- control: "text",
349
- type: "string",
350
- description: "Defines a default value which will be displayed in the element on pageload."
351
- },
352
- vocab: { required: !1, control: "text", type: "string" },
353
- width: {
354
- required: !1,
355
- control: "number",
356
- type: "number",
357
- description: "Defines the image’s width in pixels."
358
- }
359
- };
1
+ const o = {};
360
2
  export {
361
- e as props
3
+ o as props
362
4
  };