@wix/editor-react-components 1.2349.0 → 1.2350.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 (67) 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/AudioPlayer/component.js +1 -1
  4. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  5. package/dist/site/components/BoxContainer/component.js +1 -1
  6. package/dist/site/components/BoxContainer/manifest.js +1 -1
  7. package/dist/site/components/Breadcrumbs/component.js +1 -1
  8. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  9. package/dist/site/components/Checkbox/component.js +2 -2
  10. package/dist/site/components/Checkbox/manifest.js +1 -1
  11. package/dist/site/components/CheckboxGroup/component.js +2 -2
  12. package/dist/site/components/CheckboxGroup/manifest.js +1 -1
  13. package/dist/site/components/CollapsibleText/component.js +1 -1
  14. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  15. package/dist/site/components/DatePicker/component.js +1 -1
  16. package/dist/site/components/DatePicker/manifest.js +1 -1
  17. package/dist/site/components/Dropdown/component.js +1 -1
  18. package/dist/site/components/Dropdown/manifest.js +1 -1
  19. package/dist/site/components/HTMLComponent/component.js +1 -1
  20. package/dist/site/components/HipaaIcon/component.js +1 -1
  21. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  22. package/dist/site/components/LinkBar/component.js +1 -1
  23. package/dist/site/components/LinkBar/manifest.js +1 -1
  24. package/dist/site/components/Logo/component.js +1 -1
  25. package/dist/site/components/Logo/manifest.js +1 -1
  26. package/dist/site/components/Logo/sdk.js +1 -1
  27. package/dist/site/components/Lottie/component.js +1 -1
  28. package/dist/site/components/Lottie/manifest.js +1 -1
  29. package/dist/site/components/Menu/component.js +1 -1
  30. package/dist/site/components/Menu/manifest.js +1 -1
  31. package/dist/site/components/MultiStateBox/component.js +1 -1
  32. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  33. package/dist/site/components/ProgressBar/component.js +1 -1
  34. package/dist/site/components/ProgressBar/manifest.js +1 -1
  35. package/dist/site/components/ProgressBar/sdk.js +1 -1
  36. package/dist/site/components/RadioButtons/RadioButtons.d.ts +3 -0
  37. package/dist/site/components/RadioButtons/RadioButtons.types.d.ts +22 -0
  38. package/dist/site/components/RadioButtons/component.d.ts +2 -0
  39. package/dist/site/components/RadioButtons/component.js +201 -0
  40. package/dist/site/components/RadioButtons/component.preview.d.ts +4 -0
  41. package/dist/site/components/RadioButtons/constants.d.ts +108 -0
  42. package/dist/site/components/RadioButtons/css.css +181 -0
  43. package/dist/site/components/RadioButtons/index.d.ts +2 -0
  44. package/dist/site/components/RadioButtons/index.js +6 -0
  45. package/dist/site/components/RadioButtons/manifest.d.ts +5 -0
  46. package/dist/site/components/RadioButtons/manifest.js +284 -0
  47. package/dist/site/components/chunks/constants24.js +97 -27
  48. package/dist/site/components/chunks/constants25.js +32 -17
  49. package/dist/site/components/chunks/constants26.js +16 -417
  50. package/dist/site/components/chunks/constants27.js +408 -73
  51. package/dist/site/components/chunks/constants28.js +80 -15
  52. package/dist/site/components/chunks/constants29.js +11 -42
  53. package/dist/site/components/chunks/constants30.js +44 -23
  54. package/dist/site/components/chunks/constants31.js +28 -10
  55. package/dist/site/components/chunks/constants32.js +10 -198
  56. package/dist/site/components/chunks/constants33.js +175 -152
  57. package/dist/site/components/chunks/constants34.js +160 -49
  58. package/dist/site/components/chunks/constants35.js +51 -98
  59. package/dist/site/components/chunks/constants36.js +67 -37
  60. package/dist/site/components/chunks/constants37.js +68 -69
  61. package/dist/site/components/chunks/constants38.js +73 -77
  62. package/dist/site/components/chunks/constants39.js +76 -57
  63. package/dist/site/components/chunks/constants40.js +72 -0
  64. package/dist/site/components/chunks/index10.js +4 -2
  65. package/dist/site/components/chunks/utils.js +1 -1
  66. package/dist/site/components/extensions.js +53 -51
  67. package/package.json +2 -2
