@axos-web-dev/shared-components 1.0.100-feature-lvfformcontextdata → 1.0.100-feature-comparisonCTAs.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.
- package/dist/Calculators/BuyDownCalculator/index.d.ts +1 -0
- package/dist/Calculators/BuyDownCalculator/index.js +163 -77
- package/dist/Comparison/ComparisonSet.js +33 -24
- package/dist/Forms/FormEnums.js +2 -14
- package/dist/Input/Dropdown.js +1 -0
- package/dist/Table/Table.d.ts +1 -1
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/Comparison/Comparison.css +3 -1
- package/dist/assets/WalnutIframe/wrapper.css.css +49 -49
- package/package.json +133 -133
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
4
4
|
import { Button } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/Button.css.js";
|
|
6
|
-
import { useState } from "react";
|
|
6
|
+
import { useState, useEffect } from "react";
|
|
7
7
|
import "react-use";
|
|
8
8
|
import { Program, Fico, BuydownRate, BuydownTerm, LoanRates } from "../../Forms/FormEnums.js";
|
|
9
9
|
import { Checkbox } from "../../Input/Checkbox.js";
|
|
@@ -39,7 +39,6 @@ const BuyDownCalculator = ({
|
|
|
39
39
|
const [finalNoteRate, setFinalNoteRate] = useState("");
|
|
40
40
|
const [manuContributionPercentage, setManuContributionPercentage] = useState("");
|
|
41
41
|
const [buydownPayment, setBuydownPayment] = useState("");
|
|
42
|
-
const [manuContributionAmount, setManuContributionAmount] = useState("");
|
|
43
42
|
const [nonBuydownPayment, setNonBuydownPayment] = useState("");
|
|
44
43
|
const [totalBuydownCost, setTotalBuydownCost] = useState("");
|
|
45
44
|
const [monthlySavings, setMonthlySavings] = useState("");
|
|
@@ -47,6 +46,11 @@ const BuyDownCalculator = ({
|
|
|
47
46
|
const [enableFullTimeCharter, setEnableFullTimeCharter] = useState(false);
|
|
48
47
|
const [disableMooringOutside, setDisableMooringOutside] = useState(false);
|
|
49
48
|
const [disableLTVAbove60, setDisableLTVAbove60] = useState(true);
|
|
49
|
+
const [isDealerContributionDisabled, setIsDealerContributionDisabled] = useState(false);
|
|
50
|
+
const [
|
|
51
|
+
isManufacturerContributionDisabled,
|
|
52
|
+
setIsManufacturerContributionDisabled
|
|
53
|
+
] = useState(false);
|
|
50
54
|
const schema = z.object({
|
|
51
55
|
purchasePrice: z.string().min(1, { message: "Loan amount is required." }).transform((val) => {
|
|
52
56
|
return formatToNumber(val);
|
|
@@ -54,8 +58,13 @@ const BuyDownCalculator = ({
|
|
|
54
58
|
downpayment: z.string().min(1, { message: "Down Payment is required." }).transform((val) => {
|
|
55
59
|
return formatToNumber(val);
|
|
56
60
|
}),
|
|
57
|
-
dealerContribution: z.string()
|
|
58
|
-
|
|
61
|
+
dealerContribution: z.union([z.string(), z.number()]).optional().transform((val) => {
|
|
62
|
+
if (typeof val === "number") return val;
|
|
63
|
+
return val ? formatToNumber(val) : 0;
|
|
64
|
+
}),
|
|
65
|
+
manufacturerContributionAmount: z.union([z.string(), z.number()]).optional().transform((val) => {
|
|
66
|
+
if (typeof val === "number") return val;
|
|
67
|
+
return val ? formatToNumber(val) : 0;
|
|
59
68
|
}),
|
|
60
69
|
program: z.string().min(1, { message: "Program is required." }),
|
|
61
70
|
fico: z.string().min(1, { message: "FICO is required." }),
|
|
@@ -66,7 +75,32 @@ const BuyDownCalculator = ({
|
|
|
66
75
|
return formatToNumber(val);
|
|
67
76
|
})
|
|
68
77
|
}).superRefine((values, ctx) => {
|
|
69
|
-
const {
|
|
78
|
+
const {
|
|
79
|
+
purchasePrice,
|
|
80
|
+
downpayment,
|
|
81
|
+
program,
|
|
82
|
+
buydownTerm,
|
|
83
|
+
dealerContribution,
|
|
84
|
+
manufacturerContributionAmount
|
|
85
|
+
} = values;
|
|
86
|
+
if (dealerContribution > 0 && manufacturerContributionAmount > 0) {
|
|
87
|
+
ctx.addIssue({
|
|
88
|
+
code: z.ZodIssueCode.custom,
|
|
89
|
+
path: ["dealerContribution"],
|
|
90
|
+
message: "Cannot specify both Dealer Contribution and Manufacturer Contribution Amount. Please choose one."
|
|
91
|
+
});
|
|
92
|
+
ctx.addIssue({
|
|
93
|
+
code: z.ZodIssueCode.custom,
|
|
94
|
+
path: ["manufacturerContributionAmount"],
|
|
95
|
+
message: "Cannot specify both Dealer Contribution and Manufacturer Contribution Amount. Please choose one."
|
|
96
|
+
});
|
|
97
|
+
} else if (dealerContribution === 0 && manufacturerContributionAmount === 0) {
|
|
98
|
+
ctx.addIssue({
|
|
99
|
+
code: z.ZodIssueCode.custom,
|
|
100
|
+
path: ["dealerContribution"],
|
|
101
|
+
message: "Either Dealer Contribution or Manufacturer Contribution Amount is required."
|
|
102
|
+
});
|
|
103
|
+
}
|
|
70
104
|
if (program === "3/6 SOFR ARM" && (buydownTerm === 4 || buydownTerm === 5)) {
|
|
71
105
|
ctx.addIssue({
|
|
72
106
|
code: z.ZodIssueCode.custom,
|
|
@@ -114,8 +148,23 @@ const BuyDownCalculator = ({
|
|
|
114
148
|
handleSubmit,
|
|
115
149
|
register,
|
|
116
150
|
setValue,
|
|
151
|
+
watch,
|
|
152
|
+
trigger,
|
|
117
153
|
formState: { errors, isValid }
|
|
118
154
|
} = methods;
|
|
155
|
+
const watchedFields = watch(["purchasePrice", "downpayment", "program"]);
|
|
156
|
+
useEffect(() => {
|
|
157
|
+
const [purchasePrice, downpayment, program] = watchedFields;
|
|
158
|
+
if (purchasePrice && downpayment && program) {
|
|
159
|
+
const purchasePriceNum = typeof purchasePrice === "string" ? formatToNumber(purchasePrice) : purchasePrice;
|
|
160
|
+
const downpaymentNum = typeof downpayment === "string" ? formatToNumber(downpayment) : downpayment;
|
|
161
|
+
if (purchasePriceNum > 0 && downpaymentNum >= 0 && purchasePriceNum > downpaymentNum) {
|
|
162
|
+
const financedAmount2 = purchasePriceNum - downpaymentNum;
|
|
163
|
+
const loanRange2 = getRange(financedAmount2, program);
|
|
164
|
+
setLoanRange(loanRange2);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}, [watchedFields]);
|
|
119
168
|
const calculator_variant = getVariant(variant);
|
|
120
169
|
const enableDependentInputs = enableFullTimeCharter;
|
|
121
170
|
const formatToNumber = (value) => {
|
|
@@ -224,6 +273,32 @@ const BuyDownCalculator = ({
|
|
|
224
273
|
setDisableMooringOutside(true);
|
|
225
274
|
}
|
|
226
275
|
};
|
|
276
|
+
const handleDealerContributionChange = (event) => {
|
|
277
|
+
const value = event.target.value;
|
|
278
|
+
const numericValue = formatToNumber(value);
|
|
279
|
+
if (numericValue > 0) {
|
|
280
|
+
setIsManufacturerContributionDisabled(true);
|
|
281
|
+
setValue("manufacturerContributionAmount", 0);
|
|
282
|
+
} else {
|
|
283
|
+
setIsManufacturerContributionDisabled(false);
|
|
284
|
+
}
|
|
285
|
+
setTimeout(() => {
|
|
286
|
+
trigger(["dealerContribution", "manufacturerContributionAmount"]);
|
|
287
|
+
}, 0);
|
|
288
|
+
};
|
|
289
|
+
const handleManufacturerContributionChange = (event) => {
|
|
290
|
+
const value = event.target.value;
|
|
291
|
+
const numericValue = formatToNumber(value);
|
|
292
|
+
if (numericValue > 0) {
|
|
293
|
+
setIsDealerContributionDisabled(true);
|
|
294
|
+
setValue("dealerContribution", 0);
|
|
295
|
+
} else {
|
|
296
|
+
setIsDealerContributionDisabled(false);
|
|
297
|
+
}
|
|
298
|
+
setTimeout(() => {
|
|
299
|
+
trigger(["dealerContribution", "manufacturerContributionAmount"]);
|
|
300
|
+
}, 0);
|
|
301
|
+
};
|
|
227
302
|
const updateFicoRequirements = (loanRangeValue, program) => {
|
|
228
303
|
const ficoOptionsToDisable = ["700-719", "720-759"];
|
|
229
304
|
const ficoSelect = document.getElementById("fico");
|
|
@@ -383,17 +458,17 @@ const BuyDownCalculator = ({
|
|
|
383
458
|
setTotalBuydownCost(formatToCurrency(TBC));
|
|
384
459
|
return TBC;
|
|
385
460
|
};
|
|
386
|
-
const calculateManufacturerContribution = (dealerContribution) => {
|
|
387
|
-
|
|
461
|
+
const calculateManufacturerContribution = (dealerContribution, manufacturerContributionAmount, totalBuydownCost2) => {
|
|
462
|
+
let manufacturerContribution;
|
|
463
|
+
if (manufacturerContributionAmount > 0) {
|
|
464
|
+
manufacturerContribution = manufacturerContributionAmount / totalBuydownCost2 * 100;
|
|
465
|
+
} else {
|
|
466
|
+
manufacturerContribution = 100 - dealerContribution;
|
|
467
|
+
}
|
|
388
468
|
const percentage = formatToPercentage(manufacturerContribution);
|
|
389
469
|
setManuContributionPercentage(percentage);
|
|
390
470
|
return manufacturerContribution;
|
|
391
471
|
};
|
|
392
|
-
const calculateManufacturerAmount = (totalBuydownCost2, manufacturerContribution) => {
|
|
393
|
-
const manufacturerAmount = totalBuydownCost2 * (manufacturerContribution / 100);
|
|
394
|
-
const formattedAmount = formatToCurrency(manufacturerAmount);
|
|
395
|
-
setManuContributionAmount(formattedAmount);
|
|
396
|
-
};
|
|
397
472
|
const calculateDealerContributionAmount = (dealerContribution, totalBuydownCost2) => {
|
|
398
473
|
const dealerContributionValue = totalBuydownCost2 * (dealerContribution / 100);
|
|
399
474
|
const formattedAmount = formatToCurrency(dealerContributionValue);
|
|
@@ -405,6 +480,7 @@ const BuyDownCalculator = ({
|
|
|
405
480
|
buydownRate,
|
|
406
481
|
buydownTerm,
|
|
407
482
|
dealerContribution,
|
|
483
|
+
manufacturerContributionAmount,
|
|
408
484
|
downpayment,
|
|
409
485
|
fico,
|
|
410
486
|
program,
|
|
@@ -436,8 +512,11 @@ const BuyDownCalculator = ({
|
|
|
436
512
|
financedAmountValue,
|
|
437
513
|
buydownTerm
|
|
438
514
|
);
|
|
439
|
-
|
|
440
|
-
|
|
515
|
+
calculateManufacturerContribution(
|
|
516
|
+
dealerContribution,
|
|
517
|
+
manufacturerContributionAmount,
|
|
518
|
+
totalBuydownCost2
|
|
519
|
+
);
|
|
441
520
|
calculateDealerContributionAmount(dealerContribution, totalBuydownCost2);
|
|
442
521
|
}
|
|
443
522
|
};
|
|
@@ -495,16 +574,40 @@ const BuyDownCalculator = ({
|
|
|
495
574
|
PercentageInput,
|
|
496
575
|
{
|
|
497
576
|
id: "dealerContribution",
|
|
498
|
-
...register("dealerContribution", {
|
|
577
|
+
...register("dealerContribution", {
|
|
578
|
+
required: false,
|
|
579
|
+
onChange: handleDealerContributionChange
|
|
580
|
+
}),
|
|
499
581
|
sizes: "medium",
|
|
500
582
|
placeholder: "0.00%",
|
|
501
583
|
label: "Dealer Contribution",
|
|
502
|
-
required:
|
|
584
|
+
required: false,
|
|
503
585
|
error: !!errors["dealerContribution"],
|
|
504
586
|
helperText: errors["dealerContribution"]?.message,
|
|
505
|
-
variant: calculator_variant
|
|
587
|
+
variant: calculator_variant,
|
|
588
|
+
disabled: isDealerContributionDisabled
|
|
506
589
|
}
|
|
507
590
|
) }),
|
|
591
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
592
|
+
CurrencyInput,
|
|
593
|
+
{
|
|
594
|
+
id: "manufacturerContributionAmount",
|
|
595
|
+
...register("manufacturerContributionAmount", {
|
|
596
|
+
required: false,
|
|
597
|
+
onChange: handleManufacturerContributionChange
|
|
598
|
+
}),
|
|
599
|
+
sizes: "medium",
|
|
600
|
+
placeholder: "$0.00",
|
|
601
|
+
label: "Manufacturer Contribution Amount",
|
|
602
|
+
required: false,
|
|
603
|
+
error: !!errors["manufacturerContributionAmount"],
|
|
604
|
+
helperText: errors["manufacturerContributionAmount"]?.message,
|
|
605
|
+
variant: calculator_variant,
|
|
606
|
+
disabled: isManufacturerContributionDisabled
|
|
607
|
+
}
|
|
608
|
+
) })
|
|
609
|
+
] }),
|
|
610
|
+
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
508
611
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
509
612
|
Dropdown,
|
|
510
613
|
{
|
|
@@ -526,9 +629,7 @@ const BuyDownCalculator = ({
|
|
|
526
629
|
Program.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
527
630
|
]
|
|
528
631
|
}
|
|
529
|
-
) })
|
|
530
|
-
] }),
|
|
531
|
-
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
632
|
+
) }),
|
|
532
633
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
533
634
|
Dropdown,
|
|
534
635
|
{
|
|
@@ -546,7 +647,9 @@ const BuyDownCalculator = ({
|
|
|
546
647
|
Fico.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
547
648
|
]
|
|
548
649
|
}
|
|
549
|
-
) })
|
|
650
|
+
) })
|
|
651
|
+
] }),
|
|
652
|
+
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
550
653
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
551
654
|
Input,
|
|
552
655
|
{
|
|
@@ -558,10 +661,8 @@ const BuyDownCalculator = ({
|
|
|
558
661
|
variant: calculator_variant,
|
|
559
662
|
value: loanRange
|
|
560
663
|
}
|
|
561
|
-
) })
|
|
562
|
-
|
|
563
|
-
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
564
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
664
|
+
) }),
|
|
665
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
565
666
|
Dropdown,
|
|
566
667
|
{
|
|
567
668
|
id: "buydownRate",
|
|
@@ -574,35 +675,31 @@ const BuyDownCalculator = ({
|
|
|
574
675
|
error: !!errors.buydownRate,
|
|
575
676
|
helperText: errors.buydownRate?.message,
|
|
576
677
|
variant: calculator_variant,
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
BuydownRate.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
581
|
-
]
|
|
582
|
-
}
|
|
583
|
-
) }),
|
|
584
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
585
|
-
Dropdown,
|
|
586
|
-
{
|
|
587
|
-
id: "buydownTerm",
|
|
588
|
-
...register("buydownTerm", {
|
|
589
|
-
required: true,
|
|
590
|
-
deps: ["program"]
|
|
591
|
-
}),
|
|
592
|
-
label: "Buydown Term (1-5 Years)",
|
|
593
|
-
sizes: "medium",
|
|
594
|
-
required: true,
|
|
595
|
-
error: !!errors.buydownTerm,
|
|
596
|
-
helperText: errors.buydownTerm?.message,
|
|
597
|
-
variant: calculator_variant,
|
|
598
|
-
defaultValue: 0,
|
|
599
|
-
children: [
|
|
600
|
-
/* @__PURE__ */ jsx("option", { value: "", disabled: true, children: "Select Buydown Term" }),
|
|
601
|
-
BuydownTerm.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
602
|
-
]
|
|
678
|
+
disabled: true,
|
|
679
|
+
defaultValue: 3.74,
|
|
680
|
+
children: BuydownRate.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
603
681
|
}
|
|
604
682
|
) })
|
|
605
683
|
] }),
|
|
684
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
685
|
+
Dropdown,
|
|
686
|
+
{
|
|
687
|
+
id: "buydownTerm",
|
|
688
|
+
...register("buydownTerm", {
|
|
689
|
+
required: true,
|
|
690
|
+
deps: ["program"]
|
|
691
|
+
}),
|
|
692
|
+
label: "Buydown Term (1-5 Years)",
|
|
693
|
+
sizes: "medium",
|
|
694
|
+
required: true,
|
|
695
|
+
error: !!errors.buydownTerm,
|
|
696
|
+
helperText: errors.buydownTerm?.message,
|
|
697
|
+
variant: calculator_variant,
|
|
698
|
+
disabled: true,
|
|
699
|
+
defaultValue: 3,
|
|
700
|
+
children: BuydownTerm.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
701
|
+
}
|
|
702
|
+
) }) }),
|
|
606
703
|
/* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments" }) }) }),
|
|
607
704
|
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
608
705
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { className: row_form, children: /* @__PURE__ */ jsxs(
|
|
@@ -622,7 +719,7 @@ const BuyDownCalculator = ({
|
|
|
622
719
|
id: "mooringOutsideContinentalUS",
|
|
623
720
|
...register("mooringOutsideContinentalUS"),
|
|
624
721
|
value: 0.5,
|
|
625
|
-
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\
|
|
722
|
+
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\n +0.500",
|
|
626
723
|
groupName: "dependentInputs",
|
|
627
724
|
disabled: disableMooringOutside
|
|
628
725
|
}
|
|
@@ -788,23 +885,23 @@ const BuyDownCalculator = ({
|
|
|
788
885
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
789
886
|
CurrencyInput,
|
|
790
887
|
{
|
|
791
|
-
id: "
|
|
888
|
+
id: "nonBuydownPayment",
|
|
792
889
|
sizes: "medium",
|
|
793
|
-
label: "
|
|
890
|
+
label: "Non-buydown Payment",
|
|
794
891
|
disabled: true,
|
|
795
892
|
variant: calculator_variant,
|
|
796
|
-
value:
|
|
893
|
+
value: nonBuydownPayment
|
|
797
894
|
}
|
|
798
895
|
) }),
|
|
799
896
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
800
897
|
CurrencyInput,
|
|
801
898
|
{
|
|
802
|
-
id: "
|
|
899
|
+
id: "totalBuydownCost",
|
|
803
900
|
sizes: "medium",
|
|
804
|
-
label: "
|
|
901
|
+
label: "Total Buydown Cost",
|
|
805
902
|
disabled: true,
|
|
806
903
|
variant: calculator_variant,
|
|
807
|
-
value:
|
|
904
|
+
value: totalBuydownCost
|
|
808
905
|
}
|
|
809
906
|
) })
|
|
810
907
|
] }),
|
|
@@ -812,38 +909,27 @@ const BuyDownCalculator = ({
|
|
|
812
909
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
813
910
|
CurrencyInput,
|
|
814
911
|
{
|
|
815
|
-
id: "
|
|
912
|
+
id: "monthlySavings",
|
|
816
913
|
sizes: "medium",
|
|
817
|
-
label: "
|
|
914
|
+
label: "Monthly Savings",
|
|
818
915
|
disabled: true,
|
|
819
916
|
variant: calculator_variant,
|
|
820
|
-
value:
|
|
917
|
+
value: monthlySavings
|
|
821
918
|
}
|
|
822
919
|
) }),
|
|
823
920
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
824
921
|
CurrencyInput,
|
|
825
922
|
{
|
|
826
|
-
id: "
|
|
923
|
+
id: "dealerContributionAmount",
|
|
827
924
|
sizes: "medium",
|
|
828
|
-
label: "
|
|
925
|
+
label: "Dealer Contribution Amount",
|
|
829
926
|
disabled: true,
|
|
830
927
|
variant: calculator_variant,
|
|
831
|
-
value:
|
|
928
|
+
value: dealerContributionAmount,
|
|
929
|
+
helperText: "Dealer reserve offset not included in this amount."
|
|
832
930
|
}
|
|
833
931
|
) })
|
|
834
|
-
] })
|
|
835
|
-
/* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
836
|
-
CurrencyInput,
|
|
837
|
-
{
|
|
838
|
-
id: "dealerContributionAmount",
|
|
839
|
-
sizes: "medium",
|
|
840
|
-
label: "Dealer Contribution Amount",
|
|
841
|
-
disabled: true,
|
|
842
|
-
variant: calculator_variant,
|
|
843
|
-
value: dealerContributionAmount,
|
|
844
|
-
helperText: "Dealer reserve offset not included in this amount."
|
|
845
|
-
}
|
|
846
|
-
) }) })
|
|
932
|
+
] })
|
|
847
933
|
]
|
|
848
934
|
}
|
|
849
935
|
) }),
|
|
@@ -35,30 +35,39 @@ const ComparisonSet = ({
|
|
|
35
35
|
bodyCopy,
|
|
36
36
|
additionalDetails,
|
|
37
37
|
isolate: true,
|
|
38
|
-
children: /* @__PURE__ */ jsxs(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
children: /* @__PURE__ */ jsxs(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: clsx(
|
|
42
|
+
comparison_container,
|
|
43
|
+
comparisonElements.length > 2 && "comparison_container--many_items"
|
|
44
|
+
),
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx(TabContainer, { className: comparison_tab_container, children: comparisonElements.map(({ headerTab, id: id2 }, index) => /* @__PURE__ */ jsx(
|
|
47
|
+
Tab,
|
|
48
|
+
{
|
|
49
|
+
id: `tab_${id2}_${index}`,
|
|
50
|
+
headline: `${headerTab}`,
|
|
51
|
+
onClick: () => {
|
|
52
|
+
toggleTab(index);
|
|
53
|
+
},
|
|
54
|
+
className: toggleState === index ? active_tab({ variant: getVariant(variant) }) : "",
|
|
55
|
+
variant
|
|
56
|
+
},
|
|
57
|
+
`tab_${id2}_${index}`
|
|
58
|
+
)) }),
|
|
59
|
+
comparisonElements.map((item, index) => /* @__PURE__ */ createElement(
|
|
60
|
+
Comparison,
|
|
61
|
+
{
|
|
62
|
+
...item,
|
|
63
|
+
key: item.id,
|
|
64
|
+
index,
|
|
65
|
+
toggleState
|
|
66
|
+
}
|
|
67
|
+
))
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
)
|
|
62
71
|
}
|
|
63
72
|
);
|
|
64
73
|
};
|
package/dist/Forms/FormEnums.js
CHANGED
|
@@ -177,20 +177,8 @@ const Fico = [
|
|
|
177
177
|
{ value: "720-759", text: "720-759" },
|
|
178
178
|
{ value: "700-719", text: "700-719" }
|
|
179
179
|
];
|
|
180
|
-
const BuydownRate = [
|
|
181
|
-
|
|
182
|
-
{ value: 3.99, text: "3.99%" },
|
|
183
|
-
{ value: 4.99, text: "4.99%" },
|
|
184
|
-
{ value: 5.99, text: "5.99%" },
|
|
185
|
-
{ value: 6.99, text: "6.99%" }
|
|
186
|
-
];
|
|
187
|
-
const BuydownTerm = [
|
|
188
|
-
{ value: 1, text: "1 Year" },
|
|
189
|
-
{ value: 2, text: "2 Years" },
|
|
190
|
-
{ value: 3, text: "3 Years" },
|
|
191
|
-
{ value: 4, text: "4 Years" },
|
|
192
|
-
{ value: 5, text: "5 Years" }
|
|
193
|
-
];
|
|
180
|
+
const BuydownRate = [{ value: 3.74, text: "3.74%" }];
|
|
181
|
+
const BuydownTerm = [{ value: 3, text: "3 Years" }];
|
|
194
182
|
const LoanRates = /* @__PURE__ */ new Map([
|
|
195
183
|
[
|
|
196
184
|
"3/6 SOFR ARM",
|
package/dist/Input/Dropdown.js
CHANGED
package/dist/Table/Table.d.ts
CHANGED
|
@@ -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 = "
|
|
2
|
-
const shimmer = "
|
|
3
|
-
const wrapper_control = "
|
|
1
|
+
import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_13j22_10";
|
|
2
|
+
const shimmer = "_shimmer_13j22_1";
|
|
3
|
+
const wrapper_control = "_wrapper_control_13j22_39";
|
|
4
4
|
const css = {
|
|
5
5
|
wrapper,
|
|
6
6
|
shimmer,
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
width: 100%;
|
|
104
104
|
text-align: center;
|
|
105
105
|
gap: 24px;
|
|
106
|
-
flex-wrap: wrap;
|
|
107
106
|
align-items: center;
|
|
108
107
|
}
|
|
109
108
|
._198o0lt0 ._1nivbwe1 {
|
|
@@ -112,6 +111,9 @@
|
|
|
112
111
|
._198o0lt0 ._1nivbwe5 {
|
|
113
112
|
font-size: 20px;
|
|
114
113
|
}
|
|
114
|
+
.comparison_container--many_items ._198o0lte {
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
}
|
|
115
117
|
@media screen and (max-width: 1023px) {
|
|
116
118
|
._198o0lt0 {
|
|
117
119
|
border-radius: 0;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
from {
|
|
3
|
-
transform: translateX(-100%);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: translateX(100%);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
background: #1e3860;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
height: 555px;
|
|
14
|
-
isolation: isolate;
|
|
15
|
-
margin-block: 48px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
section > .
|
|
19
|
-
margin-top: 0 !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.
|
|
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:
|
|
36
|
-
z-index: -1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.
|
|
40
|
-
height: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
overflow-x: scroll;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@media (max-width: 1023px) {
|
|
46
|
-
.
|
|
47
|
-
display: none;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
@keyframes _shimmer_13j22_1 {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(-100%);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: translateX(100%);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
._wrapper_13j22_10 {
|
|
11
|
+
background: #1e3860;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
height: 555px;
|
|
14
|
+
isolation: isolate;
|
|
15
|
+
margin-block: 48px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
section > ._wrapper_13j22_10:first-child {
|
|
19
|
+
margin-top: 0 !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
._wrapper_13j22_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_13j22_1 1.3s infinite linear;
|
|
36
|
+
z-index: -1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
._wrapper_control_13j22_39 {
|
|
40
|
+
height: 100%;
|
|
41
|
+
width: 100%;
|
|
42
|
+
overflow-x: scroll;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 1023px) {
|
|
46
|
+
._wrapper_13j22_10 {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
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.100-feature-
|
|
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.100-feature-comparisonCTAs.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
|
+
}
|