@axos-web-dev/shared-components 0.0.117 → 0.0.118
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.
- package/dist/Accordion/Accordion.css.d.ts +9 -9
- package/dist/ArticlesSet/ArticlesSet.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +4 -2
- package/dist/Calculators/calculators.js +6 -0
- package/dist/Carousel/index.d.ts +1 -0
- package/dist/Carousel/index.js +5 -4
- package/dist/Comparison/Comparison.css.js +2 -2
- package/dist/ContentBanner/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/FaqAccordion/index.d.ts +1 -0
- package/dist/FaqAccordion/index.js +2 -2
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +5 -2
- package/dist/FooterDisclosure/FooterDisclosure.js +18 -2
- package/dist/Forms/ApplicationStart.js +105 -113
- package/dist/Forms/ClearingForm.js +177 -185
- package/dist/Forms/CommercialLending.js +276 -281
- package/dist/Forms/ContactCompany.js +107 -115
- package/dist/Forms/ContactUs.js +89 -97
- package/dist/Forms/ContactUsAAS.js +170 -178
- package/dist/Forms/ContactUsBusiness.js +128 -136
- package/dist/Forms/ContactUsNMLSId.js +111 -119
- package/dist/Forms/CpraRequest.js +592 -600
- package/dist/Forms/DealerServices.js +219 -227
- package/dist/Forms/EmailOnly.js +48 -56
- package/dist/Forms/EmailUs.js +65 -73
- package/dist/Forms/Forms.css.js +2 -2
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -0
- package/dist/Forms/ScheduleCall.js +149 -160
- package/dist/Forms/ScheduleCallPremier.js +171 -179
- package/dist/Forms/WcplSurvey.js +102 -110
- package/dist/HeroBanner/HeroBanner.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/IconBillboard/IconBillboard.d.ts +1 -0
- package/dist/IconBillboard/IconBillboard.js +6 -4
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
- package/dist/Input/Checkbox.d.ts +1 -1
- package/dist/Input/Input.css.js +1 -1
- package/dist/Input/InputProps.d.ts +0 -6
- package/dist/Insight/Featured/CategorySelector.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/dist/Table/Table.d.ts +13 -13
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/VideoTile/VideoTile.js +1 -1
- package/dist/VideoWrapper/index.js +22 -30
- package/dist/assets/Comparison/Comparison.css +0 -1
- package/dist/assets/Table/Table.css +8 -8
- package/dist/index.css.js +1 -1
- package/package.json +121 -121
- package/dist/Input/DatePicker.css.d.ts +0 -1
- package/dist/Input/DatePicker.css.js +0 -6
- package/dist/Input/Datepicker.d.ts +0 -3
- package/dist/Input/Datepicker.js +0 -47
- package/dist/Input/InputDate.css.d.ts +0 -6
- package/dist/Input/InputDate.css.js +0 -15
- package/dist/Input/InputDate.d.ts +0 -3
- package/dist/Input/InputDate.js +0 -47
- package/dist/assets/Input/DatePicker.css +0 -95
- package/dist/assets/Input/InputDate.css +0 -39
|
@@ -4,39 +4,39 @@ export declare const accordion: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
4
4
|
width: {
|
|
5
5
|
"1/2": {
|
|
6
6
|
display: "flex";
|
|
7
|
-
flexBasis:
|
|
7
|
+
flexBasis: `${number}%`;
|
|
8
8
|
};
|
|
9
9
|
"1/3": {
|
|
10
10
|
display: "flex";
|
|
11
|
-
flexBasis:
|
|
11
|
+
flexBasis: `${number}%`;
|
|
12
12
|
};
|
|
13
13
|
"2/3": {
|
|
14
14
|
display: "flex";
|
|
15
|
-
flexBasis:
|
|
15
|
+
flexBasis: `${number}%`;
|
|
16
16
|
};
|
|
17
17
|
"1/4": {
|
|
18
18
|
display: "flex";
|
|
19
|
-
flexBasis:
|
|
19
|
+
flexBasis: `${number}%`;
|
|
20
20
|
};
|
|
21
21
|
"3/4": {
|
|
22
22
|
display: "flex";
|
|
23
|
-
flexBasis:
|
|
23
|
+
flexBasis: `${number}%`;
|
|
24
24
|
};
|
|
25
25
|
"1/5": {
|
|
26
26
|
display: "flex";
|
|
27
|
-
flexBasis:
|
|
27
|
+
flexBasis: `${number}%`;
|
|
28
28
|
};
|
|
29
29
|
"2/5": {
|
|
30
30
|
display: "flex";
|
|
31
|
-
flexBasis:
|
|
31
|
+
flexBasis: `${number}%`;
|
|
32
32
|
};
|
|
33
33
|
"3/5": {
|
|
34
34
|
display: "flex";
|
|
35
|
-
flexBasis:
|
|
35
|
+
flexBasis: `${number}%`;
|
|
36
36
|
};
|
|
37
37
|
"4/5": {
|
|
38
38
|
display: "flex";
|
|
39
|
-
flexBasis:
|
|
39
|
+
flexBasis: `${number}%`;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
@@ -11,7 +11,7 @@ const ArticlesSet = ({
|
|
|
11
11
|
variant: fullVariant = "primary"
|
|
12
12
|
}) => {
|
|
13
13
|
const variant = getVariant(fullVariant);
|
|
14
|
-
return /* @__PURE__ */ jsx("section", { className: ant_section, id
|
|
14
|
+
return /* @__PURE__ */ jsx("section", { className: ant_section, id, children: /* @__PURE__ */ jsxs("div", { className: "containment", children: [
|
|
15
15
|
/* @__PURE__ */ jsxs("div", { className: `${ant_header} text_center`, children: [
|
|
16
16
|
/* @__PURE__ */ jsx("h2", { className: `${ant_sec_title({ variant })} header_1`, children: title || "Articles & Tools" }),
|
|
17
17
|
/* @__PURE__ */ jsx("div", { className: `${ant_sec_body({ variant })} push_up`, children: /* @__PURE__ */ jsx(Fragment, { children: description }) }),
|
|
@@ -217,7 +217,8 @@ const MarginTradingCalculator = ({
|
|
|
217
217
|
className: "bordered",
|
|
218
218
|
type: "number",
|
|
219
219
|
id: "accCashVal",
|
|
220
|
-
max: 999999999e-2
|
|
220
|
+
max: 999999999e-2,
|
|
221
|
+
min: 0
|
|
221
222
|
}
|
|
222
223
|
)
|
|
223
224
|
] }),
|
|
@@ -232,7 +233,8 @@ const MarginTradingCalculator = ({
|
|
|
232
233
|
className: "bordered",
|
|
233
234
|
type: "number",
|
|
234
235
|
id: "accSecVal",
|
|
235
|
-
max: 999999999e-2
|
|
236
|
+
max: 999999999e-2,
|
|
237
|
+
min: 0
|
|
236
238
|
}
|
|
237
239
|
)
|
|
238
240
|
] }),
|
|
@@ -108,6 +108,12 @@ const calculators = /* @__PURE__ */ new Map([
|
|
|
108
108
|
{
|
|
109
109
|
src: "https://www.fintactix.com/bofi/tools/retirement/r03"
|
|
110
110
|
}
|
|
111
|
+
],
|
|
112
|
+
[
|
|
113
|
+
"Save for College",
|
|
114
|
+
{
|
|
115
|
+
src: "https://www.fintactix.com/bofi/tools/savings/s03"
|
|
116
|
+
}
|
|
111
117
|
]
|
|
112
118
|
]);
|
|
113
119
|
export {
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface CarouselProps extends PropsWithChildren {
|
|
|
15
15
|
items?: SlideProps[];
|
|
16
16
|
title?: ReactNode;
|
|
17
17
|
description?: ReactNode;
|
|
18
|
+
id?: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const CarouselSlide: (props: SlideProps & carouselVariants) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export declare const Carousel: (props: CarouselProps & carouselVariants) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Carousel/index.js
CHANGED
|
@@ -142,7 +142,8 @@ const Carousel = (props) => {
|
|
|
142
142
|
items,
|
|
143
143
|
auto = false,
|
|
144
144
|
title = void 0,
|
|
145
|
-
description = void 0
|
|
145
|
+
description = void 0,
|
|
146
|
+
id
|
|
146
147
|
} = props;
|
|
147
148
|
const change = useCarousel((state) => state.change);
|
|
148
149
|
const itemSelected = useCarousel((state) => state.selected);
|
|
@@ -163,8 +164,8 @@ const Carousel = (props) => {
|
|
|
163
164
|
const changeAfterTime = setInterval(() => plusSlides(itemSelected), time);
|
|
164
165
|
return () => clearInterval(changeAfterTime);
|
|
165
166
|
}, [auto, change, children, itemSelected, time]);
|
|
166
|
-
const selectItem = (
|
|
167
|
-
change(
|
|
167
|
+
const selectItem = (id2) => {
|
|
168
|
+
change(id2);
|
|
168
169
|
};
|
|
169
170
|
const child = children;
|
|
170
171
|
const showDots = () => {
|
|
@@ -179,7 +180,7 @@ const Carousel = (props) => {
|
|
|
179
180
|
)) });
|
|
180
181
|
}
|
|
181
182
|
};
|
|
182
|
-
return /* @__PURE__ */ jsxs("div", { className: `containment`, children: [
|
|
183
|
+
return /* @__PURE__ */ jsxs("div", { className: `containment`, id, children: [
|
|
183
184
|
title && /* @__PURE__ */ jsxs("div", { className: section_text, children: [
|
|
184
185
|
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerCarousel({ variant })), children: title }),
|
|
185
186
|
/* @__PURE__ */ jsx("div", { className: clsx(descriptionCarousel({ variant })), children: description })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
2
|
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
7
7
|
var comparison = createRuntimeFn({ defaultClassName: "_198o0lt0", variantClassNames: { variant: { primary: "_198o0lt1", secondary: "_198o0lt2", tertiary: "_198o0lt3", quaternary: "_198o0lt4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -21,7 +21,7 @@ const ContentBanner = ({
|
|
|
21
21
|
return /* @__PURE__ */ jsx(
|
|
22
22
|
"section",
|
|
23
23
|
{
|
|
24
|
-
id
|
|
24
|
+
id,
|
|
25
25
|
className: `${content_banner({ variant: banner_variant })} ${bannerSize == "Large" ? section_pad : section_min_pad}`,
|
|
26
26
|
children: /* @__PURE__ */ jsxs("div", { className: `containment`, children: [
|
|
27
27
|
/* @__PURE__ */ jsxs("div", { className: `text_center`, children: [
|
|
@@ -15,7 +15,7 @@ const ExecutiveBio = ({
|
|
|
15
15
|
variant: fullVariant = "primary"
|
|
16
16
|
}) => {
|
|
17
17
|
const variant = getVariant(fullVariant);
|
|
18
|
-
return /* @__PURE__ */ jsx("section", { className: "section_spacer", id
|
|
18
|
+
return /* @__PURE__ */ jsx("section", { className: "section_spacer", id, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${padding} ${item_bio({ variant })} rounded`, children: /* @__PURE__ */ jsxs("div", { className: `${shift} flex`, children: [
|
|
19
19
|
executiveHeadshot && /* @__PURE__ */ jsx("div", { className: media, children: /* @__PURE__ */ jsx("div", { className: headshot, children: /* @__PURE__ */ jsx(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
@@ -179,8 +179,8 @@ const AccordionItemContent = (props) => {
|
|
|
179
179
|
return /* @__PURE__ */ jsx("div", { className: content, children: props.children });
|
|
180
180
|
};
|
|
181
181
|
const FaqAccordion = (props) => {
|
|
182
|
-
const { children } = props;
|
|
183
|
-
return /* @__PURE__ */ jsxs("section", { children: [
|
|
182
|
+
const { children, id } = props;
|
|
183
|
+
return /* @__PURE__ */ jsxs("section", { id, children: [
|
|
184
184
|
props.header && /* @__PURE__ */ jsx("h2", { className: header, children: props.header }),
|
|
185
185
|
/* @__PURE__ */ jsx("div", { className: faqAccordion, children })
|
|
186
186
|
] });
|
|
@@ -4,8 +4,11 @@ type WithStyles = {
|
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
type WithId = {
|
|
8
|
+
id?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const FooterContent: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const FooterParagraph: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
export declare const FooterIcons: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
10
13
|
export declare const FooterDisclosure: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export {};
|
|
@@ -2,10 +2,26 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { footerParagraph, iconsContent, footerDisclosure } from "./FooterDisclosure.css.js";
|
|
4
4
|
const FooterContent = (props) => {
|
|
5
|
-
return /* @__PURE__ */ jsx(
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
id: props?.id ?? void 0,
|
|
9
|
+
className: clsx(props.className, "containment"),
|
|
10
|
+
style: props.style,
|
|
11
|
+
children: props.children
|
|
12
|
+
}
|
|
13
|
+
);
|
|
6
14
|
};
|
|
7
15
|
const FooterParagraph = (props) => {
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
id: props.id ?? void 0,
|
|
20
|
+
className: clsx(footerParagraph, props.className),
|
|
21
|
+
style: props.style,
|
|
22
|
+
children: props.children
|
|
23
|
+
}
|
|
24
|
+
);
|
|
9
25
|
};
|
|
10
26
|
const FooterIcons = (props) => {
|
|
11
27
|
return /* @__PURE__ */ jsx(
|
|
@@ -85,120 +85,112 @@ const ApplicationStart = ({
|
|
|
85
85
|
await onSubmit(processData);
|
|
86
86
|
};
|
|
87
87
|
const variant = getVariant(fullVariant);
|
|
88
|
-
return /* @__PURE__ */ jsx(
|
|
89
|
-
"
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
88
|
+
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
89
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
90
|
+
/* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
|
|
91
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
92
|
+
description && /* @__PURE__ */ jsx(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: clsx(
|
|
96
|
+
"text_center",
|
|
97
|
+
form,
|
|
98
|
+
descriptionField({ variant })
|
|
99
|
+
),
|
|
100
|
+
children: description
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
105
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
106
|
+
/* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
|
|
107
|
+
Input,
|
|
108
|
+
{
|
|
109
|
+
id: "first_name",
|
|
110
|
+
...register("first_name", { required: true }),
|
|
111
|
+
label: "First Name",
|
|
112
|
+
sizes: "medium",
|
|
113
|
+
placeholder: "First Name",
|
|
114
|
+
required: true,
|
|
115
|
+
error: !!errors.first_name,
|
|
116
|
+
helperText: errors.first_name?.message,
|
|
117
|
+
variant
|
|
118
|
+
}
|
|
119
|
+
) }),
|
|
120
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
121
|
+
Input,
|
|
122
|
+
{
|
|
123
|
+
id: "last_name",
|
|
124
|
+
...register("last_name", { required: true }),
|
|
125
|
+
label: "Last Name",
|
|
126
|
+
sizes: "medium",
|
|
127
|
+
placeholder: "Last Name",
|
|
128
|
+
required: true,
|
|
129
|
+
error: !!errors.last_name,
|
|
130
|
+
helperText: errors.last_name?.message,
|
|
131
|
+
variant
|
|
132
|
+
}
|
|
133
|
+
) }),
|
|
134
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
135
|
+
Input,
|
|
136
|
+
{
|
|
137
|
+
id: "email",
|
|
138
|
+
...register("email", {
|
|
139
|
+
required: true,
|
|
140
|
+
validate: {
|
|
141
|
+
isValid: associatedEmail
|
|
123
142
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
id: "checkbox__c",
|
|
176
|
-
...register("checkbox__c"),
|
|
177
|
-
sizes: "medium",
|
|
178
|
-
error: !!errors.checkbox__c,
|
|
179
|
-
helperText: errors.checkbox__c?.message,
|
|
180
|
-
variant,
|
|
181
|
-
children: "By providing your phone number and selecting the checkbox, you have agreed to these Terms and Conditions, and you have agreed to receive automated text messages, calls, and emails for any purpose including but not limited to marketing of products and services by Axos Bank. You understand and agree that such messages may be sent via Automatic Telephone Dialing System and/or artificial or pre-recorded voice, and that such consent is not a condition of receipt of any good or service. Mobile carrier messages and data rates may apply. You may opt out at any time."
|
|
182
|
-
}
|
|
183
|
-
) })
|
|
184
|
-
] }),
|
|
185
|
-
children,
|
|
186
|
-
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
187
|
-
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
188
|
-
Button,
|
|
189
|
-
{
|
|
190
|
-
color: getVariant(callToAction?.variant),
|
|
191
|
-
as: "button",
|
|
192
|
-
type: "submit",
|
|
193
|
-
disabled: !isValid || isSubmitting,
|
|
194
|
-
children: callToAction?.displayText
|
|
195
|
-
}
|
|
196
|
-
) })
|
|
197
|
-
] })
|
|
198
|
-
] }) })
|
|
199
|
-
},
|
|
200
|
-
id
|
|
201
|
-
);
|
|
143
|
+
}),
|
|
144
|
+
label: "Email",
|
|
145
|
+
sizes: "medium",
|
|
146
|
+
placeholder: "Email",
|
|
147
|
+
required: true,
|
|
148
|
+
error: !!errors.email,
|
|
149
|
+
helperText: errors.email?.message,
|
|
150
|
+
variant
|
|
151
|
+
}
|
|
152
|
+
) }),
|
|
153
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
154
|
+
InputPhone,
|
|
155
|
+
{
|
|
156
|
+
id: "phone",
|
|
157
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
158
|
+
label: "Phone",
|
|
159
|
+
sizes: "medium",
|
|
160
|
+
placeholder: "Phone",
|
|
161
|
+
required: true,
|
|
162
|
+
error: !!errors.phone,
|
|
163
|
+
helperText: errors.phone?.message,
|
|
164
|
+
variant
|
|
165
|
+
}
|
|
166
|
+
) }),
|
|
167
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
168
|
+
Checkbox,
|
|
169
|
+
{
|
|
170
|
+
id: "checkbox__c",
|
|
171
|
+
...register("checkbox__c"),
|
|
172
|
+
sizes: "medium",
|
|
173
|
+
error: !!errors.checkbox__c,
|
|
174
|
+
helperText: errors.checkbox__c?.message,
|
|
175
|
+
variant,
|
|
176
|
+
children: "By providing your phone number and selecting the checkbox, you have agreed to these Terms and Conditions, and you have agreed to receive automated text messages, calls, and emails for any purpose including but not limited to marketing of products and services by Axos Bank. You understand and agree that such messages may be sent via Automatic Telephone Dialing System and/or artificial or pre-recorded voice, and that such consent is not a condition of receipt of any good or service. Mobile carrier messages and data rates may apply. You may opt out at any time."
|
|
177
|
+
}
|
|
178
|
+
) })
|
|
179
|
+
] }),
|
|
180
|
+
children,
|
|
181
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
182
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
183
|
+
Button,
|
|
184
|
+
{
|
|
185
|
+
color: getVariant(callToAction?.variant),
|
|
186
|
+
as: "button",
|
|
187
|
+
type: "submit",
|
|
188
|
+
disabled: !isValid || isSubmitting,
|
|
189
|
+
children: callToAction?.displayText
|
|
190
|
+
}
|
|
191
|
+
) })
|
|
192
|
+
] })
|
|
193
|
+
] }) }) }, id);
|
|
202
194
|
};
|
|
203
195
|
export {
|
|
204
196
|
ApplicationStart
|