@axos-web-dev/shared-components 1.0.62 → 1.0.64-patch.1

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.
@@ -154,9 +154,9 @@ const ErrorAlert = ({
154
154
  /* @__PURE__ */ jsx("h2", { className: clsx("header_3", headerForm({ variant })), children: "Let's try that again" }),
155
155
  /* @__PURE__ */ jsx("hr", { className: clsx(separator) }),
156
156
  /* @__PURE__ */ jsxs("div", { children: [
157
- /* @__PURE__ */ jsx("p", { children: "The username or password you provided isn't recognized." }),
157
+ /* @__PURE__ */ jsx("p", { children: "The ACE User ID or ACE Company ID you provided isn't recognized." }),
158
158
  /* @__PURE__ */ jsxs("p", { children: [
159
- "Please try entering your username and password again or call customer support at",
159
+ "Please try entering your ACE User ID and ACE Company ID again or call customer support at",
160
160
  " ",
161
161
  /* @__PURE__ */ jsx(Hyperlink, { targetUrl: "tel:+8446782722", children: "(844) 678 - 2722" }),
162
162
  " ",
@@ -63,7 +63,7 @@ const SignIn = (props) => {
63
63
  /* @__PURE__ */ jsx("h2", { className: "header_1", children: headline ?? "Log in" }),
64
64
  bodyCopy ?? /* @__PURE__ */ jsxs("div", { className: clsx(body_sign_in), children: [
65
65
  /* @__PURE__ */ jsx("p", { children: "Please login to access this resource." }),
66
- /* @__PURE__ */ jsx("p", { children: "Your password was sent via email during the onboarding process." })
66
+ /* @__PURE__ */ jsx("p", { children: "Your Axos Resource Center credentials were sent via email during the onboarding process.ah" })
67
67
  ] }),
68
68
  /* @__PURE__ */ jsx("div", { className: `${form_input_wrapper} push_up`, children: /* @__PURE__ */ jsx(
69
69
  Input,
@@ -113,13 +113,11 @@ const BuyDownCalculator = ({
113
113
  const {
114
114
  handleSubmit,
115
115
  register,
116
- watch,
117
116
  setValue,
118
117
  formState: { errors, isValid }
119
118
  } = methods;
120
119
  const calculator_variant = getVariant(variant);
121
- const fullTimeCharterChecked = watch("fullTimeCharter", false);
122
- const enableDependentInputs = enableFullTimeCharter && fullTimeCharterChecked;
120
+ const enableDependentInputs = enableFullTimeCharter;
123
121
  const formatToNumber = (value) => {
124
122
  const cleanValue = value.replace(/[%$, ]/gi, "");
125
123
  return parseFloat(cleanValue);
@@ -211,10 +209,10 @@ const BuyDownCalculator = ({
211
209
  };
212
210
  const handleProgramChange = (event) => {
213
211
  const value = event.target.value;
214
- if (value !== "20 Year Fixed - Personal Use/Limited Charter") {
212
+ if (value !== "20 Year Fixed Personal Use" && value !== "20 Year Fixed Limited Charter") {
215
213
  setEnableFullTimeCharter(true);
216
214
  setDisableMooringOutside(false);
217
- if (value === "20 Year Fixed - Full Time Charter") {
215
+ if (value === "20 Year Fixed Full Time Charter") {
218
216
  setValue("mooringOutsideContinentalUS", false);
219
217
  setDisableMooringOutside(true);
220
218
  }
@@ -605,28 +603,7 @@ const BuyDownCalculator = ({
605
603
  }
606
604
  ) })
607
605
  ] }),
608
- /* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsxs("div", { children: [
609
- /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments" }),
610
- /* @__PURE__ */ jsx(
611
- Checkbox,
612
- {
613
- id: "fullTimeCharter",
614
- ...register("fullTimeCharter", {
615
- onChange: (event) => {
616
- if (!event.target.checked) {
617
- setValue("mooringOutsideContinentalUS", false);
618
- setValue("operatingAccount", false);
619
- }
620
- }
621
- }),
622
- sizes: "medium",
623
- variant: calculator_variant,
624
- value: 0,
625
- disabled: !enableFullTimeCharter,
626
- children: "Full Time Charter"
627
- }
628
- )
629
- ] }) }),
606
+ /* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments" }) }) }),
630
607
  /* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
631
608
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { className: row_form, children: /* @__PURE__ */ jsxs(
632
609
  RadioButtonSet,
@@ -656,7 +633,7 @@ const BuyDownCalculator = ({
656
633
  id: "operatingAccount",
657
634
  ...register("operatingAccount"),
658
635
  value: -0.25,
659
- radioText: "Operating Account with LLC Operating Account -0.25",
636
+ radioText: "Open and fund an LLC Operating Account with Axos - 0.25",
660
637
  groupName: "dependentInputs"
661
638
  }
662
639
  )
@@ -863,7 +840,8 @@ const BuyDownCalculator = ({
863
840
  label: "Dealer Contribution Amount",
864
841
  disabled: true,
865
842
  variant: calculator_variant,
866
- value: dealerContributionAmount
843
+ value: dealerContributionAmount,
844
+ helperText: "Dealer reserve offset not included in this amount."
867
845
  }
868
846
  ) }) })
869
847
  ]
@@ -0,0 +1,10 @@
1
+ import { FormProps } from './FormProps';
2
+
3
+ export type CommercialPremiumFinanceInputs = {
4
+ first_name: string;
5
+ last_name: string;
6
+ email: string;
7
+ Insurance_Company__c: string;
8
+ Type_of_Policy__c: string;
9
+ };
10
+ export declare const CommercialPremiumFinance: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,202 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { z } from "zod";
4
+ import { useForm, FormProvider } from "react-hook-form";
5
+ import { SalesforceSchema } from "./SalesforceFieldsForm.js";
6
+ import { zodResolver } from "@hookform/resolvers/zod";
7
+ import "../utils/allowedAxosDomains.js";
8
+ import { associatedEmail } from "../utils/EverestValidity.js";
9
+ import { getVariant } from "../utils/getVariant.js";
10
+ import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
11
+ import clsx from "clsx";
12
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
13
+ import SvgAxosX from "../icons/AxosX/index.js";
14
+ import SvgComponent from "../icons/AxosX/Blue.js";
15
+ import "../icons/CheckIcon/CheckIcon.css.js";
16
+ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
17
+ /* empty css */
18
+ /* empty css */
19
+ /* empty css */
20
+ /* empty css */
21
+ import "../Input/Checkbox.js";
22
+ import "../Input/CurrencyInput.js";
23
+ import { Dropdown } from "../Input/Dropdown.js";
24
+ import "../Input/Dropdown.css.js";
25
+ import { Input } from "../Input/Input.js";
26
+ import "../Input/Input.css.js";
27
+ import "../Input/InputAmount.js";
28
+ import "../Input/InputPhone.js";
29
+ import "../Input/InputTextArea.js";
30
+ import "../Input/DownPaymentInput.js";
31
+ import "../Input/RadioButton.js";
32
+ import { LoadingIndicator } from "../LoadingIndicator/index.js";
33
+ import { Button } from "../Button/Button.js";
34
+ import "../Button/Button.css.js";
35
+ import "react";
36
+ import "react-use";
37
+ const CommercialPremiumFinance = ({
38
+ icon = false,
39
+ children,
40
+ onSubmit = (values) => {
41
+ console.log(values);
42
+ },
43
+ disclosure,
44
+ variant: fullVariant = "primary",
45
+ headline,
46
+ callToAction,
47
+ validateEmail,
48
+ description,
49
+ id
50
+ }) => {
51
+ const schema = z.object({
52
+ first_name: z.string({
53
+ required_error: "First name is required",
54
+ invalid_type_error: "Invalid first name"
55
+ }).regex(/^[a-zA-Z]*(?:[a-zA-Z][a-zA-Z'-]*\s{0,1}){2,}$/g, {
56
+ message: "Invalid first name"
57
+ }).trim().min(1, { message: "First Name is required." }),
58
+ last_name: z.string({
59
+ required_error: "Last name is required",
60
+ invalid_type_error: "Invalid last name"
61
+ }).regex(/^[a-zA-Z]*(?:[a-zA-Z][a-zA-Z'-]*\s{0,1}){2,}$/g, {
62
+ message: "Invalid last name"
63
+ }).trim().min(1, { message: "Last Name is required." }),
64
+ email: z.string().email({ message: "Invalid email address" }).refine(async (val) => await validateEmail(val), {
65
+ message: "Invalid email address"
66
+ }),
67
+ Insurance_Company__c: z.string(),
68
+ Type_of_Policy__c: z.string()
69
+ });
70
+ const methods = useForm({
71
+ resolver: zodResolver(schema.merge(SalesforceSchema), {
72
+ async: true
73
+ }),
74
+ mode: "onBlur",
75
+ defaultValues: {
76
+ email: ""
77
+ }
78
+ });
79
+ const {
80
+ handleSubmit,
81
+ register,
82
+ formState: { errors, isValid, isSubmitting }
83
+ } = methods;
84
+ const submitForm = async (data) => {
85
+ await onSubmit(data);
86
+ };
87
+ const variant = getVariant(fullVariant);
88
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
89
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
90
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
91
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
92
+ description && /* @__PURE__ */ jsx(
93
+ "div",
94
+ {
95
+ className: clsx(
96
+ "text_center",
97
+ form,
98
+ descriptionField({ variant })
99
+ ),
100
+ children: description
101
+ }
102
+ )
103
+ ] }),
104
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
105
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
106
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
107
+ Input,
108
+ {
109
+ id: "first_name",
110
+ ...register("first_name", { required: true }),
111
+ label: "First Name",
112
+ sizes: "medium",
113
+ required: true,
114
+ error: !!errors.first_name,
115
+ helperText: errors.first_name?.message,
116
+ variant
117
+ }
118
+ ) }),
119
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
120
+ Input,
121
+ {
122
+ id: "last_name",
123
+ ...register("last_name", { required: true }),
124
+ label: "Last Name",
125
+ sizes: "medium",
126
+ required: true,
127
+ error: !!errors.last_name,
128
+ helperText: errors.last_name?.message,
129
+ variant
130
+ }
131
+ ) }),
132
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
133
+ Input,
134
+ {
135
+ id: "email",
136
+ ...register("email", {
137
+ required: true,
138
+ validate: {
139
+ isValid: associatedEmail
140
+ }
141
+ }),
142
+ label: "Email",
143
+ sizes: "medium",
144
+ required: true,
145
+ error: !!errors.email,
146
+ helperText: errors.email?.message,
147
+ variant
148
+ }
149
+ ) }),
150
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
151
+ Input,
152
+ {
153
+ id: "Insurance_Company__c",
154
+ ...register("Insurance_Company__c", {}),
155
+ label: "Insurance Company",
156
+ sizes: "medium",
157
+ error: !!errors.Insurance_Company__c,
158
+ helperText: errors.Insurance_Company__c?.message,
159
+ variant
160
+ }
161
+ ) }),
162
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
163
+ Dropdown,
164
+ {
165
+ id: "Type_of_Policy__c",
166
+ ...register("Type_of_Policy__c", {}),
167
+ label: "Type of Policy",
168
+ sizes: "medium",
169
+ variant,
170
+ defaultValue: "",
171
+ children: [
172
+ /* @__PURE__ */ jsx("option", { value: "" }),
173
+ /* @__PURE__ */ jsx("option", { value: "Whole life", children: "Whole life" }),
174
+ /* @__PURE__ */ jsx("option", { value: "Index Universal Life", children: "Index Universal Life" })
175
+ ]
176
+ }
177
+ ) })
178
+ ] }),
179
+ children,
180
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
181
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
182
+ LoadingIndicator,
183
+ {
184
+ style: { marginInline: "auto" },
185
+ variant
186
+ }
187
+ ) : /* @__PURE__ */ jsx(
188
+ Button,
189
+ {
190
+ color: getVariant(callToAction?.variant),
191
+ as: "button",
192
+ type: "submit",
193
+ disabled: !isValid || isSubmitting,
194
+ children: callToAction?.displayText
195
+ }
196
+ ) })
197
+ ] })
198
+ ] }) }) }, id);
199
+ };
200
+ export {
201
+ CommercialPremiumFinance
202
+ };
@@ -156,16 +156,20 @@ const BrokerConpensation = [
156
156
  { value: "Lender Paid", text: "Lender Paid" }
157
157
  ];
