@axos-web-dev/shared-components 1.0.100-feature-buydown.1 → 1.0.100-feature-buydown.2

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.
@@ -662,7 +662,7 @@ const BuyDownCalculator = ({
662
662
  value: loanRange
663
663
  }
664
664
  ) }),
665
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
665
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
666
666
  Dropdown,
667
667
  {
668
668
  id: "buydownRate",
@@ -675,15 +675,13 @@ const BuyDownCalculator = ({
675
675
  error: !!errors.buydownRate,
676
676
  helperText: errors.buydownRate?.message,
677
677
  variant: calculator_variant,
678
- defaultValue: "",
679
- children: [
680
- /* @__PURE__ */ jsx("option", { value: "", disabled: true, children: "Select Buydown Rate" }),
681
- BuydownRate.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
682
- ]
678
+ disabled: true,
679
+ defaultValue: 3.74,
680
+ children: BuydownRate.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
683
681
  }
684
682
  ) })
685
683
  ] }),
686
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
684
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
687
685
  Dropdown,
688
686
  {
689
687
  id: "buydownTerm",
@@ -697,11 +695,9 @@ const BuyDownCalculator = ({
697
695
  error: !!errors.buydownTerm,
698
696
  helperText: errors.buydownTerm?.message,
699
697
  variant: calculator_variant,
700
- defaultValue: 0,
701
- children: [
702
- /* @__PURE__ */ jsx("option", { value: "", disabled: true, children: "Select Buydown Term" }),
703
- BuydownTerm.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
704
- ]
698
+ disabled: true,
699
+ defaultValue: 3,
700
+ children: BuydownTerm.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
705
701
  }
706
702
  ) }) }),
707
703
  /* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments" }) }) }),
@@ -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
- { value: 2.99, text: "2.99%" },
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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "1.0.100-feature-buydown.1",
4
+ "version": "1.0.100-feature-buydown.2",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",