@fle-ui/next 1.0.5-alpha.4 → 1.0.5-alpha.5
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/@fle-ui/next.css +1859 -5161
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +6349 -6355
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +4 -4
- package/dist/@fle-ui/next.min.js.map +1 -1
- package/es/affix/style/index.css +0 -42
- package/es/alert/style/index.css +17 -59
- package/es/anchor/Anchor.d.ts +1 -1
- package/es/anchor/style/index.css +5 -47
- package/es/auto-complete/style/index.css +1 -43
- package/es/avatar/avatar.js +8 -4
- package/es/avatar/style/index.css +1 -43
- package/es/back-top/style/index.css +3 -45
- package/es/badge/style/index.css +23 -65
- package/es/breadcrumb/style/index.css +7 -49
- package/es/button/button.d.ts +1 -1
- package/es/button/button.js +11 -7
- package/es/button/style/index.css +156 -206
- package/es/calendar/style/index.css +8 -50
- package/es/card/style/index.css +17 -59
- package/es/carousel/style/index.css +1 -43
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/index.js +13 -9
- package/es/cascader/style/index.css +24 -66
- package/es/checkbox/Checkbox.js +8 -4
- package/es/checkbox/style/index.css +17 -59
- package/es/collapse/style/index.css +8 -50
- package/es/comment/style/index.css +5 -47
- package/es/config-provider/context.js +5 -1
- package/es/config-provider/style/index.css +0 -42
- package/es/date-picker/style/index.css +84 -126
- package/es/descriptions/style/index.css +8 -50
- package/es/divider/style/index.css +7 -49
- package/es/drawer/index.js +5 -1
- package/es/drawer/style/index.css +5 -47
- package/es/dropdown/style/index.css +17 -59
- package/es/empty/style/index.css +2 -44
- package/es/form/style/index.css +18 -60
- package/es/grid/col.js +5 -1
- package/es/grid/row.js +5 -1
- package/es/grid/style/index.css +0 -42
- package/es/icon/style/index.css +0 -42
- package/es/image/style/index.css +1 -43
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/es/input/Password.d.ts +1 -1
- package/es/input/Password.js +9 -5
- package/es/input/Search.js +9 -5
- package/es/input/style/index.css +65 -107
- package/es/input-number/index.js +1 -1
- package/es/input-number/style/index.css +68 -110
- package/es/layout/Sider.js +11 -7
- package/es/layout/layout.js +6 -2
- package/es/layout/style/index.css +4 -46
- package/es/list/style/index.css +17 -59
- package/es/locale-provider/index.d.ts +2 -2
- package/es/locale-provider/style/index.css +0 -42
- package/es/mentions/index.d.ts +1 -1
- package/es/mentions/index.js +8 -4
- package/es/mentions/style/index.css +32 -74
- package/es/menu/style/index.css +46 -88
- package/es/message/style/index.css +5 -47
- package/es/modal/style/confirm.less +2 -2
- package/es/modal/style/css.js +2 -1
- package/es/modal/style/index.css +3 -45
- package/es/modal/style/index.js +2 -1
- package/es/modal/style/index.less +0 -1
- package/es/modal/style/modal.less +1 -1
- package/es/modal/style/rtl.less +2 -1
- package/es/notification/style/index.css +8 -50
- package/es/page-header/style/index.css +6 -48
- package/es/pagination/style/index.css +99 -118
- package/es/pagination/style/index.less +63 -22
- package/es/popconfirm/style/index.css +0 -42
- package/es/popover/index.js +5 -1
- package/es/popover/style/index.css +17 -59
- package/es/progress/style/index.css +17 -59
- package/es/radio/radio.js +9 -5
- package/es/radio/style/index.css +49 -91
- package/es/rate/index.js +5 -1
- package/es/rate/style/index.css +2 -44
- package/es/result/style/index.css +6 -48
- package/es/segmented/index.d.ts +1 -1
- package/es/segmented/index.js +6 -2
- package/es/segmented/style/index.css +3 -45
- package/es/select/style/index.css +32 -74
- package/es/skeleton/style/index.css +10 -52
- package/es/skeleton/style/index.less +3 -3
- package/es/slider/index.d.ts +1 -1
- package/es/slider/index.js +8 -4
- package/es/slider/style/index.css +22 -56
- package/es/slider/style/index.less +9 -0
- package/es/space/style/index.css +0 -42
- package/es/spin/style/index.css +4 -46
- package/es/statistic/style/index.css +3 -45
- package/es/steps/style/index.css +44 -86
- package/es/style/color/colors.less +6 -6
- package/es/style/index.css +13 -55
- package/es/style/themes/compact.less +6 -12
- package/es/style/themes/dark.less +106 -445
- package/es/style/themes/default.less +35 -61
- package/es/style/themes/index.less +2 -3
- package/es/style/themes/variable.less +39 -80
- package/es/switch/index.js +10 -6
- package/es/switch/style/index.css +6 -48
- package/es/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/es/table/style/index.css +35 -77
- package/es/table/util.d.ts +1 -1
- package/es/tabs/style/index.css +22 -64
- package/es/tag/index.d.ts +1 -1
- package/es/tag/index.js +8 -4
- package/es/tag/style/index.css +39 -81
- package/es/time-picker/index.js +5 -1
- package/es/time-picker/style/index.css +0 -42
- package/es/timeline/index.d.ts +2 -2
- package/es/timeline/style/index.css +15 -57
- package/es/tooltip/index.d.ts +3 -3
- package/es/tooltip/index.js +9 -5
- package/es/tooltip/style/index.css +12 -54
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/style/index.css +28 -70
- package/es/tree/DirectoryTree.js +5 -1
- package/es/tree/index.d.ts +2 -2
- package/es/tree/style/index.css +29 -71
- package/es/tree-select/style/index.css +27 -69
- package/es/typography/Typography.js +6 -2
- package/es/typography/style/index.css +24 -66
- package/es/upload/Dragger.js +5 -1
- package/es/upload/Upload.js +10 -6
- package/es/upload/UploadList/index.js +13 -9
- package/es/upload/index.d.ts +1 -1
- package/es/upload/style/index.css +23 -65
- package/lib/affix/style/index.css +0 -42
- package/lib/alert/style/index.css +17 -59
- package/lib/anchor/Anchor.d.ts +1 -1
- package/lib/anchor/style/index.css +5 -47
- package/lib/auto-complete/style/index.css +1 -43
- package/lib/avatar/avatar.js +9 -5
- package/lib/avatar/style/index.css +1 -43
- package/lib/back-top/style/index.css +3 -45
- package/lib/badge/style/index.css +23 -65
- package/lib/breadcrumb/style/index.css +7 -49
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.js +13 -9
- package/lib/button/style/index.css +156 -206
- package/lib/calendar/style/index.css +8 -50
- package/lib/card/style/index.css +17 -59
- package/lib/carousel/style/index.css +1 -43
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/index.js +16 -12
- package/lib/cascader/style/index.css +24 -66
- package/lib/checkbox/Checkbox.js +10 -6
- package/lib/checkbox/style/index.css +17 -59
- package/lib/collapse/style/index.css +8 -50
- package/lib/comment/style/index.css +5 -47
- package/lib/config-provider/context.js +5 -1
- package/lib/config-provider/style/index.css +0 -42
- package/lib/date-picker/style/index.css +84 -126
- package/lib/descriptions/style/index.css +8 -50
- package/lib/divider/style/index.css +7 -49
- package/lib/drawer/index.js +5 -1
- package/lib/drawer/style/index.css +5 -47
- package/lib/dropdown/style/index.css +17 -59
- package/lib/empty/style/index.css +2 -44
- package/lib/form/style/index.css +18 -60
- package/lib/grid/col.js +5 -1
- package/lib/grid/row.js +5 -1
- package/lib/grid/style/index.css +0 -42
- package/lib/icon/style/index.css +0 -42
- package/lib/image/style/index.css +1 -43
- package/lib/index.d.ts +1 -2
- package/lib/index.js +0 -8
- package/lib/input/Password.d.ts +1 -1
- package/lib/input/Password.js +10 -6
- package/lib/input/Search.js +11 -7
- package/lib/input/style/index.css +65 -107
- package/lib/input-number/index.js +1 -1
- package/lib/input-number/style/index.css +68 -110
- package/lib/layout/Sider.js +13 -9
- package/lib/layout/layout.js +7 -3
- package/lib/layout/style/index.css +4 -46
- package/lib/list/style/index.css +17 -59
- package/lib/locale-provider/index.d.ts +2 -2
- package/lib/locale-provider/style/index.css +0 -42
- package/lib/mentions/index.d.ts +1 -1
- package/lib/mentions/index.js +10 -6
- package/lib/mentions/style/index.css +32 -74
- package/lib/menu/style/index.css +46 -88
- package/lib/message/style/index.css +5 -47
- package/lib/modal/style/confirm.less +2 -2
- package/lib/modal/style/index.css +3 -45
- package/lib/modal/style/index.less +0 -1
- package/lib/modal/style/modal.less +1 -1
- package/lib/modal/style/rtl.less +2 -1
- package/lib/notification/style/index.css +8 -50
- package/lib/page-header/style/index.css +6 -48
- package/lib/pagination/style/index.css +99 -118
- package/lib/pagination/style/index.less +63 -22
- package/lib/popconfirm/style/index.css +0 -42
- package/lib/popover/index.js +5 -1
- package/lib/popover/style/index.css +17 -59
- package/lib/progress/style/index.css +17 -59
- package/lib/radio/radio.js +11 -7
- package/lib/radio/style/index.css +49 -91
- package/lib/rate/index.js +5 -1
- package/lib/rate/style/index.css +2 -44
- package/lib/result/style/index.css +6 -48
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +7 -3
- package/lib/segmented/style/index.css +3 -45
- package/lib/select/style/index.css +32 -74
- package/lib/skeleton/style/index.css +10 -52
- package/lib/skeleton/style/index.less +3 -3
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +9 -5
- package/lib/slider/style/index.css +22 -56
- package/lib/slider/style/index.less +9 -0
- package/lib/space/style/index.css +0 -42
- package/lib/spin/style/index.css +4 -46
- package/lib/statistic/style/index.css +3 -45
- package/lib/steps/style/index.css +44 -86
- package/lib/style/color/colors.less +6 -6
- package/lib/style/index.css +13 -55
- package/lib/style/themes/compact.less +6 -12
- package/lib/style/themes/dark.less +106 -445
- package/lib/style/themes/default.less +35 -61
- package/lib/style/themes/index.less +2 -3
- package/lib/style/themes/variable.less +39 -80
- package/lib/switch/index.js +12 -8
- package/lib/switch/style/index.css +6 -48
- package/lib/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/lib/table/style/index.css +35 -77
- package/lib/table/util.d.ts +1 -1
- package/lib/tabs/style/index.css +22 -64
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/index.js +9 -5
- package/lib/tag/style/index.css +39 -81
- package/lib/time-picker/index.js +5 -1
- package/lib/time-picker/style/index.css +0 -42
- package/lib/timeline/index.d.ts +2 -2
- package/lib/timeline/style/index.css +15 -57
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/index.js +11 -7
- package/lib/tooltip/style/index.css +12 -54
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/style/index.css +28 -70
- package/lib/tree/DirectoryTree.js +5 -1
- package/lib/tree/index.d.ts +2 -2
- package/lib/tree/style/index.css +29 -71
- package/lib/tree-select/style/index.css +27 -69
- package/lib/typography/Typography.js +7 -3
- package/lib/typography/style/index.css +24 -66
- package/lib/upload/Dragger.js +5 -1
- package/lib/upload/Upload.js +12 -8
- package/lib/upload/UploadList/index.js +16 -12
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/style/index.css +23 -65
- package/package.json +2 -2
- package/report.html +2 -2
- package/es/config-provider/renderEmpty.d.ts +0 -4
- package/es/config-provider/renderEmpty.js +0 -41
- package/es/pagination/MiniSelect.d.ts +0 -7
- package/es/pagination/MiniSelect.js +0 -12
- package/es/typography/util.d.ts +0 -11
- package/es/typography/util.js +0 -234
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -4
- package/es/version/style/css.js +0 -2
- package/es/version/style/index.d.ts +0 -1
- package/es/version/style/index.js +0 -2
- package/es/version/version.d.ts +0 -2
- package/es/version/version.js +0 -1
- package/lib/config-provider/renderEmpty.d.ts +0 -4
- package/lib/config-provider/renderEmpty.js +0 -59
- package/lib/pagination/MiniSelect.d.ts +0 -7
- package/lib/pagination/MiniSelect.js +0 -30
- package/lib/typography/util.d.ts +0 -11
- package/lib/typography/util.js +0 -254
- package/lib/version/index.d.ts +0 -2
- package/lib/version/index.js +0 -15
- package/lib/version/style/css.js +0 -3
- package/lib/version/style/index.d.ts +0 -1
- package/lib/version/style/index.js +0 -3
- package/lib/version/version.d.ts +0 -2
- package/lib/version/version.js +0 -8
package/es/table/style/index.css
CHANGED
@@ -2,48 +2,6 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
-
html {
|
6
|
-
--ant-primary-color: #2c68ff;
|
7
|
-
--ant-primary-color-hover: #548aff;
|
8
|
-
--ant-primary-color-active: #1a4ad9;
|
9
|
-
--ant-primary-color-outline: rgba(44, 104, 255, 0.2);
|
10
|
-
--ant-primary-1: #f0f7ff;
|
11
|
-
--ant-primary-2: #cfe3ff;
|
12
|
-
--ant-primary-3: #a6c8ff;
|
13
|
-
--ant-primary-4: #7daaff;
|
14
|
-
--ant-primary-5: #548aff;
|
15
|
-
--ant-primary-6: #2c68ff;
|
16
|
-
--ant-primary-7: #1a4ad9;
|
17
|
-
--ant-primary-color-deprecated-pure: ;
|
18
|
-
--ant-primary-color-deprecated-l-35: #dfe8ff;
|
19
|
-
--ant-primary-color-deprecated-l-20: #92b1ff;
|
20
|
-
--ant-primary-color-deprecated-t-20: #5686ff;
|
21
|
-
--ant-primary-color-deprecated-t-50: #96b4ff;
|
22
|
-
--ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
|
23
|
-
--ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
|
24
|
-
--ant-primary-color-active-deprecated-d-02: #e6f2ff;
|
25
|
-
--ant-success-color: #36c626;
|
26
|
-
--ant-success-color-hover: #5cd44a;
|
27
|
-
--ant-success-color-active: #20a116;
|
28
|
-
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
-
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
-
--ant-success-color-deprecated-border: #afed9f;
|
31
|
-
--ant-error-color: #ff5c57;
|
32
|
-
--ant-error-color-hover: #ff8880;
|
33
|
-
--ant-error-color-active: #d93f3f;
|
34
|
-
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
-
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
-
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
-
--ant-warning-color: #ffab00;
|
38
|
-
--ant-warning-color-hover: #ffbf29;
|
39
|
-
--ant-warning-color-active: #d98900;
|
40
|
-
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
-
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
-
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
-
--ant-info-color: #2c68ff;
|
44
|
-
--ant-info-color-deprecated-bg: #f0f7ff;
|
45
|
-
--ant-info-color-deprecated-border: #a6c8ff;
|
46
|
-
}
|
47
5
|
.ant-table.ant-table-middle {
|
48
6
|
font-size: 14px;
|
49
7
|
}
|
@@ -93,11 +51,11 @@ html {
|
|
93
51
|
padding-inline-start: 2px;
|
94
52
|
}
|
95
53
|
.ant-table.ant-table-bordered > .ant-table-title {
|
96
|
-
border: 1px solid
|
54
|
+
border: 1px solid #eeeeee;
|
97
55
|
border-bottom: 0;
|
98
56
|
}
|
99
57
|
.ant-table.ant-table-bordered > .ant-table-container {
|
100
|
-
border-left: 1px solid
|
58
|
+
border-left: 1px solid #eeeeee;
|
101
59
|
}
|
102
60
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th,
|
103
61
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th,
|
@@ -115,13 +73,13 @@ html {
|
|
115
73
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > td,
|
116
74
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td,
|
117
75
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > td {
|
118
|
-
border-right: 1px solid
|
76
|
+
border-right: 1px solid #eeeeee;
|
119
77
|
}
|
120
78
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr:not(:last-child) > th,
|
121
79
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr:not(:last-child) > th,
|
122
80
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr:not(:last-child) > th,
|
123
81
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr:not(:last-child) > th {
|
124
|
-
border-bottom: 1px solid
|
82
|
+
border-bottom: 1px solid #eeeeee;
|
125
83
|
}
|
126
84
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th::before,
|
127
85
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th::before,
|
@@ -141,7 +99,7 @@ html {
|
|
141
99
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > .ant-table-cell-fix-right-first::after,
|
142
100
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > .ant-table-cell-fix-right-first::after,
|
143
101
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > .ant-table-cell-fix-right-first::after {
|
144
|
-
border-right: 1px solid
|
102
|
+
border-right: 1px solid #eeeeee;
|
145
103
|
}
|
146
104
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,
|
147
105
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td > .ant-table-expanded-row-fixed,
|
@@ -157,12 +115,12 @@ html {
|
|
157
115
|
top: 0;
|
158
116
|
right: 1px;
|
159
117
|
bottom: 0;
|
160
|
-
border-right: 1px solid
|
118
|
+
border-right: 1px solid #eeeeee;
|
161
119
|
content: '';
|
162
120
|
}
|
163
121
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,
|
164
122
|
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {
|
165
|
-
border-top: 1px solid
|
123
|
+
border-top: 1px solid #eeeeee;
|
166
124
|
}
|
167
125
|
.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-expanded-row > td,
|
168
126
|
.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-placeholder > td {
|
@@ -177,7 +135,7 @@ html {
|
|
177
135
|
margin: -8px -9px;
|
178
136
|
}
|
179
137
|
.ant-table.ant-table-bordered > .ant-table-footer {
|
180
|
-
border: 1px solid
|
138
|
+
border: 1px solid #eeeeee;
|
181
139
|
border-top: 0;
|
182
140
|
}
|
183
141
|
.ant-table-cell .ant-table-container:first-child {
|
@@ -203,7 +161,7 @@ html {
|
|
203
161
|
box-sizing: border-box;
|
204
162
|
margin: 0;
|
205
163
|
padding: 0;
|
206
|
-
color:
|
164
|
+
color: #4c4c4c;
|
207
165
|
font-variant: tabular-nums;
|
208
166
|
line-height: 1.5715;
|
209
167
|
list-style: none;
|
@@ -254,16 +212,16 @@ html {
|
|
254
212
|
}
|
255
213
|
.ant-table-footer {
|
256
214
|
padding: 16px 16px;
|
257
|
-
color:
|
215
|
+
color: #262626;
|
258
216
|
background: #fafafa;
|
259
217
|
}
|
260
218
|
.ant-table-thead > tr > th {
|
261
219
|
position: relative;
|
262
|
-
color:
|
220
|
+
color: #262626;
|
263
221
|
font-weight: 500;
|
264
222
|
text-align: left;
|
265
223
|
background: #fafafa;
|
266
|
-
border-bottom: 1px solid
|
224
|
+
border-bottom: 1px solid #eeeeee;
|
267
225
|
transition: background 0.3s ease;
|
268
226
|
}
|
269
227
|
.ant-table-thead > tr > th[colspan]:not([colspan='1']) {
|
@@ -275,7 +233,7 @@ html {
|
|
275
233
|
right: 0;
|
276
234
|
width: 1px;
|
277
235
|
height: 1.6em;
|
278
|
-
background-color:
|
236
|
+
background-color: #eeeeee;
|
279
237
|
transform: translateY(-50%);
|
280
238
|
transition: background-color 0.3s;
|
281
239
|
content: '';
|
@@ -284,7 +242,7 @@ html {
|
|
284
242
|
border-bottom: 0;
|
285
243
|
}
|
286
244
|
.ant-table-tbody > tr > td {
|
287
|
-
border-bottom: 1px solid
|
245
|
+
border-bottom: 1px solid #eeeeee;
|
288
246
|
transition: background 0.3s;
|
289
247
|
}
|
290
248
|
.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table,
|
@@ -306,11 +264,11 @@ html {
|
|
306
264
|
background: #fafafa;
|
307
265
|
}
|
308
266
|
.ant-table-tbody > tr.ant-table-row-selected > td {
|
309
|
-
background:
|
267
|
+
background: #f0f7ff;
|
310
268
|
border-color: rgba(0, 0, 0, 0.03);
|
311
269
|
}
|
312
270
|
.ant-table-tbody > tr.ant-table-row-selected:hover > td {
|
313
|
-
background:
|
271
|
+
background: #e6f2ff;
|
314
272
|
}
|
315
273
|
.ant-table-summary {
|
316
274
|
position: relative;
|
@@ -318,11 +276,11 @@ html {
|
|
318
276
|
background: #fff;
|
319
277
|
}
|
320
278
|
div.ant-table-summary {
|
321
|
-
box-shadow: 0 -1px 0
|
279
|
+
box-shadow: 0 -1px 0 #eeeeee;
|
322
280
|
}
|
323
281
|
.ant-table-summary > tr > th,
|
324
282
|
.ant-table-summary > tr > td {
|
325
|
-
border-bottom: 1px solid
|
283
|
+
border-bottom: 1px solid #eeeeee;
|
326
284
|
}
|
327
285
|
.ant-table-pagination.ant-pagination {
|
328
286
|
margin: 16px 0;
|
@@ -356,7 +314,7 @@ div.ant-table-summary {
|
|
356
314
|
background-color: transparent !important;
|
357
315
|
}
|
358
316
|
.ant-table-thead th.ant-table-column-has-sorters:focus-visible {
|
359
|
-
color:
|
317
|
+
color: #2c68ff;
|
360
318
|
}
|
361
319
|
.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,
|
362
320
|
.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover {
|
@@ -409,7 +367,7 @@ td.ant-table-column-sort {
|
|
409
367
|
}
|
410
368
|
.ant-table-column-sorter-up.active,
|
411
369
|
.ant-table-column-sorter-down.active {
|
412
|
-
color:
|
370
|
+
color: #2c68ff;
|
413
371
|
}
|
414
372
|
.ant-table-column-sorter-up + .ant-table-column-sorter-down {
|
415
373
|
margin-top: -0.3em;
|
@@ -434,17 +392,17 @@ td.ant-table-column-sort {
|
|
434
392
|
transition: all 0.3s;
|
435
393
|
}
|
436
394
|
.ant-table-filter-trigger:hover {
|
437
|
-
color:
|
395
|
+
color: #a9a9a9;
|
438
396
|
background: rgba(0, 0, 0, 0.04);
|
439
397
|
}
|
440
398
|
.ant-table-filter-trigger.active {
|
441
|
-
color:
|
399
|
+
color: #2c68ff;
|
442
400
|
}
|
443
401
|
.ant-table-filter-dropdown {
|
444
402
|
box-sizing: border-box;
|
445
403
|
margin: 0;
|
446
404
|
padding: 0;
|
447
|
-
color:
|
405
|
+
color: #4c4c4c;
|
448
406
|
font-size: 14px;
|
449
407
|
font-variant: tabular-nums;
|
450
408
|
line-height: 1.5715;
|
@@ -464,7 +422,7 @@ td.ant-table-column-sort {
|
|
464
422
|
.ant-table-filter-dropdown .ant-dropdown-menu:empty::after {
|
465
423
|
display: block;
|
466
424
|
padding: 8px 0;
|
467
|
-
color:
|
425
|
+
color: #a9a9a9;
|
468
426
|
font-size: 12px;
|
469
427
|
text-align: center;
|
470
428
|
content: 'Not Found';
|
@@ -477,17 +435,17 @@ td.ant-table-column-sort {
|
|
477
435
|
}
|
478
436
|
.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,
|
479
437
|
.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover {
|
480
|
-
background-color:
|
438
|
+
background-color: #cfe3ff;
|
481
439
|
}
|
482
440
|
.ant-table-filter-dropdown-search {
|
483
441
|
padding: 8px;
|
484
|
-
border-bottom: 1px
|
442
|
+
border-bottom: 1px #eeeeee solid;
|
485
443
|
}
|
486
444
|
.ant-table-filter-dropdown-search-input input {
|
487
445
|
min-width: 140px;
|
488
446
|
}
|
489
447
|
.ant-table-filter-dropdown-search-input .anticon {
|
490
|
-
color:
|
448
|
+
color: #a9a9a9;
|
491
449
|
}
|
492
450
|
.ant-table-filter-dropdown-checkall {
|
493
451
|
width: 100%;
|
@@ -509,7 +467,7 @@ td.ant-table-column-sort {
|
|
509
467
|
padding: 7px 8px;
|
510
468
|
overflow: hidden;
|
511
469
|
background-color: inherit;
|
512
|
-
border-top: 1px solid
|
470
|
+
border-top: 1px solid #eeeeee;
|
513
471
|
}
|
514
472
|
.ant-table-selection-col {
|
515
473
|
width: 32px;
|
@@ -567,7 +525,7 @@ table tr th.ant-table-selection-column::after {
|
|
567
525
|
height: 1px;
|
568
526
|
}
|
569
527
|
.ant-table-row-expand-icon {
|
570
|
-
color:
|
528
|
+
color: #2c68ff;
|
571
529
|
text-decoration: none;
|
572
530
|
cursor: pointer;
|
573
531
|
transition: color 0.3s;
|
@@ -581,7 +539,7 @@ table tr th.ant-table-selection-column::after {
|
|
581
539
|
color: inherit;
|
582
540
|
line-height: 17px;
|
583
541
|
background: #fff;
|
584
|
-
border: 1px solid
|
542
|
+
border: 1px solid #eeeeee;
|
585
543
|
border-radius: 4px;
|
586
544
|
outline: none;
|
587
545
|
transform: scale(0.94117647);
|
@@ -593,10 +551,10 @@ table tr th.ant-table-selection-column::after {
|
|
593
551
|
}
|
594
552
|
.ant-table-row-expand-icon:focus,
|
595
553
|
.ant-table-row-expand-icon:hover {
|
596
|
-
color:
|
554
|
+
color: #548aff;
|
597
555
|
}
|
598
556
|
.ant-table-row-expand-icon:active {
|
599
|
-
color:
|
557
|
+
color: #1a4ad9;
|
600
558
|
}
|
601
559
|
.ant-table-row-expand-icon:focus,
|
602
560
|
.ant-table-row-expand-icon:hover,
|
@@ -663,7 +621,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
663
621
|
text-align: center;
|
664
622
|
}
|
665
623
|
.ant-table-empty .ant-table-tbody > tr.ant-table-placeholder {
|
666
|
-
color:
|
624
|
+
color: #a9a9a9;
|
667
625
|
}
|
668
626
|
.ant-table-tbody > tr.ant-table-placeholder:hover > td {
|
669
627
|
background: #fff;
|
@@ -752,8 +710,8 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
752
710
|
z-index: calc(2 + 1);
|
753
711
|
display: flex;
|
754
712
|
align-items: center;
|
755
|
-
background:
|
756
|
-
border-top: 1px solid
|
713
|
+
background: #ffffff;
|
714
|
+
border-top: 1px solid #eeeeee;
|
757
715
|
opacity: 0.6;
|
758
716
|
}
|
759
717
|
.ant-table-sticky-scroll:hover {
|
package/es/table/util.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { ColumnType, ColumnTitle, ColumnTitleProps, Key } from './interface';
|
2
|
+
import type { ColumnType, ColumnTitle, ColumnTitleProps, Key } from './interface';
|
3
3
|
export declare function getColumnKey<RecordType>(column: ColumnType<RecordType>, defaultKey: string): Key;
|
4
4
|
export declare function getColumnPos(index: number, pos?: string): string;
|
5
5
|
export declare function renderColumnTitle<RecordType>(title: ColumnTitle<RecordType>, props: ColumnTitleProps<RecordType>): import("react").ReactNode;
|
package/es/tabs/style/index.css
CHANGED
@@ -2,48 +2,6 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
-
html {
|
6
|
-
--ant-primary-color: #2c68ff;
|
7
|
-
--ant-primary-color-hover: #548aff;
|
8
|
-
--ant-primary-color-active: #1a4ad9;
|
9
|
-
--ant-primary-color-outline: rgba(44, 104, 255, 0.2);
|
10
|
-
--ant-primary-1: #f0f7ff;
|
11
|
-
--ant-primary-2: #cfe3ff;
|
12
|
-
--ant-primary-3: #a6c8ff;
|
13
|
-
--ant-primary-4: #7daaff;
|
14
|
-
--ant-primary-5: #548aff;
|
15
|
-
--ant-primary-6: #2c68ff;
|
16
|
-
--ant-primary-7: #1a4ad9;
|
17
|
-
--ant-primary-color-deprecated-pure: ;
|
18
|
-
--ant-primary-color-deprecated-l-35: #dfe8ff;
|
19
|
-
--ant-primary-color-deprecated-l-20: #92b1ff;
|
20
|
-
--ant-primary-color-deprecated-t-20: #5686ff;
|
21
|
-
--ant-primary-color-deprecated-t-50: #96b4ff;
|
22
|
-
--ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
|
23
|
-
--ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
|
24
|
-
--ant-primary-color-active-deprecated-d-02: #e6f2ff;
|
25
|
-
--ant-success-color: #36c626;
|
26
|
-
--ant-success-color-hover: #5cd44a;
|
27
|
-
--ant-success-color-active: #20a116;
|
28
|
-
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
-
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
-
--ant-success-color-deprecated-border: #afed9f;
|
31
|
-
--ant-error-color: #ff5c57;
|
32
|
-
--ant-error-color-hover: #ff8880;
|
33
|
-
--ant-error-color-active: #d93f3f;
|
34
|
-
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
-
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
-
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
-
--ant-warning-color: #ffab00;
|
38
|
-
--ant-warning-color-hover: #ffbf29;
|
39
|
-
--ant-warning-color-active: #d98900;
|
40
|
-
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
-
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
-
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
-
--ant-info-color: #2c68ff;
|
44
|
-
--ant-info-color-deprecated-bg: #f0f7ff;
|
45
|
-
--ant-info-color-deprecated-border: #a6c8ff;
|
46
|
-
}
|
47
5
|
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
|
48
6
|
padding: 8px 0;
|
49
7
|
font-size: 14px;
|
@@ -127,7 +85,7 @@ html {
|
|
127
85
|
position: absolute;
|
128
86
|
right: 0;
|
129
87
|
left: 0;
|
130
|
-
border-bottom: 1px solid
|
88
|
+
border-bottom: 1px solid #eeeeee;
|
131
89
|
content: '';
|
132
90
|
}
|
133
91
|
.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar,
|
@@ -300,7 +258,7 @@ html {
|
|
300
258
|
.ant-tabs-left > .ant-tabs-content-holder,
|
301
259
|
.ant-tabs-left > div > .ant-tabs-content-holder {
|
302
260
|
margin-left: -1px;
|
303
|
-
border-left: 1px solid
|
261
|
+
border-left: 1px solid #eeeeee;
|
304
262
|
}
|
305
263
|
.ant-tabs-left > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,
|
306
264
|
.ant-tabs-left > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
|
@@ -318,7 +276,7 @@ html {
|
|
318
276
|
.ant-tabs-right > div > .ant-tabs-content-holder {
|
319
277
|
order: 0;
|
320
278
|
margin-right: -1px;
|
321
|
-
border-right: 1px solid
|
279
|
+
border-right: 1px solid #eeeeee;
|
322
280
|
}
|
323
281
|
.ant-tabs-right > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,
|
324
282
|
.ant-tabs-right > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
|
@@ -328,7 +286,7 @@ html {
|
|
328
286
|
box-sizing: border-box;
|
329
287
|
margin: 0;
|
330
288
|
padding: 0;
|
331
|
-
color:
|
289
|
+
color: #4c4c4c;
|
332
290
|
font-size: 14px;
|
333
291
|
font-variant: tabular-nums;
|
334
292
|
line-height: 1.5715;
|
@@ -364,7 +322,7 @@ html {
|
|
364
322
|
margin: 0;
|
365
323
|
padding: 5px 12px;
|
366
324
|
overflow: hidden;
|
367
|
-
color:
|
325
|
+
color: #4c4c4c;
|
368
326
|
font-weight: normal;
|
369
327
|
font-size: 14px;
|
370
328
|
line-height: 22px;
|
@@ -380,21 +338,21 @@ html {
|
|
380
338
|
.ant-tabs-dropdown-menu-item-remove {
|
381
339
|
flex: none;
|
382
340
|
margin-left: 12px;
|
383
|
-
color:
|
341
|
+
color: #a9a9a9;
|
384
342
|
font-size: 12px;
|
385
343
|
background: transparent;
|
386
344
|
border: 0;
|
387
345
|
cursor: pointer;
|
388
346
|
}
|
389
347
|
.ant-tabs-dropdown-menu-item-remove:hover {
|
390
|
-
color:
|
348
|
+
color: #548aff;
|
391
349
|
}
|
392
350
|
.ant-tabs-dropdown-menu-item:hover {
|
393
351
|
background: #f5f5f5;
|
394
352
|
}
|
395
353
|
.ant-tabs-dropdown-menu-item-disabled,
|
396
354
|
.ant-tabs-dropdown-menu-item-disabled:hover {
|
397
|
-
color:
|
355
|
+
color: #a9a9a9;
|
398
356
|
background: transparent;
|
399
357
|
cursor: not-allowed;
|
400
358
|
}
|
@@ -403,12 +361,12 @@ html {
|
|
403
361
|
margin: 0;
|
404
362
|
padding: 8px 16px;
|
405
363
|
background: #fafafa;
|
406
|
-
border: 1px solid
|
364
|
+
border: 1px solid #eeeeee;
|
407
365
|
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
408
366
|
}
|
409
367
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active,
|
410
368
|
.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active {
|
411
|
-
color:
|
369
|
+
color: #2c68ff;
|
412
370
|
background: #fff;
|
413
371
|
}
|
414
372
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-ink-bar,
|
@@ -463,7 +421,7 @@ html {
|
|
463
421
|
box-sizing: border-box;
|
464
422
|
margin: 0;
|
465
423
|
padding: 0;
|
466
|
-
color:
|
424
|
+
color: #4c4c4c;
|
467
425
|
font-size: 14px;
|
468
426
|
font-variant: tabular-nums;
|
469
427
|
line-height: 1.5715;
|
@@ -540,7 +498,7 @@ html {
|
|
540
498
|
margin-left: 2px;
|
541
499
|
padding: 0 8px;
|
542
500
|
background: #fafafa;
|
543
|
-
border: 1px solid
|
501
|
+
border: 1px solid #eeeeee;
|
544
502
|
border-radius: 4px 4px 0 0;
|
545
503
|
outline: none;
|
546
504
|
cursor: pointer;
|
@@ -548,13 +506,13 @@ html {
|
|
548
506
|
}
|
549
507
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
|
550
508
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
|
551
|
-
color:
|
509
|
+
color: #548aff;
|
552
510
|
}
|
553
511
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
|
554
512
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
|
555
513
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,
|
556
514
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {
|
557
|
-
color:
|
515
|
+
color: #1a4ad9;
|
558
516
|
}
|
559
517
|
.ant-tabs-extra-content {
|
560
518
|
flex: none;
|
@@ -565,7 +523,7 @@ html {
|
|
565
523
|
}
|
566
524
|
.ant-tabs-ink-bar {
|
567
525
|
position: absolute;
|
568
|
-
background:
|
526
|
+
background: #2c68ff;
|
569
527
|
pointer-events: none;
|
570
528
|
}
|
571
529
|
.ant-tabs-tab {
|
@@ -583,7 +541,7 @@ html {
|
|
583
541
|
.ant-tabs-tab-remove:focus,
|
584
542
|
.ant-tabs-tab-btn:active,
|
585
543
|
.ant-tabs-tab-remove:active {
|
586
|
-
color:
|
544
|
+
color: #1a4ad9;
|
587
545
|
}
|
588
546
|
.ant-tabs-tab-btn {
|
589
547
|
outline: none;
|
@@ -593,7 +551,7 @@ html {
|
|
593
551
|
flex: none;
|
594
552
|
margin-right: -4px;
|
595
553
|
margin-left: 8px;
|
596
|
-
color:
|
554
|
+
color: #a9a9a9;
|
597
555
|
font-size: 12px;
|
598
556
|
background: transparent;
|
599
557
|
border: none;
|
@@ -602,24 +560,24 @@ html {
|
|
602
560
|
transition: all 0.3s;
|
603
561
|
}
|
604
562
|
.ant-tabs-tab-remove:hover {
|
605
|
-
color:
|
563
|
+
color: #262626;
|
606
564
|
}
|
607
565
|
.ant-tabs-tab:hover {
|
608
|
-
color:
|
566
|
+
color: #548aff;
|
609
567
|
}
|
610
568
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
611
|
-
color:
|
569
|
+
color: #2c68ff;
|
612
570
|
text-shadow: 0 0 0.25px currentcolor;
|
613
571
|
}
|
614
572
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
615
|
-
color:
|
573
|
+
color: #a9a9a9;
|
616
574
|
cursor: not-allowed;
|
617
575
|
}
|
618
576
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,
|
619
577
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus,
|
620
578
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,
|
621
579
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active {
|
622
|
-
color:
|
580
|
+
color: #a9a9a9;
|
623
581
|
}
|
624
582
|
.ant-tabs-tab .ant-tabs-tab-remove .anticon {
|
625
583
|
margin: 0;
|
package/es/tag/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import CheckableTag from './CheckableTag';
|
3
2
|
import type { PresetColorType, PresetStatusColorType } from '../_util/colors';
|
4
3
|
import type { LiteralUnion } from '../_util/type';
|
4
|
+
import CheckableTag from './CheckableTag';
|
5
5
|
export { CheckableTagProps } from './CheckableTag';
|
6
6
|
export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
7
7
|
prefixCls?: string;
|
package/es/tag/index.js
CHANGED
@@ -2,14 +2,14 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
4
4
|
import { __rest } from "tslib";
|
5
|
-
import
|
5
|
+
import CloseOutlined from "@ant-design/icons/es/icons/CloseOutlined";
|
6
6
|
import classNames from 'classnames';
|
7
7
|
import omit from "rc-util/es/omit";
|
8
|
-
import
|
9
|
-
import CheckableTag from './CheckableTag';
|
8
|
+
import * as React from 'react';
|
10
9
|
import { ConfigContext } from '../config-provider';
|
11
10
|
import { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';
|
12
11
|
import Wave from '../_util/wave';
|
12
|
+
import CheckableTag from './CheckableTag';
|
13
13
|
var PresetColorRegex = new RegExp("^(".concat(PresetColorTypes.join('|'), ")(-inverse)?$"));
|
14
14
|
var PresetStatusColorRegex = new RegExp("^(".concat(PresetStatusColorTypes.join('|'), ")$"));
|
15
15
|
|
@@ -99,6 +99,10 @@ var InternalTag = function InternalTag(_a, ref) {
|
|
99
99
|
};
|
100
100
|
|
101
101
|
var Tag = /*#__PURE__*/React.forwardRef(InternalTag);
|
102
|
-
|
102
|
+
|
103
|
+
if (process.env.NODE_ENV !== 'production') {
|
104
|
+
Tag.displayName = 'Tag';
|
105
|
+
}
|
106
|
+
|
103
107
|
Tag.CheckableTag = CheckableTag;
|
104
108
|
export default Tag;
|