@axos-web-dev/shared-components 1.0.70 → 1.0.72

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.
@@ -2,6 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { z } from "zod";
4
4
  import { useForm, FormProvider } from "react-hook-form";
5
+ import { SalesforceSchema } from "./SalesforceFieldsForm.js";
5
6
  import { zodResolver } from "@hookform/resolvers/zod";
6
7
  import "../utils/allowedAxosDomains.js";
7
8
  import { associatedEmail } from "../utils/EverestValidity.js";
@@ -67,7 +68,7 @@ const CommercialPremiumFinance = ({
67
68
  Type_of_Policy__c: z.string()
68
69
  });
69
70
  const methods = useForm({
70
- resolver: zodResolver(schema, {
71
+ resolver: zodResolver(schema.merge(SalesforceSchema), {
71
72
  async: true
72
73
  }),
73
74
  mode: "onBlur",
@@ -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;
@@ -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(
@@ -1927,6 +1927,15 @@ function SubNavBar() {
1927
1927
  href: findMoreAxosDomains("{AXOSBANK}/tools"),
1928
1928
  children: "Additional Tools"
1929
1929
  }
1930
+ ) }),
1931
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1932
+ Link,
1933
+ {
1934
+ href: findMoreAxosDomains(
1935
+ "{AXOSBANK}/tools/fund-your-account"
1936
+ ),
1937
+ children: "Fund Your Account"
1938
+ }
1930
1939
  ) })
1931
1940
  ] })
1932
1941
  ] }),
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.70",
4
+ "version": "1.0.72",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",