@axos-web-dev/shared-components 1.0.99-dev-7 → 1.0.99-dev-9
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.
|
@@ -26,12 +26,20 @@ const MonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy, showC
|
|
|
26
26
|
if (isNaN(numericValue)) {
|
|
27
27
|
return "";
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
if (showCurrency) {
|
|
30
|
+
return numericValue.toLocaleString("en-US", {
|
|
31
|
+
style: "currency",
|
|
32
|
+
currency: "USD",
|
|
33
|
+
minimumFractionDigits: 0,
|
|
34
|
+
maximumFractionDigits: 0
|
|
35
|
+
});
|
|
36
|
+
} else {
|
|
37
|
+
return numericValue.toLocaleString("en-US", {
|
|
38
|
+
minimumFractionDigits: 0,
|
|
39
|
+
maximumFractionDigits: 0,
|
|
40
|
+
useGrouping: true
|
|
41
|
+
});
|
|
42
|
+
}
|
|
35
43
|
};
|
|
36
44
|
const validateInputs = () => {
|
|
37
45
|
let isValid = true;
|
|
@@ -133,7 +141,11 @@ const MonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy, showC
|
|
|
133
141
|
className: `flex center text_center push_up_32 bottom ${inputs_container}`,
|
|
134
142
|
children: [
|
|
135
143
|
/* @__PURE__ */ jsxs("div", { className: `flex flex_col ${input_container}`, children: [
|
|
136
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ jsxs("label", { htmlFor: "loanAmount", id: "amount1", children: [
|
|
145
|
+
"Loan Amount",
|
|
146
|
+
" ",
|
|
147
|
+
showCurrency ? "$10,000 - $90,000" : "10,000 - 90,000"
|
|
148
|
+
] }),
|
|
137
149
|
/* @__PURE__ */ jsx(
|
|
138
150
|
"input",
|
|
139
151
|
{
|
|
@@ -250,10 +250,18 @@ const menuData = {
|
|
|
250
250
|
)
|
|
251
251
|
},
|
|
252
252
|
"Marine Loans": {
|
|
253
|
-
"Marine Loans Home":
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
"
|
|
253
|
+
"Marine Loans Home": findMoreAxosDomains(
|
|
254
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
255
|
+
),
|
|
256
|
+
"Find The Right Loan": findMoreAxosDomains(
|
|
257
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
258
|
+
),
|
|
259
|
+
"Apply Now": findMoreAxosDomains(
|
|
260
|
+
"{AXOSBANK}/personal/borrow/marine-loans/apply-now"
|
|
261
|
+
),
|
|
262
|
+
"Contact Us": findMoreAxosDomains(
|
|
263
|
+
"{AXOSBANK}/personal/borrow/marine-loans#AXB----Lets-Talk-LVF-for-AXB----Webform"
|
|
264
|
+
)
|
|
257
265
|
}
|
|
258
266
|
},
|
|
259
267
|
Invest: {
|
|
@@ -1443,7 +1443,9 @@ function SubNavBar() {
|
|
|
1443
1443
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1444
1444
|
Link,
|
|
1445
1445
|
{
|
|
1446
|
-
href:
|
|
1446
|
+
href: findMoreAxosDomains(
|
|
1447
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
1448
|
+
),
|
|
1447
1449
|
role: "heading",
|
|
1448
1450
|
children: "Marine Loans"
|
|
1449
1451
|
}
|
|
@@ -1451,21 +1453,27 @@ function SubNavBar() {
|
|
|
1451
1453
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1452
1454
|
Link,
|
|
1453
1455
|
{
|
|
1454
|
-
href:
|
|
1456
|
+
href: findMoreAxosDomains(
|
|
1457
|
+
"{AXOSBANK}/personal/borrow/marine-loans"
|
|
1458
|
+
),
|
|
1455
1459
|
children: "Find The Right Loan"
|
|
1456
1460
|
}
|
|
1457
1461
|
) }),
|
|
1458
1462
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1459
1463
|
Link,
|
|
1460
1464
|
{
|
|
1461
|
-
href:
|
|
1465
|
+
href: findMoreAxosDomains(
|
|
1466
|
+
"{AXOSBANK}/personal/borrow/marine-loans/apply-now"
|
|
1467
|
+
),
|
|
1462
1468
|
children: "Apply Now"
|
|
1463
1469
|
}
|
|
1464
1470
|
) }),
|
|
1465
1471
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1466
1472
|
Link,
|
|
1467
1473
|
{
|
|
1468
|
-
href:
|
|
1474
|
+
href: findMoreAxosDomains(
|
|
1475
|
+
"{AXOSBANK}/personal/borrow/marine-loans#AXB----Lets-Talk-LVF-for-AXB----Webform"
|
|
1476
|
+
),
|
|
1469
1477
|
children: "Contact Us"
|
|
1470
1478
|
}
|
|
1471
1479
|
) })
|
|
@@ -2071,7 +2079,7 @@ function SubNavBar() {
|
|
|
2071
2079
|
Link,
|
|
2072
2080
|
{
|
|
2073
2081
|
href: findMoreAxosDomains(
|
|
2074
|
-
"{AXOSBANK}/business/open-account-return-to-application#AXB----Return-
|
|
2082
|
+
"{AXOSBANK}/business/open-account-return-to-application#AXB----Return-To-My-Application----Icon-Billboard"
|
|
2075
2083
|
),
|
|
2076
2084
|
children: "Check Application Status"
|
|
2077
2085
|
}
|
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.99-dev-
|
|
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.99-dev-9",
|
|
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
|
+
}
|