@axos-web-dev/shared-components 0.0.57 → 0.0.59

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 (71) hide show
  1. package/dist/Article/Article.css.d.ts +158 -0
  2. package/dist/Article/Article.css.js +21 -0
  3. package/dist/Article/Article.d.ts +14 -0
  4. package/dist/Article/Article.js +51 -0
  5. package/dist/Article/index.d.ts +2 -0
  6. package/dist/Article/index.js +12 -0
  7. package/dist/ArticlesSet/ArticlesSet.css.d.ts +131 -0
  8. package/dist/ArticlesSet/ArticlesSet.css.js +21 -0
  9. package/dist/ArticlesSet/ArticlesSet.d.ts +12 -0
  10. package/dist/ArticlesSet/ArticlesSet.js +115 -0
  11. package/dist/ArticlesSet/index.d.ts +2 -0
  12. package/dist/ArticlesSet/index.js +12 -0
  13. package/dist/AwardsBanner/AwardsBanner.css.d.ts +2 -0
  14. package/dist/AwardsBanner/AwardsBanner.css.js +7 -0
  15. package/dist/AwardsBanner/AwardsBanner.d.ts +8 -0
  16. package/dist/AwardsBanner/AwardsBanner.js +18 -0
  17. package/dist/AwardsBanner/index.d.ts +2 -0
  18. package/dist/AwardsBanner/index.js +7 -0
  19. package/dist/AwardsItem/AwardsItem.css.d.ts +3 -0
  20. package/dist/AwardsItem/AwardsItem.css.js +10 -0
  21. package/dist/AwardsItem/AwardsItem.d.ts +9 -0
  22. package/dist/AwardsItem/AwardsItem.js +29 -0
  23. package/dist/AwardsItem/index.d.ts +2 -0
  24. package/dist/AwardsItem/index.js +8 -0
  25. package/dist/Carousel/index.js +5 -0
  26. package/dist/Chevron/index.js +6 -1
  27. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +149 -67
  28. package/dist/ExecutiveBio/ExecutiveBio.css.js +14 -12
  29. package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
  30. package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +4 -2
  31. package/dist/ExecutiveBio/ExecutiveBio.js +119 -47
  32. package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
  33. package/dist/ExecutiveBio/ExecutiveBioSet.js +21 -128
  34. package/dist/ExecutiveBio/index.js +3 -2
  35. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -1
  36. package/dist/Forms/ApplicationStart.js +1 -0
  37. package/dist/Forms/ContactCompany.d.ts +25 -0
  38. package/dist/Forms/ContactCompany.js +190 -0
  39. package/dist/Forms/ContactUsBusiness.js +5 -0
  40. package/dist/Forms/DealerServices.d.ts +32 -0
  41. package/dist/Forms/DealerServices.js +311 -0
  42. package/dist/Forms/EmailOnly.js +5 -0
  43. package/dist/Forms/RenderForm.js +5 -0
  44. package/dist/Forms/ScheduleCall.js +1 -0
  45. package/dist/Forms/ScheduleCallPremier.js +1 -0
  46. package/dist/Forms/SuccesForm.d.ts +7 -3
  47. package/dist/Forms/SuccesForm.js +76 -61
  48. package/dist/Forms/index.d.ts +2 -0
  49. package/dist/Forms/index.js +4 -0
  50. package/dist/Hyperlink/index.js +6 -1
  51. package/dist/ImageLink/ImageLink.js +5 -0
  52. package/dist/ImageLink/ImageLinkSet.js +5 -0
  53. package/dist/ImageLink/index.js +6 -1
  54. package/dist/Input/CurrencyInput.js +1 -0
  55. package/dist/Input/InputPhone.js +1 -0
  56. package/dist/Input/InputTextArea.d.ts +16 -0
  57. package/dist/Input/InputTextArea.js +48 -0
  58. package/dist/Input/index.d.ts +1 -0
  59. package/dist/Input/index.js +2 -0
  60. package/dist/Modal/Modal.js +6 -1
  61. package/dist/NavigationMenu/AxosAdvisorServices/NavData.js +1 -1
  62. package/dist/SetContainer/SetContainer.js +5 -0
  63. package/dist/assets/Article/Article.css +187 -0
  64. package/dist/assets/ArticlesSet/ArticlesSet.css +135 -0
  65. package/dist/assets/AwardsBanner/AwardsBanner.css +19 -0
  66. package/dist/assets/AwardsItem/AwardsItem.css +40 -0
  67. package/dist/assets/ExecutiveBio/ExecutiveBio.css +177 -89
  68. package/dist/assets/SetContainer/SetContainer.css +0 -3
  69. package/dist/main.d.ts +4 -0
  70. package/dist/main.js +40 -2
  71. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ import { ChevronProps } from '../Chevron/Chevron.interface';
