@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
@@ -89,186 +89,178 @@ const ScheduleCallPremier = ({
89
89
  await onSubmit(parseData);
90
90
  };
91
91
  const variant = getVariant(fullVariant);
92
- return /* @__PURE__ */ jsx(
93
- "section",
94
- {
95
- id: `id_${id}`,
96
- className: clsx(formContainer({ variant })),
97
- children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
98
- icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
99
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
100
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
101
- description && /* @__PURE__ */ jsx(
102
- "div",
103
- {
104
- className: clsx(
105
- "text_center",
106
- form,
107
- descriptionField({ variant })
108
- ),
109
- children: description
110
- }
111
- )
112
- ] }),
113
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
114
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
115
- /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
116
- Input,
117
- {
118
- id: "first_name",
119
- ...register("first_name", { required: true }),
120
- label: "First Name",
121
- sizes: "medium",
122
- placeholder: "First Name",
123
- required: true,
124
- error: !!errors.first_name,
125
- helperText: errors.first_name?.message,
126
- variant
127
- }
128
- ) }),
129
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
130
- Input,
131
- {
132
- id: "last_name",
133
- ...register("last_name", { required: true }),
134
- label: "Last Name",
135
- sizes: "medium",
136
- placeholder: "Last Name",
137
- required: true,
138
- error: !!errors.last_name,
139
- helperText: errors.last_name?.message,
140
- variant
141
- }
142
- ) }),
143
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
144
- Input,
145
- {
146
- id: "email",
147
- ...register("email", {
148
- required: true,
149
- validate: {
150
- isValid: associatedEmail
151
- }
152
- }),
153
- label: "Email",
154
- sizes: "medium",
155
- placeholder: "Email",
156
- required: true,
157
- error: !!errors.email,
158
- helperText: errors.email?.message,
159
- variant
160
- }
161
- ) }),
162
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
163
- InputPhone,
164
- {
165
- id: "phone",
166
- ...register("phone", { required: true, maxLength: 12 }),
167
- label: "Phone",
168
- sizes: "medium",
169
- placeholder: "Phone",
170
- required: true,
171
- error: !!errors.phone,
172
- helperText: errors.phone?.message,
173
- variant
174
- }
175
- ) }),
176
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
177
- Input,
178
- {
179
- id: "Best_Contact_Date__c",
180
- ...register("Best_Contact_Date__c", {
181
- required: true
182
- }),
183
- type: "date",
184
- label: "Best Date to Call",
185
- sizes: "medium",
186
- placeholder: "Best Date to Call",
187
- required: true,
188
- error: !!errors.Best_Contact_Date__c,
189
- helperText: errors.Best_Contact_Date__c?.message,
190
- variant
191
- }
192
- ) }),
193
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
194
- Dropdown,
195
- {
196
- id: "Best_Time_To_Call__c",
197
- ...register("Best_Time_To_Call__c", {
198
- required: true,
199
- maxLength: 12
200
- }),
201
- label: "Best Time to Call",
202
- sizes: "medium",
203
- required: true,
204
- error: !!errors.Best_Time_To_Call__c,
205
- helperText: errors.Best_Time_To_Call__c?.message,
206
- variant,
207
- defaultValue: "Best Time to Call",
208
- children: [
209
- /* @__PURE__ */ jsx("option", { value: "Best Time to Call", disabled: true, children: "Best Time to Call" }),
210
- /* @__PURE__ */ jsx("option", { value: "8:00 am", children: "8:00 am" }),
211
- /* @__PURE__ */ jsx("option", { value: "8:30 am", children: "8:30 am" }),
212
- /* @__PURE__ */ jsx("option", { value: "9:00 am", children: "9:00 am" }),
213
- /* @__PURE__ */ jsx("option", { value: "9:30 am", children: "9:30 am" }),
214
- /* @__PURE__ */ jsx("option", { value: "10:00 am", children: "10:00 am" }),
215
- /* @__PURE__ */ jsx("option", { value: "10:30 am", children: "10:30 am" }),
216
- /* @__PURE__ */ jsx("option", { value: "11:00 am", children: "11:00 am" }),
217
- /* @__PURE__ */ jsx("option", { value: "11:30 am", children: "11:30 am" }),
218
- /* @__PURE__ */ jsx("option", { value: "12:00 pm", children: "12:00 pm" }),
219
- /* @__PURE__ */ jsx("option", { value: "12:30 pm", children: "12:30 pm" }),
220
- /* @__PURE__ */ jsx("option", { value: "1:00 pm", children: "1:00 pm" }),
221
- /* @__PURE__ */ jsx("option", { value: "1:30 pm", children: "1:30 pm" }),
222
- /* @__PURE__ */ jsx("option", { value: "2:00 pm", children: "2:00 pm" }),
223
- /* @__PURE__ */ jsx("option", { value: "2:30 pm", children: "2:30 pm" }),
224
- /* @__PURE__ */ jsx("option", { value: "3:00 pm", children: "3:00 pm" }),
225
- /* @__PURE__ */ jsx("option", { value: "3:30 pm", children: "3:30 pm" }),
226
- /* @__PURE__ */ jsx("option", { value: "4:00 pm", children: "4:00 pm" }),
227
- /* @__PURE__ */ jsx("option", { value: "4:30 pm", children: "4:30 pm" }),
228
- /* @__PURE__ */ jsx("option", { value: "5:00 pm", children: "5:00 pm" })
229
- ]
230
- }
231
- ) }),
232
- /* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
233
- CurrencyInput,
234
- {
235
- id: "Potential_Funding__c",
236
- ...register("Potential_Funding__c", {
237
- required: true
238
- }),
239
- label: "Potential Funding",
240
- placeholder: "Potential Funding",
241
- sizes: "medium",
242
- required: true,
243
- error: !!errors.Potential_Funding__c,
244
- helperText: errors.Potential_Funding__c?.message,
245
- variant
92
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
93
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
94
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
95
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
96
+ description && /* @__PURE__ */ jsx(
97
+ "div",
98
+ {
99
+ className: clsx(
100
+ "text_center",
101
+ form,
102
+ descriptionField({ variant })
103
+ ),
104
+ children: description
105
+ }
106
+ )
107
+ ] }),
108
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
109
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
110
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
111
+ Input,
112
+ {
113
+ id: "first_name",
114
+ ...register("first_name", { required: true }),
115
+ label: "First Name",
116
+ sizes: "medium",
117
+ placeholder: "First Name",
118
+ required: true,
119
+ error: !!errors.first_name,
120
+ helperText: errors.first_name?.message,
121
+ variant
122
+ }
123
+ ) }),
124
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
125
+ Input,
126
+ {
127
+ id: "last_name",
128
+ ...register("last_name", { required: true }),
129
+ label: "Last Name",
130
+ sizes: "medium",
131
+ placeholder: "Last Name",
132
+ required: true,
133
+ error: !!errors.last_name,
134
+ helperText: errors.last_name?.message,
135
+ variant
136
+ }
137
+ ) }),
138
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
139
+ Input,
140
+ {
141
+ id: "email",
142
+ ...register("email", {
143
+ required: true,
144
+ validate: {
145
+ isValid: associatedEmail
246
146
  }
247
- ) })
248
- ] }),
249
- children,
250
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
251
- /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
252
- LoadingIndicator,
253
- {
254
- style: { marginInline: "auto" },
255
- variant
256
- }
257
- ) : /* @__PURE__ */ jsx(
258
- Button,
259
- {
260
- color: getVariant(callToAction?.variant),
261
- as: "button",
262
- type: "submit",
263
- disabled: !isValid || isSubmitting,
264
- children: callToAction?.displayText
265
- }
266
- ) })
267
- ] })
268
- ] }) })
269
- },
270
- id
271
- );
147
+ }),
148
+ label: "Email",
149
+ sizes: "medium",
150
+ placeholder: "Email",
151
+ required: true,
152
+ error: !!errors.email,
153
+ helperText: errors.email?.message,
154
+ variant
155
+ }
156
+ ) }),
157
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
158
+ InputPhone,
159
+ {
160
+ id: "phone",
161
+ ...register("phone", { required: true, maxLength: 12 }),
162
+ label: "Phone",
163
+ sizes: "medium",
164
+ placeholder: "Phone",
165
+ required: true,
166
+ error: !!errors.phone,
167
+ helperText: errors.phone?.message,
168
+ variant
169
+ }
170
+ ) }),
171
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
172
+ Input,
173
+ {
174
+ id: "Best_Contact_Date__c",
175
+ ...register("Best_Contact_Date__c", {
176
+ required: true
177
+ }),
178
+ type: "date",
179
+ label: "Best Date to Call",
180
+ sizes: "medium",
181
+ placeholder: "Best Date to Call",
182
+ required: true,
183
+ error: !!errors.Best_Contact_Date__c,
184
+ helperText: errors.Best_Contact_Date__c?.message,
185
+ variant
186
+ }
187
+ ) }),
188
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
189
+ Dropdown,
190
+ {
191
+ id: "Best_Time_To_Call__c",
192
+ ...register("Best_Time_To_Call__c", {
193
+ required: true,
194
+ maxLength: 12
195
+ }),
196
+ label: "Best Time to Call",
197
+ sizes: "medium",
198
+ required: true,
199
+ error: !!errors.Best_Time_To_Call__c,
200
+ helperText: errors.Best_Time_To_Call__c?.message,
201
+ variant,
202
+ defaultValue: "Best Time to Call",
203
+ children: [
204
+ /* @__PURE__ */ jsx("option", { value: "Best Time to Call", disabled: true, children: "Best Time to Call" }),
205
+ /* @__PURE__ */ jsx("option", { value: "8:00 am", children: "8:00 am" }),
206
+ /* @__PURE__ */ jsx("option", { value: "8:30 am", children: "8:30 am" }),
207
+ /* @__PURE__ */ jsx("option", { value: "9:00 am", children: "9:00 am" }),
208
+ /* @__PURE__ */ jsx("option", { value: "9:30 am", children: "9:30 am" }),
209
+ /* @__PURE__ */ jsx("option", { value: "10:00 am", children: "10:00 am" }),
210
+ /* @__PURE__ */ jsx("option", { value: "10:30 am", children: "10:30 am" }),
211
+ /* @__PURE__ */ jsx("option", { value: "11:00 am", children: "11:00 am" }),
212
+ /* @__PURE__ */ jsx("option", { value: "11:30 am", children: "11:30 am" }),
213
+ /* @__PURE__ */ jsx("option", { value: "12:00 pm", children: "12:00 pm" }),
214
+ /* @__PURE__ */ jsx("option", { value: "12:30 pm", children: "12:30 pm" }),
215
+ /* @__PURE__ */ jsx("option", { value: "1:00 pm", children: "1:00 pm" }),
216
+ /* @__PURE__ */ jsx("option", { value: "1:30 pm", children: "1:30 pm" }),
217
+ /* @__PURE__ */ jsx("option", { value: "2:00 pm", children: "2:00 pm" }),
218
+ /* @__PURE__ */ jsx("option", { value: "2:30 pm", children: "2:30 pm" }),
219
+ /* @__PURE__ */ jsx("option", { value: "3:00 pm", children: "3:00 pm" }),
220
+ /* @__PURE__ */ jsx("option", { value: "3:30 pm", children: "3:30 pm" }),
221
+ /* @__PURE__ */ jsx("option", { value: "4:00 pm", children: "4:00 pm" }),
222
+ /* @__PURE__ */ jsx("option", { value: "4:30 pm", children: "4:30 pm" }),
223
+ /* @__PURE__ */ jsx("option", { value: "5:00 pm", children: "5:00 pm" })
224
+ ]
225
+ }
226
+ ) }),
227
+ /* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
228
+ CurrencyInput,
229
+ {
230
+ id: "Potential_Funding__c",
231
+ ...register("Potential_Funding__c", {
232
+ required: true
233
+ }),
234
+ label: "Potential Funding",
235
+ placeholder: "Potential Funding",
236
+ sizes: "medium",
237
+ required: true,
238
+ error: !!errors.Potential_Funding__c,
239
+ helperText: errors.Potential_Funding__c?.message,
240
+ variant
241
+ }
242
+ ) })
243
+ ] }),
244
+ children,
245
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
246
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
247
+ LoadingIndicator,
248
+ {
249
+ style: { marginInline: "auto" },
250
+ variant
251
+ }
252
+ ) : /* @__PURE__ */ jsx(
253
+ Button,
254
+ {
255
+ color: getVariant(callToAction?.variant),
256
+ as: "button",
257
+ type: "submit",
258
+ disabled: !isValid || isSubmitting,
259
+ children: callToAction?.displayText
260
+ }
261
+ ) })
262
+ ] })
263
+ ] }) }) }, id);
272
264
  };
