@axos-web-dev/shared-components 1.0.100-dev.69-mobileLogin.4 → 1.0.100-dev.70
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,14 +24,6 @@ const slideVariants = {
|
|
|
24
24
|
position: "absolute"
|
|
25
25
|
})
|
|
26
26
|
};
|
|
27
|
-
const loginLinksContainerVariants = {
|
|
28
|
-
hidden: {},
|
|
29
|
-
visible: {}
|
|
30
|
-
};
|
|
31
|
-
const loginLinkItemVariants = {
|
|
32
|
-
hidden: { opacity: 0, x: 8 },
|
|
33
|
-
visible: { opacity: 1, x: 0 }
|
|
34
|
-
};
|
|
35
27
|
const MobileDrawerMenu = () => {
|
|
36
28
|
const pathname = usePathname();
|
|
37
29
|
const [queryString, setQueryString] = useState("");
|
|
@@ -453,63 +445,32 @@ const MobileDrawerMenu = () => {
|
|
|
453
445
|
)
|
|
454
446
|
] }),
|
|
455
447
|
/* @__PURE__ */ jsx("div", { className: styles.loginDrawerContent, children: /* @__PURE__ */ jsx("div", { className: styles.loginAccordion, children: /* @__PURE__ */ jsx(
|
|
456
|
-
|
|
448
|
+
"ul",
|
|
457
449
|
{
|
|
458
450
|
className: styles.loginAccordionList,
|
|
459
451
|
"aria-label": "Login options",
|
|
460
|
-
|
|
461
|
-
|
|
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,
|
|
452
|
+
children: loginGroups.map((group) => /* @__PURE__ */ jsxs(
|
|
453
|
+
"li",
|
|
469
454
|
{
|
|
470
455
|
className: styles.loginAccordionGroup,
|
|
471
|
-
variants: loginLinkItemVariants,
|
|
472
456
|
"aria-label": `${group.heading} login options`,
|
|
473
|
-
transition: {
|
|
474
|
-
duration: 0.25,
|
|
475
|
-
ease: "easeOut",
|
|
476
|
-
delay: 0.12 + groupIndex * 0.05
|
|
477
|
-
},
|
|
478
457
|
children: [
|
|
479
458
|
/* @__PURE__ */ jsx("span", { className: styles.loginAccordionHeading, children: group.heading }),
|
|
480
|
-
/* @__PURE__ */ jsx(
|
|
481
|
-
|
|
459
|
+
/* @__PURE__ */ jsx("ul", { className: styles.loginAccordionGroupList, children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
460
|
+
"li",
|
|
482
461
|
{
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
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,
|
|
462
|
+
"aria-label": `access ${item.title}`,
|
|
463
|
+
children: /* @__PURE__ */ jsx(
|
|
464
|
+
Link,
|
|
493
465
|
{
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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
|
-
))
|
|
511
|
-
}
|
|
512
|
-
)
|
|
466
|
+
href: item.url + (queryString && !item.url.includes("?") ? `?${queryString}` : ""),
|
|
467
|
+
className: styles.menuItem,
|
|
468
|
+
children: /* @__PURE__ */ jsx("span", { children: item.title })
|
|
469
|
+
}
|
|
470
|
+
)
|
|
471
|
+
},
|
|
472
|
+
item.title
|
|
473
|
+
)) })
|
|
513
474
|
]
|
|
514
475
|
},
|
|
515
476
|
group.heading
|
|
@@ -620,7 +620,9 @@ const menuData = {
|
|
|
620
620
|
},
|
|
621
621
|
Additional: {
|
|
622
622
|
"Customer Support": findMoreAxosDomains("{AXOSBANK}/customer-support"),
|
|
623
|
-
"Return to Application": findMoreAxosDomains(
|
|
623
|
+
"Return to Application": findMoreAxosDomains(
|
|
624
|
+
"{AXOSBANK}/return-to-application"
|
|
625
|
+
)
|
|
624
626
|
}
|
|
625
627
|
}
|
|
626
628
|
};
|
package/package.json
CHANGED