2
+ import { QuaternaryTypes } from '../utils/variant.types';
3
+ import { PropsWithChildren, ReactNode } from 'react';
4
+
5
+ export type DealerServicesInputs = {
6
+ first_name: string;
7
+ last_name: string;
8
+ email: string;
9
+ phone: string;
10
+ title: string;
11
+ company: string;
12
+ Dealer_Type__c: string;
13
+ Lead_Source_Detail_SFDC2__c: string;
14
+ city: string;
15
+ state: string;
16
+ zip: string;
17
+ description: string;
18
+ };
19
+ export interface DealerServicesFormProps extends PropsWithChildren {
20
+ id?: string;
21
+ onSubmit?: (values: {
22
+ [index: string]: string;
23
+ }) => void;
24
+ icon?: boolean;
25
+ headline?: ReactNode | string;
26
+ description?: ReactNode | string;
27
+ disclosure?: ReactNode | string;
28
+ variant?: QuaternaryTypes;
29
+ validateEmail: (email: string) => Promise<boolean>;
30
+ callToAction: Omit<ChevronProps, "targetUrl">;
31
+ }
32
+ export declare const DealerServices: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: DealerServicesFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,311 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { zodResolver } from "@hookform/resolvers/zod";
4
+ import { Button } from "../Button/Button.js";
5
+ import "../Button/Button.css.js";
6
+ import "react";
7
+ import "react-use";
8
+ import "../Input/Checkbox.js";
9
+ import "../Input/CurrencyInput.js";
10
+ import { Dropdown } from "../Input/Dropdown.js";
11
+ /* empty css */
12
+ /* empty css */
13
+ import { Input } from "../Input/Input.js";
14
+ import "../Input/Input.css.js";
15
+ import { InputPhone } from "../Input/InputPhone.js";
16
+ import { InputTextArea } from "../Input/InputTextArea.js";
17
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
18
+ import SvgAxosX from "../icons/AxosX/index.js";
19
+ import SvgComponent from "../icons/AxosX/Blue.js";
20
+ import "../icons/CheckIcon/CheckIcon.css.js";
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
24
+ /* empty css */
25
+ import { associatedEmail } from "../utils/EverestValidity.js";
26
+ import { getVariant } from "../utils/getVariant.js";
27
+ import clsx from "clsx";
28
+ import { useForm, FormProvider } from "react-hook-form";
29
+ import * as z from "zod";
30
+ import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions } from "./Forms.css.js";
31
+ import { SalesforceSchema } from "./SalesforceFieldsForm.js";
32
+ const DealerServices = ({
33
+ icon = false,
34
+ children,
35
+ onSubmit = (values) => {
36
+ console.log(values);
37
+ },
38
+ disclosure,
39
+ variant: fullVariant = "primary",
40
+ headline,
41
+ description,
42
+ callToAction,
43
+ validateEmail,
44
+ id
45
+ }) => {
46
+ const schema = z.object({
47
+ first_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
48
+ last_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
49
+ email: z.string().email({ message: "Email is required." }).refine(async (val) => await validateEmail(val)),
50
+ phone: z.string().regex(/[\d-]{10}/).min(10, { message: "Phone is required." }).max(12, { message: "Phone is required." }).transform((val, ctx) => {
51
+ const removeDashes = val.replace(/-/gi, "");
52
+ if (removeDashes.length !== 10) {
53
+ ctx.addIssue({
54
+ code: z.ZodIssueCode.custom,
55
+ message: "Phone must have at least 10 and no more than 10 characters."
56
+ });
57
+ return z.NEVER;
58
+ }
59
+ return removeDashes;
60
+ }),
61
+ title: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Title is required." }),
62
+ company: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Company Name is required." }),
63
+ Dealer_Type__c: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Franchise or Independent is required." }),
64
+ Lead_Source_Detail_SFDC2__c: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, {
65
+ message: "Dealer Services or Collector Car Program is required."
66
+ }),
67
+ city: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "City is required." }),
68
+ state: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "State is required." }),
69
+ zip: z.string().trim().max(20).min(1, { message: "Zip code is required." }),
70
+ description: z.string().trim().max(32e3)
71
+ });
72
+ const methods = useForm({
73
+ resolver: zodResolver(schema.merge(SalesforceSchema), {
74
+ async: true
75
+ }),
76
+ mode: "all",
77
+ defaultValues: {
78
+ email: ""
79
+ }
80
+ });
81
+ const {
82
+ handleSubmit,
83
+ register,
84
+ formState: { errors, isValid, isSubmitting }
85
+ } = methods;
86
+ const submitForm = async (data) => {
87
+ await onSubmit(data);
88
+ };
89
+ const variant = getVariant(fullVariant);
90
+ return /* @__PURE__ */ jsx(
91
+ "section",
92
+ {
93
+ id: `id_${id}`,
94
+ className: clsx(formContainer({ variant })),
95
+ children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
96
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
97
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
98
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
99
+ description && /* @__PURE__ */ jsx("div", { className: `${form} ${descriptionField} text_center`, children: description })
100
+ ] }),
101
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
102
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
103
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
104
+ Input,
105
+ {
106
+ id: "first_name",
107
+ ...register("first_name", { required: true }),
108
+ label: "First Name",
109
+ sizes: "medium",
110
+ placeholder: "First Name",
111
+ required: true,
112
+ error: !!errors.first_name,
113
+ helperText: errors.first_name?.message,
114
+ variant
115
+ }
116
+ ) }),
117
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
118
+ Input,
119
+ {
120
+ id: "last_name",
121
+ ...register("last_name", { required: true }),
122
+ label: "Last Name",
123
+ sizes: "medium",
124
+ placeholder: "Last Name",
125
+ required: true,
126
+ error: !!errors.last_name,
127
+ helperText: errors.last_name?.message,
128
+ variant
129
+ }
130
+ ) }),
131
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
132
+ Input,
133
+ {
134
+ id: "email",
135
+ ...register("email", {
136
+ required: true,
137
+ validate: {
138
+ isValid: associatedEmail
139
+ }
140
+ }),
141
+ label: "Email",
142
+ sizes: "medium",
143
+ placeholder: "Email",
144
+ required: true,
145
+ error: !!errors.email,
146
+ helperText: errors.email?.message,
147
+ variant
148
+ }
149
+ ) }),
150
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
151
+ InputPhone,
152
+ {
153
+ id: "phone",
154
+ ...register("phone", { required: true, maxLength: 12 }),
155
+ label: "Phone",
156
+ sizes: "medium",
157
+ placeholder: "Phone",
158
+ required: true,
159
+ error: !!errors.phone,
160
+ helperText: errors.phone?.message,
161
+ variant
162
+ }
163
+ ) }),
164
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
165
+ Input,
166
+ {
167
+ id: "title",
168
+ ...register("title", { required: true }),
169
+ label: "Title",
170
+ sizes: "medium",
171
+ placeholder: "Title",
172
+ required: true,
173
+ error: !!errors.title,
174
+ helperText: errors.title?.message,
175
+ variant
176
+ }
177
+ ) }),
178
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
179
+ Input,
180
+ {
181
+ id: "company",
182
+ ...register("company", { required: true }),
183
+ label: "Company Name",
184
+ sizes: "medium",
185
+ placeholder: "Company Name",
186
+ required: true,
187
+ error: !!errors.company,
188
+ helperText: errors.company?.message,
189
+ variant
190
+ }
191
+ ) }),
192
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
193
+ Dropdown,
194
+ {
195
+ id: "Dealer_Type__c",
196
+ ...register("Dealer_Type__c", {
197
+ required: true,
198
+ maxLength: 12
199
+ }),
200
+ label: "Franchise or Independent",
201
+ sizes: "medium",
202
+ required: true,
203
+ error: !!errors.Dealer_Type__c,
204
+ helperText: errors.Dealer_Type__c?.message,
205
+ variant,
206
+ defaultValue: "Franchise",
207
+ children: [
208
+ /* @__PURE__ */ jsx("option", { value: "Franchise", children: "Franchise" }),
209
+ /* @__PURE__ */ jsx("option", { value: "Independent", children: "Independent" })
210
+ ]
211
+ }
212
+ ) }),
213
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
214
+ Dropdown,
215
+ {
216
+ id: "Lead_Source_Detail_SFDC2__c",
217
+ ...register("Lead_Source_Detail_SFDC2__c", {
218
+ required: true,
219
+ maxLength: 12
220
+ }),
221
+ label: "Dealer Services or Collector Car Program",
222
+ sizes: "medium",
223
+ required: true,
224
+ error: !!errors.Lead_Source_Detail_SFDC2__c,
225
+ helperText: errors.Lead_Source_Detail_SFDC2__c?.message,
226
+ variant,
227
+ defaultValue: "Dealer Services",
228
+ children: [
229
+ /* @__PURE__ */ jsx("option", { value: "Dealer Services", children: "Dealer Services" }),
230
+ /* @__PURE__ */ jsx("option", { value: "Collector Car Program", children: "Collector Car Program" })
231
+ ]
232
+ }
233
+ ) }),
234
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
235
+ Input,
236
+ {
237
+ id: "city",
238
+ ...register("city", { required: true }),
239
+ label: "City",
240
+ sizes: "medium",
241
+ placeholder: "City",
242
+ required: true,
243
+ error: !!errors.city,
244
+ helperText: errors.city?.message,
245
+ variant
246
+ }
247
+ ) }),
248
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
249
+ Input,
250
+ {
251
+ id: "state",
252
+ ...register("state", { required: true }),
253
+ label: "State",
254
+ sizes: "medium",
255
+ placeholder: "State",
256
+ required: true,
257
+ error: !!errors.state,
258
+ helperText: errors.state?.message,
259
+ variant
260
+ }
261
+ ) }),
262
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
263
+ Input,
264
+ {
265
+ id: "zip",
266
+ ...register("zip", { required: true }),
267
+ label: "Zip Code",
268
+ sizes: "medium",
269
+ placeholder: "Zip Code",
270
+ required: true,
271
+ error: !!errors.zip,
272
+ helperText: errors.zip?.message,
273
+ variant
274
+ }
275
+ ) }),
276
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
277
+ InputTextArea,
278
+ {
279
+ id: "description",
280
+ ...register("description"),
281
+ label: "Additional Details",
282
+ sizes: "medium",
283
+ placeholder: "Additional Details",
284
+ error: !!errors.description,
285
+ helperText: errors.description?.message,
286
+ variant,
287
+ rows: 1
288
+ }
289
+ ) })
290
+ ] }),
291
+ children,
292
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
293
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
294
+ Button,
295
+ {
296
+ color: getVariant(callToAction?.variant),
297
+ as: "button",
298
+ type: "submit",
299
+ disabled: !isValid || isSubmitting,
300
+ children: callToAction?.displayText
301
+ }
302
+ ) })
303
+ ] })
304
+ ] }) })
305
+ },
306
+ id
307
+ );
308
+ };
309
+ export {
310
+ DealerServices
311
+ };
@@ -9,6 +9,7 @@ import "../Input/Dropdown.js";
9
9
  import { Input } from "../Input/Input.js";
