@webstudio-is/sdk-components-react 0.174.0 → 0.179.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 +194 -140
- package/lib/metas.js +270 -186
- package/lib/props.js +307 -198
- 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 +9 -7
package/lib/props.js
CHANGED
|
@@ -40,21 +40,141 @@ var propsMeta3 = {
|
|
|
40
40
|
code: {
|
|
41
41
|
required: true,
|
|
42
42
|
control: "code",
|
|
43
|
+
language: "html",
|
|
43
44
|
type: "string"
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
initialProps: ["className", "clientOnly", "executeScriptOnCanvas"]
|
|
47
48
|
};
|
|
48
49
|
|
|
50
|
+
// src/markdown-embed.ws.ts
|
|
51
|
+
import { MarkdownEmbedIcon } from "@webstudio-is/icons/svg";
|
|
52
|
+
import { imagePlaceholderDataUrl } from "@webstudio-is/image";
|
|
53
|
+
import {
|
|
54
|
+
descendantComponent
|
|
55
|
+
} from "@webstudio-is/react-sdk";
|
|
56
|
+
|
|
57
|
+
// src/__generated__/markdown-embed.props.ts
|
|
58
|
+
var props2 = {
|
|
59
|
+
className: { required: false, control: "text", type: "string" },
|
|
60
|
+
code: { required: true, control: "text", type: "string" }
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
// src/markdown-embed.ws.ts
|
|
64
|
+
var markdownSample = `
|
|
65
|
+
# Styling Markdown with Markdown Embed
|
|
66
|
+
|
|
67
|
+
Markdown Embed allows styling of Markdown, which primarily comes from external data.
|
|
68
|
+
|
|
69
|
+
## How to Use Markdown Embed
|
|
70
|
+
|
|
71
|
+
- Every element is shown in the Navigator.
|
|
72
|
+
- Apply styles and Tokens to each element.
|
|
73
|
+
- Adjustments to elements apply universally within this embed, ensuring consistency across your content.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## This sample text contains all the elements that can be styled.
|
|
78
|
+
|
|
79
|
+
Any elements that were not used above are used below.
|
|
80
|
+
|
|
81
|
+
### Heading 3
|
|
82
|
+
#### Heading 4
|
|
83
|
+
##### Heading 5
|
|
84
|
+
###### Heading 6
|
|
85
|
+
|
|
86
|
+
[Links](#) connect your content to relevant resources.
|
|
87
|
+
|
|
88
|
+
**Bold text** makes your important points stand out.
|
|
89
|
+
|
|
90
|
+
*Italic text* is great for emphasizing terms.
|
|
91
|
+
|
|
92
|
+
1. First Step
|
|
93
|
+
2. Second Step
|
|
94
|
+
|
|
95
|
+

|
|
96
|
+
|
|
97
|
+
> Capture attention with a powerful quote.
|
|
98
|
+
|
|
99
|
+
Using \`console.log("Hello World");\` will log to the console.
|
|
100
|
+
`.trim();
|
|
101
|
+
var descendant = (label2, tag) => {
|
|
102
|
+
return {
|
|
103
|
+
type: "instance",
|
|
104
|
+
component: descendantComponent,
|
|
105
|
+
label: label2,
|
|
106
|
+
props: [{ type: "string", name: "selector", value: ` ${tag}` }],
|
|
107
|
+
children: []
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
var meta = {
|
|
111
|
+
category: "data",
|
|
112
|
+
type: "embed",
|
|
113
|
+
description: "Used to add markdown code to the page",
|
|
114
|
+
icon: MarkdownEmbedIcon,
|
|
115
|
+
presetStyle: {
|
|
116
|
+
div: [
|
|
117
|
+
{
|
|
118
|
+
property: "display",
|
|
119
|
+
value: { type: "keyword", value: "contents" }
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
order: 4,
|
|
124
|
+
template: [
|
|
125
|
+
{
|
|
126
|
+
type: "instance",
|
|
127
|
+
component: "MarkdownEmbed",
|
|
128
|
+
props: [
|
|
129
|
+
{
|
|
130
|
+
name: "code",
|
|
131
|
+
type: "string",
|
|
132
|
+
value: markdownSample
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
children: [
|
|
136
|
+
descendant("Paragraph", "p"),
|
|
137
|
+
descendant("Heading 1", "h1"),
|
|
138
|
+
descendant("Heading 2", "h2"),
|
|
139
|
+
descendant("Heading 3", "h3"),
|
|
140
|
+
descendant("Heading 4", "h4"),
|
|
141
|
+
descendant("Heading 5", "h5"),
|
|
142
|
+
descendant("Heading 6", "h6"),
|
|
143
|
+
descendant("Bold", ":where(strong, b)"),
|
|
144
|
+
descendant("Italic", ":where(em, i)"),
|
|
145
|
+
descendant("Link", "a"),
|
|
146
|
+
descendant("Image", "img"),
|
|
147
|
+
descendant("Blockquote", "blockquote"),
|
|
148
|
+
descendant("Code Text", "code"),
|
|
149
|
+
descendant("List", ":where(ul, ol)"),
|
|
150
|
+
descendant("List Item", "li"),
|
|
151
|
+
descendant("Separator", "hr")
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
};
|
|
156
|
+
var propsMeta4 = {
|
|
157
|
+
props: {
|
|
158
|
+
...props2,
|
|
159
|
+
code: {
|
|
160
|
+
required: true,
|
|
161
|
+
control: "code",
|
|
162
|
+
language: "markdown",
|
|
163
|
+
type: "string"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
initialProps: ["className"]
|
|
167
|
+
};
|
|
168
|
+
|
|
49
169
|
// src/body.ws.ts
|
|
50
170
|
import { BodyIcon } from "@webstudio-is/icons/svg";
|
|
51
171
|
import {
|
|
52
172
|
defaultStates
|
|
53
173
|
} from "@webstudio-is/react-sdk";
|
|
54
|
-
import { body } from "@webstudio-is/
|
|
174
|
+
import { body } from "@webstudio-is/sdk/normalize.css";
|
|
55
175
|
|
|
56
176
|
// src/__generated__/body.props.ts
|
|
57
|
-
var
|
|
177
|
+
var props3 = {
|
|
58
178
|
about: { required: false, control: "text", type: "string" },
|
|
59
179
|
accessKey: {
|
|
60
180
|
required: false,
|
|
@@ -570,8 +690,8 @@ var presetStyle = {
|
|
|
570
690
|
}
|
|
571
691
|
]
|
|
572
692
|
};
|
|
573
|
-
var
|
|
574
|
-
props:
|
|
693
|
+
var propsMeta5 = {
|
|
694
|
+
props: props3,
|
|
575
695
|
initialProps: ["id", "className"]
|
|
576
696
|
};
|
|
577
697
|
|
|
@@ -591,10 +711,10 @@ import {
|
|
|
591
711
|
main,
|
|
592
712
|
nav,
|
|
593
713
|
section
|
|
594
|
-
} from "@webstudio-is/
|
|
714
|
+
} from "@webstudio-is/sdk/normalize.css";
|
|
595
715
|
|
|
596
716
|
// src/__generated__/box.props.ts
|
|
597
|
-
var
|
|
717
|
+
var props4 = {
|
|
598
718
|
about: { required: false, control: "text", type: "string" },
|
|
599
719
|
accessKey: {
|
|
600
720
|
required: false,
|
|
@@ -1116,8 +1236,8 @@ var props3 = {
|
|
|
1116
1236
|
};
|
|
1117
1237
|
|
|
1118
1238
|
// src/box.ws.ts
|
|
1119
|
-
var
|
|
1120
|
-
props:
|
|
1239
|
+
var propsMeta6 = {
|
|
1240
|
+
props: props4,
|
|
1121
1241
|
initialProps: ["id", "className", "tag"]
|
|
1122
1242
|
};
|
|
1123
1243
|
|
|
@@ -1126,10 +1246,10 @@ import { TextIcon } from "@webstudio-is/icons/svg";
|
|
|
1126
1246
|
import {
|
|
1127
1247
|
defaultStates as defaultStates3
|
|
1128
1248
|
} from "@webstudio-is/react-sdk";
|
|
1129
|
-
import { div as div2 } from "@webstudio-is/
|
|
1249
|
+
import { div as div2 } from "@webstudio-is/sdk/normalize.css";
|
|
1130
1250
|
|
|
1131
1251
|
// src/__generated__/text.props.ts
|
|
1132
|
-
var
|
|
1252
|
+
var props5 = {
|
|
1133
1253
|
about: { required: false, control: "text", type: "string" },
|
|
1134
1254
|
accessKey: {
|
|
1135
1255
|
required: false,
|
|
@@ -1649,8 +1769,8 @@ var presetStyle2 = {
|
|
|
1649
1769
|
}
|
|
1650
1770
|
]
|
|
1651
1771
|
};
|
|
1652
|
-
var
|
|
1653
|
-
props:
|
|
1772
|
+
var propsMeta7 = {
|
|
1773
|
+
props: props5,
|
|
1654
1774
|
initialProps: ["id", "className", "tag"]
|
|
1655
1775
|
};
|
|
1656
1776
|
|
|
@@ -1659,10 +1779,10 @@ import { HeadingIcon } from "@webstudio-is/icons/svg";
|
|
|
1659
1779
|
import {
|
|
1660
1780
|
defaultStates as defaultStates4
|
|
1661
1781
|
} from "@webstudio-is/react-sdk";
|
|
1662
|
-
import { h1, h2, h3, h4, h5, h6 } from "@webstudio-is/
|
|
1782
|
+
import { h1, h2, h3, h4, h5, h6 } from "@webstudio-is/sdk/normalize.css";
|
|
1663
1783
|
|
|
1664
1784
|
// src/__generated__/heading.props.ts
|
|
1665
|
-
var
|
|
1785
|
+
var props6 = {
|
|
1666
1786
|
about: { required: false, control: "text", type: "string" },
|
|
1667
1787
|
accessKey: {
|
|
1668
1788
|
required: false,
|
|
@@ -2173,8 +2293,8 @@ var props5 = {
|
|
|
2173
2293
|
};
|
|
2174
2294
|
|
|
2175
2295
|
// src/heading.ws.ts
|
|
2176
|
-
var
|
|
2177
|
-
props:
|
|
2296
|
+
var propsMeta8 = {
|
|
2297
|
+
props: props6,
|
|
2178
2298
|
initialProps: ["id", "className", "tag"]
|
|
2179
2299
|
};
|
|
2180
2300
|
|
|
@@ -2183,10 +2303,10 @@ import { TextAlignLeftIcon } from "@webstudio-is/icons/svg";
|
|
|
2183
2303
|
import {
|
|
2184
2304
|
defaultStates as defaultStates5
|
|
2185
2305
|
} from "@webstudio-is/react-sdk";
|
|
2186
|
-
import { p } from "@webstudio-is/
|
|
2306
|
+
import { p } from "@webstudio-is/sdk/normalize.css";
|
|
2187
2307
|
|
|
2188
2308
|
// src/__generated__/paragraph.props.ts
|
|
2189
|
-
var
|
|
2309
|
+
var props7 = {
|
|
2190
2310
|
about: { required: false, control: "text", type: "string" },
|
|
2191
2311
|
accessKey: {
|
|
2192
2312
|
required: false,
|
|
@@ -2689,8 +2809,8 @@ var props6 = {
|
|
|
2689
2809
|
};
|
|
2690
2810
|
|
|
2691
2811
|
// src/paragraph.ws.ts
|
|
2692
|
-
var
|
|
2693
|
-
props:
|
|
2812
|
+
var propsMeta9 = {
|
|
2813
|
+
props: props7,
|
|
2694
2814
|
initialProps: ["id", "className"]
|
|
2695
2815
|
};
|
|
2696
2816
|
|
|
@@ -2699,10 +2819,10 @@ import { LinkIcon } from "@webstudio-is/icons/svg";
|
|
|
2699
2819
|
import {
|
|
2700
2820
|
defaultStates as defaultStates6
|
|
2701
2821
|
} from "@webstudio-is/react-sdk";
|
|
2702
|
-
import { a } from "@webstudio-is/
|
|
2822
|
+
import { a } from "@webstudio-is/sdk/normalize.css";
|
|
2703
2823
|
|
|
2704
2824
|
// src/__generated__/link.props.ts
|
|
2705
|
-
var
|
|
2825
|
+
var props8 = {
|
|
2706
2826
|
about: { required: false, control: "text", type: "string" },
|
|
2707
2827
|
accessKey: {
|
|
2708
2828
|
required: false,
|
|
@@ -3082,6 +3202,12 @@ var props7 = {
|
|
|
3082
3202
|
type: "string",
|
|
3083
3203
|
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
3084
3204
|
},
|
|
3205
|
+
download: {
|
|
3206
|
+
required: false,
|
|
3207
|
+
control: "boolean",
|
|
3208
|
+
type: "boolean",
|
|
3209
|
+
description: "Indicates that the hyperlink is to be used for downloading a resource."
|
|
3210
|
+
},
|
|
3085
3211
|
draggable: {
|
|
3086
3212
|
required: false,
|
|
3087
3213
|
control: "boolean",
|
|
@@ -3272,10 +3398,9 @@ var presetStyle3 = {
|
|
|
3272
3398
|
}
|
|
3273
3399
|
]
|
|
3274
3400
|
};
|
|
3275
|
-
var
|
|
3401
|
+
var meta2 = {
|
|
3276
3402
|
category: "general",
|
|
3277
3403
|
type: "container",
|
|
3278
|
-
label: "Link",
|
|
3279
3404
|
description: "Use a link to send your users to another page, section, or resource. Configure links in the Settings panel.",
|
|
3280
3405
|
icon: LinkIcon,
|
|
3281
3406
|
invalidAncestors: ["Link", "Button"],
|
|
@@ -3307,36 +3432,36 @@ var meta = {
|
|
|
3307
3432
|
}
|
|
3308
3433
|
]
|
|
3309
3434
|
};
|
|
3310
|
-
var
|
|
3435
|
+
var propsMeta10 = {
|
|
3311
3436
|
props: {
|
|
3312
|
-
...
|
|
3437
|
+
...props8,
|
|
3313
3438
|
href: {
|
|
3314
3439
|
type: "string",
|
|
3315
3440
|
control: "url",
|
|
3316
3441
|
required: false
|
|
3317
3442
|
}
|
|
3318
3443
|
},
|
|
3319
|
-
initialProps: ["id", "className", "href", "target"]
|
|
3444
|
+
initialProps: ["id", "className", "href", "target", "download"]
|
|
3320
3445
|
};
|
|
3321
3446
|
|
|
3322
3447
|
// src/rich-text-link.ws.ts
|
|
3323
|
-
var
|
|
3324
|
-
...
|
|
3448
|
+
var meta3 = {
|
|
3449
|
+
...meta2,
|
|
3325
3450
|
category: "hidden",
|
|
3326
3451
|
type: "rich-text-child",
|
|
3327
3452
|
template: []
|
|
3328
3453
|
};
|
|
3329
|
-
var
|
|
3454
|
+
var propsMeta11 = propsMeta10;
|
|
3330
3455
|
|
|
3331
3456
|
// src/span.ws.ts
|
|
3332
3457
|
import { PaintBrushIcon } from "@webstudio-is/icons/svg";
|
|
3333
3458
|
import {
|
|
3334
3459
|
defaultStates as defaultStates7
|
|
3335
3460
|
} from "@webstudio-is/react-sdk";
|
|
3336
|
-
import { span } from "@webstudio-is/
|
|
3461
|
+
import { span } from "@webstudio-is/sdk/normalize.css";
|
|
3337
3462
|
|
|
3338
3463
|
// src/__generated__/span.props.ts
|
|
3339
|
-
var
|
|
3464
|
+
var props9 = {
|
|
3340
3465
|
about: { required: false, control: "text", type: "string" },
|
|
3341
3466
|
accessKey: {
|
|
3342
3467
|
required: false,
|
|
@@ -3839,8 +3964,8 @@ var props8 = {
|
|
|
3839
3964
|
};
|
|
3840
3965
|
|
|
3841
3966
|
// src/span.ws.ts
|
|
3842
|
-
var
|
|
3843
|
-
props:
|
|
3967
|
+
var propsMeta12 = {
|
|
3968
|
+
props: props9,
|
|
3844
3969
|
initialProps: ["id", "className"]
|
|
3845
3970
|
};
|
|
3846
3971
|
|
|
@@ -3849,10 +3974,10 @@ import { BoldIcon } from "@webstudio-is/icons/svg";
|
|
|
3849
3974
|
import {
|
|
3850
3975
|
defaultStates as defaultStates8
|
|
3851
3976
|
} from "@webstudio-is/react-sdk";
|
|
3852
|
-
import { b } from "@webstudio-is/
|
|
3977
|
+
import { b } from "@webstudio-is/sdk/normalize.css";
|
|
3853
3978
|
|
|
3854
3979
|
// src/__generated__/bold.props.ts
|
|
3855
|
-
var
|
|
3980
|
+
var props10 = {
|
|
3856
3981
|
about: { required: false, control: "text", type: "string" },
|
|
3857
3982
|
accessKey: {
|
|
3858
3983
|
required: false,
|
|
@@ -4355,8 +4480,8 @@ var props9 = {
|
|
|
4355
4480
|
};
|
|
4356
4481
|
|
|
4357
4482
|
// src/bold.ws.ts
|
|
4358
|
-
var
|
|
4359
|
-
props:
|
|
4483
|
+
var propsMeta13 = {
|
|
4484
|
+
props: props10,
|
|
4360
4485
|
initialProps: ["id", "className"]
|
|
4361
4486
|
};
|
|
4362
4487
|
|
|
@@ -4365,10 +4490,10 @@ import { TextItalicIcon } from "@webstudio-is/icons/svg";
|
|
|
4365
4490
|
import {
|
|
4366
4491
|
defaultStates as defaultStates9
|
|
4367
4492
|
} from "@webstudio-is/react-sdk";
|
|
4368
|
-
import { i } from "@webstudio-is/
|
|
4493
|
+
import { i } from "@webstudio-is/sdk/normalize.css";
|
|
4369
4494
|
|
|
4370
4495
|
// src/__generated__/italic.props.ts
|
|
4371
|
-
var
|
|
4496
|
+
var props11 = {
|
|
4372
4497
|
about: { required: false, control: "text", type: "string" },
|
|
4373
4498
|
accessKey: {
|
|
4374
4499
|
required: false,
|
|
@@ -4880,8 +5005,8 @@ var presetStyle4 = {
|
|
|
4880
5005
|
}
|
|
4881
5006
|
]
|
|
4882
5007
|
};
|
|
4883
|
-
var
|
|
4884
|
-
props:
|
|
5008
|
+
var propsMeta14 = {
|
|
5009
|
+
props: props11,
|
|
4885
5010
|
initialProps: ["id", "className"]
|
|
4886
5011
|
};
|
|
4887
5012
|
|
|
@@ -4890,10 +5015,10 @@ import { SuperscriptIcon } from "@webstudio-is/icons/svg";
|
|
|
4890
5015
|
import {
|
|
4891
5016
|
defaultStates as defaultStates10
|
|
4892
5017
|
} from "@webstudio-is/react-sdk";
|
|
4893
|
-
import { sup } from "@webstudio-is/
|
|
5018
|
+
import { sup } from "@webstudio-is/sdk/normalize.css";
|
|
4894
5019
|
|
|
4895
5020
|
// src/__generated__/superscript.props.ts
|
|
4896
|
-
var
|
|
5021
|
+
var props12 = {
|
|
4897
5022
|
about: { required: false, control: "text", type: "string" },
|
|
4898
5023
|
accessKey: {
|
|
4899
5024
|
required: false,
|
|
@@ -5396,8 +5521,8 @@ var props11 = {
|
|
|
5396
5521
|
};
|
|
5397
5522
|
|
|
5398
5523
|
// src/superscript.ws.ts
|
|
5399
|
-
var
|
|
5400
|
-
props:
|
|
5524
|
+
var propsMeta15 = {
|
|
5525
|
+
props: props12,
|
|
5401
5526
|
initialProps: ["id", "className"]
|
|
5402
5527
|
};
|
|
5403
5528
|
|
|
@@ -5406,10 +5531,10 @@ import { SubscriptIcon } from "@webstudio-is/icons/svg";
|
|
|
5406
5531
|
import {
|
|
5407
5532
|
defaultStates as defaultStates11
|
|
5408
5533
|
} from "@webstudio-is/react-sdk";
|
|
5409
|
-
import { sub } from "@webstudio-is/
|
|
5534
|
+
import { sub } from "@webstudio-is/sdk/normalize.css";
|
|
5410
5535
|
|
|
5411
5536
|
// src/__generated__/subscript.props.ts
|
|
5412
|
-
var
|
|
5537
|
+
var props13 = {
|
|
5413
5538
|
about: { required: false, control: "text", type: "string" },
|
|
5414
5539
|
accessKey: {
|
|
5415
5540
|
required: false,
|
|
@@ -5912,8 +6037,8 @@ var props12 = {
|
|
|
5912
6037
|
};
|
|
5913
6038
|
|
|
5914
6039
|
// src/subscript.ws.ts
|
|
5915
|
-
var
|
|
5916
|
-
props:
|
|
6040
|
+
var propsMeta16 = {
|
|
6041
|
+
props: props13,
|
|
5917
6042
|
initialProps: ["id", "className"]
|
|
5918
6043
|
};
|
|
5919
6044
|
|
|
@@ -5922,10 +6047,10 @@ import { ButtonElementIcon } from "@webstudio-is/icons/svg";
|
|
|
5922
6047
|
import {
|
|
5923
6048
|
defaultStates as defaultStates12
|
|
5924
6049
|
} from "@webstudio-is/react-sdk";
|
|
5925
|
-
import { button } from "@webstudio-is/
|
|
6050
|
+
import { button } from "@webstudio-is/sdk/normalize.css";
|
|
5926
6051
|
|
|
5927
6052
|
// src/__generated__/button.props.ts
|
|
5928
|
-
var
|
|
6053
|
+
var props14 = {
|
|
5929
6054
|
about: { required: false, control: "text", type: "string" },
|
|
5930
6055
|
accessKey: {
|
|
5931
6056
|
required: false,
|
|
@@ -6493,11 +6618,10 @@ var props13 = {
|
|
|
6493
6618
|
var presetStyle5 = {
|
|
6494
6619
|
button
|
|
6495
6620
|
};
|
|
6496
|
-
var
|
|
6621
|
+
var meta4 = {
|
|
6497
6622
|
category: "forms",
|
|
6498
6623
|
type: "container",
|
|
6499
6624
|
invalidAncestors: ["Button", "Link"],
|
|
6500
|
-
label: "Button",
|
|
6501
6625
|
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.",
|
|
6502
6626
|
icon: ButtonElementIcon,
|
|
6503
6627
|
presetStyle: presetStyle5,
|
|
@@ -6521,8 +6645,8 @@ var meta3 = {
|
|
|
6521
6645
|
}
|
|
6522
6646
|
]
|
|
6523
6647
|
};
|
|
6524
|
-
var
|
|
6525
|
-
props:
|
|
6648
|
+
var propsMeta17 = {
|
|
6649
|
+
props: props14,
|
|
6526
6650
|
initialProps: ["id", "className", "type", "aria-label"]
|
|
6527
6651
|
};
|
|
6528
6652
|
|
|
@@ -6531,10 +6655,10 @@ import { FormTextFieldIcon } from "@webstudio-is/icons/svg";
|
|
|
6531
6655
|
import {
|
|
6532
6656
|
defaultStates as defaultStates13
|
|
6533
6657
|
} from "@webstudio-is/react-sdk";
|
|
6534
|
-
import { input } from "@webstudio-is/
|
|
6658
|
+
import { input } from "@webstudio-is/sdk/normalize.css";
|
|
6535
6659
|
|
|
6536
6660
|
// src/__generated__/input.props.ts
|
|
6537
|
-
var
|
|
6661
|
+
var props15 = {
|
|
6538
6662
|
about: { required: false, control: "text", type: "string" },
|
|
6539
6663
|
accept: {
|
|
6540
6664
|
required: false,
|
|
@@ -7234,7 +7358,7 @@ var presetStyle6 = {
|
|
|
7234
7358
|
}
|
|
7235
7359
|
]
|
|
7236
7360
|
};
|
|
7237
|
-
var
|
|
7361
|
+
var meta5 = {
|
|
7238
7362
|
category: "forms",
|
|
7239
7363
|
invalidAncestors: ["Button", "Link"],
|
|
7240
7364
|
type: "control",
|
|
@@ -7257,12 +7381,13 @@ var meta4 = {
|
|
|
7257
7381
|
//{ selector: ":read-write", label: "Read Write" },
|
|
7258
7382
|
]
|
|
7259
7383
|
};
|
|
7260
|
-
var
|
|
7261
|
-
props:
|
|
7384
|
+
var propsMeta18 = {
|
|
7385
|
+
props: props15,
|
|
7262
7386
|
initialProps: [
|
|
7263
7387
|
"id",
|
|
7264
7388
|
"className",
|
|
7265
7389
|
"name",
|
|
7390
|
+
"value",
|
|
7266
7391
|
"type",
|
|
7267
7392
|
"placeholder",
|
|
7268
7393
|
"required",
|
|
@@ -7275,10 +7400,10 @@ import { FormIcon } from "@webstudio-is/icons/svg";
|
|
|
7275
7400
|
import {
|
|
7276
7401
|
defaultStates as defaultStates14
|
|
7277
7402
|
} from "@webstudio-is/react-sdk";
|
|
7278
|
-
import { form } from "@webstudio-is/
|
|
7403
|
+
import { form } from "@webstudio-is/sdk/normalize.css";
|
|
7279
7404
|
|
|
7280
7405
|
// src/__generated__/form.props.ts
|
|
7281
|
-
var
|
|
7406
|
+
var props16 = {
|
|
7282
7407
|
about: { required: false, control: "text", type: "string" },
|
|
7283
7408
|
acceptCharset: {
|
|
7284
7409
|
required: false,
|
|
@@ -7835,8 +7960,8 @@ var presetStyle7 = {
|
|
|
7835
7960
|
{ property: "minHeight", value: { type: "unit", unit: "px", value: 20 } }
|
|
7836
7961
|
]
|
|
7837
7962
|
};
|
|
7838
|
-
var
|
|
7839
|
-
props:
|
|
7963
|
+
var propsMeta19 = {
|
|
7964
|
+
props: props16,
|
|
7840
7965
|
initialProps: ["id", "className", "action"]
|
|
7841
7966
|
};
|
|
7842
7967
|
|
|
@@ -7845,10 +7970,10 @@ import { ImageIcon } from "@webstudio-is/icons/svg";
|
|
|
7845
7970
|
import {
|
|
7846
7971
|
defaultStates as defaultStates15
|
|
7847
7972
|
} from "@webstudio-is/react-sdk";
|
|
7848
|
-
import { img } from "@webstudio-is/
|
|
7973
|
+
import { img } from "@webstudio-is/sdk/normalize.css";
|
|
7849
7974
|
|
|
7850
7975
|
// src/__generated__/image.props.ts
|
|
7851
|
-
var
|
|
7976
|
+
var props17 = {
|
|
7852
7977
|
about: { required: false, control: "text", type: "string" },
|
|
7853
7978
|
accessKey: {
|
|
7854
7979
|
required: false,
|
|
@@ -8458,10 +8583,9 @@ var presetStyle8 = {
|
|
|
8458
8583
|
}
|
|
8459
8584
|
]
|
|
8460
8585
|
};
|
|
8461
|
-
var
|
|
8586
|
+
var meta6 = {
|
|
8462
8587
|
category: "media",
|
|
8463
8588
|
type: "embed",
|
|
8464
|
-
label: "Image",
|
|
8465
8589
|
description: "Add an image asset to the page. Webstudio automatically converts images to WebP or AVIF format and makes them responsive for best performance.",
|
|
8466
8590
|
icon: ImageIcon,
|
|
8467
8591
|
states: defaultStates15,
|
|
@@ -8476,11 +8600,11 @@ var propsOverrides = {
|
|
|
8476
8600
|
required: false
|
|
8477
8601
|
}
|
|
8478
8602
|
};
|
|
8479
|
-
var optimize =
|
|
8603
|
+
var optimize = props17.optimize;
|
|
8480
8604
|
optimize.description = "Optimize the image for enhanced performance.";
|
|
8481
|
-
var
|
|
8605
|
+
var propsMeta20 = {
|
|
8482
8606
|
props: {
|
|
8483
|
-
...
|
|
8607
|
+
...props17,
|
|
8484
8608
|
...propsOverrides,
|
|
8485
8609
|
optimize
|
|
8486
8610
|
},
|
|
@@ -8503,7 +8627,7 @@ import {
|
|
|
8503
8627
|
} from "@webstudio-is/react-sdk";
|
|
8504
8628
|
|
|
8505
8629
|
// src/__generated__/blockquote.props.ts
|
|
8506
|
-
var
|
|
8630
|
+
var props18 = {
|
|
8507
8631
|
about: { required: false, control: "text", type: "string" },
|
|
8508
8632
|
accessKey: {
|
|
8509
8633
|
required: false,
|
|
@@ -9012,8 +9136,8 @@ var props17 = {
|
|
|
9012
9136
|
};
|
|
9013
9137
|
|
|
9014
9138
|
// src/blockquote.ws.ts
|
|
9015
|
-
var
|
|
9016
|
-
props:
|
|
9139
|
+
var propsMeta21 = {
|
|
9140
|
+
props: props18,
|
|
9017
9141
|
initialProps: ["id", "className", "cite"]
|
|
9018
9142
|
};
|
|
9019
9143
|
|
|
@@ -9022,10 +9146,10 @@ import { ListIcon } from "@webstudio-is/icons/svg";
|
|
|
9022
9146
|
import {
|
|
9023
9147
|
defaultStates as defaultStates17
|
|
9024
9148
|
} from "@webstudio-is/react-sdk";
|
|
9025
|
-
import { ol, ul } from "@webstudio-is/
|
|
9149
|
+
import { ol, ul } from "@webstudio-is/sdk/normalize.css";
|
|
9026
9150
|
|
|
9027
9151
|
// src/__generated__/list.props.ts
|
|
9028
|
-
var
|
|
9152
|
+
var props19 = {
|
|
9029
9153
|
about: { required: false, control: "text", type: "string" },
|
|
9030
9154
|
accessKey: {
|
|
9031
9155
|
required: false,
|
|
@@ -9586,8 +9710,8 @@ var presetStyle9 = {
|
|
|
9586
9710
|
}
|
|
9587
9711
|
]
|
|
9588
9712
|
};
|
|
9589
|
-
var
|
|
9590
|
-
props:
|
|
9713
|
+
var propsMeta22 = {
|
|
9714
|
+
props: props19,
|
|
9591
9715
|
initialProps: ["id", "className", "ordered", "start", "reversed"]
|
|
9592
9716
|
};
|
|
9593
9717
|
|
|
@@ -9596,10 +9720,10 @@ import { ListItemIcon } from "@webstudio-is/icons/svg";
|
|
|
9596
9720
|
import {
|
|
9597
9721
|
defaultStates as defaultStates18
|
|
9598
9722
|
} from "@webstudio-is/react-sdk";
|
|
9599
|
-
import { li } from "@webstudio-is/
|
|
9723
|
+
import { li } from "@webstudio-is/sdk/normalize.css";
|
|
9600
9724
|
|
|
9601
9725
|
// src/__generated__/list-item.props.ts
|
|
9602
|
-
var
|
|
9726
|
+
var props20 = {
|
|
9603
9727
|
about: { required: false, control: "text", type: "string" },
|
|
9604
9728
|
accessKey: {
|
|
9605
9729
|
required: false,
|
|
@@ -10108,8 +10232,8 @@ var props19 = {
|
|
|
10108
10232
|
};
|
|
10109
10233
|
|
|
10110
10234
|
// src/list-item.ws.ts
|
|
10111
|
-
var
|
|
10112
|
-
props:
|
|
10235
|
+
var propsMeta23 = {
|
|
10236
|
+
props: props20,
|
|
10113
10237
|
initialProps: ["id", "className"]
|
|
10114
10238
|
};
|
|
10115
10239
|
|
|
@@ -10118,10 +10242,10 @@ import { DashIcon } from "@webstudio-is/icons/svg";
|
|
|
10118
10242
|
import {
|
|
10119
10243
|
defaultStates as defaultStates19
|
|
10120
10244
|
} from "@webstudio-is/react-sdk";
|
|
10121
|
-
import { hr } from "@webstudio-is/
|
|
10245
|
+
import { hr } from "@webstudio-is/sdk/normalize.css";
|
|
10122
10246
|
|
|
10123
10247
|
// src/__generated__/separator.props.ts
|
|
10124
|
-
var
|
|
10248
|
+
var props21 = {
|
|
10125
10249
|
about: { required: false, control: "text", type: "string" },
|
|
10126
10250
|
accessKey: {
|
|
10127
10251
|
required: false,
|
|
@@ -10653,8 +10777,8 @@ var presetStyle10 = {
|
|
|
10653
10777
|
}
|
|
10654
10778
|
]
|
|
10655
10779
|
};
|
|
10656
|
-
var
|
|
10657
|
-
props:
|
|
10780
|
+
var propsMeta24 = {
|
|
10781
|
+
props: props21,
|
|
10658
10782
|
initialProps: ["id", "className"]
|
|
10659
10783
|
};
|
|
10660
10784
|
|
|
@@ -10663,10 +10787,10 @@ import { CodeTextIcon } from "@webstudio-is/icons/svg";
|
|
|
10663
10787
|
import {
|
|
10664
10788
|
defaultStates as defaultStates20
|
|
10665
10789
|
} from "@webstudio-is/react-sdk";
|
|
10666
|
-
import { code } from "@webstudio-is/
|
|
10790
|
+
import { code } from "@webstudio-is/sdk/normalize.css";
|
|
10667
10791
|
|
|
10668
10792
|
// src/__generated__/code-text.props.ts
|
|
10669
|
-
var
|
|
10793
|
+
var props22 = {
|
|
10670
10794
|
about: { required: false, control: "text", type: "string" },
|
|
10671
10795
|
accessKey: {
|
|
10672
10796
|
required: false,
|
|
@@ -11199,9 +11323,9 @@ var presetStyle11 = {
|
|
|
11199
11323
|
}
|
|
11200
11324
|
]
|
|
11201
11325
|
};
|
|
11202
|
-
var
|
|
11326
|
+
var propsMeta25 = {
|
|
11203
11327
|
props: {
|
|
11204
|
-
...
|
|
11328
|
+
...props22,
|
|
11205
11329
|
code: {
|
|
11206
11330
|
required: true,
|
|
11207
11331
|
control: "codetext",
|
|
@@ -11216,10 +11340,10 @@ import { LabelIcon } from "@webstudio-is/icons/svg";
|
|
|
11216
11340
|
import {
|
|
11217
11341
|
defaultStates as defaultStates21
|
|
11218
11342
|
} from "@webstudio-is/react-sdk";
|
|
11219
|
-
import { label } from "@webstudio-is/
|
|
11343
|
+
import { label } from "@webstudio-is/sdk/normalize.css";
|
|
11220
11344
|
|
|
11221
11345
|
// src/__generated__/label.props.ts
|
|
11222
|
-
var
|
|
11346
|
+
var props23 = {
|
|
11223
11347
|
about: { required: false, control: "text", type: "string" },
|
|
11224
11348
|
accessKey: {
|
|
11225
11349
|
required: false,
|
|
@@ -11740,11 +11864,11 @@ var presetStyle12 = {
|
|
|
11740
11864
|
{ property: "display", value: { type: "keyword", value: "block" } }
|
|
11741
11865
|
]
|
|
11742
11866
|
};
|
|
11743
|
-
var
|
|
11867
|
+
var propsMeta26 = {
|
|
11744
11868
|
props: {
|
|
11745
|
-
...
|
|
11869
|
+
...props23,
|
|
11746
11870
|
htmlFor: {
|
|
11747
|
-
...
|
|
11871
|
+
...props23.htmlFor,
|
|
11748
11872
|
label: "For"
|
|
11749
11873
|
}
|
|
11750
11874
|
},
|
|
@@ -11756,10 +11880,10 @@ import { FormTextAreaIcon } from "@webstudio-is/icons/svg";
|
|
|
11756
11880
|
import {
|
|
11757
11881
|
defaultStates as defaultStates22
|
|
11758
11882
|
} from "@webstudio-is/react-sdk";
|
|
11759
|
-
import { textarea } from "@webstudio-is/
|
|
11883
|
+
import { textarea } from "@webstudio-is/sdk/normalize.css";
|
|
11760
11884
|
|
|
11761
11885
|
// src/__generated__/textarea.props.ts
|
|
11762
|
-
var
|
|
11886
|
+
var props24 = {
|
|
11763
11887
|
about: { required: false, control: "text", type: "string" },
|
|
11764
11888
|
accessKey: {
|
|
11765
11889
|
required: false,
|
|
@@ -12352,7 +12476,7 @@ var presetStyle13 = {
|
|
|
12352
12476
|
}
|
|
12353
12477
|
]
|
|
12354
12478
|
};
|
|
12355
|
-
var
|
|
12479
|
+
var meta7 = {
|
|
12356
12480
|
category: "forms",
|
|
12357
12481
|
type: "control",
|
|
12358
12482
|
label: "Text Area",
|
|
@@ -12375,12 +12499,13 @@ var meta6 = {
|
|
|
12375
12499
|
//{ selector: ":read-write", label: "Read Write" },
|
|
12376
12500
|
]
|
|
12377
12501
|
};
|
|
12378
|
-
var
|
|
12379
|
-
props:
|
|
12502
|
+
var propsMeta27 = {
|
|
12503
|
+
props: props24,
|
|
12380
12504
|
initialProps: [
|
|
12381
12505
|
"id",
|
|
12382
12506
|
"className",
|
|
12383
12507
|
"name",
|
|
12508
|
+
"value",
|
|
12384
12509
|
"placeholder",
|
|
12385
12510
|
"required",
|
|
12386
12511
|
"autoFocus"
|
|
@@ -12392,10 +12517,10 @@ import { RadioCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
12392
12517
|
import {
|
|
12393
12518
|
defaultStates as defaultStates23
|
|
12394
12519
|
} from "@webstudio-is/react-sdk";
|
|
12395
|
-
import { radio } from "@webstudio-is/
|
|
12520
|
+
import { radio } from "@webstudio-is/sdk/normalize.css";
|
|
12396
12521
|
|
|
12397
12522
|
// src/__generated__/radio-button.props.ts
|
|
12398
|
-
var
|
|
12523
|
+
var props25 = {
|
|
12399
12524
|
about: { required: false, control: "text", type: "string" },
|
|
12400
12525
|
accept: {
|
|
12401
12526
|
required: false,
|
|
@@ -13071,7 +13196,7 @@ var presetStyle14 = {
|
|
|
13071
13196
|
}
|
|
13072
13197
|
]
|
|
13073
13198
|
};
|
|
13074
|
-
var
|
|
13199
|
+
var meta8 = {
|
|
13075
13200
|
category: "forms",
|
|
13076
13201
|
invalidAncestors: ["Button", "Link"],
|
|
13077
13202
|
type: "control",
|
|
@@ -13109,17 +13234,9 @@ var meta7 = {
|
|
|
13109
13234
|
}
|
|
13110
13235
|
]
|
|
13111
13236
|
};
|
|
13112
|
-
var
|
|
13113
|
-
props:
|
|
13114
|
-
initialProps: [
|
|
13115
|
-
"id",
|
|
13116
|
-
"className",
|
|
13117
|
-
"name",
|
|
13118
|
-
"value",
|
|
13119
|
-
"required",
|
|
13120
|
-
"checked",
|
|
13121
|
-
"defaultChecked"
|
|
13122
|
-
]
|
|
13237
|
+
var propsMeta28 = {
|
|
13238
|
+
props: props25,
|
|
13239
|
+
initialProps: ["id", "className", "name", "value", "required", "checked"]
|
|
13123
13240
|
};
|
|
13124
13241
|
|
|
13125
13242
|
// src/checkbox.ws.ts
|
|
@@ -13127,10 +13244,10 @@ import { CheckboxCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
13127
13244
|
import {
|
|
13128
13245
|
defaultStates as defaultStates24
|
|
13129
13246
|
} from "@webstudio-is/react-sdk";
|
|
13130
|
-
import { checkbox } from "@webstudio-is/
|
|
13247
|
+
import { checkbox } from "@webstudio-is/sdk/normalize.css";
|
|
13131
13248
|
|
|
13132
13249
|
// src/__generated__/checkbox.props.ts
|
|
13133
|
-
var
|
|
13250
|
+
var props26 = {
|
|
13134
13251
|
about: { required: false, control: "text", type: "string" },
|
|
13135
13252
|
accept: {
|
|
13136
13253
|
required: false,
|
|
@@ -13806,11 +13923,10 @@ var presetStyle15 = {
|
|
|
13806
13923
|
}
|
|
13807
13924
|
]
|
|
13808
13925
|
};
|
|
13809
|
-
var
|
|
13926
|
+
var meta9 = {
|
|
13810
13927
|
category: "forms",
|
|
13811
13928
|
invalidAncestors: ["Button", "Link"],
|
|
13812
13929
|
type: "control",
|
|
13813
|
-
label: "Checkbox",
|
|
13814
13930
|
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.",
|
|
13815
13931
|
icon: CheckboxCheckedIcon,
|
|
13816
13932
|
presetStyle: presetStyle15,
|
|
@@ -13843,17 +13959,9 @@ var meta8 = {
|
|
|
13843
13959
|
}
|
|
13844
13960
|
]
|
|
13845
13961
|
};
|
|
13846
|
-
var
|
|
13847
|
-
props:
|
|
13848
|
-
initialProps: [
|
|
13849
|
-
"id",
|
|
13850
|
-
"className",
|
|
13851
|
-
"name",
|
|
13852
|
-
"value",
|
|
13853
|
-
"required",
|
|
13854
|
-
"checked",
|
|
13855
|
-
"defaultChecked"
|
|
13856
|
-
]
|
|
13962
|
+
var propsMeta29 = {
|
|
13963
|
+
props: props26,
|
|
13964
|
+
initialProps: ["id", "className", "name", "value", "required", "checked"]
|
|
13857
13965
|
};
|
|
13858
13966
|
|
|
13859
13967
|
// src/vimeo.ws.ts
|
|
@@ -13861,10 +13969,10 @@ import { PlayIcon, SpinnerIcon, VimeoIcon } from "@webstudio-is/icons/svg";
|
|
|
13861
13969
|
import {
|
|
13862
13970
|
defaultStates as defaultStates25
|
|
13863
13971
|
} from "@webstudio-is/react-sdk";
|
|
13864
|
-
import { div as div3 } from "@webstudio-is/
|
|
13972
|
+
import { div as div3 } from "@webstudio-is/sdk/normalize.css";
|
|
13865
13973
|
|
|
13866
13974
|
// src/__generated__/vimeo.props.ts
|
|
13867
|
-
var
|
|
13975
|
+
var props27 = {
|
|
13868
13976
|
about: { required: false, control: "text", type: "string" },
|
|
13869
13977
|
accessKey: {
|
|
13870
13978
|
required: false,
|
|
@@ -14550,8 +14658,8 @@ var initialProps = [
|
|
|
14550
14658
|
"showControls",
|
|
14551
14659
|
"controlsColor"
|
|
14552
14660
|
];
|
|
14553
|
-
var
|
|
14554
|
-
props:
|
|
14661
|
+
var propsMeta30 = {
|
|
14662
|
+
props: props27,
|
|
14555
14663
|
initialProps
|
|
14556
14664
|
};
|
|
14557
14665
|
|
|
@@ -14559,7 +14667,7 @@ var propsMeta29 = {
|
|
|
14559
14667
|
import "@webstudio-is/react-sdk";
|
|
14560
14668
|
|
|
14561
14669
|
// src/__generated__/vimeo-preview-image.props.ts
|
|
14562
|
-
var
|
|
14670
|
+
var props28 = {
|
|
14563
14671
|
about: { required: false, control: "text", type: "string" },
|
|
14564
14672
|
accessKey: {
|
|
14565
14673
|
required: false,
|
|
@@ -15140,15 +15248,15 @@ var props27 = {
|
|
|
15140
15248
|
};
|
|
15141
15249
|
|
|
15142
15250
|
// src/vimeo-preview-image.ws.ts
|
|
15143
|
-
var
|
|
15144
|
-
...
|
|
15251
|
+
var meta10 = {
|
|
15252
|
+
...meta6,
|
|
15145
15253
|
category: "hidden",
|
|
15146
15254
|
label: "Preview Image",
|
|
15147
15255
|
requiredAncestors: ["Vimeo"]
|
|
15148
15256
|
};
|
|
15149
|
-
var
|
|
15150
|
-
props: { ...
|
|
15151
|
-
initialProps:
|
|
15257
|
+
var propsMeta31 = {
|
|
15258
|
+
props: { ...props28, ...propsOverrides },
|
|
15259
|
+
initialProps: propsMeta20.initialProps
|
|
15152
15260
|
};
|
|
15153
15261
|
|
|
15154
15262
|
// src/vimeo-play-button.ws.ts
|
|
@@ -15157,7 +15265,7 @@ import {
|
|
|
15157
15265
|
} from "@webstudio-is/react-sdk";
|
|
15158
15266
|
|
|
15159
15267
|
// src/__generated__/vimeo-play-button.props.ts
|
|
15160
|
-
var
|
|
15268
|
+
var props29 = {
|
|
15161
15269
|
about: { required: false, control: "text", type: "string" },
|
|
15162
15270
|
accessKey: {
|
|
15163
15271
|
required: false,
|
|
@@ -15722,9 +15830,9 @@ var props28 = {
|
|
|
15722
15830
|
|
|
15723
15831
|
// src/vimeo-play-button.ws.ts
|
|
15724
15832
|
import { ButtonElementIcon as ButtonElementIcon2 } from "@webstudio-is/icons/svg";
|
|
15725
|
-
import { button as button2 } from "@webstudio-is/
|
|
15726
|
-
var
|
|
15727
|
-
props:
|
|
15833
|
+
import { button as button2 } from "@webstudio-is/sdk/normalize.css";
|
|
15834
|
+
var propsMeta32 = {
|
|
15835
|
+
props: props29,
|
|
15728
15836
|
initialProps: ["id", "className"]
|
|
15729
15837
|
};
|
|
15730
15838
|
|
|
@@ -15734,7 +15842,7 @@ import {
|
|
|
15734
15842
|
} from "@webstudio-is/react-sdk";
|
|
15735
15843
|
|
|
15736
15844
|
// src/__generated__/vimeo-spinner.props.ts
|
|
15737
|
-
var
|
|
15845
|
+
var props30 = {
|
|
15738
15846
|
about: { required: false, control: "text", type: "string" },
|
|
15739
15847
|
accessKey: {
|
|
15740
15848
|
required: false,
|
|
@@ -16237,10 +16345,10 @@ var props29 = {
|
|
|
16237
16345
|
};
|
|
16238
16346
|
|
|
16239
16347
|
// src/vimeo-spinner.ws.ts
|
|
16240
|
-
import { div as div4 } from "@webstudio-is/
|
|
16348
|
+
import { div as div4 } from "@webstudio-is/sdk/normalize.css";
|
|
16241
16349
|
import { BoxIcon as BoxIcon2 } from "@webstudio-is/icons/svg";
|
|
16242
|
-
var
|
|
16243
|
-
props:
|
|
16350
|
+
var propsMeta33 = {
|
|
16351
|
+
props: props30,
|
|
16244
16352
|
initialProps: ["id", "className"]
|
|
16245
16353
|
};
|
|
16246
16354
|
|
|
@@ -16249,14 +16357,14 @@ import { XmlIcon } from "@webstudio-is/icons/svg";
|
|
|
16249
16357
|
import "@webstudio-is/react-sdk";
|
|
16250
16358
|
|
|
16251
16359
|
// src/__generated__/xml-node.props.ts
|
|
16252
|
-
var
|
|
16360
|
+
var props31 = {
|
|
16253
16361
|
tag: { required: false, control: "text", type: "string", defaultValue: "" },
|
|
16254
16362
|
xmlns: { required: false, control: "text", type: "string" }
|
|
16255
16363
|
};
|
|
16256
16364
|
|
|
16257
16365
|
// src/xml-node.ws.ts
|
|
16258
|
-
var
|
|
16259
|
-
props:
|
|
16366
|
+
var propsMeta34 = {
|
|
16367
|
+
props: props31,
|
|
16260
16368
|
initialProps: ["tag"]
|
|
16261
16369
|
};
|
|
16262
16370
|
|
|
@@ -16265,10 +16373,10 @@ import { CalendarIcon } from "@webstudio-is/icons/svg";
|
|
|
16265
16373
|
import {
|
|
16266
16374
|
defaultStates as defaultStates28
|
|
16267
16375
|
} from "@webstudio-is/react-sdk";
|
|
16268
|
-
import { time } from "@webstudio-is/
|
|
16376
|
+
import { time } from "@webstudio-is/sdk/normalize.css";
|
|
16269
16377
|
|
|
16270
16378
|
// src/__generated__/time.props.ts
|
|
16271
|
-
var
|
|
16379
|
+
var props32 = {
|
|
16272
16380
|
country: {
|
|
16273
16381
|
required: false,
|
|
16274
16382
|
control: "select",
|
|
@@ -16579,8 +16687,8 @@ var props31 = {
|
|
|
16579
16687
|
};
|
|
16580
16688
|
|
|
16581
16689
|
// src/time.ws.ts
|
|
16582
|
-
var
|
|
16583
|
-
props:
|
|
16690
|
+
var propsMeta35 = {
|
|
16691
|
+
props: props32,
|
|
16584
16692
|
initialProps: ["datetime", "language", "country", "dateStyle", "timeStyle"]
|
|
16585
16693
|
};
|
|
16586
16694
|
|
|
@@ -16589,10 +16697,10 @@ import { SelectIcon } from "@webstudio-is/icons/svg";
|
|
|
16589
16697
|
import {
|
|
16590
16698
|
defaultStates as defaultStates29
|
|
16591
16699
|
} from "@webstudio-is/react-sdk";
|
|
16592
|
-
import { select } from "@webstudio-is/
|
|
16700
|
+
import { select } from "@webstudio-is/sdk/normalize.css";
|
|
16593
16701
|
|
|
16594
16702
|
// src/__generated__/select.props.ts
|
|
16595
|
-
var
|
|
16703
|
+
var props33 = {
|
|
16596
16704
|
about: { required: false, control: "text", type: "string" },
|
|
16597
16705
|
accessKey: {
|
|
16598
16706
|
required: false,
|
|
@@ -17152,11 +17260,10 @@ var presetStyle16 = {
|
|
|
17152
17260
|
}
|
|
17153
17261
|
]
|
|
17154
17262
|
};
|
|
17155
|
-
var
|
|
17263
|
+
var meta11 = {
|
|
17156
17264
|
category: "forms",
|
|
17157
17265
|
invalidAncestors: ["Button", "Link"],
|
|
17158
17266
|
type: "container",
|
|
17159
|
-
label: "Select",
|
|
17160
17267
|
description: "A drop-down menu for users to select a single option from a predefined list.",
|
|
17161
17268
|
icon: SelectIcon,
|
|
17162
17269
|
presetStyle: presetStyle16,
|
|
@@ -17219,14 +17326,14 @@ var meta10 = {
|
|
|
17219
17326
|
}
|
|
17220
17327
|
]
|
|
17221
17328
|
};
|
|
17222
|
-
var
|
|
17223
|
-
props:
|
|
17329
|
+
var propsMeta36 = {
|
|
17330
|
+
props: props33,
|
|
17224
17331
|
initialProps: [
|
|
17225
17332
|
"id",
|
|
17226
17333
|
"className",
|
|
17227
17334
|
"name",
|
|
17335
|
+
"value",
|
|
17228
17336
|
"multiple",
|
|
17229
|
-
"defaultValue",
|
|
17230
17337
|
"required",
|
|
17231
17338
|
"autoFocus"
|
|
17232
17339
|
]
|
|
@@ -17237,7 +17344,7 @@ import { ItemIcon } from "@webstudio-is/icons/svg";
|
|
|
17237
17344
|
import "@webstudio-is/react-sdk";
|
|
17238
17345
|
|
|
17239
17346
|
// src/__generated__/option.props.ts
|
|
17240
|
-
var
|
|
17347
|
+
var props34 = {
|
|
17241
17348
|
about: { required: false, control: "text", type: "string" },
|
|
17242
17349
|
accessKey: {
|
|
17243
17350
|
required: false,
|
|
@@ -17764,45 +17871,47 @@ var props33 = {
|
|
|
17764
17871
|
};
|
|
17765
17872
|
|
|
17766
17873
|
// src/option.ws.ts
|
|
17767
|
-
var
|
|
17768
|
-
props:
|
|
17874
|
+
var propsMeta37 = {
|
|
17875
|
+
props: props34,
|
|
17769
17876
|
initialProps: ["label", "selected", "value", "label", "disabled"]
|
|
17770
17877
|
};
|
|
17771
17878
|
export {
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
|
|
17775
|
-
|
|
17776
|
-
|
|
17777
|
-
|
|
17778
|
-
|
|
17779
|
-
|
|
17879
|
+
propsMeta21 as Blockquote,
|
|
17880
|
+
propsMeta5 as Body,
|
|
17881
|
+
propsMeta13 as Bold,
|
|
17882
|
+
propsMeta6 as Box,
|
|
17883
|
+
propsMeta17 as Button,
|
|
17884
|
+
propsMeta29 as Checkbox,
|
|
17885
|
+
propsMeta25 as CodeText,
|
|
17886
|
+
propsMeta19 as Form,
|
|
17780
17887
|
propsMeta2 as Fragment,
|
|
17781
|
-
|
|
17888
|
+
propsMeta8 as Heading,
|
|
17782
17889
|
propsMeta3 as HtmlEmbed,
|
|
17783
|
-
|
|
17784
|
-
|
|
17785
|
-
|
|
17786
|
-
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17890
|
+
propsMeta20 as Image,
|
|
17891
|
+
propsMeta18 as Input,
|
|
17892
|
+
propsMeta14 as Italic,
|
|
17893
|
+
propsMeta26 as Label,
|
|
17894
|
+
propsMeta10 as Link,
|
|
17895
|
+
propsMeta22 as List,
|
|
17896
|
+
propsMeta23 as ListItem,
|
|
17897
|
+
propsMeta4 as MarkdownEmbed,
|
|
17898
|
+
propsMeta37 as Option,
|
|
17899
|
+
propsMeta9 as Paragraph,
|
|
17900
|
+
propsMeta28 as RadioButton,
|
|
17901
|
+
propsMeta19 as RemixForm,
|
|
17902
|
+
propsMeta11 as RichTextLink,
|
|
17903
|
+
propsMeta36 as Select,
|
|
17904
|
+
propsMeta24 as Separator,
|
|
17796
17905
|
propsMeta as Slot,
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
17906
|
+
propsMeta12 as Span,
|
|
17907
|
+
propsMeta16 as Subscript,
|
|
17908
|
+
propsMeta15 as Superscript,
|
|
17909
|
+
propsMeta7 as Text,
|
|
17910
|
+
propsMeta27 as Textarea,
|
|
17911
|
+
propsMeta35 as Time,
|
|
17912
|
+
propsMeta30 as Vimeo,
|
|
17913
|
+
propsMeta32 as VimeoPlayButton,
|
|
17914
|
+
propsMeta31 as VimeoPreviewImage,
|
|
17915
|
+
propsMeta33 as VimeoSpinner,
|
|
17916
|
+
propsMeta34 as XmlNode
|
|
17808
17917
|
};
|