@axos-web-dev/shared-components 2.0.0-dev.2-bwaTest → 2.0.0-dev.2-nav-1

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 (81) hide show
  1. package/dist/ATMLocator/ATMLocator.js +14 -84
  2. package/dist/Auth/ErrorAlert.js +6 -88
  3. package/dist/Button/Button.js +6 -120
  4. package/dist/Calculators/Calculator.d.ts +1 -1
  5. package/dist/Calculators/Calculator.js +18 -89
  6. package/dist/Calculators/MarginTradingCalculator/index.js +2 -112
  7. package/dist/Carousel/index.js +4 -109
  8. package/dist/Chatbot/ChatWindow.css.d.ts +4 -0
  9. package/dist/Chatbot/ChatWindow.css.js +8 -0
  10. package/dist/Chatbot/ChatWindow.js +8 -2
  11. package/dist/Chatbot/Chatbot.js +12 -2
  12. package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
  13. package/dist/Chatbot/ChatbotMessage.js +47 -4
  14. package/dist/Chatbot/index.js +5 -1
  15. package/dist/Chevron/index.js +4 -114
  16. package/dist/Comparison/Comparison.js +5 -121
  17. package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +3 -2
  18. package/dist/ExecutiveBio/ExecutiveBio.js +4 -126
  19. package/dist/FaqAccordion/index.js +7 -110
  20. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +5 -110
  21. package/dist/Forms/ApplyNow.js +4 -109
  22. package/dist/Forms/ContactCompany.d.ts +1 -1
  23. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  24. package/dist/Forms/ContactUsBusiness.js +7 -104
  25. package/dist/Forms/ContactUsBusinessNameEmail.js +8 -104
  26. package/dist/Forms/ContactUsNMLSId.js +7 -104
  27. package/dist/Forms/CpraRequest.js +2 -96
  28. package/dist/Forms/CraPublicFile.js +7 -104
  29. package/dist/Forms/DealerServices.d.ts +1 -1
  30. package/dist/Forms/EmailOnly.js +7 -104
  31. package/dist/Forms/EmailUs.js +34 -40
  32. package/dist/Forms/Forms.css.d.ts +0 -3
  33. package/dist/Forms/Forms.css.js +39 -39
  34. package/dist/Forms/MortgageRate/MortgageRateForm.js +8 -96
  35. package/dist/Forms/MortgageRate/MortgageRateWatch.js +4 -92
  36. package/dist/Forms/MortgageWarehouseLending.js +7 -104
  37. package/dist/Forms/SuccesForm.js +8 -91
  38. package/dist/Hyperlink/index.js +5 -110
  39. package/dist/ImageLink/ImageLink.js +6 -106
  40. package/dist/ImageLink/ImageLinkSet.js +6 -114
  41. package/dist/ImageLink/index.js +6 -105
  42. package/dist/Insight/Featured/CategorySelector.d.ts +1 -1
  43. package/dist/Insight/Featured/CategorySelector.js +5 -109
  44. package/dist/Insight/Featured/Featured.js +8 -106
  45. package/dist/Insight/Featured/Header.js +4 -109
  46. package/dist/LandingPageHeader/LandingPageHeader.d.ts +1 -1
  47. package/dist/Modal/Modal.js +2 -122
  48. package/dist/NavigationMenu/AxosALTS/index.js +6 -111
  49. package/dist/NavigationMenu/AxosBank/DropwdownButton.d.ts +7 -0
  50. package/dist/NavigationMenu/AxosBank/DropwdownButton.js +125 -0
  51. package/dist/NavigationMenu/AxosBank/Menu.d.ts +37 -0
  52. package/dist/NavigationMenu/AxosBank/Menu.js +150 -0
  53. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +12 -1
  54. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +183 -268
  55. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +37 -268
  56. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +63 -492
  57. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.d.ts +36 -0
  58. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.js +105 -0
  59. package/dist/NavigationMenu/AxosBank/NavBar.module.js +42 -39
  60. package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +6 -1
  61. package/dist/NavigationMenu/AxosBank/SubNavBar.js +118 -3187
  62. package/dist/NavigationMenu/AxosBank/SubNavItem.d.ts +1 -0
  63. package/dist/NavigationMenu/AxosBank/SubNavItem.js +206 -0
  64. package/dist/NavigationMenu/AxosBank/index.d.ts +6 -4
  65. package/dist/NavigationMenu/AxosBank/index.js +83 -457
  66. package/dist/NavigationMenu/LaVictoire/index.js +5 -118
  67. package/dist/NavigationMenu/Navbar.d.ts +4 -1
  68. package/dist/NavigationMenu/Navbar.js +11 -114
  69. package/dist/NavigationMenu/SignInNavButton.js +9 -122
  70. package/dist/NavigationMenu/utils.d.ts +465 -0
  71. package/dist/NavigationMenu/utils.js +112 -0
  72. package/dist/SetContainer/SetContainer.js +7 -108
  73. package/dist/SocialMediaBar/iconsRepository.js +0 -124
  74. package/dist/VideoTile/VideoTile.js +2 -106
  75. package/dist/VideoWrapper/index.js +7 -110
  76. package/dist/assets/Chatbot/ChatWindow.css +26 -0
  77. package/dist/assets/Forms/Forms.css +91 -94
  78. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +125 -87
  79. package/dist/assets/incoming.mp3.js +4 -0
  80. package/dist/main.js +5 -1
  81. package/package.json +5 -3