10
10
  import "../Input/Input.css.js";
11
11
  import "../Input/InputPhone.js";
12
+ import "../Input/InputTextArea.js";
12
13
  import "../icons/ArrowIcon/ArrowIcon.css.js";
13
14
  import SvgAxosX from "../icons/AxosX/index.js";
14
15
  import SvgComponent from "../icons/AxosX/Blue.js";
@@ -27,6 +28,10 @@ import "../Button/Button.css.js";
27
28
  import "react";
28
29
  import "react-use";
29
30
  /* empty css */
31
+ import "../Article/Article.css.js";
32
+ import "../ArticlesSet/ArticlesSet.css.js";
33
+ /* empty css */
34
+ /* empty css */
30
35
  import "../IconBillboard/IconBillboard.css.js";
31
36
  /* empty css */
32
37
  import clsx from "clsx";
@@ -13,6 +13,7 @@ import "../Input/Dropdown.js";
13
13
  import "../Input/Input.js";
14
14
  import "../Input/Input.css.js";
15
15
  import "../Input/InputPhone.js";
16
+ import "../Input/InputTextArea.js";
16
17
  import "../icons/ArrowIcon/ArrowIcon.css.js";
17
18
  import "../icons/CheckIcon/CheckIcon.css.js";
18
19
  /* empty css */
