@axos-web-dev/shared-components 1.0.100-dev.69-mobileLogin.2 → 1.0.100-dev.69-mobileLogin.3
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/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +344 -332
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +37 -25
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +4 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +5 -7
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +121 -70
- package/package.json +1 -1
|
@@ -24,10 +24,6 @@ const slideVariants = {
|
|
|
24
24
|
position: "absolute"
|
|
25
25
|
})
|
|
26
26
|
};
|
|
27
|
-
const loginAccordionTransition = {
|
|
28
|
-
duration: 0.35,
|
|
29
|
-
ease: [0.4, 0, 0.2, 1]
|
|
30
|
-
};
|
|
31
27
|
const loginLinksContainerVariants = {
|
|
32
28
|
hidden: {},
|
|
33
29
|
visible: {}
|
|
@@ -46,8 +42,9 @@ const MobileDrawerMenu = () => {
|
|
|
46
42
|
const [hasOpenedOnce, setHasOpenedOnce] = useState(false);
|
|
47
43
|
const [direction, setDirection] = useState("forward");
|
|
48
44
|
const [quickLinks, setQuickLinks] = useState([]);
|
|
49
|
-
const [
|
|
45
|
+
const [loginDrawerOpen, setLoginDrawerOpen] = useState(false);
|
|
50
46
|
const drawerRef = useRef(null);
|
|
47
|
+
const loginDrawerRef = useRef(null);
|
|
51
48
|
const loginGroups = useMemo(() => getLoginGroups(), []);
|
|
52
49
|
const currentLevel = stack[stack.length - 1];
|
|
53
50
|
const prevLevel = stack[stack.length - 2];
|
|
@@ -66,10 +63,6 @@ const MobileDrawerMenu = () => {
|
|
|
66
63
|
}
|
|
67
64
|
}, []);
|
|
68
65
|
const handleClick = (key) => {
|
|
69
|
-
if (stack.length === 1 && key === "Log in") {
|
|
70
|
-
setLoginAccordionOpen((prev) => !prev);
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
66
|
const item = currentLevel.items[key];
|
|
74
67
|
if (typeof item === "object") {
|
|
75
68
|
setDirection("forward");
|
|
@@ -89,10 +82,16 @@ const MobileDrawerMenu = () => {
|
|
|
89
82
|
setHasOpenedOnce(true);
|
|
90
83
|
setStack([{ title: "Menu", items: menuData }]);
|
|
91
84
|
}
|
|
92
|
-
if (!isOpening) setLoginAccordionOpen(false);
|
|
93
85
|
return isOpening;
|
|
94
86
|
});
|
|
95
87
|
};
|
|
88
|
+
const handleLoginDrawerOpen = () => setLoginDrawerOpen(true);
|
|
89
|
+
const handleLoginDrawerClose = () => setLoginDrawerOpen(false);
|
|
90
|
+
const handleLoginDrawerOutsideClick = (e) => {
|
|
91
|
+
if (loginDrawerRef.current && !loginDrawerRef.current.contains(e.target)) {
|
|
92
|
+
setLoginDrawerOpen(false);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
96
95
|
const handleOutsideClick = (e) => {
|
|
97
96
|
if (drawerRef.current && !drawerRef.current.contains(e.target)) {
|
|
98
97
|
setOpen(false);
|
|
@@ -115,35 +114,61 @@ const MobileDrawerMenu = () => {
|
|
|
115
114
|
}
|
|
116
115
|
return () => document.removeEventListener("keydown", onEsc);
|
|
117
116
|
}, [open]);
|
|
117
|
+
useEffect(() => {
|
|
118
|
+
if (!loginDrawerOpen) return;
|
|
119
|
+
document.addEventListener("mousedown", handleLoginDrawerOutsideClick);
|
|
120
|
+
return () => document.removeEventListener("mousedown", handleLoginDrawerOutsideClick);
|
|
121
|
+
}, [loginDrawerOpen]);
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
const onEsc = (e) => {
|
|
124
|
+
if (e.key === "Escape") setLoginDrawerOpen(false);
|
|
125
|
+
};
|
|
126
|
+
if (loginDrawerOpen) {
|
|
127
|
+
document.addEventListener("keydown", onEsc);
|
|
128
|
+
}
|
|
129
|
+
return () => document.removeEventListener("keydown", onEsc);
|
|
130
|
+
}, [loginDrawerOpen]);
|
|
118
131
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
132
|
+
/* @__PURE__ */ jsxs("div", { className: styles.mobileNavRow, children: [
|
|
133
|
+
/* @__PURE__ */ jsx(
|
|
134
|
+
"button",
|
|
135
|
+
{
|
|
136
|
+
type: "button",
|
|
137
|
+
onClick: handleLoginDrawerOpen,
|
|
138
|
+
className: styles.loginTrigger,
|
|
139
|
+
"aria-label": "Open login options",
|
|
140
|
+
children: "Log in"
|
|
141
|
+
}
|
|
142
|
+
),
|
|
143
|
+
/* @__PURE__ */ jsx(
|
|
144
|
+
"button",
|
|
145
|
+
{
|
|
146
|
+
onClick: handleToggle,
|
|
147
|
+
className: `${styles.hamburger} flex_col`,
|
|
148
|
+
"aria-label": "open navigation menu",
|
|
149
|
+
children: /* @__PURE__ */ jsx(
|
|
150
|
+
"svg",
|
|
151
|
+
{
|
|
152
|
+
width: 24,
|
|
153
|
+
height: 24,
|
|
154
|
+
viewBox: "0 0 24 24",
|
|
155
|
+
fill: "none",
|
|
156
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
157
|
+
"aria-hidden": "true",
|
|
158
|
+
children: /* @__PURE__ */ jsx(
|
|
159
|
+
"path",
|
|
160
|
+
{
|
|
161
|
+
fillRule: "evenodd",
|
|
162
|
+
clipRule: "evenodd",
|
|
163
|
+
d: "M22.5 15.75V17.25H1.5V15.75H22.5ZM22.5 11.25V12.75H1.5V11.25H22.5ZM22.5 6.75V8.25H1.5V6.75H22.5Z",
|
|
164
|
+
fill: "#14263D"
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }),
|
|
147
172
|
/* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsx(
|
|
148
173
|
motion.div,
|
|
149
174
|
{
|
|
@@ -166,132 +191,140 @@ const MobileDrawerMenu = () => {
|
|
|
166
191
|
"aria-describedby": "menu-description",
|
|
167
192
|
children: [
|
|
168
193
|
/* @__PURE__ */ jsx("p", { id: "menu-description", className: styles.sr_only, children: "Use tab to navigate this menu. Press Escape to close." }),
|
|
169
|
-
/* @__PURE__ */ jsxs(
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
194
|
+
/* @__PURE__ */ jsxs("div", { className: styles.header, children: [
|
|
195
|
+
stack.length > 1 ? /* @__PURE__ */ jsxs(
|
|
196
|
+
"button",
|
|
197
|
+
{
|
|
198
|
+
onClick: handleBack,
|
|
199
|
+
className: styles.back,
|
|
200
|
+
"aria-label": "return to previous menu",
|
|
201
|
+
children: [
|
|
202
|
+
/* @__PURE__ */ jsx(
|
|
203
|
+
"svg",
|
|
204
|
+
{
|
|
205
|
+
width: 15,
|
|
206
|
+
height: 12,
|
|
207
|
+
viewBox: "0 0 20 12",
|
|
208
|
+
fill: "none",
|
|
209
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
210
|
+
style: { marginRight: 8, transform: "rotate(90deg)" },
|
|
211
|
+
children: /* @__PURE__ */ jsx(
|
|
212
|
+
"path",
|
|
184
213
|
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
viewBox: "0 0 20 12",
|
|
188
|
-
fill: "none",
|
|
189
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
190
|
-
style: { marginRight: 8, transform: "rotate(90deg)" },
|
|
191
|
-
children: /* @__PURE__ */ jsx(
|
|
192
|
-
"path",
|
|
193
|
-
{
|
|
194
|
-
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
195
|
-
fill: "#2F5B88"
|
|
196
|
-
}
|
|
197
|
-
)
|
|
214
|
+
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
215
|
+
fill: "#2F5B88"
|
|
198
216
|
}
|
|
199
|
-
)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ jsx("span", { className: styles.prevlevel, children: prevLevel.title })
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
) : /* @__PURE__ */ jsx(
|
|
224
|
+
"a",
|
|
225
|
+
{
|
|
226
|
+
href: window.location.href.split("/")[3] === "invest" ? "/invest" : "/",
|
|
227
|
+
"aria-label": "return to home page",
|
|
228
|
+
children: /* @__PURE__ */ jsx(
|
|
229
|
+
"img",
|
|
205
230
|
{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
{
|
|
211
|
-
src: "https://www.axos.com/images/1sBwCIn5mqOg5DK2uXDJPc/axb_mobile_logo.png",
|
|
212
|
-
alt: "",
|
|
213
|
-
width: 86,
|
|
214
|
-
height: 19
|
|
215
|
-
}
|
|
216
|
-
)
|
|
231
|
+
src: "https://www.axos.com/images/1sBwCIn5mqOg5DK2uXDJPc/axb_mobile_logo.png",
|
|
232
|
+
alt: "",
|
|
233
|
+
width: 86,
|
|
234
|
+
height: 19
|
|
217
235
|
}
|
|
218
|
-
)
|
|
219
|
-
|
|
220
|
-
|
|
236
|
+
)
|
|
237
|
+
}
|
|
238
|
+
),
|
|
239
|
+
/* @__PURE__ */ jsx(
|
|
240
|
+
"button",
|
|
241
|
+
{
|
|
242
|
+
className: `${styles.close} flex_col`,
|
|
243
|
+
"aria-label": "close navigation menu",
|
|
244
|
+
onClick: handleToggle,
|
|
245
|
+
children: /* @__PURE__ */ jsx(
|
|
246
|
+
"svg",
|
|
221
247
|
{
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
248
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
249
|
+
width: "24",
|
|
250
|
+
height: "24",
|
|
251
|
+
viewBox: "0 0 24 24",
|
|
252
|
+
fill: "none",
|
|
253
|
+
"aria-hidden": "true",
|
|
225
254
|
children: /* @__PURE__ */ jsx(
|
|
226
|
-
"
|
|
255
|
+
"path",
|
|
227
256
|
{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
height: "24",
|
|
231
|
-
viewBox: "0 0 24 24",
|
|
232
|
-
fill: "none",
|
|
233
|
-
"aria-hidden": "true",
|
|
234
|
-
children: /* @__PURE__ */ jsx(
|
|
235
|
-
"path",
|
|
236
|
-
{
|
|
237
|
-
d: "M20.2812 2.65625L21.3419 3.71691L13.0602 11.9982L21.3419 20.2812L20.2812 21.3419L11.9982 13.0602L3.71691 21.3419L2.65625 20.2812L10.9377 11.9982L2.65625 3.71691L3.71691 2.65625L11.9982 10.9377L20.2812 2.65625Z",
|
|
238
|
-
fill: "#14263D"
|
|
239
|
-
}
|
|
240
|
-
)
|
|
257
|
+
d: "M20.2812 2.65625L21.3419 3.71691L13.0602 11.9982L21.3419 20.2812L20.2812 21.3419L11.9982 13.0602L3.71691 21.3419L2.65625 20.2812L10.9377 11.9982L2.65625 3.71691L3.71691 2.65625L11.9982 10.9377L20.2812 2.65625Z",
|
|
258
|
+
fill: "#14263D"
|
|
241
259
|
}
|
|
242
260
|
)
|
|
243
261
|
}
|
|
244
262
|
)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
),
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
|
|
250
|
-
|
|
263
|
+
}
|
|
264
|
+
)
|
|
265
|
+
] }),
|
|
266
|
+
/* @__PURE__ */ jsx("div", { className: styles.levelContainer, children: /* @__PURE__ */ jsxs("div", { className: "bg_white", children: [
|
|
267
|
+
/* @__PURE__ */ jsxs(
|
|
268
|
+
"span",
|
|
251
269
|
{
|
|
252
|
-
className: styles.
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
},
|
|
259
|
-
exit: {
|
|
260
|
-
opacity: 0,
|
|
261
|
-
y: -12,
|
|
262
|
-
transition: loginAccordionTransition
|
|
263
|
-
},
|
|
264
|
-
"aria-expanded": loginAccordionOpen,
|
|
265
|
-
"aria-label": "Login options",
|
|
266
|
-
children: /* @__PURE__ */ jsxs("div", { className: styles.loginAccordion, children: [
|
|
267
|
-
/* @__PURE__ */ jsxs(
|
|
268
|
-
"button",
|
|
270
|
+
className: `${styles.level} flex middle`,
|
|
271
|
+
"aria-label": "current menu level",
|
|
272
|
+
children: [
|
|
273
|
+
/* @__PURE__ */ jsx("h2", { className: styles.levelTitle, id: "menu-level", children: currentLevel.title }),
|
|
274
|
+
/* @__PURE__ */ jsx(
|
|
275
|
+
"svg",
|
|
269
276
|
{
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
277
|
+
width: 15,
|
|
278
|
+
height: 12,
|
|
279
|
+
viewBox: "0 0 20 12",
|
|
280
|
+
fill: "none",
|
|
281
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
282
|
+
style: { marginLeft: 12 },
|
|
283
|
+
children: /* @__PURE__ */ jsx(
|
|
284
|
+
"path",
|
|
285
|
+
{
|
|
286
|
+
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
287
|
+
fill: "white"
|
|
288
|
+
}
|
|
289
|
+
)
|
|
290
|
+
}
|
|
291
|
+
)
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
),
|
|
295
|
+
/* @__PURE__ */ jsx("nav", { "aria-label": "main navigation menu", children: /* @__PURE__ */ jsx(
|
|
296
|
+
AnimatePresence,
|
|
297
|
+
{
|
|
298
|
+
custom: direction,
|
|
299
|
+
mode: "sync",
|
|
300
|
+
initial: false,
|
|
301
|
+
children: /* @__PURE__ */ jsx(
|
|
302
|
+
motion.ul,
|
|
303
|
+
{
|
|
304
|
+
className: styles.menu,
|
|
305
|
+
custom: direction,
|
|
306
|
+
variants: slideVariants,
|
|
307
|
+
initial: "enter",
|
|
308
|
+
animate: "center",
|
|
309
|
+
exit: "exit",
|
|
310
|
+
transition: { duration: 0.3, ease: "linear" },
|
|
311
|
+
children: Object.entries(
|
|
312
|
+
stack.length === 1 ? Object.fromEntries(
|
|
313
|
+
Object.entries(currentLevel.items).filter(
|
|
314
|
+
([k]) => k !== "Log in"
|
|
315
|
+
)
|
|
316
|
+
) : currentLevel.items
|
|
317
|
+
).map(([key, value]) => {
|
|
318
|
+
const hasChildren = typeof value === "object";
|
|
319
|
+
return /* @__PURE__ */ jsx("li", { children: hasChildren ? /* @__PURE__ */ jsxs(
|
|
320
|
+
"button",
|
|
321
|
+
{
|
|
322
|
+
className: styles.menuItem,
|
|
323
|
+
onClick: () => handleClick(key),
|
|
324
|
+
"aria-label": `open submenu for ${key}`,
|
|
325
|
+
children: [
|
|
326
|
+
/* @__PURE__ */ jsx("span", { children: key }),
|
|
327
|
+
/* @__PURE__ */ jsx("span", { className: styles.chevron, children: /* @__PURE__ */ jsx(
|
|
295
328
|
"svg",
|
|
296
329
|
{
|
|
297
330
|
className: styles.chevronIcon,
|
|
@@ -300,208 +333,187 @@ const MobileDrawerMenu = () => {
|
|
|
300
333
|
viewBox: "0 0 12 20",
|
|
301
334
|
fill: "none",
|
|
302
335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
303
|
-
style: {
|
|
304
|
-
maxWidth: "none",
|
|
305
|
-
verticalAlign: "middle",
|
|
306
|
-
marginLeft: 11
|
|
307
|
-
},
|
|
308
336
|
children: /* @__PURE__ */ jsx(
|
|
309
337
|
"path",
|
|
310
338
|
{
|
|
311
339
|
d: "M1.76378 0.46875L11.2941 9.99908L1.76378 19.5294L0.703125 18.4687L9.17295 9.99908L0.703125 1.52941L1.76378 0.46875Z",
|
|
312
|
-
fill: "#
|
|
340
|
+
fill: "#4A5560"
|
|
313
341
|
}
|
|
314
342
|
)
|
|
315
343
|
}
|
|
316
|
-
)
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
344
|
+
) })
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
) : /* @__PURE__ */ jsx(
|
|
348
|
+
Link,
|
|
349
|
+
{
|
|
350
|
+
href: `${value}${queryString && !value.includes("?") ? `?${queryString}` : ""}`,
|
|
351
|
+
className: styles.menuItem,
|
|
352
|
+
children: /* @__PURE__ */ jsx("span", { children: key })
|
|
353
|
+
}
|
|
354
|
+
) }, key);
|
|
355
|
+
})
|
|
356
|
+
},
|
|
357
|
+
currentLevel.title
|
|
358
|
+
)
|
|
359
|
+
}
|
|
360
|
+
) }),
|
|
361
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.quickLinks} flex middle between`, children: quickLinks.map((link) => /* @__PURE__ */ jsxs(
|
|
362
|
+
"a",
|
|
363
|
+
{
|
|
364
|
+
href: link.url + (queryString && !link.url.includes("?") ? `?${queryString}` : ""),
|
|
365
|
+
className: `${styles.quickLink} flex_col middle`,
|
|
366
|
+
"aria-label": `Visit ${link.title} page`,
|
|
367
|
+
children: [
|
|
322
368
|
/* @__PURE__ */ jsx(
|
|
323
|
-
|
|
369
|
+
"img",
|
|
324
370
|
{
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
transition: {
|
|
331
|
-
staggerChildren: 0.06,
|
|
332
|
-
delayChildren: 0.12
|
|
333
|
-
},
|
|
334
|
-
children: loginGroups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
335
|
-
motion.li,
|
|
336
|
-
{
|
|
337
|
-
className: styles.loginAccordionGroup,
|
|
338
|
-
variants: loginLinkItemVariants,
|
|
339
|
-
transition: {
|
|
340
|
-
duration: 0.25,
|
|
341
|
-
ease: "easeOut",
|
|
342
|
-
delay: 0.12 + groupIndex * 0.05
|
|
343
|
-
},
|
|
344
|
-
children: [
|
|
345
|
-
/* @__PURE__ */ jsx("span", { className: styles.loginAccordionHeading, children: group.heading }),
|
|
346
|
-
/* @__PURE__ */ jsx(
|
|
347
|
-
motion.ul,
|
|
348
|
-
{
|
|
349
|
-
className: styles.loginAccordionGroupList,
|
|
350
|
-
variants: loginLinksContainerVariants,
|
|
351
|
-
initial: "hidden",
|
|
352
|
-
animate: "visible",
|
|
353
|
-
transition: {
|
|
354
|
-
staggerChildren: 0.04,
|
|
355
|
-
delayChildren: 0.18 + groupIndex * 0.1
|
|
356
|
-
},
|
|
357
|
-
children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
358
|
-
motion.li,
|
|
359
|
-
{
|
|
360
|
-
variants: loginLinkItemVariants,
|
|
361
|
-
transition: {
|
|
362
|
-
duration: 0.25,
|
|
363
|
-
ease: "easeOut"
|
|
364
|
-
},
|
|
365
|
-
children: /* @__PURE__ */ jsx(
|
|
366
|
-
Link,
|
|
367
|
-
{
|
|
368
|
-
href: item.url + (queryString && !item.url.includes("?") ? `?${queryString}` : ""),
|
|
369
|
-
className: styles.menuItem,
|
|
370
|
-
children: /* @__PURE__ */ jsx("span", { children: item.title })
|
|
371
|
-
}
|
|
372
|
-
)
|
|
373
|
-
},
|
|
374
|
-
item.title
|
|
375
|
-
))
|
|
376
|
-
}
|
|
377
|
-
)
|
|
378
|
-
]
|
|
379
|
-
},
|
|
380
|
-
group.heading
|
|
381
|
-
))
|
|
371
|
+
src: link.icon,
|
|
372
|
+
alt: "",
|
|
373
|
+
height: 20,
|
|
374
|
+
width: 20,
|
|
375
|
+
loading: "lazy"
|
|
382
376
|
}
|
|
383
|
-
)
|
|
384
|
-
|
|
377
|
+
),
|
|
378
|
+
/* @__PURE__ */ jsx("span", { children: link.title })
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
link.title
|
|
382
|
+
)) })
|
|
383
|
+
] }) })
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
)
|
|
387
|
+
}
|
|
388
|
+
) }),
|
|
389
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: loginDrawerOpen && /* @__PURE__ */ jsx(
|
|
390
|
+
motion.div,
|
|
391
|
+
{
|
|
392
|
+
className: styles.overlay,
|
|
393
|
+
initial: { opacity: 0 },
|
|
394
|
+
animate: { opacity: 1 },
|
|
395
|
+
exit: { opacity: 0 },
|
|
396
|
+
children: /* @__PURE__ */ jsxs(
|
|
397
|
+
motion.div,
|
|
398
|
+
{
|
|
399
|
+
className: `${styles.drawer} flex_col`,
|
|
400
|
+
ref: loginDrawerRef,
|
|
401
|
+
initial: { x: "100%" },
|
|
402
|
+
animate: { x: 0 },
|
|
403
|
+
exit: { x: "100%" },
|
|
404
|
+
transition: { type: "tween", duration: 0.3 },
|
|
405
|
+
role: "dialog",
|
|
406
|
+
"aria-modal": "true",
|
|
407
|
+
"aria-label": "Login options",
|
|
408
|
+
children: [
|
|
409
|
+
/* @__PURE__ */ jsxs("div", { className: styles.header, children: [
|
|
410
|
+
/* @__PURE__ */ jsx(
|
|
411
|
+
"a",
|
|
412
|
+
{
|
|
413
|
+
href: window.location.href.split("/")[3] === "invest" ? "/invest" : "/",
|
|
414
|
+
"aria-label": "return to home page",
|
|
415
|
+
children: /* @__PURE__ */ jsx(
|
|
416
|
+
"img",
|
|
417
|
+
{
|
|
418
|
+
src: "https://www.axos.com/images/1sBwCIn5mqOg5DK2uXDJPc/axb_mobile_logo.png",
|
|
419
|
+
alt: "",
|
|
420
|
+
width: 86,
|
|
421
|
+
height: 19
|
|
422
|
+
}
|
|
423
|
+
)
|
|
385
424
|
}
|
|
386
|
-
)
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
425
|
+
),
|
|
426
|
+
/* @__PURE__ */ jsx("span", { className: styles.loginDrawerTitle, children: "Log in" }),
|
|
427
|
+
/* @__PURE__ */ jsx(
|
|
428
|
+
"button",
|
|
429
|
+
{
|
|
430
|
+
type: "button",
|
|
431
|
+
className: `${styles.close} flex_col`,
|
|
432
|
+
"aria-label": "Close login options",
|
|
433
|
+
onClick: handleLoginDrawerClose,
|
|
434
|
+
children: /* @__PURE__ */ jsx(
|
|
435
|
+
"svg",
|
|
436
|
+
{
|
|
437
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
438
|
+
width: "24",
|
|
439
|
+
height: "24",
|
|
440
|
+
viewBox: "0 0 24 24",
|
|
441
|
+
fill: "none",
|
|
442
|
+
"aria-hidden": "true",
|
|
443
|
+
children: /* @__PURE__ */ jsx(
|
|
444
|
+
"path",
|
|
397
445
|
{
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
viewBox: "0 0 20 12",
|
|
401
|
-
fill: "none",
|
|
402
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
403
|
-
style: { marginLeft: 12 },
|
|
404
|
-
children: /* @__PURE__ */ jsx(
|
|
405
|
-
"path",
|
|
406
|
-
{
|
|
407
|
-
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
408
|
-
fill: "white"
|
|
409
|
-
}
|
|
410
|
-
)
|
|
446
|
+
d: "M20.2812 2.65625L21.3419 3.71691L13.0602 11.9982L21.3419 20.2812L20.2812 21.3419L11.9982 13.0602L3.71691 21.3419L2.65625 20.2812L10.9377 11.9982L2.65625 3.71691L3.71691 2.65625L11.9982 10.9377L20.2812 2.65625Z",
|
|
447
|
+
fill: "#14263D"
|
|
411
448
|
}
|
|
412
449
|
)
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
children: Object.entries(currentLevel.items).map(
|
|
433
|
-
([key, value]) => {
|
|
434
|
-
const hasChildren = typeof value === "object";
|
|
435
|
-
const isLogin = key === "Log in";
|
|
436
|
-
return /* @__PURE__ */ jsx("li", { children: hasChildren ? /* @__PURE__ */ jsxs(
|
|
437
|
-
"button",
|
|
438
|
-
{
|
|
439
|
-
className: styles.menuItem,
|
|
440
|
-
onClick: () => handleClick(key),
|
|
441
|
-
"aria-label": isLogin ? "Open login options" : `open submenu for ${key}`,
|
|
442
|
-
"aria-expanded": isLogin ? loginAccordionOpen : void 0,
|
|
443
|
-
children: [
|
|
444
|
-
/* @__PURE__ */ jsx("span", { children: key }),
|
|
445
|
-
/* @__PURE__ */ jsx("span", { className: styles.chevron, children: /* @__PURE__ */ jsx(
|
|
446
|
-
"svg",
|
|
447
|
-
{
|
|
448
|
-
className: styles.chevronIcon,
|
|
449
|
-
width: 12,
|
|
450
|
-
height: 20,
|
|
451
|
-
viewBox: "0 0 12 20",
|
|
452
|
-
fill: "none",
|
|
453
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
454
|
-
style: isLogin && loginAccordionOpen ? { transform: "rotate(180deg)" } : void 0,
|
|
455
|
-
children: /* @__PURE__ */ jsx(
|
|
456
|
-
"path",
|
|
457
|
-
{
|
|
458
|
-
d: "M1.76378 0.46875L11.2941 9.99908L1.76378 19.5294L0.703125 18.4687L9.17295 9.99908L0.703125 1.52941L1.76378 0.46875Z",
|
|
459
|
-
fill: "#4A5560"
|
|
460
|
-
}
|
|
461
|
-
)
|
|
462
|
-
}
|
|
463
|
-
) })
|
|
464
|
-
]
|
|
465
|
-
}
|
|
466
|
-
) : /* @__PURE__ */ jsx(
|
|
467
|
-
Link,
|
|
468
|
-
{
|
|
469
|
-
href: `${value}${queryString && !value.includes("?") ? `?${queryString}` : ""}`,
|
|
470
|
-
className: styles.menuItem,
|
|
471
|
-
children: /* @__PURE__ */ jsx("span", { children: key })
|
|
472
|
-
}
|
|
473
|
-
) }, key);
|
|
474
|
-
}
|
|
475
|
-
)
|
|
476
|
-
},
|
|
477
|
-
currentLevel.title
|
|
478
|
-
)
|
|
479
|
-
}
|
|
480
|
-
) }),
|
|
481
|
-
/* @__PURE__ */ jsx("div", { className: `${styles.quickLinks} flex middle between`, children: quickLinks.map((link) => /* @__PURE__ */ jsxs(
|
|
482
|
-
"a",
|
|
450
|
+
}
|
|
451
|
+
)
|
|
452
|
+
}
|
|
453
|
+
)
|
|
454
|
+
] }),
|
|
455
|
+
/* @__PURE__ */ jsx("div", { className: styles.loginDrawerContent, children: /* @__PURE__ */ jsx("div", { className: styles.loginAccordion, children: /* @__PURE__ */ jsx(
|
|
456
|
+
motion.ul,
|
|
457
|
+
{
|
|
458
|
+
className: styles.loginAccordionList,
|
|
459
|
+
"aria-label": "Login options",
|
|
460
|
+
variants: loginLinksContainerVariants,
|
|
461
|
+
initial: "hidden",
|
|
462
|
+
animate: "visible",
|
|
463
|
+
transition: {
|
|
464
|
+
staggerChildren: 0.06,
|
|
465
|
+
delayChildren: 0.12
|
|
466
|
+
},
|
|
467
|
+
children: loginGroups.map((group, groupIndex) => /* @__PURE__ */ jsxs(
|
|
468
|
+
motion.li,
|
|
483
469
|
{
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
470
|
+
className: styles.loginAccordionGroup,
|
|
471
|
+
variants: loginLinkItemVariants,
|
|
472
|
+
transition: {
|
|
473
|
+
duration: 0.25,
|
|
474
|
+
ease: "easeOut",
|
|
475
|
+
delay: 0.12 + groupIndex * 0.05
|
|
476
|
+
},
|
|
487
477
|
children: [
|
|
478
|
+
/* @__PURE__ */ jsx("span", { className: styles.loginAccordionHeading, children: group.heading }),
|
|
488
479
|
/* @__PURE__ */ jsx(
|
|
489
|
-
|
|
480
|
+
motion.ul,
|
|
490
481
|
{
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
482
|
+
className: styles.loginAccordionGroupList,
|
|
483
|
+
variants: loginLinksContainerVariants,
|
|
484
|
+
initial: "hidden",
|
|
485
|
+
animate: "visible",
|
|
486
|
+
transition: {
|
|
487
|
+
staggerChildren: 0.04,
|
|
488
|
+
delayChildren: 0.18 + groupIndex * 0.1
|
|
489
|
+
},
|
|
490
|
+
children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
491
|
+
motion.li,
|
|
492
|
+
{
|
|
493
|
+
variants: loginLinkItemVariants,
|
|
494
|
+
transition: {
|
|
495
|
+
duration: 0.25,
|
|
496
|
+
ease: "easeOut"
|
|
497
|
+
},
|
|
498
|
+
children: /* @__PURE__ */ jsx(
|
|
499
|
+
Link,
|
|
500
|
+
{
|
|
501
|
+
href: item.url + (queryString && !item.url.includes("?") ? `?${queryString}` : ""),
|
|
502
|
+
className: styles.menuItem,
|
|
503
|
+
children: /* @__PURE__ */ jsx("span", { children: item.title })
|
|
504
|
+
}
|
|
505
|
+
)
|
|
506
|
+
},
|
|
507
|
+
item.title
|
|
508
|
+
))
|
|
496
509
|
}
|
|
497
|
-
)
|
|
498
|
-
/* @__PURE__ */ jsx("span", { children: link.title })
|
|
510
|
+
)
|
|
499
511
|
]
|
|
500
512
|
},
|
|
501
|
-
|
|
502
|
-
))
|
|
503
|
-
|
|
504
|
-
|
|
513
|
+
group.heading
|
|
514
|
+
))
|
|
515
|
+
}
|
|
516
|
+
) }) })
|
|
505
517
|
]
|
|
506
518
|
}
|
|
507
519
|
)
|
|
@@ -1,30 +1,38 @@
|
|
|
1
|
-
import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css';const overlay = "
|
|
2
|
-
const drawer = "
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
1
|
+
import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css';const overlay = "_overlay_5yjt9_1";
|
|
2
|
+
const drawer = "_drawer_5yjt9_9";
|
|
3
|
+
const mobileNavRow = "_mobileNavRow_5yjt9_29";
|
|
4
|
+
const loginTrigger = "_loginTrigger_5yjt9_35";
|
|
5
|
+
const hamburger = "_hamburger_5yjt9_51";
|
|
6
|
+
const loginDrawerTitle = "_loginDrawerTitle_5yjt9_73";
|
|
7
|
+
const loginDrawerContent = "_loginDrawerContent_5yjt9_79";
|
|
8
|
+
const header = "_header_5yjt9_85";
|
|
9
|
+
const back = "_back_5yjt9_96";
|
|
10
|
+
const close = "_close_5yjt9_104";
|
|
11
|
+
const levelContainer = "_levelContainer_5yjt9_115";
|
|
12
|
+
const level = "_level_5yjt9_115";
|
|
13
|
+
const levelTitle = "_levelTitle_5yjt9_131";
|
|
14
|
+
const menu = "_menu_5yjt9_136";
|
|
15
|
+
const menuItem = "_menuItem_5yjt9_152";
|
|
16
|
+
const loginAccordion = "_loginAccordion_5yjt9_168";
|
|
17
|
+
const loginAccordionList = "_loginAccordionList_5yjt9_172";
|
|
18
|
+
const loginAccordionGroup = "_loginAccordionGroup_5yjt9_178";
|
|
19
|
+
const loginAccordionHeading = "_loginAccordionHeading_5yjt9_207";
|
|
20
|
+
const loginAccordionGroupList = "_loginAccordionGroupList_5yjt9_217";
|
|
21
|
+
const loginHeading = "_loginHeading_5yjt9_261";
|
|
22
|
+
const chevron = "_chevron_5yjt9_271";
|
|
23
|
+
const chevronIcon = "_chevronIcon_5yjt9_276";
|
|
24
|
+
const quickLinks = "_quickLinks_5yjt9_287";
|
|
25
|
+
const quickLink = "_quickLink_5yjt9_287";
|
|
26
|
+
const sr_only = "_sr_only_5yjt9_311";
|
|
27
|
+
const loginAccordionOverlay = "_loginAccordionOverlay_5yjt9_336";
|
|
24
28
|
const styles = {
|
|
25
29
|
overlay,
|
|
26
30
|
drawer,
|
|
31
|
+
mobileNavRow,
|
|
32
|
+
loginTrigger,
|
|
27
33
|
hamburger,
|
|
34
|
+
loginDrawerTitle,
|
|
35
|
+
loginDrawerContent,
|
|
28
36
|
header,
|
|
29
37
|
back,
|
|
30
38
|
close,
|
|
@@ -33,7 +41,6 @@ const styles = {
|
|
|
33
41
|
levelTitle,
|
|
34
42
|
menu,
|
|
35
43
|
menuItem,
|
|
36
|
-
loginAccordionOverlay,
|
|
37
44
|
loginAccordion,
|
|
38
45
|
loginAccordionList,
|
|
39
46
|
loginAccordionGroup,
|
|
@@ -44,7 +51,8 @@ const styles = {
|
|
|
44
51
|
chevronIcon,
|
|
45
52
|
quickLinks,
|
|
46
53
|
quickLink,
|
|
47
|
-
sr_only
|
|
54
|
+
sr_only,
|
|
55
|
+
loginAccordionOverlay
|
|
48
56
|
};
|
|
49
57
|
export {
|
|
50
58
|
back,
|
|
@@ -64,9 +72,13 @@ export {
|
|
|
64
72
|
loginAccordionHeading,
|
|
65
73
|
loginAccordionList,
|
|
66
74
|
loginAccordionOverlay,
|
|
75
|
+
loginDrawerContent,
|
|
76
|
+
loginDrawerTitle,
|
|
67
77
|
loginHeading,
|
|
78
|
+
loginTrigger,
|
|
68
79
|
menu,
|
|
69
80
|
menuItem,
|
|
81
|
+
mobileNavRow,
|
|
70
82
|
overlay,
|
|
71
83
|
quickLink,
|
|
72
84
|
quickLinks,
|
|
@@ -254,8 +254,11 @@ export declare const menuData: {
|
|
|
254
254
|
"Wholesale and Correspondent": string;
|
|
255
255
|
"Advisor Login": string;
|
|
256
256
|
};
|
|
257
|
+
Footer: {
|
|
258
|
+
"Customer Support": string;
|
|
259
|
+
"Return to Application": string;
|
|
260
|
+
};
|
|
257
261
|
};
|
|
258
|
-
"Return to Application": string;
|
|
259
262
|
};
|
|
260
263
|
export type FlattenedLoginItem = {
|
|
261
264
|
title: string;
|
|
@@ -600,12 +600,10 @@ const menuData = {
|
|
|
600
600
|
},
|
|
601
601
|
"Log in": {
|
|
602
602
|
Personal: {
|
|
603
|
-
// "Personal Banking Home": findMoreAxosDomains("{AXOSBANK}/personal"),
|
|
604
603
|
"Account Login": findMoreAxosDomains("{ONLINEBANKING}/auth/Login"),
|
|
605
604
|
"Make a Payment": "https://loanpayment.axosbank.com"
|
|
606
605
|
},
|
|
607
606
|
Business: {
|
|
608
|
-
// "Business Banking Home": findMoreAxosDomains("{AXOSBANK}/business"),
|
|
609
607
|
"Business Banking Login": findMoreAxosDomains(
|
|
610
608
|
"{AXOSBANK}/business/login"
|
|
611
609
|
),
|
|
@@ -617,14 +615,14 @@ const menuData = {
|
|
|
617
615
|
)
|
|
618
616
|
},
|
|
619
617
|
Partners: {
|
|
620
|
-
// "Partners Home": findMoreAxosDomains("{AXOSBANK}/partners"),
|
|
621
618
|
"Wholesale and Correspondent": "https://thirdpartylending.axosbank.com/index",
|
|
622
619
|
"Advisor Login": findMoreAxosDomains("{ARMS}")
|
|
620
|
+
},
|
|
621
|
+
Footer: {
|
|
622
|
+
"Customer Support": findMoreAxosDomains("{AXOSBANK}/customer-support"),
|
|
623
|
+
"Return to Application": findMoreAxosDomains("{AXOSBANK}/return-to-application")
|
|
623
624
|
}
|
|
624
|
-
}
|
|
625
|
-
"Return to Application": findMoreAxosDomains(
|
|
626
|
-
"{AXOSBANK}/return-to-application"
|
|
627
|
-
)
|
|
625
|
+
}
|
|
628
626
|
};
|
|
629
627
|
const getLoginGroups = () => {
|
|
630
628
|
const loginSection = menuData["Log in"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._overlay_5yjt9_1 {
|
|
2
2
|
position: fixed;
|
|
3
3
|
inset: 0;
|
|
4
4
|
height: 100vh;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
z-index: 10000;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
._drawer_5yjt9_9 {
|
|
10
10
|
background: #fff;
|
|
11
11
|
border-radius: 0 0 0 1rem;
|
|
12
12
|
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
|
|
@@ -22,22 +22,67 @@
|
|
|
22
22
|
z-index: 10001;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
._drawer_5yjt9_9::-webkit-scrollbar {
|
|
26
26
|
display: none;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
._mobileNavRow_5yjt9_29 {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 16px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
._loginTrigger_5yjt9_35 {
|
|
36
|
+
background: transparent;
|
|
37
|
+
border: none;
|
|
38
|
+
color: var(--_1073cm83);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
font-family: var(--header-font-family);
|
|
41
|
+
font-size: 1rem;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
padding: 0.25rem 0;
|
|
44
|
+
transition: opacity 0.2s ease;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
._loginTrigger_5yjt9_35:hover {
|
|
48
|
+
opacity: 0.85;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
._hamburger_5yjt9_51 {
|
|
30
52
|
background: transparent;
|
|
31
53
|
border: none;
|
|
32
54
|
cursor: pointer;
|
|
33
55
|
transition: opacity 0.3s ease;
|
|
56
|
+
position: relative;
|
|
34
57
|
}
|
|
35
58
|
|
|
36
|
-
.
|
|
59
|
+
._hamburger_5yjt9_51::before {
|
|
60
|
+
content: "";
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: -7px;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
height: 28px;
|
|
65
|
+
border-left: 2px solid #1f1f1f;
|
|
66
|
+
top: -2px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
._hamburger_5yjt9_51:hover {
|
|
37
70
|
opacity: 0.8;
|
|
38
71
|
}
|
|
39
72
|
|
|
40
|
-
.
|
|
73
|
+
._loginDrawerTitle_5yjt9_73 {
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
font-size: 1rem;
|
|
76
|
+
color: var(--_1073cm83);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
._loginDrawerContent_5yjt9_79 {
|
|
80
|
+
padding: 1rem 1.2rem 1.2rem;
|
|
81
|
+
overflow: auto;
|
|
82
|
+
flex: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
._header_5yjt9_85 {
|
|
41
86
|
display: flex;
|
|
42
87
|
align-items: center;
|
|
43
88
|
background: #f4f4f4;
|
|
@@ -48,7 +93,7 @@
|
|
|
48
93
|
z-index: 1;
|
|
49
94
|
}
|
|
50
95
|
|
|
51
|
-
.
|
|
96
|
+
._back_5yjt9_96 {
|
|
52
97
|
color: var(--_1073cm83);
|
|
53
98
|
font-size: 1rem;
|
|
54
99
|
font-weight: 700;
|
|
@@ -56,23 +101,23 @@
|
|
|
56
101
|
padding: 0;
|
|
57
102
|
}
|
|
58
103
|
|
|
59
|
-
.
|
|
104
|
+
._close_5yjt9_104 {
|
|
60
105
|
font-size: 1.3rem;
|
|
61
106
|
}
|
|
62
107
|
|
|
63
|
-
.
|
|
64
|
-
.
|
|
108
|
+
._back_5yjt9_96,
|
|
109
|
+
._close_5yjt9_104 {
|
|
65
110
|
background: none;
|
|
66
111
|
border: none;
|
|
67
112
|
cursor: pointer;
|
|
68
113
|
}
|
|
69
114
|
|
|
70
|
-
.
|
|
115
|
+
._levelContainer_5yjt9_115 {
|
|
71
116
|
height: 100%;
|
|
72
117
|
position: relative;
|
|
73
118
|
}
|
|
74
119
|
|
|
75
|
-
.
|
|
120
|
+
._level_5yjt9_115 {
|
|
76
121
|
background: var(--_1073cm86);
|
|
77
122
|
color: var(--_1073cm85);
|
|
78
123
|
font-size: 0.9rem;
|
|
@@ -83,12 +128,12 @@
|
|
|
83
128
|
z-index: 1;
|
|
84
129
|
}
|
|
85
130
|
|
|
86
|
-
.
|
|
131
|
+
._levelTitle_5yjt9_131 {
|
|
87
132
|
font: 700 0.9rem / 1.39 var(--main-font-family);
|
|
88
133
|
letter-spacing: 0.4px;
|
|
89
134
|
}
|
|
90
135
|
|
|
91
|
-
.
|
|
136
|
+
._menu_5yjt9_136 {
|
|
92
137
|
background-color: transparent;
|
|
93
138
|
list-style: none;
|
|
94
139
|
margin: 0;
|
|
@@ -97,14 +142,14 @@
|
|
|
97
142
|
position: relative;
|
|
98
143
|
}
|
|
99
144
|
|
|
100
|
-
.
|
|
145
|
+
._menu_5yjt9_136 li {
|
|
101
146
|
color: var(--_1073cm83);
|
|
102
147
|
font-family: var(--header-font-family);
|
|
103
148
|
font-weight: 500;
|
|
104
149
|
border-top: 1px solid #e9e9e9;
|
|
105
150
|
}
|
|
106
151
|
|
|
107
|
-
.
|
|
152
|
+
._menuItem_5yjt9_152 {
|
|
108
153
|
display: flex;
|
|
109
154
|
align-items: center;
|
|
110
155
|
background: none;
|
|
@@ -120,90 +165,90 @@
|
|
|
120
165
|
width: 100%;
|
|
121
166
|
}
|
|
122
167
|
|
|
123
|
-
.
|
|
124
|
-
position: absolute;
|
|
125
|
-
inset: 0;
|
|
126
|
-
z-index: 10;
|
|
127
|
-
background: #14263d;
|
|
128
|
-
color: #fff;
|
|
129
|
-
overflow: auto;
|
|
130
|
-
padding: 1rem 1.2rem 1.2rem;
|
|
131
|
-
isolation: isolate;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
._loginAccordionOverlay_nfhr7_123::before {
|
|
135
|
-
content: "";
|
|
136
|
-
position: absolute;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
right: 0;
|
|
139
|
-
height: 100%;
|
|
140
|
-
width: 76%;
|
|
141
|
-
background: url("https://www.axos.com/images/4rvifCx4C5Z57fagaQiEKl/current__1_.png")
|
|
142
|
-
left top / cover no-repeat;
|
|
143
|
-
z-index: -1;
|
|
144
|
-
opacity: 0.2;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
._loginAccordion_nfhr7_123 {
|
|
168
|
+
._loginAccordion_5yjt9_168 {
|
|
148
169
|
padding: 0;
|
|
149
170
|
}
|
|
150
171
|
|
|
151
|
-
.
|
|
172
|
+
._loginAccordionList_5yjt9_172 {
|
|
152
173
|
list-style: none;
|
|
153
174
|
margin: 0;
|
|
154
175
|
padding: 0;
|
|
155
176
|
}
|
|
156
177
|
|
|
157
|
-
.
|
|
158
|
-
margin-top: 12px;
|
|
178
|
+
._loginAccordionGroup_5yjt9_178 {
|
|
159
179
|
padding-block: 4px;
|
|
160
180
|
}
|
|
161
181
|
|
|
162
|
-
.
|
|
182
|
+
._loginAccordionGroup_5yjt9_178 + ._loginAccordionGroup_5yjt9_178 {
|
|
183
|
+
margin-top: 2px;
|
|
184
|
+
position: relative;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
._loginAccordionGroup_5yjt9_178:nth-child(4):is(:last-child) {
|
|
188
|
+
padding-top: 12px;
|
|
189
|
+
margin-top: 12px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
._loginAccordionGroup_5yjt9_178:nth-child(4):is(:last-child)::before {
|
|
193
|
+
content: "";
|
|
194
|
+
background-color: #8f8f8f;
|
|
195
|
+
height: 2px;
|
|
196
|
+
opacity: 0.3;
|
|
197
|
+
position: absolute;
|
|
198
|
+
right: 8px;
|
|
199
|
+
top: 0;
|
|
200
|
+
width: 94%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
._loginAccordionGroup_5yjt9_178:nth-child(4):is(:last-child) > span {
|
|
204
|
+
display: none;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
._loginAccordionHeading_5yjt9_207 {
|
|
163
208
|
display: block;
|
|
164
209
|
font-family: var(--header-font-family);
|
|
165
210
|
font-weight: 700;
|
|
166
|
-
font-size:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
color: #fff;
|
|
211
|
+
font-size: 18px;
|
|
212
|
+
line-height: 1.39;
|
|
213
|
+
|
|
170
214
|
padding: 0.35rem 0 0.2rem;
|
|
171
215
|
}
|
|
172
216
|
|
|
173
|
-
.
|
|
217
|
+
._loginAccordionGroupList_5yjt9_217 {
|
|
174
218
|
list-style: none;
|
|
175
219
|
margin: 0;
|
|
176
|
-
padding: 0 0 0
|
|
220
|
+
padding: 0 0 0 8px;
|
|
177
221
|
}
|
|
178
222
|
|
|
179
|
-
.
|
|
223
|
+
._loginAccordionList_5yjt9_172 li {
|
|
180
224
|
font-family: var(--header-font-family);
|
|
181
225
|
font-weight: 500;
|
|
182
226
|
}
|
|
183
227
|
|
|
184
|
-
.
|
|
228
|
+
._loginAccordionList_5yjt9_172 li li {
|
|
185
229
|
border-top: none;
|
|
186
|
-
color: #
|
|
187
|
-
font-weight:
|
|
230
|
+
color: #1e629a;
|
|
231
|
+
font-weight: 400;
|
|
188
232
|
padding-block: 3px;
|
|
233
|
+
font-family: var(--main-font-family);
|
|
189
234
|
}
|
|
190
235
|
|
|
191
|
-
.
|
|
236
|
+
._loginAccordionList_5yjt9_172 ._menuItem_5yjt9_152 {
|
|
192
237
|
display: inline;
|
|
193
238
|
padding-block: 0px;
|
|
194
239
|
}
|
|
195
240
|
|
|
196
|
-
.
|
|
241
|
+
._loginAccordionList_5yjt9_172 ._menuItem_5yjt9_152:hover {
|
|
197
242
|
opacity: 0.7;
|
|
198
243
|
}
|
|
199
244
|
|
|
200
|
-
.
|
|
245
|
+
._loginAccordion_5yjt9_168 > ._menuItem_5yjt9_152 {
|
|
201
246
|
padding-block: 4px;
|
|
202
247
|
position: relative;
|
|
203
248
|
isolation: isolate;
|
|
204
249
|
}
|
|
205
250
|
|
|
206
|
-
.
|
|
251
|
+
._loginAccordion_5yjt9_168 > ._menuItem_5yjt9_152::after {
|
|
207
252
|
content: "return to menu";
|
|
208
253
|
position: absolute;
|
|
209
254
|
right: 36px;
|
|
@@ -213,7 +258,7 @@
|
|
|
213
258
|
letter-spacing: 0.5px;
|
|
214
259
|
}
|
|
215
260
|
|
|
216
|
-
.
|
|
261
|
+
._loginHeading_5yjt9_261 {
|
|
217
262
|
font-family: var(--header-font-family);
|
|
218
263
|
font-size: 20px;
|
|
219
264
|
font-weight: 700;
|
|
@@ -223,23 +268,23 @@
|
|
|
223
268
|
gap: 8px;
|
|
224
269
|
}
|
|
225
270
|
|
|
226
|
-
.
|
|
271
|
+
._chevron_5yjt9_271 {
|
|
227
272
|
font-size: 1.2rem;
|
|
228
273
|
margin-left: auto;
|
|
229
274
|
}
|
|
230
275
|
|
|
231
|
-
.
|
|
276
|
+
._chevronIcon_5yjt9_276 {
|
|
232
277
|
height: auto;
|
|
233
278
|
margin-right: 10px;
|
|
234
279
|
max-width: 8px;
|
|
235
280
|
}
|
|
236
281
|
|
|
237
|
-
body:has(.
|
|
282
|
+
body:has(._drawer_5yjt9_9) {
|
|
238
283
|
overflow-y: hidden;
|
|
239
284
|
position: relative;
|
|
240
285
|
}
|
|
241
286
|
|
|
242
|
-
.
|
|
287
|
+
._quickLinks_5yjt9_287 {
|
|
243
288
|
background-color: #e8f7ff;
|
|
244
289
|
bottom: 0;
|
|
245
290
|
box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
|
|
@@ -249,7 +294,7 @@ body:has(._drawer_nfhr7_9) {
|
|
|
249
294
|
position: sticky;
|
|
250
295
|
}
|
|
251
296
|
|
|
252
|
-
.
|
|
297
|
+
._quickLink_5yjt9_287 {
|
|
253
298
|
display: flex;
|
|
254
299
|
align-items: center;
|
|
255
300
|
color: var(--_1073cm83);
|
|
@@ -263,7 +308,7 @@ body:has(._drawer_nfhr7_9) {
|
|
|
263
308
|
text-transform: uppercase;
|
|
264
309
|
}
|
|
265
310
|
|
|
266
|
-
.
|
|
311
|
+
._sr_only_5yjt9_311 {
|
|
267
312
|
position: absolute;
|
|
268
313
|
border: 0;
|
|
269
314
|
clip: rect(0, 0, 0, 0);
|
|
@@ -276,19 +321,25 @@ body:has(._drawer_nfhr7_9) {
|
|
|
276
321
|
}
|
|
277
322
|
|
|
278
323
|
@media (max-width: 540px) {
|
|
279
|
-
.
|
|
324
|
+
._drawer_5yjt9_9 {
|
|
280
325
|
border-radius: 0;
|
|
281
326
|
max-width: none;
|
|
282
327
|
width: 100%;
|
|
283
328
|
}
|
|
284
|
-
.
|
|
329
|
+
._menu_5yjt9_136 li + li {
|
|
285
330
|
margin-top: 3px;
|
|
286
331
|
}
|
|
287
|
-
.
|
|
332
|
+
._menuItem_5yjt9_152 {
|
|
288
333
|
font-size: 0.9rem;
|
|
289
334
|
padding: 0.65rem 0;
|
|
290
335
|
}
|
|
291
|
-
.
|
|
336
|
+
._loginAccordionOverlay_5yjt9_336::before {
|
|
292
337
|
opacity: 0.1;
|
|
293
338
|
}
|
|
294
339
|
}
|
|
340
|
+
|
|
341
|
+
@media (min-width: 541px) {
|
|
342
|
+
._drawer_5yjt9_9:has(._loginDrawerContent_5yjt9_79) {
|
|
343
|
+
max-width: 345px;
|
|
344
|
+
}
|
|
345
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axos-web-dev/shared-components",
|
|
3
3
|
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "1.0.100-dev.69-mobileLogin.
|
|
4
|
+
"version": "1.0.100-dev.69-mobileLogin.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|