158
158
  const Program = [
159
- { value: "3/6 SOFR ARM", text: "3/6 SOFR ARM" },
160
- { value: "5/6 SOFR ARM", text: "5/6 SOFR ARM" },
161
159
  {
162
- value: "20 Year Fixed - Personal Use/Limited Charter",
163
- text: "20 Year Fixed - Personal Use/Limited Charter"
160
+ value: "20 Year Fixed Personal Use",
161
+ text: "20 Year Fixed Personal Use"
162
+ },
163
+ {
164
+ value: "20 Year Fixed Limited Charter",
165
+ text: "20 Year Fixed Limited Charter"
164
166
  },
165
167
  {
166
- value: "20 Year Fixed - Full Time Charter",
167
- text: "20 Year Fixed - Full Time Charter"
168
- }
168
+ value: "20 Year Fixed Full Time Charter",
169
+ text: "20 Year Fixed Full Time Charter"
170
+ },
171
+ { value: "3/6 SOFR ARM", text: "3/6 SOFR ARM" },
172
+ { value: "5/6 SOFR ARM", text: "5/6 SOFR ARM" }
169
173
  ];
170
174
  const Fico = [
171
175
  { value: "800+", text: "800+" },
@@ -28,3 +28,4 @@ export * from './ScheduleCallPremier';
28
28
  export * from './SuccesForm';
29
29
  export * from './VendorQuestionnaire';
30
30
  export * from './WcplSurvey';
31
+ export * from './CommercialPremiumFinance';
@@ -34,12 +34,14 @@ import { ScheduleCallPremier } from "./ScheduleCallPremier.js";
34
34
  import { SuccesFormWrapper } from "./SuccesForm.js";
35
35
  import { VendorQuestionnaire } from "./VendorQuestionnaire.js";
36
36
  import { WCPLSurvey } from "./WcplSurvey.js";
37
+ import { CommercialPremiumFinance } from "./CommercialPremiumFinance.js";
37
38
  export {
38
39
  ApplicationStart,
39
40
  ApplyNow,
40
41
  ClearingForm,
41
42
  CommercialDeposits,
42
43
  CommercialLending,
44
+ CommercialPremiumFinance,
43
45
  ContactCompany,
44
46
  ContactCompanyTitle,
45
47
  ContactUs,
@@ -94,6 +94,7 @@ export declare const menuData: {
94
94
  "Credit Score Monitoring": string;
95
95
  "Personal Finance Manager": string;
96
96
  "Additional Tools": string;
97
+ "Fund Your Account": string;
97
98
  };
98
99
  "Education & Insights": {
99
100
  "Education & Insights Home": string;
@@ -118,7 +119,6 @@ export declare const menuData: {
118
119
  "Business Premium Savings": string;
119
120
  "Business Savings": string;
120
121
  "Non-Profit Money Market": string;
121
- "Business CD": string;
122
122
  };
123
123
  Services: {
124
124
  "Services Home": string;
@@ -308,7 +308,10 @@ const menuData = {
308
308
  "Personal Finance Manager": findMoreAxosDomains(
309
309
  "{AXOSBANK}/personal/personal-finance-manager"
310
310
  ),
311
- "Additional Tools": findMoreAxosDomains("{AXOSBANK}/tools")
311
+ "Additional Tools": findMoreAxosDomains("{AXOSBANK}/tools"),
312
+ "Fund Your Account": findMoreAxosDomains(
313
+ "{AXOSBANK}/tools/fund-your-account"
314
+ )
312
315
  },
313
316
  "Education & Insights": {
314
317
  "Education & Insights Home": findMoreAxosDomains(
@@ -354,9 +357,6 @@ const menuData = {
354
357
  ),
355
358
  "Non-Profit Money Market": findMoreAxosDomains(
356
359
  "{AXOSBANK}/business/savings/business-money-market-accounts/non-profit-money-market"
357
- ),
358
- "Business CD": findMoreAxosDomains(
359
- "{AXOSBANK}/business/savings/business-cds"
360
360
  )
361
361
  },
362
362
  Services: {
@@ -130,7 +130,6 @@ function SubNavBar() {
130
130
  const handleMouseLeave = () => setHoveredLink(void 0);
131
131
  const AXOS_ONE_APY = +process.env.NEXT_PUBLIC_AXOS_ONE_APY;
132
132
  const AXOS_ONE_APY_CHECKING = +process.env.NEXT_PUBLIC_AXOS_ONE_APY_CHECKING;
133
- const media = "https://www.axos.com/images";
134
133
  const containerRef = useRef(null);
135
134
  const [isClient, setIsClient] = useState(false);
136
135
  const support = subNavItems.support;
@@ -767,7 +766,9 @@ function SubNavBar() {
767
766
  children: /* @__PURE__ */ jsx(
768
767
  Image,
769
768
  {
770
- src: `${media}/17Q3IVqKwSGO9cMqFUWF4o/axos-one-nav.png`,
769
+ src: findMoreAxosDomains(
770
+ "{AXOS}/images/17Q3IVqKwSGO9cMqFUWF4o/axos-one-nav.png"
771
+ ),
771
772
  alt: "",
772
773
  width: 233,
773
774
  height: 233
@@ -1135,7 +1136,9 @@ function SubNavBar() {
1135
1136
  children: /* @__PURE__ */ jsx(
1136
1137
  Image,
1137
1138
  {
1138
- src: `${media}/6tVncmpCfCXbilZHhFUYJ5/nav-submenu-borrow.webp`,
1139
+ src: findMoreAxosDomains(
1140
+ "{AXOS}/images/6tVncmpCfCXbilZHhFUYJ5/nav-submenu-borrow.webp"
1141
+ ),
1139
1142
  alt: "",
1140
1143
  width: 232,
1141
1144
  height: 232
@@ -1500,7 +1503,9 @@ function SubNavBar() {
1500
1503
  children: /* @__PURE__ */ jsx(
1501
1504
  Image,
1502
1505
  {
1503
- src: `${media}/2bREH0KGxe7C82N4cdathQ/nav-submenu-invest.webp`,
1506
+ src: findMoreAxosDomains(
1507
+ "{AXOS}/images/2bREH0KGxe7C82N4cdathQ/nav-submenu-invest.webp"
1508
+ ),
1504
1509
  alt: "",
1505
1510
  width: 232,
1506
1511
  height: 232
@@ -1764,7 +1769,9 @@ function SubNavBar() {
1764
1769
  children: /* @__PURE__ */ jsx(
1765
1770
  Image,
1766
1771
  {
1767
- src: `${media}/4vSUrmXEbK80FeuAfe2fqJ/nav-submenu-plan.webp`,
1772
+ src: findMoreAxosDomains(
1773
+ "{AXOS}/images/4vSUrmXEbK80FeuAfe2fqJ/nav-submenu-plan.webp"
1774
+ ),
1768
1775
  alt: "",
1769
1776
  width: 232,
1770
1777
  height: 232
@@ -1927,6 +1934,15 @@ function SubNavBar() {
1927
1934
  href: findMoreAxosDomains("{AXOSBANK}/tools"),
1928
1935
  children: "Additional Tools"
1929
1936
  }
1937
+ ) }),
1938
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1939
+ Link,
1940
+ {
1941
+ href: findMoreAxosDomains(
1942
+ "{AXOSBANK}/tools/fund-your-account"
1943
+ ),
1944
+ children: "Fund Your Account"
1945
+ }
1930
1946
  ) })
1931
1947
  ] })
1932
1948
  ] }),
@@ -2024,7 +2040,9 @@ function SubNavBar() {
2024
2040
  children: /* @__PURE__ */ jsx(
2025
2041
  Image,
2026
2042
  {
2027
- src: `${media}/5vHrV4m3DbDQt13GOahbYA/nav-submenu-sbb.png`,
2043
+ src: findMoreAxosDomains(
2044
+ "{AXOS}/images/5vHrV4m3DbDQt13GOahbYA/nav-submenu-sbb.png"
2045
+ ),
2028
2046
  alt: "",
2029
2047
  width: 232,
2030
2048
  height: 232
@@ -2052,7 +2070,7 @@ function SubNavBar() {
2052
2070
  Link,
2053
2071
  {
2054
2072
  href: findMoreAxosDomains(
2055
- "{AXOSBANK}/business/open-account-return-to-application"
2073
+ "{AXOSBANK}/business/open-account-return-to-application#AXB----Return-to-App---Open-Another-Acc"
2056
2074
  ),
2057
2075
  children: "Check Application Status"
2058
2076
  }
@@ -2202,15 +2220,6 @@ function SubNavBar() {
2202
2220
  ),
2203
2221
  children: "Non-Profit Money Market"
2204
2222
  }
2205
- ) }),
2206
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2207
- Link,
2208
- {
2209
- href: findMoreAxosDomains(
2210
- "{AXOSBANK}/business/savings/business-cds"
2211
- ),
2212
- children: "Business CDs"
2213
- }
2214
2223
  ) })
2215
2224
  ] })
2216
2225
  ] }),
