@wix/editor-react-components 1.2279.0 → 1.2280.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 (147) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/constants.d.ts +3 -3
  3. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  4. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  5. package/dist/site/components/AudioPlayer/component.js +1 -1
  6. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  7. package/dist/site/components/BoxContainer/component.js +1 -1
  8. package/dist/site/components/BoxContainer/manifest.js +1 -1
  9. package/dist/site/components/Breadcrumbs/component.js +1 -1
  10. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  11. package/dist/site/components/Button/hooks/useButtonA11y.d.ts +9 -9
  12. package/dist/site/components/Button/hooks/useButtonEventHandlers.d.ts +2 -2
  13. package/dist/site/components/Button/manifest.js +1 -1
  14. package/dist/site/components/CollapsibleText/component.js +1 -1
  15. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  16. package/dist/site/components/Dropdown/component.js +1 -1
  17. package/dist/site/components/Dropdown/dropdownUtils.d.ts +3 -3
  18. package/dist/site/components/Dropdown/hooks/useDropdownQuery.d.ts +1 -1
  19. package/dist/site/components/Dropdown/hooks/useDropdownSelection.d.ts +1 -1
  20. package/dist/site/components/Dropdown/manifest.js +1 -1
  21. package/dist/site/components/GoogleMap/components/GoogleMapReact.d.ts +21 -51
  22. package/dist/site/components/GoogleMap/components/GoogleMapReactInteractiveMap.d.ts +20 -20
  23. package/dist/site/components/GoogleMap/hooks/useGoogleMapProps.d.ts +1 -1
  24. package/dist/site/components/GoogleMap/panels/ManageLocations/hooks/useLocationForm.d.ts +1 -1
  25. package/dist/site/components/GoogleMap/utils/sdkMethods.d.ts +2 -2
  26. package/dist/site/components/HTMLComponent/component.js +1 -1
  27. package/dist/site/components/HTMLComponent/components/HTMLComponent.d.ts +6 -6
  28. package/dist/site/components/HipaaIcon/component.js +1 -1
  29. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  30. package/dist/site/components/LegacyMultiStateBox/hooks/useMSBStates.d.ts +4 -4
  31. package/dist/site/components/LinkBar/component.js +1 -1
  32. package/dist/site/components/LinkBar/manifest.js +1 -1
  33. package/dist/site/components/Logo/component.js +1 -1
  34. package/dist/site/components/Logo/manifest.js +1 -1
  35. package/dist/site/components/Logo/panels/customizeLogo/components/LogoBackgroundRemovalButton.d.ts +2 -2
  36. package/dist/site/components/Logo/panels/customizeLogo/handlers.d.ts +1 -1
  37. package/dist/site/components/Logo/panels/customizeLogo/utils.d.ts +1 -1
  38. package/dist/site/components/Logo/sdk.js +1 -1
  39. package/dist/site/components/Lottie/component.js +1 -1
  40. package/dist/site/components/Lottie/manifest.js +1 -1
  41. package/dist/site/components/Menu/component.js +1 -1
  42. package/dist/site/components/Menu/components/MenuContent/MenuItem/utils.d.ts +1 -1
  43. package/dist/site/components/Menu/components/MenuContent/Scroll/utils.d.ts +1 -1
  44. package/dist/site/components/Menu/manifest.js +1 -1
  45. package/dist/site/components/Menu/manifestConfigs/dropdownConfig.d.ts +3 -1
  46. package/dist/site/components/Menu/panels/format/options.d.ts +4 -4
  47. package/dist/site/components/Menu/sdkUtils/menuUtils.d.ts +4 -4
  48. package/dist/site/components/Menu/utils.d.ts +2 -2
  49. package/dist/site/components/MultiStateBox/component.js +1 -1
  50. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  51. package/dist/site/components/ProgressBar/component.js +1 -1
  52. package/dist/site/components/ProgressBar/manifest.js +1 -1
  53. package/dist/site/components/ProgressBar/sdk.js +1 -1
  54. package/dist/site/components/Repeater/component.js +1 -1
  55. package/dist/site/components/Repeater/hooks/useItemsPerRow.d.ts +0 -1
  56. package/dist/site/components/Repeater/hooks/useLoadMoreObserver.d.ts +0 -1
  57. package/dist/site/components/Repeater/manifest.js +1 -1
  58. package/dist/site/components/ShareButtons/component.js +1 -1
  59. package/dist/site/components/ShareButtons/constants.d.ts +1 -1
  60. package/dist/site/components/ShareButtons/manifest.js +1 -1
  61. package/dist/site/components/ShareButtons/utils.d.ts +9 -9
  62. package/dist/site/components/SocialPlayerVimeo/components/hooks/useVimeoPlayer.d.ts +8 -9
  63. package/dist/site/components/SocialPlayerYoutube/components/hooks/useYoutubeIframe.d.ts +0 -1
  64. package/dist/site/components/SocialPlayerYoutube/components/utils/getIframeUrl.d.ts +1 -1
  65. package/dist/site/components/SvgImage/utils.d.ts +1 -1
  66. package/dist/site/components/Tabs/component.js +1 -1
  67. package/dist/site/components/Tabs/manifest.js +1 -1
  68. package/dist/site/components/Tabs/utils/scrollTabs.d.ts +1 -1
  69. package/dist/site/components/TextEffects3d/component.js +1 -1
  70. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  71. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  72. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  73. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  74. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  75. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  76. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  77. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  78. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  79. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  80. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  81. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  82. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  83. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  84. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  85. package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
  86. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  87. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  88. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  89. package/dist/site/components/TextEffectsShared/components/stringParser/parsers/word-parsing-phases/word-directionality.d.ts +1 -1
  90. package/dist/site/components/TextEffectsShook/component.js +1 -1
  91. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  92. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  93. package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
  94. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  95. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  96. package/dist/site/components/TextInput/component.js +4 -3
  97. package/dist/site/components/TextInput/constants.d.ts +3 -0
  98. package/dist/site/components/TextInput/css.css +18 -18
  99. package/dist/site/components/TextInput/manifest.js +3 -51
  100. package/dist/site/components/TextInput/utils.d.ts +2 -2
  101. package/dist/site/components/TransparentVideo/kampos/transparent-video.d.ts +1 -1
  102. package/dist/site/components/VideoUpload/VideoUpload.utils.d.ts +1 -1
  103. package/dist/site/components/VideoUpload/components/hooks/useVideoPlayer.d.ts +1 -1
  104. package/dist/site/components/VideoUpload/components/hooks/useVolume.d.ts +1 -1
  105. package/dist/site/components/WRichText/components/providers/usePopupLinkEvents/index.d.ts +0 -1
  106. package/dist/site/components/WRichText/utils/decodeHtmlEntities.d.ts +0 -1
  107. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  108. package/dist/site/components/chunks/Button.js +1 -1
  109. package/dist/site/components/chunks/Patterns.js +1 -1
  110. package/dist/site/components/chunks/TextEffectsShared.js +1 -1
  111. package/dist/site/components/chunks/constants10.js +9 -9
  112. package/dist/site/components/chunks/constants11.js +10 -8
  113. package/dist/site/components/chunks/constants12.js +9 -13
  114. package/dist/site/components/chunks/constants13.js +14 -17
  115. package/dist/site/components/chunks/constants14.js +17 -12
  116. package/dist/site/components/chunks/constants15.js +11 -13
  117. package/dist/site/components/chunks/constants16.js +23 -19
  118. package/dist/site/components/chunks/constants17.js +15 -50
  119. package/dist/site/components/chunks/constants18.js +43 -45
  120. package/dist/site/components/chunks/constants19.js +48 -297
  121. package/dist/site/components/chunks/constants2.js +49 -14
  122. package/dist/site/components/chunks/constants20.js +299 -41
  123. package/dist/site/components/chunks/constants21.js +44 -29
  124. package/dist/site/components/chunks/constants22.js +32 -17
  125. package/dist/site/components/chunks/constants23.js +16 -402
  126. package/dist/site/components/chunks/constants24.js +393 -73
  127. package/dist/site/components/chunks/constants25.js +80 -15
  128. package/dist/site/components/chunks/constants26.js +11 -42
  129. package/dist/site/components/chunks/constants27.js +44 -23
  130. package/dist/site/components/chunks/constants28.js +28 -10
  131. package/dist/site/components/chunks/constants29.js +10 -132
  132. package/dist/site/components/chunks/constants3.js +10 -19
  133. package/dist/site/components/chunks/constants30.js +114 -46
  134. package/dist/site/components/chunks/constants31.js +53 -71
  135. package/dist/site/components/chunks/constants32.js +73 -77
  136. package/dist/site/components/chunks/constants33.js +76 -57
  137. package/dist/site/components/chunks/constants34.js +72 -0
  138. package/dist/site/components/chunks/constants4.js +14 -14
  139. package/dist/site/components/chunks/constants5.js +11 -10
  140. package/dist/site/components/chunks/constants6.js +14 -14
  141. package/dist/site/components/chunks/constants7.js +22 -65
  142. package/dist/site/components/chunks/constants8.js +65 -20
  143. package/dist/site/components/chunks/constants9.js +14 -12
  144. package/dist/site/components/chunks/manifestBase.js +1 -1
  145. package/dist/site/components/chunks/utils.js +1 -1
  146. package/dist/site/components/extensions.js +1 -1
  147. package/package.json +2 -2
