@axos-web-dev/shared-components 1.0.99-feature-brand.2 → 1.0.99-feature-toasts
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/ATMLocator/ATMLocator.js +3 -1
- package/dist/Article/Article.css.d.ts +36 -8
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +70 -10
- package/dist/ArticlesSet/ArticlesSet.js +1 -1
- package/dist/Auth/ErrorAlert.js +5 -3
- package/dist/AwardsBanner/AwardsBanner.css.js +1 -4
- package/dist/AwardsItem/AwardsItem.css.js +2 -1
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/Button/Button.css.d.ts +3 -3
- package/dist/Button/Button.js +5 -3
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +30 -2
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +30 -2
- package/dist/Calculators/Calculator.js +17 -3
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.d.ts +9 -0
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +219 -0
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +1 -0
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +2 -0
- package/dist/Calculators/calculator.css.d.ts +8 -2
- package/dist/Calculators/index.d.ts +2 -1
- package/dist/Calculators/index.js +3 -1
- package/dist/CallToActionBar/index.js +1 -1
- package/dist/Carousel/Carousel.css.d.ts +19 -8
- package/dist/Carousel/index.js +5 -3
- package/dist/Chevron/Chevron.css.d.ts +2 -2
- package/dist/Chevron/index.js +5 -3
- package/dist/CollectInformationAlert/index.js +1 -1
- package/dist/Comparison/Comparison.js +6 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +5 -3
- package/dist/FaqAccordion/index.js +5 -3
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +8 -6
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplicationStart.js +111 -89
- package/dist/Forms/ApplyNow.d.ts +2 -2
- package/dist/Forms/ApplyNow.js +173 -146
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/ClearingForm.js +184 -162
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.js +201 -179
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialLending.js +278 -256
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.js +128 -106
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompany.js +113 -91
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.js +127 -105
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUs.js +99 -77
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.js +180 -158
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +138 -115
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.js +107 -84
- package/dist/Forms/ContactUsLVF.d.ts +3 -1
- package/dist/Forms/ContactUsLVF.js +127 -101
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.js +121 -98
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +641 -619
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/CraPublicFile.js +113 -90
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/DealerServices.js +225 -204
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +60 -39
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/EmailUs.js +75 -53
- package/dist/Forms/FormProps.d.ts +3 -0
- package/dist/Forms/Forms.css.d.ts +47 -1
- package/dist/Forms/Forms.css.js +44 -38
- package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
- package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
- package/dist/Forms/HoneyPot/index.d.ts +24 -0
- package/dist/Forms/HoneyPot/index.js +71 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +367 -345
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +5 -3
- package/dist/Forms/MortgageWarehouseLending.d.ts +11 -0
- package/dist/Forms/MortgageWarehouseLending.js +339 -0
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCall.js +156 -134
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.js +178 -156
- package/dist/Forms/SuccesForm.js +8 -6
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.js +817 -795
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/WcplSurvey.js +112 -90
- package/dist/Forms/applynow-utils.d.ts +1 -0
- package/dist/Forms/applynow-utils.js +48 -0
- package/dist/Forms/index.d.ts +3 -0
- package/dist/Forms/index.js +12 -2
- package/dist/HeroBanner/HeroBanner.css.d.ts +17 -5
- package/dist/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/HeroBanner/HeroBanner.interface.d.ts +3 -0
- package/dist/HeroBanner/HeroBanner.js +89 -31
- package/dist/HeroBanner/SelectionBanner.css.d.ts +19 -1
- package/dist/HeroBanner/SelectionBanner.css.js +6 -6
- package/dist/Hyperlink/index.js +5 -3
- package/dist/IconBillboard/IconBillboard.css.d.ts +40 -6
- package/dist/IconBillboard/IconBillboard.css.js +2 -1
- package/dist/IconBillboard/IconBillboard.interface.d.ts +1 -0
- package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +61 -5
- package/dist/ImageLink/ImageLink.js +5 -3
- package/dist/ImageLink/ImageLinkSet.js +5 -3
- package/dist/ImageLink/index.js +5 -3
- package/dist/ImageToast/ImageToast.css.d.ts +6 -0
- package/dist/ImageToast/ImageToast.css.js +15 -0
- package/dist/ImageToast/index.d.ts +9 -0
- package/dist/ImageToast/index.js +183 -0
- package/dist/Input/Input.js +3 -1
- package/dist/Insight/Featured/CategorySelector.js +5 -3
- package/dist/Insight/Featured/Featured.js +5 -3
- package/dist/Insight/Featured/Header.js +5 -3
- package/dist/LoadingIndicator/LoadingIndicator.css.d.ts +4 -4
- package/dist/Modal/Modal.css.d.ts +0 -1
- package/dist/Modal/Modal.css.js +3 -5
- package/dist/Modal/Modal.js +8 -6
- package/dist/NavigationMenu/AxosALTS/NavData.js +5 -3
- package/dist/NavigationMenu/AxosALTS/index.js +5 -3
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.d.ts +0 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +2 -7
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosAdvisor/index.js +21 -39
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.d.ts +0 -2
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +2 -7
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +2 -2
- package/dist/NavigationMenu/AxosAdvisorServices/index.js +8 -14
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +2 -2
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +17 -7
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -2
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +41 -41
- package/dist/NavigationMenu/AxosBank/NavData.js +5 -3
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +238 -235
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.d.ts +0 -2
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +0 -4
- package/dist/NavigationMenu/AxosBank/index.js +5 -3
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
- package/dist/NavigationMenu/LaVictoire/NavData.js +5 -3
- package/dist/NavigationMenu/LaVictoire/index.js +5 -3
- package/dist/NavigationMenu/NavDataJson.d.ts +2 -0
- package/dist/NavigationMenu/NavDataJson.js +310 -0
- package/dist/NavigationMenu/Navbar.d.ts +5 -0
- package/dist/NavigationMenu/Navbar.js +196 -0
- package/dist/NavigationMenu/SignInNavButton.d.ts +1 -0
- package/dist/NavigationMenu/SignInNavButton.js +364 -0
- package/dist/PageNavItem/PageNavItem.css.d.ts +22 -4
- package/dist/Pagination/Pagination.js +6 -6
- package/dist/SetContainer/SetContainer.js +5 -3
- package/dist/SocialMediaBar/iconsRepository.js +5 -3
- package/dist/StepItem/StepItem.css.d.ts +36 -8
- package/dist/StepItemSet/StepItemSet.css.d.ts +32 -4
- package/dist/StepItemSet/StepItemSet.d.ts +1 -1
- package/dist/StepItemSet/StepItemSet.js +82 -18
- package/dist/StepItemSet/index.d.ts +0 -5
- package/dist/StepItemSet/index.js +0 -10
- package/dist/Table/Table.css.d.ts +2 -3
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/VideoTile/VideoTile.js +5 -3
- package/dist/VideoWrapper/index.js +5 -3
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/Accordion/Accordion.css +1 -1
- package/dist/assets/Article/Article.css +59 -47
- package/dist/assets/ArticlesSet/ArticlesSet.css +56 -26
- package/dist/assets/Auth/SignIn.css +12 -12
- package/dist/assets/AwardsBanner/AwardsBanner.css +1 -1
- package/dist/assets/AwardsItem/AwardsItem.css +4 -3
- package/dist/assets/Blockquote/Blockquote.css.css +16 -16
- package/dist/assets/Button/Button.css +21 -21
- package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +8 -8
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +21 -12
- package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +9 -9
- package/dist/assets/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css +31 -19
- package/dist/assets/Calculators/BuyDownCalculator/BuyDownCalculator.css +14 -14
- package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +12 -9
- package/dist/assets/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css +9 -9
- package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +9 -9
- package/dist/assets/Calculators/calculator.css +15 -9
- package/dist/assets/CallToActionBar/CallToActionBar.css +4 -1
- package/dist/assets/Carousel/Carousel.css +41 -27
- package/dist/assets/Chevron/Chevron.css +6 -6
- package/dist/assets/CollectInformationAlert/CollectInformationAlert.css +3 -4
- package/dist/assets/Comparison/Comparison.css +3 -3
- package/dist/assets/ContentBanner/ContentBanner.css +8 -8
- package/dist/assets/DownloadTile/DownloadTile.css +5 -5
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +23 -23
- package/dist/assets/FaqAccordion/FaqAccordion.css +4 -4
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
- package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +8 -3
- package/dist/assets/Forms/Forms.css +180 -132
- package/dist/assets/Forms/HoneyPot/HoneyPot.css +4 -0
- package/dist/assets/Forms/QuickPricer/UserInformation.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +79 -83
- package/dist/assets/HeroBanner/LargeBanner.css +13 -13
- package/dist/assets/HeroBanner/SelectionBanner.css +29 -15
- package/dist/assets/IconBillboard/IconBillboard.css +78 -25
- package/dist/assets/ImageBillboard/ImageBillboard.css +61 -28
- package/dist/assets/ImageToast/ImageToast.css +37 -0
- package/dist/assets/Input/Input.css +6 -6
- package/dist/assets/Inputs/Input.css +4 -4
- package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
- package/dist/assets/Interstitial/Interstitial-variants.css +3 -3
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +1 -1
- package/dist/assets/LoadingIndicator/LoadingIndicator.css +5 -5
- package/dist/assets/Modal/Modal.css +28 -17
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +1 -1
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +2 -25
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +126 -138
- package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +4 -5
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +2 -25
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +130 -142
- package/dist/assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css +4 -22
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +31 -32
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css +9 -19
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +146 -118
- package/dist/assets/NavigationMenu/AxosBank/SubNavbar.css +1 -35
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +107 -133
- package/dist/assets/PageNavItem/PageNavItem.css +33 -16
- package/dist/assets/Pagination/Pagination.css +1 -1
- package/dist/assets/SetContainer/SetContainer.css +4 -4
- package/dist/assets/StepItem/StepItem.css +42 -26
- package/dist/assets/StepItemSet/StepItemSet.css +26 -13
- package/dist/assets/Tab/Tab.css +12 -12
- package/dist/assets/Table/Table.css +56 -48
- package/dist/assets/TextBlock/TextBlock.css +1 -1
- package/dist/assets/TopicalNavItem/TopicalNavItem.css +2 -2
- package/dist/assets/TopicalNavSet/TopicalNavSet.css +1 -1
- package/dist/assets/VideoTile/VideoTile.css +1 -1
- package/dist/assets/WalnutIframe/wrapper.css.css +8 -7
- package/dist/assets/globals.css +6 -5
- package/dist/assets/icons/ArrowIcon/ArrowIcon.css +3 -3
- package/dist/assets/icons/DownloadIcon/DownloadIcon.css +1 -1
- package/dist/assets/icons/FollowIcon/FollowIcon.css +1 -1
- package/dist/assets/themes/axos.css +30 -30
- package/dist/assets/themes/premier.css +31 -31
- package/dist/assets/themes/victorie.css +23 -23
- package/dist/icons/CheckCircle.js +1 -1
- package/dist/icons/CheckCircleLight.js +1 -1
- package/dist/icons/CheckIcon/index.js +1 -1
- package/dist/icons/Logos/AXB.d.ts +8 -0
- package/dist/icons/Logos/AXB.js +74 -0
- package/dist/icons/QuoteIconGrey.js +2 -2
- package/dist/main.js +15 -13
- package/dist/themes/axos.css.d.ts +12 -12
- package/dist/themes/axos.css.js +1 -1
- package/dist/utils/allowedAxosDomains.js +2 -1
- package/package.json +1 -1
- package/dist/StepItemSet/sections/AdditionalDetailsSection.d.ts +0 -7
- package/dist/StepItemSet/sections/AdditionalDetailsSection.js +0 -11
- package/dist/StepItemSet/sections/CallToActionSection.d.ts +0 -8
- package/dist/StepItemSet/sections/CallToActionSection.js +0 -39
- package/dist/StepItemSet/sections/HeaderSection.d.ts +0 -10
- package/dist/StepItemSet/sections/HeaderSection.js +0 -45
- package/dist/StepItemSet/sections/ImageSection.d.ts +0 -8
- package/dist/StepItemSet/sections/ImageSection.js +0 -10
- package/dist/StepItemSet/sections/StepsList.d.ts +0 -10
- package/dist/StepItemSet/sections/StepsList.js +0 -21
|
@@ -5,4 +5,4 @@ export type WCPLSruveyInputs = {
|
|
|
5
5
|
Description_of_Deal_Details: string;
|
|
6
6
|
Telephone: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, onValidate, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/WcplSurvey.js
CHANGED
|
@@ -31,6 +31,7 @@ import clsx from "clsx";
|
|
|
31
31
|
import { useForm, FormProvider } from "react-hook-form";
|
|
32
32
|
import * as z from "zod";
|
|
33
33
|
import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
|
|
34
|
+
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
|
|
34
35
|
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
35
36
|
const WCPLSurvey = ({
|
|
36
37
|
icon = false,
|
|
@@ -42,6 +43,7 @@ const WCPLSurvey = ({
|
|
|
42
43
|
variant: fullVariant = "primary",
|
|
43
44
|
headline,
|
|
44
45
|
callToAction,
|
|
46
|
+
onValidate,
|
|
45
47
|
id,
|
|
46
48
|
description
|
|
47
49
|
}) => {
|
|
@@ -68,8 +70,16 @@ const WCPLSurvey = ({
|
|
|
68
70
|
return removeDashes;
|
|
69
71
|
})
|
|
70
72
|
});
|
|
73
|
+
const gen_schema = schema.merge(SalesforceSchema).merge(honeyPotSchema).superRefine((data, ctx) => {
|
|
74
|
+
if (!isValidHoneyPot(data)) {
|
|
75
|
+
ctx.addIssue({
|
|
76
|
+
code: z.ZodIssueCode.custom,
|
|
77
|
+
message: "fields are not valid."
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
});
|
|
71
81
|
const methods = useForm({
|
|
72
|
-
resolver: zodResolver(
|
|
82
|
+
resolver: zodResolver(gen_schema, {
|
|
73
83
|
async: true
|
|
74
84
|
}),
|
|
75
85
|
mode: "all",
|
|
@@ -99,95 +109,107 @@ const WCPLSurvey = ({
|
|
|
99
109
|
}
|
|
100
110
|
)
|
|
101
111
|
] }),
|
|
102
|
-
/* @__PURE__ */ jsxs(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
112
|
+
/* @__PURE__ */ jsxs(
|
|
113
|
+
"form",
|
|
114
|
+
{
|
|
115
|
+
className: form,
|
|
116
|
+
onSubmit: async (e) => {
|
|
117
|
+
onValidate && onValidate(e);
|
|
118
|
+
await handleSubmit(submitForm)(e);
|
|
119
|
+
e.preventDefault();
|
|
120
|
+
},
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
|
|
123
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
124
|
+
RadioButtonSet,
|
|
125
|
+
{
|
|
126
|
+
id: "Has_Deal",
|
|
127
|
+
label: "Do You have a potential deal you would like to discuss with an Account Executive?",
|
|
128
|
+
sizes: "medium",
|
|
129
|
+
placeholder: "Details",
|
|
130
|
+
required: true,
|
|
131
|
+
error: !!errors.Has_Deal,
|
|
132
|
+
helperText: errors.Has_Deal?.message,
|
|
133
|
+
variant,
|
|
134
|
+
children: [
|
|
135
|
+
/* @__PURE__ */ jsx(
|
|
136
|
+
RadioButton,
|
|
137
|
+
{
|
|
138
|
+
...register("Has_Deal", {
|
|
139
|
+
required: true
|
|
140
|
+
}),
|
|
141
|
+
value: "Yes",
|
|
142
|
+
radioText: "Yes",
|
|
143
|
+
groupName: "Has_Deal"
|
|
144
|
+
}
|
|
145
|
+
),
|
|
146
|
+
/* @__PURE__ */ jsx(
|
|
147
|
+
RadioButton,
|
|
148
|
+
{
|
|
149
|
+
...register("Has_Deal", {
|
|
150
|
+
required: true
|
|
151
|
+
}),
|
|
152
|
+
value: "No",
|
|
153
|
+
radioText: "No",
|
|
154
|
+
groupName: "Has_Deal"
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
) }),
|
|
160
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
161
|
+
InputTextArea,
|
|
162
|
+
{
|
|
163
|
+
id: "Description_of_Deal_Details",
|
|
164
|
+
...register("Description_of_Deal_Details", {
|
|
165
|
+
required: true
|
|
166
|
+
}),
|
|
167
|
+
label: "Write Your Message",
|
|
168
|
+
sizes: "medium",
|
|
169
|
+
placeholder: "Details",
|
|
170
|
+
required: true,
|
|
171
|
+
error: !!errors.Description_of_Deal_Details,
|
|
172
|
+
helperText: errors.Description_of_Deal_Details?.message,
|
|
173
|
+
variant
|
|
174
|
+
}
|
|
175
|
+
) }),
|
|
176
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
177
|
+
InputPhone,
|
|
178
|
+
{
|
|
179
|
+
id: "Telephone",
|
|
180
|
+
...register("Telephone", { required: true, maxLength: 12 }),
|
|
181
|
+
label: "Telephone",
|
|
182
|
+
sizes: "medium",
|
|
183
|
+
placeholder: "Phone",
|
|
184
|
+
required: true,
|
|
185
|
+
error: !!errors.Telephone,
|
|
186
|
+
helperText: errors.Telephone?.message,
|
|
187
|
+
variant
|
|
188
|
+
}
|
|
189
|
+
) }),
|
|
190
|
+
/* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
|
|
191
|
+
] }),
|
|
192
|
+
children,
|
|
193
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
194
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
|
|
195
|
+
LoadingIndicator,
|
|
196
|
+
{
|
|
197
|
+
style: { marginInline: "auto" },
|
|
198
|
+
variant
|
|
199
|
+
}
|
|
200
|
+
) : /* @__PURE__ */ jsx(
|
|
201
|
+
Button,
|
|
202
|
+
{
|
|
203
|
+
color: getVariant(callToAction?.variant),
|
|
204
|
+
as: "button",
|
|
205
|
+
type: "submit",
|
|
206
|
+
disabled: !isValid || isSubmitting,
|
|
207
|
+
children: callToAction?.displayText
|
|
208
|
+
}
|
|
209
|
+
) })
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
)
|
|
191
213
|
] }) }) }, id);
|
|
192
214
|
};
|
|
193
215
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLink: (selection: Array<string>) => string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const getLink = (selection) => {
|
|
2
|
+
const formSelection = selection.join(" | ");
|
|
3
|
+
let url = "{LVFMYSITE}/Portal/nPortal__SelfRegistration?core=es5";
|
|
4
|
+
switch (formSelection) {
|
|
5
|
+
case "Term | Full-time Charter | LLC":
|
|
6
|
+
url += "&product=a0u5e000001XiAo";
|
|
7
|
+
break;
|
|
8
|
+
case "Term | Limited Charter | LLC":
|
|
9
|
+
url += "&product=a0u5e000001XiAp";
|
|
10
|
+
break;
|
|
11
|
+
case "Term | Personal Use | LLC":
|
|
12
|
+
url += "&product=a0u5e000001XiB3";
|
|
13
|
+
break;
|
|
14
|
+
case "Term | Full-time Charter | Personal":
|
|
15
|
+
url += "&product=a0u5e000001Wfd5";
|
|
16
|
+
break;
|
|
17
|
+
case "Term | Limited Charter | Personal":
|
|
18
|
+
url += "&product=a0u5e000001WfdA";
|
|
19
|
+
break;
|
|
20
|
+
case "Term | Personal Use | Personal":
|
|
21
|
+
url += "&product=a0u5e000001WfdB";
|
|
22
|
+
break;
|
|
23
|
+
case "Credit Line | Full-time Charter | LLC":
|
|
24
|
+
url += "&product=a0u8W00002DhceX";
|
|
25
|
+
break;
|
|
26
|
+
case "Credit Line | Limited Charter | LLC":
|
|
27
|
+
url += "&product=a0u8W00002DhceY";
|
|
28
|
+
break;
|
|
29
|
+
case "Credit Line | Personal Use | LLC":
|
|
30
|
+
url += "&product=a0u8W00002DhceZ";
|
|
31
|
+
break;
|
|
32
|
+
case "Credit Line | Full-time Charter | Personal":
|
|
33
|
+
url += "&product=a0u8W00002DhceS";
|
|
34
|
+
break;
|
|
35
|
+
case "Credit Line | Limited Charter | Personal":
|
|
36
|
+
url += "&product=a0u8W00002DhceT";
|
|
37
|
+
break;
|
|
38
|
+
case "Credit Line | Personal Use | Personal":
|
|
39
|
+
url += "&product=a0u8W00002DhceU";
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
url += "&product=a0u5e000000hzHz";
|
|
43
|
+
}
|
|
44
|
+
return url;
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
getLink
|
|
48
|
+
};
|
package/dist/Forms/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './ApplicationStart';
|
|
2
2
|
export * from './ApplyNow';
|
|
3
|
+
export * from './applynow-utils';
|
|
3
4
|
export * from './ClearingForm';
|
|
4
5
|
export * from './CommercialDeposits';
|
|
5
6
|
export * from './CommercialLending';
|
|
@@ -19,10 +20,12 @@ export * from './EmailOnly';
|
|
|
19
20
|
export * from './EmailUs';
|
|
20
21
|
export * from './FormProps';
|
|
21
22
|
export * from './Forms.css';
|
|
23
|
+
export * from './HoneyPot';
|
|
22
24
|
export * from './MortgageRate/MortgageRateForm';
|
|
23
25
|
export * from './MortgageRate/MortgageRateModal';
|
|
24
26
|
export * from './MortgageRate/MortgageRateQuoteFilters';
|
|
25
27
|
export * from './MortgageRate/MortgageRateWatch';
|
|
28
|
+
export * from './MortgageWarehouseLending';
|
|
26
29
|
export * from './QuickPricer';
|
|
27
30
|
export * from './SalesforceFieldsForm';
|
|
28
31
|
export * from './ScheduleCall';
|
package/dist/Forms/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { ApplicationStart } from "./ApplicationStart.js";
|
|
3
|
-
import { ApplyNow
|
|
3
|
+
import { ApplyNow } from "./ApplyNow.js";
|
|
4
|
+
import { getLink } from "./applynow-utils.js";
|
|
4
5
|
import { ClearingForm } from "./ClearingForm.js";
|
|
5
6
|
import { CommercialDeposits } from "./CommercialDeposits.js";
|
|
6
7
|
import { CommercialLending } from "./CommercialLending.js";
|
|
@@ -18,7 +19,8 @@ import { CraPublicFile } from "./CraPublicFile.js";
|
|
|
18
19
|
import { DealerServices } from "./DealerServices.js";
|
|
19
20
|
import { EmailOnly } from "./EmailOnly.js";
|
|
20
21
|
import { EmailUs } from "./EmailUs.js";
|
|
21
|
-
import { actions, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms.css.js";
|
|
22
|
+
import { actions, apply_now_form, axosHeader, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerF, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms.css.js";
|
|
23
|
+
import { HoneyPot, honeyPotSchema, isValidHoneyPot } from "./HoneyPot/index.js";
|
|
22
24
|
import { MortgageRate } from "./MortgageRate/MortgageRateForm.js";
|
|
23
25
|
import "react/jsx-runtime";
|
|
24
26
|
import { RateWatchForm } from "./MortgageRate/MortgageRateWatch.js";
|
|
@@ -26,6 +28,7 @@ import "../utils/allowedAxosDomains.js";
|
|
|
26
28
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
27
29
|
import "../Interstitial/Interstitial-variants.css.js";
|
|
28
30
|
import { MortgageRateFilters } from "./MortgageRate/MortgageRateQuoteFilters.js";
|
|
31
|
+
import { MortgageWarehouseLending } from "./MortgageWarehouseLending.js";
|
|
29
32
|
import { QuickPricer } from "./QuickPricer/QuickPricerForm.js";
|
|
30
33
|
import { rate_table_title, results_container } from "./QuickPricer/QuickPricerResults.css.js";
|
|
31
34
|
import { UserInformation } from "./QuickPricer/UserInformation.js";
|
|
@@ -56,8 +59,10 @@ export {
|
|
|
56
59
|
DealerServices,
|
|
57
60
|
EmailOnly,
|
|
58
61
|
EmailUs,
|
|
62
|
+
HoneyPot,
|
|
59
63
|
MortgageRate,
|
|
60
64
|
MortgageRateFilters,
|
|
65
|
+
MortgageWarehouseLending,
|
|
61
66
|
QuickPricer,
|
|
62
67
|
RateWatchForm,
|
|
63
68
|
SalesforceFieldsForm,
|
|
@@ -69,6 +74,8 @@ export {
|
|
|
69
74
|
VendorQuestionnaire,
|
|
70
75
|
WCPLSurvey,
|
|
71
76
|
actions,
|
|
77
|
+
apply_now_form,
|
|
78
|
+
axosHeader,
|
|
72
79
|
back_btn_apply_now,
|
|
73
80
|
centerSelect,
|
|
74
81
|
checkbox_group,
|
|
@@ -86,10 +93,13 @@ export {
|
|
|
86
93
|
fullRowSelect,
|
|
87
94
|
getLink,
|
|
88
95
|
headerContainer,
|
|
96
|
+
headerF,
|
|
89
97
|
headerForm,
|
|
90
98
|
hide_options,
|
|
99
|
+
honeyPotSchema,
|
|
91
100
|
iconForm,
|
|
92
101
|
iconbillboards_option_apply_now,
|
|
102
|
+
isValidHoneyPot,
|
|
93
103
|
mb_form,
|
|
94
104
|
modalCheckboxContainer,
|
|
95
105
|
modalMobile,
|
|
@@ -3,7 +3,7 @@ export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
3
3
|
variant: {
|
|
4
4
|
primary: {
|
|
5
5
|
background: `var(--${string})`;
|
|
6
|
-
borderBottom: "1px solid #
|
|
6
|
+
borderBottom: "1px solid #d4d4d4";
|
|
7
7
|
color: `var(--${string})`;
|
|
8
8
|
};
|
|
9
9
|
secondary: {
|
|
@@ -30,10 +30,16 @@ export declare const img_contents: string;
|
|
|
30
30
|
export declare const heroSupertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
31
31
|
variant: {
|
|
32
32
|
primary: {
|
|
33
|
-
|
|
33
|
+
background: `var(--${string})`;
|
|
34
|
+
backgroundClip: "text";
|
|
35
|
+
WebkitTextFillColor: "transparent";
|
|
36
|
+
textShadow: "0px 0px #00000000";
|
|
34
37
|
};
|
|
35
38
|
secondary: {
|
|
36
|
-
|
|
39
|
+
background: `var(--${string})`;
|
|
40
|
+
backgroundClip: "text";
|
|
41
|
+
WebkitTextFillColor: "transparent";
|
|
42
|
+
textShadow: "0px 0px #00000000";
|
|
37
43
|
};
|
|
38
44
|
tertiary: {
|
|
39
45
|
color: `var(--${string})`;
|
|
@@ -46,10 +52,16 @@ export declare const heroSupertag: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
46
52
|
export declare const headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
47
53
|
variant: {
|
|
48
54
|
primary: {
|
|
49
|
-
|
|
55
|
+
background: `var(--${string})`;
|
|
56
|
+
backgroundClip: "text";
|
|
57
|
+
WebkitTextFillColor: "transparent";
|
|
58
|
+
textShadow: "0px 0px #00000000";
|
|
50
59
|
};
|
|
51
60
|
secondary: {
|
|
52
|
-
|
|
61
|
+
background: `var(--${string})`;
|
|
62
|
+
backgroundClip: "text";
|
|
63
|
+
WebkitTextFillColor: "transparent";
|
|
64
|
+
textShadow: "0px 0px #00000000";
|
|
53
65
|
};
|
|
54
66
|
tertiary: {
|
|
55
67
|
color: `var(--${string})`;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeroBannerInterface } from './HeroBanner.interface';
|
|
2
2
|
|
|
3
|
-
export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, bullets, subBodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, selection, isSelectionBanner, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, bullets, subBodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, selection, isSelectionBanner, toast, toastAlignment, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BulletItemProps } from '../BulletItem';
|
|
2
2
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
|
+
import { IconBillboardProps } from '../IconBillboard/IconBillboard.interface';
|
|
3
4
|
import { ReactNode } from 'react';
|
|
4
5
|
|
|
5
6
|
export interface HeroImageInterface {
|
|
@@ -29,4 +30,6 @@ export interface HeroBannerInterface extends HeroBannerWithImage, HeroBannerWith
|
|
|
29
30
|
bullets: BulletItemProps[];
|
|
30
31
|
subBodyCopy?: string | ReactNode;
|
|
31
32
|
callToActionRow?: ChevronProps[];
|
|
33
|
+
toast?: IconBillboardProps[];
|
|
34
|
+
toastAlignment?: string;
|
|
32
35
|
}
|
|
@@ -18,6 +18,7 @@ import clsx from "clsx";
|
|
|
18
18
|
import { logout, hero_banner, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, reversed_lg_image } from "./HeroBanner.css.js";
|
|
19
19
|
import { lg_hero_banner, lg_hero_content, lg_hero_text, lg_hero_eyebrow, lg_headline_text, lg_hero_img, lg_hero_sizing } from "./LargeBanner.css.js";
|
|
20
20
|
import { selection_section_icon_img, selection_section_icon, selection_section, selection_section_bg, selection_section_content, selection_headline_text } from "./SelectionBanner.css.js";
|
|
21
|
+
import { ToastWrapper, ImageToast } from "../ImageToast/index.js";
|
|
21
22
|
const HeroBanner = ({
|
|
22
23
|
id,
|
|
23
24
|
eyebrow,
|
|
@@ -31,7 +32,9 @@ const HeroBanner = ({
|
|
|
31
32
|
imagePlacement = "Right",
|
|
32
33
|
variant,
|
|
33
34
|
selection,
|
|
34
|
-
isSelectionBanner = false
|
|
35
|
+
isSelectionBanner = false,
|
|
36
|
+
toast,
|
|
37
|
+
toastAlignment
|
|
35
38
|
}) => {
|
|
36
39
|
return /* @__PURE__ */ jsx(Fragment, { children: bannerType === "Hero" || bannerType === "Logout" ? /* @__PURE__ */ jsx(
|
|
37
40
|
"section",
|
|
@@ -152,38 +155,52 @@ const HeroBanner = ({
|
|
|
152
155
|
)
|
|
153
156
|
) })
|
|
154
157
|
] }),
|
|
155
|
-
!isSelectionBanner ? /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
158
|
+
!isSelectionBanner ? /* @__PURE__ */ jsxs("div", { className: hero_img, role: "presentation", children: [
|
|
159
|
+
/* @__PURE__ */ jsxs("picture", { className: img_contents, children: [
|
|
160
|
+
/* @__PURE__ */ jsx(
|
|
161
|
+
"source",
|
|
162
|
+
{
|
|
163
|
+
srcSet: `https:${image?.src}?fm=avif&w=604&h=480&fit=fill`,
|
|
164
|
+
type: "image/avif"
|
|
165
|
+
}
|
|
166
|
+
),
|
|
167
|
+
/* @__PURE__ */ jsx(
|
|
168
|
+
"source",
|
|
169
|
+
{
|
|
170
|
+
srcSet: `https:${image?.src}?fm=webp&w=604&h=480&fit=fill`,
|
|
171
|
+
type: "image/webp"
|
|
172
|
+
}
|
|
173
|
+
),
|
|
174
|
+
/* @__PURE__ */ jsx(
|
|
175
|
+
Image,
|
|
176
|
+
{
|
|
177
|
+
className: "img_fluid",
|
|
178
|
+
style: { color: "transparent" },
|
|
179
|
+
src: `https:${image?.src}?w=604&h=480&fit=fill&q=85`,
|
|
180
|
+
alt: "",
|
|
181
|
+
height: 480,
|
|
182
|
+
width: 604,
|
|
183
|
+
priority: true
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
] }),
|
|
187
|
+
toast && toast.length > 0 && /* @__PURE__ */ jsx(ToastWrapper, { alignment: toastAlignment ?? "Bottom Left", children: toast.map((toastItem) => /* @__PURE__ */ jsx(ImageToast, { ...toastItem }, toastItem.id)) })
|
|
188
|
+
] }) : /* @__PURE__ */ jsxs("div", { className: selection_section, children: [
|
|
183
189
|
/* @__PURE__ */ jsx("div", { className: selection_section_bg }),
|
|
184
190
|
/* @__PURE__ */ jsxs("div", { className: selection_section_content, children: [
|
|
185
191
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
186
|
-
/* @__PURE__ */ jsx(
|
|
192
|
+
/* @__PURE__ */ jsx(
|
|
193
|
+
"h3",
|
|
194
|
+
{
|
|
195
|
+
className: clsx(
|
|
196
|
+
"header_2",
|
|
197
|
+
selection_headline_text({
|
|
198
|
+
variant: getVariant(variant)
|
|
199
|
+
})
|
|
200
|
+
),
|
|
201
|
+
children: selection?.headline
|
|
202
|
+
}
|
|
203
|
+
),
|
|
187
204
|
/* @__PURE__ */ jsx("div", { children: selection?.bodyCopy })
|
|
188
205
|
] }),
|
|
189
206
|
selection?.callToActionRow && selection?.callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: selection?.callToActionRow.map(
|
|
@@ -303,7 +320,48 @@ const HeroBanner = ({
|
|
|
303
320
|
children: headline
|
|
304
321
|
}
|
|
305
322
|
),
|
|
306
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ jsxs("div", { className: "push_up", children: [
|
|
324
|
+
/* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
|
|
325
|
+
bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up_24", children: bullets.map(
|
|
326
|
+
({ id: id2, icon, copy, subBullet }) => !subBullet ? /* @__PURE__ */ jsxs(
|
|
327
|
+
"li",
|
|
328
|
+
{
|
|
329
|
+
className: `list_item flex ${hero_bullet_item}`,
|
|
330
|
+
children: [
|
|
331
|
+
/* @__PURE__ */ jsx("div", { className: "img_item", children: getVariant(variant) ? /* @__PURE__ */ jsx(
|
|
332
|
+
SvgCheckIcon,
|
|
333
|
+
{
|
|
334
|
+
variant: getVariant(variant) === "primary" || getVariant(variant) === "secondary" ? "primary" : "secondary"
|
|
335
|
+
}
|
|
336
|
+
) : /* @__PURE__ */ jsx("img", { src: icon?.src, alt: icon?.altText }) }),
|
|
337
|
+
/* @__PURE__ */ jsx("span", { children: copy })
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
id2
|
|
341
|
+
) : /* @__PURE__ */ jsx(
|
|
342
|
+
"ul",
|
|
343
|
+
{
|
|
344
|
+
className: clsx(
|
|
345
|
+
hero_sub_bullets,
|
|
346
|
+
"mb_0",
|
|
347
|
+
"push_up"
|
|
348
|
+
),
|
|
349
|
+
children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
|
|
350
|
+
/* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx(
|
|
351
|
+
"img",
|
|
352
|
+
{
|
|
353
|
+
style: { maxWidth: "max-content" },
|
|
354
|
+
src: icon?.src,
|
|
355
|
+
alt: icon?.altText
|
|
356
|
+
}
|
|
357
|
+
) }),
|
|
358
|
+
/* @__PURE__ */ jsx("span", { children: copy })
|
|
359
|
+
] })
|
|
360
|
+
},
|
|
361
|
+
id2
|
|
362
|
+
)
|
|
363
|
+
) })
|
|
364
|
+
] }),
|
|
307
365
|
callToActionRow && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
|
|
308
366
|
({
|
|
309
367
|
id: id2,
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
export declare const selection_headline_text:
|
|
1
|
+
export declare const selection_headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
primary: {
|
|
4
|
+
color: `var(--${string})`;
|
|
5
|
+
};
|
|
6
|
+
secondary: {
|
|
7
|
+
background: `var(--${string})`;
|
|
8
|
+
backgroundClip: "text";
|
|
9
|
+
WebkitTextFillColor: "transparent";
|
|
10
|
+
textShadow: "0px 0px #00000000";
|
|
11
|
+
};
|
|
12
|
+
tertiary: {
|
|
13
|
+
color: `var(--${string})`;
|
|
14
|
+
};
|
|
15
|
+
quaternary: {
|
|
16
|
+
color: `var(--${string})`;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>;
|
|
2
20
|
export declare const selection_section: string;
|
|
3
21
|
export declare const selection_section_bg: string;
|
|
4
22
|
export declare const selection_section_content: string;
|
|
@@ -4,12 +4,12 @@ import '../assets/HeroBanner/SelectionBanner.css';import '../assets/themes/victo
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
7
|
-
var selection_headline_text = "_7etqoq0";
|
|
8
|
-
var selection_section = "
|
|
9
|
-
var selection_section_bg = "
|
|
10
|
-
var selection_section_content = "
|
|
11
|
-
var selection_section_icon = "
|
|
12
|
-
var selection_section_icon_img = createRuntimeFn({ defaultClassName: "
|
|
7
|
+
var selection_headline_text = createRuntimeFn({ defaultClassName: "_7etqoq0", variantClassNames: { variant: { primary: "_7etqoq1", secondary: "_7etqoq2", tertiary: "_7etqoq3", quaternary: "_7etqoq4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
+
var selection_section = "_7etqoq5";
|
|
9
|
+
var selection_section_bg = "_7etqoq6";
|
|
10
|
+
var selection_section_content = "_7etqoq7";
|
|
11
|
+
var selection_section_icon = "_7etqoq8";
|
|
12
|
+
var selection_section_icon_img = createRuntimeFn({ defaultClassName: "_7etqoq9", variantClassNames: { variant: { primary: "_7etqoqa", secondary: "_7etqoqb", tertiary: "_7etqoqc", quaternary: "_7etqoqd" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
13
|
export {
|
|
14
14
|
selection_headline_text,
|
|
15
15
|
selection_section,
|