@axos-web-dev/shared-components 0.0.99 → 0.0.100

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.
@@ -3,11 +3,7 @@ export declare const navItems: {
3
3
  url: string;
4
4
  }[];
5
5
  export declare const subNavItems: {
6
- scaleYourBusiness: {
7
- name: string;
8
- url: string;
9
- id: string;
10
- }[];
6
+ scaleYourBusiness: never[];
11
7
  serveYourClients: {
12
8
  name: string;
13
9
  url: string;
@@ -5,13 +5,7 @@ const navItems = [
5
5
  { name: "Axos Advantage", url: "/axos-advantage" }
6
6
  ];
7
7
  const subNavItems = {
8
- scaleYourBusiness: [
9
- {
10
- name: "Unlock Independence",
11
- url: "/scale-your-business/unlock-independence",
12
- id: "syb_1"
13
- }
14
- ],
8
+ scaleYourBusiness: [],
15
9
  serveYourClients: [
16
10
  {
17
11
  name: "Cash Management Solutions",
@@ -15,7 +15,6 @@ function SubNavBar() {
15
15
  useEffect(() => {
16
16
  setShowNavbar(
17
17
  () => [
18
- "/scale-your-business",
19
18
  "/serve-your-clients",
20
19
  "/optimize-operations",
21
20
  "/axos-advantage",
@@ -23,8 +22,8 @@ function SubNavBar() {
23
22
  ].some((el) => pathname?.includes(el))
24
23
  );
25
24
  }, [pathname]);
26
- return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
27
- pathname?.includes("/scale-your-business") && scaleYourBusiness?.map(
25
+ return showNavbar ? /* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
26
+ pathname?.includes("/scale-your-business") && scaleYourBusiness.length > 0 && scaleYourBusiness?.map(
28
27
  (item) => /* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: item.url, role: "menuitem", children: item.name }) }, `snb-${item.id}`)
29
28
  ),
30
29
  (pathname?.includes("/serve-your-clients") || pathname?.includes("/cash-management-solutions")) && serveYourClients.map(
@@ -272,29 +272,19 @@ function NavBar() {
272
272
  ]
273
273
  }
274
274
  ),
275
- /* @__PURE__ */ jsxs(
275
+ /* @__PURE__ */ jsx(
276
276
  "div",
277
277
  {
278
278
  className: clsx(styles.sub_menu, isOpenProducts1 && expand),
279
- children: [
280
- /* @__PURE__ */ jsx(
281
- "a",
282
- {
283
- href: "/scale-your-business",
284
- className: styles.main,
285
- role: "heading",
286
- children: "Scale Your Business Home"
287
- }
288
- ),
289
- /* @__PURE__ */ jsx(
290
- "a",
291
- {
292
- href: "/scale-your-business/unlock-independence",
293
- role: "menuitem",
294
- children: "Unlock Independence"
295
- }
296
- )
297
- ]
279
+ children: /* @__PURE__ */ jsx(
280
+ "a",
281
+ {
282
+ href: "/scale-your-business",
283
+ className: styles.main,
284
+ role: "heading",
285
+ children: "Scale Your Business Home"
286
+ }
287
+ )
298
288
  }
299
289
  )
300
290
  ]
@@ -296,7 +296,7 @@ td:has(.flex.middle span.img_fluid) .img_fluid {
296
296
  ._1nivbwew {
297
297
  border-radius: 0;
298
298
  overflow: auto;
299
- width: 100%;
299
+ width: auto;
300
300
  }
301
301
  ._1nivbwe12 tr:has(> :last-child:nth-child(-n + 3)) td {
302
302
  font-size: 14px;
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": "0.0.99",
4
+ "version": "0.0.100",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",