gatsby-core-theme 44.10.0 → 44.10.1
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/components/organisms/navigation/index.js +12 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [44.10.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.10.0...v44.10.1) (2025-12-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* revert changes ([c68b0ac](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c68b0ac8c2ed9c7eb89495d05ea9c593e2159e14))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'EN-212-revert-changes' into 'master' ([e5c55f4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/e5c55f4b24178ba88d8d2a6783537f321f32e23a))
|
|
10
|
+
|
|
1
11
|
# [44.10.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.5...v44.10.0) (2025-12-08)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
|
@@ -40,7 +40,6 @@ const Navigation = ({
|
|
|
40
40
|
disableSearch,
|
|
41
41
|
megaMenu = false,
|
|
42
42
|
menu,
|
|
43
|
-
menuPosition = "left",
|
|
44
43
|
}) => {
|
|
45
44
|
const navRef = useRef(React.createRef());
|
|
46
45
|
const ariaLabelNavLogo = useTranslate("ariaLabel-navLogo", "Nav Logo");
|
|
@@ -79,21 +78,6 @@ const Navigation = ({
|
|
|
79
78
|
}
|
|
80
79
|
};
|
|
81
80
|
|
|
82
|
-
const menuComponent = (
|
|
83
|
-
<Menu
|
|
84
|
-
pageContext={pageContext}
|
|
85
|
-
section={section}
|
|
86
|
-
orientation={orientation}
|
|
87
|
-
mobileAnimation={mobileAnimation}
|
|
88
|
-
stopScrollOnOpen={stopScrollOnOpen}
|
|
89
|
-
canOpenAllSubMenus={canOpenAllSubMenus}
|
|
90
|
-
customStyles={customStyles}
|
|
91
|
-
gtmClass="main-menu-gtm"
|
|
92
|
-
menu={menu}
|
|
93
|
-
enableMegaMenu={megaMenu}
|
|
94
|
-
/>
|
|
95
|
-
);
|
|
96
|
-
|
|
97
81
|
return (
|
|
98
82
|
<ConditionalWrapper
|
|
99
83
|
condition={sticky}
|
|
@@ -134,7 +118,18 @@ const Navigation = ({
|
|
|
134
118
|
)}
|
|
135
119
|
{showMenu && (
|
|
136
120
|
<>
|
|
137
|
-
|
|
121
|
+
<Menu
|
|
122
|
+
pageContext={pageContext}
|
|
123
|
+
section={section}
|
|
124
|
+
orientation={orientation}
|
|
125
|
+
mobileAnimation={mobileAnimation}
|
|
126
|
+
stopScrollOnOpen={stopScrollOnOpen}
|
|
127
|
+
canOpenAllSubMenus={canOpenAllSubMenus}
|
|
128
|
+
customStyles={customStyles}
|
|
129
|
+
gtmClass="main-menu-gtm"
|
|
130
|
+
menu={menu}
|
|
131
|
+
enableMegaMenu={megaMenu}
|
|
132
|
+
/>
|
|
138
133
|
<div className={styles.navIconContainer}>
|
|
139
134
|
{activeMarket && !disableMarketDropdown && (
|
|
140
135
|
<MarketDropdown pageContext={pageContext} />
|
|
@@ -156,7 +151,6 @@ const Navigation = ({
|
|
|
156
151
|
isDisabled={disableSearch}
|
|
157
152
|
/>
|
|
158
153
|
)}
|
|
159
|
-
{menuPosition === "right" && menuComponent}
|
|
160
154
|
</div>
|
|
161
155
|
</>
|
|
162
156
|
)}
|
|
@@ -212,7 +206,6 @@ Navigation.propTypes = {
|
|
|
212
206
|
logoAlt: PropTypes.string,
|
|
213
207
|
logoWidth: PropTypes.number,
|
|
214
208
|
logoHeight: PropTypes.number,
|
|
215
|
-
menuPosition: PropTypes.oneOf(["left", "right"]),
|
|
216
209
|
};
|
|
217
210
|
|
|
218
211
|
export default Navigation;
|