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

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.
@@ -242,24 +242,30 @@ export declare const menuData: {
242
242
  };
243
243
  "Log in": {
244
244
  Personal: {
245
- "Personal Banking Home": string;
246
245
  "Account Login": string;
247
246
  "Make a Payment": string;
248
247
  };
249
248
  Business: {
250
- "Business Banking Home": string;
251
249
  "Business Banking Login": string;
252
250
  "MWA Business Login": string;
253
251
  "Commercial Portal": string;
254
252
  };
255
253
  Partners: {
256
- "Partners Home": string;
257
254
  "Wholesale and Correspondent": string;
258
255
  "Advisor Login": string;
259
256
  };
260
257
  };
261
258
  "Return to Application": string;
262
259
  };
260
+ export type FlattenedLoginItem = {
261
+ title: string;
262
+ url: string;
263
+ };
264
+ export type LoginGroup = {
265
+ heading: string;
266
+ items: FlattenedLoginItem[];
267
+ };
268
+ export declare const getLoginGroups: () => LoginGroup[];
263
269
  export declare const getQuickLinks: (pathname: string) => {
264
270
  icon: string;
265
271
  title: string;
@@ -600,12 +600,12 @@ const menuData = {
600
600
  },
601
601
  "Log in": {
602
602
  Personal: {
603
- "Personal Banking Home": findMoreAxosDomains("{AXOSBANK}/personal"),
603
+ // "Personal Banking Home": findMoreAxosDomains("{AXOSBANK}/personal"),
604
604
  "Account Login": findMoreAxosDomains("{ONLINEBANKING}/auth/Login"),
605
605
  "Make a Payment": "https://loanpayment.axosbank.com"
606
606
  },
607
607
  Business: {
608
- "Business Banking Home": findMoreAxosDomains("{AXOSBANK}/business"),
608
+ // "Business Banking Home": findMoreAxosDomains("{AXOSBANK}/business"),
609
609
  "Business Banking Login": findMoreAxosDomains(
610
610
  "{AXOSBANK}/business/login"
611
611
  ),
@@ -617,7 +617,7 @@ const menuData = {
617
617
  )
618
618
  },
619
619
  Partners: {
620
- "Partners Home": findMoreAxosDomains("{AXOSBANK}/partners"),
620
+ // "Partners Home": findMoreAxosDomains("{AXOSBANK}/partners"),
621
621
  "Wholesale and Correspondent": "https://thirdpartylending.axosbank.com/index",
622
622
  "Advisor Login": findMoreAxosDomains("{ARMS}")
623
623
  }
@@ -626,6 +626,26 @@ const menuData = {
626
626
  "{AXOSBANK}/return-to-application"
627
627
  )
628
628
  };
629
+ const getLoginGroups = () => {
630
+ const loginSection = menuData["Log in"];
631
+ if (!loginSection || typeof loginSection !== "object") return [];
632
+ const groups = [];
633
+ for (const [heading, category] of Object.entries(
634
+ loginSection
635
+ )) {
636
+ if (!category || typeof category !== "object") continue;
637
+ const items = [];
638
+ for (const [title, url] of Object.entries(category)) {
639
+ if (typeof url === "string") {
640
+ items.push({ title, url });
641
+ }
642
+ }
643
+ if (items.length) {
644
+ groups.push({ heading, items });
645
+ }
646
+ }
647
+ return groups;
648
+ };
629
649
  const getQuickLinks = (pathname) => {
630
650
  let insightsUrl = findMoreAxosDomains("{AXOSBANK}/personal/insights");
631
651
  switch (true) {
@@ -666,6 +686,7 @@ const getQuickLinks = (pathname) => {
666
686
  ];
667
687
  };
668
688
  export {
689
+ getLoginGroups,
669
690
  getQuickLinks,
670
691
  menuData
671
692
  };
@@ -1,4 +1,4 @@
1
- ._overlay_fwuiv_1 {
1
+ ._overlay_ph78c_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_fwuiv_9 {
9
+ ._drawer_ph78c_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,22 @@
22
22
  z-index: 10001;
23
23
  }
24
24
 
25
- ._drawer_fwuiv_9::-webkit-scrollbar {
25
+ ._drawer_ph78c_9::-webkit-scrollbar {
26
26
  display: none;
27
27
  }
28
28
 
29
- ._hamburger_fwuiv_29 {
29
+ ._hamburger_ph78c_29 {
30
30
  background: transparent;
31
31
  border: none;
32
32
  cursor: pointer;
33
33
  transition: opacity 0.3s ease;
34
34
  }
35
35
 
36
- ._hamburger_fwuiv_29:hover {
36
+ ._hamburger_ph78c_29:hover {
37
37
  opacity: 0.8;
38
38
  }
39
39
 
40
- ._header_fwuiv_40 {
40
+ ._header_ph78c_40 {
41
41
  display: flex;
42
42
  align-items: center;
43
43
  background: #f4f4f4;
@@ -48,7 +48,7 @@
48
48
  z-index: 1;
49
49
  }
50
50
 
51
- ._back_fwuiv_51 {
51
+ ._back_ph78c_51 {
52
52
  color: var(--_1073cm83);
53
53
  font-size: 1rem;
54
54
  font-weight: 700;
@@ -56,23 +56,23 @@
56
56
  padding: 0;
57
57
  }
58
58
 
59
- ._close_fwuiv_59 {
59
+ ._close_ph78c_59 {
60
60
  font-size: 1.3rem;
61
61
  }
62
62
 
63
- ._back_fwuiv_51,
64
- ._close_fwuiv_59 {
63
+ ._back_ph78c_51,
64
+ ._close_ph78c_59 {
65
65
  background: none;
66
66
  border: none;
67
67
  cursor: pointer;
68
68
  }
69
69
 
70
- ._levelContainer_fwuiv_70 {
70
+ ._levelContainer_ph78c_70 {
71
71
  height: 100%;
72
72
  position: relative;
73
73
  }
74
74
 
75
- ._level_fwuiv_70 {
75
+ ._level_ph78c_70 {
76
76
  background: var(--_1073cm86);
77
77
  color: var(--_1073cm85);
78
78
  font-size: 0.9rem;
@@ -83,12 +83,12 @@
83
83
  z-index: 1;
84
84
  }
85
85
 
86
- ._levelTitle_fwuiv_86 {
86
+ ._levelTitle_ph78c_86 {
87
87
  font: 700 0.9rem / 1.39 var(--main-font-family);
88
88
  letter-spacing: 0.4px;
89
89
  }
90
90
 
91
- ._menu_fwuiv_91 {
91
+ ._menu_ph78c_91 {
92
92
  background-color: transparent;
93
93
  list-style: none;
94
94
  margin: 0;
@@ -97,18 +97,14 @@
97
97
  position: relative;
98
98
  }
99
99
 
100
- ._menu_fwuiv_91 li {
100
+ ._menu_ph78c_91 li {
101
101
  color: var(--_1073cm83);
102
102
  font-family: var(--header-font-family);
103
103
  font-weight: 500;
104
104
  border-top: 1px solid #e9e9e9;
105
105
  }
106
106
 
107
- ._menu_fwuiv_91 li + li {
108
- margin-top: 0.5rem;
109
- }
110
-
111
- ._menuItem_fwuiv_111 {
107
+ ._menuItem_ph78c_107 {
112
108
  display: flex;
113
109
  align-items: center;
114
110
  background: none;
@@ -124,23 +120,126 @@
124
120
  width: 100%;
125
121
  }
126
122
 
127
- ._chevron_fwuiv_127 {
123
+ ._loginAccordionOverlay_ph78c_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_ph78c_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_ph78c_123 {
148
+ padding: 0;
149
+ }
150
+
151
+ ._loginAccordionList_ph78c_151 {
152
+ list-style: none;
153
+ margin: 0;
154
+ padding: 0;
155
+ }
156
+
157
+ ._loginAccordionGroup_ph78c_157 {
158
+ margin-top: 12px;
159
+ padding-block: 4px;
160
+ }
161
+
162
+ ._loginAccordionHeading_ph78c_162 {
163
+ display: block;
164
+ font-family: var(--header-font-family);
165
+ font-weight: 700;
166
+ font-size: 0.85rem;
167
+ text-transform: uppercase;
168
+ letter-spacing: 0.04em;
169
+ color: var(--_1073cm83);
170
+ padding: 0.35rem 0 0.2rem;
171
+ }
172
+
173
+ ._loginAccordionGroupList_ph78c_173 {
174
+ list-style: none;
175
+ margin: 0;
176
+ padding: 0 0 0 16px;
177
+ }
178
+
179
+ ._loginAccordionList_ph78c_151 li {
180
+ font-family: var(--header-font-family);
181
+ font-weight: 500;
182
+ }
183
+
184
+ ._loginAccordionList_ph78c_151 li li {
185
+ border-top: none;
186
+ color: #98ddff;
187
+ font-weight: 700;
188
+ padding-block: 3px;
189
+ }
190
+
191
+ ._loginAccordionList_ph78c_151 ._menuItem_ph78c_107 {
192
+ display: inline;
193
+ padding-block: 0px;
194
+ }
195
+
196
+ ._loginAccordionList_ph78c_151 ._menuItem_ph78c_107:hover {
197
+ opacity: 0.7;
198
+ }
199
+
200
+ ._loginAccordion_ph78c_123 > ._menuItem_ph78c_107 {
201
+ padding-block: 4px;
202
+ position: relative;
203
+ isolation: isolate;
204
+ }
205
+
206
+ ._loginAccordion_ph78c_123 > ._menuItem_ph78c_107::after {
207
+ content: "return to menu";
208
+ position: absolute;
209
+ right: 36px;
210
+ bottom: 50%;
211
+ font-size: 12px;
212
+ transform: translateY(50%);
213
+ letter-spacing: 0.5px;
214
+ }
215
+
216
+ ._loginHeading_ph78c_216 {
217
+ font-family: var(--header-font-family);
218
+ font-size: 20px;
219
+ font-weight: 700;
220
+ line-height: 1;
221
+ display: flex;
222
+ align-items: center;
223
+ gap: 8px;
224
+ }
225
+
226
+ ._chevron_ph78c_226 {
128
227
  font-size: 1.2rem;
129
228
  margin-left: auto;
130
229
  }
131
230
 
132
- ._chevronIcon_fwuiv_132 {
231
+ ._chevronIcon_ph78c_231 {
133
232
  height: auto;
134
233
  margin-right: 10px;
135
234
  max-width: 8px;
136
235
  }
137
236
 
138
- body:has(._drawer_fwuiv_9) {
237
+ body:has(._drawer_ph78c_9) {
139
238
  overflow-y: hidden;
140
239
  position: relative;
141
240
  }
142
241
 
143
- ._quickLinks_fwuiv_143 {
242
+ ._quickLinks_ph78c_242 {
144
243
  background-color: #e8f7ff;
145
244
  bottom: 0;
146
245
  box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
@@ -150,7 +249,7 @@ body:has(._drawer_fwuiv_9) {
150
249
  position: sticky;
151
250
  }
152
251
 
153
- ._quickLink_fwuiv_143 {
252
+ ._quickLink_ph78c_242 {
154
253
  display: flex;
155
254
  align-items: center;
156
255
  color: var(--_1073cm83);
@@ -164,7 +263,7 @@ body:has(._drawer_fwuiv_9) {
164
263
  text-transform: uppercase;
165
264
  }
166
265
 
167
- ._sr_only_fwuiv_167 {
266
+ ._sr_only_ph78c_266 {
168
267
  position: absolute;
169
268
  border: 0;
170
269
  clip: rect(0, 0, 0, 0);
@@ -177,16 +276,19 @@ body:has(._drawer_fwuiv_9) {
177
276
  }
178
277
 
179
278
  @media (max-width: 540px) {
180
- ._drawer_fwuiv_9 {
279
+ ._drawer_ph78c_9 {
181
280
  border-radius: 0;
182
281
  max-width: none;
183
282
  width: 100%;
184
283
  }
185
- ._menu_fwuiv_91 li + li {
284
+ ._menu_ph78c_91 li + li {
186
285
  margin-top: 3px;
187
286
  }
188
- ._menuItem_fwuiv_111 {
287
+ ._menuItem_ph78c_107 {
189
288
  font-size: 0.9rem;
190
289
  padding: 0.65rem 0;
191
290
  }
291
+ ._loginAccordionOverlay_ph78c_123::before {
292
+ opacity: 0.1;
293
+ }
192
294
  }
package/dist/main.js CHANGED
@@ -70,6 +70,7 @@ import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
70
70
  import { CommercialDepositsNoLendingOption } from "./Forms/CommercialDepositsNoLendingOption.js";
71
71
  import { CommercialLending } from "./Forms/CommercialLending.js";
72
72
  import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
73
+ import { ConstructionLendingDynamic } from "./Forms/ConstructionLendingDynamic.js";
73
74
  import { ContactCompany } from "./Forms/ContactCompany.js";
74
75
  import { ContactCompanyTitle } from "./Forms/ContactCompanyTitle.js";
75
76
  import { ContactUs } from "./Forms/ContactUs.js";
@@ -276,6 +277,7 @@ export {
276
277
  CommercialLending,
277
278
  CommercialPremiumFinance,
278
279
  ComparisonSet,
280
+ ConstructionLendingDynamic,
279
281
  ContactCompany,
280
282
  ContactCompanyTitle,
281
283
  ContactUs,
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.68",
4
+ "version": "1.0.100-dev.69-mobileLogin",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",