@axos-web-dev/shared-components 1.0.21 → 1.0.22
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.
|
@@ -636,7 +636,7 @@ const BuyDownCalculator = ({
|
|
|
636
636
|
id: "mooringOutsideContinentalUS",
|
|
637
637
|
...register("mooringOutsideContinentalUS"),
|
|
638
638
|
value: 0.5,
|
|
639
|
-
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\
|
|
639
|
+
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\n +0.500",
|
|
640
640
|
groupName: "dependentInputs",
|
|
641
641
|
disabled: disableMooringOutside
|
|
642
642
|
}
|
|
@@ -56,7 +56,7 @@ const ModalWrapper = ({
|
|
|
56
56
|
onClose();
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */ jsx("div", { className: exit_intent_backdrop, role: "presentation", children: /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ jsx("div", { className: exit_intent_backdrop, role: "presentation", children: /* @__PURE__ */ jsx(
|
|
60
60
|
"div",
|
|
61
61
|
{
|
|
62
62
|
className: exit_intent,
|
|
@@ -65,18 +65,18 @@ const ModalWrapper = ({
|
|
|
65
65
|
"aria-modal": "true",
|
|
66
66
|
"aria-labelledby": "exit-intent-heading",
|
|
67
67
|
"aria-describedby": "exit-intent-description",
|
|
68
|
-
children: [
|
|
68
|
+
children: /* @__PURE__ */ jsxs("div", { ref: wrapperRef, className: "relative", children: [
|
|
69
69
|
/* @__PURE__ */ jsx(
|
|
70
70
|
"button",
|
|
71
71
|
{
|
|
72
72
|
"aria-label": "Close modal",
|
|
73
73
|
className: modal_close_button,
|
|
74
74
|
onClick: onClose,
|
|
75
|
-
children: "
|
|
75
|
+
children: "X"
|
|
76
76
|
}
|
|
77
77
|
),
|
|
78
|
-
|
|
79
|
-
]
|
|
78
|
+
children
|
|
79
|
+
] })
|
|
80
80
|
}
|
|
81
81
|
) });
|
|
82
82
|
};
|
|
@@ -217,7 +217,7 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
|
217
217
|
box-sizing: border-box;
|
|
218
218
|
}
|
|
219
219
|
._1m7m2a13 {
|
|
220
|
-
width: 100
|
|
220
|
+
width: min(1214px, 100%);
|
|
221
221
|
}
|
|
222
222
|
._1m7m2a13 .billboard {
|
|
223
223
|
animation: fadeIn 0.3s ease-in-out;
|
|
@@ -238,21 +238,22 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
|
238
238
|
}
|
|
239
239
|
._1m7m2a14 {
|
|
240
240
|
position: absolute;
|
|
241
|
-
top:
|
|
242
|
-
right:
|
|
243
|
-
background: #
|
|
241
|
+
top: 0.9rem;
|
|
242
|
+
right: 2.85rem;
|
|
243
|
+
background: #fAA74A;
|
|
244
244
|
border: none;
|
|
245
245
|
border-radius: 8px;
|
|
246
|
-
color: #
|
|
246
|
+
color: #1E3860;
|
|
247
247
|
cursor: pointer;
|
|
248
248
|
font-family: var(--header-font-family);
|
|
249
|
-
font-size:
|
|
249
|
+
font-size: 0.9rem;
|
|
250
250
|
font-weight: 600;
|
|
251
251
|
line-height: 1;
|
|
252
|
-
padding:
|
|
252
|
+
padding: 5px 9px;
|
|
253
|
+
z-index: 2;
|
|
253
254
|
}
|
|
254
255
|
._1m7m2a14:focus {
|
|
255
|
-
outline: 2px solid #
|
|
256
|
+
outline: 2px solid #fAA74A;
|
|
256
257
|
outline-offset: 2px;
|
|
257
258
|
}
|
|
258
259
|
@media screen and (max-width:1023px) {
|
|
@@ -310,6 +311,10 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
|
310
311
|
main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
311
312
|
margin-bottom: 42px;
|
|
312
313
|
}
|
|
314
|
+
._1m7m2a13 {
|
|
315
|
+
width: min(592px, 100%);
|
|
316
|
+
margin-inline: auto;
|
|
317
|
+
}
|
|
313
318
|
._1m7m2a13 .billboard {
|
|
314
319
|
padding: 32px;
|
|
315
320
|
width: min(33rem, calc(100% - 2rem));
|
|
@@ -317,6 +322,10 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
|
317
322
|
._1m7m2a13 ._1m7m2aj img {
|
|
318
323
|
object-fit: cover;
|
|
319
324
|
}
|
|
325
|
+
._1m7m2a14 {
|
|
326
|
+
top: 0.9rem;
|
|
327
|
+
right: 2.85rem;
|
|
328
|
+
}
|
|
320
329
|
}
|
|
321
330
|
@media screen and (max-width: 768px) {
|
|
322
331
|
._1m7m2au {
|
|
@@ -373,4 +382,9 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
|
|
|
373
382
|
._1m7m2a13 .billboard:not(.reversed) {
|
|
374
383
|
flex-direction: column-reverse;
|
|
375
384
|
}
|
|
385
|
+
}
|
|
386
|
+
@media screen and (max-width: 550px) {
|
|
387
|
+
._1m7m2a14 {
|
|
388
|
+
right: 1.65rem;
|
|
389
|
+
}
|
|
376
390
|
}
|
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.22",
|
|
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
|
+
}
|