@aveonline/ui-react 2.4.8 → 2.5.1
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/README.md +93 -93
- package/dist/index.d.ts +3 -2
- package/dist/reset.css +273 -273
- package/dist/tailwind.config.js +246 -246
- package/dist/tokens.css +160 -160
- package/dist/ui/atoms/Tooltip/TooltipAnchor.d.ts +1 -1
- package/dist/ui/atoms/Tooltip/TooltipFloat.d.ts +1 -1
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/molecules/Dropdowns/DropdownFilter/Command.d.ts +1 -1
- package/dist/ui/molecules/Selectable/select.d.ts +28 -0
- package/dist/ui/molecules/Table/AsyncTable/AsyncTable.d.ts +9 -0
- package/dist/ui/molecules/Table/AsyncTable/IAsyncTable.d.ts +53 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/InputSearch.d.ts +7 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/index.d.ts +5 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/pagination/IPagination.d.ts +25 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/pagination/Pagination.d.ts +4 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/pagination/index.d.ts +2 -0
- package/dist/ui/molecules/Table/AsyncTable/atoms/pagination/usePagination.d.ts +9 -0
- package/dist/ui/molecules/Table/AsyncTable/index.d.ts +2 -0
- package/dist/ui/molecules/Table/{ITable.d.ts → Table/ITable.d.ts} +3 -3
- package/dist/ui/molecules/Table/Table/atoms/ButtonPagination.d.ts +4 -0
- package/dist/ui/molecules/Table/Table/atoms/ISortTable.d.ts +14 -0
- package/dist/ui/molecules/Table/Table/atoms/SortTable.d.ts +5 -0
- package/dist/ui/molecules/Table/Table/atoms/Table.d.ts +9 -0
- package/dist/ui/molecules/TextArea/TextArea.d.ts +1 -1
- package/dist/ui-react.mjs +14366 -14734
- package/dist/vite-env.d.ts +2 -2
- package/package.json +1 -1
- package/dist/ui/atoms/Tooltip/useTooltip.d.ts +0 -53
- /package/dist/ui/molecules/Table/{atoms → AsyncTable/atoms}/ButtonPagination.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → AsyncTable/atoms}/ISortTable.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → AsyncTable/atoms}/SortTable.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → AsyncTable/atoms}/Table.d.ts +0 -0
- /package/dist/ui/molecules/Table/{Table.d.ts → Table/Table.d.ts} +0 -0
- /package/dist/ui/molecules/Table/{atoms → Table/atoms}/CheckBoxTable.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → Table/atoms}/IPagination.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → Table/atoms}/InputSearch.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → Table/atoms}/Pagination.d.ts +0 -0
- /package/dist/ui/molecules/Table/{atoms → Table/atoms}/index.d.ts +0 -0
- /package/dist/ui/molecules/Table/{index.d.ts → Table/index.d.ts} +0 -0
package/dist/tokens.css
CHANGED
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modify directly
|
|
3
|
-
* --font-family-sans = Inter
|
|
4
|
-
* --font-weight-regular = 400
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
--spacing-1xl: 117px;
|
|
9
|
-
--spacing-xxl: 56px;
|
|
10
|
-
--spacing-xl: 32px;
|
|
11
|
-
--spacing-lg: 24px;
|
|
12
|
-
--spacing-md: 18px;
|
|
13
|
-
--spacing-sm: 16px;
|
|
14
|
-
--spacing-xs: 8px;
|
|
15
|
-
--spacing-xxs: 0px;
|
|
16
|
-
--box-shadow-pressed: 0px 6px 8px 0px #3434341a;
|
|
17
|
-
--box-shadow-popup: 0px 0px 1px rgba(0, 0, 0, 0.2),
|
|
18
|
-
0px 3px 50px rgba(0, 0, 0, 0.2);
|
|
19
|
-
--box-shadow-popover: 0px 0px 2px rgba(0, 0, 0, 0.2),
|
|
20
|
-
0px 2px 10px rgba(0, 0, 0, 0.1);
|
|
21
|
-
--box-shadow-card: 0px 2px 1px rgba(0, 0, 0, 0.05),
|
|
22
|
-
0px 0px 1px rgba(0, 0, 0, 0.25);
|
|
23
|
-
--font-family-sans: 'Inter';
|
|
24
|
-
--border-radius-md: 20px;
|
|
25
|
-
--border-radius-sm: 10px;
|
|
26
|
-
--border-radius-xs: 8px;
|
|
27
|
-
--font-weight-bold: 700;
|
|
28
|
-
--font-weight-medium: 500;
|
|
29
|
-
--font-weight-regular: 400;
|
|
30
|
-
--line-height-xxl: 56px;
|
|
31
|
-
--line-height-xl: 36px;
|
|
32
|
-
--line-height-lg: 32px;
|
|
33
|
-
--line-height-md: 28px;
|
|
34
|
-
--line-height-sm: 24px;
|
|
35
|
-
--line-height-xs: 20px;
|
|
36
|
-
--line-height-xxs: 16px;
|
|
37
|
-
--font-size-xxl: 50px;
|
|
38
|
-
--font-size-xl: 40px;
|
|
39
|
-
--font-size-lg: 32px;
|
|
40
|
-
--font-size-md: 28px;
|
|
41
|
-
--font-size-sm: 24px;
|
|
42
|
-
--font-size-xs: 16px;
|
|
43
|
-
--font-size-xxs: 14px;
|
|
44
|
-
--colors-special-four-back: rgba(156, 255, 147, 0.25);
|
|
45
|
-
--colors-special-four: #72d69a;
|
|
46
|
-
--colors-special-three-back: rgba(179, 215, 255, 0.25);
|
|
47
|
-
--colors-special-three: #3eadfe;
|
|
48
|
-
--colors-special-two-back: rgba(240, 166, 98, 0.25);
|
|
49
|
-
--colors-special-two: #f0a662;
|
|
50
|
-
--colors-special-one-back: rgba(182, 147, 255, 0.25);
|
|
51
|
-
--colors-special-one: #bc72d6;
|
|
52
|
-
--colors-base-success: #16ab49ff;
|
|
53
|
-
--colors-base-warning: #ffa826ff;
|
|
54
|
-
--colors-base-critical: #f56270ff;
|
|
55
|
-
--colors-base-brand: #c80935ff;
|
|
56
|
-
--colors-base-interactive: #007affff;
|
|
57
|
-
--colors-base-secondary: #8a8a8aff;
|
|
58
|
-
--colors-base-primary: #42484eff;
|
|
59
|
-
--colors-base-surface: #f0f0f0ff;
|
|
60
|
-
--colors-radial-100: #1ddd5eff;
|
|
61
|
-
--colors-radial-90: #139840ff;
|
|
62
|
-
--colors-radial-80: #0f642cff;
|
|
63
|
-
--colors-radial-70: #93a611ff;
|
|
64
|
-
--colors-radial-60: #d0d82bff;
|
|
65
|
-
--colors-radial-50: #ede437ff;
|
|
66
|
-
--colors-radial-40: #f9b017ff;
|
|
67
|
-
--colors-radial-30: #f28c1bff;
|
|
68
|
-
--colors-radial-20: #e15b24ff;
|
|
69
|
-
--colors-radial-10: #b21a1bff;
|
|
70
|
-
--colors-background-modal: rgba(66, 72, 78, 0.25);
|
|
71
|
-
--colors-background-selected: #edeeefff;
|
|
72
|
-
--colors-background-active: #edeeefff;
|
|
73
|
-
--colors-background-hovered: #f1f2f3ff;
|
|
74
|
-
--colors-background-default: #f6f6f7ff;
|
|
75
|
-
--colors-surface-neutral-disabled: #f6f6f6;
|
|
76
|
-
--colors-surface-neutral-active: #bdbdbd;
|
|
77
|
-
--colors-surface-neutral-hovered: #cecece;
|
|
78
|
-
--colors-surface-neutral-subdued: #e8e8e8;
|
|
79
|
-
--colors-surface-neutral-default: #dddddd;
|
|
80
|
-
--colors-surface-critical-disabled: #fde7ea;
|
|
81
|
-
--colors-surface-critical-active: #e49b9b;
|
|
82
|
-
--colors-surface-critical-hovered: #ebb3b3;
|
|
83
|
-
--colors-surface-critical-subdued: #fddfdf;
|
|
84
|
-
--colors-surface-critical-default: #f1c8c8;
|
|
85
|
-
--colors-surface-success-active: #9cd8b1;
|
|
86
|
-
--colors-surface-success-hovered: #b3dfc2;
|
|
87
|
-
--colors-surface-success-subdued: #d0eedb;
|
|
88
|
-
--colors-surface-success-default: #bfe8d3;
|
|
89
|
-
--colors-surface-warning-active: #ffe78f;
|
|
90
|
-
--colors-surface-warning-hovered: #feeca5;
|
|
91
|
-
--colors-surface-warning-subdued: #fff7da;
|
|
92
|
-
--colors-surface-warning-default: #fff2c2;
|
|
93
|
-
--colors-surface-action-disabled: #e7f4ff;
|
|
94
|
-
--colors-surface-action-active: #93b7df;
|
|
95
|
-
--colors-surface-action-hovered: #a4c8f0;
|
|
96
|
-
--colors-surface-action-subdued: #ddeaf7;
|
|
97
|
-
--colors-surface-action-default: #b3d7ff;
|
|
98
|
-
--colors-surface-disabled: #f6f8fb;
|
|
99
|
-
--colors-surface-pressed: #ccced1;
|
|
100
|
-
--colors-surface-active: #dfe1e4;
|
|
101
|
-
--colors-surface-hovered: #ebedf0;
|
|
102
|
-
--colors-surface-subdued: #f3f4f6;
|
|
103
|
-
--colors-surface-default: #ffffffff;
|
|
104
|
-
--colors-focused-default: #3eadfeff;
|
|
105
|
-
--colors-icon-on: #ffffffff;
|
|
106
|
-
--colors-icon-success: #149840ff;
|
|
107
|
-
--colors-icon-warning: #c18f00ff;
|
|
108
|
-
--colors-icon-critical: #bd2a2aff;
|
|
109
|
-
--colors-icon-disabled: #d6d6d6ff;
|
|
110
|
-
--colors-icon-active: #636b74ff;
|
|
111
|
-
--colors-icon-hovered: #42484eff;
|
|
112
|
-
--colors-icon-subdued: #a1a1a1ff;
|
|
113
|
-
--colors-icon-default: #61666bff;
|
|
114
|
-
--colors-interactive-critical-disabled: #ce9ea2ff;
|
|
115
|
-
--colors-interactive-critical-active: #6c0f00ff;
|
|
116
|
-
--colors-interactive-critical-hovered: #c12929ff;
|
|
117
|
-
--colors-interactive-critical-default: #d82f2fff;
|
|
118
|
-
--colors-interactive-disabled: #d6dbe0ff;
|
|
119
|
-
--colors-interactive-active: #004289ff;
|
|
120
|
-
--colors-interactive-hovered: #0068daff;
|
|
121
|
-
--colors-interactive-default: #007aff;
|
|
122
|
-
--colors-border-shadow-subdued: #ebebeb;
|
|
123
|
-
--colors-border-critical-disabled: #ffc9c6ff;
|
|
124
|
-
--colors-border-critical-subdued: #e05563ff;
|
|
125
|
-
--colors-border-critical-default: #f56270ff;
|
|
126
|
-
--colors-border-success-subdued: #43da76ff;
|
|
127
|
-
--colors-border-success-default: #16ab49;
|
|
128
|
-
--colors-border-disabled: #e3e3e3;
|
|
129
|
-
--colors-border-active: #c5c5c5;
|
|
130
|
-
--colors-border-hovered: #d1d1d1;
|
|
131
|
-
--colors-border-subdued: #e7e7e7;
|
|
132
|
-
--colors-border-default: #dcdcdc;
|
|
133
|
-
--colors-action-opacity-disabled: rgba(109, 113, 117, 0.2);
|
|
134
|
-
--colors-action-opacity-active: rgba(109, 113, 117, 0.6);
|
|
135
|
-
--colors-action-opacity-hovered: rgba(109, 113, 117, 0.4);
|
|
136
|
-
--colors-action-opacity-default: rgba(109, 113, 117, 0.3);
|
|
137
|
-
--colors-action-critical-disabled: #e4dfe0ff;
|
|
138
|
-
--colors-action-critical-pressed: #6c0f00ff;
|
|
139
|
-
--colors-action-critical-active: #9d2020ff;
|
|
140
|
-
--colors-action-critical-hovered: #c12929ff;
|
|
141
|
-
--colors-action-critical-default: #d82f2fff;
|
|
142
|
-
--colors-action-secondary-disabled: #f3f5f8;
|
|
143
|
-
--colors-action-secondary-pressed: #a8abb1;
|
|
144
|
-
--colors-action-secondary-active: #c8cbd1;
|
|
145
|
-
--colors-action-secondary-hovered: #d9dce2;
|
|
146
|
-
--colors-action-secondary-subdued: #f0f2f5;
|
|
147
|
-
--colors-action-secondary-default: #e5e7ea;
|
|
148
|
-
--colors-action-primary-disabled: #d6dbe0ff;
|
|
149
|
-
--colors-action-primary-pressed: #072a52ff;
|
|
150
|
-
--colors-action-primary-active: #0c4d95ff;
|
|
151
|
-
--colors-action-primary-hovered: #126dd0ff;
|
|
152
|
-
--colors-action-primary-default: #007affff;
|
|
153
|
-
--colors-letter-on: #ffffffff;
|
|
154
|
-
--colors-letter-success: #12953eff;
|
|
155
|
-
--colors-letter-critical: #bd2a2aff;
|
|
156
|
-
--colors-letter-warning: #ce881eff;
|
|
157
|
-
--colors-letter-disabled: #c3c5ca;
|
|
158
|
-
--colors-letter-subdued: #797c81;
|
|
159
|
-
--colors-letter-default: #4a4f54;
|
|
160
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Modify directly
|
|
3
|
+
* --font-family-sans = Inter
|
|
4
|
+
* --font-weight-regular = 400
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
--spacing-1xl: 117px;
|
|
9
|
+
--spacing-xxl: 56px;
|
|
10
|
+
--spacing-xl: 32px;
|
|
11
|
+
--spacing-lg: 24px;
|
|
12
|
+
--spacing-md: 18px;
|
|
13
|
+
--spacing-sm: 16px;
|
|
14
|
+
--spacing-xs: 8px;
|
|
15
|
+
--spacing-xxs: 0px;
|
|
16
|
+
--box-shadow-pressed: 0px 6px 8px 0px #3434341a;
|
|
17
|
+
--box-shadow-popup: 0px 0px 1px rgba(0, 0, 0, 0.2),
|
|
18
|
+
0px 3px 50px rgba(0, 0, 0, 0.2);
|
|
19
|
+
--box-shadow-popover: 0px 0px 2px rgba(0, 0, 0, 0.2),
|
|
20
|
+
0px 2px 10px rgba(0, 0, 0, 0.1);
|
|
21
|
+
--box-shadow-card: 0px 2px 1px rgba(0, 0, 0, 0.05),
|
|
22
|
+
0px 0px 1px rgba(0, 0, 0, 0.25);
|
|
23
|
+
--font-family-sans: 'Inter';
|
|
24
|
+
--border-radius-md: 20px;
|
|
25
|
+
--border-radius-sm: 10px;
|
|
26
|
+
--border-radius-xs: 8px;
|
|
27
|
+
--font-weight-bold: 700;
|
|
28
|
+
--font-weight-medium: 500;
|
|
29
|
+
--font-weight-regular: 400;
|
|
30
|
+
--line-height-xxl: 56px;
|
|
31
|
+
--line-height-xl: 36px;
|
|
32
|
+
--line-height-lg: 32px;
|
|
33
|
+
--line-height-md: 28px;
|
|
34
|
+
--line-height-sm: 24px;
|
|
35
|
+
--line-height-xs: 20px;
|
|
36
|
+
--line-height-xxs: 16px;
|
|
37
|
+
--font-size-xxl: 50px;
|
|
38
|
+
--font-size-xl: 40px;
|
|
39
|
+
--font-size-lg: 32px;
|
|
40
|
+
--font-size-md: 28px;
|
|
41
|
+
--font-size-sm: 24px;
|
|
42
|
+
--font-size-xs: 16px;
|
|
43
|
+
--font-size-xxs: 14px;
|
|
44
|
+
--colors-special-four-back: rgba(156, 255, 147, 0.25);
|
|
45
|
+
--colors-special-four: #72d69a;
|
|
46
|
+
--colors-special-three-back: rgba(179, 215, 255, 0.25);
|
|
47
|
+
--colors-special-three: #3eadfe;
|
|
48
|
+
--colors-special-two-back: rgba(240, 166, 98, 0.25);
|
|
49
|
+
--colors-special-two: #f0a662;
|
|
50
|
+
--colors-special-one-back: rgba(182, 147, 255, 0.25);
|
|
51
|
+
--colors-special-one: #bc72d6;
|
|
52
|
+
--colors-base-success: #16ab49ff;
|
|
53
|
+
--colors-base-warning: #ffa826ff;
|
|
54
|
+
--colors-base-critical: #f56270ff;
|
|
55
|
+
--colors-base-brand: #c80935ff;
|
|
56
|
+
--colors-base-interactive: #007affff;
|
|
57
|
+
--colors-base-secondary: #8a8a8aff;
|
|
58
|
+
--colors-base-primary: #42484eff;
|
|
59
|
+
--colors-base-surface: #f0f0f0ff;
|
|
60
|
+
--colors-radial-100: #1ddd5eff;
|
|
61
|
+
--colors-radial-90: #139840ff;
|
|
62
|
+
--colors-radial-80: #0f642cff;
|
|
63
|
+
--colors-radial-70: #93a611ff;
|
|
64
|
+
--colors-radial-60: #d0d82bff;
|
|
65
|
+
--colors-radial-50: #ede437ff;
|
|
66
|
+
--colors-radial-40: #f9b017ff;
|
|
67
|
+
--colors-radial-30: #f28c1bff;
|
|
68
|
+
--colors-radial-20: #e15b24ff;
|
|
69
|
+
--colors-radial-10: #b21a1bff;
|
|
70
|
+
--colors-background-modal: rgba(66, 72, 78, 0.25);
|
|
71
|
+
--colors-background-selected: #edeeefff;
|
|
72
|
+
--colors-background-active: #edeeefff;
|
|
73
|
+
--colors-background-hovered: #f1f2f3ff;
|
|
74
|
+
--colors-background-default: #f6f6f7ff;
|
|
75
|
+
--colors-surface-neutral-disabled: #f6f6f6;
|
|
76
|
+
--colors-surface-neutral-active: #bdbdbd;
|
|
77
|
+
--colors-surface-neutral-hovered: #cecece;
|
|
78
|
+
--colors-surface-neutral-subdued: #e8e8e8;
|
|
79
|
+
--colors-surface-neutral-default: #dddddd;
|
|
80
|
+
--colors-surface-critical-disabled: #fde7ea;
|
|
81
|
+
--colors-surface-critical-active: #e49b9b;
|
|
82
|
+
--colors-surface-critical-hovered: #ebb3b3;
|
|
83
|
+
--colors-surface-critical-subdued: #fddfdf;
|
|
84
|
+
--colors-surface-critical-default: #f1c8c8;
|
|
85
|
+
--colors-surface-success-active: #9cd8b1;
|
|
86
|
+
--colors-surface-success-hovered: #b3dfc2;
|
|
87
|
+
--colors-surface-success-subdued: #d0eedb;
|
|
88
|
+
--colors-surface-success-default: #bfe8d3;
|
|
89
|
+
--colors-surface-warning-active: #ffe78f;
|
|
90
|
+
--colors-surface-warning-hovered: #feeca5;
|
|
91
|
+
--colors-surface-warning-subdued: #fff7da;
|
|
92
|
+
--colors-surface-warning-default: #fff2c2;
|
|
93
|
+
--colors-surface-action-disabled: #e7f4ff;
|
|
94
|
+
--colors-surface-action-active: #93b7df;
|
|
95
|
+
--colors-surface-action-hovered: #a4c8f0;
|
|
96
|
+
--colors-surface-action-subdued: #ddeaf7;
|
|
97
|
+
--colors-surface-action-default: #b3d7ff;
|
|
98
|
+
--colors-surface-disabled: #f6f8fb;
|
|
99
|
+
--colors-surface-pressed: #ccced1;
|
|
100
|
+
--colors-surface-active: #dfe1e4;
|
|
101
|
+
--colors-surface-hovered: #ebedf0;
|
|
102
|
+
--colors-surface-subdued: #f3f4f6;
|
|
103
|
+
--colors-surface-default: #ffffffff;
|
|
104
|
+
--colors-focused-default: #3eadfeff;
|
|
105
|
+
--colors-icon-on: #ffffffff;
|
|
106
|
+
--colors-icon-success: #149840ff;
|
|
107
|
+
--colors-icon-warning: #c18f00ff;
|
|
108
|
+
--colors-icon-critical: #bd2a2aff;
|
|
109
|
+
--colors-icon-disabled: #d6d6d6ff;
|
|
110
|
+
--colors-icon-active: #636b74ff;
|
|
111
|
+
--colors-icon-hovered: #42484eff;
|
|
112
|
+
--colors-icon-subdued: #a1a1a1ff;
|
|
113
|
+
--colors-icon-default: #61666bff;
|
|
114
|
+
--colors-interactive-critical-disabled: #ce9ea2ff;
|
|
115
|
+
--colors-interactive-critical-active: #6c0f00ff;
|
|
116
|
+
--colors-interactive-critical-hovered: #c12929ff;
|
|
117
|
+
--colors-interactive-critical-default: #d82f2fff;
|
|
118
|
+
--colors-interactive-disabled: #d6dbe0ff;
|
|
119
|
+
--colors-interactive-active: #004289ff;
|
|
120
|
+
--colors-interactive-hovered: #0068daff;
|
|
121
|
+
--colors-interactive-default: #007aff;
|
|
122
|
+
--colors-border-shadow-subdued: #ebebeb;
|
|
123
|
+
--colors-border-critical-disabled: #ffc9c6ff;
|
|
124
|
+
--colors-border-critical-subdued: #e05563ff;
|
|
125
|
+
--colors-border-critical-default: #f56270ff;
|
|
126
|
+
--colors-border-success-subdued: #43da76ff;
|
|
127
|
+
--colors-border-success-default: #16ab49;
|
|
128
|
+
--colors-border-disabled: #e3e3e3;
|
|
129
|
+
--colors-border-active: #c5c5c5;
|
|
130
|
+
--colors-border-hovered: #d1d1d1;
|
|
131
|
+
--colors-border-subdued: #e7e7e7;
|
|
132
|
+
--colors-border-default: #dcdcdc;
|
|
133
|
+
--colors-action-opacity-disabled: rgba(109, 113, 117, 0.2);
|
|
134
|
+
--colors-action-opacity-active: rgba(109, 113, 117, 0.6);
|
|
135
|
+
--colors-action-opacity-hovered: rgba(109, 113, 117, 0.4);
|
|
136
|
+
--colors-action-opacity-default: rgba(109, 113, 117, 0.3);
|
|
137
|
+
--colors-action-critical-disabled: #e4dfe0ff;
|
|
138
|
+
--colors-action-critical-pressed: #6c0f00ff;
|
|
139
|
+
--colors-action-critical-active: #9d2020ff;
|
|
140
|
+
--colors-action-critical-hovered: #c12929ff;
|
|
141
|
+
--colors-action-critical-default: #d82f2fff;
|
|
142
|
+
--colors-action-secondary-disabled: #f3f5f8;
|
|
143
|
+
--colors-action-secondary-pressed: #a8abb1;
|
|
144
|
+
--colors-action-secondary-active: #c8cbd1;
|
|
145
|
+
--colors-action-secondary-hovered: #d9dce2;
|
|
146
|
+
--colors-action-secondary-subdued: #f0f2f5;
|
|
147
|
+
--colors-action-secondary-default: #e5e7ea;
|
|
148
|
+
--colors-action-primary-disabled: #d6dbe0ff;
|
|
149
|
+
--colors-action-primary-pressed: #072a52ff;
|
|
150
|
+
--colors-action-primary-active: #0c4d95ff;
|
|
151
|
+
--colors-action-primary-hovered: #126dd0ff;
|
|
152
|
+
--colors-action-primary-default: #007affff;
|
|
153
|
+
--colors-letter-on: #ffffffff;
|
|
154
|
+
--colors-letter-success: #12953eff;
|
|
155
|
+
--colors-letter-critical: #bd2a2aff;
|
|
156
|
+
--colors-letter-warning: #ce881eff;
|
|
157
|
+
--colors-letter-disabled: #c3c5ca;
|
|
158
|
+
--colors-letter-subdued: #797c81;
|
|
159
|
+
--colors-letter-default: #4a4f54;
|
|
160
|
+
}
|
|
@@ -6,5 +6,5 @@ declare type PropsType = HTMLProps<HTMLElement> & {
|
|
|
6
6
|
fullWidthContainer?: boolean;
|
|
7
7
|
classNameContainer?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const TooltipAnchor: import("react").ForwardRefExoticComponent<Pick<PropsType, "size" | "className" | "color" | "disabled" | "default" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "src" | "alt" | "state" | "as" | "type" | "onClick" | "start" | "id" | "name" | "value" | "onChange" | "checked" | "target" | "hidden" | "htmlFor" | "kind" | "download" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "open" | "
|
|
9
|
+
export declare const TooltipAnchor: import("react").ForwardRefExoticComponent<Pick<PropsType, "size" | "className" | "color" | "disabled" | "default" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "src" | "alt" | "state" | "as" | "type" | "onClick" | "start" | "id" | "name" | "value" | "onChange" | "checked" | "target" | "hidden" | "htmlFor" | "kind" | "download" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "open" | "fullWidthContainer" | "classNameContainer" | "asChild" | "content" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "width" | "wmode" | "wrap" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLElement>>;
|
|
10
10
|
export {};
|
|
@@ -4,5 +4,5 @@ import { TooltipState } from './ITooltip';
|
|
|
4
4
|
declare type PropsType = React.HTMLProps<HTMLDivElement> & {
|
|
5
5
|
state: TooltipState;
|
|
6
6
|
} & IChildren;
|
|
7
|
-
export declare const TooltipFloat: import("react").ForwardRefExoticComponent<Pick<PropsType, "size" | "className" | "color" | "disabled" | "default" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "src" | "alt" | "state" | "as" | "type" | "onClick" | "start" | "id" | "name" | "value" | "onChange" | "checked" | "target" | "hidden" | "htmlFor" | "kind" | "download" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "open" | "
|
|
7
|
+
export declare const TooltipFloat: import("react").ForwardRefExoticComponent<Pick<PropsType, "size" | "className" | "color" | "disabled" | "default" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "src" | "alt" | "state" | "as" | "type" | "onClick" | "start" | "id" | "name" | "value" | "onChange" | "checked" | "target" | "hidden" | "htmlFor" | "kind" | "download" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "open" | "content" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "width" | "wmode" | "wrap" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
export {};
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -36,8 +36,9 @@ export * from './molecules/Dropdowns/DropdownUser';
|
|
|
36
36
|
export * from './molecules/Dropdowns/DropdownFilterMultiple';
|
|
37
37
|
export * from './molecules/Dropdowns/DropdownButton';
|
|
38
38
|
export * from './molecules/Dropdowns/DropdownFilter';
|
|
39
|
-
export * from './molecules/Table';
|
|
40
|
-
export * from './molecules/Table/
|
|
39
|
+
export * from './molecules/Table/AsyncTable';
|
|
40
|
+
export * from './molecules/Table/Table';
|
|
41
|
+
export * from './molecules/Table/Table/atoms/CheckBoxTable';
|
|
41
42
|
export * from './molecules/Cards/CardSelect';
|
|
42
43
|
export * from './molecules/Cards/CardHistory';
|
|
43
44
|
export * from './templates/Main';
|
|
@@ -12,7 +12,7 @@ declare const Command: React.ForwardRefExoticComponent<Pick<{
|
|
|
12
12
|
declare const CommandInput: React.ForwardRefExoticComponent<Pick<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
13
13
|
value?: string | undefined;
|
|
14
14
|
onValueChange?: ((search: string) => void) | undefined;
|
|
15
|
-
} & React.RefAttributes<HTMLInputElement>, "size" | "className" | "color" | "disabled" | "children" | "form" | "slot" | "style" | "title" | "pattern" | "src" | "alt" | "onClick" | "id" | "name" | "value" | "checked" | "hidden" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "
|
|
15
|
+
} & React.RefAttributes<HTMLInputElement>, "size" | "className" | "color" | "disabled" | "children" | "form" | "slot" | "style" | "title" | "pattern" | "src" | "alt" | "onClick" | "id" | "name" | "value" | "checked" | "hidden" | "list" | "role" | "defaultChecked" | "tabIndex" | "aria-checked" | "aria-labelledby" | "aria-describedby" | "onKeyUp" | "onKeyPress" | "key" | "accept" | "autoComplete" | "autoFocus" | "capture" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "placeholder" | "readOnly" | "required" | "step" | "width" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "enterKeyHint" | "onValueChange"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
16
|
declare const CommandList: React.ForwardRefExoticComponent<Pick<{
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import { GroupBase } from 'react-select'
|
|
3
|
+
import { IOptionSelectButton, ITooltipSelect } from '../..'
|
|
4
|
+
|
|
5
|
+
declare module 'react-select/dist/declarations/src/Select' {
|
|
6
|
+
export interface Props<
|
|
7
|
+
Option,
|
|
8
|
+
IsMulti extends boolean,
|
|
9
|
+
Group extends GroupBase<Option>
|
|
10
|
+
> {
|
|
11
|
+
/**
|
|
12
|
+
* Our prop for control icon tooltip inside component atom Control
|
|
13
|
+
*/
|
|
14
|
+
iconTooltip?: ITooltipSelect
|
|
15
|
+
/**
|
|
16
|
+
* Our prop for control click first element - SelectButton
|
|
17
|
+
*/
|
|
18
|
+
addButton?: ((value: IOptionSelectButton) => void) | undefined
|
|
19
|
+
/**
|
|
20
|
+
* Our prop for verify inside atom SingleValue show ui
|
|
21
|
+
*/
|
|
22
|
+
hasLabelPlaceholder?: boolean
|
|
23
|
+
/**
|
|
24
|
+
* Our prop for verify dropdown indicator - default true
|
|
25
|
+
*/
|
|
26
|
+
isActiveDropdownIndicator?: boolean
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAsyncPropsTable } from './IAsyncTable';
|
|
3
|
+
/**
|
|
4
|
+
* Data tables are used to organize and display all information from a data set. While a data visualization represents
|
|
5
|
+
* part of data set, a data table lets merchants view details from the entire set. This helps merchants compare and
|
|
6
|
+
* analyze the data.
|
|
7
|
+
*/
|
|
8
|
+
declare function AsyncTable<TData, TValue>({ columns, data, searchFilter, placeholder, hasPagination, paginationOptionList, sortTable, sortItem, valueRow, toolbar, stateEmpty, titleSortTable, colorRow, classNameContainer, classNameContainerTable, classNameTable, totalRows, isLoading, columnsVisibility, emptyDataTable, optionPagination, search }: IAsyncPropsTable<TData, TValue>): JSX.Element;
|
|
9
|
+
export default AsyncTable;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ColumnDef, Row, Table } from '@tanstack/react-table';
|
|
3
|
+
import { IOptionDropdownButton } from '../../Dropdowns/DropdownButton/IDropdownButton';
|
|
4
|
+
import type { ISortItem as IAsyncSortItem, IPagination as IAsyncPagination, ISortTable as IAsyncSortTable, IOptionPagination } from './atoms';
|
|
5
|
+
import { IPropsEmptyState } from '../../EmptyState';
|
|
6
|
+
interface IAsyncTableToolbar<TData> {
|
|
7
|
+
table: Table<TData>;
|
|
8
|
+
}
|
|
9
|
+
interface IAsyncPropsTable<TData, TValue> {
|
|
10
|
+
columns: ColumnDef<TData, TValue>[];
|
|
11
|
+
data: TData[];
|
|
12
|
+
searchFilter?: boolean;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
hasPagination?: boolean;
|
|
15
|
+
paginationOptionList?: number[];
|
|
16
|
+
sortTable?: boolean;
|
|
17
|
+
sortItem?: IAsyncSortItem[];
|
|
18
|
+
rowItemSelected?: (item: TData[]) => void;
|
|
19
|
+
optionDropdown?: IOptionDropdownButton[];
|
|
20
|
+
stateEmpty?: {
|
|
21
|
+
title?: string;
|
|
22
|
+
subtitle?: string;
|
|
23
|
+
};
|
|
24
|
+
titleSortTable?: string;
|
|
25
|
+
classNameTable?: string;
|
|
26
|
+
classNameContainerTable?: string;
|
|
27
|
+
classNameContainer?: string;
|
|
28
|
+
emptyDataTable?: IPropsEmptyState;
|
|
29
|
+
valueRow?: (rowData: TData) => void;
|
|
30
|
+
totalRows?: {
|
|
31
|
+
id: string;
|
|
32
|
+
text: string;
|
|
33
|
+
}[];
|
|
34
|
+
isLoading?: boolean;
|
|
35
|
+
toolbar?: (table: IAsyncTableToolbar<TData>) => ReactNode;
|
|
36
|
+
columnsVisibility?: {
|
|
37
|
+
[keyColumn: string]: boolean;
|
|
38
|
+
};
|
|
39
|
+
colorRow?: {
|
|
40
|
+
color: string;
|
|
41
|
+
condition: (value: TData) => boolean;
|
|
42
|
+
};
|
|
43
|
+
optionPagination?: IOptionPagination;
|
|
44
|
+
search?: (value: string) => void;
|
|
45
|
+
}
|
|
46
|
+
interface AsyncColorRowTable<TData extends Record<keyof TData, unknown>> {
|
|
47
|
+
row: Row<TData>;
|
|
48
|
+
data: TData[];
|
|
49
|
+
color: string;
|
|
50
|
+
condition: (value: TData) => boolean;
|
|
51
|
+
}
|
|
52
|
+
declare type IAsyncEmptyState = IPropsEmptyState;
|
|
53
|
+
export type { IAsyncPropsTable, IAsyncSortItem, IAsyncPagination, IAsyncSortTable, IAsyncEmptyState, IAsyncTableToolbar, AsyncColorRowTable };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MouseEventHandler } from 'react';
|
|
2
|
+
import { Table } from '@tanstack/react-table';
|
|
3
|
+
interface IOptionPagination {
|
|
4
|
+
optionsPages: number[];
|
|
5
|
+
currentPage: number;
|
|
6
|
+
changeCurrentPage: (value: number) => void;
|
|
7
|
+
totalPages: number;
|
|
8
|
+
pageSize?: (value: number) => void;
|
|
9
|
+
hasCanPreviousPage: boolean;
|
|
10
|
+
hasCanNextPage: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface IPagination<TData> {
|
|
13
|
+
table: Table<TData>;
|
|
14
|
+
options: number[];
|
|
15
|
+
optionPagination: IOptionPagination;
|
|
16
|
+
}
|
|
17
|
+
declare type Position = 'first' | 'middle' | 'last';
|
|
18
|
+
interface IButtonPagination {
|
|
19
|
+
lastCount?: number;
|
|
20
|
+
position: Position;
|
|
21
|
+
pageIndex: number;
|
|
22
|
+
currentPage: number;
|
|
23
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
24
|
+
}
|
|
25
|
+
export type { IPagination, Position, IButtonPagination, IOptionPagination };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IOptionPagination } from './IPagination';
|
|
2
|
+
export declare function usePagination(optionPagination: IOptionPagination): {
|
|
3
|
+
isMobile: boolean;
|
|
4
|
+
currentPage: number;
|
|
5
|
+
positionPages: number[];
|
|
6
|
+
onChangePage: (item: number) => void;
|
|
7
|
+
onPreviousPage: () => void;
|
|
8
|
+
onNextPage: () => void;
|
|
9
|
+
};
|