@wix/editor-react-components 1.2289.0 → 1.2290.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.
Files changed (136) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/component.js +12 -10
  5. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  6. package/dist/site/components/BoxContainer/component.js +1 -1
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/component.js +2 -2
  9. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  10. package/dist/site/components/Button/manifest.js +1 -1
  11. package/dist/site/components/CollapsibleText/component.js +1 -1
  12. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  13. package/dist/site/components/DatePicker/component.js +3290 -9827
  14. package/dist/site/components/DatePicker/manifest.js +1 -1
  15. package/dist/site/components/Dropdown/component.js +1 -1
  16. package/dist/site/components/Dropdown/manifest.js +1 -1
  17. package/dist/site/components/HTMLComponent/component.js +1 -1
  18. package/dist/site/components/HipaaIcon/component.js +1 -1
  19. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  20. package/dist/site/components/LinkBar/component.js +1 -1
  21. package/dist/site/components/LinkBar/manifest.js +1 -1
  22. package/dist/site/components/Logo/component.js +1 -1
  23. package/dist/site/components/Logo/manifest.js +1 -1
  24. package/dist/site/components/Logo/sdk.js +1 -1
  25. package/dist/site/components/Lottie/component.js +1 -1
  26. package/dist/site/components/Lottie/manifest.js +1 -1
  27. package/dist/site/components/Menu/component.js +1 -1
  28. package/dist/site/components/Menu/manifest.js +1 -1
  29. package/dist/site/components/MultiStateBox/component.js +1 -1
  30. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  31. package/dist/site/components/ProgressBar/component.js +1 -1
  32. package/dist/site/components/ProgressBar/manifest.js +1 -1
  33. package/dist/site/components/ProgressBar/sdk.js +1 -1
  34. package/dist/site/components/Repeater/component.js +1 -1
  35. package/dist/site/components/Repeater/manifest.js +1 -1
  36. package/dist/site/components/ShareButtons/component.js +1 -1
  37. package/dist/site/components/ShareButtons/manifest.js +1 -1
  38. package/dist/site/components/Tabs/component.js +1 -1
  39. package/dist/site/components/Tabs/manifest.js +1 -1
  40. package/dist/site/components/TextBox/component.js +1 -1
  41. package/dist/site/components/TextBox/manifest.js +1 -1
  42. package/dist/site/components/TextEffects3d/component.js +1 -1
  43. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  44. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  45. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  46. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  47. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  48. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  49. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  50. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  51. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  52. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  53. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  54. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  55. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  56. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  57. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  58. package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
  59. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  60. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  61. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  62. package/dist/site/components/TextEffectsShook/component.js +1 -1
  63. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  64. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  65. package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
  66. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  67. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  68. package/dist/site/components/TextInput/component.js +171 -170
  69. package/dist/site/components/TextInput/manifest.js +1 -1
  70. package/dist/site/components/TimePicker/TimePicker.d.ts +3 -0
  71. package/dist/site/components/TimePicker/TimePicker.types.d.ts +29 -0
  72. package/dist/site/components/TimePicker/component.d.ts +2 -0
  73. package/dist/site/components/TimePicker/component.js +146 -0
  74. package/dist/site/components/TimePicker/component.preview.d.ts +2 -0
  75. package/dist/site/components/TimePicker/components/TimePickerField.d.ts +4 -0
  76. package/dist/site/components/TimePicker/constants.d.ts +32 -0
  77. package/dist/site/components/TimePicker/css.css +64 -0
  78. package/dist/site/components/TimePicker/hooks/useTimePickerValue.d.ts +10 -0
  79. package/dist/site/components/TimePicker/index.d.ts +2 -0
  80. package/dist/site/components/TimePicker/index.js +6 -0
  81. package/dist/site/components/TimePicker/manifest.d.ts +5 -0
  82. package/dist/site/components/TimePicker/manifest.js +113 -0
  83. package/dist/site/components/TimePicker/timePickerUtils.d.ts +15 -0
  84. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  85. package/dist/site/components/chunks/Button.js +1 -1
  86. package/dist/site/components/chunks/Button2.js +10 -829
  87. package/dist/site/components/chunks/DateField.js +6763 -0
  88. package/dist/site/components/chunks/Group.js +42 -155
  89. package/dist/site/components/chunks/I18nProvider.js +3 -3
  90. package/dist/site/components/chunks/Input.js +5 -5
  91. package/dist/site/components/chunks/Patterns.js +1 -1
  92. package/dist/site/components/chunks/TextEffectsShared.js +1 -1
  93. package/dist/site/components/chunks/constants10.js +14 -12
  94. package/dist/site/components/chunks/constants11.js +9 -9
  95. package/dist/site/components/chunks/constants12.js +10 -8
  96. package/dist/site/components/chunks/constants13.js +9 -13
  97. package/dist/site/components/chunks/constants14.js +14 -17
  98. package/dist/site/components/chunks/constants15.js +17 -12
  99. package/dist/site/components/chunks/constants16.js +11 -13
  100. package/dist/site/components/chunks/constants17.js +20 -66
  101. package/dist/site/components/chunks/constants18.js +67 -17
  102. package/dist/site/components/chunks/constants19.js +15 -50
  103. package/dist/site/components/chunks/constants2.js +30 -50
  104. package/dist/site/components/chunks/constants20.js +43 -45
  105. package/dist/site/components/chunks/constants21.js +48 -297
  106. package/dist/site/components/chunks/constants22.js +299 -41
  107. package/dist/site/components/chunks/constants23.js +44 -29
  108. package/dist/site/components/chunks/constants24.js +32 -17
  109. package/dist/site/components/chunks/constants25.js +16 -402
  110. package/dist/site/components/chunks/constants26.js +393 -73
  111. package/dist/site/components/chunks/constants27.js +80 -15
  112. package/dist/site/components/chunks/constants28.js +11 -42
  113. package/dist/site/components/chunks/constants29.js +44 -23
  114. package/dist/site/components/chunks/constants3.js +49 -14
  115. package/dist/site/components/chunks/constants30.js +28 -10
  116. package/dist/site/components/chunks/constants31.js +10 -132
  117. package/dist/site/components/chunks/constants32.js +112 -147
  118. package/dist/site/components/chunks/constants33.js +152 -49
  119. package/dist/site/components/chunks/constants34.js +53 -71
  120. package/dist/site/components/chunks/constants35.js +73 -77
  121. package/dist/site/components/chunks/constants36.js +76 -57
  122. package/dist/site/components/chunks/constants37.js +72 -0
  123. package/dist/site/components/chunks/constants4.js +10 -19
  124. package/dist/site/components/chunks/constants5.js +14 -14
  125. package/dist/site/components/chunks/constants6.js +11 -10
  126. package/dist/site/components/chunks/constants7.js +14 -14
  127. package/dist/site/components/chunks/constants8.js +22 -65
  128. package/dist/site/components/chunks/constants9.js +65 -20
  129. package/dist/site/components/chunks/filterDOMProps.js +7 -7
  130. package/dist/site/components/chunks/manifestBase.js +1 -1
  131. package/dist/site/components/chunks/useFocusable.js +118 -0
  132. package/dist/site/components/chunks/useLocalizedStringFormatter.js +1 -1
  133. package/dist/site/components/chunks/usePress.js +825 -0
  134. package/dist/site/components/chunks/utils.js +1 -1
  135. package/dist/site/components/extensions.js +9 -4
  136. package/package.json +3 -3
