@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.
Files changed (59) hide show
  1. package/dist/Accordion/Accordion.css.d.ts +9 -9
  2. package/dist/ArticlesSet/ArticlesSet.js +1 -1
  3. package/dist/Calculators/MarginTradingCalculator/index.js +4 -2
  4. package/dist/Calculators/calculators.js +6 -0
  5. package/dist/Carousel/index.d.ts +1 -0
  6. package/dist/Carousel/index.js +5 -4
  7. package/dist/Comparison/Comparison.css.js +2 -2
  8. package/dist/ContentBanner/index.js +1 -1
  9. package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
  10. package/dist/FaqAccordion/index.d.ts +1 -0
  11. package/dist/FaqAccordion/index.js +2 -2
  12. package/dist/FooterDisclosure/FooterDisclosure.d.ts +5 -2
  13. package/dist/FooterDisclosure/FooterDisclosure.js +18 -2
  14. package/dist/Forms/ApplicationStart.js +105 -113
  15. package/dist/Forms/ClearingForm.js +177 -185
  16. package/dist/Forms/CommercialLending.js +276 -281
  17. package/dist/Forms/ContactCompany.js +107 -115
  18. package/dist/Forms/ContactUs.js +89 -97
  19. package/dist/Forms/ContactUsAAS.js +170 -178
  20. package/dist/Forms/ContactUsBusiness.js +128 -136
  21. package/dist/Forms/ContactUsNMLSId.js +111 -119
  22. package/dist/Forms/CpraRequest.js +592 -600
  23. package/dist/Forms/DealerServices.js +219 -227
  24. package/dist/Forms/EmailOnly.js +48 -56
  25. package/dist/Forms/EmailUs.js +65 -73
  26. package/dist/Forms/Forms.css.js +2 -2
  27. package/dist/Forms/SalesforceFieldsForm.d.ts +1 -0
  28. package/dist/Forms/ScheduleCall.js +149 -160
  29. package/dist/Forms/ScheduleCallPremier.js +171 -179
  30. package/dist/Forms/WcplSurvey.js +102 -110
  31. package/dist/HeroBanner/HeroBanner.css.js +1 -1
  32. package/dist/HeroBanner/HeroBanner.js +2 -2
  33. package/dist/IconBillboard/IconBillboard.d.ts +1 -0
  34. package/dist/IconBillboard/IconBillboard.js +6 -4
  35. package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
  36. package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
  37. package/dist/Input/Checkbox.d.ts +1 -1
  38. package/dist/Input/Input.css.js +1 -1
  39. package/dist/Input/InputProps.d.ts +0 -6
  40. package/dist/Insight/Featured/CategorySelector.css.js +1 -1
  41. package/dist/StepItemSet/StepItemSet.js +1 -1
  42. package/dist/Table/Table.d.ts +13 -13
  43. package/dist/TextBlock/TextBlock.js +1 -1
  44. package/dist/VideoTile/VideoTile.js +1 -1
  45. package/dist/VideoWrapper/index.js +22 -30
  46. package/dist/assets/Comparison/Comparison.css +0 -1
  47. package/dist/assets/Table/Table.css +8 -8
  48. package/dist/index.css.js +1 -1
  49. package/package.json +121 -121
  50. package/dist/Input/DatePicker.css.d.ts +0 -1
  51. package/dist/Input/DatePicker.css.js +0 -6
  52. package/dist/Input/Datepicker.d.ts +0 -3
  53. package/dist/Input/Datepicker.js +0 -47
  54. package/dist/Input/InputDate.css.d.ts +0 -6
  55. package/dist/Input/InputDate.css.js +0 -15
  56. package/dist/Input/InputDate.d.ts +0 -3
  57. package/dist/Input/InputDate.js +0 -47
  58. package/dist/assets/Input/DatePicker.css +0 -95
  59. 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: "50%";
7
+ flexBasis: `${number}%`;
8
8
  };