@@ -27,6 +28,10 @@ import "../Accordion/Accordion.css.js";
27
28
  import "../Chevron/Chevron.css.js";
28
29
  import "../AlertBanner/AlertBanner.css.js";
29
30
  /* empty css */
31
+ import "../Article/Article.css.js";
32
+ import "../ArticlesSet/ArticlesSet.css.js";
33
+ /* empty css */
34
+ /* empty css */
30
35
  import "../IconBillboard/IconBillboard.css.js";
31
36
  /* empty css */
32
37
  /* empty css */
@@ -13,6 +13,7 @@ import "../Input/Dropdown.js";
13
13
  import { Input } from "../Input/Input.js";
14
14
  import "../Input/Input.css.js";
15
15
  import { InputPhone } from "../Input/InputPhone.js";
16
+ import "../Input/InputTextArea.js";
16
17
  import "../icons/ArrowIcon/ArrowIcon.css.js";
17
18
  import SvgAxosX from "../icons/AxosX/index.js";
18
19
  import SvgComponent from "../icons/AxosX/Blue.js";
@@ -13,6 +13,7 @@ import { Dropdown } from "../Input/Dropdown.js";
13
13
  import { Input } from "../Input/Input.js";
14
14
  import "../Input/Input.css.js";
15
15
  import { InputPhone } from "../Input/InputPhone.js";
