@axos-web-dev/shared-components 1.0.23 → 1.0.25
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.
|
@@ -138,7 +138,7 @@ const ATMLocator = (props) => {
|
|
|
138
138
|
"iframe",
|
|
139
139
|
{
|
|
140
140
|
id: "atmlocator",
|
|
141
|
-
src: "https://axosbank.locatorsearch.
|
|
141
|
+
src: "https://axosbank.locatorsearch.net",
|
|
142
142
|
height: "1000",
|
|
143
143
|
width: "100%",
|
|
144
144
|
name: "atmlocator",
|
|
@@ -147,7 +147,7 @@ const ATMLocator = (props) => {
|
|
|
147
147
|
allow: "geolocation",
|
|
148
148
|
scrolling: "no",
|
|
149
149
|
title: "LocatorSearch",
|
|
150
|
-
children: "Your browser
|
|
150
|
+
children: "Your browser does not support iframes"
|
|
151
151
|
}
|
|
152
152
|
) }),
|
|
153
153
|
/* @__PURE__ */ jsx("div", { className: clsx(calculator_description({ variant })), children: disclosure })
|
|
@@ -6,6 +6,6 @@ export type ContactUsBusinessNmlsIdInputs = {
|
|
|
6
6
|
Business_Name__c: string;
|
|
7
7
|
email: string;
|
|
8
8
|
phone: string;
|
|
9
|
-
|
|
9
|
+
Company_NMLS_ID__c: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const ContactUsBusiness: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -149,7 +149,7 @@ const ContactUsBusiness = ({
|
|
|
149
149
|
return removeDashes;
|
|
150
150
|
}),
|
|
151
151
|
Business_Name__c: z.string().min(1),
|
|
152
|
-
|
|
152
|
+
Company_NMLS_ID__c: z.string().min(6).max(7)
|
|
153
153
|
});
|
|
154
154
|
const methods = useForm({
|
|
155
155
|
resolver: zodResolver(
|
|
@@ -272,8 +272,8 @@ const ContactUsBusiness = ({
|
|
|
272
272
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
273
273
|
Input,
|
|
274
274
|
{
|
|
275
|
-
id: "
|
|
276
|
-
...register("
|
|
275
|
+
id: "Company_NMLS_ID__c",
|
|
276
|
+
...register("Company_NMLS_ID__c", {
|
|
277
277
|
required: true,
|
|
278
278
|
min: 6,
|
|
279
279
|
max: 7
|
|
@@ -282,8 +282,8 @@ const ContactUsBusiness = ({
|
|
|
282
282
|
placeholder: "Company NMLS ID",
|
|
283
283
|
sizes: "medium",
|
|
284
284
|
required: true,
|
|
285
|
-
error: !!errors.
|
|
286
|
-
helperText: errors.
|
|
285
|
+
error: !!errors.Company_NMLS_ID__c,
|
|
286
|
+
helperText: errors.Company_NMLS_ID__c?.message,
|
|
287
287
|
variant
|
|
288
288
|
}
|
|
289
289
|
) })
|
package/dist/assets/globals.css
CHANGED
|
@@ -259,6 +259,11 @@ p:empty, ul:empty {
|
|
|
259
259
|
width: calc(100% - 2rem);
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
+
@media screen and (max-width:1280px) {
|
|
263
|
+
.header_2 {
|
|
264
|
+
font-size: 2rem;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
262
267
|
@media screen and (max-width:768px) {
|
|
263
268
|
.header_1 {
|
|
264
269
|
font-size: 28px;
|
|
@@ -274,11 +279,6 @@ p:empty, ul:empty {
|
|
|
274
279
|
margin-bottom: 1.5rem;
|
|
275
280
|
}
|
|
276
281
|
}
|
|
277
|
-
@media screen and (max-width:1280px) {
|
|
278
|
-
.header_2 {
|
|
279
|
-
font-size: 2rem;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
282
|
@media screen and (max-width:320px) {
|
|
283
283
|
.header_1 {
|
|
284
284
|
font-size: 25px;
|
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": "1.0.
|
|
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.2",
|
|
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.18",
|
|
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": "1.0.25",
|
|
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.2",
|
|
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.18",
|
|
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
|
+
}
|