@@ -1,37 +1,107 @@
1
- const FULL_PROGRESS = 100;
2
- const NO_PROGRESS = 0;
3
1
  const DisplayNames = {
4
2
  root: {
5
- displayName: "Progress Bar"
6
- },
7
- label: {
8
- displayName: "Label"
3
+ elementDisplayName: "Radio Buttons",
4
+ data: {
5
+ options: "Options",
6
+ optionLabel: "Label",
7
+ optionValue: "Value",
8
+ optionDisabled: "Disabled",
9
+ value: "Selected value",
10
+ firstSelectedByDefault: "Default selection",
11
+ firstSelectedByDefaultNone: "None",
12
+ firstSelectedByDefaultFirst: "First Item",
13
+ label: "Label",
14
+ tooltip: "Tooltip",
15
+ required: "Required",
16
+ readOnly: "Read only",
17
+ disabled: "Disabled"
18
+ },
19
+ cssCustomProperties: {
20
+ orientation: "Orientation",
21
+ radiosSpacing: "Space between radio buttons",
22
+ labelSpacing: "Space between field and field title",
23
+ radioTextSpacing: "Space between radio button and text",
24
+ alignment: "Alignment",
25
+ labelAlignment: "Label alignment"
26
+ }
9
27
  },
10
- bar: {
11
- displayName: "ProgressBar",
28
+ radio: {
29
+ elementDisplayName: "Radio button",
12
30
  cssCustomProperties: {
13
- barBackgroundColor: "Background color",
14
- barForegroundColor: "Bar color"
15
- },
16
- cssProperties: {
17
- barHeight: "Bar width"
31
+ unselectedBackgroundColor: "Unselected background color",
32
+ unselectedBorderColor: "Unselected border color",
33
+ selectedBackgroundColor: "Selected background color",
34
+ selectedBorderColor: "Selected border color",
35
+ dotColor: "Dot color",
36
+ size: "Radio button size"
18
37
  }
19
38
  },
20
- data: {
21
- targetValue: "Max value",
22
- label: "Label"
39
+ optionLabel: {
40
+ elementDisplayName: "Option label"
41
+ },
42
+ groupLabel: {
43
+ elementDisplayName: "Group label"
44
+ }
45
+ };
46
+ const DesignStates = {
47
+ radio: {
48
+ hover: { displayName: "Hover", className: "radio-buttons__radio--hover" },
49
+ focus: { displayName: "Focus", className: "radio-buttons__radio--focus" },
50
+ disabled: {
51
+ displayName: "Disabled",
52
+ className: "radio-buttons__radio--disabled"
53
+ },
54
+ invalid: {
55
+ displayName: "Invalid",
56
+ className: "radio-buttons__radio--invalid"
57
+ }
23
58
  }
24
59
  };
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 || {});
60
+ const defaultOptions = [
61
+ { value: "option-1", label: "Option 1", disabled: false },
62
+ { value: "option-2", label: "Option 2", disabled: false },
63
+ { value: "option-3", label: "Option 3", disabled: false }
64
+ ];
65
+ const defaultValues = {
66
+ label: "Label",
67
+ tooltip: "",
68
+ firstSelectedByDefault: "none",
69
+ required: false,
70
+ readOnly: false,
71
+ disabled: false
72
+ };
73
+ const TestIds = {
74
+ root: "radio-buttons-root",
75
+ group: "radio-buttons-group",
76
+ legend: "radio-buttons-legend",
77
+ requiredIndicator: "radio-buttons-required-indicator",
78
+ tooltipButton: "radio-buttons-tooltip-button",
79
+ option: "radio-buttons-option",
80
+ control: "radio-buttons-control",
81
+ indicator: "radio-buttons-indicator",
82
+ optionLabel: "radio-buttons-option-label"
83
+ };
84
+ const selectors = {
85
+ root: "radio-buttons",
86
+ radio: "radio-buttons__radio",
87
+ indicator: "radio-buttons__indicator",
88
+ label: "radio-buttons__label",
89
+ groupLabel: "radio-buttons__group-label"
90
+ };
91
+ const semanticClassNames = {
92
+ groupLabel: "radio-buttons__group-label",
93
+ requiredIndicator: "radio-buttons__required-indicator",
94
+ option: "radio-buttons__option",
95
+ radio: "radio-buttons__radio",
96
+ indicator: "radio-buttons__indicator",
97
+ label: "radio-buttons__label"
98
+ };
32
99
  export {
33
- DisplayNames as D,
34
- FULL_PROGRESS as F,
35
- NO_PROGRESS as N,
36
- TestIDs as T
100
+ DesignStates as D,
101
+ TestIds as T,
102
+ defaultOptions as a,
103
+ semanticClassNames as b,
104
+ DisplayNames as c,
105
+ defaultValues as d,
106
+ selectors as s
37
107
  };
@@ -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
  };