@@ -2436,7 +2445,9 @@ function SubNavBar() {
2436
2445
  children: /* @__PURE__ */ jsx(
2437
2446
  Image,
2438
2447
  {
2439
- src: `${media}/7rELrrwmhLt5Bz9KqxLgMM/nav-submen-combank.png`,
2448
+ src: findMoreAxosDomains(
2449
+ "{AXOS}/images/7rELrrwmhLt5Bz9KqxLgMM/nav-submen-combank.png"
2450
+ ),
2440
2451
  alt: "",
2441
2452
  width: 232,
2442
2453
  height: 232
@@ -2724,7 +2735,9 @@ function SubNavBar() {
2724
2735
  children: /* @__PURE__ */ jsx(
2725
2736
  Image,
2726
2737
  {
2727
- src: `${media}/6PMA1kEss89S6m1BawAltW/nav-submenu-comlending.png`,
2738
+ src: findMoreAxosDomains(
2739
+ "{AXOS}/images/6PMA1kEss89S6m1BawAltW/nav-submenu-comlending.png"
2740
+ ),
2728
2741
  alt: "",
2729
2742
  width: 232,
2730
2743
  height: 318
@@ -2985,7 +2998,9 @@ function SubNavBar() {
2985
2998
  children: /* @__PURE__ */ jsx(
2986
2999
  Image,
2987
3000
  {
2988
- src: `${media}/6YLFvmdNVGWcf3bFlimNSs/nav-submenu-wholelending.png`,
3001
+ src: findMoreAxosDomains(
3002
+ "{AXOS}/images/6YLFvmdNVGWcf3bFlimNSs/nav-submenu-wholelending.png"
3003
+ ),
2989
3004
  alt: "",
2990
3005
  width: 232,
2991
3006
  height: 232
@@ -3143,7 +3158,9 @@ function SubNavBar() {
3143
3158
  children: /* @__PURE__ */ jsx(
3144
3159
  Image,
3145
3160
  {
3146
- src: `${media}/3wtG13mXSTgSzMoB0YU3Ot/nav-submenu-dealer.png`,
3161
+ src: findMoreAxosDomains(
3162
+ "{AXOS}/images/3wtG13mXSTgSzMoB0YU3Ot/nav-submenu-dealer.png"
3163
+ ),
3147
3164
  alt: "",
3148
3165
  width: 232,
3149
3166
  height: 162
@@ -40,6 +40,7 @@
40
40
  font-family: var(--main-font-family);
41
41
  font-weight: 700;
42
42
  text-decoration: none;
43
+ color: #2F5B88;
43
44
  }
44
45
  @media screen and (max-width: 768px) {
45
46
  .un906l1 {
package/dist/main.js CHANGED
@@ -87,6 +87,7 @@ import { ScheduleCallPremier } from "./Forms/ScheduleCallPremier.js";
87
87
  import { SuccesFormWrapper } from "./Forms/SuccesForm.js";
88
88
  import { VendorQuestionnaire } from "./Forms/VendorQuestionnaire.js";
89
89
  import { WCPLSurvey } from "./Forms/WcplSurvey.js";
90
+ import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
90
91
  import { helpArticle_container, helpArticle_headline, helpArticle_p, insight_headline_2 } from "./HelpArticle/HelpArticle.css.js";
91
92
  import { HeroBanner } from "./HeroBanner/HeroBanner.js";
92
93
  import { headline_text, heroSupertag, hero_banner, hero_btns, hero_content, hero_embedded_image, hero_img, hero_text, hero_wrapper, img_contents, logout, reversed, reversed_lg_image } from "./HeroBanner/HeroBanner.css.js";
@@ -250,6 +251,7 @@ export {
250
251
  CollectInformationAlert,
251
252
  CommercialDeposits,
252
253
  CommercialLending,
254
+ CommercialPremiumFinance,
253
255
  ComparisonSet,
254
256
  ContactCompany,
255
257
  ContactCompanyTitle,
package/package.json CHANGED
@@ -1,133 +1,133 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "1.0.62",
5
- "type": "module",
6
- "module": "dist/main.js",
7
- "types": "dist/main.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "sideEffects": [
12
- "dist/assets/**/*.css"
13
- ],
14
- "scripts": {
15
- "dev": "vite",
16
- "build": "tsc --p ./tsconfig.build.json && vite build",
17
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
18
- "preview": "vite preview",
19
- "prepublishOnly": "npm run build",
20
- "check-types": "tsc --pretty --noEmit",
21
- "check-format": "prettier --check .",
22
- "check-lint": "eslint . --ext ts --ext tsx --ext js",
23
- "format": "prettier --write .",
24
- "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
25
- "prepare": "husky",
26
- "storybook": "storybook dev -p 6006",
27
- "build-storybook": "storybook build",
28
- "npm:link": "npm run build && npm link"
29
- },
30
- "dependencies": {
31
- "@headlessui/react": "^2.2.0",
32
- "@hookform/resolvers": "^3.10.0",
33
- "@next-safe-action/adapter-react-hook-form": "^2.0.0",
34
- "@react-input/mask": "^1.2.15",
35
- "@react-input/number-format": "^1.1.3",
36
- "@storybook/icons": "^1.3.0",
37
- "@storybook/preview-api": "^8.4.7",
38
- "@types/iframe-resizer": "3.5.13",
39
- "@vanilla-extract/css": "^1.16.1",
40
- "@vanilla-extract/recipes": "^0.5.1",
41
- "antd": "^5.22.5",
42
- "clsx": "^2.1.1",
43
- "framer-motion": "^12.9.2",
44
- "iframe-resizer": "^3.6.6",
45
- "lodash": "^4.17.21",
46
- "moment": "^2.30.1",
47
- "next-safe-action": "^8.0.2",
48
- "react-date-picker": "^11.0.0",
49
- "react-date-range": "^2.0.1",
50
- "react-hook-form": "^7.54.2",
51
- "react-markdown": "^9.0.1",
52
- "react-popper": "^2.3.0",
53
- "react-slick": "^0.30.2",
54
- "react-use": "^17.6.0",
55
- "react-wrap-balancer": "^1.1.1",
56
- "rsuite": "^5.75.0",
57
- "slick-carousel": "^1.8.1",
58
- "typed-css-modules": "^0.9.1",
59
- "vite-plugin-svgr": "^4.3.0",
60
- "zod": "^3.24.1",
61
- "zustand": "^4.5.5"
62
- },
63
- "peerDependencies": {
64
- "@vanilla-extract/css-utils": "^0.1.3",
65
- "@vanilla-extract/recipes": "^0.5.1",
66
- "@vanilla-extract/vite-plugin": "^4.0.3",
67
- "next": "^14.1.4",
68
- "react": "^18.2.0",
69
- "react-date-range": "^2.0.1",
70
- "react-dom": "^18.2.0",
71
- "react-popper": "^2.3.0",
72
- "react-slick": "^0.30.2",
73
- "slick-carousel": "^1.8.1"
74
- },
75
- "devDependencies": {
76
- "@chromatic-com/storybook": "^1.9.0",
77
- "@rollup/plugin-alias": "^5.1.1",
78
- "@storybook/addon-essentials": "^8.4.7",
79
- "@storybook/addon-interactions": "^8.4.7",
80
- "@storybook/addon-links": "^8.4.7",
81
- "@storybook/addon-mdx-gfm": "^8.4.7",
82
- "@storybook/addon-onboarding": "^8.4.7",
83
- "@storybook/addon-themes": "^8.4.7",
84
- "@storybook/blocks": "^8.4.7",
85
- "@storybook/react": "^8.6.14",
86
- "@storybook/react-vite": "^8.4.7",
87
- "@storybook/test": "^8.6.14",
88
- "@svgr/core": "^8.1.0",
89
- "@svgr/plugin-prettier": "^8.1.0",
90
- "@svgr/plugin-svgo": "^8.1.0",
91
- "@types/lodash": "^4.17.17",
92
- "@types/node": "^20.19.0",
93
- "@types/react": "^18.3.23",
94
- "@types/react-date-range": "^1.4.9",
95
- "@types/react-datepicker": "^6.2.0",
96
- "@types/react-dom": "^18.3.7",
97
- "@types/react-slick": "^0.23.13",
98
- "@typescript-eslint/eslint-plugin": "^7.18.0",
99
- "@typescript-eslint/parser": "^7.18.0",
100
- "@vanilla-extract/css-utils": "^0.1.4",
101
- "@vanilla-extract/recipes": "^0.5.5",
102
- "@vanilla-extract/vite-plugin": "^4.0.18",
103
- "@vitejs/plugin-react-swc": "^3.7.2",
104
- "esbuild-vanilla-image-loader": "^0.1.3",
105
- "eslint": "^8.57.1",
106
- "eslint-plugin-react-hooks": "^4.6.2",
107
- "eslint-plugin-react-refresh": "^0.4.16",
108
- "eslint-plugin-storybook": "^0.8.0",
109
- "glob": "^10.4.5",
110
- "husky": "^9.1.7",
111
- "next": "^14.1.4",
112
- "prettier": "3.2.5",
113
- "react": "^18.3.1",
114
- "react-dom": "^18.3.1",
115
- "rollup-plugin-preserve-directives": "^0.4.0",
116
- "rollup-plugin-svg-import": "^3.0.0",
117
- "rollup-plugin-svgo": "^2.0.0",
118
- "storybook": "^8.4.7",
119
- "typescript": "^5.7.2",
120
- "typescript-plugin-css-modules": "^5.1.0",
121
- "vite": "^5.4.11",
122
- "vite-plugin-dts": "^3.9.1",
123
- "vite-plugin-lib-inject-css": "^2.1.1",
124
- "vite-plugin-setting-css-module": "^1.1.4",
125
- "vite-tsconfig-paths": "^4.3.2"
126
- },
127
- "main": "index.js",
128
- "directories": {
129
- "lib": "lib"
130
- },
131
- "author": "axos-web-dev",
132
- "license": "ISC"
133
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "1.0.64-patch.1",
5
+ "type": "module",
6
+ "module": "dist/main.js",
7
+ "types": "dist/main.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "sideEffects": [
12
+ "dist/assets/**/*.css"
13
+ ],
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "build": "tsc --p ./tsconfig.build.json && vite build",
17
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
18
+ "preview": "vite preview",
19
+ "prepublishOnly": "npm run build",
20
+ "check-types": "tsc --pretty --noEmit",
21
+ "check-format": "prettier --check .",
22
+ "check-lint": "eslint . --ext ts --ext tsx --ext js",
23
+ "format": "prettier --write .",
24
+ "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
25
+ "prepare": "husky",
26
+ "storybook": "storybook dev -p 6006",
27
+ "build-storybook": "storybook build",
28
+ "npm:link": "npm run build && npm link"
29
+ },
30
+ "dependencies": {
31
+ "@headlessui/react": "^2.2.0",
32
+ "@hookform/resolvers": "^3.10.0",
33
+ "@next-safe-action/adapter-react-hook-form": "^2.0.0",
34
+ "@react-input/mask": "^1.2.15",
35
+ "@react-input/number-format": "^1.1.3",
36
+ "@storybook/icons": "^1.3.0",
37
+ "@storybook/preview-api": "^8.4.7",
38
+ "@types/iframe-resizer": "3.5.13",
39
+ "@vanilla-extract/css": "^1.16.1",
40
+ "@vanilla-extract/recipes": "^0.5.1",
41
+ "antd": "^5.22.5",
42
+ "clsx": "^2.1.1",
43
+ "framer-motion": "^12.9.2",
44
+ "iframe-resizer": "^3.6.6",
45
+ "lodash": "^4.17.21",
46
+ "moment": "^2.30.1",
47
+ "next-safe-action": "^8.0.2",
48
+ "react-date-picker": "^11.0.0",
49
+ "react-date-range": "^2.0.1",
50
+ "react-hook-form": "^7.54.2",
51
+ "react-markdown": "^9.0.1",
52
+ "react-popper": "^2.3.0",
53
+ "react-slick": "^0.30.2",
54
+ "react-use": "^17.6.0",
55
+ "react-wrap-balancer": "^1.1.1",
56
+ "rsuite": "^5.75.0",
57
+ "slick-carousel": "^1.8.1",
58
+ "typed-css-modules": "^0.9.1",
59
+ "vite-plugin-svgr": "^4.3.0",
60
+ "zod": "^3.24.1",
61
+ "zustand": "^4.5.5"
62
+ },
63
+ "peerDependencies": {
64
+ "@vanilla-extract/css-utils": "^0.1.3",
65
+ "@vanilla-extract/recipes": "^0.5.1",
66
+ "@vanilla-extract/vite-plugin": "^4.0.3",
67
+ "next": "^14.1.4",
68
+ "react": "^18.2.0",
69
+ "react-date-range": "^2.0.1",
70
+ "react-dom": "^18.2.0",
71
+ "react-popper": "^2.3.0",
72
+ "react-slick": "^0.30.2",
73
+ "slick-carousel": "^1.8.1"
74
+ },
75
+ "devDependencies": {
76
+ "@chromatic-com/storybook": "^1.9.0",
77
+ "@rollup/plugin-alias": "^5.1.1",
78
+ "@storybook/addon-essentials": "^8.4.7",
79
+ "@storybook/addon-interactions": "^8.4.7",
80
+ "@storybook/addon-links": "^8.4.7",
81
+ "@storybook/addon-mdx-gfm": "^8.4.7",
82
+ "@storybook/addon-onboarding": "^8.4.7",
83
+ "@storybook/addon-themes": "^8.4.7",
84
+ "@storybook/blocks": "^8.4.7",
85
+ "@storybook/react": "^8.6.14",
86
+ "@storybook/react-vite": "^8.4.7",
87
+ "@storybook/test": "^8.6.14",
88
+ "@svgr/core": "^8.1.0",
89
+ "@svgr/plugin-prettier": "^8.1.0",
90
+ "@svgr/plugin-svgo": "^8.1.0",
91
+ "@types/lodash": "^4.17.17",
92
+ "@types/node": "^20.19.0",
93
+ "@types/react": "^18.3.23",
94
+ "@types/react-date-range": "^1.4.9",
95
+ "@types/react-datepicker": "^6.2.0",
96
+ "@types/react-dom": "^18.3.7",
97
+ "@types/react-slick": "^0.23.13",
98
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
99
+ "@typescript-eslint/parser": "^7.18.0",
100
+ "@vanilla-extract/css-utils": "^0.1.4",
101
+ "@vanilla-extract/recipes": "^0.5.5",
102
+ "@vanilla-extract/vite-plugin": "^4.0.18",
103
+ "@vitejs/plugin-react-swc": "^3.7.2",
104
+ "esbuild-vanilla-image-loader": "^0.1.3",
105
+ "eslint": "^8.57.1",
106
+ "eslint-plugin-react-hooks": "^4.6.2",
107
+ "eslint-plugin-react-refresh": "^0.4.16",
108
+ "eslint-plugin-storybook": "^0.8.0",
109
+ "glob": "^10.4.5",
110
+ "husky": "^9.1.7",
111
+ "next": "^14.1.4",
112
+ "prettier": "3.2.5",
113
+ "react": "^18.3.1",
114
+ "react-dom": "^18.3.1",
115
+ "rollup-plugin-preserve-directives": "^0.4.0",
116
+ "rollup-plugin-svg-import": "^3.0.0",
117
+ "rollup-plugin-svgo": "^2.0.0",
118
+ "storybook": "^8.4.7",
119
+ "typescript": "^5.7.2",
120
+ "typescript-plugin-css-modules": "^5.1.0",
121
+ "vite": "^5.4.11",
122
+ "vite-plugin-dts": "^3.9.1",
123
+ "vite-plugin-lib-inject-css": "^2.1.1",
124
+ "vite-plugin-setting-css-module": "^1.1.4",
125
+ "vite-tsconfig-paths": "^4.3.2"
126
+ },
127
+ "main": "index.js",
128
+ "directories": {
129
+ "lib": "lib"
130
+ },
131
+ "author": "axos-web-dev",
132
+ "license": "ISC"
133
+ }