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

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 (64) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -2
  2. package/dist/Auth/ErrorAlert.js +1 -2
  3. package/dist/Button/Button.js +1 -2
  4. package/dist/Calculators/Calculator.js +1 -2
  5. package/dist/Calculators/MarginTradingCalculator/index.js +1 -2
  6. package/dist/Carousel/index.js +1 -2
  7. package/dist/Chevron/index.js +1 -2
  8. package/dist/Comparison/Comparison.js +1 -2
  9. package/dist/ExecutiveBio/ExecutiveBio.js +1 -2
  10. package/dist/FaqAccordion/index.js +1 -2
  11. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -2
  12. package/dist/Forms/ApplyNow.js +1 -2
  13. package/dist/Forms/ContactUsBusiness.js +1 -2
  14. package/dist/Forms/ContactUsBusinessNameEmail.js +1 -2
  15. package/dist/Forms/ContactUsNMLSId.js +1 -2
  16. package/dist/Forms/CpraRequest.js +1 -2
  17. package/dist/Forms/CraPublicFile.js +1 -2
  18. package/dist/Forms/EmailOnly.js +1 -2
  19. package/dist/Forms/EmailUs.js +40 -34
  20. package/dist/Forms/Forms.css.d.ts +3 -0
  21. package/dist/Forms/Forms.css.js +39 -39
  22. package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -2
  23. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -2
  24. package/dist/Forms/MortgageWarehouseLending.js +1 -2
  25. package/dist/Forms/SuccesForm.js +1 -2
  26. package/dist/Hyperlink/index.js +1 -2
  27. package/dist/ImageLink/ImageLink.js +1 -2
  28. package/dist/ImageLink/ImageLinkSet.js +1 -2
  29. package/dist/ImageLink/index.js +1 -2
  30. package/dist/Insight/Featured/CategorySelector.js +1 -2
  31. package/dist/Insight/Featured/Featured.js +1 -2
  32. package/dist/Insight/Featured/Header.js +1 -2
  33. package/dist/Modal/Modal.js +1 -2
  34. package/dist/NavigationMenu/AxosALTS/index.js +1 -2
  35. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -12
  36. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +160 -180
  37. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +268 -37
  38. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +492 -63
  39. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -42
  40. package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -6
  41. package/dist/NavigationMenu/AxosBank/SubNavBar.js +3081 -117
  42. package/dist/NavigationMenu/AxosBank/index.d.ts +4 -6
  43. package/dist/NavigationMenu/AxosBank/index.js +355 -85
  44. package/dist/NavigationMenu/LaVictoire/index.js +1 -2
  45. package/dist/NavigationMenu/Navbar.d.ts +1 -4
  46. package/dist/NavigationMenu/Navbar.js +8 -9
  47. package/dist/NavigationMenu/SignInNavButton.js +2 -3
  48. package/dist/SetContainer/SetContainer.js +1 -2
  49. package/dist/SocialMediaBar/iconsRepository.js +1 -2
  50. package/dist/VideoTile/VideoTile.js +1 -2
  51. package/dist/VideoWrapper/index.js +1 -2
  52. package/dist/assets/Forms/Forms.css +94 -91
  53. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +87 -125
  54. package/package.json +1 -1
  55. package/dist/NavigationMenu/AxosBank/DropwdownButton.d.ts +0 -7
  56. package/dist/NavigationMenu/AxosBank/DropwdownButton.js +0 -239
  57. package/dist/NavigationMenu/AxosBank/Menu.d.ts +0 -37
  58. package/dist/NavigationMenu/AxosBank/Menu.js +0 -254
  59. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.d.ts +0 -36
  60. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.js +0 -105
  61. package/dist/NavigationMenu/AxosBank/SubNavItem.d.ts +0 -1
  62. package/dist/NavigationMenu/AxosBank/SubNavItem.js +0 -313
  63. package/dist/NavigationMenu/utils.d.ts +0 -465
  64. package/dist/NavigationMenu/utils.js +0 -112
