@axos-web-dev/shared-components 0.0.183 → 0.0.185

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.
@@ -142,7 +142,7 @@ const CategorySelector = (props) => {
142
142
  },
143
143
  item.id
144
144
  )) : children }),
145
- /* @__PURE__ */ jsx("div", { className: clsx(selector_link_mobile), children: /* @__PURE__ */ jsx(
145
+ !hideLink && /* @__PURE__ */ jsx("div", { className: clsx(selector_link_mobile), children: /* @__PURE__ */ jsx(
146
146
  Chevron,
147
147
  {
148
148
  targetUrl: url,
@@ -2326,7 +2326,7 @@ function SubNavBar() {
2326
2326
  }
2327
2327
  ),
2328
2328
  /* @__PURE__ */ jsxs("ul", { className: `${styles.ml_8} list_unstyled`, children: [
2329
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("span", { role: "heading", children: "Other Resources" }) }),
2329
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Link, { href: "/business/support", role: "heading", children: "Other Resources" }) }),
2330
2330
  /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Link, { href: "/commercial/calculators", children: "Calculators" }) })
2331
2331
  ] })
2332
2332
  ] })
@@ -432,7 +432,9 @@ function NavBar() {
432
432
  children: /* @__PURE__ */ jsx(
433
433
  "a",
434
434
  {
435
- href: `https://onlinebanking.axosbank.com/auth/Login`,
435
+ href: findMoreAxosDomains(
436
+ "{ONLINEBANKING}/auth/Login"
437
+ ),
436
438
  role: "menuitem",
437
439
  children: "Account Login"
438
440
  }
@@ -489,7 +491,7 @@ function NavBar() {
489
491
  "a",
490
492
  {
491
493
  href: findMoreAxosDomains(
492
- "{AXOSBANK}/mwa-business-banking"
494
+ "{AXOSBANK}/business/mwa-business-banking"
493
495
  ),
494
496
  role: "menuitem",
495
497
  children: "MWA Business Banking"
@@ -967,17 +969,33 @@ function NavBar() {
967
969
  isOpenSignInToggle && expand
968
970
  ),
969
971
  children: [
970
- /* @__PURE__ */ jsx("span", { className: styles.main, role: "heading", children: "Personal" }),
971
972
  /* @__PURE__ */ jsx(
972
973
  "a",
973
974
  {
974
- href: "https://onlinebanking.axosbank.com/auth/Login",
975
+ href: findMoreAxosDomains("{AXOSBANK}/personal/bank"),
976
+ className: styles.main,
977
+ role: "heading",
978
+ children: "Personal"
979
+ }
980
+ ),
981
+ /* @__PURE__ */ jsx(
982
+ "a",
983
+ {
984
+ href: findMoreAxosDomains("{ONLINEBANKING}/auth/Login"),
975
985
  role: "menuitem",
976
986
  children: "Account Login"
977
987
  }
978
988
  ),
979
989
  /* @__PURE__ */ jsx("a", { href: "https://loanpayment.axosbank.com", role: "menuitem", children: "Make a Payment" }),
980
- /* @__PURE__ */ jsx("span", { className: styles.main, role: "heading", children: "Business" }),
990
+ /* @__PURE__ */ jsx(
991
+ "a",
992
+ {
993
+ href: findMoreAxosDomains("{AXOSBANK}/business"),
994
+ className: styles.main,
995
+ role: "heading",
996
+ children: "Business"
997
+ }
998
+ ),
981
999
  /* @__PURE__ */ jsx(
982
1000
  "a",
983
1001
  {
@@ -999,12 +1017,22 @@ function NavBar() {
999
1017
  /* @__PURE__ */ jsx(
1000
1018
  "a",
1001
1019
  {
1002
- href: findMoreAxosDomains("{AXOSBANK}/commercial-portal"),
1020
+ href: findMoreAxosDomains(
1021
+ "{AXOSBANK}/commercial/lending/commercial-portal"
1022
+ ),
1003
1023
  role: "menuitem",
1004
1024
  children: "Commercial Portal"
1005
1025
  }
1006
1026
  ),
1007
- /* @__PURE__ */ jsx("span", { className: styles.main, role: "heading", children: "Partners" }),
1027
+ /* @__PURE__ */ jsx(
1028
+ "a",
1029
+ {
1030
+ href: findMoreAxosDomains("{AXOSBANK}/partners"),
1031
+ className: styles.main,
1032
+ role: "heading",
1033
+ children: "Partners"
1034
+ }
1035
+ ),
1008
1036
  /* @__PURE__ */ jsx(
1009
1037
  "a",
1010
1038
  {
@@ -145,9 +145,7 @@ const Facebook = () => /* @__PURE__ */ jsx(
145
145
  Hyperlink,
146
146
  {
147
147
  "aria-label": "visit us on facebook",
148
- targetUrl: findMoreAxosDomains(
149
- "https://www.facebook.com/AxosBank/"
150
- ),
148
+ targetUrl: findMoreAxosDomains("https://www.facebook.com/AxosBank/"),
151
149
  children: /* @__PURE__ */ jsxs(
152
150
  "svg",
153
151
  {
@@ -262,9 +260,7 @@ const Instagram = () => /* @__PURE__ */ jsx(
262
260
  Hyperlink,
263
261
  {
264
262
  "aria-label": "visit us on instagram",
265
- targetUrl: findMoreAxosDomains(
266
- "https://www.instagram.com/axosbank/"
267
- ),
263
+ targetUrl: findMoreAxosDomains("https://www.instagram.com/axosbank/"),
268
264
  children: /* @__PURE__ */ jsxs(
269
265
  "svg",
270
266
  {
@@ -316,9 +312,7 @@ const LinkedIn = () => /* @__PURE__ */ jsx(
316
312
  Hyperlink,
317
313
  {
318
314
  "aria-label": "visit us on linked In",
319
- targetUrl: findMoreAxosDomains(
320
- "https://www.linkedin.com/company/axosbank"
321
- ),
315
+ targetUrl: findMoreAxosDomains("https://www.linkedin.com/company/axosbank"),
322
316
  children: /* @__PURE__ */ jsxs(
323
317
  "svg",
324
318
  {
@@ -364,9 +358,7 @@ const Libsyn = () => /* @__PURE__ */ jsx(
364
358
  Hyperlink,
365
359
  {
366
360
  "aria-label": "visit us on lisyn",
367
- targetUrl: findMoreAxosDomains(
368
- "https://moneyevolved.libsyn.com/"
369
- ),
361
+ targetUrl: findMoreAxosDomains("https://moneyevolved.libsyn.com/"),
370
362
  children: /* @__PURE__ */ jsxs(
371
363
  "svg",
372
364
  {
@@ -406,9 +398,7 @@ const Pinterest = () => /* @__PURE__ */ jsx(
406
398
  Hyperlink,
407
399
  {
408
400
  "aria-label": "visit us on Pinterest",
409
- targetUrl: findMoreAxosDomains(
410
- "https://www.pinterest.com/axosbank/"
411
- ),
401
+ targetUrl: findMoreAxosDomains("https://www.pinterest.com/axosbank/"),
412
402
  children: /* @__PURE__ */ jsxs(
413
403
  "svg",
414
404
  {
@@ -486,9 +476,7 @@ const Youtube = () => /* @__PURE__ */ jsx(
486
476
  Hyperlink,
487
477
  {
488
478
  "aria-label": "visit us on youtube",
489
- targetUrl: findMoreAxosDomains(
490
- "https://www.youtube.com/axosbank"
491
- ),
479
+ targetUrl: findMoreAxosDomains("https://www.youtube.com/axosbank"),
492
480
  children: /* @__PURE__ */ jsxs(
493
481
  "svg",
494
482
  {
@@ -526,9 +514,7 @@ const Xtwitter = () => /* @__PURE__ */ jsx(
526
514
  Hyperlink,
527
515
  {
528
516
  "aria-label": "visit us on X, formely twitter",
529
- targetUrl: findMoreAxosDomains(
530
- "https://x.com/axosbank"
531
- ),
517
+ targetUrl: findMoreAxosDomains("https://x.com/axosbank"),
532
518
  children: /* @__PURE__ */ jsxs(
533
519
  "svg",
534
520
  {
@@ -39,7 +39,7 @@ const VideoTile = ({
39
39
  /* @__PURE__ */ jsx(VideoInit, {}),
40
40
  /* @__PURE__ */ jsxs("div", { className: `containment ${video_container} flex_col`, children: [
41
41
  title && /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title }),
42
- description && /* @__PURE__ */ jsx("div", { className: "push_up", children: description }),
42
+ description && /* @__PURE__ */ jsx("div", { className: "push_up mb_32 text_center", children: description }),
43
43
  /* @__PURE__ */ jsx(
44
44
  "div",
45
45
  {
package/package.json CHANGED
@@ -1,130 +1,130 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "0.0.183",
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.9.1",
33
- "@react-input/mask": "^1.2.15",
34
- "@react-input/number-format": "^1.1.3",
35
- "@storybook/icons": "^1.3.0",
36
- "@storybook/preview-api": "^8.4.7",
37
- "@types/iframe-resizer": "3.5.13",
38
- "@vanilla-extract/css": "^1.16.1",
39
- "@vanilla-extract/recipes": "^0.5.1",
40
- "antd": "^5.22.5",
41
- "clsx": "^2.1.1",
42
- "iframe-resizer": "^3.6.6",
43
- "lodash": "^4.17.21",
44
- "moment": "^2.30.1",
45
- "react-date-picker": "^11.0.0",
46
- "react-date-range": "^2.0.1",
47
- "react-hook-form": "^7.54.1",
48
- "react-markdown": "^9.0.1",
49
- "react-popper": "^2.3.0",
50
- "react-slick": "^0.30.2",
51
- "react-use": "^17.6.0",
52
- "react-wrap-balancer": "^1.1.1",
53
- "rsuite": "^5.75.0",
54
- "slick-carousel": "^1.8.1",
55
- "typed-css-modules": "^0.9.1",
56
- "vite-plugin-svgr": "^4.3.0",
57
- "zod": "^3.24.1",
58
- "zustand": "^4.5.5"
59
- },
60
- "peerDependencies": {
61
- "@vanilla-extract/css-utils": "^0.1.3",
62
- "@vanilla-extract/recipes": "^0.5.1",
63
- "@vanilla-extract/vite-plugin": "^4.0.3",
64
- "next": "^14.1.4",
65
- "react": "^18.2.0",
66
- "react-date-range": "^2.0.1",
67
- "react-dom": "^18.2.0",
68
- "react-popper": "^2.3.0",
69
- "react-slick": "^0.30.2",
70
- "slick-carousel": "^1.8.1"
71
- },
72
- "devDependencies": {
73
- "@chromatic-com/storybook": "^1.9.0",
74
- "@rollup/plugin-alias": "^5.1.1",
75
- "@storybook/addon-essentials": "^8.4.7",
76
- "@storybook/addon-interactions": "^8.4.7",
77
- "@storybook/addon-links": "^8.4.7",
78
- "@storybook/addon-mdx-gfm": "^8.4.7",
79
- "@storybook/addon-onboarding": "^8.4.7",
80
- "@storybook/addon-themes": "^8.4.7",
81
- "@storybook/blocks": "^8.4.7",
82
- "@storybook/react": "^8.4.7",
83
- "@storybook/react-vite": "^8.4.7",
84
- "@storybook/test": "^8.4.7",
85
- "@svgr/core": "^8.1.0",
86
- "@svgr/plugin-prettier": "^8.1.0",
87
- "@svgr/plugin-svgo": "^8.1.0",
88
- "@types/lodash": "^4.17.13",
89
- "@types/node": "^20.17.10",
90
- "@types/react": "^18.3.17",
91
- "@types/react-date-range": "^1.4.9",
92
- "@types/react-datepicker": "^6.2.0",
93
- "@types/react-dom": "^18.3.5",
94
- "@types/react-slick": "^0.23.13",
95
- "@typescript-eslint/eslint-plugin": "^7.18.0",
96
- "@typescript-eslint/parser": "^7.18.0",
97
- "@vanilla-extract/css-utils": "^0.1.4",
98
- "@vanilla-extract/recipes": "^0.5.5",
99
- "@vanilla-extract/vite-plugin": "^4.0.18",
100
- "@vitejs/plugin-react-swc": "^3.7.2",
101
- "esbuild-vanilla-image-loader": "^0.1.3",
102
- "eslint": "^8.57.1",
103
- "eslint-plugin-react-hooks": "^4.6.2",
104
- "eslint-plugin-react-refresh": "^0.4.16",
105
- "eslint-plugin-storybook": "^0.8.0",
106
- "glob": "^10.4.5",
107
- "husky": "^9.1.7",
108
- "next": "^14.1.4",
109
- "prettier": "3.2.5",
110
- "react": "^18.3.1",
111
- "react-dom": "^18.3.1",
112
- "rollup-plugin-preserve-directives": "^0.4.0",
113
- "rollup-plugin-svg-import": "^3.0.0",
114
- "rollup-plugin-svgo": "^2.0.0",
115
- "storybook": "^8.4.7",
116
- "typescript": "^5.7.2",
117
- "typescript-plugin-css-modules": "^5.1.0",
118
- "vite": "^5.4.11",
119
- "vite-plugin-dts": "^3.9.1",
120
- "vite-plugin-lib-inject-css": "^2.1.1",
121
- "vite-plugin-setting-css-module": "^1.1.4",
122
- "vite-tsconfig-paths": "^4.3.2"
123
- },
124
- "main": "index.js",
125
- "directories": {
126
- "lib": "lib"
127
- },
128
- "author": "axos-web-dev",
129
- "license": "ISC"
130
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "0.0.185",
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.9.1",
33
+ "@react-input/mask": "^1.2.15",
34
+ "@react-input/number-format": "^1.1.3",
35
+ "@storybook/icons": "^1.3.0",
36
+ "@storybook/preview-api": "^8.4.7",
37
+ "@types/iframe-resizer": "3.5.13",
38
+ "@vanilla-extract/css": "^1.16.1",
39
+ "@vanilla-extract/recipes": "^0.5.1",
40
+ "antd": "^5.22.5",
41
+ "clsx": "^2.1.1",
42
+ "iframe-resizer": "^3.6.6",
43
+ "lodash": "^4.17.21",
44
+ "moment": "^2.30.1",
45
+ "react-date-picker": "^11.0.0",
46
+ "react-date-range": "^2.0.1",
47
+ "react-hook-form": "^7.54.1",
48
+ "react-markdown": "^9.0.1",
49
+ "react-popper": "^2.3.0",
50
+ "react-slick": "^0.30.2",
51
+ "react-use": "^17.6.0",
52
+ "react-wrap-balancer": "^1.1.1",
53
+ "rsuite": "^5.75.0",
54
+ "slick-carousel": "^1.8.1",
55
+ "typed-css-modules": "^0.9.1",
56
+ "vite-plugin-svgr": "^4.3.0",
57
+ "zod": "^3.24.1",
58
+ "zustand": "^4.5.5"
59
+ },
60
+ "peerDependencies": {
61
+ "@vanilla-extract/css-utils": "^0.1.3",
62
+ "@vanilla-extract/recipes": "^0.5.1",
63
+ "@vanilla-extract/vite-plugin": "^4.0.3",
64
+ "next": "^14.1.4",
65
+ "react": "^18.2.0",
66
+ "react-date-range": "^2.0.1",
67
+ "react-dom": "^18.2.0",
68
+ "react-popper": "^2.3.0",
69
+ "react-slick": "^0.30.2",
70
+ "slick-carousel": "^1.8.1"
71
+ },
72
+ "devDependencies": {
73
+ "@chromatic-com/storybook": "^1.9.0",
74
+ "@rollup/plugin-alias": "^5.1.1",
75
+ "@storybook/addon-essentials": "^8.4.7",
76
+ "@storybook/addon-interactions": "^8.4.7",
77
+ "@storybook/addon-links": "^8.4.7",
78
+ "@storybook/addon-mdx-gfm": "^8.4.7",
79
+ "@storybook/addon-onboarding": "^8.4.7",
80
+ "@storybook/addon-themes": "^8.4.7",
81
+ "@storybook/blocks": "^8.4.7",
82
+ "@storybook/react": "^8.4.7",
83
+ "@storybook/react-vite": "^8.4.7",
84
+ "@storybook/test": "^8.4.7",
85
+ "@svgr/core": "^8.1.0",
86
+ "@svgr/plugin-prettier": "^8.1.0",
87
+ "@svgr/plugin-svgo": "^8.1.0",
88
+ "@types/lodash": "^4.17.13",
89
+ "@types/node": "^20.17.10",
90
+ "@types/react": "^18.3.17",
91
+ "@types/react-date-range": "^1.4.9",
92
+ "@types/react-datepicker": "^6.2.0",
93
+ "@types/react-dom": "^18.3.5",
94
+ "@types/react-slick": "^0.23.13",
95
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
96
+ "@typescript-eslint/parser": "^7.18.0",
97
+ "@vanilla-extract/css-utils": "^0.1.4",
98
+ "@vanilla-extract/recipes": "^0.5.5",
99
+ "@vanilla-extract/vite-plugin": "^4.0.18",
100
+ "@vitejs/plugin-react-swc": "^3.7.2",
101
+ "esbuild-vanilla-image-loader": "^0.1.3",
102
+ "eslint": "^8.57.1",
103
+ "eslint-plugin-react-hooks": "^4.6.2",
104
+ "eslint-plugin-react-refresh": "^0.4.16",
105
+ "eslint-plugin-storybook": "^0.8.0",
106
+ "glob": "^10.4.5",
107
+ "husky": "^9.1.7",
108
+ "next": "^14.1.4",
109
+ "prettier": "3.2.5",
110
+ "react": "^18.3.1",
111
+ "react-dom": "^18.3.1",
112
+ "rollup-plugin-preserve-directives": "^0.4.0",
113
+ "rollup-plugin-svg-import": "^3.0.0",
114
+ "rollup-plugin-svgo": "^2.0.0",
115
+ "storybook": "^8.4.7",
116
+ "typescript": "^5.7.2",
117
+ "typescript-plugin-css-modules": "^5.1.0",
118
+ "vite": "^5.4.11",
119
+ "vite-plugin-dts": "^3.9.1",
120
+ "vite-plugin-lib-inject-css": "^2.1.1",
121
+ "vite-plugin-setting-css-module": "^1.1.4",
122
+ "vite-tsconfig-paths": "^4.3.2"
123
+ },
124
+ "main": "index.js",
125
+ "directories": {
126
+ "lib": "lib"
127
+ },
128
+ "author": "axos-web-dev",
129
+ "license": "ISC"
130
+ }