qpp-style 9.41.3 → 9.41.5
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/components/Header/HeaderUI.jsx +8 -2
- package/components/SideNav/UI/SideNavUI.jsx +3 -1
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -83,7 +83,10 @@ const HeaderUI = ({
|
|
|
83
83
|
isIESupportPage={isIESupportPage}
|
|
84
84
|
isDevPre={isDevPre}
|
|
85
85
|
>
|
|
86
|
-
<nav
|
|
86
|
+
<nav
|
|
87
|
+
aria-label="Primary navigation"
|
|
88
|
+
hidden={!isMobileMenuExpanded && windowWidth < 768}
|
|
89
|
+
>
|
|
87
90
|
<ul className="navigation-menu">
|
|
88
91
|
<HeaderAccountMenu isDevPre isLoginEnabled={isLoginEnabled} />
|
|
89
92
|
</ul>
|
|
@@ -104,7 +107,10 @@ const HeaderUI = ({
|
|
|
104
107
|
handleClick={() => setIsMobileMenuExpanded(!isMobileMenuExpanded)}
|
|
105
108
|
isMobileMenuExpanded={isMobileMenuExpanded}
|
|
106
109
|
/>
|
|
107
|
-
<nav
|
|
110
|
+
<nav
|
|
111
|
+
aria-label="Primary navigation"
|
|
112
|
+
hidden={!isMobileMenuExpanded && windowWidth < 768}
|
|
113
|
+
>
|
|
108
114
|
<ul className="navigation-menu navigation-new-style">
|
|
109
115
|
{content.map((header) => (
|
|
110
116
|
<HeaderMenuItem
|
|
@@ -75,6 +75,8 @@ const SideNavUI = ({
|
|
|
75
75
|
}, [isExpanded, isExpandedPropSet]);
|
|
76
76
|
|
|
77
77
|
useEffect(() => {
|
|
78
|
+
const path = window.location.pathname;
|
|
79
|
+
document.cookie = `current_path=${path}; Path=/;`;
|
|
78
80
|
isSideNavExpanded(window.document);
|
|
79
81
|
let cancelRequest = false;
|
|
80
82
|
const { origin } = window.location;
|
|
@@ -101,7 +103,7 @@ const SideNavUI = ({
|
|
|
101
103
|
return () => {
|
|
102
104
|
cancelRequest = true;
|
|
103
105
|
};
|
|
104
|
-
}, []);
|
|
106
|
+
}, [location.pathname]);
|
|
105
107
|
|
|
106
108
|
const content = !items?.length ? (
|
|
107
109
|
<LevelOneContent
|