@axos-web-dev/shared-components 0.0.111 → 0.0.113

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.
Files changed (52) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -0
  2. package/dist/Button/Button.js +4 -1
  3. package/dist/Calculators/Calculator.js +1 -0
  4. package/dist/Carousel/index.js +1 -0
  5. package/dist/Chevron/index.js +1 -0
  6. package/dist/Comparison/Comparison.js +1 -0
  7. package/dist/FaqAccordion/index.js +1 -0
  8. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +95 -72
  9. package/dist/Forms/ContactUsBusiness.js +1 -0
  10. package/dist/Forms/ContactUsNMLSId.js +1 -0
  11. package/dist/Forms/EmailOnly.js +1 -0
  12. package/dist/Forms/ScheduleCall.js +4 -1
  13. package/dist/Forms/SuccesForm.js +1 -0
  14. package/dist/HeroBanner/HeroBanner.css.d.ts +1 -0
  15. package/dist/Hyperlink/index.js +1 -0
  16. package/dist/ImageBillboard/ImageBillboard.css.d.ts +17 -0
  17. package/dist/ImageBillboard/ImageBillboardSet.js +1 -2
  18. package/dist/ImageLink/ImageLink.js +1 -0
  19. package/dist/ImageLink/ImageLinkSet.js +1 -0
  20. package/dist/ImageLink/index.js +1 -0
  21. package/dist/Input/DatePicker.css.d.ts +1 -0
  22. package/dist/Input/DatePicker.css.js +6 -0
  23. package/dist/Input/Datepicker.d.ts +3 -0
  24. package/dist/Input/Datepicker.js +47 -0
  25. package/dist/Input/InputDate.css.d.ts +6 -0
  26. package/dist/Input/InputDate.css.js +15 -0
  27. package/dist/Input/InputDate.d.ts +3 -0
  28. package/dist/Input/InputDate.js +47 -0
  29. package/dist/Input/InputProps.d.ts +6 -0
  30. package/dist/Insight/Featured/CategorySelector.js +1 -0
  31. package/dist/Insight/Featured/Featured.js +1 -0
  32. package/dist/Modal/Modal.js +1 -0
  33. package/dist/NavigationMenu/AxosBank/NavData.d.ts +2 -36
  34. package/dist/NavigationMenu/AxosBank/NavData.js +133 -33
  35. package/dist/NavigationMenu/AxosBank/SubNavBar.js +369 -166
  36. package/dist/NavigationMenu/AxosBank/index.js +268 -28
  37. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +49 -31
  38. package/dist/NavigationMenu/AxosClearing/NavData.js +1 -1
  39. package/dist/NavigationMenu/AxosClearing/index.js +119 -12
  40. package/dist/SecondaryFooter/SecondaryFooter.css.js +2 -0
  41. package/dist/SetContainer/SetContainer.js +1 -0
  42. package/dist/assets/HeroBanner/HeroBanner.css +1 -0
  43. package/dist/assets/ImageBillboard/ImageBillboard.css +12 -6
  44. package/dist/assets/Input/DatePicker.css +95 -0
  45. package/dist/assets/Input/InputDate.css +39 -0
  46. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +133 -82
  47. package/dist/assets/SecondaryFooter/SecondaryFooter.css +1 -1
  48. package/dist/assets/themes/axos.css +1 -0
  49. package/dist/assets/themes/premier.css +1 -0
  50. package/dist/themes/axos.css.d.ts +5 -0
  51. package/dist/themes/axos.css.js +1 -1
  52. package/package.json +118 -118
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { Button } from "../../Button/Button.js";
4
4
  import "../../Button/Button.css.js";
5
5
  import { useState, useRef, useEffect } from "react";
6
- import "react-use";
6
+ import { useClickAway } from "react-use";
7
7
  import clsx from "clsx";
8
8
  import { NavItem } from "../NavItem/index.js";
9
9
  import { expand } from "./NavBar.css.js";
@@ -11,18 +11,22 @@ import styles from "./NavBar.module.js";
11
11
  import { navItems } from "./NavData.js";