@@ -1,423 +1,22 @@
1
- import { useRef, useState, useEffect } from "react";
2
- const DISABLED_ANIMATION_NAME = "none";
3
- const AnimationPhase = {
4
- Enter: "enter",
5
- EnterActive: "enterActive",
6
- EnterDone: "enterDone",
7
- Exit: "exit",
8
- ExitActive: "exitActive",
9
- ExitDone: "exitDone"
10
- };
11
- const useAnimationState = (animationConfigMap, initialAnimationState) => {
12
- const afterAnimationInitRef = useRef(null);
13
- const afterAnimationActiveRef = useRef(null);
14
- const [animationState, setAnimationState] = useState(initialAnimationState);
15
- const abortAnimationCallbacks = () => {
16
- afterAnimationInitRef.current = null;
17
- afterAnimationActiveRef.current = null;
18
- };
19
- const initEnterAnimation = (animationName, onAnimationDone) => {
20
- abortAnimationCallbacks();
21
- if (animationName === DISABLED_ANIMATION_NAME) {
22
- return onAnimationDone == null ? void 0 : onAnimationDone();
23
- }
24
- setAnimationState({
25
- name: animationName,
26
- phase: AnimationPhase.Enter
27
- });
28
- afterAnimationInitRef.current = () => {
29
- setAnimationState({
30
- name: animationName,
31
- phase: AnimationPhase.EnterActive
32
- });
33
- };
34
- afterAnimationActiveRef.current = () => {
35
- setAnimationState({
36
- name: animationName,
37
- phase: AnimationPhase.EnterDone
38
- });
39
- onAnimationDone == null ? void 0 : onAnimationDone();
40
- };
41
- };
42
- const skipToEnterDone = (animationName) => {
43
- abortAnimationCallbacks();
44
- if (animationName === DISABLED_ANIMATION_NAME) {
45
- return;
46
- }
47
- setAnimationState({
48
- name: animationName,
49
- phase: AnimationPhase.EnterDone
50
- });
51
- };
52
- const skipToExitDone = (animationName) => {
53
- abortAnimationCallbacks();
54
- if (animationName === DISABLED_ANIMATION_NAME) {
55
- return;
56
- }
57
- setAnimationState({
58
- name: animationName,
59
- phase: AnimationPhase.ExitDone
60
- });
61
- };
62
- const initExitAnimation = (animationName, onAnimationDone) => {
63
- abortAnimationCallbacks();
64
- if (animationName === DISABLED_ANIMATION_NAME) {
65
- return onAnimationDone == null ? void 0 : onAnimationDone();
66
- }
67
- setAnimationState({
68
- name: animationName,
69
- phase: AnimationPhase.Exit
70
- });
71
- afterAnimationInitRef.current = () => {
72
- setAnimationState({
73
- name: animationName,
74
- phase: AnimationPhase.ExitActive
75
- });
76
- };
77
- afterAnimationActiveRef.current = () => {
78
- setAnimationState({
79
- name: animationName,
80
- phase: AnimationPhase.ExitDone
81
- });
82
- onAnimationDone == null ? void 0 : onAnimationDone();
83
- };
84
- };
85
- useEffect(() => {
86
- const { name } = animationState;
87
- const { duration: animationDuration } = animationConfigMap[name];
88
- const isInitPhase = animationState.phase === AnimationPhase.Enter || animationState.phase === AnimationPhase.Exit;
89
- const isActivePhase = animationState.phase === AnimationPhase.EnterActive || animationState.phase === AnimationPhase.ExitActive;
90
- if (isInitPhase) {
91
- window.requestAnimationFrame(() => {
92
- var _a;
93
- (_a = afterAnimationInitRef.current) == null ? void 0 : _a.call(afterAnimationInitRef);
94
- afterAnimationInitRef.current = null;
95
- });
96
- } else if (isActivePhase) {
97
- setTimeout(() => {
98
- var _a;
99
- (_a = afterAnimationActiveRef.current) == null ? void 0 : _a.call(afterAnimationActiveRef);
100
- afterAnimationActiveRef.current = null;
101
- }, animationDuration);
102
- }
103
- }, [animationState.phase]);
104
- return {
105
- animationState,
106
- initEnterAnimation,
107
- initExitAnimation,
108
- skipToEnterDone,
109
- skipToExitDone
110
- };
111
- };
112
- const MenuOrientation = {
113
- Horizontal: "horizontal",
114
- Vertical: "vertical"
115
- };
116
- const VerticalDropdownDisplay = {
117
- AlwaysOpen: "alwaysOpen"
118
- };
119
- const MenuAnimationName = {
120
- None: DISABLED_ANIMATION_NAME,
121
- Calm: "calm",
122
- Underline: "underline",
123
- Wash: "wash",
124
- Bullet: "bullet",
125
- Wave: "wave",
126
- Bounce: "bounce",
127
- Tint: "tint",
128
- TextWash: "textWash",
129
- Wobble: "wobble",
130
- Brackets: "brackets",
131
- Float: "float",
132
- Shape: "shape",
133
- Expand: "expand",
134
- Circle: "circle",
135
- Shadow: "shadow",
136
- LineRise: "lineRise",
137
- Overline: "overline",
138
- CenterLine: "centerLine",
139
- Skew: "skew",
140
- Point: "point",
141
- Blur: "blur"
142
- };
143
- const DropdownAnimationName = {
144
- None: DISABLED_ANIMATION_NAME,
145
- RevealFromTop: "revealFromTop",
146
- FadeIn: "fadeIn"
147
- };
148
- const HamburgerMenuAnimationName = {
149
- None: DISABLED_ANIMATION_NAME,
150
- RevealFromRight: "revealFromRight",
151
- FadeIn: "fadeIn"
152
- };
153
- const DisplayNames = {
154
- root: {
155
- elementDisplayName: "Menu",
156
- actions: {
157
- manageMenu: "Manage Menu",
158
- design: "Design",
159
- settings: "Settings"
160
- },
161
- customActions: {
162
- format: {
163
- displayName: "Change Format"
164
- },
165
- animatedIcon: {
166
- displayName: "Customize Icon"
167
- }
168
- },
169
- presets: {
170
- horizontalScrollNavbar: "Horizontal Scroll Navigation Bar",
171
- horizontalHugNavbar: "Horizontal Hug Navigation Bar",
172
- verticalNavbar: "Vertical Navigation Bar",
173
- hamburgerMenu: "Hamburger menu"
174
- },
175
- states: {
176
- hamburgerDialog: "Hamburger menu",
177
- dropdown: "Dropdown"
178
- }
179
- },
180
- navbar: {
181
- elementDisplayName: "Menu bar",
182
- displayGroups: {
183
- dividerBorderGroup: "Dividers"
184
- },
185
- cssCustomProperties: {
186
- "vertical-dropdown-display": "Items display",
187
- "items-width": "Item width",
188
- "container-align": "Item alignment",
189
- "menu-items-row-gap": "Space between menu items",
190
- "menu-items-column-gap": "Space between menu items"
191
- },
192
- actions: {
193
- manageMenu: "Manage Menu"
194
- },
195
- options: {
196
- alwaysOpen: "Open",
197
- expandCollapse: "Closed",
198
- fitToText: "Fit to text",
199
- fillMenu: "Fill menu"
200
- }
201
- },
202
- item: {
203
- elementDisplayName: "Menu items",
204
- cssProperties: {
205
- justifyContent: "Text alignment",
206
- background: "Background",
207
- columnGap: "Space between menu items and icons",
208
- "item-icon-size": "Size"
209
- },
210
- displayGroups: {
211
- iconGroup: "Icons"
212
- },
213
- states: {
214
- hover: "Hover",
215
- selected: "Selected"
216
- }
217
- },
218
- dropdown: {
219
- elementDisplayName: "Dropdowns",
220
- cssCustomProperties: {
221
- anchor: "Dropdown width",
222
- align: "Dropdown position",
223
- "items-width": "Item width",
224
- "columns-number": "Number of columns",
225
- "space-above": "Space above dropdowns",
226
- "horizontal-margin": "Dropdown margin",
227
- "item-position": "Dropdown box position"
228
- },
229
- options: {
230
- menuItem: "Fit to items",
231
- menuStretched: "Fit to menu",
232
- screen: "Stretch to page",
233
- start: "Start",
234
- center: "Middle",
235
- end: "End",
236
- fitToText: "Fit to text",
237
- fillDropdown: "Fill dropdowns",
238
- afterItems: "After items",
239
- beforeItems: "Before items",
240
- aboveItems: "Above items",
241
- belowItems: "Below items"
242
- },
243
- displayGroups: {
244
- gapGroup: "Space between items"
245
- }
246
- },
247
- dropdownItem: {
248
- elementDisplayName: "Dropdown items"
249
- },
250
- dropdownSubItem: {
251
- elementDisplayName: "Dropdown sub-items"
252
- },
253
- scrollButton: {
254
- elementDisplayName: "Scroll button",
255
- cssProperties: {
256
- background: "Background"
257
- },
258
- cssCustomProperties: {
259
- "scroll-button-icon-size": "Size"
260
- },
261
- displayGroups: {
262
- scrollButtonGroup: "Icon"
263
- }
264
- },
265
- hamburgerMenu: {
266
- elementDisplayName: "Hamburger menu",
267
- cssCustomProperties: {
268
- "hamburger-wrapper-width": "Width",
269
- "wrapper-position": "Position",
270
- "menu-position": "Menu Position",
271
- "close-button-position": "Close button position",
272
- "overlay-background": "Overlay Background"
273
- },
274
- options: {
275
- third: "Third of page",
276
- twoThirds: "Two thirds of page",
277
- half: "Half page",
278
- full: "Full page",
279
- start: "Start",
280
- middle: "Middle",
281
- end: "End",
282
- top: "Top",
283
- bottom: "Bottom"
284
- }
285
- },
286
- hamburgerOpenButton: {
287
- elementDisplayName: "Hamburger button"
288
- },
289
- hamburgerCloseButton: {
290
- elementDisplayName: "Close Button"
291
- }
292
- };
293
1
  const selectors = {
294
- menu: "menu",
295
- navbar: "navbar",
296
- item: "item",
297
- dropdown: "dropdown",
298
- dropdownItem: "dropdown-item",
299
- dropdownSubItem: "dropdown-sub-item",
300
- scrollButton: "scroll-button",
301
- hamburgerMenu: "hamburger-menu",
302
- hamburgerMenuContent: "hamburger-menu-content",
303
- hamburgerMenuHeaderContent: "hamburger-menu-header-content",
304
- hamburgerMenuOpenButton: "hamburger-open-button",
305
- hamburgerMenuCloseButton: "hamburger-close-button"
306
- };
307
- const elementKeys = {
308
- navbar: "navbar",
309
- hamburgerMenu: "hamburgerMenu",
310
- hamburgerOpenButton: "hamburgerOpenButton",
311
- hamburgerCloseButton: "hamburgerCloseButton",
312
- item: "item",
313
- subItem: "subItem",
314
- scrollButton: "scrollButton",
315
- dropdown: "dropdown"
316
- };
317
- const presets = {
318
- horizontalScrollNavbar: "horizontalScrollNavbar",
319
- horizontalHugNavbar: "horizontalHugNavbar",
320
- verticalNavbar: "verticalNavbar",
321
- hamburgerMenu: "hamburgerMenu"
322
- };
323
- const states = {
324
- dropdown: "dropdown",
325
- hamburgerDialog: "hamburgerDialog",
326
- hamburgerDialogDropdown: "hamburgerDialogDropdown"
327
- };
328
- const DesignStates = {
329
- item: {
330
- hover: {
331
- displayName: DisplayNames.item.states.hover,
332
- className: "menu__item--hover"
333
- },
334
- selected: {
335
- displayName: DisplayNames.item.states.selected,
336
- className: "menu__item--selected"
337
- }
338
- },
339
- dropdownItem: {
340
- hover: {
341
- displayName: "Hover",
342
- className: "menu__dropdown-item--hover"
343
- },
344
- selected: {
345
- displayName: "Selected",
346
- className: "menu__dropdown-item--selected"
347
- }
348
- },
349
- dropdownSubItem: {
350
- hover: {
351
- displayName: "Hover",
352
- className: "menu__dropdown-sub-item--hover"
353
- },
354
- selected: {
355
- displayName: "Selected",
356
- className: "menu__dropdown-sub-item--selected"
357
- }
358
- },
359
- scrollButton: {
360
- hover: {
361
- displayName: "Hover",
362
- className: "menu__scroll-button--hover"
363
- }
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"
364
11
  }
365
12
  };
