@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,52 +1,310 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { C as CSS_PROPERTIES } from "./chunk-JPMZBG44.js";
|
|
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`
|
|
5
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";
|
|
6
47
|
const TestIds = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
grid: "grid"
|
|
48
|
+
buttonsContainer: `${shareButtonsBaseId}-buttonsContainer`
|
|
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"
|
|
20
60
|
};
|
|
21
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 DesignStates = {
|
|
22
115
|
root: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
116
|
+
hover: { displayName: "Hover", className: "share-buttons--hover" }
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const DefaultValues = {
|
|
120
|
+
buttonsSpacing: "10px",
|
|
121
|
+
rowsSpacing: "10px",
|
|
122
|
+
align: "center",
|
|
123
|
+
buttonWidth: "fit-content",
|
|
124
|
+
iconTextSpacing: "10px",
|
|
125
|
+
iconPosition: "row",
|
|
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"
|
|
32
196
|
},
|
|
33
|
-
|
|
34
|
-
|
|
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"
|
|
35
211
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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"
|
|
256
|
+
},
|
|
257
|
+
disabled: false,
|
|
258
|
+
type: "IShareButton",
|
|
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"
|
|
271
|
+
},
|
|
272
|
+
disabled: false,
|
|
273
|
+
type: "IShareButton",
|
|
274
|
+
value: "wixui_ShareButtons_manage_copy_link_share_address",
|
|
275
|
+
isDefault: false
|
|
43
276
|
}
|
|
277
|
+
];
|
|
278
|
+
const DisplayConfig = {
|
|
279
|
+
displayValues: [
|
|
280
|
+
CSS_PROPERTIES.DISPLAY_VALUE.none,
|
|
281
|
+
CSS_PROPERTIES.DISPLAY_VALUE.inline_block
|
|
282
|
+
]
|
|
44
283
|
};
|
|
45
284
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
285
|
+
ButtonWidthOptions as B,
|
|
286
|
+
COPY_CONFIRMATION_TIMEOUT as C,
|
|
287
|
+
DefaultValues as D,
|
|
288
|
+
HAS_CUSTOM_FOCUS_CLASSNAME as H,
|
|
289
|
+
IconPositionOptions as I,
|
|
290
|
+
PagesToShare as P,
|
|
291
|
+
TOOLTIP_SUCCESS_TEXT as T,
|
|
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
|
|
52
310
|
};
|
|
@@ -1,37 +1,52 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
1
|
+
const semanticClassNames = {
|
|
2
|
+
root: "repeater",
|
|
3
|
+
itemsContainer: "repeater-items-container",
|
|
4
|
+
item: "repeater-item"
|
|
5
|
+
};
|
|
6
|
+
const TestIds = {
|
|
7
|
+
skeleton: "repeater-skeleton",
|
|
8
|
+
sentinel: "repeater-sentinel",
|
|
9
|
+
loadMoreButton: "repeater-load-more-button",
|
|
10
|
+
liveAnnouncer: "repeater-live-announcer"
|
|
11
|
+
};
|
|
12
|
+
const DEFAULT_ITEMS_PER_ROW = 4;
|
|
13
|
+
const COLUMN_COUNT_CSS_VAR = "--column-count";
|
|
14
|
+
const presets = {
|
|
15
|
+
cards: "cards",
|
|
16
|
+
list: "list",
|
|
17
|
+
slider: "slider",
|
|
18
|
+
slider_vertical: "slider_vertical",
|
|
19
|
+
grid: "grid"
|
|
20
|
+
};
|
|
3
21
|
const DisplayNames = {
|
|
4
22
|
root: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
elementDisplayName: "Repeater",
|
|
24
|
+
data: {
|
|
25
|
+
items: "Display Items from",
|
|
26
|
+
emptyState: "Empty State",
|
|
27
|
+
emptyState_title: "Title",
|
|
28
|
+
emptyState_description: "Description",
|
|
29
|
+
hasMore: "Has More Items",
|
|
30
|
+
isLoading: "Is Loading",
|
|
31
|
+
loadMore: "Load More"
|
|
32
|
+
},
|
|
33
|
+
customActions: {
|
|
34
|
+
presets: "Layout"
|
|
15
35
|
},
|
|
16
|
-
|
|
17
|
-
|
|
36
|
+
presets: {
|
|
37
|
+
cards: "Cards",
|
|
38
|
+
list: "List",
|
|
39
|
+
slider: "Slider",
|
|
40
|
+
slider_vertical: "Slider Vertical",
|
|
41
|
+
grid: "Grid"
|
|
18
42
|
}
|
|
19
|
-
},
|
|
20
|
-
data: {
|
|
21
|
-
targetValue: "Max value",
|
|
22
|
-
label: "Label"
|
|
23
43
|
}
|
|
24
44
|
};
|
|
25
|
-
var TestIDs = /* @__PURE__ */ ((TestIDs2) => {
|
|
26
|
-
TestIDs2["container"] = "progressbar-container";
|
|
27
|
-
TestIDs2["background"] = "progressbar-background";
|
|
28
|
-
TestIDs2["foreground"] = "progressbar-foreground";
|
|
29
|
-
TestIDs2["label"] = "progressbar-label";
|
|
30
|
-
return TestIDs2;
|
|
31
|
-
})(TestIDs || {});
|
|
32
45
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
46
|
+
COLUMN_COUNT_CSS_VAR as C,
|
|
47
|
+
DEFAULT_ITEMS_PER_ROW as D,
|
|
48
|
+
TestIds as T,
|
|
49
|
+
DisplayNames as a,
|
|
50
|
+
presets as p,
|
|
51
|
+
semanticClassNames as s
|
|
37
52
|
};
|
|
@@ -1,22 +1,37 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
const FULL_PROGRESS = 100;
|
|
2
|
+
const NO_PROGRESS = 0;
|
|
3
|
+
const DisplayNames = {
|
|
4
|
+
root: {
|
|
5
|
+
displayName: "Progress Bar"
|
|
6
|
+
},
|
|
7
|
+
label: {
|
|
8
|
+
displayName: "Label"
|
|
9
|
+
},
|
|
10
|
+
bar: {
|
|
11
|
+
displayName: "ProgressBar",
|
|
12
|
+
cssCustomProperties: {
|
|
13
|
+
barBackgroundColor: "Background color",
|
|
14
|
+
barForegroundColor: "Bar color"
|
|
15
|
+
},
|
|
16
|
+
cssProperties: {
|
|
17
|
+
barHeight: "Bar width"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
14
20
|
data: {
|
|
15
|
-
|
|
21
|
+
targetValue: "Max value",
|
|
22
|
+
label: "Label"
|
|
16
23
|
}
|
|
17
24
|
};
|
|
25
|
+
var TestIDs = /* @__PURE__ */ ((TestIDs2) => {
|
|
26
|
+
TestIDs2["container"] = "progressbar-container";
|
|
27
|
+
TestIDs2["background"] = "progressbar-background";
|
|
28
|
+
TestIDs2["foreground"] = "progressbar-foreground";
|
|
29
|
+
TestIDs2["label"] = "progressbar-label";
|
|
30
|
+
return TestIDs2;
|
|
31
|
+
})(TestIDs || {});
|
|
18
32
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
33
|
+
DisplayNames as D,
|
|
34
|
+
FULL_PROGRESS as F,
|
|
35
|
+
NO_PROGRESS as N,
|
|
36
|
+
TestIDs as T
|
|
22
37
|
};
|