9
9
  "1/3": {
10
10
  display: "flex";
11
- flexBasis: "33.333333333333336%";
11
+ flexBasis: `${number}%`;
12
12
  };
13
13
  "2/3": {
14
14
  display: "flex";
15
- flexBasis: "66.66666666666667%";
15
+ flexBasis: `${number}%`;
16
16
  };
17
17
  "1/4": {
18
18
  display: "flex";
19
- flexBasis: "25%";
19
+ flexBasis: `${number}%`;
20
20
  };
21
21
  "3/4": {
22
22
  display: "flex";
23
- flexBasis: "75%";
23
+ flexBasis: `${number}%`;
24
24
  };
25
25
  "1/5": {
26
26
  display: "flex";
27
- flexBasis: "20%";
27
+ flexBasis: `${number}%`;
28
28
  };
29
29
  "2/5": {
30
30
  display: "flex";
31
- flexBasis: "40%";
31
+ flexBasis: `${number}%`;
32
32
  };
33
33
  "3/5": {
34
34
  display: "flex";
35
- flexBasis: "60%";
35
+ flexBasis: `${number}%`;
36
36
  };
37
37
  "4/5": {
38
38
  display: "flex";
39
- flexBasis: "80%";
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: `id_${id}`, children: /* @__PURE__ */ jsxs("div", { className: "containment", children: [
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 {
@@ -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;
@@ -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 = (id) => {
167
- change(id);
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: `id_${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: `id_${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: [
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
  {
@@ -16,4 +16,5 @@ export declare const AccordionItemContent: (props: PropsWithChildren) => import(
16
16
  export declare const FaqAccordion: (props: {
17
17
  header?: string;
18
18
  accordionEmbedLevel?: string;
19
+ id?: string;
19
20
  } & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -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
- export declare const FooterContent: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
8
- export declare const FooterParagraph: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
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("div", { className: clsx(props.className, "containment"), style: props.style, children: props.children });
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("div", { className: clsx(footerParagraph, props.className), style: props.style, children: props.children });
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
- "section",
90
- {
91
- id: `id_${id}`,
92
- className: clsx(formContainer({ variant })),
93
- children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
94
- icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
95
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
96
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
97
- description && /* @__PURE__ */ jsx(
98
- "div",
99
- {
100
- className: clsx(
101
- "text_center",
102
- form,
103
- descriptionField({ variant })
104
- ),
105
- children: description
106
- }
107
- )
108
- ] }),
109
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
110
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
111
- /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
112
- Input,
113
- {
114
- id: "first_name",
115
- ...register("first_name", { required: true }),
116
- label: "First Name",
117
- sizes: "medium",
118
- placeholder: "First Name",
119
- required: true,
120
- error: !!errors.first_name,
121
- helperText: errors.first_name?.message,
122
- variant
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
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
126
- Input,
127
- {
128
- id: "last_name",
129
- ...register("last_name", { required: true }),
130
- label: "Last Name",
131
- sizes: "medium",
132
- placeholder: "Last Name",
133
- required: true,
134
- error: !!errors.last_name,
135
- helperText: errors.last_name?.message,
136
- variant
137
- }
138
- ) }),
139
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
140
- Input,
141
- {
142
- id: "email",
143
- ...register("email", {
144
- required: true,
145
- validate: {
146
- isValid: associatedEmail
147
- }
148
- }),
149
- label: "Email",
150
- sizes: "medium",
151
- placeholder: "Email",
152
- required: true,
153
- error: !!errors.email,
154
- helperText: errors.email?.message,
155
- variant
156
- }
157
- ) }),
158
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
159
- InputPhone,
160
- {
161
- id: "phone",
162
- ...register("phone", { required: true, maxLength: 12 }),
163
- label: "Phone",
164
- sizes: "medium",
165
- placeholder: "Phone",
166
- required: true,
167
- error: !!errors.phone,
168
- helperText: errors.phone?.message,
169
- variant
170
- }
171
- ) }),
172
- /* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
173
- Checkbox,
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