16
+ import "../Input/InputTextArea.js";
16
17
  import "../icons/ArrowIcon/ArrowIcon.css.js";
17
18
  import SvgAxosX from "../icons/AxosX/index.js";
18
19
  import SvgComponent from "../icons/AxosX/Blue.js";
@@ -1,6 +1,10 @@
1
- import { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
2
 
3
- export declare function SuccesFormWrapper({ children, isSubmitted, variant: fullVariant, }: {
3
+ export interface SuccessFormProps extends PropsWithChildren {
4
+ id?: string;
5
+ headline?: string;
6
+ bodyCopy?: ReactNode;
4
7
  isSubmitted: boolean;
5
8
  variant?: string;
6
- } & PropsWithChildren): import("react/jsx-runtime").JSX.Element;
9
+ }
10
+ export declare function SuccesFormWrapper({ children, isSubmitted, variant: fullVariant, bodyCopy, headline, id, }: SuccessFormProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { getVariant } from "../utils/getVariant.js";
3
3
  import clsx from "clsx";
4
4
  import "@hookform/resolvers/zod";
@@ -14,6 +14,7 @@ import "../Input/Dropdown.js";
14
14
  import "../Input/Input.js";
15
15
  import "../Input/Input.css.js";
16
16
  import "../Input/InputPhone.js";
17
+ import "../Input/InputTextArea.js";
17
18
  import "../icons/ArrowIcon/ArrowIcon.css.js";
18
19
  import "../icons/CheckIcon/CheckIcon.css.js";
19
20
  /* empty css */
@@ -28,6 +29,10 @@ import "../Accordion/Accordion.css.js";
28
29
  import "../Chevron/Chevron.css.js";
29
30
  import "../AlertBanner/AlertBanner.css.js";
30
31
  /* empty css */
32
+ import "../Article/Article.css.js";
33
+ import "../ArticlesSet/ArticlesSet.css.js";
34
+ /* empty css */
35
+ /* empty css */
31
36
  import "../IconBillboard/IconBillboard.css.js";
32
37
  /* empty css */
33
38
  /* empty css */
@@ -59,68 +64,78 @@ import "next/script.js";
59
64
  function SuccesFormWrapper({
60
65
  children,
61
66
  isSubmitted,
62
- variant: fullVariant = "primary"
67
+ variant: fullVariant = "primary",
68
+ bodyCopy,
69
+ headline,
70
+ id
63
71
  }) {
64
72
  const variant = getVariant(fullVariant);
65
- return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs("div", { className: clsx(success_wrap({ variant }), "text_center"), children: [
66
- /* @__PURE__ */ jsxs(
67
- "svg",
68
- {
69
- className: success_icon,
70
- width: "90px",
71
- height: "97px",
72
- viewBox: "0 0 90 90",
73
- version: "1.1",
74
- xmlns: "http://www.w3.org/2000/svg",
75
- xmlnsXlink: "http://www.w3.org/1999/xlink",
76
- xmlSpace: "preserve",
77
- style: {
78
- fillRule: "evenodd",
79
- clipRule: "evenodd",
80
- strokeLinecap: "round",
81
- strokeLinejoin: "round",
82
- strokeMiterlimit: "1.5"
83
- },
84
- children: [
85
- /* @__PURE__ */ jsx(
86
- "rect",
87
- {
88
- x: "0",
89
- y: "0",
90
- width: "90",
91
- height: "99",
92
- style: { fill: "none" }
93
- }
94
- ),
95
- /* @__PURE__ */ jsx("clipPath", { id: "_clip1", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "90", height: "99" }) }),
96
- /* @__PURE__ */ jsxs("g", { clipPath: "url(#_clip1)", children: [
97
- /* @__PURE__ */ jsx(
98
- "circle",
99
- {
100
- className: success_circle({ variant }),
101
- cx: "44.662",
102
- cy: "44.662",
103
- r: "42.662"
104
- }
105
- ),
106
- /* @__PURE__ */ jsx(
107
- "path",
108
- {
109
- className: succes_check_mark,
110
- d: "M28.985,44.662l12.015,12.015l46.324,-54.677"
111
- }
112
- )
113
- ] })
114
- ]
115
- }
116
- ),
117
- /* @__PURE__ */ jsx("h1", { id: "submittedText", children: "Submitted!" }),
118
- /* @__PURE__ */ jsxs("p", { id: "thankYouText", children: [
119
- "Thank you!",
120
- /* @__PURE__ */ jsx("br", {}),
121
- "A Banking expert will be in contact with you shortly"
122
- ] })
123
- ] });
73
+ return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs(
74
+ "div",
75
+ {
76
+ className: clsx(success_wrap({ variant }), "text_center"),
77
+ id: id ?? void 0,
78
+ children: [
79
+ /* @__PURE__ */ jsxs(
80
+ "svg",
81
+ {
82
+ className: success_icon,
83
+ width: "90px",
84
+ height: "97px",
85
+ viewBox: "0 0 90 90",
86
+ version: "1.1",
87
+ xmlns: "http://www.w3.org/2000/svg",
88
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
89
+ xmlSpace: "preserve",
90
+ style: {
91
+ fillRule: "evenodd",
92
+ clipRule: "evenodd",
93
+ strokeLinecap: "round",
94
+ strokeLinejoin: "round",
95
+ strokeMiterlimit: "1.5"
96
+ },
97
+ children: [
98
+ /* @__PURE__ */ jsx(
99
+ "rect",
100
+ {
101
+ x: "0",
102
+ y: "0",
103
+ width: "90",
104
+ height: "99",
105
+ style: { fill: "none" }
106
+ }
107
+ ),
108
+ /* @__PURE__ */ jsx("clipPath", { id: "_clip1", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "90", height: "99" }) }),
109
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#_clip1)", children: [
110
+ /* @__PURE__ */ jsx(
111
+ "circle",
112
+ {
113
+ className: success_circle({ variant }),
114
+ cx: "44.662",
115
+ cy: "44.662",
116
+ r: "42.662"
117
+ }
118
+ ),
119
+ /* @__PURE__ */ jsx(
120
+ "path",
121
+ {
122
+ className: succes_check_mark,
123
+ d: "M28.985,44.662l12.015,12.015l46.324,-54.677"
124
+ }
125
+ )
126
+ ] })
127
+ ]
128
+ }
129
+ ),
130
+ /* @__PURE__ */ jsx("h1", { id: "submittedText", children: headline || "Submitted!" }),
131
+ /* @__PURE__ */ jsx("p", { id: "thankYouText", children: bodyCopy ? bodyCopy : /* @__PURE__ */ jsxs(Fragment, { children: [
132
+ "Thank you!",
133
+ /* @__PURE__ */ jsx("br", {}),
134
+ "A Banking expert will be in contact with you shortly"
135
+ ] }) })
136
+ ]
137
+ }
138
+ );
124
139
  }