366
- const DropdownAppliedStyleProperties = {
367
- anchor: "--wix-menu-dropdown-anchor"
368
- };
369
- const DropdownAnchorPositions = {
370
- menuItem: "0",
371
- menuStretched: "1",
372
- screen: "2"
373
- };
374
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
375
- const translationsKeys = {
376
- menuNavAriaLabel: "dropDownMenu_AriaLabel_TopLevel_SiteNavigation",
377
- dropdownButtonAriaLabel: "menu_dropdown_chevron_button_aria_label",
378
- hamburgerOpenButtonAriaLabel: "menu_hamburger_open_button_aria_label",
379
- hamburgerCloseButtonAriaLabel: "menu_hamburger_close_button_aria_label"
380
- };
381
- const defaultTranslations = {
382
- menuNavAriaLabel: "Site",
383
- dropdownButtonAriaLabel: "More pages",
384
- hamburgerOpenButtonAriaLabel: "Menu",
385
- hamburgerCloseButtonAriaLabel: "Close Menu"
386
- };
387
- const MenuParts = {
388
- Navbar: "navbar",
389
- DropdownContainer: "dropdown-container",
390
- DropdownButton: "dropdown-button",
391
- DropdownIcon: "dropdown-icon",
392
- Label: "label",
393
- DropdownItem: "dropdown-item",
394
- DropdownItemLabel: "dropdown-item-label",
395
- DropdownSubItem: "dropdown-subitem",
396
- DropdownSubItemLabel: "dropdown-subitem-label",
397
- MenuItem: "menu-item",
398
- MenuItemContent: "menu-item-content",
399
- MenuItemLink: "menu-item-link",
400
- ScrollBackwardButton: "scroll-backward-button",
401
- ScrollForwardButton: "scroll-forward-button"
13
+ const DESCRIPTIONS = {
14
+ data: {
15
+ activeStateName: "To trigger states from CMS or code, use the connect icon to bind this property"
16
+ }
402
17
  };
403
18
  export {
404
- AnimationPhase as A,
405
- DropdownAnimationName as D,
406
- HamburgerMenuAnimationName as H,
407
- MenuAnimationName as M,
408
- VerticalDropdownDisplay as V,
409
- MenuOrientation as a,
410
- MenuParts as b,
411
- ARIA_LABEL_NAMESPACE as c,
412
- defaultTranslations as d,
413
- DesignStates as e,
414
- DisplayNames as f,
415
- DropdownAnchorPositions as g,
416
- DropdownAppliedStyleProperties as h,
417
- elementKeys as i,
418
- states as j,
419
- presets as p,
420
- selectors as s,
421
- translationsKeys as t,
422
- useAnimationState as u
19
+ DESCRIPTIONS as D,
20
+ DISPLAY_NAMES as a,
21
+ selectors as s
423
22
  };