273
265
  export {
274
266
  ScheduleCallPremier
@@ -79,116 +79,108 @@ const WCPLSurvey = ({
79
79
  console.log(errors, isValid);
80
80
  };
81
81
  const variant = getVariant(fullVariant);
82
- return /* @__PURE__ */ jsx(
83
- "section",
84
- {
85
- id: `id_${id}`,
86
- className: clsx(formContainer({ variant })),
87
- children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
88
- icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
89
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
90
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
91
- description && /* @__PURE__ */ jsx(
92
- "div",
93
- {
94
- className: `${form} ${descriptionField({ variant })} text_center`,
95
- children: description
96
- }
97
- )
98
- ] }),
99
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
100
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
101
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
102
- RadioButtonSet,
103
- {
104
- id: "Has_Deal",
105
- label: "Do You have a potential deal you would like to discuss with an Account Executive?",
106
- sizes: "medium",
107
- placeholder: "Details",
108
- required: true,
109
- error: !!errors.Has_Deal,
110
- helperText: errors.Has_Deal?.message,
111
- variant,
112
- children: [
113
- /* @__PURE__ */ jsx(
114
- RadioButton,
115
- {
116
- ...register("Has_Deal", {
117
- required: true
118
- }),
119
- value: "Yes",
120
- radioText: "Yes",
121
- groupName: "Has_Deal"
122
- }
123
- ),
124
- /* @__PURE__ */ jsx(
125
- RadioButton,
126
- {
127
- ...register("Has_Deal", {
128
- required: true
129
- }),
130
- value: "No",
131
- radioText: "No",
132
- groupName: "Has_Deal"
133
- }
134
- )
135
- ]
136
- }
137
- ) }),
138
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
139
- InputTextArea,
140
- {
141
- id: "Description_of_Deal_Details",
142
- ...register("Description_of_Deal_Details", {
143
- required: true
144
- }),
145
- label: "Write Your Message",
146
- sizes: "medium",
147
- placeholder: "Details",
148
- required: true,
149
- error: !!errors.Description_of_Deal_Details,
150
- helperText: errors.Description_of_Deal_Details?.message,
151
- variant
152
- }
153
- ) }),
154
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
155
- InputPhone,
156
- {
157
- id: "Telephone",
158
- ...register("Telephone", { required: true, maxLength: 12 }),
159
- label: "Telephone",
160
- sizes: "medium",
161
- placeholder: "Phone",
162
- required: true,
163
- error: !!errors.Telephone,
164
- helperText: errors.Telephone?.message,
165
- variant
166
- }
167
- ) })
168
- ] }),
169
- children,
170
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
171
- /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
172
- LoadingIndicator,
173
- {
174
- style: { marginInline: "auto" },
175
- variant
176
- }
177
- ) : /* @__PURE__ */ jsx(
178
- Button,
179
- {
180
- color: getVariant(callToAction?.variant),
181
- as: "button",
182
- type: "submit",
183
- disabled: !isValid || isSubmitting,
184
- children: callToAction?.displayText
185
- }
186
- ) })
187
- ] })
188
- ] }) })
189
- },
190
- id
191
- );
82
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
83
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
84
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
85
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
86
+ description && /* @__PURE__ */ jsx(
87
+ "div",
88
+ {
89
+ className: `${form} ${descriptionField({ variant })} text_center`,
90
+ children: description
91
+ }
92
+ )
93
+ ] }),
94
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
95
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
96
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
97
+ RadioButtonSet,
98
+ {
99
+ id: "Has_Deal",
100
+ label: "Do You have a potential deal you would like to discuss with an Account Executive?",
101
+ sizes: "medium",
102
+ placeholder: "Details",
103
+ required: true,
104
+ error: !!errors.Has_Deal,
105
+ helperText: errors.Has_Deal?.message,
106
+ variant,
107
+ children: [
108
+ /* @__PURE__ */ jsx(
109
+ RadioButton,
110
+ {
111
+ ...register("Has_Deal", {
112
+ required: true
113
+ }),
114
+ value: "Yes",
115
+ radioText: "Yes",
116
+ groupName: "Has_Deal"
117
+ }
118
+ ),
119
+ /* @__PURE__ */ jsx(
120
+ RadioButton,
121
+ {
122
+ ...register("Has_Deal", {
123
+ required: true
124
+ }),
125
+ value: "No",
126
+ radioText: "No",
127
+ groupName: "Has_Deal"
128
+ }
129
+ )
130
+ ]
131
+ }
132
+ ) }),
133
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
134
+ InputTextArea,
135
+ {
136
+ id: "Description_of_Deal_Details",
137
+ ...register("Description_of_Deal_Details", {
138
+ required: true
139
+ }),
140
+ label: "Write Your Message",
141
+ sizes: "medium",
142
+ placeholder: "Details",
143
+ required: true,
144
+ error: !!errors.Description_of_Deal_Details,
145
+ helperText: errors.Description_of_Deal_Details?.message,
146
+ variant
147
+ }
148
+ ) }),
149
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
150
+ InputPhone,
151
+ {
152
+ id: "Telephone",
153
+ ...register("Telephone", { required: true, maxLength: 12 }),
154
+ label: "Telephone",
155
+ sizes: "medium",
156
+ placeholder: "Phone",
157
+ required: true,
158
+ error: !!errors.Telephone,
159
+ helperText: errors.Telephone?.message,
160
+ variant
161
+ }
162
+ ) })
163
+ ] }),
164
+ children,
165
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
166
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
167
+ LoadingIndicator,
168
+ {
169
+ style: { marginInline: "auto" },
170
+ variant
171
+ }
172
+ ) : /* @__PURE__ */ jsx(
173
+ Button,
174
+ {
175
+ color: getVariant(callToAction?.variant),
176
+ as: "button",
177
+ type: "submit",
178
+ disabled: !isValid || isSubmitting,
179
+ children: callToAction?.displayText
180
+ }
181
+ ) })
182
+ ] })
183
+ ] }) }) }, id);
192
184
  };
