@fle-ui/next 1.0.5-alpha.4 → 1.0.5-alpha.7
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 +1815 -5117
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +6350 -6356
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +3 -3
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +5 -5
- 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 +12 -54
- 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 +23 -65
- 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 +17 -59
- 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 +44 -86
- 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 +2 -44
- package/es/modal/style/index.js +2 -1
- package/es/modal/style/index.less +0 -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 +97 -116
- package/es/pagination/style/index.less +64 -21
- package/es/popconfirm/style/index.css +0 -42
- package/es/popover/index.js +5 -1
- package/es/popover/style/index.css +11 -53
- 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 +3 -3
- package/es/style/index.css +13 -55
- package/es/style/themes/default.less +29 -55
- package/es/style/themes/index.less +2 -3
- package/es/style/themes/variable.less +1 -4
- 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 +25 -67
- 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 +6 -48
- 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 +23 -65
- 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 +12 -54
- 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 +23 -65
- 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 +17 -59
- 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 +44 -86
- package/lib/message/style/index.css +5 -47
- package/lib/modal/style/confirm.less +2 -2
- package/lib/modal/style/index.css +2 -44
- package/lib/modal/style/index.less +0 -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 +97 -116
- package/lib/pagination/style/index.less +64 -21
- package/lib/popconfirm/style/index.css +0 -42
- package/lib/popover/index.js +5 -1
- package/lib/popover/style/index.css +11 -53
- 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 +3 -3
- package/lib/style/index.css +13 -55
- package/lib/style/themes/default.less +29 -55
- package/lib/style/themes/index.less +2 -3
- package/lib/style/themes/variable.less +1 -4
- 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 +25 -67
- 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 +6 -48
- 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 +23 -65
- 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
@@ -32,9 +32,7 @@
|
|
32
32
|
@success-color-active: color(~`colorPalette('@{success-color}', 7) `);
|
33
33
|
@success-color-outline: fade(@success-color, @outline-fade);
|
34
34
|
@success-color-deprecated-bg: color(~`colorPalette('@{success-color}', 1) `);
|
35
|
-
@success-color-deprecated-border: color(
|
36
|
-
~`colorPalette('@{success-color}', 3) `
|
37
|
-
);
|
35
|
+
@success-color-deprecated-border: color(~`colorPalette('@{success-color}', 3) `);
|
38
36
|
|
39
37
|
// >>> Warning
|
40
38
|
@warning-color: @gold-6;
|
@@ -42,9 +40,7 @@
|
|
42
40
|
@warning-color-active: color(~`colorPalette('@{warning-color}', 7) `);
|
43
41
|
@warning-color-outline: fade(@warning-color, @outline-fade);
|
44
42
|
@warning-color-deprecated-bg: color(~`colorPalette('@{warning-color}', 1) `);
|
45
|
-
@warning-color-deprecated-border: color(
|
46
|
-
~`colorPalette('@{warning-color}', 3) `
|
47
|
-
);
|
43
|
+
@warning-color-deprecated-border: color(~`colorPalette('@{warning-color}', 3) `);
|
48
44
|
|
49
45
|
// >>> Error
|
50
46
|
@error-color: @red-5;
|
@@ -61,21 +57,15 @@
|
|
61
57
|
|
62
58
|
// Color used by default to control hover and active backgrounds and for
|
63
59
|
// alert info backgrounds.
|
64
|
-
@primary-1: color(
|
65
|
-
|
66
|
-
); // replace tint(@primary-color, 90%)
|
67
|
-
@primary-2: color(
|
68
|
-
~`colorPalette('@{primary-color}', 2) `
|
69
|
-
); // replace tint(@primary-color, 80%)
|
60
|
+
@primary-1: color(~`colorPalette('@{primary-color}', 1) `); // replace tint(@primary-color, 90%)
|
61
|
+
@primary-2: color(~`colorPalette('@{primary-color}', 2) `); // replace tint(@primary-color, 80%)
|
70
62
|
@primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
|
71
63
|
@primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
|
72
64
|
@primary-5: color(
|
73
65
|
~`colorPalette('@{primary-color}', 5) `
|
74
66
|
); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
|
75
67
|
@primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
|
76
|
-
@primary-7: color(
|
77
|
-
~`colorPalette('@{primary-color}', 7) `
|
78
|
-
); // replace shade(@primary-color, 5%)
|
68
|
+
@primary-7: color(~`colorPalette('@{primary-color}', 7) `); // replace shade(@primary-color, 5%)
|
79
69
|
@primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
|
80
70
|
@primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
|
81
71
|
@primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
|
@@ -90,11 +80,10 @@
|
|
90
80
|
// Popover background color
|
91
81
|
@popover-background: @component-background;
|
92
82
|
@popover-customize-border-color: @border-color-split;
|
93
|
-
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
94
|
-
'
|
95
|
-
'
|
96
|
-
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
97
|
-
monospace;
|
83
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
84
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
85
|
+
'Noto Color Emoji';
|
86
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
98
87
|
@text-color: fade(@black, 85%);
|
99
88
|
@text-color-secondary: fade(@black, 45%);
|
100
89
|
@text-color-inverse: @white;
|
@@ -194,11 +183,7 @@
|
|
194
183
|
@outline-color: @primary-color; // No use anymore
|
195
184
|
@outline-fade: 20%;
|
196
185
|
|
197
|
-
@background-color-light: hsv(
|
198
|
-
0,
|
199
|
-
0,
|
200
|
-
98%
|
201
|
-
); // background of header and selected item
|
186
|
+
@background-color-light: hsv(0, 0, 98%); // background of header and selected item
|
202
187
|
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
203
188
|
|
204
189
|
// Disabled states
|
@@ -211,14 +196,14 @@
|
|
211
196
|
@shadow-color: rgba(0, 0, 0, 0.15);
|
212
197
|
@shadow-color-inverse: @component-background;
|
213
198
|
@box-shadow-base: @shadow-2;
|
214
|
-
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08),
|
215
|
-
0 -
|
216
|
-
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
217
|
-
0
|
218
|
-
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
219
|
-
-
|
220
|
-
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
221
|
-
|
199
|
+
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05),
|
200
|
+
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
201
|
+
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
|
202
|
+
0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
203
|
+
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
204
|
+
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
205
|
+
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
206
|
+
12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
222
207
|
@shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
223
208
|
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
224
209
|
|
@@ -448,18 +433,13 @@
|
|
448
433
|
@input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
|
449
434
|
@input-padding-horizontal-lg: @input-padding-horizontal;
|
450
435
|
@input-padding-vertical-base: max(
|
451
|
-
(
|
452
|
-
|
453
|
-
((@input-height-base - @font-size-base * @line-height-base) / 2) * 10
|
454
|
-
) / 10
|
455
|
-
) - @border-width-base,
|
436
|
+
(round(((@input-height-base - @font-size-base * @line-height-base) / 2) * 10) / 10) -
|
437
|
+
@border-width-base,
|
456
438
|
3px
|
457
439
|
);
|
458
440
|
@input-padding-vertical-sm: max(
|
459
|
-
(
|
460
|
-
|
461
|
-
10
|
462
|
-
) - @border-width-base,
|
441
|
+
(round(((@input-height-sm - @font-size-base * @line-height-base) / 2) * 10) / 10) -
|
442
|
+
@border-width-base,
|
463
443
|
0
|
464
444
|
);
|
465
445
|
@input-padding-vertical-lg: (
|
@@ -504,8 +484,7 @@
|
|
504
484
|
@select-selection-item-bg: @background-color-base;
|
505
485
|
@select-selection-item-border-color: @border-color-split;
|
506
486
|
@select-single-item-height-lg: 40px;
|
507
|
-
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base *
|
508
|
-
2; // Normal 24px
|
487
|
+
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base * 2; // Normal 24px
|
509
488
|
@select-multiple-item-height-lg: 32px;
|
510
489
|
@select-multiple-item-spacing-half: ceil((@input-padding-vertical-base / 2));
|
511
490
|
@select-multiple-disabled-background: @input-disabled-bg;
|
@@ -576,7 +555,7 @@
|
|
576
555
|
@modal-header-padding-horizontal: @padding-lg;
|
577
556
|
@modal-body-padding: @padding-lg;
|
578
557
|
@modal-header-bg: @component-background;
|
579
|
-
@modal-header-padding:
|
558
|
+
@modal-header-padding: @modal-header-padding-vertical @modal-header-padding-horizontal;
|
580
559
|
@modal-header-border-width: @border-width-base;
|
581
560
|
@modal-header-border-style: @border-style-base;
|
582
561
|
@modal-header-title-line-height: 22px;
|
@@ -772,8 +751,8 @@
|
|
772
751
|
@card-actions-li-margin: 12px 0;
|
773
752
|
@card-skeleton-bg: #cfd8dc;
|
774
753
|
@card-background: @component-background;
|
775
|
-
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
|
776
|
-
0
|
754
|
+
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
|
755
|
+
0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
777
756
|
@card-radius: @border-radius-base;
|
778
757
|
@card-head-tabs-margin-bottom: -17px;
|
779
758
|
@card-head-extra-color: @text-color;
|
@@ -989,10 +968,8 @@
|
|
989
968
|
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px;
|
990
969
|
@alert-with-description-padding-vertical: @padding-md - 1px;
|
991
970
|
@alert-with-description-padding: @alert-with-description-padding-vertical 15px
|
992
|
-
@alert-with-description-no-icon-padding-vertical
|
993
|
-
|
994
|
-
@alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) -
|
995
|
-
(@font-size-base / 2);
|
971
|
+
@alert-with-description-no-icon-padding-vertical @alert-with-description-icon-size;
|
972
|
+
@alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) - (@font-size-base / 2);
|
996
973
|
@alert-with-description-icon-size: 24px;
|
997
974
|
|
998
975
|
// List
|
@@ -1092,10 +1069,7 @@
|
|
1092
1069
|
@image-mask-font-size: 16px;
|
1093
1070
|
@image-preview-operation-size: 18px;
|
1094
1071
|
@image-preview-operation-color: @text-color-dark;
|
1095
|
-
@image-preview-operation-disabled-color: fade(
|
1096
|
-
@image-preview-operation-color,
|
1097
|
-
25%
|
1098
|
-
);
|
1072
|
+
@image-preview-operation-disabled-color: fade(@image-preview-operation-color, 25%);
|
1099
1073
|
|
1100
1074
|
// Segmented
|
1101
1075
|
// ---
|
@@ -1,9 +1,8 @@
|
|
1
1
|
// Default using variable as entry to support site variable version
|
2
2
|
// This will be replaced in webpack bundle
|
3
|
-
@root-entry-name:
|
3
|
+
@root-entry-name: default;
|
4
4
|
|
5
5
|
// @import './default.less';
|
6
6
|
// @import './variable.less';
|
7
7
|
@import './@{root-entry-name}.less';
|
8
|
-
|
9
|
-
// @import '../theme.less';
|
8
|
+
@import '../theme.less';
|
@@ -1162,10 +1162,7 @@
|
|
1162
1162
|
@image-mask-font-size: 16px;
|
1163
1163
|
@image-preview-operation-size: 18px;
|
1164
1164
|
@image-preview-operation-color: @text-color-dark;
|
1165
|
-
@image-preview-operation-disabled-color: fade(
|
1166
|
-
@image-preview-operation-color,
|
1167
|
-
25%
|
1168
|
-
);
|
1165
|
+
@image-preview-operation-disabled-color: fade(@image-preview-operation-color, 25%);
|
1169
1166
|
|
1170
1167
|
// Segmented
|
1171
1168
|
// ---
|
package/es/switch/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
3
3
|
import { __rest } from "tslib";
|
4
|
-
import * as React from 'react';
|
5
|
-
import RcSwitch from 'rc-switch';
|
6
|
-
import classNames from 'classnames';
|
7
4
|
import LoadingOutlined from "@ant-design/icons/es/icons/LoadingOutlined";
|
8
|
-
import
|
5
|
+
import classNames from 'classnames';
|
6
|
+
import RcSwitch from 'rc-switch';
|
7
|
+
import * as React from 'react';
|
9
8
|
import { ConfigContext } from '../config-provider';
|
10
|
-
import SizeContext from '../config-provider/SizeContext';
|
11
9
|
import DisabledContext from '../config-provider/DisabledContext';
|
10
|
+
import SizeContext from '../config-provider/SizeContext';
|
12
11
|
import warning from '../_util/warning';
|
12
|
+
import Wave from '../_util/wave';
|
13
13
|
var Switch = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
14
14
|
var _classNames;
|
15
15
|
|
@@ -50,5 +50,9 @@ var Switch = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
50
50
|
})));
|
51
51
|
});
|
52
52
|
Switch.__ANT_SWITCH = true;
|
53
|
-
|
53
|
+
|
54
|
+
if (process.env.NODE_ENV !== 'production') {
|
55
|
+
Switch.displayName = 'Switch';
|
56
|
+
}
|
57
|
+
|
54
58
|
export default Switch;
|
@@ -2,52 +2,10 @@
|
|
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-switch {
|
48
6
|
margin: 0;
|
49
7
|
padding: 0;
|
50
|
-
color:
|
8
|
+
color: #4c4c4c;
|
51
9
|
font-size: 14px;
|
52
10
|
font-variant: tabular-nums;
|
53
11
|
line-height: 1.5715;
|
@@ -60,7 +18,7 @@ html {
|
|
60
18
|
height: 22px;
|
61
19
|
line-height: 22px;
|
62
20
|
vertical-align: middle;
|
63
|
-
background-image: linear-gradient(to right,
|
21
|
+
background-image: linear-gradient(to right, #a9a9a9, #a9a9a9), linear-gradient(to right, #fff, #fff);
|
64
22
|
border: 0;
|
65
23
|
border-radius: 100px;
|
66
24
|
cursor: pointer;
|
@@ -72,16 +30,16 @@ html {
|
|
72
30
|
}
|
73
31
|
.ant-switch:focus {
|
74
32
|
outline: 0;
|
75
|
-
box-shadow: 0 0 0 2px rgba(
|
33
|
+
box-shadow: 0 0 0 2px rgba(169, 169, 169, 0.1);
|
76
34
|
}
|
77
35
|
.ant-switch-checked:focus {
|
78
|
-
box-shadow: 0 0 0 2px
|
36
|
+
box-shadow: 0 0 0 2px #f0f7ff;
|
79
37
|
}
|
80
38
|
.ant-switch:focus:hover {
|
81
39
|
box-shadow: none;
|
82
40
|
}
|
83
41
|
.ant-switch-checked {
|
84
|
-
background:
|
42
|
+
background: #2c68ff;
|
85
43
|
}
|
86
44
|
.ant-switch-loading,
|
87
45
|
.ant-switch-disabled {
|
@@ -141,7 +99,7 @@ html {
|
|
141
99
|
vertical-align: top;
|
142
100
|
}
|
143
101
|
.ant-switch-checked .ant-switch-loading-icon {
|
144
|
-
color:
|
102
|
+
color: #2c68ff;
|
145
103
|
}
|
146
104
|
.ant-switch-small {
|
147
105
|
min-width: 28px;
|
@@ -158,23 +158,10 @@ function FilterDropdown(props) {
|
|
158
158
|
openKeys = _React$useState4[0],
|
159
159
|
setOpenKeys = _React$useState4[1];
|
160
160
|
|
161
|
-
var openRef = React.useRef();
|
162
|
-
|
163
161
|
var onOpenChange = function onOpenChange(keys) {
|
164
|
-
|
165
|
-
|
166
|
-
});
|
167
|
-
};
|
162
|
+
setOpenKeys(keys);
|
163
|
+
}; // search in tree mode column filter
|
168
164
|
|
169
|
-
var onMenuClick = function onMenuClick() {
|
170
|
-
window.clearTimeout(openRef.current);
|
171
|
-
};
|
172
|
-
|
173
|
-
React.useEffect(function () {
|
174
|
-
return function () {
|
175
|
-
window.clearTimeout(openRef.current);
|
176
|
-
};
|
177
|
-
}, []); // search in tree mode column filter
|
178
165
|
|
179
166
|
var _React$useState5 = React.useState(''),
|
180
167
|
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
@@ -385,7 +372,6 @@ function FilterDropdown(props) {
|
|
385
372
|
multiple: filterMultiple,
|
386
373
|
prefixCls: "".concat(dropdownPrefixCls, "-menu"),
|
387
374
|
className: dropdownMenuClass,
|
388
|
-
onClick: onMenuClick,
|
389
375
|
onSelect: onSelectKeys,
|
390
376
|
onDeselect: onSelectKeys,
|
391
377
|
selectedKeys: selectedKeys,
|
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;
|