@axos-web-dev/shared-components 1.0.77-patch.13 → 1.0.77-patch.15

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.
@@ -11,5 +11,6 @@ export interface CalculatorProps {
11
11
  bodyCopy?: React.ReactNode;
12
12
  disclosure?: React.ReactNode;
13
13
  marketingTiles?: IconBillboardProps[];
14
+ initialBalance?: number;
14
15
  }
15
16
  export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
@@ -135,7 +135,8 @@ const Calculator = (props) => {
135
135
  disclosure,
136
136
  headline,
137
137
  name,
138
- marketingTiles
138
+ marketingTiles,
139
+ initialBalance
139
140
  } = props;
140
141
  const ref = useRef(null);
141
142
  const iframe = calculators.get(name || "");
@@ -226,7 +227,8 @@ const Calculator = (props) => {
226
227
  bodyCopy,
227
228
  variant,
228
229
  disclosure,
229
- icon
230
+ icon,
231
+ initialBalance
230
232
  }
231
233
  );
232
234
  } else if (name === "APY Balance Summit Savings") {
@@ -0,0 +1,13 @@
1
+ import { FormProps } from './FormProps';
2
+
3
+ export type MortgageWarehouseLendingInputs = {
4
+ first_name: string;
5
+ last_name: string;
6
+ email: string;
7
+ phone: string;
8
+ Company_NMLS_ID__c: string;
9
+ Business_Name__c: string;
10
+ };
11
+ export declare const MortgageWarehouseLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps & {
12
+ disableHoneyPot?: boolean;
13
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,327 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { zodResolver } from "@hookform/resolvers/zod";
4
+ import "../Input/Checkbox.js";
5
+ import "../Input/CurrencyInput.js";
6
+ import "../Input/Dropdown.js";
7
+ import "../Input/Dropdown.css.js";
8
+ import { Input } from "../Input/Input.js";
9
+ import "../Input/Input.css.js";
10
+ import "../Input/InputAmount.js";
11
+ import { InputPhone } from "../Input/InputPhone.js";
12
+ import "../Input/InputTextArea.js";
13
+ import "../Input/DownPaymentInput.js";
14
+ import "../Input/RadioButton.js";
15
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
16
+ import SvgAxosX from "../icons/AxosX/index.js";
17
+ import SvgComponent from "../icons/AxosX/Blue.js";
18
+ import "../icons/CheckIcon/CheckIcon.css.js";
19
+ import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavItem/TopicalNavItem.css';import '../assets/Topic/Topic.css';import '../assets/TextBlock/TextBlock.css';import '../assets/SocialMediaBar/SocialMediaBar.css';import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/Pagination/Pagination.css';import '../assets/PageNavSet/PageNavigationSet.css';import '../assets/NavigationMenu/LaVictoire/NavBar.css';import '../assets/NavigationMenu/AxosALTS/NavBar.css';import '../assets/NavigationMenu/AxosClearing/NavBar.css';import '../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../assets/NavigationMenu/AxosBank/NavBar.css';import '../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisorServices/NavBar.css';import '../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisor/NavBar.css';import '../assets/Insight/Insight.css';import '../assets/Insight/Featured/Header.css';import '../assets/Insight/Featured/CategorySelector.css';import '../assets/Insight/Featured/Featured.css';import '../assets/ImageLink/ImageLink.css';import '../assets/VideoTile/VideoTile.css';import '../assets/HelpArticle/HelpArticle.css';import '../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../assets/DownloadTile/DownloadTile.css';import '../assets/CollectInformationAlert/CollectInformationAlert.css';import '../assets/CallToActionBar/CallToActionBar.css';import '../assets/AwardsItem/AwardsItem.css';import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/Auth/SignIn.css';import '../assets/Auth/ErrorAlert.css';import '../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../assets/Forms/QuickPricer/UserInformation.css';import '../assets/Modal/Modal.css';import '../assets/Forms/QuickPricer/QuickPricerResults.css';import '../assets/BulletItem/BulletItem.css';import '../assets/Typography/Typography.css';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 */
20
+ /* empty css */
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
24
+ import "../Accordion/Accordion.js";
25
+ import "../Accordion/Accordion.css.js";
26
+ import { getVariant } from "../utils/getVariant.js";
27
+ import clsx from "clsx";
28
+ import "react";
29
+ import "../Chevron/Chevron.css.js";
30
+ import "../AlertBanner/AlertBanner.css.js";
31
+ import "../Article/Article.css.js";
32
+ import { Button } from "../Button/Button.js";
33
+ import "../Button/Button.css.js";
34
+ import "react-use";
35
+ import "../ArticlesSet/ArticlesSet.css.js";
36
+ import "../IconBillboard/IconBillboard.css.js";
37
+ import "../utils/allowedAxosDomains.js";
38
+ import "../Calculators/calculator.css.js";
39
+ import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
40
+ import "../Calculators/ApyCalculator/ApyCalculator.css.js";
41
+ import "../Table/Table.css.js";
42
+ import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
43
+ import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
44
+ import "../Input/PercentageInput.js";
45
+ import { useForm, FormProvider } from "react-hook-form";
46
+ import { z } from "zod";
47
+ import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
48
+ import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
49
+ import { SalesforceSchema } from "./SalesforceFieldsForm.js";
50
+ /* empty css */
51
+ /* empty css */
52
+ import "../Input/RadioButton.css.js";
53
+ import "../Input/Checkbox.css.js";
54
+ import "../LoadingIndicator/LoadingIndicator.css.js";
55
+ import "../Interstitial/Interstitial-variants.css.js";
56
+ import "../Inputs/Input.css.js";
57
+ /* empty css */
58
+ /* empty css */
59
+ import "../Modal/contextApi/store.js";
60
+ import "../Hyperlink/Hyperlink.css.js";
61
+ /* empty css */
62
+ import "iframe-resizer";
63
+ /* empty css */
64
+ import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
65
+ import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
66
+ import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
67
+ /* empty css */
68
+ import "react-dom";
69
+ /* empty css */
70
+ import "../Auth/SignInPassword.js";
71
+ /* empty css */
72
+ /* empty css */
73
+ /* empty css */
74
+ import "../Carousel/index.js";
75
+ /* empty css */
76
+ import "../Comparison/Comparison.css.js";
77
+ import "next/image.js";
78
+ import "../HeroBanner/HeroBanner.css.js";
79
+ import "../HeroBanner/LargeBanner.css.js";
80
+ import "../HeroBanner/SelectionBanner.css.js";
81
+ import "../SetContainer/SetContainer.css.js";
82
+ import "../Tab/Tab.css.js";
83
+ import "../icons/Star/Star.css.js";
84
+ import "../ContentBanner/ContentBanner.css.js";
85
+ /* empty css */
86
+ import "../ExecutiveBio/ExecutiveBio.css.js";
87
+ import "../FaqAccordion/index.js";
88
+ import "../FooterDisclosure/FooterDisclosure.css.js";
89
+ /* empty css */
90
+ /* empty css */
91
+ /* empty css */
92
+ import "../ImageBillboard/ImageBillboard.css.js";
93
+ import "next/script.js";
94
+ /* empty css */
95
+ /* empty css */
96
+ /* empty css */
97
+ /* empty css */
98
+ /* empty css */
99
+ /* empty css */
100
+ import "../LandingPageHeader/LandingPageHeader.css.js";
101
+ /* empty css */
102
+ import "next/navigation.js";
103
+ /* empty css */
104
+ /* empty css */
105
+ /* empty css */
106
+ import "next/link.js";
107
+ import "../NavigationMenu/AxosBank/MobileMenu/MobileNavData.js";
108
+ /* empty css */
109
+ import "../NavigationMenu/AxosBank/NavData.js";
110
+ /* empty css */
111
+ /* empty css */
112
+ import "../NavigationMenu/AxosALTS/NavData.js";
113
+ /* empty css */
114
+ /* empty css */
115
+ import "../NavigationMenu/LaVictoire/NavData.js";
116
+ import "../PageNavItem/PageNavItem.css.js";
117
+ import "react-slick";
118
+ /* empty css */
119
+ /* empty css */
120
+ /* empty css */
121
+ /* empty css */
122
+ import "../StepItem/StepItem.css.js";
123
+ import "../StepItemSet/StepItemSet.css.js";
124
+ /* empty css */
125
+ /* empty css */
126
+ /* empty css */
127
+ /* empty css */
128
+ /* empty css */
129
+ const MortgageWarehouseLending = ({
130
+ icon = false,
131
+ children,
132
+ onSubmit = (values) => {
133
+ console.log(values);
134
+ },
135
+ disclosure,
136
+ variant: fullVariant = "primary",
137
+ headline,
138
+ description,
139
+ callToAction,
140
+ validateEmail,
141
+ id
142
+ }) => {
143
+ const schema = z.object({
144
+ first_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
145
+ last_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
146
+ email: z.string().email({ message: "Email is required." }).refine(async (val) => await validateEmail(val)),
147
+ phone: z.string({ message: "Phone is required." }).regex(/[\d-]{10}/, "Invalid phone number.").min(10, { message: "Phone is required." }).max(12, { message: "Phone is required." }).transform((val, ctx) => {
148
+ const removeDashes = val.replace(/-/gi, "");
149
+ if (removeDashes.length !== 10) {
150
+ ctx.addIssue({
151
+ code: z.ZodIssueCode.custom,
152
+ message: "Phone must have at least 10 and no more than 10 characters."
153
+ });
154
+ return z.NEVER;
155
+ }
156
+ if (removeDashes.endsWith("00000") || removeDashes.startsWith("999") || removeDashes.length === 10 && /^[01]/.test(removeDashes)) {
157
+ ctx.addIssue({
158
+ code: z.ZodIssueCode.custom,
159
+ message: "Invalid phone number."
160
+ });
161
+ return z.NEVER;
162
+ }
163
+ return removeDashes;
164
+ }),
165
+ Company_NMLS_ID__c: z.string().min(6).max(7),
166
+ Business_Name__c: z.string().min(1)
167
+ });
168
+ const gen_schema = schema.merge(SalesforceSchema);
169
+ const methods = useForm({
170
+ resolver: zodResolver(
171
+ gen_schema,
172
+ {
173
+ async: true
174
+ },
175
+ { mode: "async" }
176
+ ),
177
+ mode: "onChange",
178
+ shouldUnregister: true,
179
+ defaultValues: {
180
+ email: ""
181
+ }
182
+ });
183
+ const {
184
+ handleSubmit,
185
+ register,
186
+ formState: { errors, isValid, isSubmitting }
187
+ } = methods;
188
+ const submitForm = async (data) => {
189
+ await onSubmit(data);
190
+ };
191
+ const variant = getVariant(fullVariant);
192
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
193
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
194
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
195
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
196
+ description && /* @__PURE__ */ jsx(
197
+ "div",
198
+ {
199
+ className: clsx(
200
+ "text_center",
201
+ form,
202
+ descriptionField({ variant })
203
+ ),
204
+ children: description
205
+ }
206
+ )
207
+ ] }),
208
+ /* @__PURE__ */ jsxs(
209
+ "form",
210
+ {
211
+ className: form,
212
+ onSubmit: async (e) => {
213
+ await handleSubmit(submitForm)(e);
214
+ e.preventDefault();
215
+ },
216
+ children: [
217
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
218
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
219
+ Input,
220
+ {
221
+ id: "first_name",
222
+ ...register("first_name", { required: true }),
223
+ label: "First Name",
224
+ sizes: "medium",
225
+ required: true,
226
+ error: !!errors.first_name,
227
+ helperText: errors.first_name?.message,
228
+ variant
229
+ }
230
+ ) }),
231
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
232
+ Input,
233
+ {
234
+ id: "last_name",
235
+ ...register("last_name", { required: true }),
236
+ label: "Last Name",
237
+ sizes: "medium",
238
+ required: true,
239
+ error: !!errors.last_name,
240
+ helperText: errors.last_name?.message,
241
+ variant
242
+ }
243
+ ) }),
244
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
245
+ Input,
246
+ {
247
+ id: "email",
248
+ ...register("email", {
249
+ required: true
250
+ }),
251
+ type: "email",
252
+ label: "Business Email",
253
+ sizes: "medium",
254
+ required: true,
255
+ error: !!errors.email,
256
+ helperText: errors.email?.message,
257
+ variant
258
+ }
259
+ ) }),
260
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
261
+ InputPhone,
262
+ {
263
+ id: "phone",
264
+ ...register("phone", { required: true, maxLength: 12 }),
265
+ label: "Business Phone",
266
+ sizes: "medium",
267
+ type: "tel",
268
+ required: true,
269
+ error: !!errors.phone,
270
+ helperText: errors.phone?.message,
271
+ variant
272
+ }
273
+ ) }),
274
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
275
+ Input,
276
+ {
277
+ id: "Company_NMLS_ID__c",
278
+ ...register("Company_NMLS_ID__c", {
279
+ required: true,
280
+ min: 6,
281
+ max: 7
282
+ }),
283
+ label: "Company NMLS ID",
284
+ sizes: "medium",
285
+ required: true,
286
+ error: !!errors.Company_NMLS_ID__c,
287
+ helperText: errors.Company_NMLS_ID__c?.message,
288
+ variant
289
+ }
290
+ ) }),
291
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
292
+ Input,
293
+ {
294
+ id: "Business_Name__c",
295
+ ...register("Business_Name__c", {
296
+ required: true
297
+ }),
298
+ type: "text",
299
+ label: "Business Name",
300
+ sizes: "medium",
301
+ required: true,
302
+ error: !!errors.Business_Name__c,
303
+ helperText: errors.Business_Name__c?.message,
304
+ variant
305
+ }
306
+ ) })
307
+ ] }),
308
+ children,
309
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
310
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
311
+ Button,
312
+ {
313
+ color: getVariant(callToAction?.variant),
314
+ as: "button",
315
+ type: "submit",
316
+ disabled: !isValid || isSubmitting,
317
+ children: callToAction?.displayText
318
+ }
319
+ ) })
320
+ ]
321
+ }
322
+ )
323
+ ] }) }) }, id);
324
+ };
325
+ export {
326
+ MortgageWarehouseLending
327
+ };
@@ -24,6 +24,7 @@ export * from './MortgageRate/MortgageRateForm';
24
24
  export * from './MortgageRate/MortgageRateModal';