193
185
  export {
194
186
  WCPLSurvey
@@ -1,7 +1,7 @@
1
+ /* empty css */
1
2
  /* empty css */
2
3
  /* empty css */
3
4
  /* empty css */
4
- /* empty css */
5
5
  /* empty css */
6
6
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
7
7
  var logout = "_1ye8k3f0";
@@ -25,7 +25,7 @@ const HeroBanner = ({
25
25
  return /* @__PURE__ */ jsx(Fragment, { children: bannerType === "Hero" || bannerType === "Logout" ? /* @__PURE__ */ jsx(
26
26
  "section",
27
27
  {
28
- id: `id_${id}`,
28
+ id,
29
29
  className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
30
30
  children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
31
31
  "div",
@@ -199,7 +199,7 @@ const HeroBanner = ({
199
199
  "section",
200
200
  {
201
201
  className: lg_hero_banner({ variant: getVariant(variant) }),
202
- id: `id_${id}`,
202
+ id,
203
203
  children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
204
204
  "div",
205
205
  {
@@ -13,5 +13,6 @@ export interface FocusProps {
13
13
  }[];
14
14
  callToActionRow?: ChevronProps[];
15
15
  set?: boolean;
16
+ id?: string;
16
17
  }
17
18
  export declare const IconBillboard: (props: FocusProps & ContainerVariants & LayoutVariants) => import("react/jsx-runtime").JSX.Element;