@wix/editor-react-components 1.2736.0 → 1.2737.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Button/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +1 -1
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +1 -1
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/DatePicker/component.js +1 -1
- package/dist/site/components/DatePicker/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +1 -1
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/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/ImageReveal/component.js +1 -1
- package/dist/site/components/ImageReveal/manifest.js +1 -1
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- 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 +1 -1
- package/dist/site/components/MarkdownBlock/component.js +1 -1
- package/dist/site/components/MarkdownBlock/manifest.js +1 -1
- package/dist/site/components/Menu/component.js +1 -1
- package/dist/site/components/Menu/manifest.js +1 -1
- package/dist/site/components/MultiStateBox/component.js +1 -1
- package/dist/site/components/MultiStateBox/manifest.js +1 -1
- 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/RadioButtons/component.js +1 -1
- package/dist/site/components/RadioButtons/manifest.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 +1 -1
- package/dist/site/components/ShareButtons/manifest.js +1 -1
- package/dist/site/components/Tabs/component.js +1 -1
- package/dist/site/components/Tabs/manifest.js +1 -1
- package/dist/site/components/TextBox/component.js +1 -1
- package/dist/site/components/TextBox/manifest.js +1 -1
- package/dist/site/components/TextEffects3d/component.js +1 -1
- package/dist/site/components/TextEffects3d/manifest.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlass/component.js +1 -1
- package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlitch/component.js +1 -1
- package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
- package/dist/site/components/TextEffectsMatrix/component.js +1 -1
- package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
- package/dist/site/components/TextEffectsNoisy/component.js +1 -1
- package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
- package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
- package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
- package/dist/site/components/TextEffectsRetro/component.js +1 -1
- package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
- package/dist/site/components/TextEffectsShook/component.js +1 -1
- package/dist/site/components/TextEffectsShook/manifest.js +1 -1
- package/dist/site/components/TextEffectsSticker/component.js +1 -1
- package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
- package/dist/site/components/TextEffectsStriped/component.js +1 -1
- package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
- package/dist/site/components/TextInput/component.js +1 -1
- package/dist/site/components/TextInput/manifest.js +1 -1
- package/dist/site/components/TimePicker/component.js +1 -1
- package/dist/site/components/TimePicker/manifest.js +1 -1
- package/dist/site/components/VideoScrub/VideoScrub.d.ts +4 -0
- package/dist/site/components/VideoScrub/VideoScrub.types.d.ts +17 -0
- package/dist/site/components/VideoScrub/component.d.ts +2 -0
- package/dist/site/components/VideoScrub/component.js +273 -0
- package/dist/site/components/VideoScrub/component.preview.d.ts +3 -0
- package/dist/site/components/VideoScrub/constants.d.ts +8 -0
- package/dist/site/components/VideoScrub/css.css +72 -0
- package/dist/site/components/VideoScrub/hooks/useScrubGate.d.ts +14 -0
- package/dist/site/components/VideoScrub/hooks/useScrubProgress.d.ts +11 -0
- package/dist/site/components/VideoScrub/hooks/useScrubVideo.d.ts +24 -0
- package/dist/site/components/VideoScrub/index.d.ts +2 -0
- package/dist/site/components/VideoScrub/index.js +6 -0
- package/dist/site/components/VideoScrub/manifest.d.ts +5 -0
- package/dist/site/components/VideoScrub/manifest.js +71 -0
- package/dist/site/components/VideoScrub/utils.d.ts +14 -0
- package/dist/site/components/chunks/AnimatedIcon.js +1 -1
- package/dist/site/components/chunks/Button.js +1 -1
- package/dist/site/components/chunks/Patterns.js +1 -1
- package/dist/site/components/chunks/TextEffectsShared.js +1 -1
- package/dist/site/components/chunks/constants10.js +65 -20
- package/dist/site/components/chunks/constants11.js +14 -12
- package/dist/site/components/chunks/constants12.js +9 -9
- package/dist/site/components/chunks/constants13.js +10 -8
- package/dist/site/components/chunks/constants14.js +9 -13
- package/dist/site/components/chunks/constants15.js +14 -17
- package/dist/site/components/chunks/constants16.js +17 -12
- package/dist/site/components/chunks/constants17.js +11 -13
- package/dist/site/components/chunks/constants18.js +21 -96
- package/dist/site/components/chunks/constants19.js +92 -50
- package/dist/site/components/chunks/constants2.js +47 -126
- package/dist/site/components/chunks/constants20.js +54 -50
- package/dist/site/components/chunks/constants21.js +49 -52
- package/dist/site/components/chunks/constants22.js +43 -310
- package/dist/site/components/chunks/constants23.js +310 -65
- package/dist/site/components/chunks/constants24.js +70 -99
- package/dist/site/components/chunks/constants25.js +101 -30
- package/dist/site/components/chunks/constants26.js +35 -17
- package/dist/site/components/chunks/constants27.js +16 -447
- package/dist/site/components/chunks/constants28.js +441 -29
- package/dist/site/components/chunks/constants29.js +26 -78
- package/dist/site/components/chunks/constants3.js +118 -84
- package/dist/site/components/chunks/constants30.js +85 -15
- package/dist/site/components/chunks/constants31.js +11 -42
- package/dist/site/components/chunks/constants32.js +41 -45
- package/dist/site/components/chunks/constants33.js +49 -24
- package/dist/site/components/chunks/constants34.js +25 -56
- package/dist/site/components/chunks/constants35.js +58 -13
- package/dist/site/components/chunks/constants36.js +14 -206
- package/dist/site/components/chunks/constants37.js +182 -153
- package/dist/site/components/chunks/constants38.js +162 -49
- package/dist/site/components/chunks/constants39.js +51 -102
- package/dist/site/components/chunks/constants4.js +88 -13
- package/dist/site/components/chunks/constants40.js +69 -39
- package/dist/site/components/chunks/constants41.js +72 -79
- package/dist/site/components/chunks/constants42.js +83 -77
- package/dist/site/components/chunks/constants43.js +75 -56
- package/dist/site/components/chunks/constants44.js +72 -0
- package/dist/site/components/chunks/constants5.js +10 -19
- package/dist/site/components/chunks/constants6.js +14 -14
- package/dist/site/components/chunks/constants7.js +11 -10
- package/dist/site/components/chunks/constants8.js +14 -14
- package/dist/site/components/chunks/constants9.js +22 -65
- package/dist/site/components/chunks/manifestBase.js +1 -1
- package/dist/site/components/chunks/utils2.js +1 -1
- package/dist/site/components/extensions.js +127 -125
- package/package.json +3 -2
|
@@ -1,327 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
var PagesToShare = /* @__PURE__ */ ((PagesToShare2) => {
|
|
3
|
-
PagesToShare2["home"] = "home";
|
|
4
|
-
PagesToShare2["current"] = "current";
|
|
5
|
-
return PagesToShare2;
|
|
6
|
-
})(PagesToShare || {});
|
|
7
|
-
const componentName = "ShareButtons";
|
|
8
|
-
const shareButtonsBaseId = `wixui_${componentName}`;
|
|
9
|
-
const platformIds = {
|
|
10
|
-
facebook: `${shareButtonsBaseId}_facebook`,
|
|
11
|
-
twitter: `${shareButtonsBaseId}_twitter`,
|
|
12
|
-
linkedin: `${shareButtonsBaseId}_linkedin`,
|
|
13
|
-
pinterest: `${shareButtonsBaseId}_pinterest`,
|
|
14
|
-
whatsapp: `${shareButtonsBaseId}_whatsapp`,
|
|
15
|
-
copyButton: `${shareButtonsBaseId}_copyButton`
|
|
16
|
-
};
|
|
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";
|
|
1
|
+
const COMPONENT_TYPE = "wixEditorElements.Button";
|
|
47
2
|
const TestIds = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const TranslationKeys = {
|
|
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
|
-
}
|
|
113
|
-
};
|
|
114
|
-
const elementKeys = {
|
|
115
|
-
button: "button",
|
|
116
|
-
label: "label",
|
|
117
|
-
icon: "icon"
|
|
3
|
+
buttonContent: "buttonContent",
|
|
4
|
+
buttonLabel: "stylablebutton-label"
|
|
118
5
|
};
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
6
|
+
const TRANSITION_DURATION = 400;
|
|
7
|
+
const DEFAULT_ICON_POSITION = "row-reverse";
|
|
8
|
+
const SEMANTIC_CLASS_NAMES = {
|
|
9
|
+
root: "button",
|
|
10
|
+
buttonLabel: "button__label"
|
|
122
11
|
};
|
|
123
12
|
const DesignStates = {
|
|
124
|
-
|
|
125
|
-
hover: { displayName: "Hover", className: "
|
|
13
|
+
root: {
|
|
14
|
+
hover: { displayName: "Hover", className: "button--hover" },
|
|
15
|
+
disabled: { displayName: "Disabled", className: "button--disabled" }
|
|
126
16
|
},
|
|
127
17
|
label: {
|
|
128
|
-
hover: { displayName: "Hover", className: "
|
|
129
|
-
|
|
130
|
-
icon: {
|
|
131
|
-
hover: { displayName: "Hover", className: "share-buttons__icon--hover" }
|
|
18
|
+
hover: { displayName: "Hover", className: "button__label--hover" },
|
|
19
|
+
disabled: { displayName: "Disabled", className: "button__label--disabled" }
|
|
132
20
|
}
|
|
133
21
|
};
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
iconTextSpacing: "10px",
|
|
140
|
-
iconPosition: "row",
|
|
141
|
-
contentAlignment: "start",
|
|
142
|
-
pageToShare: "home",
|
|
143
|
-
horizontalPresetWidth: 400
|
|
144
|
-
};
|
|
145
|
-
const ButtonWidthOptions = [
|
|
146
|
-
{
|
|
147
|
-
value: "fit-content",
|
|
148
|
-
displayName: "Fit to text"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
value: "100%",
|
|
152
|
-
displayName: "Equal"
|
|
153
|
-
}
|
|
154
|
-
];
|
|
155
|
-
const ColumnFlexDirectionAppliedStyles = [
|
|
156
|
-
{
|
|
157
|
-
property: "--align-items-value",
|
|
158
|
-
value: "var(--horizontal-alignment)"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
property: "--justify-content-value",
|
|
162
|
-
value: "center"
|
|
163
|
-
}
|
|
164
|
-
];
|
|
165
|
-
const RowFlexDirectionAppliedStyles = [
|
|
166
|
-
{
|
|
167
|
-
property: "--justify-content-value",
|
|
168
|
-
value: "var(--horizontal-alignment)"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
property: "--align-items-value",
|
|
172
|
-
value: "center"
|
|
173
|
-
}
|
|
174
|
-
];
|
|
175
|
-
const IconPositionOptions = [
|
|
176
|
-
{
|
|
177
|
-
value: "row",
|
|
178
|
-
displayName: "Before text",
|
|
179
|
-
appliedStyles: RowFlexDirectionAppliedStyles
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
value: "row-reverse",
|
|
183
|
-
displayName: "After text",
|
|
184
|
-
appliedStyles: RowFlexDirectionAppliedStyles
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
value: "column-reverse",
|
|
188
|
-
displayName: "Below text",
|
|
189
|
-
appliedStyles: ColumnFlexDirectionAppliedStyles
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
value: "column",
|
|
193
|
-
displayName: "Above text",
|
|
194
|
-
appliedStyles: ColumnFlexDirectionAppliedStyles
|
|
195
|
-
}
|
|
196
|
-
];
|
|
197
|
-
const PageToShareOptions = [
|
|
198
|
-
{ value: "home", displayName: "Homepage" },
|
|
199
|
-
{ value: "current", displayName: "Current page" }
|
|
200
|
-
];
|
|
201
|
-
const DefaultButtons = [
|
|
202
|
-
{
|
|
203
|
-
unavailable: false,
|
|
204
|
-
label: "Facebook",
|
|
205
|
-
description: "Shares on Facebook",
|
|
206
|
-
isHidden: false,
|
|
207
|
-
platformId: "wixui_ShareButtons_facebook",
|
|
208
|
-
illustration: {
|
|
209
|
-
type: "Builder.VectorArt",
|
|
210
|
-
uri: "11062b_30fe5729438347de94ad9836fa5e803e.svg"
|
|
211
|
-
},
|
|
212
|
-
disabled: false,
|
|
213
|
-
type: "IShareButton",
|
|
214
|
-
value: "wixui_ShareButtons_manage_facebook_share_address",
|
|
215
|
-
isDefault: false
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
unavailable: false,
|
|
219
|
-
label: "X",
|
|
220
|
-
description: "Shares on X",
|
|
221
|
-
isHidden: false,
|
|
222
|
-
platformId: "wixui_ShareButtons_twitter",
|
|
223
|
-
illustration: {
|
|
224
|
-
type: "Builder.VectorArt",
|
|
225
|
-
uri: "11062b_2a5163bb94b641168e0a22e56b23e8d4.svg"
|
|
22
|
+
const DisplayNames = {
|
|
23
|
+
root: {
|
|
24
|
+
elementDisplayName: "Button",
|
|
25
|
+
data: {
|
|
26
|
+
disabled: "Disabled"
|
|
226
27
|
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
value: "wixui_ShareButtons_manage_twitter_share_address",
|
|
230
|
-
isDefault: false
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
unavailable: false,
|
|
234
|
-
label: "WhatsApp",
|
|
235
|
-
description: "Shares on WhatsApp",
|
|
236
|
-
isHidden: false,
|
|
237
|
-
platformId: "wixui_ShareButtons_whatsapp",
|
|
238
|
-
illustration: {
|
|
239
|
-
type: "Builder.VectorArt",
|
|
240
|
-
uri: "11062b_65971442c3364e5c9d0e5d430674994b.svg"
|
|
28
|
+
cssProperties: {
|
|
29
|
+
gap: "Space between text and icon"
|
|
241
30
|
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
isDefault: false
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
unavailable: false,
|
|
249
|
-
label: "LinkedIn",
|
|
250
|
-
description: "Shares on LinkedIn",
|
|
251
|
-
isHidden: false,
|
|
252
|
-
platformId: "wixui_ShareButtons_linkedin",
|
|
253
|
-
illustration: {
|
|
254
|
-
type: "Builder.VectorArt",
|
|
255
|
-
uri: "11062b_8cf74ad49bb74f728899d6b43e02e4c0.svg"
|
|
31
|
+
cssCustomProperties: {
|
|
32
|
+
"content-horizontal-alignment": "Alignment",
|
|
33
|
+
"icon-position": "Icon position"
|
|
256
34
|
},
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
value: "wixui_ShareButtons_manage_linkedin_share_address",
|
|
260
|
-
isDefault: false
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
unavailable: false,
|
|
264
|
-
label: "Pinterest",
|
|
265
|
-
description: "Shares on Pinterest",
|
|
266
|
-
isHidden: false,
|
|
267
|
-
platformId: "wixui_ShareButtons_pinterest",
|
|
268
|
-
illustration: {
|
|
269
|
-
type: "Builder.VectorArt",
|
|
270
|
-
uri: "11062b_04de07b936da4bffbe6c9d2daaffeceb.svg"
|
|
35
|
+
presets: {
|
|
36
|
+
baseButton: "Base Button"
|
|
271
37
|
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
38
|
+
iconPosition: {
|
|
39
|
+
beforeText: "Before text",
|
|
40
|
+
afterText: "After text",
|
|
41
|
+
belowText: "Below text",
|
|
42
|
+
aboveText: "Above text"
|
|
43
|
+
}
|
|
276
44
|
},
|
|
277
|
-
{
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
platformId: "wixui_ShareButtons_copyButton",
|
|
283
|
-
illustration: {
|
|
284
|
-
type: "Builder.VectorArt",
|
|
285
|
-
uri: "11062b_c5c2820390524c06b5aa2793b0eb464d.svg"
|
|
286
|
-
},
|
|
287
|
-
disabled: false,
|
|
288
|
-
type: "IShareButton",
|
|
289
|
-
value: "wixui_ShareButtons_manage_copy_link_share_address",
|
|
290
|
-
isDefault: false
|
|
45
|
+
label: {
|
|
46
|
+
elementDisplayName: "Text",
|
|
47
|
+
cssProperties: {
|
|
48
|
+
font: "Typography"
|
|
49
|
+
}
|
|
291
50
|
}
|
|
292
|
-
];
|
|
293
|
-
const DisplayConfig = {
|
|
294
|
-
displayValues: [
|
|
295
|
-
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
296
|
-
CSS_PROPERTIES.DISPLAY_VALUE.inline_block
|
|
297
|
-
]
|
|
298
51
|
};
|
|
299
52
|
export {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
TOOLTIP_SUCCESS_TEXT as T,
|
|
308
|
-
TOOLTIP_FAILED_TEXT as a,
|
|
309
|
-
linkCopiedTranslationKey as b,
|
|
310
|
-
defaultRootAriaLabel as c,
|
|
311
|
-
dataHooks as d,
|
|
312
|
-
TestIds as e,
|
|
313
|
-
TranslationKeys as f,
|
|
314
|
-
shareUrlPrefixes as g,
|
|
315
|
-
elementKeys as h,
|
|
316
|
-
DesignStates as i,
|
|
317
|
-
DisplayNames as j,
|
|
318
|
-
DisplayConfig as k,
|
|
319
|
-
linkCopiedFailedTranslationKey as l,
|
|
320
|
-
PageToShareOptions as m,
|
|
321
|
-
noButtonsErrorMessage as n,
|
|
322
|
-
DefaultButtons as o,
|
|
323
|
-
platformIds as p,
|
|
324
|
-
sharerData as s,
|
|
325
|
-
translationKeys as t,
|
|
326
|
-
valueToPlatformId as v
|
|
53
|
+
COMPONENT_TYPE as C,
|
|
54
|
+
DesignStates as D,
|
|
55
|
+
SEMANTIC_CLASS_NAMES as S,
|
|
56
|
+
TRANSITION_DURATION as T,
|
|
57
|
+
TestIds as a,
|
|
58
|
+
DisplayNames as b,
|
|
59
|
+
DEFAULT_ICON_POSITION as c
|
|
327
60
|
};
|