125
140
  export {
126
141
  SuccesFormWrapper
@@ -7,3 +7,5 @@ export * from './SalesforceFieldsForm';
7
7
  export * from './ScheduleCall';
8
8
  export * from './ScheduleCallPremier';
9
9
  export * from './SuccesForm';
10
+ export * from './ContactCompany';
11
+ export * from './DealerServices';
@@ -7,9 +7,13 @@ import { SalesforceFieldsForm, SalesforceSchema } from "./SalesforceFieldsForm.j
7
7
  import { ScheduleCall } from "./ScheduleCall.js";
8
8
  import { ScheduleCallPremier } from "./ScheduleCallPremier.js";
9
9
  import { SuccesFormWrapper } from "./SuccesForm.js";
10
+ import { ContactCompany } from "./ContactCompany.js";
11
+ import { DealerServices } from "./DealerServices.js";
10
12
  export {
11
13
  ApplicationStart,
14
+ ContactCompany,
12
15
  ContactUsBusiness,
16
+ DealerServices,
13
17
  EmailOnly,
14
18
  RenderWebForm,
15
19
  SalesforceFieldsForm,
@@ -18,8 +18,12 @@ import "react";
18
18
  import "../Button/Button.css.js";
19
19
  import "react-use";
20
20
  /* empty css */
21
- import "../IconBillboard/IconBillboard.css.js";
21
+ import "../Article/Article.css.js";
22
+ import "../ArticlesSet/ArticlesSet.css.js";
23
+ /* empty css */
22
24
  /* empty css */
25
+ /* empty css */
26
+ import "../IconBillboard/IconBillboard.css.js";
23
27
  /* empty css */
24
28
  /* empty css */
25
29
  import "../Carousel/index.js";
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
39
43
  import "../Input/Input.js";
40
44
  import "../Input/Input.css.js";
41
45
  import "../Input/InputPhone.js";
46
+ import "../Input/InputTextArea.js";
42
47
  import "react-hook-form";
43
48
  import "../Forms/Forms.css.js";
44
49
  import "../Forms/SalesforceFieldsForm.js";
@@ -18,6 +18,10 @@ import { isValidElement } from "react";
18
18
  import "../Button/Button.css.js";
19
19
  import "react-use";
20
20
  /* empty css */
21
+ import "../Article/Article.css.js";
22
+ import "../ArticlesSet/ArticlesSet.css.js";
23
+ /* empty css */
24
+ /* empty css */
21
25
  /* empty css */
22
26
  import "../Carousel/index.js";
23
27
  /* empty css */
@@ -36,6 +40,7 @@ import "../Input/Dropdown.js";
36
40
  import "../Input/Input.js";
37
41
  import "../Input/Input.css.js";
38
42
  import "../Input/InputPhone.js";
43
+ import "../Input/InputTextArea.js";
39
44
  import "react-hook-form";
40
45
  import "../Forms/Forms.css.js";
41
46
  import "../Forms/SalesforceFieldsForm.js";
@@ -21,6 +21,10 @@ import "../Accordion/Accordion.js";
21
21
  import "../Accordion/Accordion.css.js";
22
22
  import "../AlertBanner/AlertBanner.css.js";
23
23
  /* empty css */
24
+ import "../Article/Article.css.js";
25
+ import "../ArticlesSet/ArticlesSet.css.js";
26
+ /* empty css */
27
+ /* empty css */
24
28
  /* empty css */
25
29
  import "../Carousel/index.js";
26
30
  /* empty css */
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
39
43
  import "../Input/Input.js";
40
44
  import "../Input/Input.css.js";
41
45
  import "../Input/InputPhone.js";
46
+ import "../Input/InputTextArea.js";
42
47
  import "react-hook-form";
43
48
  import "../Forms/Forms.css.js";
44
49
  import "../Forms/SalesforceFieldsForm.js";