@@ -0,0 +1 @@
1
+ export declare const SubNavItem: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,206 @@
1
+ "use client";
2
+ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
+ import "../../IconBillboard/IconBillboard.css.js";
4
+ import "../../icons/ArrowIcon/ArrowIcon.css.js";
5
+ import "../../icons/CheckIcon/CheckIcon.css.js";
6
+ import '../../assets/Modal/Modal.css';import '../../assets/BulletItem/BulletItem.css';import '../../assets/Typography/Typography.css';import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons/DownloadIcon/DownloadIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/ufb.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ import "react";
13
+ import "clsx";
14
+ /* empty css */
15
+ /* empty css */
16
+ import "../../Chevron/Chevron.css.js";
17
+ import "../../Interstitial/Interstitial-variants.css.js";
18
+ import "../../Button/Button.css.js";
19
+ import "react-use";
20
+ /* empty css */
21
+ import { useGlobalContext } from "../../Modal/contextApi/store.js";
22
+ import styles from "./NavBar.module.js";
23
+ const SubNavItem = () => {
24
+ const { resolveUrl } = useGlobalContext();
25
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
26
+ /* @__PURE__ */ jsxs(
27
+ "li",
28
+ {
29
+ className: styles.sub_nav_link,
30
+ role: "menuitem",
31
+ children: [
32
+ /* @__PURE__ */ jsx(
33
+ "a",
34
+ {
35
+ href: resolveUrl("{AXOSBANK}/personal/bank"),
36
+ id: "personalNav1",
37
+ "aria-label": "Press Enter to navigate to the Bank section home page, or press Tab again to focus on the down arrow and press Enter to open the Bank section sub-menu.",
38
+ children: "Bank"
39
+ }
40
+ ),
41
+ /* @__PURE__ */ jsx(
42
+ "a",
43
+ {
44
+ href: "#",
45
+ id: "personalNav1",
46
+ "aria-label": "Press Enter to open the Bank section sub-menu.",
47
+ children: /* @__PURE__ */ jsx(
48
+ "svg",
49
+ {
50
+ width: "15",
51
+ height: "12",
52
+ viewBox: "0 0 20 12",
53
+ fill: "none",
54
+ xmlns: "http://www.w3.org/2000/svg",
55
+ style: { marginLeft: "8px" },
56
+ children: /* @__PURE__ */ jsx(
57
+ "path",
58
+ {
59
+ d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
60
+ fill: "white"
61
+ }
62
+ )
63
+ }
64
+ )
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ ),
70
+ /* @__PURE__ */ jsxs(
71
+ "li",
72
+ {
73
+ className: styles.sub_nav_link,
74
+ role: "menuitem",
75
+ children: [
76
+ /* @__PURE__ */ jsx(
77
+ "a",
78
+ {
79
+ href: resolveUrl("{AXOSBANK}/personal/borrow"),
80
+ id: "personalNav2",
81
+ "aria-label": "Press Enter to navigate to the Borrow section home page, or press Tab again to focus on the down arrow and press Enter to open the Borrow section sub-menu.",
82
+ children: "Borrow"
83
+ }
84
+ ),
85
+ /* @__PURE__ */ jsx(
86
+ "a",
87
+ {
88
+ href: "#",
89
+ id: "personalNav2",
90
+ "aria-label": "Press Enter to open the Borrow section sub-menu.",
91
+ children: /* @__PURE__ */ jsx(
92
+ "svg",
93
+ {
94
+ width: "15",
95
+ height: "12",
96
+ viewBox: "0 0 20 12",
97
+ fill: "none",
98
+ xmlns: "http://www.w3.org/2000/svg",
99
+ style: { marginLeft: "8px" },
100
+ children: /* @__PURE__ */ jsx(
101
+ "path",
102
+ {
103
+ d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
104
+ fill: "white"
105
+ }
106
+ )
107
+ }
108
+ )
109
+ }
110
+ )
111
+ ]
112
+ }
113
+ ),
114
+ /* @__PURE__ */ jsxs(
115
+ "li",
116
+ {
117
+ className: styles.sub_nav_link,
118
+ role: "menuitem",
119
+ children: [
120
+ /* @__PURE__ */ jsx(
121
+ "a",
122
+ {
123
+ href: resolveUrl("{AXOS}/invest"),
124
+ id: "personalNav3",
125
+ "aria-label": "Press Enter to navigate to the Invest section home page, or press Tab again to focus on the down arrow and press Enter to open the Invest section sub-menu.",
126
+ children: "Invest"
127
+ }
128
+ ),
129
+ /* @__PURE__ */ jsx(
130
+ "a",
131
+ {
132
+ href: "#",
133
+ id: "personalNav3",
134
+ "aria-label": "Press Enter to open the Invest section sub-menu.",
135
+ children: /* @__PURE__ */ jsx(
136
+ "svg",
137
+ {
138
+ width: "15",
139
+ height: "12",
140
+ viewBox: "0 0 20 12",
141
+ fill: "none",
142
+ xmlns: "http://www.w3.org/2000/svg",
143
+ style: { marginLeft: "8px" },
144
+ children: /* @__PURE__ */ jsx(
145
+ "path",
146
+ {
147
+ d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
148
+ fill: "white"
149
+ }
150
+ )
151
+ }
152
+ )
153
+ }
154
+ )
155
+ ]
156
+ }
157
+ ),
158
+ /* @__PURE__ */ jsxs(
159
+ "li",
160
+ {
161
+ className: styles.sub_nav_link,
162
+ role: "menuitem",
163
+ children: [
164
+ /* @__PURE__ */ jsx(
165
+ "a",
166
+ {
167
+ href: resolveUrl("{AXOSBANK}/personal/plan"),
168
+ id: "personalNav4",
169
+ "aria-label": "Press Enter to navigate to the Plan section home page, or press Tab again to focus on the down arrow and press Enter to open the Plan section sub-menu.",
170
+ children: "Plan"
171
+ }
172
+ ),
173
+ /* @__PURE__ */ jsx(
174
+ "a",
175
+ {
176
+ href: "#",
177
+ id: "personalNav4",
178
+ "aria-label": "Press Enter to open the Plan section sub-menu.",
179
+ children: /* @__PURE__ */ jsx(
180
+ "svg",
181
+ {
182
+ width: "15",
183
+ height: "12",
184
+ viewBox: "0 0 20 12",
185
+ fill: "none",
186
+ xmlns: "http://www.w3.org/2000/svg",
187
+ style: { marginLeft: "8px" },
188
+ children: /* @__PURE__ */ jsx(
189
+ "path",
190
+ {
191
+ d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
192
+ fill: "white"
193
+ }
194
+ )
195
+ }
196
+ )
197
+ }
198
+ )
199
+ ]
200
+ }
201
+ )
202
+ ] }) });
203
+ };
204
+ export {
205
+ SubNavItem
206
+ };
@@ -1,5 +1,7 @@
1
- declare function NavBar({ project, withSession, }: {
2
- project?: string;
3
- withSession?: boolean;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Navigation } from '../utils';
2
+
3
+ declare function NavBar({ project, items, }: {
4
+ project?: string | null;
5
+ items?: Navigation;
6
+ }): import("react/jsx-runtime").JSX.Element | null;
5
7
  export default NavBar;