@eml-payments/ui-kit 1.8.1 → 1.8.2

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.
Files changed (37) hide show
  1. package/dist/index.css +2 -2
  2. package/dist/src/assets/index.d.ts +2 -0
  3. package/dist/src/assets/index.js +3 -0
  4. package/dist/src/assets/index.ts +3 -0
  5. package/dist/src/components/Checkbox/Checkbox.js +1 -1
  6. package/dist/src/components/DatePicker/index.d.ts +1 -1
  7. package/dist/src/components/Filters/FilterSelect.d.ts +21 -0
  8. package/dist/src/components/Filters/FilterSelect.js +11 -0
  9. package/dist/src/components/Filters/Filters.d.ts +3 -0
  10. package/dist/src/components/Filters/Filters.js +35 -0
  11. package/dist/src/components/Filters/Filters.stories.d.ts +12 -0
  12. package/dist/src/components/Filters/Filters.stories.js +235 -0
  13. package/dist/src/components/Filters/Filters.types.d.ts +27 -0
  14. package/dist/src/components/Filters/Filters.types.js +3 -0
  15. package/dist/src/components/Filters/index.d.ts +2 -0
  16. package/dist/src/components/Filters/index.js +1 -0
  17. package/dist/src/components/index.d.ts +1 -0
  18. package/dist/src/components/index.js +1 -0
  19. package/package.json +132 -131
  20. package/dist/index.d.cts +0 -488
  21. package/dist/index.d.ts +0 -488
  22. package/dist/src/components/Table/BaseTable/index.d.ts +0 -1
  23. package/dist/src/components/Table/BaseTable/index.js +0 -1
  24. package/dist/src/components/Table/Pagination/PaginationControls.d.ts +0 -3
  25. package/dist/src/components/Table/Pagination/PaginationControls.js +0 -22
  26. package/dist/src/components/Table/Pagination/PaginationControls.types.d.ts +0 -24
  27. package/dist/src/components/Table/Pagination/PaginationControls.types.js +0 -1
  28. package/dist/src/components/Table/Table.d.ts +0 -4
  29. package/dist/src/components/Table/Table.js +0 -93
  30. package/dist/src/components/Table/Table.stories.d.ts +0 -31
  31. package/dist/src/components/Table/Table.stories.js +0 -479
  32. package/dist/src/components/Table/hooks/useInfiniteScrolling.d.ts +0 -29
  33. package/dist/src/components/Table/hooks/useInfiniteScrolling.js +0 -96
  34. package/dist/src/components/Table/hooks/usePaginationController.d.ts +0 -16
  35. package/dist/src/components/Table/hooks/usePaginationController.js +0 -30
  36. package/dist/src/components/Table/hooks/useTableController.d.ts +0 -26
  37. package/dist/src/components/Table/hooks/useTableController.js +0 -146