@@ -1,33 +1,54 @@
1
- const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
1
+ const presets = {
2
+ horizontal: "horizontal",
3
+ vertical: "vertical"
4
+ };
2
5
  const DisplayNames = {
3
6
  root: {
4
- elementDisplayName: "HIPAA Certification",
7
+ elementDisplayName: "Social Bar",
8
+ presets: {
9
+ horizontal: "Horizontal",
10
+ vertical: "Vertical"
11
+ },
12
+ cssCustomProperties: {
13
+ "item-size": "Size",
14
+ "row-gap": "Vertical space between icons",
15
+ "column-gap": "Horizontal space between icons",
16
+ "justify-content": "Alignment"
17
+ },
18
+ data: {
19
+ items: "Social",
20
+ icon: "Icon",
21
+ link: "Links to"
22
+ },
23
+ actions: {
24
+ manageItems: "Manage Social Bar"
25
+ },
5
26
  customActions: {
6
- hipaaSettings: "HIPAA Settings"
27
+ orientation: "Change Orientation"
7
28
  },
8
- cssProperties: {
9
- color: "Icon Color",
10
- backgroundColor: "Background Color"
29
+ displayGroups: {
30
+ gapGroup: {
31
+ displayName: "Space between icons"
32
+ },
33
+ iconsGroup: {
34
+ displayName: "Icons"
35
+ }
11
36
  }
12
37
  }
13
38
  };
14
- const TRANSLATIONS_NAMESPACE = "hipaaIcon";
15
- const TranslationKeys = {
16
- ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
17
- ariaLabelActivate: "hipaaIcon_aria_label_activate",
18
- activateHeading: "hipaaIcon_activate_heading",
19
- activateDescription: "hipaaIcon_activate_description"
20
- };
21
- const DefaultTranslations = {
22
- ariaLabelCompliant: "HIPAA Compliant",
23
- ariaLabelActivate: "HIPAA Certification",
24
- activateHeading: "Activate HIPAA",
25
- activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
39
+ const DesignStates = {
40
+ root: {
41
+ hover: { displayName: "Hover", className: "link-bar--hover" }
42
+ }
26
43
  };
44
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
45
+ const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
46
+ const ARIA_LABEL_DEFAULT = "Social Bar";
27
47
  export {
28
- DefaultTranslations as D,
29
- HIPAA_SETTINGS_PANEL_ID as H,
30
- TranslationKeys as T,
31
- TRANSLATIONS_NAMESPACE as a,
32
- DisplayNames as b
48
+ ARIA_LABEL_NAMESPACE as A,
49
+ DesignStates as D,
50
+ ARIA_LABEL_KEY as a,
51
+ ARIA_LABEL_DEFAULT as b,
52
+ DisplayNames as c,
53
+ presets as p
33
54
  };
@@ -1,15 +1,33 @@
1
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
1
+ const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
2
2
  const DisplayNames = {
3
- data: {
4
- onClick: "On Click",
5
- onDblClick: "On Double Click",
6
- onMouseIn: "On Mouse In",
7
- onMouseOut: "On Mouse Out",
8
- onFocus: "On Focus",
9
- onBlur: "On Blur"
3
+ root: {
4
+ elementDisplayName: "HIPAA Certification",
5
+ customActions: {
6
+ hipaaSettings: "HIPAA Settings"
7
+ },
8
+ cssProperties: {
9
+ color: "Icon Color",
10
+ backgroundColor: "Background Color"
11
+ }
10
12
  }
11
13
  };
14
+ const TRANSLATIONS_NAMESPACE = "hipaaIcon";
15
+ const TranslationKeys = {
16
+ ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
17
+ ariaLabelActivate: "hipaaIcon_aria_label_activate",
18
+ activateHeading: "hipaaIcon_activate_heading",
19
+ activateDescription: "hipaaIcon_activate_description"
20
+ };
21
+ const DefaultTranslations = {
22
+ ariaLabelCompliant: "HIPAA Compliant",
23
+ ariaLabelActivate: "HIPAA Certification",
24
+ activateHeading: "Activate HIPAA",
25
+ activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
26
+ };
12
27
  export {
13
- ARIA_LABEL_NAMESPACE as A,
14
- DisplayNames as D
28
+ DefaultTranslations as D,
29
+ HIPAA_SETTINGS_PANEL_ID as H,
30
+ TranslationKeys as T,
31
+ TRANSLATIONS_NAMESPACE as a,
32
+ DisplayNames as b
15
33
  };
@@ -1,137 +1,15 @@
1
- const DesignStates = {
2
- root: {
3
- hover: { displayName: "Hover", className: "dropdown--hover" },
4
- disabled: { displayName: "Disabled", className: "dropdown--disabled" }
5
- }
6
- };
1
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
7
2
  const DisplayNames = {
8
- root: {
9
- elementDisplayName: "Dropdown",
10
- data: {
11
- options: "Options",
12
- optionLabel: "Label",
13
- optionValue: "Value",
14
- value: "Selected value",
15
- values: "Selected values",
16
- inputValue: "Search query",
17
- open: "Open",
18
- isDisabled: "Disabled",
19
- placeholder: "Placeholder",
20
- searchable: "Allow search",
21
- multiple: "Allow multiple selection",
22
- clearable: "Show clear button",
23
- autoHighlight: "Highlight first match",
24
- openOnInputClick: "Open list on click",
25
- inline: "Show options inline",
26
- grid: "Show options in a grid",
27
- columns: "Columns",
28
- limit: "Max visible options",
29
- label: "Label",
30
- required: "Required",
31
- readOnly: "Read only",
32
- description: "Helper text",
33
- triggerMode: {
34
- displayName: "Apply filter",
35
- options: {
36
- onSelection: "On selection",
37
- onApply: "On button click"
38
- }
39
- },
40
- applyButtonLabel: "Apply button text"
41
- },
42
- cssCustomProperties: {
43
- width: "Width",
44
- maxWidth: "Max width",
45
- backgroundColor: "Background",
46
- borderColor: "Border color",
47
- borderWidth: "Border width",
48
- paddingTop: "Padding top",
49
- paddingBottom: "Padding bottom",
50
- paddingInlineStart: "Padding start",
51
- paddingInlineEnd: "Padding end",
52
- gap: "Spacing",
53
- textAlign: "Value alignment",
54
- font: "Value font",
55
- textColor: "Value color",
56
- labelFont: "Label font",
57
- labelColor: "Label color",
58
- helperFont: "Helper text font",
59
- helperColor: "Helper text color",
60
- optionTextColor: "Option text color",
61
- optionHoverBackgroundColor: "Option hover background"
62
- },
63
- displayGroups: {
64
- optionsGroup: "Manage options",
65
- sizeGroup: "Size",
66
- backgroundGroup: "Background",
67
- cornersGroup: "Corner radius",
68
- paddingGroup: "Padding"
69
- }
3
+ data: {
4
+ onClick: "On Click",
5
+ onDblClick: "On Double Click",
6
+ onMouseIn: "On Mouse In",
7
+ onMouseOut: "On Mouse Out",
8
+ onFocus: "On Focus",
9
+ onBlur: "On Blur"
70
10
  }
71
11
  };
72
- const defaultValues = {
73
- placeholder: "Select a value",
74
- inputValue: "",
75
- open: false,
76
- isDisabled: false,
77
- searchable: false,
78
- multiple: false,
79
- clearable: false,
80
- autoHighlight: false,
81
- openOnInputClick: true,
82
- inline: false,
83
- grid: false,
84
- columns: 3,
85
- limit: -1,
86
- label: "",
87
- required: false,
88
- readOnly: false,
89
- name: "",
90
- description: "",
91
- triggerMode: "onSelection",
92
- applyButtonLabel: "Apply",
93
- noResultsText: "No results"
94
- };
95
- var TriggerModeValues = /* @__PURE__ */ ((TriggerModeValues2) => {
96
- TriggerModeValues2["OnSelection"] = "onSelection";
97
- TriggerModeValues2["OnApply"] = "onApply";
98
- return TriggerModeValues2;
99
- })(TriggerModeValues || {});
100
- const ALL_VALUE = "";
101
- const TestIds = {
102
- root: "dropdown-root",
103
- label: "dropdown-label",
104
- trigger: "dropdown-trigger",
105
- listbox: "dropdown-listbox",
106
- clear: "dropdown-clear",
107
- applyButton: "dropdown-apply-button",
108
- description: "dropdown-description"
109
- };
110
- const selectors = {
111
- root: "dropdown"
112
- };
113
- const semanticClassNames = {
114
- root: "dropdown",
115
- trigger: "dropdown__trigger",
116
- listbox: "dropdown__listbox",
117
- option: "dropdown__option",
118
- applyButton: "dropdown__apply-button"
119
- };
120
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
121
- const AriaLabels = {
122
- root: { key: "Dropdown_AriaLabel", default: "Dropdown" },
123
- clear: { key: "Dropdown_AriaLabel_Clear", default: "Clear" },
124
- removeItem: { key: "Dropdown_AriaLabel_RemoveItem", default: "Remove" }
125
- };
126
12
  export {
127
- ALL_VALUE as A,
128
- DesignStates as D,
129
- TestIds as T,
130
- TriggerModeValues as a,
131
- ARIA_LABEL_NAMESPACE as b,
132
- AriaLabels as c,
133
- defaultValues as d,
134
- selectors as e,
135
- DisplayNames as f,
136
- semanticClassNames as s
13
+ ARIA_LABEL_NAMESPACE as A,
14
+ DisplayNames as D
137
15
  };
@@ -1,31 +1,22 @@
1
- import { S as SharedDisplayNames } from "./constants7.js";
1
+ import { S as SharedDisplayNames } from "./constants8.js";
2
2
  const TestIds = {
3
3
  viewer: {
4
- container: "TextEffectsSticker-container",
5
- text: "TextEffectsSticker-text"
4
+ container: "TextEffectsStriped-container",
5
+ text: "TextEffectsStriped-text"
6
6
  }
7
7
  };
8
- const COMPONENT_ID = "5a8d2f7c-e1b3-4c9a-8d6e-2f4b7a9c1e3d";
9
- const TEXT_TWIST_PANEL_ID = "c5f84f6c-3d1f-4287-af95-800fc31b581e";
10
8
  const DisplayNames = {
11
9
  ...SharedDisplayNames,
12
10
  cssCustomProperties: {
13
- fill: "Color",
14
- fillOpacity: "opacity",
15
- strokeWidth: "width",
16
- stroke: "Color",
17
- outerStrokeAngle: "Angle",
18
- outerStrokeDistance: "Distance",
19
- shadowColor: "Color",
20
- shadowOpacity: "Opacity",
21
- shadowAngle: "Angle",
22
- shadowBlur: "Blur",
23
- shadowDistance: "Distance"
11
+ stripeAngle: "Angle",
12
+ stripeSize: "Size",
13
+ innerAnimationSpeed: "Speed",
14
+ disableInnerAnimation: "Animation",
15
+ textEffectsColor1: "Color 1",
16
+ textEffectsColor2: "Color 2"
24
17
  }
25
18
  };
26
19
  export {
27
- COMPONENT_ID as C,
28
20
  DisplayNames as D,
29
- TestIds as T,
30
- TEXT_TWIST_PANEL_ID as a
21
+ TestIds as T
31
22
  };
@@ -1,69 +1,137 @@
1
- const manifestClasses = {
2
- root: "collapsible-text",
3
- text: "text",
4
- expandControl: "expand-control"
1
+ const DesignStates = {
2
+ root: {
3
+ hover: { displayName: "Hover", className: "dropdown--hover" },
4
+ disabled: { displayName: "Disabled", className: "dropdown--disabled" }
5
+ }
5
6
  };
6
7
  const DisplayNames = {
7
8
  root: {
8
- elementDisplayName: "Collapsible Text",
9
- actions: {
10
- settings: "Settings",
11
- design: "Design"
12
- },
9
+ elementDisplayName: "Dropdown",
13
10
  data: {
14
- expandMode: {
15
- displayName: "Choose what the button does",
11
+ options: "Options",
12
+ optionLabel: "Label",
13
+ optionValue: "Value",
14
+ value: "Selected value",
15
+ values: "Selected values",
16
+ inputValue: "Search query",
17
+ open: "Open",
18
+ isDisabled: "Disabled",
19
+ placeholder: "Placeholder",
20
+ searchable: "Allow search",
21
+ multiple: "Allow multiple selection",
22
+ clearable: "Show clear button",
23
+ autoHighlight: "Highlight first match",
24
+ openOnInputClick: "Open list on click",
25
+ inline: "Show options inline",
26
+ grid: "Show options in a grid",
27
+ columns: "Columns",
28
+ limit: "Max visible options",
29
+ label: "Label",
30
+ required: "Required",
31
+ readOnly: "Read only",
32
+ description: "Helper text",
33
+ triggerMode: {
34
+ displayName: "Apply filter",
16
35
  options: {
17
- button: "Expands",
18
- link: "Links"
36
+ onSelection: "On selection",
37
+ onApply: "On button click"
19
38
  }
20
39
  },
21
- text: "Text",
22
- readMoreText: "Expand button text",
23
- readLessText: "Collapse button text",
24
- linkText: "Link text"
25
- },
26
- elements: {
27
- text: "Text",
28
- button: "Button"
40
+ applyButtonLabel: "Apply button text"
29
41
  },
30
42
  cssCustomProperties: {
31
- maxLines: "Lines displayed",
32
- expandControlSpacing: "Space between text and button",
33
- paragraphAlign: "Paragraph Alignment",
34
- textColor: "Text color",
35
- textFont: "Font",
36
- textLineHeight: "Line spacing",
37
- textTextDecoration: "Text Decoration",
38
- textTextTransform: "Case"
43
+ width: "Width",
44
+ maxWidth: "Max width",
45
+ backgroundColor: "Background",
46
+ borderColor: "Border color",
47
+ borderWidth: "Border width",
48
+ paddingTop: "Padding top",
49
+ paddingBottom: "Padding bottom",
50
+ paddingInlineStart: "Padding start",
51
+ paddingInlineEnd: "Padding end",
52
+ gap: "Spacing",
53
+ textAlign: "Value alignment",
54
+ font: "Value font",
55
+ textColor: "Value color",
56
+ labelFont: "Label font",
57
+ labelColor: "Label color",
58
+ helperFont: "Helper text font",
59
+ helperColor: "Helper text color",
60
+ optionTextColor: "Option text color",
61
+ optionHoverBackgroundColor: "Option hover background"
62
+ },
63
+ displayGroups: {
64
+ optionsGroup: "Manage options",
65
+ sizeGroup: "Size",
66
+ backgroundGroup: "Background",
67
+ cornersGroup: "Corner radius",
68
+ paddingGroup: "Padding"
39
69
  }
40
70
  }
41
71
  };
42
72
  const defaultValues = {
43
- expandMode: "button"
73
+ placeholder: "Select a value",
74
+ inputValue: "",
75
+ open: false,
76
+ isDisabled: false,
77
+ searchable: false,
78
+ multiple: false,
79
+ clearable: false,
80
+ autoHighlight: false,
81
+ openOnInputClick: true,
82
+ inline: false,
83
+ grid: false,
84
+ columns: 3,
85
+ limit: -1,
86
+ label: "",
87
+ required: false,
88
+ readOnly: false,
89
+ name: "",
90
+ description: "",
91
+ triggerMode: "onSelection",
92
+ applyButtonLabel: "Apply",
93
+ noResultsText: "No results"
44
94
  };
45
- var ExpandModeValues = /* @__PURE__ */ ((ExpandModeValues2) => {
46
- ExpandModeValues2["Link"] = "link";
47
- ExpandModeValues2["Expand"] = "button";
48
- return ExpandModeValues2;
49
- })(ExpandModeValues || {});
95
+ var TriggerModeValues = /* @__PURE__ */ ((TriggerModeValues2) => {
96
+ TriggerModeValues2["OnSelection"] = "onSelection";
97
+ TriggerModeValues2["OnApply"] = "onApply";
98
+ return TriggerModeValues2;
99
+ })(TriggerModeValues || {});
100
+ const ALL_VALUE = "";
50
101
  const TestIds = {
51
- root: "collapsible-text-root",
52
- textWrapper: "collapsible-text-text-wrapper"
102
+ root: "dropdown-root",
103
+ label: "dropdown-label",
104
+ trigger: "dropdown-trigger",
105
+ listbox: "dropdown-listbox",
106
+ clear: "dropdown-clear",
107
+ applyButton: "dropdown-apply-button",
108
+ description: "dropdown-description"
109
+ };
110
+ const selectors = {
111
+ root: "dropdown"
53
112
  };
54
- const FALLBACK_LINE_HEIGHT = 22.4;
55
- const LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE = 1;
56
113
  const semanticClassNames = {
57
- root: "collapsible-text",
58
- text: "collapsible-text__text"
114
+ root: "dropdown",
115
+ trigger: "dropdown__trigger",
116
+ listbox: "dropdown__listbox",
117
+ option: "dropdown__option",
118
+ applyButton: "dropdown__apply-button"
119
+ };
120
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
121
+ const AriaLabels = {
122
+ root: { key: "Dropdown_AriaLabel", default: "Dropdown" },
123
+ clear: { key: "Dropdown_AriaLabel_Clear", default: "Clear" },
124
+ removeItem: { key: "Dropdown_AriaLabel_RemoveItem", default: "Remove" }
59
125
  };
60
126
  export {
61
- DisplayNames as D,
62
- ExpandModeValues as E,
63
- FALLBACK_LINE_HEIGHT as F,
64
- LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE as L,
127
+ ALL_VALUE as A,
128
+ DesignStates as D,
65
129
  TestIds as T,
130
+ TriggerModeValues as a,
131
+ ARIA_LABEL_NAMESPACE as b,
132
+ AriaLabels as c,
66
133
  defaultValues as d,
67
- manifestClasses as m,
134
+ selectors as e,
135
+ DisplayNames as f,
68
136
  semanticClassNames as s
69
137
  };
@@ -1,87 +1,69 @@
1
- const semanticClassNames = {
2
- root: "breadcrumbs",
3
- itemLabel: "breadcrumbs-item-label",
4
- separator: "breadcrumbs-separator",
5
- animatedHomeIcon: "animated-icon"
1
+ const manifestClasses = {
2
+ root: "collapsible-text",
3
+ text: "text",
4
+ expandControl: "expand-control"
6
5
  };
7
6
  const DisplayNames = {
8
7
  root: {
9
- elementDisplayName: "Breadcrumbs",
10
- customActions: {
11
- replaceHomeIcon: "Customize Icon"
12
- }
13
- },
14
- item: {
15
- elementDisplayName: "Items"
16
- },
17
- separator: {
18
- elementDisplayName: "Separators"
19
- },
20
- homeIcon: {
21
- elementDisplayName: "Home"
22
- },
23
- data: {
24
- separator: "Separator",
25
- displayHomepageAs: "Display homepage as",
26
- horizontalSpacing: "Space between items",
27
- verticalSpacing: "Space between rows",
28
- alignment: "Alignment",
29
- separatorOptions: {
30
- slash: "Forward slash",
31
- arrow: "Arrow"
8
+ elementDisplayName: "Collapsible Text",
9
+ actions: {
10
+ settings: "Settings",
11
+ design: "Design"
32
12
  },
33
- homepageModeOptions: {
13
+ data: {
14
+ expandMode: {
15
+ displayName: "Choose what the button does",
16
+ options: {
17
+ button: "Expands",
18
+ link: "Links"
19
+ }
20
+ },
34
21
  text: "Text",
35
- icon: "Icon"
22
+ readMoreText: "Expand button text",
23
+ readLessText: "Collapse button text",
24
+ linkText: "Link text"
36
25
  },
37
- defaultState: "Default state",
38
- defaultStateOptions: {
39
- fullTrail: "Full trail",
40
- hideHomepage: "Hide homepage",
41
- hideCurrentPage: "Hide current page"
42
- },
43
- overflowItems: "Overflow items",
44
- overflowItemsOptions: {
45
- wrap: "Wrap",
46
- collapse: "Collapse (with ellipses)"
26
+ elements: {
27
+ text: "Text",
28
+ button: "Button"
47
29
  },
48
- beforeEllipsis: "Items before ellipses",
49
- afterEllipsis: "Items after ellipses"
50
- }
51
- };
52
- const DesignStates = {
53
- item: {
54
- hover: { displayName: "Hover", className: "breadcrumbs__item--hover" },
55
- selected: {
56
- displayName: "Selected",
57
- className: "breadcrumbs__item--selected"
30
+ cssCustomProperties: {
31
+ maxLines: "Lines displayed",
32
+ expandControlSpacing: "Space between text and button",
33
+ paragraphAlign: "Paragraph Alignment",
34
+ textColor: "Text color",
35
+ textFont: "Font",
36
+ textLineHeight: "Line spacing",
37
+ textTextDecoration: "Text Decoration",
38
+ textTextTransform: "Case"
58
39
  }
59
40
  }
60
41
  };
61
- const componentMetadata = {
62
- id: "992fd74f-46fe-4cc3-b803-d70f75a11fbc",
63
- type: "wixEditorElements.Breadcrumbs",
64
- description: "A navigation component that displays the user's location within a site's hierarchy as a trail of links, allowing navigation back to any ancestor page."
42
+ const defaultValues = {
43
+ expandMode: "button"
65
44
  };
66
- const separatorValues = {
67
- slash: "slash",
68
- arrow: "arrow"
45
+ var ExpandModeValues = /* @__PURE__ */ ((ExpandModeValues2) => {
46
+ ExpandModeValues2["Link"] = "link";
47
+ ExpandModeValues2["Expand"] = "button";
48
+ return ExpandModeValues2;
49
+ })(ExpandModeValues || {});
50
+ const TestIds = {
51
+ root: "collapsible-text-root",
52
+ textWrapper: "collapsible-text-text-wrapper"
69
53
  };
70
- const homepageModeValues = {
71
- text: "text",
72
- icon: "icon"
73
- };
74
- const defaultStateValues = {
75
- fullTrail: "fullTrail",
76
- hideHomepage: "hideHomepage",
77
- hideCurrentPage: "hideCurrentPage"
54
+ const FALLBACK_LINE_HEIGHT = 22.4;
55
+ const LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE = 1;
56
+ const semanticClassNames = {
57
+ root: "collapsible-text",
58
+ text: "collapsible-text__text"
78
59
  };
79
60
  export {
80
- DesignStates as D,
81
- DisplayNames as a,
82
- separatorValues as b,
83
- componentMetadata as c,
84
- defaultStateValues as d,
85
- homepageModeValues as h,
61
+ DisplayNames as D,
62
+ ExpandModeValues as E,
63
+ FALLBACK_LINE_HEIGHT as F,
64
+ LINE_HEIGHT_ROUNDING_ERROR_TOLERANCE as L,
65
+ TestIds as T,
66
+ defaultValues as d,
67
+ manifestClasses as m,
86
68
  semanticClassNames as s
87
69
  };