@@ -1,105 +0,0 @@
1
- var MenuActions = /* @__PURE__ */ ((MenuActions2) => {
2
- MenuActions2["INIT"] = "INIT";
3
- MenuActions2["BACKWARD"] = "BACKWARD";
4
- MenuActions2["FORWARD"] = "FORWARD";
5
- MenuActions2["OPENMENU"] = "OPENMENU";
6
- MenuActions2["SET_HAS_OPENED_ONCE"] = "SET_HAS_OPENED_ONCE";
7
- MenuActions2["SET_MOBILE_MENU_OPEN"] = "SET_MOBILE_MENU_OPEN";
8
- MenuActions2["SET_MOBILE_MENU_CLOSED"] = "SET_MOBILE_MENU_CLOSED";
9
- MenuActions2["ADD_TO_STACK"] = "ADD_TO_STACK";
10
- MenuActions2["REMOVE_FROM_STACK"] = "REMOVE_FROM_STACK";
11
- MenuActions2["SET_QUICK_LINKS"] = "SET_QUICK_LINKS";
12
- MenuActions2["SET_LOGIN_MENU_OPEN"] = "SET_LOGIN_MENU_OPEN";
13
- MenuActions2["SET_LOGIN_MENU_CLOSED"] = "SET_LOGIN_MENU_CLOSED";
14
- return MenuActions2;
15
- })(MenuActions || {});
16
- const reducer = (state, action) => {
17
- switch (action.type) {
18
- case "INIT":
19
- return {
20
- ...state,
21
- currentMenuData: {
22
- title: "Menu",
23
- items: Array.isArray(action.payload?.currentMenuData) && action.payload.currentMenuData?.filter((item) => !item.dropdown)
24
- },
25
- stack: [action.payload.stack],
26
- quickLinks: action.payload.quickLinks,
27
- loginData: Array.isArray(action.payload?.currentMenuData) && action.payload.currentMenuData?.find((item) => item.dropdown)
28
- };
29
- case "SET_MOBILE_MENU_OPEN":
30
- return {
31
- ...state,
32
- isMobileMenuOpen: !state.isMobileMenuOpen
33
- };
34
- case "SET_MOBILE_MENU_CLOSED":
35
- return {
36
- ...state,
37
- isMobileMenuOpen: false
38
- };
39
- case "SET_HAS_OPENED_ONCE":
40
- return {
41
- ...state,
42
- hasOpenedOnce: state.hasOpenedOnce ? state.hasOpenedOnce : Boolean(action.payload)
43
- };
44
- case "SET_LOGIN_MENU_OPEN":
45
- return {
46
- ...state,
47
- loginDrawer: true
48
- };
49
- case "SET_LOGIN_MENU_CLOSED":
50
- return {
51
- ...state,
52
- loginDrawer: false
53
- };
54
- case "FORWARD":
55
- return {
56
- ...state,
57
- direction: "forward"
58
- // currentLevel: state.currentLevel + 1,
59
- };
60
- case "BACKWARD":
61
- return {
62
- ...state,
63
- direction: "backward"
64
- // currentLevel: state.currentLevel - 1,
65
- };
66
- case "ADD_TO_STACK": {
67
- const newItem = {
68
- title: action.payload?.label,
69
- url: action.payload?.url,
70
- dropdown: action.payload?.dropdown,
71
- items: action.payload.items
72
- };
73
- const lastItem = state.stack[state.stack.length - 1];
74
- return {
75
- ...state,
76
- stack: [...state.stack, newItem],
77
- currentMenuData: newItem,
78
- prevLevel: Array.isArray(lastItem) ? lastItem[lastItem.length - 1] : lastItem
79
- };
80
- }
81
- case "REMOVE_FROM_STACK": {
82
- const newStack = [...state.stack];
83
- newStack.pop();
84
- const newCurrent = newStack[newStack.length - 1];
85
- const lastStackItem = newStack[newStack.length - 1];
86
- return {
87
- ...state,
88
- stack: newStack,
89
- currentMenuData: Array.isArray(newCurrent) ? newCurrent[0] : newCurrent,
90
- prevLevel: Array.isArray(lastStackItem) ? lastStackItem[lastStackItem.length - 1] : lastStackItem
91
- };
92
- }
93
- case "SET_QUICK_LINKS":
94
- return {
95
- ...state,
96
- quickLinks: action.payload.quickLinks
97
- };
98
- default:
99
- return state;
100
- }
101
- };
102
- export {
103
- MenuActions,
104
- reducer
105
- };
@@ -1 +0,0 @@
1
- export declare const SubNavItem: () => import("react/jsx-runtime").JSX.Element;
@@ -1,313 +0,0 @@
1
- "use client";
2
- import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
- import "../../Chevron/Chevron.css.js";
4
- import "../../Accordion/Accordion.js";
5
- import "../../Accordion/Accordion.css.js";
6
- import "../../icons/ArrowIcon/ArrowIcon.css.js";
7
- import "../../icons/CheckIcon/CheckIcon.css.js";
8
- import '../../assets/Modal/Modal.css';import '../../assets/VideoWrapper/VideoWrapper.css';import '../../assets/TopicalNavSet/TopicalNavSet.css';import '../../assets/TopicalNavItem/TopicalNavItem.css';import '../../assets/Topic/Topic.css';import '../../assets/TextBlock/TextBlock.css';import '../../assets/SocialMediaBar/SocialMediaBar.css';import '../../assets/SecondaryFooter/SecondaryFooter.css';import '../../assets/Pagination/Pagination.css';import '../../assets/PageNavSet/PageNavigationSet.css';import '../../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../../assets/NavigationMenu/AxosBank/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisorServices/NavBar2.css';import '../../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../../assets/NavigationMenu/AxosAdvisor/NavBar2.css';import '../../assets/Insight/Featured/Header.css';import '../../assets/Insight/Featured/CategorySelector.css';import '../../assets/Insight/Featured/Featured.css';import '../../assets/ImageLink/ImageLink.css';import '../../assets/VideoTile/VideoTile.css';import '../../assets/HelpArticle/HelpArticle.css';import '../../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../../assets/DownloadTile/DownloadTile.css';import '../../assets/CollectInformationAlert/CollectInformationAlert.css';import '../../assets/Chatbot/ChatWindow.css';import '../../assets/Chatbot/Chatbot.css';import '../../assets/Chatbot/Bubble.css';import '../../assets/Chatbot/AnimatedGradientBorder.css';import '../../assets/CallToActionBar/CallToActionBar.css';import '../../assets/Insight/Insight.css';import '../../assets/AwardsItem/AwardsItem.css';import '../../assets/AwardsBanner/AwardsBanner.css';import '../../assets/Auth/SignIn.css';import '../../assets/Auth/ErrorAlert.css';import '../../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../../assets/Forms/QuickPricer/UserInformation.css';import '../../assets/Forms/QuickPricer/QuickPricerResults.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 */
9
- /* empty css */
10
- /* empty css */
11
- /* empty css */
12
- /* empty css */
13
- /* empty css */
14
- import "clsx";
15
- import "react";
16
- import "../../AlertBanner/AlertBanner.css.js";
17
- import "../../Article/Article.css.js";
18
- import "../../IconBillboard/IconBillboard.css.js";
19
- /* empty css */
20
- /* empty css */
21
- import "../../Interstitial/Interstitial-variants.css.js";
22
- import "../../Button/Button.css.js";
23
- import "react-use";
24
- import "../../ArticlesSet/ArticlesSet.css.js";
25
- import "../../Calculators/calculator.css.js";
26
- import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
27
- import { useGlobalContext } from "../../Modal/contextApi/store.js";
28
- import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
29
- import "../../Table/Table.css.js";
30
- import "../../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
31
- import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
32
- import "@hookform/resolvers/zod";
33
- import "../../Input/Checkbox.js";
34
- import "../../Input/CurrencyInput.js";
35
- import "../../Input/Dropdown.js";
36
- import "../../Input/Dropdown.css.js";
37
- import "../../Input/Input.js";
38
- import "../../Input/Input.css.js";
39
- import "../../Input/InputAmount.js";
40
- import "../../Input/InputPhone.js";
41
- import "../../Input/InputTextArea.js";
42
- import "../../Input/DownPaymentInput.js";
43
- import "../../Input/RadioButton.js";
44
- import "../../Input/PercentageInput.js";
45
- import "react-hook-form";
46
- import "../../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
47
- import "../../Forms/Forms.css.js";
48
- import "../../Forms/HoneyPot/index.js";
49
- import "../../Forms/SalesforceFieldsForm.js";
50
- import "../../Input/RadioButton.css.js";
51
- import "../../Input/Checkbox.css.js";
52
- import "../../LoadingIndicator/LoadingIndicator.css.js";
53
- import "../../Inputs/Input.css.js";
54
- /* empty css */
55
- import "../../Hyperlink/Hyperlink.css.js";
56
- /* empty css */
57
- import "iframe-resizer";
58
- /* empty css */
59
- import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
60
- import "../../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
61
- import "../../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
62
- /* empty css */
63
- import "react-dom";
64
- /* empty css */
65
- import "../../Auth/SignInPassword.js";
66
- /* empty css */
67
- /* empty css */
68
- /* empty css */
69
- /* empty css */
70
- import "../../Carousel/index.js";
71
- /* empty css */
72
- /* empty css */
73
- import "../../Chatbot/store/chat.js";
74
- import "../../Chatbot/authenticate.js";
75
- /* empty css */
76
- /* empty css */
77
- import "../../Chatbot/store/messages.js";
78
- /* empty css */
79
- import "../../Comparison/Comparison.css.js";
80
- import "next/image.js";
81
- import "../../HeroBanner/HeroBanner.css.js";
82
- import "../../HeroBanner/LargeBanner.css.js";
83
- import "../../HeroBanner/SelectionBanner.css.js";
84
- import "../../SetContainer/SetContainer.css.js";
85
- import "../../Tab/Tab.css.js";
86
- import "../../icons/Star/Star.css.js";
87
- import "../../ContentBanner/ContentBanner.css.js";
88
- /* empty css */
89
- import "../../ExecutiveBio/ExecutiveBio.css.js";
90
- import "../../FaqAccordion/index.js";
91
- import "../../FooterDisclosure/FooterDisclosure.css.js";
92
- /* empty css */
93
- /* empty css */
94
- /* empty css */
95
- import "../../ImageBillboard/ImageBillboard.css.js";
96
- import "next/script.js";
97
- /* empty css */
98
- /* empty css */
99
- /* empty css */
100
- /* empty css */
101
- /* empty css */
102
- import "../../LandingPageHeader/LandingPageHeader.css.js";
103
- /* empty css */
104
- import "next/navigation.js";
105
- /* empty css */
106
- /* empty css */
107
- /* empty css */
108
- /* empty css */
109
- import styles from "./NavBar.module.js";
110
- import "next/link.js";
111
- import "./Menu.js";
112
- /* empty css */
113
- /* empty css */
114
- /* empty css */
115
- /* empty css */
116
- import "../../PageNavItem/PageNavItem.css.js";
117
- import "react-slick";
118
- /* empty css */
119
- /* empty css */
120
- /* empty css */
121
- /* empty css */
122
- import "../../StepItem/StepItem.css.js";
123
- import "../../StepItemSet/StepItemSet.css.js";
124
- /* empty css */
125
- /* empty css */
126
- /* empty css */
127
- /* empty css */
128
- /* empty css */
129
- /* empty css */
130
- const SubNavItem = () => {
131
- const { resolveUrl } = useGlobalContext();
132
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
133
- /* @__PURE__ */ jsxs(
134
- "li",
135
- {
136
- className: styles.sub_nav_link,
137
- role: "menuitem",
138
- children: [
139
- /* @__PURE__ */ jsx(
140
- "a",
141
- {
142
- href: resolveUrl("{AXOSBANK}/personal/bank"),
143
- id: "personalNav1",
144
- "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.",
145
- children: "Bank"
146
- }
147
- ),
148
- /* @__PURE__ */ jsx(
149
- "a",
150
- {
151
- href: "#",
152
- id: "personalNav1",
153
- "aria-label": "Press Enter to open the Bank section sub-menu.",
154
- children: /* @__PURE__ */ jsx(
155
- "svg",
156
- {
157
- width: "15",
158
- height: "12",
159
- viewBox: "0 0 20 12",
160
- fill: "none",
161
- xmlns: "http://www.w3.org/2000/svg",
162
- style: { marginLeft: "8px" },
163
- children: /* @__PURE__ */ jsx(
164
- "path",
165
- {
166
- d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
167
- fill: "white"
168
- }
169
- )
170
- }
171
- )
172
- }
173
- )
174
- ]
175
- }
176
- ),
177
- /* @__PURE__ */ jsxs(
178
- "li",
179
- {
180
- className: styles.sub_nav_link,
181
- role: "menuitem",
182
- children: [
183
- /* @__PURE__ */ jsx(
184
- "a",
185
- {
186
- href: resolveUrl("{AXOSBANK}/personal/borrow"),
187
- id: "personalNav2",
188
- "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.",
189
- children: "Borrow"
190
- }
191
- ),
192
- /* @__PURE__ */ jsx(
193
- "a",
194
- {
195
- href: "#",
196
- id: "personalNav2",
197
- "aria-label": "Press Enter to open the Borrow section sub-menu.",
198
- children: /* @__PURE__ */ jsx(
199
- "svg",
200
- {
201
- width: "15",
202
- height: "12",
203
- viewBox: "0 0 20 12",
204
- fill: "none",
205
- xmlns: "http://www.w3.org/2000/svg",
206
- style: { marginLeft: "8px" },
207
- children: /* @__PURE__ */ jsx(
208
- "path",
209
- {
210
- d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
211
- fill: "white"
212
- }
213
- )
214
- }
215
- )
216
- }
217
- )
218
- ]
219
- }
220
- ),
221
- /* @__PURE__ */ jsxs(
222
- "li",
223
- {
224
- className: styles.sub_nav_link,
225
- role: "menuitem",
226
- children: [
227
- /* @__PURE__ */ jsx(
228
- "a",
229
- {
230
- href: resolveUrl("{AXOS}/invest"),
231
- id: "personalNav3",
232
- "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.",
233
- children: "Invest"
234
- }
235
- ),
236
- /* @__PURE__ */ jsx(
237
- "a",
238
- {
239
- href: "#",
240
- id: "personalNav3",
241
- "aria-label": "Press Enter to open the Invest section sub-menu.",
242
- children: /* @__PURE__ */ jsx(
243
- "svg",
244
- {
245
- width: "15",
246
- height: "12",
247
- viewBox: "0 0 20 12",
248
- fill: "none",
249
- xmlns: "http://www.w3.org/2000/svg",
250
- style: { marginLeft: "8px" },
251
- children: /* @__PURE__ */ jsx(
252
- "path",
253
- {
254
- d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
255
- fill: "white"
256
- }
257
- )
258
- }
259
- )
260
- }
261
- )
262
- ]
263
- }
264
- ),
265
- /* @__PURE__ */ jsxs(
266
- "li",
267
- {
268
- className: styles.sub_nav_link,
269
- role: "menuitem",
270
- children: [
271
- /* @__PURE__ */ jsx(
272
- "a",
273
- {
274
- href: resolveUrl("{AXOSBANK}/personal/plan"),
275
- id: "personalNav4",
276
- "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.",
277
- children: "Plan"
278
- }
279
- ),
280
- /* @__PURE__ */ jsx(
281
- "a",
282
- {
283
- href: "#",
284
- id: "personalNav4",
285
- "aria-label": "Press Enter to open the Plan section sub-menu.",
286
- children: /* @__PURE__ */ jsx(
287
- "svg",
288
- {
289
- width: "15",
290
- height: "12",
291
- viewBox: "0 0 20 12",
292
- fill: "none",
293
- xmlns: "http://www.w3.org/2000/svg",
294
- style: { marginLeft: "8px" },
295
- children: /* @__PURE__ */ jsx(
296
- "path",
297
- {
298
- d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
299
- fill: "white"
300
- }
301
- )
302
- }
303
- )
304
- }
305
- )
306
- ]
307
- }
308
- )
309
- ] }) });
310
- };
311
- export {
312
- SubNavItem
313
- };