@@ -0,0 +1,235 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { Filters } from './Filters';
4
+ import { dayjs } from '../../utils/dayjs';
5
+ const meta = {
6
+ title: 'UIKit/Filters',
7
+ component: Filters,
8
+ tags: ['autodocs'],
9
+ args: {
10
+ onChange: (values) => console.log('Filters changed:', values),
11
+ },
12
+ };
13
+ // Sample data for filter options
14
+ const selectOptions = [
15
+ { label: 'Active', value: 'active' },
16
+ { label: 'Inactive', value: 'inactive' },
17
+ { label: 'Pending', value: 'pending' },
18
+ ];
19
+ const statusOptions = [
20
+ { label: 'Approved', value: 'approved' },
21
+ { label: 'Rejected', value: 'rejected' },
22
+ { label: 'Under Review', value: 'under-review' },
23
+ ];
24
+ export const Default = {
25
+ args: {
26
+ filters: [
27
+ {
28
+ type: 'dateRange',
29
+ name: 'dateRange',
30
+ rangeDateFormat: 'D MMM YY',
31
+ placeholder: `${dayjs().subtract(6, 'month').format('D MMM YY')} - Today`,
32
+ },
33
+ {
34
+ type: 'select',
35
+ name: 'status',
36
+ label: 'Status',
37
+ options: selectOptions,
38
+ placeholder: 'Select status...',
39
+ },
40
+ {
41
+ type: 'checkbox',
42
+ name: 'active',
43
+ label: 'Active Only',
44
+ },
45
+ ],
46
+ },
47
+ render: (args) => {
48
+ const [values, setValues] = useState({});
49
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
50
+ var _a;
51
+ setValues(newValues);
52
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
53
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Current Values:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
54
+ },
55
+ };
56
+ export const DateRangeOnly = {
57
+ args: {
58
+ filters: [
59
+ {
60
+ type: 'dateRange',
61
+ name: 'dateRange',
62
+ rangeDateFormat: 'D MMM YY',
63
+ placeholder: `${dayjs().subtract(1, 'month').format('D MMM YY')} - Today`,
64
+ },
65
+ ],
66
+ },
67
+ render: (args) => {
68
+ const [values, setValues] = useState({});
69
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
70
+ var _a;
71
+ setValues(newValues);
72
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
73
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Selected Dates:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
74
+ },
75
+ };
76
+ export const SelectOnly = {
77
+ args: {
78
+ filters: [
79
+ {
80
+ type: 'select',
81
+ name: 'status',
82
+ label: 'Filter by Status',
83
+ options: statusOptions,
84
+ placeholder: 'Choose a status...',
85
+ },
86
+ ],
87
+ },
88
+ render: (args) => {
89
+ const [values, setValues] = useState({});
90
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
91
+ var _a;
92
+ setValues(newValues);
93
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
94
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Selected Value:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
95
+ },
96
+ };
97
+ export const CheckboxOnly = {
98
+ args: {
99
+ filters: [
100
+ {
101
+ type: 'checkbox',
102
+ name: 'verified',
103
+ label: 'Verified Only',
104
+ },
105
+ {
106
+ type: 'checkbox',
107
+ name: 'archived',
108
+ label: 'Show Archived',
109
+ },
110
+ ],
111
+ },
112
+ render: (args) => {
113
+ const [values, setValues] = useState({});
114
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
115
+ var _a;
116
+ setValues(newValues);
117
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
118
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Checked Items:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
119
+ },
120
+ };
121
+ export const WithDefaultValues = {
122
+ args: {
123
+ filters: [
124
+ {
125
+ type: 'select',
126
+ name: 'category',
127
+ label: 'Category',
128
+ options: [
129
+ { label: 'Electronics', value: 'electronics' },
130
+ { label: 'Clothing', value: 'clothing' },
131
+ { label: 'Food', value: 'food' },
132
+ ],
133
+ placeholder: 'Select category...',
134
+ },
135
+ {
136
+ type: 'checkbox',
137
+ name: 'inStock',
138
+ label: 'In Stock Only',
139
+ },
140
+ ],
141
+ defaultValues: {
142
+ category: 'electronics',
143
+ inStock: true,
144
+ },
145
+ },
146
+ render: (args) => {
147
+ const [values, setValues] = useState(args.defaultValues || {});
148
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
149
+ var _a;
150
+ setValues(newValues);
151
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
152
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Current Values:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
153
+ },
154
+ };
155
+ export const MultipleSelects = {
156
+ args: {
157
+ filters: [
158
+ {
159
+ type: 'select',
160
+ name: 'department',
161
+ label: 'Department',
162
+ options: [
163
+ { label: 'Sales', value: 'sales' },
164
+ { label: 'Engineering', value: 'engineering' },
165
+ { label: 'HR', value: 'hr' },
166
+ { label: 'Finance', value: 'finance' },
167
+ ],
168
+ placeholder: 'Select department...',
169
+ },
170
+ {
171
+ type: 'select',
172
+ name: 'region',
173
+ label: 'Region',
174
+ options: [
175
+ { label: 'North America', value: 'na' },
176
+ { label: 'Europe', value: 'eu' },
177
+ { label: 'Asia', value: 'asia' },
178
+ { label: 'Australia', value: 'au' },
179
+ ],
180
+ placeholder: 'Select region...',
181
+ },
182
+ ],
183
+ },
184
+ render: (args) => {
185
+ const [values, setValues] = useState({});
186
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
187
+ var _a;
188
+ setValues(newValues);
189
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
190
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Selected Filters:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
191
+ },
192
+ };
193
+ export const ComplexFilters = {
194
+ args: {
195
+ filters: [
196
+ {
197
+ type: 'dateRange',
198
+ name: 'createdDate',
199
+ rangeDateFormat: 'D MMM YY',
200
+ placeholder: `${dayjs().subtract(3, 'month').format('D MMM YY')} - Today`,
201
+ },
202
+ {
203
+ type: 'select',
204
+ name: 'priority',
205
+ label: 'Priority',
206
+ options: [
207
+ { label: 'Low', value: 'low' },
208
+ { label: 'Medium', value: 'medium' },
209
+ { label: 'High', value: 'high' },
210
+ { label: 'Critical', value: 'critical' },
211
+ ],
212
+ placeholder: 'Select priority...',
213
+ },
214
+ {
215
+ type: 'checkbox',
216
+ name: 'urgent',
217
+ label: 'Urgent Only',
218
+ },
219
+ {
220
+ type: 'checkbox',
221
+ name: 'assigned',
222
+ label: 'Assigned to Me',
223
+ },
224
+ ],
225
+ },
226
+ render: (args) => {
227
+ const [values, setValues] = useState({});
228
+ return (_jsxs("div", { children: [_jsx(Filters, { ...args, onChange: (newValues) => {
229
+ var _a;
230
+ setValues(newValues);
231
+ (_a = args.onChange) === null || _a === void 0 ? void 0 : _a.call(args, newValues);
232
+ } }), _jsxs("div", { className: "mt-4 rounded border border-gray-200 bg-gray-50 p-4", children: [_jsx("p", { className: "text-sm font-semibold", children: "Applied Filters:" }), _jsx("pre", { className: "mt-2 text-xs", children: JSON.stringify(values, null, 2) })] })] }));
233
+ },
234
+ };
235
+ export default meta;
@@ -0,0 +1,27 @@
1
+ import type { DatePickerProps } from '../DatePicker';
2
+ import type { CheckboxProps } from '../Checkbox';
3
+ import type { FilterSelectProps } from './FilterSelect';
4
+ export declare const DATE_RANGE_TYPE = "dateRange";
5
+ export declare const SELECT_TYPE = "select";
6
+ export declare const CHECKBOX_TYPE = "checkbox";
7
+ export type FilterType = typeof DATE_RANGE_TYPE | typeof SELECT_TYPE | typeof CHECKBOX_TYPE;
8
+ type DateRangeFilterOption = Omit<DatePickerProps, 'type'> & {
9
+ type: typeof DATE_RANGE_TYPE;
10
+ name: string;
11
+ };
12
+ type SelectFilterOption = Omit<FilterSelectProps, 'value' | 'onValueChange'> & {
13
+ type: typeof SELECT_TYPE;
14
+ name: string;
15
+ label?: string;
16
+ };
17
+ type CheckboxFilterOption = Omit<CheckboxProps, 'type'> & {
18
+ type: typeof CHECKBOX_TYPE;
19
+ name: string;
20
+ };
21
+ export type FilterConfigType = DateRangeFilterOption | SelectFilterOption | CheckboxFilterOption;
22
+ export type FiltersProps = {
23
+ filters: FilterConfigType[];
24
+ defaultValues?: Record<string, unknown>;
25
+ onChange: (values: Record<string, unknown>) => void;
26
+ };
27
+ export {};
@@ -0,0 +1,3 @@
1
+ export const DATE_RANGE_TYPE = 'dateRange';
2
+ export const SELECT_TYPE = 'select';
3
+ export const CHECKBOX_TYPE = 'checkbox';
@@ -0,0 +1,2 @@
1
+ export { Filters } from './Filters';
2
+ export type { FilterType, FilterConfigType, FiltersProps } from './Filters.types';
@@ -0,0 +1 @@
1
+ export { Filters } from './Filters';
@@ -37,3 +37,4 @@ export * from './InputGroup';
37
37
  export * from './PhoneInput';