25
25
  export * from './MortgageRate/MortgageRateQuoteFilters';
26
26
  export * from './MortgageRate/MortgageRateWatch';
27
+ export * from './MortgageWarehouseLending';
27
28
  export * from './QuickPricer';
28
29
  export * from './SalesforceFieldsForm';
29
30
  export * from './ScheduleCall';
@@ -27,6 +27,7 @@ import "../utils/allowedAxosDomains.js";
27
27
  import "../LoadingIndicator/LoadingIndicator.css.js";
28
28
  import "../Interstitial/Interstitial-variants.css.js";
29
29
  import { MortgageRateFilters } from "./MortgageRate/MortgageRateQuoteFilters.js";
30
+ import { MortgageWarehouseLending } from "./MortgageWarehouseLending.js";
30
31
  import { QuickPricer } from "./QuickPricer/QuickPricerForm.js";
31
32
  import { rate_table_title, results_container } from "./QuickPricer/QuickPricerResults.css.js";
32
33
  import { UserInformation } from "./QuickPricer/UserInformation.js";
@@ -59,6 +60,7 @@ export {
59
60
  EmailUs,
60
61
  MortgageRate,
61
62
  MortgageRateFilters,
63
+ MortgageWarehouseLending,
62
64
  QuickPricer,
63
65
  RateWatchForm,
64
66
  SalesforceFieldsForm,
@@ -61,7 +61,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, colSpan,
61
61
  is?: string | undefined;
62
62
  exportparts?: string | undefined;
63
63
  part?: string | undefined;
64
- popover?: "" | "auto" | "manual" | undefined;
64
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
65
65
  popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
66
66
  popoverTarget?: string | undefined;
67
67
  onToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
@@ -1,6 +1,6 @@
1
- import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_f1tr5_10";
2
- const shimmer = "_shimmer_f1tr5_1";
3
- const wrapper_control = "_wrapper_control_f1tr5_39";
1
+ import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_1wqdl_19";
2
+ const shimmer = "_shimmer_1wqdl_1";
3
+ const wrapper_control = "_wrapper_control_1wqdl_77";
4
4
  const css = {
5
5
  wrapper,
6
6
  shimmer,
@@ -1,48 +1,48 @@
1
- @keyframes _shimmer_f1tr5_1 {
2
- from {
3
- transform: translateX(-100%);
4
- }
5
- to {
6
- transform: translateX(100%);
7
- }
8
- }
9
-
10
- ._wrapper_f1tr5_10 {
11
- background: #1e3860;
12
- border-radius: 8px;
13
- height: 555px;
14
- isolation: isolate;
15
- margin-block: 48px;
16
- }
17
-
18
- section > ._wrapper_f1tr5_10:first-child {
19
- margin-top: 0 !important;
20
- }
21
-
22
- ._wrapper_f1tr5_10::before {
23
- content: "";
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- width: 190%;
28
- height: 100%;
29
- background: linear-gradient(
30
- 65deg,
31
- rgba(255, 255, 255, 0) 20%,
32
- rgba(255, 255, 255, 0.5) 50%,
33
- rgba(255, 255, 255, 0) 80%
34
- );
35
- animation: _shimmer_f1tr5_1 1.3s infinite linear;
36
- z-index: -1;
37
- }
38
-
39
- ._wrapper_control_f1tr5_39 {
40
- height: 100%;
41
- width: 100%;
42
- }
43
-
44
- @media (max-width: 1023px) {
45
- ._wrapper_f1tr5_10 {
46
- display: none;
47
- }
48
- }
1
+ @keyframes _shimmer_1wqdl_1 {
2
+ from {
3
+ transform: translateX(-100%);
4
+ }
5
+ to {
6
+ transform: translateX(100%);
7
+ }
8
+ }
9
+
10
+ ._wrapper_1wqdl_19 {
11
+ background: #1e3860;
12
+ border-radius: 8px;
13
+ height: 555px;
14
+ isolation: isolate;
15
+ margin-block: 48px;
16
+ }
17
+
18
+ section > ._wrapper_1wqdl_19:first-child {
19
+ margin-top: 0 !important;
20
+ }
21
+
22
+ ._wrapper_1wqdl_19::before {
23
+ content: "";
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ width: 190%;
28
+ height: 100%;
29
+ background: linear-gradient(
30
+ 65deg,
31
+ rgba(255, 255, 255, 0) 20%,
32
+ rgba(255, 255, 255, 0.5) 50%,
33
+ rgba(255, 255, 255, 0) 80%
34
+ );
35
+ animation: _shimmer_1wqdl_1 1.3s infinite linear;
36
+ z-index: -1;
37
+ }
38
+
39
+ ._wrapper_control_1wqdl_77 {
40
+ height: 100%;
41
+ width: 100%;
42
+ }
43
+
44
+ @media (max-width: 1023px) {
45
+ ._wrapper_1wqdl_19 {
46
+ display: none;
47
+ }
48
+ }
package/dist/main.js CHANGED
@@ -81,6 +81,7 @@ import { RateWatchForm } from "./Forms/MortgageRate/MortgageRateWatch.js";
81
81
  import { LoadingIndicator } from "./LoadingIndicator/index.js";
82
82
  import "./Interstitial/Interstitial-variants.css.js";
83
83
  import { MortgageRateFilters } from "./Forms/MortgageRate/MortgageRateQuoteFilters.js";
84
+ import { MortgageWarehouseLending } from "./Forms/MortgageWarehouseLending.js";
84
85
  import { QuickPricer } from "./Forms/QuickPricer/QuickPricerForm.js";
85
86
  import { rate_table_title, results_container } from "./Forms/QuickPricer/QuickPricerResults.css.js";
86
87
  import { UserInformation } from "./Forms/QuickPricer/UserInformation.js";
@@ -322,6 +323,7 @@ export {
322
323
  MonthlyPaymentLVFCalculator,
323
324
  MortgageRate,
324
325
  MortgageRateFilters,
326
+ MortgageWarehouseLending,
325
327
  default30 as NavBarAAS,
326
328
  default33 as NavBarAFS,
327
329
  default34 as NavBarALT,
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.77-patch.13",
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.77-patch.15",
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
+ }