@webstudio-is/sdk-components-react 0.174.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 -140
- 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/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,8 +7381,8 @@ 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",
|
|
@@ -7275,10 +7399,10 @@ import { FormIcon } from "@webstudio-is/icons/svg";
|
|
|
7275
7399
|
import {
|
|
7276
7400
|
defaultStates as defaultStates14
|
|
7277
7401
|
} from "@webstudio-is/react-sdk";
|
|
7278
|
-
import { form } from "@webstudio-is/
|
|
7402
|
+
import { form } from "@webstudio-is/sdk/normalize.css";
|
|
7279
7403
|
|
|
7280
7404
|
// src/__generated__/form.props.ts
|
|
7281
|
-
var
|
|
7405
|
+
var props16 = {
|
|
7282
7406
|
about: { required: false, control: "text", type: "string" },
|
|
7283
7407
|
acceptCharset: {
|
|
7284
7408
|
required: false,
|
|
@@ -7835,8 +7959,8 @@ var presetStyle7 = {
|
|
|
7835
7959
|
{ property: "minHeight", value: { type: "unit", unit: "px", value: 20 } }
|
|
7836
7960
|
]
|
|
7837
7961
|
};
|
|
7838
|
-
var
|
|
7839
|
-
props:
|
|
7962
|
+
var propsMeta19 = {
|
|
7963
|
+
props: props16,
|
|
7840
7964
|
initialProps: ["id", "className", "action"]
|
|
7841
7965
|
};
|
|
7842
7966
|
|
|
@@ -7845,10 +7969,10 @@ import { ImageIcon } from "@webstudio-is/icons/svg";
|
|
|
7845
7969
|
import {
|
|
7846
7970
|
defaultStates as defaultStates15
|
|
7847
7971
|
} from "@webstudio-is/react-sdk";
|
|
7848
|
-
import { img } from "@webstudio-is/
|
|
7972
|
+
import { img } from "@webstudio-is/sdk/normalize.css";
|
|
7849
7973
|
|
|
7850
7974
|
// src/__generated__/image.props.ts
|
|
7851
|
-
var
|
|
7975
|
+
var props17 = {
|
|
7852
7976
|
about: { required: false, control: "text", type: "string" },
|
|
7853
7977
|
accessKey: {
|
|
7854
7978
|
required: false,
|
|
@@ -8458,10 +8582,9 @@ var presetStyle8 = {
|
|
|
8458
8582
|
}
|
|
8459
8583
|
]
|
|
8460
8584
|
};
|
|
8461
|
-
var
|
|
8585
|
+
var meta6 = {
|
|
8462
8586
|
category: "media",
|
|
8463
8587
|
type: "embed",
|
|
8464
|
-
label: "Image",
|
|
8465
8588
|
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
8589
|
icon: ImageIcon,
|
|
8467
8590
|
states: defaultStates15,
|
|
@@ -8476,11 +8599,11 @@ var propsOverrides = {
|
|
|
8476
8599
|
required: false
|
|
8477
8600
|
}
|
|
8478
8601
|
};
|
|
8479
|
-
var optimize =
|
|
8602
|
+
var optimize = props17.optimize;
|
|
8480
8603
|
optimize.description = "Optimize the image for enhanced performance.";
|
|
8481
|
-
var
|
|
8604
|
+
var propsMeta20 = {
|
|
8482
8605
|
props: {
|
|
8483
|
-
...
|
|
8606
|
+
...props17,
|
|
8484
8607
|
...propsOverrides,
|
|
8485
8608
|
optimize
|
|
8486
8609
|
},
|
|
@@ -8503,7 +8626,7 @@ import {
|
|
|
8503
8626
|
} from "@webstudio-is/react-sdk";
|
|
8504
8627
|
|
|
8505
8628
|
// src/__generated__/blockquote.props.ts
|
|
8506
|
-
var
|
|
8629
|
+
var props18 = {
|
|
8507
8630
|
about: { required: false, control: "text", type: "string" },
|
|
8508
8631
|
accessKey: {
|
|
8509
8632
|
required: false,
|
|
@@ -9012,8 +9135,8 @@ var props17 = {
|
|
|
9012
9135
|
};
|
|
9013
9136
|
|
|
9014
9137
|
// src/blockquote.ws.ts
|
|
9015
|
-
var
|
|
9016
|
-
props:
|
|
9138
|
+
var propsMeta21 = {
|
|
9139
|
+
props: props18,
|
|
9017
9140
|
initialProps: ["id", "className", "cite"]
|
|
9018
9141
|
};
|
|
9019
9142
|
|
|
@@ -9022,10 +9145,10 @@ import { ListIcon } from "@webstudio-is/icons/svg";
|
|
|
9022
9145
|
import {
|
|
9023
9146
|
defaultStates as defaultStates17
|
|
9024
9147
|
} from "@webstudio-is/react-sdk";
|
|
9025
|
-
import { ol, ul } from "@webstudio-is/
|
|
9148
|
+
import { ol, ul } from "@webstudio-is/sdk/normalize.css";
|
|
9026
9149
|
|
|
9027
9150
|
// src/__generated__/list.props.ts
|
|
9028
|
-
var
|
|
9151
|
+
var props19 = {
|
|
9029
9152
|
about: { required: false, control: "text", type: "string" },
|
|
9030
9153
|
accessKey: {
|
|
9031
9154
|
required: false,
|
|
@@ -9586,8 +9709,8 @@ var presetStyle9 = {
|
|
|
9586
9709
|
}
|
|
9587
9710
|
]
|
|
9588
9711
|
};
|
|
9589
|
-
var
|
|
9590
|
-
props:
|
|
9712
|
+
var propsMeta22 = {
|
|
9713
|
+
props: props19,
|
|
9591
9714
|
initialProps: ["id", "className", "ordered", "start", "reversed"]
|
|
9592
9715
|
};
|
|
9593
9716
|
|
|
@@ -9596,10 +9719,10 @@ import { ListItemIcon } from "@webstudio-is/icons/svg";
|
|
|
9596
9719
|
import {
|
|
9597
9720
|
defaultStates as defaultStates18
|
|
9598
9721
|
} from "@webstudio-is/react-sdk";
|
|
9599
|
-
import { li } from "@webstudio-is/
|
|
9722
|
+
import { li } from "@webstudio-is/sdk/normalize.css";
|
|
9600
9723
|
|
|
9601
9724
|
// src/__generated__/list-item.props.ts
|
|
9602
|
-
var
|
|
9725
|
+
var props20 = {
|
|
9603
9726
|
about: { required: false, control: "text", type: "string" },
|
|
9604
9727
|
accessKey: {
|
|
9605
9728
|
required: false,
|
|
@@ -10108,8 +10231,8 @@ var props19 = {
|
|
|
10108
10231
|
};
|
|
10109
10232
|
|
|
10110
10233
|
// src/list-item.ws.ts
|
|
10111
|
-
var
|
|
10112
|
-
props:
|
|
10234
|
+
var propsMeta23 = {
|
|
10235
|
+
props: props20,
|
|
10113
10236
|
initialProps: ["id", "className"]
|
|
10114
10237
|
};
|
|
10115
10238
|
|
|
@@ -10118,10 +10241,10 @@ import { DashIcon } from "@webstudio-is/icons/svg";
|
|
|
10118
10241
|
import {
|
|
10119
10242
|
defaultStates as defaultStates19
|
|
10120
10243
|
} from "@webstudio-is/react-sdk";
|
|
10121
|
-
import { hr } from "@webstudio-is/
|
|
10244
|
+
import { hr } from "@webstudio-is/sdk/normalize.css";
|
|
10122
10245
|
|
|
10123
10246
|
// src/__generated__/separator.props.ts
|
|
10124
|
-
var
|
|
10247
|
+
var props21 = {
|
|
10125
10248
|
about: { required: false, control: "text", type: "string" },
|
|
10126
10249
|
accessKey: {
|
|
10127
10250
|
required: false,
|
|
@@ -10653,8 +10776,8 @@ var presetStyle10 = {
|
|
|
10653
10776
|
}
|
|
10654
10777
|
]
|
|
10655
10778
|
};
|
|
10656
|
-
var
|
|
10657
|
-
props:
|
|
10779
|
+
var propsMeta24 = {
|
|
10780
|
+
props: props21,
|
|
10658
10781
|
initialProps: ["id", "className"]
|
|
10659
10782
|
};
|
|
10660
10783
|
|
|
@@ -10663,10 +10786,10 @@ import { CodeTextIcon } from "@webstudio-is/icons/svg";
|
|
|
10663
10786
|
import {
|
|
10664
10787
|
defaultStates as defaultStates20
|
|
10665
10788
|
} from "@webstudio-is/react-sdk";
|
|
10666
|
-
import { code } from "@webstudio-is/
|
|
10789
|
+
import { code } from "@webstudio-is/sdk/normalize.css";
|
|
10667
10790
|
|
|
10668
10791
|
// src/__generated__/code-text.props.ts
|
|
10669
|
-
var
|
|
10792
|
+
var props22 = {
|
|
10670
10793
|
about: { required: false, control: "text", type: "string" },
|
|
10671
10794
|
accessKey: {
|
|
10672
10795
|
required: false,
|
|
@@ -11199,9 +11322,9 @@ var presetStyle11 = {
|
|
|
11199
11322
|
}
|
|
11200
11323
|
]
|
|
11201
11324
|
};
|
|
11202
|
-
var
|
|
11325
|
+
var propsMeta25 = {
|
|
11203
11326
|
props: {
|
|
11204
|
-
...
|
|
11327
|
+
...props22,
|
|
11205
11328
|
code: {
|
|
11206
11329
|
required: true,
|
|
11207
11330
|
control: "codetext",
|
|
@@ -11216,10 +11339,10 @@ import { LabelIcon } from "@webstudio-is/icons/svg";
|
|
|
11216
11339
|
import {
|
|
11217
11340
|
defaultStates as defaultStates21
|
|
11218
11341
|
} from "@webstudio-is/react-sdk";
|
|
11219
|
-
import { label } from "@webstudio-is/
|
|
11342
|
+
import { label } from "@webstudio-is/sdk/normalize.css";
|
|
11220
11343
|
|
|
11221
11344
|
// src/__generated__/label.props.ts
|
|
11222
|
-
var
|
|
11345
|
+
var props23 = {
|
|
11223
11346
|
about: { required: false, control: "text", type: "string" },
|
|
11224
11347
|
accessKey: {
|
|
11225
11348
|
required: false,
|
|
@@ -11740,11 +11863,11 @@ var presetStyle12 = {
|
|
|
11740
11863
|
{ property: "display", value: { type: "keyword", value: "block" } }
|
|
11741
11864
|
]
|
|
11742
11865
|
};
|
|
11743
|
-
var
|
|
11866
|
+
var propsMeta26 = {
|
|
11744
11867
|
props: {
|
|
11745
|
-
...
|
|
11868
|
+
...props23,
|
|
11746
11869
|
htmlFor: {
|
|
11747
|
-
...
|
|
11870
|
+
...props23.htmlFor,
|
|
11748
11871
|
label: "For"
|
|
11749
11872
|
}
|
|
11750
11873
|
},
|
|
@@ -11756,10 +11879,10 @@ import { FormTextAreaIcon } from "@webstudio-is/icons/svg";
|
|
|
11756
11879
|
import {
|
|
11757
11880
|
defaultStates as defaultStates22
|
|
11758
11881
|
} from "@webstudio-is/react-sdk";
|
|
11759
|
-
import { textarea } from "@webstudio-is/
|
|
11882
|
+
import { textarea } from "@webstudio-is/sdk/normalize.css";
|
|
11760
11883
|
|
|
11761
11884
|
// src/__generated__/textarea.props.ts
|
|
11762
|
-
var
|
|
11885
|
+
var props24 = {
|
|
11763
11886
|
about: { required: false, control: "text", type: "string" },
|
|
11764
11887
|
accessKey: {
|
|
11765
11888
|
required: false,
|
|
@@ -12352,7 +12475,7 @@ var presetStyle13 = {
|
|
|
12352
12475
|
}
|
|
12353
12476
|
]
|
|
12354
12477
|
};
|
|
12355
|
-
var
|
|
12478
|
+
var meta7 = {
|
|
12356
12479
|
category: "forms",
|
|
12357
12480
|
type: "control",
|
|
12358
12481
|
label: "Text Area",
|
|
@@ -12375,8 +12498,8 @@ var meta6 = {
|
|
|
12375
12498
|
//{ selector: ":read-write", label: "Read Write" },
|
|
12376
12499
|
]
|
|
12377
12500
|
};
|
|
12378
|
-
var
|
|
12379
|
-
props:
|
|
12501
|
+
var propsMeta27 = {
|
|
12502
|
+
props: props24,
|
|
12380
12503
|
initialProps: [
|
|
12381
12504
|
"id",
|
|
12382
12505
|
"className",
|
|
@@ -12392,10 +12515,10 @@ import { RadioCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
12392
12515
|
import {
|
|
12393
12516
|
defaultStates as defaultStates23
|
|
12394
12517
|
} from "@webstudio-is/react-sdk";
|
|
12395
|
-
import { radio } from "@webstudio-is/
|
|
12518
|
+
import { radio } from "@webstudio-is/sdk/normalize.css";
|
|
12396
12519
|
|
|
12397
12520
|
// src/__generated__/radio-button.props.ts
|
|
12398
|
-
var
|
|
12521
|
+
var props25 = {
|
|
12399
12522
|
about: { required: false, control: "text", type: "string" },
|
|
12400
12523
|
accept: {
|
|
12401
12524
|
required: false,
|
|
@@ -13071,7 +13194,7 @@ var presetStyle14 = {
|
|
|
13071
13194
|
}
|
|
13072
13195
|
]
|
|
13073
13196
|
};
|
|
13074
|
-
var
|
|
13197
|
+
var meta8 = {
|
|
13075
13198
|
category: "forms",
|
|
13076
13199
|
invalidAncestors: ["Button", "Link"],
|
|
13077
13200
|
type: "control",
|
|
@@ -13109,8 +13232,8 @@ var meta7 = {
|
|
|
13109
13232
|
}
|
|
13110
13233
|
]
|
|
13111
13234
|
};
|
|
13112
|
-
var
|
|
13113
|
-
props:
|
|
13235
|
+
var propsMeta28 = {
|
|
13236
|
+
props: props25,
|
|
13114
13237
|
initialProps: [
|
|
13115
13238
|
"id",
|
|
13116
13239
|
"className",
|
|
@@ -13127,10 +13250,10 @@ import { CheckboxCheckedIcon } from "@webstudio-is/icons/svg";
|
|
|
13127
13250
|
import {
|
|
13128
13251
|
defaultStates as defaultStates24
|
|
13129
13252
|
} from "@webstudio-is/react-sdk";
|
|
13130
|
-
import { checkbox } from "@webstudio-is/
|
|
13253
|
+
import { checkbox } from "@webstudio-is/sdk/normalize.css";
|
|
13131
13254
|
|
|
13132
13255
|
// src/__generated__/checkbox.props.ts
|
|
13133
|
-
var
|
|
13256
|
+
var props26 = {
|
|
13134
13257
|
about: { required: false, control: "text", type: "string" },
|
|
13135
13258
|
accept: {
|
|
13136
13259
|
required: false,
|
|
@@ -13806,11 +13929,10 @@ var presetStyle15 = {
|
|
|
13806
13929
|
}
|
|
13807
13930
|
]
|
|
13808
13931
|
};
|
|
13809
|
-
var
|
|
13932
|
+
var meta9 = {
|
|
13810
13933
|
category: "forms",
|
|
13811
13934
|
invalidAncestors: ["Button", "Link"],
|
|
13812
13935
|
type: "control",
|
|
13813
|
-
label: "Checkbox",
|
|
13814
13936
|
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
13937
|
icon: CheckboxCheckedIcon,
|
|
13816
13938
|
presetStyle: presetStyle15,
|
|
@@ -13843,8 +13965,8 @@ var meta8 = {
|
|
|
13843
13965
|
}
|
|
13844
13966
|
]
|
|
13845
13967
|
};
|
|
13846
|
-
var
|
|
13847
|
-
props:
|
|
13968
|
+
var propsMeta29 = {
|
|
13969
|
+
props: props26,
|
|
13848
13970
|
initialProps: [
|
|
13849
13971
|
"id",
|
|
13850
13972
|
"className",
|
|
@@ -13861,10 +13983,10 @@ import { PlayIcon, SpinnerIcon, VimeoIcon } from "@webstudio-is/icons/svg";
|
|
|
13861
13983
|
import {
|
|
13862
13984
|
defaultStates as defaultStates25
|
|
13863
13985
|
} from "@webstudio-is/react-sdk";
|
|
13864
|
-
import { div as div3 } from "@webstudio-is/
|
|
13986
|
+
import { div as div3 } from "@webstudio-is/sdk/normalize.css";
|
|
13865
13987
|
|
|
13866
13988
|
// src/__generated__/vimeo.props.ts
|
|
13867
|
-
var
|
|
13989
|
+
var props27 = {
|
|
13868
13990
|
about: { required: false, control: "text", type: "string" },
|
|
13869
13991
|
accessKey: {
|
|
13870
13992
|
required: false,
|
|
@@ -14550,8 +14672,8 @@ var initialProps = [
|
|
|
14550
14672
|
"showControls",
|
|
14551
14673
|
"controlsColor"
|
|
14552
14674
|
];
|
|
14553
|
-
var
|
|
14554
|
-
props:
|
|
14675
|
+
var propsMeta30 = {
|
|
14676
|
+
props: props27,
|
|
14555
14677
|
initialProps
|
|
14556
14678
|
};
|
|
14557
14679
|
|
|
@@ -14559,7 +14681,7 @@ var propsMeta29 = {
|
|
|
14559
14681
|
import "@webstudio-is/react-sdk";
|
|
14560
14682
|
|
|
14561
14683
|
// src/__generated__/vimeo-preview-image.props.ts
|
|
14562
|
-
var
|
|
14684
|
+
var props28 = {
|
|
14563
14685
|
about: { required: false, control: "text", type: "string" },
|
|
14564
14686
|
accessKey: {
|
|
14565
14687
|
required: false,
|
|
@@ -15140,15 +15262,15 @@ var props27 = {
|
|
|
15140
15262
|
};
|
|
15141
15263
|
|
|
15142
15264
|
// src/vimeo-preview-image.ws.ts
|
|
15143
|
-
var
|
|
15144
|
-
...
|
|
15265
|
+
var meta10 = {
|
|
15266
|
+
...meta6,
|
|
15145
15267
|
category: "hidden",
|
|
15146
15268
|
label: "Preview Image",
|
|
15147
15269
|
requiredAncestors: ["Vimeo"]
|
|
15148
15270
|
};
|
|
15149
|
-
var
|
|
15150
|
-
props: { ...
|
|
15151
|
-
initialProps:
|
|
15271
|
+
var propsMeta31 = {
|
|
15272
|
+
props: { ...props28, ...propsOverrides },
|
|
15273
|
+
initialProps: propsMeta20.initialProps
|
|
15152
15274
|
};
|
|
15153
15275
|
|
|
15154
15276
|
// src/vimeo-play-button.ws.ts
|
|
@@ -15157,7 +15279,7 @@ import {
|
|
|
15157
15279
|
} from "@webstudio-is/react-sdk";
|
|
15158
15280
|
|
|
15159
15281
|
// src/__generated__/vimeo-play-button.props.ts
|
|
15160
|
-
var
|
|
15282
|
+
var props29 = {
|
|
15161
15283
|
about: { required: false, control: "text", type: "string" },
|
|
15162
15284
|
accessKey: {
|
|
15163
15285
|
required: false,
|
|
@@ -15722,9 +15844,9 @@ var props28 = {
|
|
|
15722
15844
|
|
|
15723
15845
|
// src/vimeo-play-button.ws.ts
|
|
15724
15846
|
import { ButtonElementIcon as ButtonElementIcon2 } from "@webstudio-is/icons/svg";
|
|
15725
|
-
import { button as button2 } from "@webstudio-is/
|
|
15726
|
-
var
|
|
15727
|
-
props:
|
|
15847
|
+
import { button as button2 } from "@webstudio-is/sdk/normalize.css";
|
|
15848
|
+
var propsMeta32 = {
|
|
15849
|
+
props: props29,
|
|
15728
15850
|
initialProps: ["id", "className"]
|
|
15729
15851
|
};
|
|
15730
15852
|
|
|
@@ -15734,7 +15856,7 @@ import {
|
|
|
15734
15856
|
} from "@webstudio-is/react-sdk";
|
|
15735
15857
|
|
|
15736
15858
|
// src/__generated__/vimeo-spinner.props.ts
|
|
15737
|
-
var
|
|
15859
|
+
var props30 = {
|
|
15738
15860
|
about: { required: false, control: "text", type: "string" },
|
|
15739
15861
|
accessKey: {
|
|
15740
15862
|
required: false,
|
|
@@ -16237,10 +16359,10 @@ var props29 = {
|
|
|
16237
16359
|
};
|
|
16238
16360
|
|
|
16239
16361
|
// src/vimeo-spinner.ws.ts
|
|
16240
|
-
import { div as div4 } from "@webstudio-is/
|
|
16362
|
+
import { div as div4 } from "@webstudio-is/sdk/normalize.css";
|
|
16241
16363
|
import { BoxIcon as BoxIcon2 } from "@webstudio-is/icons/svg";
|
|
16242
|
-
var
|
|
16243
|
-
props:
|
|
16364
|
+
var propsMeta33 = {
|
|
16365
|
+
props: props30,
|
|
16244
16366
|
initialProps: ["id", "className"]
|
|
16245
16367
|
};
|
|
16246
16368
|
|
|
@@ -16249,14 +16371,14 @@ import { XmlIcon } from "@webstudio-is/icons/svg";
|
|
|
16249
16371
|
import "@webstudio-is/react-sdk";
|
|
16250
16372
|
|
|
16251
16373
|
// src/__generated__/xml-node.props.ts
|
|
16252
|
-
var
|
|
16374
|
+
var props31 = {
|
|
16253
16375
|
tag: { required: false, control: "text", type: "string", defaultValue: "" },
|
|
16254
16376
|
xmlns: { required: false, control: "text", type: "string" }
|
|
16255
16377
|
};
|
|
16256
16378
|
|
|
16257
16379
|
// src/xml-node.ws.ts
|
|
16258
|
-
var
|
|
16259
|
-
props:
|
|
16380
|
+
var propsMeta34 = {
|
|
16381
|
+
props: props31,
|
|
16260
16382
|
initialProps: ["tag"]
|
|
16261
16383
|
};
|
|
16262
16384
|
|
|
@@ -16265,10 +16387,10 @@ import { CalendarIcon } from "@webstudio-is/icons/svg";
|
|
|
16265
16387
|
import {
|
|
16266
16388
|
defaultStates as defaultStates28
|
|
16267
16389
|
} from "@webstudio-is/react-sdk";
|
|
16268
|
-
import { time } from "@webstudio-is/
|
|
16390
|
+
import { time } from "@webstudio-is/sdk/normalize.css";
|
|
16269
16391
|
|
|
16270
16392
|
// src/__generated__/time.props.ts
|
|
16271
|
-
var
|
|
16393
|
+
var props32 = {
|
|
16272
16394
|
country: {
|
|
16273
16395
|
required: false,
|
|
16274
16396
|
control: "select",
|
|
@@ -16579,8 +16701,8 @@ var props31 = {
|
|
|
16579
16701
|
};
|
|
16580
16702
|
|
|
16581
16703
|
// src/time.ws.ts
|
|
16582
|
-
var
|
|
16583
|
-
props:
|
|
16704
|
+
var propsMeta35 = {
|
|
16705
|
+
props: props32,
|
|
16584
16706
|
initialProps: ["datetime", "language", "country", "dateStyle", "timeStyle"]
|
|
16585
16707
|
};
|
|
16586
16708
|
|
|
@@ -16589,10 +16711,10 @@ import { SelectIcon } from "@webstudio-is/icons/svg";
|
|
|
16589
16711
|
import {
|
|
16590
16712
|
defaultStates as defaultStates29
|
|
16591
16713
|
} from "@webstudio-is/react-sdk";
|
|
16592
|
-
import { select } from "@webstudio-is/
|
|
16714
|
+
import { select } from "@webstudio-is/sdk/normalize.css";
|
|
16593
16715
|
|
|
16594
16716
|
// src/__generated__/select.props.ts
|
|
16595
|
-
var
|
|
16717
|
+
var props33 = {
|
|
16596
16718
|
about: { required: false, control: "text", type: "string" },
|
|
16597
16719
|
accessKey: {
|
|
16598
16720
|
required: false,
|
|
@@ -17152,11 +17274,10 @@ var presetStyle16 = {
|
|
|
17152
17274
|
}
|
|
17153
17275
|
]
|
|
17154
17276
|
};
|
|
17155
|
-
var
|
|
17277
|
+
var meta11 = {
|
|
17156
17278
|
category: "forms",
|
|
17157
17279
|
invalidAncestors: ["Button", "Link"],
|
|
17158
17280
|
type: "container",
|
|
17159
|
-
label: "Select",
|
|
17160
17281
|
description: "A drop-down menu for users to select a single option from a predefined list.",
|
|
17161
17282
|
icon: SelectIcon,
|
|
17162
17283
|
presetStyle: presetStyle16,
|
|
@@ -17219,8 +17340,8 @@ var meta10 = {
|
|
|
17219
17340
|
}
|
|
17220
17341
|
]
|
|
17221
17342
|
};
|
|
17222
|
-
var
|
|
17223
|
-
props:
|
|
17343
|
+
var propsMeta36 = {
|
|
17344
|
+
props: props33,
|
|
17224
17345
|
initialProps: [
|
|
17225
17346
|
"id",
|
|
17226
17347
|
"className",
|
|
@@ -17237,7 +17358,7 @@ import { ItemIcon } from "@webstudio-is/icons/svg";
|
|
|
17237
17358
|
import "@webstudio-is/react-sdk";
|
|
17238
17359
|
|
|
17239
17360
|
// src/__generated__/option.props.ts
|
|
17240
|
-
var
|
|
17361
|
+
var props34 = {
|
|
17241
17362
|
about: { required: false, control: "text", type: "string" },
|
|
17242
17363
|
accessKey: {
|
|
17243
17364
|
required: false,
|
|
@@ -17764,45 +17885,47 @@ var props33 = {
|
|
|
17764
17885
|
};
|
|
17765
17886
|
|
|
17766
17887
|
// src/option.ws.ts
|
|
17767
|
-
var
|
|
17768
|
-
props:
|
|
17888
|
+
var propsMeta37 = {
|
|
17889
|
+
props: props34,
|
|
17769
17890
|
initialProps: ["label", "selected", "value", "label", "disabled"]
|
|
17770
17891
|
};
|
|
17771
17892
|
export {
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
|
|
17775
|
-
|
|
17776
|
-
|
|
17777
|
-
|
|
17778
|
-
|
|
17779
|
-
|
|
17893
|
+
propsMeta21 as Blockquote,
|
|
17894
|
+
propsMeta5 as Body,
|
|
17895
|
+
propsMeta13 as Bold,
|
|
17896
|
+
propsMeta6 as Box,
|
|
17897
|
+
propsMeta17 as Button,
|
|
17898
|
+
propsMeta29 as Checkbox,
|
|
17899
|
+
propsMeta25 as CodeText,
|
|
17900
|
+
propsMeta19 as Form,
|
|
17780
17901
|
propsMeta2 as Fragment,
|
|
17781
|
-
|
|
17902
|
+
propsMeta8 as Heading,
|
|
17782
17903
|
propsMeta3 as HtmlEmbed,
|
|
17783
|
-
|
|
17784
|
-
|
|
17785
|
-
|
|
17786
|
-
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17904
|
+
propsMeta20 as Image,
|
|
17905
|
+
propsMeta18 as Input,
|
|
17906
|
+
propsMeta14 as Italic,
|
|
17907
|
+
propsMeta26 as Label,
|
|
17908
|
+
propsMeta10 as Link,
|
|
17909
|
+
propsMeta22 as List,
|
|
17910
|
+
propsMeta23 as ListItem,
|
|
17911
|
+
propsMeta4 as MarkdownEmbed,
|
|
17912
|
+
propsMeta37 as Option,
|
|
17913
|
+
propsMeta9 as Paragraph,
|
|
17914
|
+
propsMeta28 as RadioButton,
|
|
17915
|
+
propsMeta19 as RemixForm,
|
|
17916
|
+
propsMeta11 as RichTextLink,
|
|
17917
|
+
propsMeta36 as Select,
|
|
17918
|
+
propsMeta24 as Separator,
|
|
17796
17919
|
propsMeta as Slot,
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
17920
|
+
propsMeta12 as Span,
|
|
17921
|
+
propsMeta16 as Subscript,
|
|
17922
|
+
propsMeta15 as Superscript,
|
|
17923
|
+
propsMeta7 as Text,
|
|
17924
|
+
propsMeta27 as Textarea,
|
|
17925
|
+
propsMeta35 as Time,
|
|
17926
|
+
propsMeta30 as Vimeo,
|
|
17927
|
+
propsMeta32 as VimeoPlayButton,
|
|
17928
|
+
propsMeta31 as VimeoPreviewImage,
|
|
17929
|
+
propsMeta33 as VimeoSpinner,
|
|
17930
|
+
propsMeta34 as XmlNode
|
|
17808
17931
|
};
|