@axos-web-dev/shared-components 1.0.99-dev.20 → 1.0.99-dev.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.
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.d.ts +0 -1
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +1 -3
- package/dist/Calculators/AxosOneCalculator/index.d.ts +0 -3
- package/dist/Calculators/AxosOneCalculator/index.js +20 -48
- package/dist/Calculators/Calculator.d.ts +0 -2
- package/dist/Calculators/Calculator.js +2 -4
- package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +0 -12
- package/package.json +133 -133
|
@@ -19,7 +19,6 @@ var ax1_header_calc = "_11b2y8zb";
|
|
|
19
19
|
var ax1_calc_text = "_11b2y8zc";
|
|
20
20
|
var ax1_description_text = createRuntimeFn({ defaultClassName: "_11b2y8zd", variantClassNames: { variant: { primary: "_11b2y8ze", secondary: "_11b2y8zf", tertiary: "_11b2y8zg", quaternary: "_11b2y8zh" } }, defaultVariants: {}, compoundVariants: [] });
|
|
21
21
|
var ax1_calc_disclosure = createRuntimeFn({ defaultClassName: "_11b2y8zi", variantClassNames: { variant: { primary: "_11b2y8zj", secondary: "_11b2y8zk", tertiary: "_11b2y8zl", quaternary: "_11b2y8zm" } }, defaultVariants: {}, compoundVariants: [] });
|
|
22
|
-
var call_to_action_row = "_11b2y8zn";
|
|
23
22
|
export {
|
|
24
23
|
ax1_calc_disclosure,
|
|
25
24
|
ax1_calc_icon,
|
|
@@ -35,6 +34,5 @@ export {
|
|
|
35
34
|
ax1_input_container,
|
|
36
35
|
ax1_input_label,
|
|
37
36
|
ax1_m_label,
|
|
38
|
-
ax1_table_container
|
|
39
|
-
call_to_action_row
|
|
37
|
+
ax1_table_container
|
|
40
38
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React, FC } from 'react';
|
|
2
|
-
import { ChevronProps } from '../../Chevron/Chevron.interface';
|
|
3
2
|
|
|
4
3
|
export interface AxosOneCalculatorProps {
|
|
5
4
|
headline?: React.ReactNode | string;
|
|
@@ -7,7 +6,5 @@ export interface AxosOneCalculatorProps {
|
|
|
7
6
|
bodyCopy?: React.ReactNode | string;
|
|
8
7
|
disclosure: React.ReactNode | string;
|
|
9
8
|
variant: string;
|
|
10
|
-
initialBalance?: number;
|
|
11
|
-
callToActionRow?: ChevronProps[];
|
|
12
9
|
}
|
|
13
10
|
export declare const AxosOneCalculator: FC<AxosOneCalculatorProps>;
|
|
@@ -18,36 +18,25 @@ import { headerCell } from "../../Table/Table.css.js";
|
|
|
18
18
|
import "../../utils/allowedAxosDomains.js";
|
|
19
19
|
import { getVariant } from "../../utils/getVariant.js";
|
|
20
20
|
import clsx from "clsx";
|
|
21
|
-
import { ax1_calc_icon, ax1_header_container, ax1_header_calc, ax1_calc_text, ax1_description_text, ax1_calculator_wrapper, ax1_input_container, ax1_input_label, ax1_calculator_input, ax1_calculator_button, ax1_d_label, ax1_m_label, ax1_table_container,
|
|
21
|
+
import { ax1_calc_icon, ax1_header_container, ax1_header_calc, ax1_calc_text, ax1_description_text, ax1_calculator_wrapper, ax1_input_container, ax1_input_label, ax1_calculator_input, ax1_calculator_button, ax1_d_label, ax1_m_label, ax1_table_container, ax1_calc_disclosure, ax1_container } from "./BalanceAPYCalculator.css.js";
|
|
22
22
|
const AxosOneCalculator = ({
|
|
23
23
|
headline,
|
|
24
24
|
bodyCopy,
|
|
25
25
|
disclosure,
|
|
26
26
|
icon,
|
|
27
|
-
variant
|
|
28
|
-
initialBalance,
|
|
29
|
-
callToActionRow
|
|
27
|
+
variant
|
|
30
28
|
}) => {
|
|
31
29
|
const calc_variant = getVariant(variant);
|
|
32
30
|
const AXOS_ONE_APY = +process.env.NEXT_PUBLIC_AXOS_ONE_APY;
|
|
33
|
-
const
|
|
34
|
-
const [balance, setBalance] = useState(startingBalance);
|
|
31
|
+
const [balance, setBalance] = useState(1e4);
|
|
35
32
|
const [axbAPY, _setAxbAPY] = useState(AXOS_ONE_APY);
|
|
36
|
-
const [axbEarning, setAxbEarning] = useState(
|
|
37
|
-
AXOS_ONE_APY / 100 * startingBalance
|
|
38
|
-
);
|
|
33
|
+
const [axbEarning, setAxbEarning] = useState(AXOS_ONE_APY * 100);
|
|
39
34
|
const [chaseAPY, _setChaseAPY] = useState(0.01);
|
|
40
|
-
const [chaseEarning, setChaseEarning] = useState(
|
|
41
|
-
0.01 / 100 * startingBalance
|
|
42
|
-
);
|
|
35
|
+
const [chaseEarning, setChaseEarning] = useState(1);
|
|
43
36
|
const [bofaAPY, _setBofaAPY] = useState(0.01);
|
|
44
|
-
const [bofaEarning, setBofaEarning] = useState(
|
|
45
|
-
0.01 / 100 * startingBalance
|
|
46
|
-
);
|
|
37
|
+
const [bofaEarning, setBofaEarning] = useState(1);
|
|
47
38
|
const [fargoAPY, _setFargoAPY] = useState(0.05);
|
|
48
|
-
const [fargoEarning, setFargoEarning] = useState(
|
|
49
|
-
0.05 / 100 * startingBalance
|
|
50
|
-
);
|
|
39
|
+
const [fargoEarning, setFargoEarning] = useState(5);
|
|
51
40
|
const removeNonNumeric = (value) => {
|
|
52
41
|
if (value === "") {
|
|
53
42
|
value = "0";
|
|
@@ -70,19 +59,7 @@ const AxosOneCalculator = ({
|
|
|
70
59
|
setBalance(0);
|
|
71
60
|
}
|
|
72
61
|
};
|
|
73
|
-
|
|
74
|
-
if (Number.isInteger(value)) {
|
|
75
|
-
return value.toLocaleString(void 0, {
|
|
76
|
-
minimumFractionDigits: 0,
|
|
77
|
-
maximumFractionDigits: 0
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
return value.toLocaleString(void 0, {
|
|
81
|
-
minimumFractionDigits: 2,
|
|
82
|
-
maximumFractionDigits: 2
|
|
83
|
-
});
|
|
84
|
-
};
|
|
85
|
-
return /* @__PURE__ */ jsx("section", { className: clsx(ax1_container), id: "axoapycalc", children: /* @__PURE__ */ jsxs("div", { className: clsx("containment"), children: [
|
|
62
|
+
return /* @__PURE__ */ jsx("section", { className: clsx(ax1_container), children: /* @__PURE__ */ jsxs("div", { className: clsx("containment"), children: [
|
|
86
63
|
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", ax1_calc_icon), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
87
64
|
(headline || bodyCopy) && /* @__PURE__ */ jsxs("div", { className: `${ax1_header_container} text_center`, children: [
|
|
88
65
|
headline && /* @__PURE__ */ jsx("h2", { className: clsx("header_2", ax1_header_calc), children: headline }),
|
|
@@ -157,7 +134,9 @@ const AxosOneCalculator = ({
|
|
|
157
134
|
] }) }),
|
|
158
135
|
/* @__PURE__ */ jsx(TableCell, { variant: "primary", children: /* @__PURE__ */ jsxs("b", { children: [
|
|
159
136
|
"$",
|
|
160
|
-
|
|
137
|
+
axbEarning.toLocaleString(void 0, {
|
|
138
|
+
maximumFractionDigits: 2
|
|
139
|
+
})
|
|
161
140
|
] }) })
|
|
162
141
|
] }),
|
|
163
142
|
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
@@ -171,7 +150,9 @@ const AxosOneCalculator = ({
|
|
|
171
150
|
] }),
|
|
172
151
|
/* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
|
|
173
152
|
"$",
|
|
174
|
-
|
|
153
|
+
fargoEarning.toLocaleString(void 0, {
|
|
154
|
+
maximumFractionDigits: 2
|
|
155
|
+
})
|
|
175
156
|
] })
|
|
176
157
|
] }),
|
|
177
158
|
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
@@ -185,7 +166,9 @@ const AxosOneCalculator = ({
|
|
|
185
166
|
] }),
|
|
186
167
|
/* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
|
|
187
168
|
"$",
|
|
188
|
-
|
|
169
|
+
bofaEarning.toLocaleString(void 0, {
|
|
170
|
+
maximumFractionDigits: 2
|
|
171
|
+
})
|
|
189
172
|
] })
|
|
190
173
|
] }),
|
|
191
174
|
/* @__PURE__ */ jsxs(TableRow, { children: [
|
|
@@ -199,7 +182,9 @@ const AxosOneCalculator = ({
|
|
|
199
182
|
] }),
|
|
200
183
|
/* @__PURE__ */ jsxs(TableCell, { variant: "primary", children: [
|
|
201
184
|
"$",
|
|
202
|
-
|
|
185
|
+
chaseEarning.toLocaleString(void 0, {
|
|
186
|
+
maximumFractionDigits: 2
|
|
187
|
+
})
|
|
203
188
|
] })
|
|
204
189
|
] })
|
|
205
190
|
] })
|
|
@@ -207,19 +192,6 @@ const AxosOneCalculator = ({
|
|
|
207
192
|
}
|
|
208
193
|
)
|
|
209
194
|
] }),
|
|
210
|
-
Array.isArray(callToActionRow) && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${call_to_action_row}`, children: callToActionRow?.map(
|
|
211
|
-
({ id, variant: variant2, displayText, targetUrl }) => /* @__PURE__ */ jsx(
|
|
212
|
-
Button,
|
|
213
|
-
{
|
|
214
|
-
targetUrl,
|
|
215
|
-
color: getVariant(variant2),
|
|
216
|
-
size: "medium",
|
|
217
|
-
rounded: "medium",
|
|
218
|
-
children: displayText
|
|
219
|
-
},
|
|
220
|
-
id
|
|
221
|
-
)
|
|
222
|
-
) }),
|
|
223
195
|
disclosure && /* @__PURE__ */ jsx("div", { className: ax1_calc_disclosure({ variant: calc_variant }), children: disclosure })
|
|
224
196
|
] }) });
|
|
225
197
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IconBillboardProps } from '../IconBillboard/IconBillboard.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
4
3
|
|
|
5
4
|
export interface CalculatorProps {
|
|
6
5
|
id?: string;
|
|
@@ -12,6 +11,5 @@ export interface CalculatorProps {
|
|
|
12
11
|
bodyCopy?: React.ReactNode;
|
|
13
12
|
disclosure?: React.ReactNode;
|
|
14
13
|
marketingTiles?: IconBillboardProps[];
|
|
15
|
-
callToActionRow?: ChevronProps[];
|
|
16
14
|
}
|
|
17
15
|
export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -136,8 +136,7 @@ const Calculator = (props) => {
|
|
|
136
136
|
disclosure,
|
|
137
137
|
headline,
|
|
138
138
|
name,
|
|
139
|
-
marketingTiles
|
|
140
|
-
callToActionRow
|
|
139
|
+
marketingTiles
|
|
141
140
|
} = props;
|
|
142
141
|
const ref = useRef(null);
|
|
143
142
|
const iframe = calculators.get(name || "");
|
|
@@ -228,8 +227,7 @@ const Calculator = (props) => {
|
|
|
228
227
|
bodyCopy,
|
|
229
228
|
variant,
|
|
230
229
|
disclosure,
|
|
231
|
-
icon
|
|
232
|
-
callToActionRow
|
|
230
|
+
icon
|
|
233
231
|
}
|
|
234
232
|
);
|
|
235
233
|
} else if (name === "APY Balance Summit Savings") {
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, colSpan,
|
|
|
61
61
|
is?: string | undefined;
|
|
62
62
|
exportparts?: string | undefined;
|
|
63
63
|
part?: string | undefined;
|
|
64
|
-
popover?: "" | "auto" | "manual" | undefined;
|
|
64
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
65
65
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
66
66
|
popoverTarget?: string | undefined;
|
|
67
67
|
onToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
|
|
@@ -119,13 +119,6 @@
|
|
|
119
119
|
._11b2y8zm {
|
|
120
120
|
color: var(--_1073cm8n);
|
|
121
121
|
}
|
|
122
|
-
._11b2y8zn {
|
|
123
|
-
align-items: center;
|
|
124
|
-
display: flex;
|
|
125
|
-
justify-content: center;
|
|
126
|
-
margin-top: 2rem;
|
|
127
|
-
gap: 3rem;
|
|
128
|
-
}
|
|
129
122
|
@media screen and (max-width: 1023px) {
|
|
130
123
|
._11b2y8z0 > .containment {
|
|
131
124
|
max-width: 100%;
|
|
@@ -141,11 +134,6 @@
|
|
|
141
134
|
._11b2y8z3 {
|
|
142
135
|
font-size: 23px;
|
|
143
136
|
}
|
|
144
|
-
._11b2y8zn {
|
|
145
|
-
flex-direction: column;
|
|
146
|
-
gap: 1rem;
|
|
147
|
-
padding-bottom: 2rem;
|
|
148
|
-
}
|
|
149
137
|
}
|
|
150
138
|
@media screen and (max-width: 900px) {
|
|
151
139
|
._11b2y8z8 {
|
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.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.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
|
+
}
|