@axos-web-dev/shared-components 0.0.120 → 0.0.121
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/Comparison/Comparison.css.js +2 -2
- package/dist/Forms/ClearingForm.js +2 -2
- package/dist/Forms/CommercialDeposits.d.ts +18 -0
- package/dist/Forms/CommercialDeposits.js +326 -0
- package/dist/Forms/CpraRequest.d.ts +3 -3
- package/dist/Forms/CpraRequest.js +9 -9
- package/dist/Forms/Forms.css.d.ts +3 -0
- package/dist/Forms/Forms.css.js +9 -3
- package/dist/Forms/index.d.ts +2 -0
- package/dist/Forms/index.js +7 -2
- package/dist/HeroBanner/HeroBanner.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/Input/Input.css.js +1 -1
- package/dist/Insight/Featured/CategorySelector.css.js +1 -1
- package/dist/assets/Forms/Forms.css +22 -0
- package/dist/index.css.js +1 -1
- package/dist/main.js +7 -2
- package/package.json +1 -1
|
@@ -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: [] });
|
|
@@ -30,7 +30,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
30
30
|
import clsx from "clsx";
|
|
31
31
|
import { useForm, FormProvider } from "react-hook-form";
|
|
32
32
|
import * as z from "zod";
|
|
33
|
-
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, fullRowForm, ro_input, disclosureForm, actions } from "./Forms.css.js";
|
|
33
|
+
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, xc_input, fullRowForm, ro_input, disclosureForm, actions } from "./Forms.css.js";
|
|
34
34
|
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
35
35
|
const options = [
|
|
36
36
|
{ label: "Active Trading", value: "Active Trading" },
|
|
@@ -243,7 +243,7 @@ const ClearingForm = ({
|
|
|
243
243
|
variant
|
|
244
244
|
}
|
|
245
245
|
) }),
|
|
246
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
246
|
+
/* @__PURE__ */ jsx("div", { className: xc_input, children: /* @__PURE__ */ jsxs(
|
|
247
247
|
Dropdown,
|
|
248
248
|
{
|
|
249
249
|
id: "Current_Assets_Under_Management__c",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormProps } from './FormProps';
|
|
2
|
+
|
|
3
|
+
export type CommercialDepositsInputs = {
|
|
4
|
+
first_name: string;
|
|
5
|
+
last_name: string;
|
|
6
|
+
company: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
Estimated_Gross_Annual_Revenue__c: string;
|
|
10
|
+
Banking__c: boolean;
|
|
11
|
+
Treasury_Management__c: boolean;
|
|
12
|
+
Commercial_Credit_Card__c: boolean;
|
|
13
|
+
Lending__c: boolean;
|
|
14
|
+
Others__c: boolean;
|
|
15
|
+
Others_Detail__c: string;
|
|
16
|
+
Product_and_servicing_needs__c: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,326 @@
|
|
|
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 { Checkbox } from "../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 "../Input/InputAmount.js";
|
|
16
|
+
import { InputPhone } from "../Input/InputPhone.js";
|
|
17
|
+
import "../Input/InputTextArea.js";
|
|
18
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
19
|
+
import SvgAxosX from "../icons/AxosX/index.js";
|
|
20
|
+
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
21
|
+
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
import { associatedEmail } from "../utils/EverestValidity.js";
|
|
27
|
+
import "../utils/allowedAxosDomains.js";
|
|
28
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
29
|
+
import clsx from "clsx";
|
|
30
|
+
import { useForm, FormProvider } from "react-hook-form";
|
|
31
|
+
import * as z from "zod";
|
|
32
|
+
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, x_input, fullRowForm, pl_label, disclosureForm, actions } from "./Forms.css.js";
|
|
33
|
+
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
34
|
+
const CommercialDeposits = ({
|
|
35
|
+
icon = false,
|
|
36
|
+
children,
|
|
37
|
+
onSubmit = (values) => {
|
|
38
|
+
console.log(values);
|
|
39
|
+
},
|
|
40
|
+
disclosure,
|
|
41
|
+
variant: fullVariant = "primary",
|
|
42
|
+
headline,
|
|
43
|
+
description,
|
|
44
|
+
callToAction,
|
|
45
|
+
// validateEmail,
|
|
46
|
+
id
|
|
47
|
+
}) => {
|
|
48
|
+
const schema = z.object({
|
|
49
|
+
first_name: z.string({ message: "First name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
50
|
+
message: "First name is required."
|
|
51
|
+
}).trim().min(1, { message: "First Name is required." }),
|
|
52
|
+
last_name: z.string({ message: "Last Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
53
|
+
message: "Last Name is required."
|
|
54
|
+
}).trim().min(1, { message: "Last Name is required." }),
|
|
55
|
+
email: z.string().email({ message: "Email is required." }),
|
|
56
|
+
// .refine(async (val: string) => await validateEmail(val)),
|
|
57
|
+
phone: z.string({ message: "Business Phone is required." }).regex(/[\d-]{10}/, { message: "Business Phone is required." }).min(10, { message: "Business Phone is required." }).max(12, { message: "Business Phone is required." }).transform((val, ctx) => {
|
|
58
|
+
const removeDashes = val.replace(/-/gi, "");
|
|
59
|
+
if (removeDashes.length !== 10) {
|
|
60
|
+
ctx.addIssue({
|
|
61
|
+
code: z.ZodIssueCode.custom,
|
|
62
|
+
message: "Business Phone must have at least 10 and no more than 10 characters."
|
|
63
|
+
});
|
|
64
|
+
return z.NEVER;
|
|
65
|
+
}
|
|
66
|
+
return removeDashes;
|
|
67
|
+
}),
|
|
68
|
+
company: z.string({ message: "Business Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
69
|
+
message: "Business Name is required"
|
|
70
|
+
}).trim().min(1, { message: "Business Name is required." }),
|
|
71
|
+
Estimated_Gross_Annual_Revenue__c: z.string(),
|
|
72
|
+
Banking__c: z.boolean(),
|
|
73
|
+
Treasury_Management__c: z.boolean(),
|
|
74
|
+
Commercial_Credit_Card__c: z.boolean(),
|
|
75
|
+
Lending__c: z.boolean(),
|
|
76
|
+
Others__c: z.boolean(),
|
|
77
|
+
Others_Detail__c: z.string(),
|
|
78
|
+
Product_and_servicing_needs__c: z.string()
|
|
79
|
+
});
|
|
80
|
+
const methods = useForm({
|
|
81
|
+
resolver: zodResolver(schema.merge(SalesforceSchema), {
|
|
82
|
+
async: true
|
|
83
|
+
}),
|
|
84
|
+
mode: "all"
|
|
85
|
+
});
|
|
86
|
+
const {
|
|
87
|
+
handleSubmit,
|
|
88
|
+
register,
|
|
89
|
+
setValue,
|
|
90
|
+
watch,
|
|
91
|
+
formState: { errors, isValid, isSubmitting }
|
|
92
|
+
} = methods;
|
|
93
|
+
const othersChecked = watch("Others__c");
|
|
94
|
+
const submitForm = async (data) => {
|
|
95
|
+
const processData = {
|
|
96
|
+
...data,
|
|
97
|
+
Banking__c: data.Banking__c ? true : false
|
|
98
|
+
};
|
|
99
|
+
await onSubmit(processData);
|
|
100
|
+
};
|
|
101
|
+
const handleDropdownChange = (event) => {
|
|
102
|
+
const value = event.target.value;
|
|
103
|
+
setValue("Estimated_Gross_Annual_Revenue__c", value);
|
|
104
|
+
};
|
|
105
|
+
const variant = getVariant(fullVariant);
|
|
106
|
+
return /* @__PURE__ */ jsx(
|
|
107
|
+
"section",
|
|
108
|
+
{
|
|
109
|
+
id: `id_${id}`,
|
|
110
|
+
className: clsx(formContainer({ variant })),
|
|
111
|
+
children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
112
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
113
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(headerContainer, "text_center"), children: [
|
|
114
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
115
|
+
description && /* @__PURE__ */ jsx(
|
|
116
|
+
"div",
|
|
117
|
+
{
|
|
118
|
+
className: clsx(
|
|
119
|
+
form,
|
|
120
|
+
descriptionField({ variant }),
|
|
121
|
+
"text_center"
|
|
122
|
+
),
|
|
123
|
+
children: description
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
] }),
|
|
127
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
128
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
129
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
130
|
+
Input,
|
|
131
|
+
{
|
|
132
|
+
id: "first_name",
|
|
133
|
+
...register("first_name", {
|
|
134
|
+
required: "First Name is required"
|
|
135
|
+
}),
|
|
136
|
+
label: "First Name",
|
|
137
|
+
sizes: "medium",
|
|
138
|
+
required: true,
|
|
139
|
+
error: !!errors.first_name,
|
|
140
|
+
helperText: errors.first_name?.message,
|
|
141
|
+
variant
|
|
142
|
+
}
|
|
143
|
+
) }),
|
|
144
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
145
|
+
Input,
|
|
146
|
+
{
|
|
147
|
+
id: "last_name",
|
|
148
|
+
...register("last_name", { required: true }),
|
|
149
|
+
label: "Last Name",
|
|
150
|
+
sizes: "medium",
|
|
151
|
+
required: true,
|
|
152
|
+
error: !!errors.last_name,
|
|
153
|
+
helperText: errors.last_name?.message,
|
|
154
|
+
variant
|
|
155
|
+
}
|
|
156
|
+
) }),
|
|
157
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
158
|
+
Input,
|
|
159
|
+
{
|
|
160
|
+
id: "company",
|
|
161
|
+
...register("company", { required: true }),
|
|
162
|
+
label: "Business Name",
|
|
163
|
+
sizes: "medium",
|
|
164
|
+
required: true,
|
|
165
|
+
error: !!errors.company,
|
|
166
|
+
helperText: errors.company?.message,
|
|
167
|
+
variant
|
|
168
|
+
}
|
|
169
|
+
) }),
|
|
170
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
171
|
+
Input,
|
|
172
|
+
{
|
|
173
|
+
id: "email",
|
|
174
|
+
...register("email", {
|
|
175
|
+
required: true,
|
|
176
|
+
validate: {
|
|
177
|
+
isValid: associatedEmail
|
|
178
|
+
}
|
|
179
|
+
}),
|
|
180
|
+
label: "Email",
|
|
181
|
+
sizes: "medium",
|
|
182
|
+
required: true,
|
|
183
|
+
error: !!errors.email,
|
|
184
|
+
helperText: errors.email?.message,
|
|
185
|
+
variant
|
|
186
|
+
}
|
|
187
|
+
) }),
|
|
188
|
+
/* @__PURE__ */ jsx("div", { className: x_input, children: /* @__PURE__ */ jsx(
|
|
189
|
+
InputPhone,
|
|
190
|
+
{
|
|
191
|
+
id: "phone",
|
|
192
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
193
|
+
label: "Business Phone",
|
|
194
|
+
sizes: "medium",
|
|
195
|
+
required: true,
|
|
196
|
+
error: !!errors.phone,
|
|
197
|
+
helperText: errors.phone?.message,
|
|
198
|
+
variant
|
|
199
|
+
}
|
|
200
|
+
) }),
|
|
201
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
202
|
+
Dropdown,
|
|
203
|
+
{
|
|
204
|
+
id: "Estimated_Gross_Annual_Revenue__c",
|
|
205
|
+
...register("Estimated_Gross_Annual_Revenue__c", {
|
|
206
|
+
required: true
|
|
207
|
+
}),
|
|
208
|
+
label: "Estimated Gross Annual Revenue",
|
|
209
|
+
sizes: "medium",
|
|
210
|
+
required: true,
|
|
211
|
+
error: !!errors.Estimated_Gross_Annual_Revenue__c,
|
|
212
|
+
helperText: errors.Estimated_Gross_Annual_Revenue__c?.message,
|
|
213
|
+
variant,
|
|
214
|
+
defaultValue: "Select option",
|
|
215
|
+
onChange: handleDropdownChange,
|
|
216
|
+
children: [
|
|
217
|
+
/* @__PURE__ */ jsx("option", { disabled: true, value: "Select option", children: "Select Option" }),
|
|
218
|
+
/* @__PURE__ */ jsx("option", { value: "Under $3MM", children: "Under $3MM" }),
|
|
219
|
+
/* @__PURE__ */ jsx("option", { value: "$3MM - $10MM", children: "$3MM - $10MM" }),
|
|
220
|
+
/* @__PURE__ */ jsx("option", { value: "$10MM - $100MM", children: "$10MM - $100MM" }),
|
|
221
|
+
/* @__PURE__ */ jsx("option", { value: "Above $100MM", children: "Above $100MM" })
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
) }),
|
|
225
|
+
/* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
|
|
226
|
+
/* @__PURE__ */ jsx("div", { className: pl_label, children: "Which products or services apply to your request? Click all that apply." }),
|
|
227
|
+
/* @__PURE__ */ jsx(
|
|
228
|
+
Checkbox,
|
|
229
|
+
{
|
|
230
|
+
id: "Banking__c",
|
|
231
|
+
...register("Banking__c"),
|
|
232
|
+
sizes: "medium",
|
|
233
|
+
variant,
|
|
234
|
+
children: "Banking"
|
|
235
|
+
}
|
|
236
|
+
),
|
|
237
|
+
/* @__PURE__ */ jsx(
|
|
238
|
+
Checkbox,
|
|
239
|
+
{
|
|
240
|
+
id: "Treasury_Management__c",
|
|
241
|
+
...register("Treasury_Management__c"),
|
|
242
|
+
sizes: "medium",
|
|
243
|
+
variant,
|
|
244
|
+
children: "Treasury Management"
|
|
245
|
+
}
|
|
246
|
+
),
|
|
247
|
+
/* @__PURE__ */ jsx(
|
|
248
|
+
Checkbox,
|
|
249
|
+
{
|
|
250
|
+
id: "Commercial_Credit_Card__c",
|
|
251
|
+
...register("Commercial_Credit_Card__c"),
|
|
252
|
+
sizes: "medium",
|
|
253
|
+
variant,
|
|
254
|
+
children: "Commercial Credit Card"
|
|
255
|
+
}
|
|
256
|
+
),
|
|
257
|
+
/* @__PURE__ */ jsx(
|
|
258
|
+
Checkbox,
|
|
259
|
+
{
|
|
260
|
+
id: "Lending__c",
|
|
261
|
+
...register("Lending__c"),
|
|
262
|
+
sizes: "medium",
|
|
263
|
+
variant,
|
|
264
|
+
children: "Lending"
|
|
265
|
+
}
|
|
266
|
+
),
|
|
267
|
+
/* @__PURE__ */ jsx(
|
|
268
|
+
Checkbox,
|
|
269
|
+
{
|
|
270
|
+
id: "Others__c",
|
|
271
|
+
...register("Others__c"),
|
|
272
|
+
sizes: "medium",
|
|
273
|
+
variant,
|
|
274
|
+
children: "Other"
|
|
275
|
+
}
|
|
276
|
+
),
|
|
277
|
+
othersChecked && /* @__PURE__ */ jsx(
|
|
278
|
+
Input,
|
|
279
|
+
{
|
|
280
|
+
id: "Others_Detail__c",
|
|
281
|
+
...register("Others_Detail__c", { required: false }),
|
|
282
|
+
sizes: "medium",
|
|
283
|
+
required: false,
|
|
284
|
+
error: !!errors.Others_Detail__c,
|
|
285
|
+
helperText: errors.Others_Detail__c?.message,
|
|
286
|
+
variant
|
|
287
|
+
}
|
|
288
|
+
)
|
|
289
|
+
] }),
|
|
290
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
291
|
+
Input,
|
|
292
|
+
{
|
|
293
|
+
id: "Product_and_servicing_needs__c",
|
|
294
|
+
...register("Product_and_servicing_needs__c", {
|
|
295
|
+
required: false
|
|
296
|
+
}),
|
|
297
|
+
label: "Kindly describe your product and/or servicing needs.",
|
|
298
|
+
sizes: "medium",
|
|
299
|
+
required: false,
|
|
300
|
+
error: !!errors.Product_and_servicing_needs__c,
|
|
301
|
+
helperText: errors.Product_and_servicing_needs__c?.message,
|
|
302
|
+
variant
|
|
303
|
+
}
|
|
304
|
+
) })
|
|
305
|
+
] }),
|
|
306
|
+
children,
|
|
307
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
308
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
309
|
+
Button,
|
|
310
|
+
{
|
|
311
|
+
color: getVariant(callToAction?.variant),
|
|
312
|
+
as: "button",
|
|
313
|
+
type: "submit",
|
|
314
|
+
disabled: !isValid || isSubmitting,
|
|
315
|
+
children: callToAction?.displayText
|
|
316
|
+
}
|
|
317
|
+
) })
|
|
318
|
+
] })
|
|
319
|
+
] }) })
|
|
320
|
+
},
|
|
321
|
+
id
|
|
322
|
+
);
|
|
323
|
+
};
|
|
324
|
+
export {
|
|
325
|
+
CommercialDeposits
|
|
326
|
+
};
|
|
@@ -18,10 +18,10 @@ export type CpraInputs = {
|
|
|
18
18
|
DOB: string;
|
|
19
19
|
email: string;
|
|
20
20
|
Telephone: string;
|
|
21
|
-
|
|
21
|
+
Street_Address: string;
|
|
22
22
|
City: string;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
State_: string;
|
|
24
|
+
Zip_Code: string;
|
|
25
25
|
Contact_Method: "Email" | "Postal Mail";
|
|
26
26
|
};
|
|
27
27
|
export declare const CpraRequest: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -56,10 +56,10 @@ const CpraRequest = ({
|
|
|
56
56
|
Previously_Employed_by_Axos_Financial: z.string(),
|
|
57
57
|
Ever_Applied_for_Employment_with_Axos_Financial: z.string(),
|
|
58
58
|
Axos_Financial_interaction_outlet: z.string(),
|
|
59
|
-
|
|
59
|
+
Street_Address: z.string(),
|
|
60
60
|
City: z.string(),
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
State_: z.string(),
|
|
62
|
+
Zip_Code: z.string().regex(/^\d{5}(-\d{4})?$/, { message: "Invalid Zip Code format." }),
|
|
63
63
|
Contact_Method: z.string(),
|
|
64
64
|
DOB: z.string(),
|
|
65
65
|
First_Name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
|
|
@@ -575,7 +575,7 @@ const CpraRequest = ({
|
|
|
575
575
|
Input,
|
|
576
576
|
{
|
|
577
577
|
id: "Street_Address",
|
|
578
|
-
...register("
|
|
578
|
+
...register("Street_Address", { required: true }),
|
|
579
579
|
label: "Street Address",
|
|
580
580
|
sizes: "medium",
|
|
581
581
|
required: true,
|
|
@@ -596,15 +596,15 @@ const CpraRequest = ({
|
|
|
596
596
|
/* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
|
|
597
597
|
Dropdown,
|
|
598
598
|
{
|
|
599
|
-
id: "
|
|
600
|
-
...register("
|
|
599
|
+
id: "State_",
|
|
600
|
+
...register("State_", {
|
|
601
601
|
required: true
|
|
602
602
|
}),
|
|
603
603
|
label: "Assets Under Management",
|
|
604
604
|
sizes: "medium",
|
|
605
605
|
required: true,
|
|
606
|
-
error: !!errors.
|
|
607
|
-
helperText: errors.
|
|
606
|
+
error: !!errors.State_,
|
|
607
|
+
helperText: errors.State_?.message,
|
|
608
608
|
variant,
|
|
609
609
|
children: [
|
|
610
610
|
/* @__PURE__ */ jsx("option", { value: "Alabama - AL", children: "Alabama - AL" }),
|
|
@@ -664,7 +664,7 @@ const CpraRequest = ({
|
|
|
664
664
|
Input,
|
|
665
665
|
{
|
|
666
666
|
id: "Zip_Code",
|
|
667
|
-
...register("
|
|
667
|
+
...register("Zip_Code", { required: true }),
|
|
668
668
|
label: "Zip Code",
|
|
669
669
|
sizes: "medium",
|
|
670
670
|
required: true,
|
|
@@ -180,3 +180,6 @@ export declare const section_title: import('@vanilla-extract/recipes').RuntimeFn
|
|
|
180
180
|
}>;
|
|
181
181
|
export declare const checkbox_group: string;
|
|
182
182
|
export declare const ro_input: string;
|
|
183
|
+
export declare const pl_label: string;
|
|
184
|
+
export declare const x_input: string;
|
|
185
|
+
export declare const xc_input: string;
|
package/dist/Forms/Forms.css.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
/* empty css */
|
|
5
3
|
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
@@ -24,6 +24,9 @@ var one_row = "tfms6a1a";
|
|
|
24
24
|
var section_title = createRuntimeFn({ defaultClassName: "tfms6a1b", variantClassNames: { variant: { primary: "tfms6a1c", secondary: "tfms6a1d", tertiary: "tfms6a1e", quaternary: "tfms6a1f" } }, defaultVariants: {}, compoundVariants: [] });
|
|
25
25
|
var checkbox_group = "tfms6a1g";
|
|
26
26
|
var ro_input = "tfms6a1h";
|
|
27
|
+
var pl_label = "tfms6a1i";
|
|
28
|
+
var x_input = "tfms6a1j";
|
|
29
|
+
var xc_input = "tfms6a1k";
|
|
27
30
|
export {
|
|
28
31
|
actions,
|
|
29
32
|
checkbox_group,
|
|
@@ -37,10 +40,13 @@ export {
|
|
|
37
40
|
headerForm,
|
|
38
41
|
iconForm,
|
|
39
42
|
one_row,
|
|
43
|
+
pl_label,
|
|
40
44
|
ro_input,
|
|
41
45
|
section_title,
|
|
42
46
|
succes_check_mark,
|
|
43
47
|
success_circle,
|
|
44
48
|
success_icon,
|
|
45
|
-
success_wrap
|
|
49
|
+
success_wrap,
|
|
50
|
+
x_input,
|
|
51
|
+
xc_input
|
|
46
52
|
};
|
package/dist/Forms/index.d.ts
CHANGED
package/dist/Forms/index.js
CHANGED
|
@@ -10,16 +10,18 @@ import { CpraRequest } from "./CpraRequest.js";
|
|
|
10
10
|
import { DealerServices } from "./DealerServices.js";
|
|
11
11
|
import { EmailOnly } from "./EmailOnly.js";
|
|
12
12
|
import { EmailUs } from "./EmailUs.js";
|
|
13
|
-
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms.css.js";
|
|
13
|
+
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, pl_label, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap, x_input, xc_input } from "./Forms.css.js";
|
|
14
14
|
import { QuickPricer } from "./QuickPricer.js";
|
|
15
15
|
import { SalesforceFieldsForm, SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
16
16
|
import { ScheduleCall } from "./ScheduleCall.js";
|
|
17
17
|
import { ScheduleCallPremier } from "./ScheduleCallPremier.js";
|
|
18
18
|
import { SuccesFormWrapper } from "./SuccesForm.js";
|
|
19
19
|
import { WCPLSurvey } from "./WcplSurvey.js";
|
|
20
|
+
import { CommercialDeposits } from "./CommercialDeposits.js";
|
|
20
21
|
export {
|
|
21
22
|
ApplicationStart,
|
|
22
23
|
ClearingForm,
|
|
24
|
+
CommercialDeposits,
|
|
23
25
|
CommercialLending,
|
|
24
26
|
ContactCompany,
|
|
25
27
|
ContactUs,
|
|
@@ -49,10 +51,13 @@ export {
|
|
|
49
51
|
headerForm,
|
|
50
52
|
iconForm,
|
|
51
53
|
one_row,
|
|
54
|
+
pl_label,
|
|
52
55
|
ro_input,
|
|
53
56
|
section_title,
|
|
54
57
|
succes_check_mark,
|
|
55
58
|
success_circle,
|
|
56
59
|
success_icon,
|
|
57
|
-
success_wrap
|
|
60
|
+
success_wrap,
|
|
61
|
+
x_input,
|
|
62
|
+
xc_input
|
|
58
63
|
};
|
|
@@ -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 billboard = createRuntimeFn({ defaultClassName: "_1m7m2a0", variantClassNames: { variant: { primary: "_1m7m2a1", secondary: "_1m7m2a2", tertiary: "_1m7m2a3", quaternary: "_1m7m2a4" } }, defaultVariants: {}, compoundVariants: [] });
|
package/dist/Input/Input.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/* empty css */
|
|
1
2
|
/* empty css */
|
|
2
3
|
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
6
|
var iconInput = createRuntimeFn({ defaultClassName: "_18du0la0", variantClassNames: { size: { small: "_18du0la1", medium: "_18du0la2", large: "_18du0la3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -243,6 +243,9 @@
|
|
|
243
243
|
cursor: pointer;
|
|
244
244
|
caret-color: transparent;
|
|
245
245
|
}
|
|
246
|
+
.tfms6a1i {
|
|
247
|
+
padding-left: 16px;
|
|
248
|
+
}
|
|
246
249
|
@media screen and (max-width:1023px) {
|
|
247
250
|
.tfms6a0 {
|
|
248
251
|
padding-inline: 0;
|
|
@@ -284,4 +287,23 @@
|
|
|
284
287
|
.tfms6a1g ._18du0laf {
|
|
285
288
|
padding: 6px;
|
|
286
289
|
}
|
|
290
|
+
}
|
|
291
|
+
@media screen and (max-width: 768px) and (min-width: 604px) {
|
|
292
|
+
.tfms6a1j label {
|
|
293
|
+
height: 48px;
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: flex-end;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
@media screen and (max-width: 579px) and (min-width: 481px) {
|
|
299
|
+
.tfms6a1j label {
|
|
300
|
+
height: 48px;
|
|
301
|
+
display: flex;
|
|
302
|
+
align-items: flex-end;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
@media screen and (max-width: 483px) {
|
|
306
|
+
.tfms6a1j label {
|
|
307
|
+
white-space: nowrap;
|
|
308
|
+
}
|
|
287
309
|
}
|
package/dist/index.css.js
CHANGED
package/dist/main.js
CHANGED
|
@@ -53,13 +53,14 @@ import { CpraRequest } from "./Forms/CpraRequest.js";
|
|
|
53
53
|
import { DealerServices } from "./Forms/DealerServices.js";
|
|
54
54
|
import { EmailOnly } from "./Forms/EmailOnly.js";
|
|
55
55
|
import { EmailUs } from "./Forms/EmailUs.js";
|
|
56
|
-
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms/Forms.css.js";
|
|
56
|
+
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, pl_label, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap, x_input, xc_input } from "./Forms/Forms.css.js";
|
|
57
57
|
import { QuickPricer } from "./Forms/QuickPricer.js";
|
|
58
58
|
import { SalesforceFieldsForm, SalesforceSchema } from "./Forms/SalesforceFieldsForm.js";
|
|
59
59
|
import { ScheduleCall } from "./Forms/ScheduleCall.js";
|
|
60
60
|
import { ScheduleCallPremier } from "./Forms/ScheduleCallPremier.js";
|
|
61
61
|
import { SuccesFormWrapper } from "./Forms/SuccesForm.js";
|
|
62
62
|
import { WCPLSurvey } from "./Forms/WcplSurvey.js";
|
|
63
|
+
import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
|
|
63
64
|
import { HeroBanner } from "./HeroBanner/HeroBanner.js";
|
|
64
65
|
import { headline_text, heroSupertag, hero_banner, hero_btns, hero_content, hero_embedded_image, hero_img, hero_text, hero_wrapper, logout, reversed, reversed_lg_image } from "./HeroBanner/HeroBanner.css.js";
|
|
65
66
|
import { selection_headline_text, selection_section, selection_section_bg, selection_section_content, selection_section_icon, selection_section_icon_img } from "./HeroBanner/SelectionBanner.css.js";
|
|
@@ -203,6 +204,7 @@ export {
|
|
|
203
204
|
default19 as ClockIcon,
|
|
204
205
|
default10 as CloseIcon,
|
|
205
206
|
CollectInformationAlert,
|
|
207
|
+
CommercialDeposits,
|
|
206
208
|
CommercialLending,
|
|
207
209
|
ComparisonSet,
|
|
208
210
|
ContactCompany,
|
|
@@ -479,6 +481,7 @@ export {
|
|
|
479
481
|
picker_navItem,
|
|
480
482
|
picker_orient,
|
|
481
483
|
picker_section,
|
|
484
|
+
pl_label,
|
|
482
485
|
pn_btn,
|
|
483
486
|
pn_link,
|
|
484
487
|
point,
|
|
@@ -554,5 +557,7 @@ export {
|
|
|
554
557
|
video_title,
|
|
555
558
|
vidyard_height,
|
|
556
559
|
w_100,
|
|
557
|
-
wrapper
|
|
560
|
+
wrapper,
|
|
561
|
+
x_input,
|
|
562
|
+
xc_input
|
|
558
563
|
};
|