@webstudio-is/sdk-components-react 0.173.0 → 0.175.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/components.js +168 -132
- package/lib/metas.js +270 -186
- package/lib/props.js +302 -179
- package/lib/types/__generated__/markdown-embed.props.d.ts +2 -0
- package/lib/types/components.d.ts +2 -0
- package/lib/types/link.d.ts +5 -5
- package/lib/types/markdown-embed.d.ts +7 -0
- package/lib/types/markdown-embed.ws.d.ts +3 -0
- package/lib/types/metas.d.ts +2 -0
- package/lib/types/props.d.ts +2 -0
- package/lib/types/select.d.ts +1 -1
- package/lib/types/time.d.ts +5 -3
- package/lib/types/time.test.d.ts +1 -0
- package/lib/types/xml-node.d.ts +0 -3
- package/package.json +8 -6
package/lib/metas.js
CHANGED
|
@@ -3,7 +3,6 @@ import { SlotComponentIcon } from "@webstudio-is/icons/svg";
|
|
|
3
3
|
var meta = {
|
|
4
4
|
category: "general",
|
|
5
5
|
type: "container",
|
|
6
|
-
label: "Slot",
|
|
7
6
|
description: "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
|
|
8
7
|
icon: SlotComponentIcon,
|
|
9
8
|
stylable: false,
|
|
@@ -13,7 +12,6 @@ var meta = {
|
|
|
13
12
|
// src/fragment.ws.ts
|
|
14
13
|
var meta2 = {
|
|
15
14
|
type: "container",
|
|
16
|
-
label: "Fragment",
|
|
17
15
|
icon: "",
|
|
18
16
|
stylable: false
|
|
19
17
|
};
|
|
@@ -66,42 +64,138 @@ var propsMeta = {
|
|
|
66
64
|
code: {
|
|
67
65
|
required: true,
|
|
68
66
|
control: "code",
|
|
67
|
+
language: "html",
|
|
69
68
|
type: "string"
|
|
70
69
|
}
|
|
71
70
|
},
|
|
72
71
|
initialProps: ["className", "clientOnly", "executeScriptOnCanvas"]
|
|
73
72
|
};
|
|
74
73
|
|
|
75
|
-
// src/
|
|
76
|
-
import {
|
|
74
|
+
// src/markdown-embed.ws.ts
|
|
75
|
+
import { MarkdownEmbedIcon } from "@webstudio-is/icons/svg";
|
|
76
|
+
import { imagePlaceholderDataUrl } from "@webstudio-is/image";
|
|
77
77
|
import {
|
|
78
78
|
descendantComponent
|
|
79
79
|
} from "@webstudio-is/react-sdk";
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
80
|
+
|
|
81
|
+
// src/__generated__/markdown-embed.props.ts
|
|
82
|
+
var props2 = {
|
|
83
|
+
className: { required: false, control: "text", type: "string" },
|
|
84
|
+
code: { required: true, control: "text", type: "string" }
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
// src/markdown-embed.ws.ts
|
|
88
|
+
var markdownSample = `
|
|
89
|
+
# Styling Markdown with Markdown Embed
|
|
90
|
+
|
|
91
|
+
Markdown Embed allows styling of Markdown, which primarily comes from external data.
|
|
92
|
+
|
|
93
|
+
## How to Use Markdown Embed
|
|
94
|
+
|
|
95
|
+
- Every element is shown in the Navigator.
|
|
96
|
+
- Apply styles and Tokens to each element.
|
|
97
|
+
- Adjustments to elements apply universally within this embed, ensuring consistency across your content.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## This sample text contains all the elements that can be styled.
|
|
102
|
+
|
|
103
|
+
Any elements that were not used above are used below.
|
|
104
|
+
|
|
105
|
+
### Heading 3
|
|
106
|
+
#### Heading 4
|
|
107
|
+
##### Heading 5
|
|
108
|
+
###### Heading 6
|
|
109
|
+
|
|
110
|
+
[Links](#) connect your content to relevant resources.
|
|
111
|
+
|
|
112
|
+
**Bold text** makes your important points stand out.
|
|
113
|
+
|
|
114
|
+
*Italic text* is great for emphasizing terms.
|
|
115
|
+
|
|
116
|
+
1. First Step
|
|
117
|
+
2. Second Step
|
|
118
|
+
|
|
119
|
+

|
|
120
|
+
|
|
121
|
+
> Capture attention with a powerful quote.
|
|
122
|
+
|
|
123
|
+
Using \`console.log("Hello World");\` will log to the console.
|
|
104
124
|
`.trim();
|
|
125
|
+
var descendant = (label2, tag) => {
|
|
126
|
+
return {
|
|
127
|
+
type: "instance",
|
|
128
|
+
component: descendantComponent,
|
|
129
|
+
label: label2,
|
|
130
|
+
props: [{ type: "string", name: "selector", value: ` ${tag}` }],
|
|
131
|
+
children: []
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
var meta4 = {
|
|
135
|
+
category: "data",
|
|
136
|
+
type: "embed",
|
|
137
|
+
description: "Used to add markdown code to the page",
|
|
138
|
+
icon: MarkdownEmbedIcon,
|
|
139
|
+
presetStyle: {
|
|
140
|
+
div: [
|
|
141
|
+
{
|
|
142
|
+
property: "display",
|
|
143
|
+
value: { type: "keyword", value: "contents" }
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
order: 4,
|
|
148
|
+
template: [
|
|
149
|
+
{
|
|
150
|
+
type: "instance",
|
|
151
|
+
component: "MarkdownEmbed",
|
|
152
|
+
props: [
|
|
153
|
+
{
|
|
154
|
+
name: "code",
|
|
155
|
+
type: "string",
|
|
156
|
+
value: markdownSample
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
children: [
|
|
160
|
+
descendant("Paragraph", "p"),
|
|
161
|
+
descendant("Heading 1", "h1"),
|
|
162
|
+
descendant("Heading 2", "h2"),
|
|
163
|
+
descendant("Heading 3", "h3"),
|
|
164
|
+
descendant("Heading 4", "h4"),
|
|
165
|
+
descendant("Heading 5", "h5"),
|
|
166
|
+
descendant("Heading 6", "h6"),
|
|
167
|
+
descendant("Bold", ":where(strong, b)"),
|
|
168
|
+
descendant("Italic", ":where(em, i)"),
|
|
169
|
+
descendant("Link", "a"),
|
|
170
|
+
descendant("Image", "img"),
|
|
171
|
+
descendant("Blockquote", "blockquote"),
|
|
172
|
+
descendant("Code Text", "code"),
|
|
173
|
+
descendant("List", ":where(ul, ol)"),
|
|
174
|
+
descendant("List Item", "li"),
|
|
175
|
+
descendant("Separator", "hr")
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
};
|
|
180
|
+
var propsMeta2 = {
|
|
181
|
+
props: {
|
|
182
|
+
...props2,
|
|
183
|
+
code: {
|
|
184
|
+
required: true,
|
|
185
|
+
control: "code",
|
|
186
|
+
language: "markdown",
|
|
187
|
+
type: "string"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
initialProps: ["className"]
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
// src/content-embed.ws.ts
|
|
194
|
+
import { ContentEmbedIcon } from "@webstudio-is/icons/svg";
|
|
195
|
+
import { imagePlaceholderDataUrl as imagePlaceholderDataUrl2 } from "@webstudio-is/image";
|
|
196
|
+
import {
|
|
197
|
+
descendantComponent as descendantComponent2
|
|
198
|
+
} from "@webstudio-is/react-sdk";
|
|
105
199
|
var htmlSample = `
|
|
106
200
|
<h1>Styling HTML with Content Embed</h1>
|
|
107
201
|
<p>Content Embed allows styling of HTML, which primarily comes from external data.</p>
|
|
@@ -125,23 +219,22 @@ var htmlSample = `
|
|
|
125
219
|
<li>First Step</li>
|
|
126
220
|
<li>Second Step</li>
|
|
127
221
|
</ol>
|
|
128
|
-
<img src="
|
|
222
|
+
<img src="${imagePlaceholderDataUrl2}">
|
|
129
223
|
<blockquote>Capture attention with a powerful quote.</blockquote>
|
|
130
224
|
<p>Using <code>console.log("Hello World");</code> will log to the console.</p>
|
|
131
|
-
`.
|
|
132
|
-
var
|
|
225
|
+
`.trim();
|
|
226
|
+
var descendant2 = (label2, tag) => {
|
|
133
227
|
return {
|
|
134
228
|
type: "instance",
|
|
135
|
-
component:
|
|
229
|
+
component: descendantComponent2,
|
|
136
230
|
label: label2,
|
|
137
231
|
props: [{ type: "string", name: "selector", value: ` ${tag}` }],
|
|
138
232
|
children: []
|
|
139
233
|
};
|
|
140
234
|
};
|
|
141
|
-
var
|
|
235
|
+
var meta5 = {
|
|
142
236
|
category: "data",
|
|
143
237
|
type: "control",
|
|
144
|
-
label: "Content Embed",
|
|
145
238
|
description: "Content Embed allows styling of HTML, which can be provided via the Code property statically or loaded dynamically from any Resource, for example, from a CMS.",
|
|
146
239
|
icon: ContentEmbedIcon,
|
|
147
240
|
order: 3,
|
|
@@ -158,22 +251,22 @@ var meta4 = {
|
|
|
158
251
|
}
|
|
159
252
|
],
|
|
160
253
|
children: [
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
254
|
+
descendant2("Paragraph", "p"),
|
|
255
|
+
descendant2("Heading 1", "h1"),
|
|
256
|
+
descendant2("Heading 2", "h2"),
|
|
257
|
+
descendant2("Heading 3", "h3"),
|
|
258
|
+
descendant2("Heading 4", "h4"),
|
|
259
|
+
descendant2("Heading 5", "h5"),
|
|
260
|
+
descendant2("Heading 6", "h6"),
|
|
261
|
+
descendant2("Bold", ":where(strong, b)"),
|
|
262
|
+
descendant2("Italic", ":where(em, i)"),
|
|
263
|
+
descendant2("Link", "a"),
|
|
264
|
+
descendant2("Image", "img"),
|
|
265
|
+
descendant2("Blockquote", "blockquote"),
|
|
266
|
+
descendant2("Code Text", "code"),
|
|
267
|
+
descendant2("List", ":where(ul, ol)"),
|
|
268
|
+
descendant2("List Item", "li"),
|
|
269
|
+
descendant2("Separator", "hr")
|
|
177
270
|
]
|
|
178
271
|
}
|
|
179
272
|
]
|
|
@@ -184,7 +277,7 @@ import { BodyIcon } from "@webstudio-is/icons/svg";
|
|
|
184
277
|
import {
|
|
185
278
|
defaultStates
|
|
186
279
|
} from "@webstudio-is/react-sdk";
|
|
187
|
-
import { body } from "@webstudio-is/
|
|
280
|
+
import { body } from "@webstudio-is/sdk/normalize.css";
|
|
188
281
|
var presetStyle2 = {
|
|
189
282
|
body: [
|
|
190
283
|
...body,
|
|
@@ -198,9 +291,8 @@ var presetStyle2 = {
|
|
|
198
291
|
}
|
|
199
292
|
]
|
|
200
293
|
};
|
|
201
|
-
var
|
|
294
|
+
var meta6 = {
|
|
202
295
|
type: "container",
|
|
203
|
-
label: "Body",
|
|
204
296
|
icon: BodyIcon,
|
|
205
297
|
states: defaultStates,
|
|
206
298
|
presetStyle: presetStyle2
|
|
@@ -222,7 +314,7 @@ import {
|
|
|
222
314
|
main,
|
|
223
315
|
nav,
|
|
224
316
|
section
|
|
225
|
-
} from "@webstudio-is/
|
|
317
|
+
} from "@webstudio-is/sdk/normalize.css";
|
|
226
318
|
var presetStyle3 = {
|
|
227
319
|
div,
|
|
228
320
|
address,
|
|
@@ -235,10 +327,9 @@ var presetStyle3 = {
|
|
|
235
327
|
nav,
|
|
236
328
|
section
|
|
237
329
|
};
|
|
238
|
-
var
|
|
330
|
+
var meta7 = {
|
|
239
331
|
category: "general",
|
|
240
332
|
type: "container",
|
|
241
|
-
label: "Box",
|
|
242
333
|
description: "A container for content. By default this is a Div, but the tag can be changed in settings.",
|
|
243
334
|
icon: BoxIcon,
|
|
244
335
|
states: defaultStates2,
|
|
@@ -251,7 +342,7 @@ import { TextIcon } from "@webstudio-is/icons/svg";
|
|
|
251
342
|
import {
|
|
252
343
|
defaultStates as defaultStates3
|
|
253
344
|
} from "@webstudio-is/react-sdk";
|
|
254
|
-
import { div as div2 } from "@webstudio-is/
|
|
345
|
+
import { div as div2 } from "@webstudio-is/sdk/normalize.css";
|
|
255
346
|
var presetStyle4 = {
|
|
256
347
|
div: [
|
|
257
348
|
...div2,
|
|
@@ -261,10 +352,9 @@ var presetStyle4 = {
|
|
|
261
352
|
}
|
|
262
353
|
]
|
|
263
354
|
};
|
|
264
|
-
var
|
|
355
|
+
var meta8 = {
|
|
265
356
|
category: "text",
|
|
266
357
|
type: "container",
|
|
267
|
-
label: "Text",
|
|
268
358
|
description: "A generic container for any text content that is not a heading or a link.",
|
|
269
359
|
icon: TextIcon,
|
|
270
360
|
states: defaultStates3,
|
|
@@ -290,7 +380,7 @@ import { HeadingIcon } from "@webstudio-is/icons/svg";
|
|
|
290
380
|
import {
|
|
291
381
|
defaultStates as defaultStates4
|
|
292
382
|
} from "@webstudio-is/react-sdk";
|
|
293
|
-
import { h1, h2, h3, h4, h5, h6 } from "@webstudio-is/
|
|
383
|
+
import { h1, h2, h3, h4, h5, h6 } from "@webstudio-is/sdk/normalize.css";
|
|
294
384
|
var presetStyle5 = {
|
|
295
385
|
h1,
|
|
296
386
|
h2,
|
|
@@ -299,10 +389,9 @@ var presetStyle5 = {
|
|
|
299
389
|
h5,
|
|
300
390
|
h6
|
|
301
391
|
};
|
|
302
|
-
var
|
|
392
|
+
var meta9 = {
|
|
303
393
|
category: "text",
|
|
304
394
|
type: "container",
|
|
305
|
-
label: "Heading",
|
|
306
395
|
description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).",
|
|
307
396
|
icon: HeadingIcon,
|
|
308
397
|
invalidAncestors: ["Heading"],
|
|
@@ -329,14 +418,13 @@ import { TextAlignLeftIcon } from "@webstudio-is/icons/svg";
|
|
|
329
418
|
import {
|
|
330
419
|
defaultStates as defaultStates5
|
|
331
420
|
} from "@webstudio-is/react-sdk";
|
|
332
|
-
import { p } from "@webstudio-is/
|
|
421
|
+
import { p } from "@webstudio-is/sdk/normalize.css";
|
|
333
422
|
var presetStyle6 = {
|
|
334
423
|
p
|
|
335
424
|
};
|
|
336
|
-
var
|
|
425
|
+
var meta10 = {
|
|
337
426
|
category: "text",
|
|
338
427
|
type: "container",
|
|
339
|
-
label: "Paragraph",
|
|
340
428
|
description: "A container for multi-line text.",
|
|
341
429
|
icon: TextAlignLeftIcon,
|
|
342
430
|
invalidAncestors: ["Paragraph"],
|
|
@@ -363,10 +451,10 @@ import { LinkIcon } from "@webstudio-is/icons/svg";
|
|
|
363
451
|
import {
|
|
364
452
|
defaultStates as defaultStates6
|
|
365
453
|
} from "@webstudio-is/react-sdk";
|
|
366
|
-
import { a } from "@webstudio-is/
|
|
454
|
+
import { a } from "@webstudio-is/sdk/normalize.css";
|
|
367
455
|
|
|
368
456
|
// src/__generated__/link.props.ts
|
|
369
|
-
var
|
|
457
|
+
var props3 = {
|
|
370
458
|
about: { required: false, control: "text", type: "string" },
|
|
371
459
|
accessKey: {
|
|
372
460
|
required: false,
|
|
@@ -746,6 +834,12 @@ var props2 = {
|
|
|
746
834
|
type: "string",
|
|
747
835
|
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
748
836
|
},
|
|
837
|
+
download: {
|
|
838
|
+
required: false,
|
|
839
|
+
control: "boolean",
|
|
840
|
+
type: "boolean",
|
|
841
|
+
description: "Indicates that the hyperlink is to be used for downloading a resource."
|
|
842
|
+
},
|
|
749
843
|
draggable: {
|
|
750
844
|
required: false,
|
|
751
845
|
control: "boolean",
|
|
@@ -936,10 +1030,9 @@ var presetStyle7 = {
|
|
|
936
1030
|
}
|
|
937
1031
|
]
|
|
938
1032
|
};
|
|
939
|
-
var
|
|
1033
|
+
var meta11 = {
|
|
940
1034
|
category: "general",
|
|
941
1035
|
type: "container",
|
|
942
|
-
label: "Link",
|
|
943
1036
|
description: "Use a link to send your users to another page, section, or resource. Configure links in the Settings panel.",
|
|
944
1037
|
icon: LinkIcon,
|
|
945
1038
|
invalidAncestors: ["Link", "Button"],
|
|
@@ -971,21 +1064,21 @@ var meta10 = {
|
|
|
971
1064
|
}
|
|
972
1065
|
]
|
|
973
1066
|
};
|
|
974
|
-
var
|
|
1067
|
+
var propsMeta3 = {
|
|
975
1068
|
props: {
|
|
976
|
-
...
|
|
1069
|
+
...props3,
|
|
977
1070
|
href: {
|
|
978
1071
|
type: "string",
|
|
979
1072
|
control: "url",
|
|
980
1073
|
required: false
|
|
981
1074
|
}
|
|
982
1075
|
},
|
|
983
|
-
initialProps: ["id", "className", "href", "target"]
|
|
1076
|
+
initialProps: ["id", "className", "href", "target", "download"]
|
|
984
1077
|
};
|
|
985
1078
|
|
|
986
1079
|
// src/rich-text-link.ws.ts
|
|
987
|
-
var
|
|
988
|
-
...
|
|
1080
|
+
var meta12 = {
|
|
1081
|
+
...meta11,
|
|
989
1082
|
category: "hidden",
|
|
990
1083
|
type: "rich-text-child",
|
|
991
1084
|
template: []
|
|
@@ -996,11 +1089,11 @@ import { PaintBrushIcon } from "@webstudio-is/icons/svg";
|
|
|
996
1089
|
import {
|
|
997
1090
|
defaultStates as defaultStates7
|
|
998
1091
|
} from "@webstudio-is/react-sdk";
|
|
999
|
-
import { span } from "@webstudio-is/
|
|
1092
|
+
import { span } from "@webstudio-is/sdk/normalize.css";
|
|
1000
1093
|
var presetStyle8 = {
|
|
1001
1094
|
span
|
|
1002
1095
|
};
|
|
1003
|
-
var
|
|
1096
|
+
var meta13 = {
|
|
1004
1097
|
type: "rich-text-child",
|
|
1005
1098
|
label: "Text",
|
|
1006
1099
|
icon: PaintBrushIcon,
|
|
@@ -1013,11 +1106,11 @@ import { BoldIcon } from "@webstudio-is/icons/svg";
|
|
|
1013
1106
|
import {
|
|
1014
1107
|
defaultStates as defaultStates8
|
|
1015
1108
|
} from "@webstudio-is/react-sdk";
|
|
1016
|
-
import { b } from "@webstudio-is/
|
|
1109
|
+
import { b } from "@webstudio-is/sdk/normalize.css";
|
|
1017
1110
|
var presetStyle9 = {
|
|
1018
1111
|
b
|
|
1019
1112
|
};
|
|
1020
|
-
var
|
|
1113
|
+
var meta14 = {
|
|
1021
1114
|
type: "rich-text-child",
|
|
1022
1115
|
label: "Bold Text",
|
|
1023
1116
|
icon: BoldIcon,
|
|
@@ -1030,7 +1123,7 @@ import { TextItalicIcon } from "@webstudio-is/icons/svg";
|
|
|
1030
1123
|
import {
|
|
1031
1124
|
defaultStates as defaultStates9
|
|
1032
1125
|
} from "@webstudio-is/react-sdk";
|
|
1033
|
-
import { i } from "@webstudio-is/
|
|
1126
|
+
import { i } from "@webstudio-is/sdk/normalize.css";
|
|
1034
1127
|
var presetStyle10 = {
|
|
1035
1128
|
i: [
|
|
1036
1129
|
...i,
|
|
@@ -1040,7 +1133,7 @@ var presetStyle10 = {
|
|
|
1040
1133
|
}
|
|
1041
1134
|
]
|
|
1042
1135
|
};
|
|
1043
|
-
var
|
|
1136
|
+
var meta15 = {
|
|
1044
1137
|
type: "rich-text-child",
|
|
1045
1138
|
label: "Italic Text",
|
|
1046
1139
|
icon: TextItalicIcon,
|
|
@@ -1053,11 +1146,11 @@ import { SuperscriptIcon } from "@webstudio-is/icons/svg";
|
|
|
1053
1146
|
import {
|
|
1054
1147
|
defaultStates as defaultStates10
|
|
1055
1148
|
} from "@webstudio-is/react-sdk";
|
|
1056
|
-
import { sup } from "@webstudio-is/
|
|
1149
|
+
import { sup } from "@webstudio-is/sdk/normalize.css";
|
|
1057
1150
|
var presetStyle11 = {
|
|
1058
1151
|
sup
|
|
1059
1152
|
};
|
|
1060
|
-
var
|
|
1153
|
+
var meta16 = {
|
|
1061
1154
|
type: "rich-text-child",
|
|
1062
1155
|
label: "Superscript Text",
|
|
1063
1156
|
icon: SuperscriptIcon,
|
|
@@ -1070,11 +1163,11 @@ import { SubscriptIcon } from "@webstudio-is/icons/svg";
|
|
|
1070
1163
|
import {
|
|
1071
1164
|
defaultStates as defaultStates11
|
|
1072
1165
|
} from "@webstudio-is/react-sdk";
|
|
1073
|
-
import { sub } from "@webstudio-is/
|
|
1166
|
+
import { sub } from "@webstudio-is/sdk/normalize.css";
|
|
1074
1167
|
var presetStyle12 = {
|
|
1075
1168
|
sub
|
|
1076
1169
|
};
|
|
1077
|
-
var
|
|
1170
|
+
var meta17 = {
|
|
1078
1171
|
type: "rich-text-child",
|
|
1079
1172
|
label: "Subscript Text",
|
|
1080
1173
|
icon: SubscriptIcon,
|
|
@@ -1087,15 +1180,14 @@ import { ButtonElementIcon } from "@webstudio-is/icons/svg";
|
|
|
1087
1180
|
import {
|
|
1088
1181
|
defaultStates as defaultStates12
|
|
1089
1182
|
} from "@webstudio-is/react-sdk";
|
|
1090
|
-
import { button } from "@webstudio-is/
|
|
1183
|
+
import { button } from "@webstudio-is/sdk/normalize.css";
|
|
1091
1184
|
var presetStyle13 = {
|
|
1092
1185
|
button
|
|
1093
1186
|
};
|
|
1094
|
-
var
|
|
1187
|
+
var meta18 = {
|
|
1095
1188
|
category: "forms",
|
|
1096
1189
|
type: "container",
|
|
1097
1190
|
invalidAncestors: ["Button", "Link"],
|
|
1098
|
-
label: "Button",
|
|
1099
1191
|
description: "Use a button to submit forms or trigger actions within a page. Do not use a button to navigate users to another resource or another page - that\u2019s what a link is used for.",
|
|
1100
1192
|
icon: ButtonElementIcon,
|
|
1101
1193
|
presetStyle: presetStyle13,
|
|
@@ -1125,7 +1217,7 @@ import { FormTextFieldIcon } from "@webstudio-is/icons/svg";
|
|
|
1125
1217
|
import {
|
|
1126
1218
|
defaultStates as defaultStates13
|
|
1127
1219
|
} from "@webstudio-is/react-sdk";
|
|
1128
|
-
import { input } from "@webstudio-is/
|
|
1220
|
+
import { input } from "@webstudio-is/sdk/normalize.css";
|
|
1129
1221
|
var presetStyle14 = {
|
|
1130
1222
|
input: [
|
|
1131
1223
|
...input,
|
|
@@ -1135,7 +1227,7 @@ var presetStyle14 = {
|
|
|
1135
1227
|
}
|
|
1136
1228
|
]
|
|
1137
1229
|
};
|
|
1138
|
-
var
|
|
1230
|
+
var meta19 = {
|
|
1139
1231
|
category: "forms",
|
|
1140
1232
|
invalidAncestors: ["Button", "Link"],
|
|
1141
1233
|
type: "control",
|
|
@@ -1164,18 +1256,18 @@ import { FormIcon } from "@webstudio-is/icons/svg";
|
|
|
1164
1256
|
import {
|
|
1165
1257
|
defaultStates as defaultStates14
|
|
1166
1258
|
} from "@webstudio-is/react-sdk";
|
|
1167
|
-
import { form } from "@webstudio-is/
|
|
1259
|
+
import { form } from "@webstudio-is/sdk/normalize.css";
|
|
1168
1260
|
var presetStyle15 = {
|
|
1169
1261
|
form: [
|
|
1170
1262
|
...form,
|
|
1171
1263
|
{ property: "minHeight", value: { type: "unit", unit: "px", value: 20 } }
|
|
1172
1264
|
]
|
|
1173
1265
|
};
|
|
1174
|
-
var
|
|
1266
|
+
var meta20 = {
|
|
1175
1267
|
category: "forms",
|
|
1176
1268
|
type: "container",
|
|
1177
|
-
invalidAncestors: ["Form", "Button", "Link"],
|
|
1178
1269
|
label: "Form",
|
|
1270
|
+
invalidAncestors: ["Form", "Button", "Link"],
|
|
1179
1271
|
description: "Create filters, surveys, searches and more.",
|
|
1180
1272
|
icon: FormIcon,
|
|
1181
1273
|
states: defaultStates14,
|
|
@@ -1188,10 +1280,10 @@ import { ImageIcon } from "@webstudio-is/icons/svg";
|
|
|
1188
1280
|
import {
|
|
1189
1281
|
defaultStates as defaultStates15
|
|
1190
1282
|
} from "@webstudio-is/react-sdk";
|
|
1191
|
-
import { img } from "@webstudio-is/
|
|
1283
|
+
import { img } from "@webstudio-is/sdk/normalize.css";
|
|
1192
1284
|
|
|
1193
1285
|
// src/__generated__/image.props.ts
|
|
1194
|
-
var
|
|
1286
|
+
var props4 = {
|
|
1195
1287
|
about: { required: false, control: "text", type: "string" },
|
|
1196
1288
|
accessKey: {
|
|
1197
1289
|
required: false,
|
|
@@ -1801,10 +1893,9 @@ var presetStyle16 = {
|
|
|
1801
1893
|
}
|
|
1802
1894
|
]
|
|
1803
1895
|
};
|
|
1804
|
-
var
|
|
1896
|
+
var meta21 = {
|
|
1805
1897
|
category: "media",
|
|
1806
1898
|
type: "embed",
|
|
1807
|
-
label: "Image",
|
|
1808
1899
|
description: "Add an image asset to the page. Webstudio automatically converts images to WebP or AVIF format and makes them responsive for best performance.",
|
|
1809
1900
|
icon: ImageIcon,
|
|
1810
1901
|
states: defaultStates15,
|
|
@@ -1819,11 +1910,11 @@ var propsOverrides = {
|
|
|
1819
1910
|
required: false
|
|
1820
1911
|
}
|
|
1821
1912
|
};
|
|
1822
|
-
var optimize =
|
|
1913
|
+
var optimize = props4.optimize;
|
|
1823
1914
|
optimize.description = "Optimize the image for enhanced performance.";
|
|
1824
|
-
var
|
|
1915
|
+
var propsMeta4 = {
|
|
1825
1916
|
props: {
|
|
1826
|
-
...
|
|
1917
|
+
...props4,
|
|
1827
1918
|
...propsOverrides,
|
|
1828
1919
|
optimize
|
|
1829
1920
|
},
|
|
@@ -1892,10 +1983,9 @@ var presetStyle17 = {
|
|
|
1892
1983
|
}
|
|
1893
1984
|
]
|
|
1894
1985
|
};
|
|
1895
|
-
var
|
|
1986
|
+
var meta22 = {
|
|
1896
1987
|
category: "text",
|
|
1897
1988
|
type: "container",
|
|
1898
|
-
label: "Blockquote",
|
|
1899
1989
|
description: "Use to style a quote from an external source like an article or book.",
|
|
1900
1990
|
icon: BlockquoteIcon,
|
|
1901
1991
|
states: defaultStates16,
|
|
@@ -1921,7 +2011,7 @@ import { ListIcon } from "@webstudio-is/icons/svg";
|
|
|
1921
2011
|
import {
|
|
1922
2012
|
defaultStates as defaultStates17
|
|
1923
2013
|
} from "@webstudio-is/react-sdk";
|
|
1924
|
-
import { ol, ul } from "@webstudio-is/
|
|
2014
|
+
import { ol, ul } from "@webstudio-is/sdk/normalize.css";
|
|
1925
2015
|
var presetStyle18 = {
|
|
1926
2016
|
ol: [
|
|
1927
2017
|
...ol,
|
|
@@ -1954,10 +2044,9 @@ var presetStyle18 = {
|
|
|
1954
2044
|
}
|
|
1955
2045
|
]
|
|
1956
2046
|
};
|
|
1957
|
-
var
|
|
2047
|
+
var meta23 = {
|
|
1958
2048
|
category: "general",
|
|
1959
2049
|
type: "container",
|
|
1960
|
-
label: "List",
|
|
1961
2050
|
description: "Groups content, like links in a menu or steps in a recipe.",
|
|
1962
2051
|
icon: ListIcon,
|
|
1963
2052
|
states: defaultStates17,
|
|
@@ -2011,15 +2100,14 @@ import { ListItemIcon } from "@webstudio-is/icons/svg";
|
|
|
2011
2100
|
import {
|
|
2012
2101
|
defaultStates as defaultStates18
|
|
2013
2102
|
} from "@webstudio-is/react-sdk";
|
|
2014
|
-
import { li } from "@webstudio-is/
|
|
2103
|
+
import { li } from "@webstudio-is/sdk/normalize.css";
|
|
2015
2104
|
var presetStyle19 = {
|
|
2016
2105
|
li
|
|
2017
2106
|
};
|
|
2018
|
-
var
|
|
2107
|
+
var meta24 = {
|
|
2019
2108
|
category: "general",
|
|
2020
2109
|
type: "container",
|
|
2021
2110
|
requiredAncestors: ["List"],
|
|
2022
|
-
label: "List Item",
|
|
2023
2111
|
description: "Adds a new item to an existing list.",
|
|
2024
2112
|
icon: ListItemIcon,
|
|
2025
2113
|
states: defaultStates18,
|
|
@@ -2045,7 +2133,7 @@ import { DashIcon } from "@webstudio-is/icons/svg";
|
|
|
2045
2133
|
import {
|
|
2046
2134
|
defaultStates as defaultStates19
|
|
2047
2135
|
} from "@webstudio-is/react-sdk";
|
|
2048
|
-
import { hr } from "@webstudio-is/
|
|
2136
|
+
import { hr } from "@webstudio-is/sdk/normalize.css";
|
|
2049
2137
|
var presetStyle20 = {
|
|
2050
2138
|
hr: [
|
|
2051
2139
|
...hr,
|
|
@@ -2075,10 +2163,9 @@ var presetStyle20 = {
|
|
|
2075
2163
|
}
|
|
2076
2164
|
]
|
|
2077
2165
|
};
|
|
2078
|
-
var
|
|
2166
|
+
var meta25 = {
|
|
2079
2167
|
category: "general",
|
|
2080
2168
|
type: "embed",
|
|
2081
|
-
label: "Separator",
|
|
2082
2169
|
description: "Used to visually divide sections of content, helping to improve readability and organization within a webpage.",
|
|
2083
2170
|
icon: DashIcon,
|
|
2084
2171
|
states: defaultStates19,
|
|
@@ -2091,10 +2178,10 @@ import { CodeTextIcon } from "@webstudio-is/icons/svg";
|
|
|
2091
2178
|
import {
|
|
2092
2179
|
defaultStates as defaultStates20
|
|
2093
2180
|
} from "@webstudio-is/react-sdk";
|
|
2094
|
-
import { code } from "@webstudio-is/
|
|
2181
|
+
import { code } from "@webstudio-is/sdk/normalize.css";
|
|
2095
2182
|
|
|
2096
2183
|
// src/__generated__/code-text.props.ts
|
|
2097
|
-
var
|
|
2184
|
+
var props5 = {
|
|
2098
2185
|
about: { required: false, control: "text", type: "string" },
|
|
2099
2186
|
accessKey: {
|
|
2100
2187
|
required: false,
|
|
@@ -2627,10 +2714,9 @@ var presetStyle21 = {
|
|
|
2627
2714
|
}
|
|
2628
2715
|
]
|
|
2629
2716
|
};
|
|
2630
|
-
var
|
|
2717
|
+
var meta26 = {
|
|
2631
2718
|
category: "general",
|
|
2632
2719
|
type: "embed",
|
|
2633
|
-
label: "Code Text",
|
|
2634
2720
|
description: "Use this component when you want to display code as text on the page.",
|
|
2635
2721
|
icon: CodeTextIcon,
|
|
2636
2722
|
invalidAncestors: ["CodeText"],
|
|
@@ -2638,9 +2724,9 @@ var meta25 = {
|
|
|
2638
2724
|
presetStyle: presetStyle21,
|
|
2639
2725
|
order: 9
|
|
2640
2726
|
};
|
|
2641
|
-
var
|
|
2727
|
+
var propsMeta5 = {
|
|
2642
2728
|
props: {
|
|
2643
|
-
...
|
|
2729
|
+
...props5,
|
|
2644
2730
|
code: {
|
|
2645
2731
|
required: true,
|
|
2646
2732
|
control: "codetext",
|
|
@@ -2655,10 +2741,10 @@ import { LabelIcon } from "@webstudio-is/icons/svg";
|
|
|
2655
2741
|
import {
|
|
2656
2742
|
defaultStates as defaultStates21
|
|
2657
2743
|
} from "@webstudio-is/react-sdk";
|
|
2658
|
-
import { label } from "@webstudio-is/
|
|
2744
|
+
import { label } from "@webstudio-is/sdk/normalize.css";
|
|
2659
2745
|
|
|
2660
2746
|
// src/__generated__/label.props.ts
|
|
2661
|
-
var
|
|
2747
|
+
var props6 = {
|
|
2662
2748
|
about: { required: false, control: "text", type: "string" },
|
|
2663
2749
|
accessKey: {
|
|
2664
2750
|
required: false,
|
|
@@ -3179,7 +3265,7 @@ var presetStyle22 = {
|
|
|
3179
3265
|
{ property: "display", value: { type: "keyword", value: "block" } }
|
|
3180
3266
|
]
|
|
3181
3267
|
};
|
|
3182
|
-
var
|
|
3268
|
+
var meta27 = {
|
|
3183
3269
|
category: "forms",
|
|
3184
3270
|
invalidAncestors: ["Button", "Label"],
|
|
3185
3271
|
type: "container",
|
|
@@ -3196,11 +3282,11 @@ var meta26 = {
|
|
|
3196
3282
|
}
|
|
3197
3283
|
]
|
|
3198
3284
|
};
|
|
3199
|
-
var
|
|
3285
|
+
var propsMeta6 = {
|
|
3200
3286
|
props: {
|
|
3201
|
-
...
|
|
3287
|
+
...props6,
|
|
3202
3288
|
htmlFor: {
|
|
3203
|
-
...
|
|
3289
|
+
...props6.htmlFor,
|
|
3204
3290
|
label: "For"
|
|
3205
3291
|
}
|
|
3206
3292
|
},
|
|
@@ -3212,7 +3298,7 @@ import { FormTextAreaIcon } from "@webstudio-is/icons/svg";
|
|
|
3212
3298
|
import {
|
|
3213
3299
|
defaultStates as defaultStates22
|
|
3214
3300
|
} from "@webstudio-is/react-sdk";
|
|
3215
|
-
import { textarea } from "@webstudio-is/
|
|
3301
|
+
import { textarea } from "@webstudio-is/sdk/normalize.css";
|
|
3216
3302
|
var presetStyle23 = {
|
|
3217
3303
|
textarea: [
|
|
3218
3304
|
...textarea,
|
|
@@ -3224,7 +3310,7 @@ var presetStyle23 = {
|
|
|
3224
3310
|
}
|
|
3225
3311
|
]
|
|
3226
3312
|
};
|
|
3227
|
-
var
|
|
3313
|
+
var meta28 = {
|
|
3228
3314
|
category: "forms",
|
|
3229
3315
|
type: "control",
|
|
3230
3316
|
label: "Text Area",
|
|
@@ -3253,7 +3339,7 @@ import { RadioCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
3253
3339
|
import {
|
|
3254
3340
|
defaultStates as defaultStates23
|
|
3255
3341
|
} from "@webstudio-is/react-sdk";
|
|
3256
|
-
import { radio } from "@webstudio-is/
|
|
3342
|
+
import { radio } from "@webstudio-is/sdk/normalize.css";
|
|
3257
3343
|
var presetStyle24 = {
|
|
3258
3344
|
input: [
|
|
3259
3345
|
...radio,
|
|
@@ -3263,7 +3349,7 @@ var presetStyle24 = {
|
|
|
3263
3349
|
}
|
|
3264
3350
|
]
|
|
3265
3351
|
};
|
|
3266
|
-
var
|
|
3352
|
+
var meta29 = {
|
|
3267
3353
|
category: "forms",
|
|
3268
3354
|
invalidAncestors: ["Button", "Link"],
|
|
3269
3355
|
type: "control",
|
|
@@ -3307,7 +3393,7 @@ import { CheckboxCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
3307
3393
|
import {
|
|
3308
3394
|
defaultStates as defaultStates24
|
|
3309
3395
|
} from "@webstudio-is/react-sdk";
|
|
3310
|
-
import { checkbox } from "@webstudio-is/
|
|
3396
|
+
import { checkbox } from "@webstudio-is/sdk/normalize.css";
|
|
3311
3397
|
var presetStyle25 = {
|
|
3312
3398
|
input: [
|
|
3313
3399
|
...checkbox,
|
|
@@ -3317,11 +3403,10 @@ var presetStyle25 = {
|
|
|
3317
3403
|
}
|
|
3318
3404
|
]
|
|
3319
3405
|
};
|
|
3320
|
-
var
|
|
3406
|
+
var meta30 = {
|
|
3321
3407
|
category: "forms",
|
|
3322
3408
|
invalidAncestors: ["Button", "Link"],
|
|
3323
3409
|
type: "control",
|
|
3324
|
-
label: "Checkbox",
|
|
3325
3410
|
description: "Use within a form to allow your users to toggle between checked and not checked. Group checkboxes by matching their \u201CName\u201D properties. Unlike radios, any number of checkboxes in a group can be checked.",
|
|
3326
3411
|
icon: CheckboxCheckedIcon,
|
|
3327
3412
|
presetStyle: presetStyle25,
|
|
@@ -3360,14 +3445,13 @@ import { PlayIcon, SpinnerIcon, VimeoIcon } from "@webstudio-is/icons/svg";
|
|
|
3360
3445
|
import {
|
|
3361
3446
|
defaultStates as defaultStates25
|
|
3362
3447
|
} from "@webstudio-is/react-sdk";
|
|
3363
|
-
import { div as div3 } from "@webstudio-is/
|
|
3448
|
+
import { div as div3 } from "@webstudio-is/sdk/normalize.css";
|
|
3364
3449
|
var presetStyle26 = {
|
|
3365
3450
|
div: div3
|
|
3366
3451
|
};
|
|
3367
|
-
var
|
|
3452
|
+
var meta31 = {
|
|
3368
3453
|
category: "media",
|
|
3369
3454
|
type: "container",
|
|
3370
|
-
label: "Vimeo",
|
|
3371
3455
|
description: "Add a video to your page that is hosted on Vimeo. Paste a Vimeo URL and configure the video in the Settings tab.",
|
|
3372
3456
|
order: 1,
|
|
3373
3457
|
icon: VimeoIcon,
|
|
@@ -3666,7 +3750,7 @@ var meta30 = {
|
|
|
3666
3750
|
import "@webstudio-is/react-sdk";
|
|
3667
3751
|
|
|
3668
3752
|
// src/__generated__/vimeo-preview-image.props.ts
|
|
3669
|
-
var
|
|
3753
|
+
var props7 = {
|
|
3670
3754
|
about: { required: false, control: "text", type: "string" },
|
|
3671
3755
|
accessKey: {
|
|
3672
3756
|
required: false,
|
|
@@ -4247,15 +4331,15 @@ var props6 = {
|
|
|
4247
4331
|
};
|
|
4248
4332
|
|
|
4249
4333
|
// src/vimeo-preview-image.ws.ts
|
|
4250
|
-
var
|
|
4251
|
-
...
|
|
4334
|
+
var meta32 = {
|
|
4335
|
+
...meta21,
|
|
4252
4336
|
category: "hidden",
|
|
4253
4337
|
label: "Preview Image",
|
|
4254
4338
|
requiredAncestors: ["Vimeo"]
|
|
4255
4339
|
};
|
|
4256
|
-
var
|
|
4257
|
-
props: { ...
|
|
4258
|
-
initialProps:
|
|
4340
|
+
var propsMeta7 = {
|
|
4341
|
+
props: { ...props7, ...propsOverrides },
|
|
4342
|
+
initialProps: propsMeta4.initialProps
|
|
4259
4343
|
};
|
|
4260
4344
|
|
|
4261
4345
|
// src/vimeo-play-button.ws.ts
|
|
@@ -4263,11 +4347,11 @@ import {
|
|
|
4263
4347
|
defaultStates as defaultStates26
|
|
4264
4348
|
} from "@webstudio-is/react-sdk";
|
|
4265
4349
|
import { ButtonElementIcon as ButtonElementIcon2 } from "@webstudio-is/icons/svg";
|
|
4266
|
-
import { button as button2 } from "@webstudio-is/
|
|
4350
|
+
import { button as button2 } from "@webstudio-is/sdk/normalize.css";
|
|
4267
4351
|
var presetStyle27 = {
|
|
4268
4352
|
button: button2
|
|
4269
4353
|
};
|
|
4270
|
-
var
|
|
4354
|
+
var meta33 = {
|
|
4271
4355
|
category: "hidden",
|
|
4272
4356
|
type: "container",
|
|
4273
4357
|
invalidAncestors: ["Button"],
|
|
@@ -4282,12 +4366,12 @@ var meta32 = {
|
|
|
4282
4366
|
import {
|
|
4283
4367
|
defaultStates as defaultStates27
|
|
4284
4368
|
} from "@webstudio-is/react-sdk";
|
|
4285
|
-
import { div as div4 } from "@webstudio-is/
|
|
4369
|
+
import { div as div4 } from "@webstudio-is/sdk/normalize.css";
|
|
4286
4370
|
import { BoxIcon as BoxIcon2 } from "@webstudio-is/icons/svg";
|
|
4287
4371
|
var presetStyle28 = {
|
|
4288
4372
|
div: div4
|
|
4289
4373
|
};
|
|
4290
|
-
var
|
|
4374
|
+
var meta34 = {
|
|
4291
4375
|
type: "container",
|
|
4292
4376
|
icon: BoxIcon2,
|
|
4293
4377
|
states: defaultStates27,
|
|
@@ -4300,13 +4384,13 @@ var meta33 = {
|
|
|
4300
4384
|
// src/xml-node.ws.ts
|
|
4301
4385
|
import { XmlIcon } from "@webstudio-is/icons/svg";
|
|
4302
4386
|
import "@webstudio-is/react-sdk";
|
|
4303
|
-
var
|
|
4387
|
+
var meta35 = {
|
|
4304
4388
|
category: "xml",
|
|
4305
4389
|
order: 6,
|
|
4306
4390
|
type: "container",
|
|
4307
4391
|
icon: XmlIcon,
|
|
4308
4392
|
stylable: false,
|
|
4309
|
-
description: "
|
|
4393
|
+
description: "XML Node"
|
|
4310
4394
|
};
|
|
4311
4395
|
|
|
4312
4396
|
// src/time.ws.ts
|
|
@@ -4314,18 +4398,18 @@ import { CalendarIcon } from "@webstudio-is/icons/svg";
|
|
|
4314
4398
|
import {
|
|
4315
4399
|
defaultStates as defaultStates28
|
|
4316
4400
|
} from "@webstudio-is/react-sdk";
|
|
4317
|
-
import { time } from "@webstudio-is/
|
|
4401
|
+
import { time } from "@webstudio-is/sdk/normalize.css";
|
|
4318
4402
|
var presetStyle29 = {
|
|
4319
4403
|
time
|
|
4320
4404
|
};
|
|
4321
|
-
var
|
|
4405
|
+
var meta36 = {
|
|
4322
4406
|
category: "data",
|
|
4323
4407
|
type: "container",
|
|
4324
4408
|
description: "Converts machine-readable date and time to a human-readable format.",
|
|
4325
4409
|
icon: CalendarIcon,
|
|
4326
4410
|
states: defaultStates28,
|
|
4327
4411
|
presetStyle: presetStyle29,
|
|
4328
|
-
order:
|
|
4412
|
+
order: 5
|
|
4329
4413
|
};
|
|
4330
4414
|
|
|
4331
4415
|
// src/select.ws.ts
|
|
@@ -4333,7 +4417,7 @@ import { SelectIcon } from "@webstudio-is/icons/svg";
|
|
|
4333
4417
|
import {
|
|
4334
4418
|
defaultStates as defaultStates29
|
|
4335
4419
|
} from "@webstudio-is/react-sdk";
|
|
4336
|
-
import { select } from "@webstudio-is/
|
|
4420
|
+
import { select } from "@webstudio-is/sdk/normalize.css";
|
|
4337
4421
|
var presetStyle30 = {
|
|
4338
4422
|
select: [
|
|
4339
4423
|
...select,
|
|
@@ -4343,11 +4427,10 @@ var presetStyle30 = {
|
|
|
4343
4427
|
}
|
|
4344
4428
|
]
|
|
4345
4429
|
};
|
|
4346
|
-
var
|
|
4430
|
+
var meta37 = {
|
|
4347
4431
|
category: "forms",
|
|
4348
4432
|
invalidAncestors: ["Button", "Link"],
|
|
4349
4433
|
type: "container",
|
|
4350
|
-
label: "Select",
|
|
4351
4434
|
description: "A drop-down menu for users to select a single option from a predefined list.",
|
|
4352
4435
|
icon: SelectIcon,
|
|
4353
4436
|
presetStyle: presetStyle30,
|
|
@@ -4429,12 +4512,11 @@ var presetStyle31 = {
|
|
|
4429
4512
|
}
|
|
4430
4513
|
]
|
|
4431
4514
|
};
|
|
4432
|
-
var
|
|
4515
|
+
var meta38 = {
|
|
4433
4516
|
category: "hidden",
|
|
4434
4517
|
// @todo: requiredAncestors should be ["Select", "Optgroup", "Datalist"] but that gives unreadable error when adding Select onto Canvas
|
|
4435
4518
|
requiredAncestors: ["Select"],
|
|
4436
4519
|
type: "control",
|
|
4437
|
-
label: "Option",
|
|
4438
4520
|
description: "An item within a drop-down menu that users can select as their chosen value.",
|
|
4439
4521
|
icon: ItemIcon,
|
|
4440
4522
|
presetStyle: presetStyle31,
|
|
@@ -4450,41 +4532,43 @@ var meta37 = {
|
|
|
4450
4532
|
]
|
|
4451
4533
|
};
|
|
4452
4534
|
export {
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4535
|
+
meta22 as Blockquote,
|
|
4536
|
+
meta6 as Body,
|
|
4537
|
+
meta14 as Bold,
|
|
4538
|
+
meta7 as Box,
|
|
4539
|
+
meta18 as Button,
|
|
4540
|
+
meta30 as Checkbox,
|
|
4541
|
+
meta26 as CodeText,
|
|
4542
|
+
meta5 as ContentEmbed,
|
|
4543
|
+
meta20 as Form,
|
|
4462
4544
|
meta2 as Fragment,
|
|
4463
|
-
|
|
4545
|
+
meta9 as Heading,
|
|
4464
4546
|
meta3 as HtmlEmbed,
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4547
|
+
meta21 as Image,
|
|
4548
|
+
meta19 as Input,
|
|
4549
|
+
meta15 as Italic,
|
|
4550
|
+
meta27 as Label,
|
|
4551
|
+
meta11 as Link,
|
|
4552
|
+
meta23 as List,
|
|
4553
|
+
meta24 as ListItem,
|
|
4554
|
+
meta4 as MarkdownEmbed,
|
|
4555
|
+
meta38 as Option,
|
|
4556
|
+
meta10 as Paragraph,
|
|
4557
|
+
meta29 as RadioButton,
|
|
4558
|
+
meta20 as RemixForm,
|
|
4559
|
+
meta12 as RichTextLink,
|
|
4560
|
+
meta37 as Select,
|
|
4561
|
+
meta25 as Separator,
|
|
4478
4562
|
meta as Slot,
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4563
|
+
meta13 as Span,
|
|
4564
|
+
meta17 as Subscript,
|
|
4565
|
+
meta16 as Superscript,
|
|
4566
|
+
meta8 as Text,
|
|
4567
|
+
meta28 as Textarea,
|
|
4568
|
+
meta36 as Time,
|
|
4569
|
+
meta31 as Vimeo,
|
|
4570
|
+
meta33 as VimeoPlayButton,
|
|
4571
|
+
meta32 as VimeoPreviewImage,
|
|
4572
|
+
meta34 as VimeoSpinner,
|
|
4573
|
+
meta35 as XmlNode
|
|
4490
4574
|
};
|