12
12
  import SubNavBar from "./SubNavBar.js";
13
13
  function NavBar() {
14
+ const [isOpenSignIn, setisOpenSignIn] = useState(false);
14
15
  const [isOpenMobile, setisOpenMobile] = useState(false);
15
16
  const [activeIndex, setActiveIndex] = useState();
16
17
  const [lastNavItem, setLastNavItem] = useState();
17
18
  const ref = useRef(null);
19
+ const toggle = () => setisOpenSignIn(!isOpenSignIn);
18
20
  const mobileToggle = () => setisOpenMobile(!isOpenMobile);
19
21
  const handleClick = (index) => setActiveIndex(index);
20
22
  const [isOpenProducts1, setisOpenProducts1] = useState(false);
21
23
  const [isOpenProducts2, setisOpenProducts2] = useState(false);
22
24
  const [isOpenProducts3, setisOpenProducts3] = useState(false);
25
+ const [isOpenProducts4, setisOpenProducts4] = useState(false);
23
26
  const toggleProducts1 = () => setisOpenProducts1(!isOpenProducts1);
24
27
  const toggleProducts2 = () => setisOpenProducts2(!isOpenProducts2);
25
28
  const toggleProducts3 = () => setisOpenProducts3(!isOpenProducts3);
29
+ const toggleProducts4 = () => setisOpenProducts4(!isOpenProducts4);
26
30
  const getActiveIndex = () => {
27
31
  const pathname = "/" + location.pathname.split("/")[1];
28
32
  const index = navItems.findIndex(
@@ -36,6 +40,11 @@ function NavBar() {
36
40
  useEffect(() => {
37
41
  setLastNavItem(navItems[navItems.length - 1]);
38
42
  }, []);
43
+ useClickAway(ref, (e) => {
44
+ if (e?.target?.tagName !== "A") {
45
+ setisOpenSignIn(false);
46
+ }
47
+ });
39
48
  return /* @__PURE__ */ jsxs("header", { id: "header", children: [
40
49
  /* @__PURE__ */ jsx("div", { className: `${styles.header} bg_white`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsxs("div", { className: `${styles.header_main_row} flex_row between middle`, children: [
41
50
  /* @__PURE__ */ jsx("div", { className: `${styles.desktop_only} flex_row middle`, children: /* @__PURE__ */ jsxs("div", { className: `${styles.main_nav} flex_row middle`, children: [
@@ -89,7 +98,7 @@ function NavBar() {
89
98
  )
90
99
  }
91
100
  ),
92
- /* @__PURE__ */ jsx("div", { className: `${styles.mobile_only} ${styles.mobile_logo}`, children: /* @__PURE__ */ jsx("a", { href: "/", "aria-label": "return to axos bank homepage", children: /* @__PURE__ */ jsx(
101
+ /* @__PURE__ */ jsx("div", { className: `${styles.mobile_only} ${styles.mobile_logo}`, children: /* @__PURE__ */ jsx("a", { href: "/", "aria-label": "return to axos clearing homepage", children: /* @__PURE__ */ jsx(
93
102
  "img",
94
103
  {
95
104
  src: "https://images.axos.com/o9ov1v03uwqk/1KWdk4xENAS8hmQRQWhviO/05df12996a96400c057b0066b4cf250f/axos-clearing-logo.svg",
@@ -123,16 +132,18 @@ function NavBar() {
123
132
  styles.signin_btn,
124
133
  "flex_row",
125
134
  "center",
126
- "middle"
135
+ "middle",
136
+ isOpenSignIn ? styles.open : ""
127
137
  ),
128
138
  as: "button",
129
139
  type: "button",
130
140
  color: "primary",
131
141
  id: "signIn",
142
+ action: toggle,
132
143
  size: "small",
133
- targetUrl: "/contact-us",
144
+ "aria-controls": "signin-drop-menu",
134
145
  children: [
135
- /* @__PURE__ */ jsx("span", { children: "Get in Touch" }),
146
+ /* @__PURE__ */ jsx("span", { children: "Sign In" }),
136
147
  /* @__PURE__ */ jsx(
137
148
  "svg",
138
149
  {
@@ -152,6 +163,39 @@ function NavBar() {
152
163
  )
153
164
  ]
154
165
  }
166
+ ),
167
+ /* @__PURE__ */ jsx(
168
+ "div",
169
+ {
170
+ className: `${styles.signin_dropdown} ${styles.shadow} rounded bg_white`,
171
+ children: /* @__PURE__ */ jsx("div", { className: styles.opacity, children: /* @__PURE__ */ jsxs(
172
+ "ul",
173
+ {
174
+ className: "list_unstyled",
175
+ role: "menu",
176
+ "aria-expanded": isOpenSignIn,
177
+ id: "signin-drop-menu",
178
+ children: [
179
+ /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
180
+ "a",
181
+ {
182
+ href: `https://connect.axosclearing.com/`,
183
+ role: "menuitem",
184
+ children: "Axos Connection"
185
+ }
186
+ ) }),
187
+ /* @__PURE__ */ jsx("li", { className: styles.signin_subheader, children: /* @__PURE__ */ jsx(
188
+ "a",
189
+ {
190
+ href: `https://axosclearing.fisglobal.com/investor/axos`,
191
+ role: "menuitem",
192
+ children: "Investor Access"
193
+ }
194
+ ) })
195
+ ]
196
+ }
197
+ ) })
198
+ }
155
199
  )
156
200
  ]
157
201
  }
@@ -435,14 +479,70 @@ function NavBar() {
435
479
  ]
436
480
  }
437
481
  ),
438
- /* @__PURE__ */ jsx("li", { className: `${styles.mobile_nav_item}`, children: /* @__PURE__ */ jsx(
439
- "a",
482
+ /* @__PURE__ */ jsxs(
483
+ "li",
440
484
  {
441
- href: "https://connect.axosclearing.com/",
442
- className: `flex_row between ${styles.btn}`,
443
- children: "Sign In"
485
+ className: `${styles.mobile_nav_item} ${styles.has_dropdown}`,
486
+ id: "dd_4",
487
+ children: [
488
+ /* @__PURE__ */ jsxs(
489
+ "a",
490
+ {
491
+ href: "#",
492
+ onClick: toggleProducts4,
493
+ role: "button",
494
+ className: clsx("flex_row", "between"),
495
+ children: [
496
+ "Sign In",
497
+ /* @__PURE__ */ jsx(
498
+ "span",
499
+ {
500
+ className: clsx(
501
+ styles.icon_wrap,
502
+ isOpenProducts4 && styles.open
503
+ ),
504
+ children: /* @__PURE__ */ jsx(
505
+ "svg",
506
+ {
507
+ xmlns: "http://www.w3.org/2000/svg",
508
+ width: "24",
509
+ height: "24",
510
+ viewBox: "0 0 24 24",
511
+ fill: "none",
512
+ children: /* @__PURE__ */ jsx(
513
+ "path",
514
+ {
515
+ d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z",
516
+ fill: "#4A5560"
517
+ }
518
+ )
519
+ }
520
+ )
521
+ }
522
+ )
523
+ ]
524
+ }
525
+ ),
526
+ /* @__PURE__ */ jsxs(
527
+ "div",
528
+ {
529
+ className: clsx(styles.sub_menu, isOpenProducts4 && expand),
530
+ children: [
531
+ /* @__PURE__ */ jsx("a", { href: "https://connect.axosclearing.com/", role: "menuitem", children: "Axos Connection" }),
532
+ /* @__PURE__ */ jsx(
533
+ "a",
534
+ {
535
+ href: "https://axosclearing.fisglobal.com/investor/axos",
536
+ role: "menuitem",
537
+ children: "Investor Access"
538
+ }
539
+ )
540
+ ]
541
+ }
542
+ )
543
+ ]
444
544
  }
445
- ) })
545
+ )
446
546
  ] }) }),
447
547
  /* @__PURE__ */ jsx("div", { className: styles.mobile_footer, children: /* @__PURE__ */ jsxs("div", { className: "flex_row between", children: [
448
548
  /* @__PURE__ */ jsxs(
@@ -451,7 +551,14 @@ function NavBar() {
451
551
  className: `${styles.mobile_footer_content} flex_col between`,
452
552
  children: [
453
553
  /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: "Get in Touch" }) }),
454
- /* @__PURE__ */ jsx("div", { className: styles.footer_cta, children: /* @__PURE__ */ jsx(Button, { color: "primary", targetUrl: "/contact-us", children: "Contact Us" }) })
554
+ /* @__PURE__ */ jsx("div", { className: styles.footer_cta, children: /* @__PURE__ */ jsx(
555
+ Button,
556
+ {
557
+ color: "primary",
558
+ targetUrl: "/axos-advantage/contact-us",
559
+ children: "Contact Us"
560
+ }
561
+ ) })
455
562
  ]
456
563
  }
457
564
  ),
@@ -1,3 +1,5 @@
1
+ /* empty css */
2
+ /* empty css */
1
3
  /* empty css */
2
4
  var secondary_footer = "_2lraiw0";
3
5
  var footer_link = "_2lraiw1";
@@ -75,6 +75,7 @@ import "../Modal/contextApi/store.js";
75
75
  /* empty css */
76
76
  /* empty css */
77
77
  /* empty css */
78
+ import "../NavigationMenu/AxosBank/NavData.js";
78
79
  import "next/image.js";
79
80
  import "next/link.js";
80
81
  import "next/navigation.js";
@@ -5,6 +5,7 @@
5
5
  }
6
6
  ._1ye8k3f2 {
7
7
  background: var(--_1073cm81);
8
+ border-bottom: 1px solid #d4d4d4;
8
9
  color: var(--_1073cm82);
9
10
  }
10
11
  ._1ye8k3f3 {
@@ -1,12 +1,6 @@
1
1
  ._1m7m2a0 {
2
2
  height: auto;
3
3
  }
4
- ._18ygy9m5 ._1m7m2a0 {
5
- flex-direction: column;
6
- }
7
- ._18ygy9m5 ._1m7m2a0:only-child {
8
- flex-direction: row;
9
- }
10
4
  ._1m7m2a1 {
11
5
  background: var(--_1073cm81);
12
6
  color: var(--_1073cm82);
@@ -27,10 +21,16 @@
27
21
  ._18ygy9m5 ._1m7m2a6 {
28
22
  flex-direction: column;
29
23
  }
24
+ ._18ygy9m5 ._1m7m2a6:only-child {
25
+ flex-direction: row;
26
+ }
30
27
  ._18ygy9m5 ._1m7m2a7 {
31
28
  flex-direction: column-reverse;
32
29
  justify-content: space-between;
33
30
  }
31
+ ._18ygy9m5 ._1m7m2a7:only-child {
32
+ flex-direction: row-reverse;
33
+ }
34
34
  ._18ygy9m5 > .billboard > div {
35
35
  width: 100%;
36
36
  max-width: 100%;
@@ -185,6 +185,12 @@
185
185
  ._1m7m2a0 {
186
186
  flex-direction: column-reverse;
187
187
  }
188
+ ._18ygy9m5 ._1m7m2a6:only-child {
189
+ flex-direction: column;
190
+ }
191
+ ._18ygy9m5 ._1m7m2a7:only-child {
192
+ flex-direction: column-reverse;
193
+ }
188
194
  .reversed {
189
195
  flex-direction: column-reverse;
190
196
  }
@@ -0,0 +1,95 @@
1
+ .react-date-picker {
2
+ width: 100%;
3
+ }
4
+ .react-date-picker__wrapper {
5
+ border: none !important;
6
+ }
7
+ .react-calendar__month-view__weekdays__weekday {
8
+ width: 45px;
9
+ height: 22px;
10
+ margin: 0;
11
+ display: inline-flex;
12
+ align-items: center;
13
+ font-family: var(--main-font-family);
14
+ font-weight: 500;
15
+ letter-spacing: 0.2px;
16
+ justify-content: center;
17
+ }
18
+ .react-calendar__month-view__weekdays__weekday {
19
+ font-size: 12px;
20
+ line-height: 16;
21
+ color: #2F5B88;
22
+ }
23
+ .react-calendar__month-view__weekdays__weekday > abbr {
24
+ text-decoration: none;
25
+ }
26
+ .react-calendar__month-view__days__day {
27
+ width: 49px;
28
+ height: 49px;
29
+ margin: 0;
30
+ display: inline-flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ }
34
+ .react-calendar__month-view__days__day > abbr {
35
+ font-family: var(--main-font-family) !important;
36
+ font-weight: 500;
37
+ letter-spacing: 0.2px;
38
+ color: #051A3F;
39
+ }
40
+ .react-date-picker__inputGroup__input, .react-date-picker__inputGroup__divider {
41
+ color: #5E6A74 !important;
42
+ }
43
+ .react-date-picker__clear-button {
44
+ display: none;
45
+ }
46
+ .react-calendar__navigation__label__labelText {
47
+ font-weight: 600;
48
+ font-size: 24px;
49
+ line-height: 36px;
50
+ letter-spacing: 0.2px;
51
+ color: #1E3860;
52
+ font-family: var(--header-font-family);
53
+ }
54
+ .react-datepicker-popper {
55
+ transform: translateY(40px)!important;
56
+ }
57
+ .react-calendar__month-view__days__day--neighboringMonth {
58
+ background-color: #F4F4F4 !important;
59
+ opacity: 50%;
60
+ }
61
+ .react-calendar__month-view__days__day--neighboringMonth > abbr {
62
+ color: #5E6A74;
63
+ }
64
+ .react-calendar__tile--active > abbr {
65
+ color: white;
66
+ }
67
+ .react-calendar {
68
+ border: 12px solid #FFFFFF4D !important;
69
+ border-radius: 4px;
70
+ }
71
+ .react-calendar__navigation__prev2-button, .react-calendar__navigation__next2-button {
72
+ display: none;
73
+ }
74
+ .react-date-picker__calendar {
75
+ max-width: 100% !important;
76
+ }
77
+ .react-date-picker__inputGroup__input:focus-visible {
78
+ outline: none;
79
+ }
80
+ .react-date-picker__inputGroup__input:invalid {
81
+ background: transparent !important;
82
+ }
83
+ @media screen and (max-width:320px) {
84
+ .react-calendar__month-view__weekdays__weekday {
85
+ width: 43.5px;
86
+ }
87
+ .react-calendar__month-view__days__day {
88
+ width: 43.5px;
89
+ }
90
+ }
91
+ @media screen and (max-width:400px) {
92
+ .react-calendar__navigation .react-calendar__navigation__prev-button, .react-calendar__navigation .react-calendar__navigation__next-button {
93
+ min-width: auto;
94
+ }
95
+ }
@@ -0,0 +1,39 @@
1
+ .skzved0 {
2
+ position: relative;
3
+ }
4
+ .skzved1 {
5
+ position: relative;
6
+ top: 5px;
7
+ left: 5px;
8
+ }
9
+ .skzved2 {
10
+ width: 100px;
11
+ padding-left: 5px;
12
+ padding-right: 5px;
13
+ line-height: 28px;
14
+ font-size: 14pt;
15
+ }
16
+ .skzved3 {
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ }
21
+ .skzved4 {
22
+ display: block;
23
+ background: #FFFFFF;
24
+ width: 300px;
25
+ border: solid 1px #CCCCCC;
26
+ margin: 10px auto;
27
+ box-shadow: 0 0 15px 0 #C0C0C0;
28
+ font-size: 1.3rem;
29
+ text-align: center;
30
+ z-index: 999;
31
+ }
32
+ .skzved4 .skzved5 {
33
+ display: flex;
34
+ justify-content: center;
35
+ align-items: center;
36
+ color: #FFFFFF;
37
+ cursor: default;
38
+ font-weight: bold;
39
+ }