@axos-web-dev/shared-components 1.0.5 → 1.0.6

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.
@@ -80,7 +80,7 @@ const CallToActionBar = ({
80
80
  {
81
81
  src: image.src,
82
82
  alt: "",
83
- className: `${image_overlap && banner_size !== "large" ? cta_image_overlap : ""}${banner_size === "large" ? cta_large_image : ""}`
83
+ className: `${image_overlap && banner_size !== "large" ? cta_image_overlap : ""} ${banner_size === "large" ? cta_large_image : ""}`
84
84
  }
85
85
  )
86
86
  }
@@ -16,7 +16,7 @@ export type QuickPricerInputs = {
16
16
  Base_Loan_Amount__c: number;
17
17
  Appraised_Value__c: number;
18
18
  Loan_Purpose__c: string;
19
- Cash_Out_Amount__c: number;
19
+ Cash_Out_Amount__c: string;
20
20
  Interest_Only__c: boolean;
21
21
  Self_Employed__c: boolean;
22
22
  Pledged_Assets__c: boolean;
@@ -28,6 +28,7 @@ import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons
28
28
  import "../../utils/allowedAxosDomains.js";
29
29
  import { associatedEmail } from "../../utils/EverestValidity.js";
30
30
  import { getVariant } from "../../utils/getVariant.js";
31
+ import { format } from "@react-input/number-format";
31
32
  import clsx from "clsx";
32
33
  import { useForm, FormProvider } from "react-hook-form";
33
34
  import * as z from "zod";
@@ -218,14 +219,15 @@ const QuickPricer = ({
218
219
  mode: "all",
219
220
  reValidateMode: "onChange",
220
221
  defaultValues: {
221
- Cash_Out_Amount__c: 0,
222
+ Cash_Out_Amount__c: format(0),
222
223
  Debt_To_Income_Ratio__c: 0,
223
224
  housingEventSeasoning__c: "NotApplicable",
224
225
  bankruptcySeasoning__c: "NotApplicable",
225
226
  Number_of_Properties_Financed__c: 0,
226
227
  Units__c: "OneUnit",
227
228
  Prepayment_Penalty__c: "None",
228
- Months_Reserves__c: 0
229
+ Months_Reserves__c: 0,
230
+ HousingEventType__c: "None"
229
231
  }
230
232
  });
231
233
  const {
@@ -316,7 +318,7 @@ const QuickPricer = ({
316
318
  setRefiCashOut(true);
317
319
  } else {
318
320
  setRefiCashOut(false);
319
- setValue("Cash_Out_Amount__c", 0);
321
+ setValue("Cash_Out_Amount__c", format(0));
320
322
  }
321
323
  },
322
324
  children: [
@@ -1,56 +1,56 @@
1
- import '../../assets/NavigationMenu/AxosBank/NavBar.css.css';const header = "_header_1t3g5_1";
2
- const wrapper = "_wrapper_1t3g5_5";
3
- const header_main_row = "_header_main_row_1t3g5_11";
4
- const mobile_header = "_mobile_header_1t3g5_12";
5
- const logo_wrap = "_logo_wrap_1t3g5_18";
6
- const primary_links = "_primary_links_1t3g5_22";
7
- const main_nav_link = "_main_nav_link_1t3g5_26";
8
- const sub_nav_link = "_sub_nav_link_1t3g5_44";
9
- const signin_wrap = "_signin_wrap_1t3g5_46";
10
- const signin_btn = "_signin_btn_1t3g5_47";
11
- const header_sub_row = "_header_sub_row_1t3g5_84";
12
- const signin_dropdown = "_signin_dropdown_1t3g5_116";
13
- const shadow = "_shadow_1t3g5_126";
14
- const signin_header = "_signin_header_1t3g5_136";
15
- const signin_subheader = "_signin_subheader_1t3g5_143";
16
- const opacity = "_opacity_1t3g5_165";
17
- const fadeInDown = "_fadeInDown_1t3g5_1";
18
- const signin_footer = "_signin_footer_1t3g5_171";
19
- const open = "_open_1t3g5_192";
20
- const dd_wrapper = "_dd_wrapper_1t3g5_204";
21
- const dd_media = "_dd_media_1t3g5_213";
22
- const dd_media_img = "_dd_media_img_1t3g5_218";
23
- const dd_site_navs = "_dd_site_navs_1t3g5_222";
24
- const dd_media_header = "_dd_media_header_1t3g5_229";
25
- const mt_8 = "_mt_8_1t3g5_239";
26
- const mt_16 = "_mt_16_1t3g5_243";
27
- const ml_8 = "_ml_8_1t3g5_247";
28
- const dd_media_cta = "_dd_media_cta_1t3g5_251";
29
- const reversed_row = "_reversed_row_1t3g5_283";
30
- const headline = "_headline_1t3g5_293";
31
- const nav_anchor = "_nav_anchor_1t3g5_301";
32
- const headline_cta = "_headline_cta_1t3g5_309";
33
- const site_lists = "_site_lists_1t3g5_324";
34
- const hamburger = "_hamburger_1t3g5_362";
35
- const mobile_only = "_mobile_only_1t3g5_376";
36
- const mobile_logo = "_mobile_logo_1t3g5_382";
37
- const highlight = "_highlight_1t3g5_387";
38
- const mobile_nav = "_mobile_nav_1t3g5_413";
39
- const mobile_opened = "_mobile_opened_1t3g5_424";
40
- const mobile_nav_item = "_mobile_nav_item_1t3g5_432";
41
- const has_dropdown = "_has_dropdown_1t3g5_447";
42
- const icon_wrap = "_icon_wrap_1t3g5_463";
43
- const mobile_footer = "_mobile_footer_1t3g5_468";
44
- const mobile_footer_content = "_mobile_footer_content_1t3g5_473";
45
- const mobile_footer_media = "_mobile_footer_media_1t3g5_487";
46
- const footer_cta = "_footer_cta_1t3g5_493";
47
- const inner_wrapper = "_inner_wrapper_1t3g5_521";
48
- const btn = "_btn_1t3g5_526";
49
- const sub_menu = "_sub_menu_1t3g5_531";
50
- const main = "_main_1t3g5_26";
51
- const dd_footer = "_dd_footer_1t3g5_556";
52
- const skip_btn = "_skip_btn_1t3g5_564";
53
- const desktop_only = "_desktop_only_1t3g5_609";
1
+ import '../../assets/NavigationMenu/AxosBank/NavBar.css.css';const header = "_header_x3dhq_1";
2
+ const wrapper = "_wrapper_x3dhq_9";
3
+ const header_main_row = "_header_main_row_x3dhq_21";
4
+ const mobile_header = "_mobile_header_x3dhq_23";
5
+ const logo_wrap = "_logo_wrap_x3dhq_35";
6
+ const primary_links = "_primary_links_x3dhq_43";
7
+ const main_nav_link = "_main_nav_link_x3dhq_51";
8
+ const sub_nav_link = "_sub_nav_link_x3dhq_87";
9
+ const signin_wrap = "_signin_wrap_x3dhq_91";
10
+ const signin_btn = "_signin_btn_x3dhq_93";
11
+ const header_sub_row = "_header_sub_row_x3dhq_167";
12
+ const signin_dropdown = "_signin_dropdown_x3dhq_231";
13
+ const shadow = "_shadow_x3dhq_251";
14
+ const signin_header = "_signin_header_x3dhq_271";
15
+ const signin_subheader = "_signin_subheader_x3dhq_285";
16
+ const opacity = "_opacity_x3dhq_329";
17
+ const fadeInDown = "_fadeInDown_x3dhq_1";
18
+ const signin_footer = "_signin_footer_x3dhq_341";
19
+ const open = "_open_x3dhq_383";
20
+ const dd_wrapper = "_dd_wrapper_x3dhq_407";
21
+ const dd_media = "_dd_media_x3dhq_425";
22
+ const dd_media_img = "_dd_media_img_x3dhq_435";
23
+ const dd_site_navs = "_dd_site_navs_x3dhq_443";
24
+ const dd_media_header = "_dd_media_header_x3dhq_457";
25
+ const mt_8 = "_mt_8_x3dhq_477";
26
+ const mt_16 = "_mt_16_x3dhq_485";
27
+ const ml_8 = "_ml_8_x3dhq_493";
28
+ const dd_media_cta = "_dd_media_cta_x3dhq_501";
29
+ const reversed_row = "_reversed_row_x3dhq_565";
30
+ const headline = "_headline_x3dhq_585";
31
+ const nav_anchor = "_nav_anchor_x3dhq_601";
32
+ const headline_cta = "_headline_cta_x3dhq_617";
33
+ const site_lists = "_site_lists_x3dhq_647";
34
+ const hamburger = "_hamburger_x3dhq_723";
35
+ const mobile_only = "_mobile_only_x3dhq_751";
36
+ const mobile_logo = "_mobile_logo_x3dhq_763";
37
+ const highlight = "_highlight_x3dhq_773";
38
+ const mobile_nav = "_mobile_nav_x3dhq_825";
39
+ const mobile_opened = "_mobile_opened_x3dhq_847";
40
+ const mobile_nav_item = "_mobile_nav_item_x3dhq_863";
41
+ const has_dropdown = "_has_dropdown_x3dhq_893";
42
+ const icon_wrap = "_icon_wrap_x3dhq_925";
43
+ const mobile_footer = "_mobile_footer_x3dhq_935";
44
+ const mobile_footer_content = "_mobile_footer_content_x3dhq_945";
45
+ const mobile_footer_media = "_mobile_footer_media_x3dhq_973";
46
+ const footer_cta = "_footer_cta_x3dhq_985";
47
+ const inner_wrapper = "_inner_wrapper_x3dhq_1041";
48
+ const btn = "_btn_x3dhq_1051";
49
+ const sub_menu = "_sub_menu_x3dhq_1061";
50
+ const main = "_main_x3dhq_51";
51
+ const dd_footer = "_dd_footer_x3dhq_1111";
52
+ const skip_btn = "_skip_btn_x3dhq_1127";
53
+ const desktop_only = "_desktop_only_x3dhq_1217";
54
54
  const styles = {
55
55
  header,
56
56
  wrapper,
@@ -120,6 +120,16 @@
120
120
  ._1tdyl740 .containment {
121
121
  padding: 1.5rem 0;
122
122
  }
123
+ ._1tdyl74c h2 {
124
+ font-size: 20px;
125
+ line-height: 1.33;
126
+ }
127
+ ._1tdyl74c .containment {
128
+ padding-block: 18px;
129
+ }
130
+ ._1tdyl74c ._1tdyl74d {
131
+ padding-top: 18px;
132
+ }
123
133
  }
124
134
  @media screen and (min-width:1024px) {
125
135
  ._1tdyl740 .flex {
@@ -140,4 +150,22 @@
140
150
  ._1tdyl743 ._1tdyl74d, ._1tdyl744 ._1tdyl74d {
141
151
  margin-top: 0;
142
152
  }
153
+ }
154
+ @media screen and (max-width:603px) {
155
+ ._1tdyl74c h2 {
156
+ font-size: 12px;
157
+ }
158
+ ._1tdyl74c .containment {
159
+ padding-block: 12px;
160
+ }
161
+ ._1tdyl74c ._1tdyl74d {
162
+ padding-top: 12px;
163
+ }
164
+ ._1tdyl74c ._13pdpuj6 {
165
+ padding: 4px 24px;
166
+ }
167
+ ._1tdyl74c ._13pdpuj0 {
168
+ font-size: 14px;
169
+ line-height: 1.43;
170
+ }
143
171
  }