38
38
  export * from './ButtonGroup';
39
39
  export * from './CreditCard';
40
+ export * from './Filters';
@@ -37,3 +37,4 @@ export * from './InputGroup';
37
37
  export * from './PhoneInput';
38
38
  export * from './ButtonGroup';
39
39
  export * from './CreditCard';
40
+ export * from './Filters';
package/package.json CHANGED
@@ -1,131 +1,132 @@
1
- {
2
- "name": "@eml-payments/ui-kit",
3
- "version": "1.8.1",
4
- "private": false,
5
- "description": "ARLO UIKit",
6
- "homepage": "https://github.com/EML-Payments/arlo.npm.uikit#readme",
7
- "bugs": {
8
- "url": "https://github.com/EML-Payments/arlo.npm.uikit/issues"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/EML-Payments/arlo.npm.uikit.git"
13
- },
14
- "license": "MIT",
15
- "author": "EML Payments",
16
- "type": "commonjs",
17
- "main": "dist/src/index.js",
18
- "types": "dist/src/index.d.ts",
19
- "exports": {
20
- ".": {
21
- "import": "./dist/src/index.js",
22
- "require": "./dist/src/index.js",
23
- "types": "./dist/src/index.d.ts"
24
- },
25
- "./style.css": "./dist/index.css",
26
- "./index.css": "./dist/index.css",
27
- "./assets/*": "./dist/src/assets/*"
28
- },
29
- "directories": {
30
- "doc": "docs",
31
- "lib": "lib"
32
- },
33
- "files": [
34
- "dist"
35
- ],
36
- "scripts": {
37
- "prepare": "husky install",
38
- "storybook": "storybook dev -p 6006",
39
- "build-storybook": "storybook build",
40
- "build:assets": "copyfiles -u 2 \"src/assets/**/*\" dist/src/assets",
41
- "build:css": "npx tailwindcss -i ./src/index.css -o ./dist/index.css --minify",
42
- "build:intl-tel-input:flags": "copyfiles -u 4 \"node_modules/intl-tel-input/build/img/flags*.webp\" \"node_modules/intl-tel-input/build/img/flags*.png\" dist/img",
43
- "build": "npm run build:assets && npm run build:css && npm run build:intl-tel-input:flags && tsc",
44
- "validate:dist": "node scripts/validate-dist.js",
45
- "lint": "eslint . --ext .ts,.tsx --fix",
46
- "format": "prettier --list-different \"**/*.{js,jsx,ts,tsx,json,htm,html,yml,yaml}\"",
47
- "format:fix": "prettier --write \"**/*.{js,jsx,ts,tsx,json,htm,html,yml,yaml}\"",
48
- "task:prettier": "prettier \"./src/**/*.{ts,tsx}\" --check --log-level error",
49
- "task:prettier:fix": "prettier --write \"./src/**/*.{ts,tsx}\" --check --log-level error",
50
- "task:eslint": "eslint \"src/**/*.{ts,tsx}\" --cache",
51
- "task:eslint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix --cache",
52
- "task:typecheck": "tsc",
53
- "formatx": "npm run task:prettier:fix && npm run task:eslint:fix && npm run task:typecheck"
54
- },
55
- "dependencies": {
56
- "@base-ui/react": "^1.3.0",
57
- "@radix-ui/react-accordion": "^1.2.12",
58
- "@radix-ui/react-avatar": "^1.1.10",
59
- "@radix-ui/react-checkbox": "^1.3.2",
60
- "@radix-ui/react-dialog": "^1.1.14",
61
- "@radix-ui/react-dropdown-menu": "^2.1.15",
62
- "@radix-ui/react-label": "^2.1.7",
63
- "@radix-ui/react-popover": "^1.1.15",
64
- "@radix-ui/react-radio-group": "^1.3.7",
65
- "@radix-ui/react-select": "^2.2.5",
66
- "@radix-ui/react-slot": "^1.2.4",
67
- "@radix-ui/react-switch": "^1.2.5",
68
- "@radix-ui/react-tabs": "^1.1.12",
69
- "@radix-ui/react-tooltip": "^1.2.7",
70
- "@tailwindcss/postcss": "^4.1.11",
71
- "@tanstack/react-table": "^8.12.0",
72
- "@tanstack/react-virtual": "^3.13.13",
73
- "class-variance-authority": "^0.7.1",
74
- "clsx": "^2.1.1",
75
- "dayjs": "^1.11.19",
76
- "intl-tel-input": "^26.9.1",
77
- "lucide-react": "^1.8.0",
78
- "prettier": "^3.6.2",
79
- "react": ">=18.0.0",
80
- "react-day-picker": "^9.13.0",
81
- "react-dom": ">=18.0.0",
82
- "react-icons": "^5.5.0",
83
- "react-router-dom": "^7.9.5",
84
- "tailwind-merge": "^3.4.0",
85
- "tailwindcss": "^4.1.11",
86
- "tailwindcss-animate": "^1.0.7",
87
- "tw-animate-css": "^1.4.0"
88
- },
89
- "devDependencies": {
90
- "@eslint/js": "^9.30.1",
91
- "@storybook/addon-a11y": "^10.0.6",
92
- "@storybook/addon-docs": "^10.0.2",
93
- "@storybook/addon-themes": "^10.0.2",
94
- "@storybook/react-vite": "^10.0.6",
95
- "@tailwindcss/cli": "^4.1.12",
96
- "@typescript-eslint/eslint-plugin": "^8.35.1",
97
- "baseline-browser-mapping": "^2.10.0",
98
- "copyfiles": "^2.4.1",
99
- "eslint": "^9.31.0",
100
- "eslint-config-prettier": "^10.1.5",
101
- "eslint-plugin-import": "^2.32.0",
102
- "eslint-plugin-jsx-a11y": "^6.10.2",
103
- "eslint-plugin-prettier": "^5.5.1",
104
- "eslint-plugin-react": "^7.37.5",
105
- "eslint-plugin-react-hooks": "^7.0.0",
106
- "eslint-plugin-react-refresh": "^0.5.0",
107
- "eslint-plugin-storybook": "^10.0.6",
108
- "husky": "^9.1.7",
109
- "lint-staged": "^16.1.2",
110
- "postcss": "^8.4.21",
111
- "storybook": "^10.0.6",
112
- "typescript": "^6.0.3",
113
- "typescript-eslint": "^8.36.0"
114
- },
115
- "peerDependencies": {
116
- "react": ">=18.0.0",
117
- "react-dom": ">=18.0.0"
118
- },
119
- "eslintConfig": {
120
- "extends": [
121
- "plugin:storybook/recommended"
122
- ]
123
- },
124
- "lint-staged": {
125
- "*.{js,ts,tsx}": [
126
- "prettier --write",
127
- "eslint --fix"
128
- ],
129
- "*.{json,md,css}": "prettier --write"
130
- }
131
- }
1
+ {
2
+ "name": "@eml-payments/ui-kit",
3
+ "version": "1.8.2",
4
+ "private": false,
5
+ "description": "ARLO UIKit",
6
+ "homepage": "https://github.com/EML-Payments/arlo.npm.uikit#readme",
7
+ "bugs": {
8
+ "url": "https://github.com/EML-Payments/arlo.npm.uikit/issues"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/EML-Payments/arlo.npm.uikit.git"
13
+ },
14
+ "license": "MIT",
15
+ "author": "EML Payments",
16
+ "type": "commonjs",
17
+ "main": "dist/src/index.js",
18
+ "types": "dist/src/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/src/index.js",
22
+ "require": "./dist/src/index.js",
23
+ "types": "./dist/src/index.d.ts"
24
+ },
25
+ "./style.css": "./dist/index.css",
26
+ "./index.css": "./dist/index.css",
27
+ "./assets/*": "./dist/src/assets/*"
28
+ },
29
+ "directories": {
30
+ "doc": "docs",
31
+ "lib": "lib"
32
+ },
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "scripts": {
37
+ "prepare": "husky install",
38
+ "storybook": "storybook dev -p 6006",
39
+ "build-storybook": "storybook build",
40
+ "build:assets": "copyfiles -u 2 \"src/assets/**/*\" dist/src/assets",
41
+ "build:css": "npx tailwindcss -i ./src/index.css -o ./dist/index.css --minify",
42
+ "build:intl-tel-input:flags": "copyfiles -u 4 \"node_modules/intl-tel-input/build/img/flags*.webp\" \"node_modules/intl-tel-input/build/img/flags*.png\" dist/img",
43
+ "build": "npm run build:assets && npm run build:css && npm run build:intl-tel-input:flags && tsc",
44
+ "validate:dist": "node scripts/validate-dist.js",
45
+ "lint": "eslint . --ext .ts,.tsx --fix",
46
+ "format": "prettier --list-different \"**/*.{js,jsx,ts,tsx,json,htm,html,yml,yaml}\"",
47
+ "format:fix": "prettier --write \"**/*.{js,jsx,ts,tsx,json,htm,html,yml,yaml}\"",
48
+ "task:prettier": "prettier \"./src/**/*.{ts,tsx}\" --check --log-level error",
49
+ "task:prettier:fix": "prettier --write \"./src/**/*.{ts,tsx}\" --check --log-level error",
50
+ "task:eslint": "eslint \"src/**/*.{ts,tsx}\" --cache",
51
+ "task:eslint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix --cache",
52
+ "task:typecheck": "tsc",
53
+ "formatx": "npm run task:prettier:fix && npm run task:eslint:fix && npm run task:typecheck"
54
+ },
55
+ "dependencies": {
56
+ "@base-ui/react": "^1.3.0",
57
+ "@radix-ui/react-accordion": "^1.2.12",
58
+ "@radix-ui/react-avatar": "^1.1.10",
59
+ "@radix-ui/react-checkbox": "^1.3.2",
60
+ "@radix-ui/react-dialog": "^1.1.14",
61
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
62
+ "@radix-ui/react-label": "^2.1.7",
63
+ "@radix-ui/react-popover": "^1.1.15",
64
+ "@radix-ui/react-radio-group": "^1.3.7",
65
+ "@radix-ui/react-select": "^2.2.5",
66
+ "@radix-ui/react-slot": "^1.2.4",
67
+ "@radix-ui/react-switch": "^1.2.5",
68
+ "@radix-ui/react-tabs": "^1.1.12",
69
+ "@radix-ui/react-tooltip": "^1.2.7",
70
+ "@tailwindcss/postcss": "^4.1.11",
71
+ "@tanstack/react-table": "^8.12.0",
72
+ "@tanstack/react-virtual": "^3.13.13",
73
+ "class-variance-authority": "^0.7.1",
74
+ "clsx": "^2.1.1",
75
+ "dayjs": "^1.11.19",
76
+ "intl-tel-input": "^26.9.1",
77
+ "lucide-react": "^1.8.0",
78
+ "prettier": "^3.6.2",
79
+ "react": ">=18.0.0",
80
+ "react-day-picker": "^9.13.0",
81
+ "react-dom": ">=18.0.0",
82
+ "react-hook-form": "^7.75.0",
83
+ "react-icons": "^5.5.0",
84
+ "react-router-dom": "^7.9.5",
85
+ "tailwind-merge": "^3.4.0",
86
+ "tailwindcss": "^4.1.11",
87
+ "tailwindcss-animate": "^1.0.7",
88
+ "tw-animate-css": "^1.4.0"
89
+ },
90
+ "devDependencies": {
91
+ "@eslint/js": "^9.30.1",
92
+ "@storybook/addon-a11y": "^10.0.6",
93
+ "@storybook/addon-docs": "^10.0.2",
94
+ "@storybook/addon-themes": "^10.0.2",
95
+ "@storybook/react-vite": "^10.0.6",
96
+ "@tailwindcss/cli": "^4.1.12",
97
+ "@typescript-eslint/eslint-plugin": "^8.35.1",
98
+ "baseline-browser-mapping": "^2.10.0",
99
+ "copyfiles": "^2.4.1",
100
+ "eslint": "^9.31.0",
101
+ "eslint-config-prettier": "^10.1.5",
102
+ "eslint-plugin-import": "^2.32.0",
103
+ "eslint-plugin-jsx-a11y": "^6.10.2",
104
+ "eslint-plugin-prettier": "^5.5.1",
105
+ "eslint-plugin-react": "^7.37.5",
106
+ "eslint-plugin-react-hooks": "^7.0.0",
107
+ "eslint-plugin-react-refresh": "^0.5.0",
108
+ "eslint-plugin-storybook": "^10.0.6",
109
+ "husky": "^9.1.7",
110
+ "lint-staged": "^16.1.2",
111
+ "postcss": "^8.4.21",
112
+ "storybook": "^10.0.6",
113
+ "typescript": "^6.0.3",
114
+ "typescript-eslint": "^8.36.0"
115
+ },
116
+ "peerDependencies": {
117
+ "react": ">=18.0.0",
118
+ "react-dom": ">=18.0.0"
119
+ },
120
+ "eslintConfig": {
121
+ "extends": [
122
+ "plugin:storybook/recommended"
123
+ ]
124
+ },
125
+ "lint-staged": {
126
+ "*.{js,ts,tsx}": [
127
+ "prettier --write",
128
+ "eslint --fix"
129
+ ],
130
+ "*.{json,md,css}": "prettier --write"
131
+ }
132
+ }