@axos-web-dev/shared-components 1.0.100-dev.69-mobileLogin.2 → 1.0.100-dev.69-mobileLogin.4

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.
@@ -24,17 +24,13 @@ 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: {}
34
30
  };
35
31
  const loginLinkItemVariants = {
36
- hidden: { opacity: 0, y: -8 },
37
- visible: { opacity: 1, y: 0 }
32
+ hidden: { opacity: 0, x: 8 },
33
+ visible: { opacity: 1, x: 0 }
38
34
  };
39
35
  const MobileDrawerMenu = () => {
40
36
  const pathname = usePathname();
@@ -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 [loginAccordionOpen, setLoginAccordionOpen] = useState(false);
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__ */ jsx(
120
- "button",
121
- {
122
- onClick: handleToggle,
123
- className: `${styles.hamburger} flex_col`,
124
- "aria-label": "open navigation menu",
125
- children: /* @__PURE__ */ jsx(
126
- "svg",
127
- {
128
- width: 24,
129
- height: 24,
130
- viewBox: "0 0 24 24",
131
- fill: "none",
132
- xmlns: "http://www.w3.org/2000/svg",
133
- "aria-hidden": "true",
134
- children: /* @__PURE__ */ jsx(
135
- "path",
136
- {
137
- fillRule: "evenodd",
138
- clipRule: "evenodd",
139
- d: "M22.5 15.75V17.25H1.5V15.75H22.5ZM22.5 11.25V12.75H1.5V11.25H22.5ZM22.5 6.75V8.25H1.5V6.75H22.5Z",
140
- fill: "#14263D"
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
- "div",
171
- {
172
- className: styles.header,
173
- style: loginAccordionOpen ? { background: "#e9f8ff" } : void 0,
174
- children: [
175
- stack.length > 1 ? /* @__PURE__ */ jsxs(
176
- "button",
177
- {
178
- onClick: handleBack,
179
- className: styles.back,
180
- "aria-label": "return to previous menu",
181
- children: [
182
- /* @__PURE__ */ jsx(
183
- "svg",
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
- width: 15,
186
- height: 12,
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
- /* @__PURE__ */ jsx("span", { className: styles.prevlevel, children: prevLevel.title })
201
- ]
202
- }
203
- ) : /* @__PURE__ */ jsx(
204
- "a",
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
- href: window.location.href.split("/")[3] === "invest" ? "/invest" : "/",
207
- "aria-label": "return to home page",
208
- children: /* @__PURE__ */ jsx(
209
- "img",
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
- /* @__PURE__ */ jsx(
220
- "button",
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
- className: `${styles.close} flex_col`,
223
- "aria-label": "close navigation menu",
224
- onClick: handleToggle,
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
- "svg",
255
+ "path",
227
256
  {
228
- xmlns: "http://www.w3.org/2000/svg",
229
- width: "24",
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__ */ jsxs("div", { className: styles.levelContainer, children: [
249
- stack.length === 1 && /* @__PURE__ */ jsx(AnimatePresence, { initial: false, children: loginAccordionOpen && /* @__PURE__ */ jsx(
250
- motion.div,
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.loginAccordionOverlay,
253
- initial: { opacity: 0, y: -12 },
254
- animate: {
255
- opacity: 1,
256
- y: 0,
257
- transition: loginAccordionTransition
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
- type: "button",
271
- className: styles.menuItem,
272
- onClick: () => setLoginAccordionOpen(false),
273
- "aria-label": "Close login options",
274
- children: [
275
- /* @__PURE__ */ jsxs("span", { className: styles.loginHeading, children: [
276
- "Log in",
277
- /* @__PURE__ */ jsx(
278
- "img",
279
- {
280
- src: "https://www.axos.com/images/1Nb30NbckAMdQNJv7IldNW/user-interface.png",
281
- alt: "",
282
- width: 18,
283
- height: 18,
284
- "aria-hidden": "true"
285
- }
286
- )
287
- ] }),
288
- /* @__PURE__ */ jsx(
289
- "span",
290
- {
291
- className: styles.chevron,
292
- "aria-hidden": "true",
293
- style: { transform: "rotate(180deg)" },
294
- children: /* @__PURE__ */ jsx(
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,189 @@ 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: "#98DDFF"
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
- motion.ul,
369
+ "img",
324
370
  {
325
- className: styles.loginAccordionList,
326
- "aria-label": "Login options",
327
- variants: loginLinksContainerVariants,
328
- initial: "hidden",
329
- animate: "visible",
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__ */ jsxs("div", { className: "bg_white", children: [
388
- /* @__PURE__ */ jsxs(
389
- "span",
390
- {
391
- className: `${styles.level} flex middle`,
392
- "aria-label": "current menu level",
393
- children: [
394
- /* @__PURE__ */ jsx("h2", { className: styles.levelTitle, id: "menu-level", children: currentLevel.title }),
395
- /* @__PURE__ */ jsx(
396
- "svg",
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
- width: 15,
399
- height: 12,
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
- /* @__PURE__ */ jsx("nav", { "aria-label": "main navigation menu", children: /* @__PURE__ */ jsx(
417
- AnimatePresence,
418
- {
419
- custom: direction,
420
- mode: "sync",
421
- initial: false,
422
- children: /* @__PURE__ */ jsx(
423
- motion.ul,
424
- {
425
- className: styles.menu,
426
- custom: direction,
427
- variants: slideVariants,
428
- initial: "enter",
429
- animate: "center",
430
- exit: "exit",
431
- transition: { duration: 0.3, ease: "linear" },
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
- href: link.url + (queryString && !link.url.includes("?") ? `?${queryString}` : ""),
485
- className: `${styles.quickLink} flex_col middle`,
486
- "aria-label": `Visit ${link.title} page`,
470
+ className: styles.loginAccordionGroup,
471
+ variants: loginLinkItemVariants,
472
+ "aria-label": `${group.heading} login options`,
473
+ transition: {
474
+ duration: 0.25,
475
+ ease: "easeOut",
476
+ delay: 0.12 + groupIndex * 0.05
477
+ },
487
478
  children: [
479
+ /* @__PURE__ */ jsx("span", { className: styles.loginAccordionHeading, children: group.heading }),
488
480
  /* @__PURE__ */ jsx(
489
- "img",
481
+ motion.ul,
490
482
  {
491
- src: link.icon,
492
- alt: "",
493
- height: 20,
494
- width: 20,
495
- loading: "lazy"
483
+ className: styles.loginAccordionGroupList,
484
+ variants: loginLinksContainerVariants,
485
+ initial: "hidden",
486
+ animate: "visible",
487
+ transition: {
488
+ staggerChildren: 0.04,
489
+ delayChildren: 0.18 + groupIndex * 0.1
490
+ },
491
+ children: group.items.map((item) => /* @__PURE__ */ jsx(
492
+ motion.li,
493
+ {
494
+ variants: loginLinkItemVariants,
495
+ "aria-label": `access ${item.title}`,
496
+ transition: {
497
+ duration: 0.25,
498
+ ease: "easeOut"
499
+ },
500
+ children: /* @__PURE__ */ jsx(
501
+ Link,
502
+ {
503
+ href: item.url + (queryString && !item.url.includes("?") ? `?${queryString}` : ""),
504
+ className: styles.menuItem,
505
+ children: /* @__PURE__ */ jsx("span", { children: item.title })
506
+ }
507
+ )
508
+ },
509
+ item.title
510
+ ))
496
511
  }
497
- ),
498
- /* @__PURE__ */ jsx("span", { children: link.title })
512
+ )
499
513
  ]
500
514
  },
501
- link.title
502
- )) })
503
- ] })
504
- ] })
515
+ group.heading
516
+ ))
517
+ }
518
+ ) }) })
505
519
  ]
506
520
  }
507
521
  )
@@ -1,30 +1,38 @@
1
- import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css';const overlay = "_overlay_nfhr7_1";
2
- const drawer = "_drawer_nfhr7_9";
3
- const hamburger = "_hamburger_nfhr7_29";
4
- const header = "_header_nfhr7_40";
5
- const back = "_back_nfhr7_51";
6
- const close = "_close_nfhr7_59";
7
- const levelContainer = "_levelContainer_nfhr7_70";
8
- const level = "_level_nfhr7_70";
9
- const levelTitle = "_levelTitle_nfhr7_86";
10
- const menu = "_menu_nfhr7_91";
11
- const menuItem = "_menuItem_nfhr7_107";
12
- const loginAccordionOverlay = "_loginAccordionOverlay_nfhr7_123";
13
- const loginAccordion = "_loginAccordion_nfhr7_123";
14
- const loginAccordionList = "_loginAccordionList_nfhr7_151";
15
- const loginAccordionGroup = "_loginAccordionGroup_nfhr7_157";
16
- const loginAccordionHeading = "_loginAccordionHeading_nfhr7_162";
17
- const loginAccordionGroupList = "_loginAccordionGroupList_nfhr7_173";
18
- const loginHeading = "_loginHeading_nfhr7_216";
19
- const chevron = "_chevron_nfhr7_226";
20
- const chevronIcon = "_chevronIcon_nfhr7_231";
21
- const quickLinks = "_quickLinks_nfhr7_242";
22
- const quickLink = "_quickLink_nfhr7_242";
23
- const sr_only = "_sr_only_nfhr7_266";
1
+ import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css';const overlay = "_overlay_7ufer_1";
2
+ const drawer = "_drawer_7ufer_9";
3
+ const mobileNavRow = "_mobileNavRow_7ufer_29";
4
+ const loginTrigger = "_loginTrigger_7ufer_35";
5
+ const hamburger = "_hamburger_7ufer_51";
6
+ const loginDrawerTitle = "_loginDrawerTitle_7ufer_73";
7
+ const loginDrawerContent = "_loginDrawerContent_7ufer_79";
8
+ const header = "_header_7ufer_85";
9
+ const back = "_back_7ufer_96";
10
+ const close = "_close_7ufer_104";
11
+ const levelContainer = "_levelContainer_7ufer_115";
12
+ const level = "_level_7ufer_115";
13
+ const levelTitle = "_levelTitle_7ufer_131";
14
+ const menu = "_menu_7ufer_136";
15
+ const menuItem = "_menuItem_7ufer_152";
16
+ const loginAccordion = "_loginAccordion_7ufer_168";
17
+ const loginAccordionList = "_loginAccordionList_7ufer_172";
18
+ const loginAccordionGroup = "_loginAccordionGroup_7ufer_178";
19
+ const loginAccordionHeading = "_loginAccordionHeading_7ufer_215";
20
+ const loginAccordionGroupList = "_loginAccordionGroupList_7ufer_225";
21
+ const loginHeading = "_loginHeading_7ufer_269";
22
+ const chevron = "_chevron_7ufer_279";
23
+ const chevronIcon = "_chevronIcon_7ufer_284";
24
+ const quickLinks = "_quickLinks_7ufer_295";
25
+ const quickLink = "_quickLink_7ufer_295";
26
+ const sr_only = "_sr_only_7ufer_319";
27
+ const loginAccordionOverlay = "_loginAccordionOverlay_7ufer_344";
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
+ Additional: {
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
+ Additional: {
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
- ._overlay_nfhr7_1 {
1
+ ._overlay_7ufer_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
- ._drawer_nfhr7_9 {
9
+ ._drawer_7ufer_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
- ._drawer_nfhr7_9::-webkit-scrollbar {
25
+ ._drawer_7ufer_9::-webkit-scrollbar {
26
26
  display: none;
27
27
  }
28
28
 
29
- ._hamburger_nfhr7_29 {
29
+ ._mobileNavRow_7ufer_29 {
30
+ display: flex;
31
+ align-items: center;
32
+ gap: 16px;
33
+ }
34
+
35
+ ._loginTrigger_7ufer_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_7ufer_35:hover {
48
+ opacity: 0.85;
49
+ }
50
+
51
+ ._hamburger_7ufer_51 {
30
52
  background: transparent;
31
53
  border: none;
32
54
  cursor: pointer;
33
55
  transition: opacity 0.3s ease;
56
+ position: relative;
57
+ }
58
+
59
+ ._hamburger_7ufer_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;
34
67
  }
35
68
 
36
- ._hamburger_nfhr7_29:hover {
69
+ ._hamburger_7ufer_51:hover {
37
70
  opacity: 0.8;
38
71
  }
39
72
 
40
- ._header_nfhr7_40 {
73
+ ._loginDrawerTitle_7ufer_73 {
74
+ font-weight: 700;
75
+ font-size: 1rem;
76
+ color: var(--_1073cm83);
77
+ }
78
+
79
+ ._loginDrawerContent_7ufer_79 {
80
+ padding: 1rem 1.2rem 1.2rem;
81
+ overflow: auto;
82
+ flex: 1;
83
+ }
84
+
85
+ ._header_7ufer_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
- ._back_nfhr7_51 {
96
+ ._back_7ufer_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
- ._close_nfhr7_59 {
104
+ ._close_7ufer_104 {
60
105
  font-size: 1.3rem;
61
106
  }
62
107
 
63
- ._back_nfhr7_51,
64
- ._close_nfhr7_59 {
108
+ ._back_7ufer_96,
109
+ ._close_7ufer_104 {
65
110
  background: none;
66
111
  border: none;
67
112
  cursor: pointer;
68
113
  }
69
114
 
70
- ._levelContainer_nfhr7_70 {
115
+ ._levelContainer_7ufer_115 {
71
116
  height: 100%;
72
117
  position: relative;
73
118
  }
74
119
 
75
- ._level_nfhr7_70 {
120
+ ._level_7ufer_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
- ._levelTitle_nfhr7_86 {
131
+ ._levelTitle_7ufer_131 {
87
132
  font: 700 0.9rem / 1.39 var(--main-font-family);
88
133
  letter-spacing: 0.4px;
89
134
  }
90
135
 
91
- ._menu_nfhr7_91 {
136
+ ._menu_7ufer_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
- ._menu_nfhr7_91 li {
145
+ ._menu_7ufer_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
- ._menuItem_nfhr7_107 {
152
+ ._menuItem_7ufer_152 {
108
153
  display: flex;
109
154
  align-items: center;
110
155
  background: none;
@@ -120,90 +165,98 @@
120
165
  width: 100%;
121
166
  }
122
167
 
123
- ._loginAccordionOverlay_nfhr7_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_7ufer_168 {
148
169
  padding: 0;
149
170
  }
150
171
 
151
- ._loginAccordionList_nfhr7_151 {
172
+ ._loginAccordionList_7ufer_172 {
152
173
  list-style: none;
153
174
  margin: 0;
154
175
  padding: 0;
155
176
  }
156
177
 
157
- ._loginAccordionGroup_nfhr7_157 {
158
- margin-top: 12px;
178
+ ._loginAccordionGroup_7ufer_178 {
159
179
  padding-block: 4px;
160
180
  }
161
181
 
162
- ._loginAccordionHeading_nfhr7_162 {
182
+ ._loginAccordionGroup_7ufer_178 + ._loginAccordionGroup_7ufer_178 {
183
+ margin-top: 2px;
184
+ position: relative;
185
+ }
186
+
187
+ ._loginAccordionGroup_7ufer_178:nth-child(4):is(:last-child) {
188
+ padding-top: 12px;
189
+ margin-top: 12px;
190
+ }
191
+
192
+ ._loginAccordionGroup_7ufer_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_7ufer_178:nth-child(4):is(:last-child) > span {
204
+ position: absolute;
205
+ border: 0;
206
+ clip: rect(0, 0, 0, 0);
207
+ height: 1px;
208
+ margin: -1px;
209
+ overflow: hidden;
210
+ padding: 0;
211
+ white-space: nowrap;
212
+ width: 1px;
213
+ }
214
+
215
+ ._loginAccordionHeading_7ufer_215 {
163
216
  display: block;
164
217
  font-family: var(--header-font-family);
165
218
  font-weight: 700;
166
- font-size: 0.85rem;
167
- text-transform: uppercase;
168
- letter-spacing: 0.04em;
169
- color: #fff;
219
+ font-size: 18px;
220
+ line-height: 1.39;
221
+
170
222
  padding: 0.35rem 0 0.2rem;
171
223
  }
172
224
 
173
- ._loginAccordionGroupList_nfhr7_173 {
225
+ ._loginAccordionGroupList_7ufer_225 {
174
226
  list-style: none;
175
227
  margin: 0;
176
- padding: 0 0 0 16px;
228
+ padding: 0 0 0 8px;
177
229
  }
178
230
 
179
- ._loginAccordionList_nfhr7_151 li {
231
+ ._loginAccordionList_7ufer_172 li {
180
232
  font-family: var(--header-font-family);
181
233
  font-weight: 500;
182
234
  }
183
235
 
184
- ._loginAccordionList_nfhr7_151 li li {
236
+ ._loginAccordionList_7ufer_172 li li {
185
237
  border-top: none;
186
- color: #98ddff;
187
- font-weight: 700;
238
+ color: #1e629a;
239
+ font-weight: 400;
188
240
  padding-block: 3px;
241
+ font-family: var(--main-font-family);
189
242
  }
190
243
 
191
- ._loginAccordionList_nfhr7_151 ._menuItem_nfhr7_107 {
244
+ ._loginAccordionList_7ufer_172 ._menuItem_7ufer_152 {
192
245
  display: inline;
193
246
  padding-block: 0px;
194
247
  }
195
248
 
196
- ._loginAccordionList_nfhr7_151 ._menuItem_nfhr7_107:hover {
249
+ ._loginAccordionList_7ufer_172 ._menuItem_7ufer_152:hover {
197
250
  opacity: 0.7;
198
251
  }
199
252
 
200
- ._loginAccordion_nfhr7_123 > ._menuItem_nfhr7_107 {
253
+ ._loginAccordion_7ufer_168 > ._menuItem_7ufer_152 {
201
254
  padding-block: 4px;
202
255
  position: relative;
203
256
  isolation: isolate;
204
257
  }
205
258
 
206
- ._loginAccordion_nfhr7_123 > ._menuItem_nfhr7_107::after {
259
+ ._loginAccordion_7ufer_168 > ._menuItem_7ufer_152::after {
207
260
  content: "return to menu";
208
261
  position: absolute;
209
262
  right: 36px;
@@ -213,7 +266,7 @@
213
266
  letter-spacing: 0.5px;
214
267
  }
215
268
 
216
- ._loginHeading_nfhr7_216 {
269
+ ._loginHeading_7ufer_269 {
217
270
  font-family: var(--header-font-family);
218
271
  font-size: 20px;
219
272
  font-weight: 700;
@@ -223,23 +276,23 @@
223
276
  gap: 8px;
224
277
  }
225
278
 
226
- ._chevron_nfhr7_226 {
279
+ ._chevron_7ufer_279 {
227
280
  font-size: 1.2rem;
228
281
  margin-left: auto;
229
282
  }
230
283
 
231
- ._chevronIcon_nfhr7_231 {
284
+ ._chevronIcon_7ufer_284 {
232
285
  height: auto;
233
286
  margin-right: 10px;
234
287
  max-width: 8px;
235
288
  }
236
289
 
237
- body:has(._drawer_nfhr7_9) {
290
+ body:has(._drawer_7ufer_9) {
238
291
  overflow-y: hidden;
239
292
  position: relative;
240
293
  }
241
294
 
242
- ._quickLinks_nfhr7_242 {
295
+ ._quickLinks_7ufer_295 {
243
296
  background-color: #e8f7ff;
244
297
  bottom: 0;
245
298
  box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
@@ -249,7 +302,7 @@ body:has(._drawer_nfhr7_9) {
249
302
  position: sticky;
250
303
  }
251
304
 
252
- ._quickLink_nfhr7_242 {
305
+ ._quickLink_7ufer_295 {
253
306
  display: flex;
254
307
  align-items: center;
255
308
  color: var(--_1073cm83);
@@ -263,7 +316,7 @@ body:has(._drawer_nfhr7_9) {
263
316
  text-transform: uppercase;
264
317
  }
265
318
 
266
- ._sr_only_nfhr7_266 {
319
+ ._sr_only_7ufer_319 {
267
320
  position: absolute;
268
321
  border: 0;
269
322
  clip: rect(0, 0, 0, 0);
@@ -276,19 +329,25 @@ body:has(._drawer_nfhr7_9) {
276
329
  }
277
330
 
278
331
  @media (max-width: 540px) {
279
- ._drawer_nfhr7_9 {
332
+ ._drawer_7ufer_9 {
280
333
  border-radius: 0;
281
334
  max-width: none;
282
335
  width: 100%;
283
336
  }
284
- ._menu_nfhr7_91 li + li {
337
+ ._menu_7ufer_136 li + li {
285
338
  margin-top: 3px;
286
339
  }
287
- ._menuItem_nfhr7_107 {
340
+ ._menuItem_7ufer_152 {
288
341
  font-size: 0.9rem;
289
342
  padding: 0.65rem 0;
290
343
  }
291
- ._loginAccordionOverlay_nfhr7_123::before {
344
+ ._loginAccordionOverlay_7ufer_344::before {
292
345
  opacity: 0.1;
293
346
  }
294
347
  }
348
+
349
+ @media (min-width: 541px) {
350
+ ._drawer_7ufer_9:has(._loginDrawerContent_7ufer_79) {
351
+ max-width: 345px;
352
+ }
353
+ }
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.2",
4
+ "version": "1.0.100-dev.69-mobileLogin.4",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",