@wix/editor-react-components 1.2280.0 → 1.2282.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/dist/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +2 -2
- package/dist/site/components/AnimatedIcon/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +2 -2
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +2 -2
- package/dist/site/components/Breadcrumbs/manifest.js +2 -2
- package/dist/site/components/Button/manifest.js +5 -3
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +4 -3
- package/dist/site/components/Dropdown/component.js +28 -30348
- package/dist/site/components/Dropdown/manifest.js +2 -2
- package/dist/site/components/GoogleMap/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HTMLComponent/manifest.js +1 -1
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/Image3/manifest.js +3 -1
- package/dist/site/components/Line/manifest.js +3 -1
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +2 -2
- package/dist/site/components/Logo/component.js +1 -1
- package/dist/site/components/Logo/manifest.js +1 -1
- package/dist/site/components/Logo/sdk.js +1 -1
- package/dist/site/components/Lottie/component.js +1 -1
- package/dist/site/components/Lottie/manifest.js +2 -2
- package/dist/site/components/Menu/component.js +2 -2
- package/dist/site/components/Menu/manifest.js +2 -2
- package/dist/site/components/MultiStateBox/component.js +1 -1
- package/dist/site/components/MultiStateBox/manifest.js +2 -2
- package/dist/site/components/ProgressBar/component.js +1 -1
- package/dist/site/components/ProgressBar/manifest.js +1 -1
- package/dist/site/components/ProgressBar/sdk.js +1 -1
- package/dist/site/components/Repeater/component.js +1 -1
- package/dist/site/components/Repeater/manifest.js +1 -1
- package/dist/site/components/ShareButtons/component.js +2 -2
- package/dist/site/components/ShareButtons/manifest.js +2 -2
- package/dist/site/components/SiteLogo/panels/customizeLogo/bi.d.ts +1 -0
- package/dist/site/components/Slideshow/manifest.js +1 -1
- package/dist/site/components/SvgImage/manifest.js +3 -1
- package/dist/site/components/Tabs/component.js +1 -1
- package/dist/site/components/Tabs/manifest.js +2 -2
- package/dist/site/components/TestComp/manifest.js +1 -1
- package/dist/site/components/TextBox/TextBox.d.ts +3 -0
- package/dist/site/components/TextBox/TextBox.types.d.ts +20 -0
- package/dist/site/components/TextBox/component.d.ts +2 -0
- package/dist/site/components/TextBox/component.js +146 -0
- package/dist/site/components/TextBox/component.preview.d.ts +4 -0
- package/dist/site/components/TextBox/constants.d.ts +79 -0
- package/dist/site/components/TextBox/css.css +137 -0
- package/dist/site/components/TextBox/index.d.ts +2 -0
- package/dist/site/components/TextBox/index.js +6 -0
- package/dist/site/components/TextBox/manifest.d.ts +5 -0
- package/dist/site/components/TextBox/manifest.js +219 -0
- package/dist/site/components/WRichText/manifest.js +3 -1
- package/dist/site/components/chunks/AnimatedIcon.js +1 -1
- package/dist/site/components/chunks/Button.js +1 -1
- package/dist/site/components/chunks/constants17.js +67 -17
- package/dist/site/components/chunks/constants18.js +15 -50
- package/dist/site/components/chunks/constants19.js +43 -45
- package/dist/site/components/chunks/constants20.js +48 -297
- package/dist/site/components/chunks/constants21.js +299 -41
- package/dist/site/components/chunks/constants22.js +44 -29
- package/dist/site/components/chunks/constants23.js +32 -17
- package/dist/site/components/chunks/constants24.js +16 -402
- package/dist/site/components/chunks/constants25.js +393 -73
- package/dist/site/components/chunks/constants26.js +80 -15
- package/dist/site/components/chunks/constants27.js +11 -42
- package/dist/site/components/chunks/constants28.js +44 -23
- package/dist/site/components/chunks/constants29.js +28 -10
- package/dist/site/components/chunks/constants30.js +10 -132
- package/dist/site/components/chunks/constants31.js +114 -46
- package/dist/site/components/chunks/constants32.js +53 -71
- package/dist/site/components/chunks/constants33.js +73 -77
- package/dist/site/components/chunks/constants34.js +76 -57
- package/dist/site/components/chunks/constants35.js +72 -0
- package/dist/site/components/chunks/index10.js +30414 -3
- package/dist/site/components/chunks/index11.js +5 -0
- package/dist/site/components/chunks/manifestSdkMixins.js +3 -3
- package/dist/site/components/chunks/utils.js +1 -1
- package/dist/site/components/extensions.js +24 -19
- package/package.json +3 -2
|
@@ -1,310 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
const DEFAULT_ANIMATION_DURATION = 0.2;
|
|
2
|
+
const AnimatedSvgIds = {
|
|
3
|
+
animatedSvg: "animatedSvg",
|
|
4
|
+
animatedTagPath: "animatedPath",
|
|
5
|
+
animateTagForward: "animateForward",
|
|
6
|
+
animateTagBackward: "animateBackward"
|
|
7
|
+
};
|
|
8
|
+
var AnimationDirection = /* @__PURE__ */ ((AnimationDirection2) => {
|
|
9
|
+
AnimationDirection2["FORWARD"] = "Forward";
|
|
10
|
+
AnimationDirection2["BACKWARD"] = "Backward";
|
|
11
|
+
return AnimationDirection2;
|
|
12
|
+
})(AnimationDirection || {});
|
|
13
|
+
const AnimatedDataAttributes = {
|
|
14
|
+
[
|
|
15
|
+
"Forward"
|
|
16
|
+
/* FORWARD */
|
|
17
|
+
]: "data-animated-end-path",
|
|
18
|
+
[
|
|
19
|
+
"Backward"
|
|
20
|
+
/* BACKWARD */
|
|
21
|
+
]: "data-animated-start-path"
|
|
16
22
|
};
|
|
17
|
-
const valueToPlatformId = {
|
|
18
|
-
"Shares on Facebook": platformIds.facebook,
|
|
19
|
-
"Shares on Twitter": platformIds.twitter,
|
|
20
|
-
"Shares on X (Twitter)": platformIds.twitter,
|
|
21
|
-
"Shares on Whatsapp": platformIds.whatsapp,
|
|
22
|
-
"Shares on WhatsApp": platformIds.whatsapp,
|
|
23
|
-
"Shares on LinkedIn": platformIds.linkedin,
|
|
24
|
-
"Shares on Pinterest": platformIds.pinterest,
|
|
25
|
-
"Copies Link": platformIds.copyButton
|
|
26
|
-
};
|
|
27
|
-
const shareUrlPrefixes = {
|
|
28
|
-
[platformIds.facebook]: "https://facebook.com/sharer/sharer.php?u=",
|
|
29
|
-
[platformIds.twitter]: "https://twitter.com/intent/tweet?url=",
|
|
30
|
-
[platformIds.linkedin]: "https://www.linkedin.com/shareArticle?mini=true&url=",
|
|
31
|
-
[platformIds.pinterest]: "https://pinterest.com/pin/create/button/?url=",
|
|
32
|
-
[platformIds.whatsapp]: "https://api.whatsapp.com/send/?phone&text=",
|
|
33
|
-
[platformIds.copyButton]: ""
|
|
34
|
-
};
|
|
35
|
-
const noButtonsErrorMessage = "ShareButtons: `buttons` prop must contain at least one button.";
|
|
36
|
-
const defaultRootAriaLabel = "Share Buttons";
|
|
37
|
-
const sharerData = {
|
|
38
|
-
name: "wix_share_button",
|
|
39
|
-
params: "width = 635, height = 346"
|
|
40
|
-
};
|
|
41
|
-
const COPY_CONFIRMATION_TIMEOUT = 5e3;
|
|
42
|
-
const TOOLTIP_SUCCESS_TEXT = "Link Copied";
|
|
43
|
-
const TOOLTIP_FAILED_TEXT = "Failed to copy link";
|
|
44
|
-
const linkCopiedTranslationKey = "wixui_ShareButtons_toast_link_copied";
|
|
45
|
-
const linkCopiedFailedTranslationKey = "wixui_ShareButtons_toast_link_copied_failed";
|
|
46
|
-
const HAS_CUSTOM_FOCUS_CLASSNAME = "has-custom-focus";
|
|
47
23
|
const TestIds = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
ariaLabel: "ShareButtons_AriaLabel"
|
|
52
|
-
};
|
|
53
|
-
const translationKeys = [
|
|
54
|
-
"wixui_ShareButtons_toast_link_copied",
|
|
55
|
-
"wixui_ShareButtons_manage_copy_link_default_text",
|
|
56
|
-
"ShareButtons_AriaLabel"
|
|
57
|
-
];
|
|
58
|
-
const dataHooks = {
|
|
59
|
-
presetWrapper: "share-buttons-preset-wrapper"
|
|
60
|
-
};
|
|
61
|
-
const DisplayNames = {
|
|
62
|
-
elementDisplayName: "Share Buttons",
|
|
63
|
-
presets: {
|
|
64
|
-
horizontal: "Horizontal",
|
|
65
|
-
vertical: "Vertical"
|
|
66
|
-
},
|
|
67
|
-
cssCustomProperties: {
|
|
68
|
-
"buttons-spacing": "Space between buttons",
|
|
69
|
-
"rows-spacing": "Space between rows",
|
|
70
|
-
"button-width": "Button width"
|
|
71
|
-
},
|
|
72
|
-
data: {
|
|
73
|
-
pageToShare: "What page is shared?",
|
|
74
|
-
buttons: {
|
|
75
|
-
displayName: "Buttons",
|
|
76
|
-
items: {
|
|
77
|
-
label: "Label",
|
|
78
|
-
description: "Description",
|
|
79
|
-
value: "Value",
|
|
80
|
-
disabled: "Disabled",
|
|
81
|
-
isDefault: "Is Default",
|
|
82
|
-
unavailable: "Unavailable",
|
|
83
|
-
platformId: "Platform ID",
|
|
84
|
-
illustration: "Illustration",
|
|
85
|
-
isHidden: "Is Hidden"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
button: {
|
|
90
|
-
elementDisplayName: "Buttons",
|
|
91
|
-
cssCustomProperties: {
|
|
92
|
-
"icon-text-spacing": "Space between text and icons",
|
|
93
|
-
"icon-position": "Icon position"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
label: {
|
|
97
|
-
elementDisplayName: "Text"
|
|
98
|
-
},
|
|
99
|
-
icon: {
|
|
100
|
-
elementDisplayName: "Icons",
|
|
101
|
-
cssCustomProperties: {
|
|
102
|
-
"icon-size": "Size"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
customActions: {
|
|
106
|
-
format: {
|
|
107
|
-
displayName: "Change Orientation"
|
|
108
|
-
},
|
|
109
|
-
manage: {
|
|
110
|
-
displayName: "Manage Share Buttons"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
24
|
+
animatedSvg: "animated-svg",
|
|
25
|
+
animateTagForward: "animate-tag-forward",
|
|
26
|
+
animateTagBackward: "animate-tag-backward"
|
|
113
27
|
};
|
|
114
28
|
const DesignStates = {
|
|
115
29
|
root: {
|
|
116
|
-
hover: { displayName: "Hover", className: "
|
|
30
|
+
hover: { displayName: "Hover", className: "animated-icon--hover" },
|
|
31
|
+
disabled: { displayName: "Disabled", className: "animated-icon--disabled" },
|
|
32
|
+
selected: { displayName: "Selected", className: "animated-icon--selected" }
|
|
117
33
|
}
|
|
118
34
|
};
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
contentAlignment: "start",
|
|
127
|
-
pageToShare: "home",
|
|
128
|
-
horizontalPresetWidth: 400
|
|
129
|
-
};
|
|
130
|
-
const ButtonWidthOptions = [
|
|
131
|
-
{
|
|
132
|
-
value: "fit-content",
|
|
133
|
-
displayName: "Fit to text"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
value: "100%",
|
|
137
|
-
displayName: "Equal"
|
|
138
|
-
}
|
|
139
|
-
];
|
|
140
|
-
const ColumnFlexDirectionAppliedStyles = [
|
|
141
|
-
{
|
|
142
|
-
property: "--align-items-value",
|
|
143
|
-
value: "var(--horizontal-alignment)"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
property: "--justify-content-value",
|
|
147
|
-
value: "center"
|
|
148
|
-
}
|
|
149
|
-
];
|
|
150
|
-
const RowFlexDirectionAppliedStyles = [
|
|
151
|
-
{
|
|
152
|
-
property: "--justify-content-value",
|
|
153
|
-
value: "var(--horizontal-alignment)"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
property: "--align-items-value",
|
|
157
|
-
value: "center"
|
|
158
|
-
}
|
|
159
|
-
];
|
|
160
|
-
const IconPositionOptions = [
|
|
161
|
-
{
|
|
162
|
-
value: "row",
|
|
163
|
-
displayName: "Before text",
|
|
164
|
-
appliedStyles: RowFlexDirectionAppliedStyles
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
value: "row-reverse",
|
|
168
|
-
displayName: "After text",
|
|
169
|
-
appliedStyles: RowFlexDirectionAppliedStyles
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
value: "column-reverse",
|
|
173
|
-
displayName: "Below text",
|
|
174
|
-
appliedStyles: ColumnFlexDirectionAppliedStyles
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
value: "column",
|
|
178
|
-
displayName: "Above text",
|
|
179
|
-
appliedStyles: ColumnFlexDirectionAppliedStyles
|
|
180
|
-
}
|
|
181
|
-
];
|
|
182
|
-
const PageToShareOptions = [
|
|
183
|
-
{ value: "home", displayName: "Homepage" },
|
|
184
|
-
{ value: "current", displayName: "Current page" }
|
|
185
|
-
];
|
|
186
|
-
const DefaultButtons = [
|
|
187
|
-
{
|
|
188
|
-
unavailable: false,
|
|
189
|
-
label: "Facebook",
|
|
190
|
-
description: "Shares on Facebook",
|
|
191
|
-
isHidden: false,
|
|
192
|
-
platformId: "wixui_ShareButtons_facebook",
|
|
193
|
-
illustration: {
|
|
194
|
-
type: "Builder.VectorArt",
|
|
195
|
-
uri: "11062b_30fe5729438347de94ad9836fa5e803e.svg"
|
|
196
|
-
},
|
|
197
|
-
disabled: false,
|
|
198
|
-
type: "IShareButton",
|
|
199
|
-
value: "wixui_ShareButtons_manage_facebook_share_address",
|
|
200
|
-
isDefault: false
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
unavailable: false,
|
|
204
|
-
label: "X",
|
|
205
|
-
description: "Shares on X",
|
|
206
|
-
isHidden: false,
|
|
207
|
-
platformId: "wixui_ShareButtons_twitter",
|
|
208
|
-
illustration: {
|
|
209
|
-
type: "Builder.VectorArt",
|
|
210
|
-
uri: "11062b_2a5163bb94b641168e0a22e56b23e8d4.svg"
|
|
211
|
-
},
|
|
212
|
-
disabled: false,
|
|
213
|
-
type: "IShareButton",
|
|
214
|
-
value: "wixui_ShareButtons_manage_twitter_share_address",
|
|
215
|
-
isDefault: false
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
unavailable: false,
|
|
219
|
-
label: "WhatsApp",
|
|
220
|
-
description: "Shares on WhatsApp",
|
|
221
|
-
isHidden: false,
|
|
222
|
-
platformId: "wixui_ShareButtons_whatsapp",
|
|
223
|
-
illustration: {
|
|
224
|
-
type: "Builder.VectorArt",
|
|
225
|
-
uri: "11062b_65971442c3364e5c9d0e5d430674994b.svg"
|
|
226
|
-
},
|
|
227
|
-
disabled: false,
|
|
228
|
-
type: "IShareButton",
|
|
229
|
-
value: "wixui_ShareButtons_manage_whatsapp_share_address",
|
|
230
|
-
isDefault: false
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
unavailable: false,
|
|
234
|
-
label: "LinkedIn",
|
|
235
|
-
description: "Shares on LinkedIn",
|
|
236
|
-
isHidden: false,
|
|
237
|
-
platformId: "wixui_ShareButtons_linkedin",
|
|
238
|
-
illustration: {
|
|
239
|
-
type: "Builder.VectorArt",
|
|
240
|
-
uri: "11062b_8cf74ad49bb74f728899d6b43e02e4c0.svg"
|
|
241
|
-
},
|
|
242
|
-
disabled: false,
|
|
243
|
-
type: "IShareButton",
|
|
244
|
-
value: "wixui_ShareButtons_manage_linkedin_share_address",
|
|
245
|
-
isDefault: false
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
unavailable: false,
|
|
249
|
-
label: "Pinterest",
|
|
250
|
-
description: "Shares on Pinterest",
|
|
251
|
-
isHidden: false,
|
|
252
|
-
platformId: "wixui_ShareButtons_pinterest",
|
|
253
|
-
illustration: {
|
|
254
|
-
type: "Builder.VectorArt",
|
|
255
|
-
uri: "11062b_04de07b936da4bffbe6c9d2daaffeceb.svg"
|
|
35
|
+
const DisplayNames = {
|
|
36
|
+
root: {
|
|
37
|
+
elementDisplayName: "Animated Icon",
|
|
38
|
+
customActions: {
|
|
39
|
+
animatedIcon: {
|
|
40
|
+
displayName: "Icon"
|
|
41
|
+
}
|
|
256
42
|
},
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
value: "wixui_ShareButtons_manage_pinterest_share_address",
|
|
260
|
-
isDefault: false
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
unavailable: false,
|
|
264
|
-
label: "Copy link",
|
|
265
|
-
description: "Copies link",
|
|
266
|
-
isHidden: false,
|
|
267
|
-
platformId: "wixui_ShareButtons_copyButton",
|
|
268
|
-
illustration: {
|
|
269
|
-
type: "Builder.VectorArt",
|
|
270
|
-
uri: "11062b_c5c2820390524c06b5aa2793b0eb464d.svg"
|
|
43
|
+
data: {
|
|
44
|
+
duration: "Duration"
|
|
271
45
|
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
46
|
+
cssCustomProperties: {
|
|
47
|
+
size: "Size",
|
|
48
|
+
fill: "Color",
|
|
49
|
+
rotation: "Rotation"
|
|
50
|
+
}
|
|
276
51
|
}
|
|
277
|
-
];
|
|
278
|
-
const DisplayConfig = {
|
|
279
|
-
displayValues: [
|
|
280
|
-
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
281
|
-
CSS_PROPERTIES.DISPLAY_VALUE.inline_block
|
|
282
|
-
]
|
|
283
52
|
};
|
|
284
53
|
export {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
TOOLTIP_FAILED_TEXT as a,
|
|
293
|
-
linkCopiedTranslationKey as b,
|
|
294
|
-
defaultRootAriaLabel as c,
|
|
295
|
-
dataHooks as d,
|
|
296
|
-
TestIds as e,
|
|
297
|
-
TranslationKeys as f,
|
|
298
|
-
shareUrlPrefixes as g,
|
|
299
|
-
DesignStates as h,
|
|
300
|
-
DisplayNames as i,
|
|
301
|
-
DisplayConfig as j,
|
|
302
|
-
PageToShareOptions as k,
|
|
303
|
-
linkCopiedFailedTranslationKey as l,
|
|
304
|
-
DefaultButtons as m,
|
|
305
|
-
noButtonsErrorMessage as n,
|
|
306
|
-
platformIds as p,
|
|
307
|
-
sharerData as s,
|
|
308
|
-
translationKeys as t,
|
|
309
|
-
valueToPlatformId as v
|
|
54
|
+
AnimatedSvgIds as A,
|
|
55
|
+
DEFAULT_ANIMATION_DURATION as D,
|
|
56
|
+
TestIds as T,
|
|
57
|
+
AnimatedDataAttributes as a,
|
|
58
|
+
AnimationDirection as b,
|
|
59
|
+
DesignStates as c,
|
|
60
|
+
DisplayNames as d
|
|
310
61
|
};
|