@@ -1,52 +1,310 @@
1
- const semanticClassNames = {
2
- root: "repeater",
3
- itemsContainer: "repeater-items-container",
4
- item: "repeater-item"
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
- 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"
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
- 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"
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
- customActions: {
34
- presets: "Layout"
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
- presets: {
37
- cards: "Cards",
38
- list: "List",
39
- slider: "Slider",
40
- slider_vertical: "Slider Vertical",
41
- grid: "Grid"
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
- 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
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 FULL_PROGRESS = 100;
2
- const NO_PROGRESS = 0;
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
- 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"
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
- cssProperties: {
17
- barHeight: "Bar width"
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
- DisplayNames as D,
34
- FULL_PROGRESS as F,
35
- NO_PROGRESS as N,
36
- TestIDs as T
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 selectors = {
2
- root: "multi-state-box",
3
- stateContainer: "state-container"
4
- };
5
- const DISPLAY_NAMES = {
6
- component: "Multi-State Box",
7
- data: {
8
- states: "State",
9
- activeStateName: "Active state",
10
- stateName: "State name"
11
- }
12
- };
13
- const DESCRIPTIONS = {
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
- activeStateName: "To trigger states from CMS or code, use the connect icon to bind this property"
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
- DESCRIPTIONS as D,
20
- DISPLAY_NAMES as a,
21
- selectors as s
33
+ DisplayNames as D,
34
+ FULL_PROGRESS as F,
35
+ NO_PROGRESS as N,
36
+ TestIDs as T
22
37
  };