@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/lib/tag/style/index.css
CHANGED
@@ -2,53 +2,11 @@
|
|
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-tag {
|
48
6
|
box-sizing: border-box;
|
49
7
|
margin: 0;
|
50
8
|
padding: 0;
|
51
|
-
color:
|
9
|
+
color: #4c4c4c;
|
52
10
|
font-size: 14px;
|
53
11
|
font-variant: tabular-nums;
|
54
12
|
line-height: 1.5715;
|
@@ -62,7 +20,7 @@ html {
|
|
62
20
|
line-height: 20px;
|
63
21
|
white-space: nowrap;
|
64
22
|
background: #fafafa;
|
65
|
-
border: 1px solid #
|
23
|
+
border: 1px solid #d2d2d2;
|
66
24
|
border-radius: 4px;
|
67
25
|
opacity: 1;
|
68
26
|
transition: all 0.3s;
|
@@ -70,7 +28,7 @@ html {
|
|
70
28
|
.ant-tag,
|
71
29
|
.ant-tag a,
|
72
30
|
.ant-tag a:hover {
|
73
|
-
color:
|
31
|
+
color: #4c4c4c;
|
74
32
|
}
|
75
33
|
.ant-tag > a:first-child:last-child {
|
76
34
|
display: inline-block;
|
@@ -79,13 +37,13 @@ html {
|
|
79
37
|
}
|
80
38
|
.ant-tag-close-icon {
|
81
39
|
margin-left: 3px;
|
82
|
-
color:
|
40
|
+
color: #a9a9a9;
|
83
41
|
font-size: 10px;
|
84
42
|
cursor: pointer;
|
85
43
|
transition: all 0.3s;
|
86
44
|
}
|
87
45
|
.ant-tag-close-icon:hover {
|
88
|
-
color:
|
46
|
+
color: #262626;
|
89
47
|
}
|
90
48
|
.ant-tag-has-color {
|
91
49
|
border-color: transparent;
|
@@ -103,17 +61,17 @@ html {
|
|
103
61
|
cursor: pointer;
|
104
62
|
}
|
105
63
|
.ant-tag-checkable:not(.ant-tag-checkable-checked):hover {
|
106
|
-
color:
|
64
|
+
color: #2c68ff;
|
107
65
|
}
|
108
66
|
.ant-tag-checkable:active,
|
109
67
|
.ant-tag-checkable-checked {
|
110
68
|
color: #fff;
|
111
69
|
}
|
112
70
|
.ant-tag-checkable-checked {
|
113
|
-
background-color:
|
71
|
+
background-color: #2c68ff;
|
114
72
|
}
|
115
73
|
.ant-tag-checkable:active {
|
116
|
-
background-color:
|
74
|
+
background-color: #1a4ad9;
|
117
75
|
}
|
118
76
|
.ant-tag-hidden {
|
119
77
|
display: none;
|
@@ -139,14 +97,14 @@ html {
|
|
139
97
|
border-color: #eb2f96;
|
140
98
|
}
|
141
99
|
.ant-tag-red {
|
142
|
-
color: #
|
143
|
-
background: #
|
144
|
-
border-color: #
|
100
|
+
color: #cf1322;
|
101
|
+
background: #fff1f0;
|
102
|
+
border-color: #ffa39e;
|
145
103
|
}
|
146
104
|
.ant-tag-red-inverse {
|
147
105
|
color: #fff;
|
148
|
-
background: #
|
149
|
-
border-color: #
|
106
|
+
background: #f5222d;
|
107
|
+
border-color: #f5222d;
|
150
108
|
}
|
151
109
|
.ant-tag-volcano {
|
152
110
|
color: #d4380d;
|
@@ -179,14 +137,14 @@ html {
|
|
179
137
|
border-color: #fadb14;
|
180
138
|
}
|
181
139
|
.ant-tag-gold {
|
182
|
-
color: #
|
140
|
+
color: #d48806;
|
183
141
|
background: #fffbe6;
|
184
|
-
border-color: #
|
142
|
+
border-color: #ffe58f;
|
185
143
|
}
|
186
144
|
.ant-tag-gold-inverse {
|
187
145
|
color: #fff;
|
188
|
-
background: #
|
189
|
-
border-color: #
|
146
|
+
background: #faad14;
|
147
|
+
border-color: #faad14;
|
190
148
|
}
|
191
149
|
.ant-tag-cyan {
|
192
150
|
color: #08979c;
|
@@ -209,24 +167,24 @@ html {
|
|
209
167
|
border-color: #a0d911;
|
210
168
|
}
|
211
169
|
.ant-tag-green {
|
212
|
-
color: #
|
213
|
-
background: #
|
214
|
-
border-color: #
|
170
|
+
color: #389e0d;
|
171
|
+
background: #f6ffed;
|
172
|
+
border-color: #b7eb8f;
|
215
173
|
}
|
216
174
|
.ant-tag-green-inverse {
|
217
175
|
color: #fff;
|
218
|
-
background: #
|
219
|
-
border-color: #
|
176
|
+
background: #52c41a;
|
177
|
+
border-color: #52c41a;
|
220
178
|
}
|
221
179
|
.ant-tag-blue {
|
222
|
-
color: #
|
223
|
-
background: #
|
224
|
-
border-color: #
|
180
|
+
color: #096dd9;
|
181
|
+
background: #e6f7ff;
|
182
|
+
border-color: #91d5ff;
|
225
183
|
}
|
226
184
|
.ant-tag-blue-inverse {
|
227
185
|
color: #fff;
|
228
|
-
background: #
|
229
|
-
border-color: #
|
186
|
+
background: #1890ff;
|
187
|
+
border-color: #1890ff;
|
230
188
|
}
|
231
189
|
.ant-tag-geekblue {
|
232
190
|
color: #1d39c4;
|
@@ -249,24 +207,24 @@ html {
|
|
249
207
|
border-color: #722ed1;
|
250
208
|
}
|
251
209
|
.ant-tag-success {
|
252
|
-
color:
|
253
|
-
background:
|
254
|
-
border-color:
|
210
|
+
color: #36c626;
|
211
|
+
background: #f4fff0;
|
212
|
+
border-color: #afed9f;
|
255
213
|
}
|
256
214
|
.ant-tag-processing {
|
257
|
-
color:
|
258
|
-
background:
|
259
|
-
border-color:
|
215
|
+
color: #2c68ff;
|
216
|
+
background: #f0f7ff;
|
217
|
+
border-color: #a6c8ff;
|
260
218
|
}
|
261
219
|
.ant-tag-error {
|
262
|
-
color:
|
263
|
-
background:
|
264
|
-
border-color:
|
220
|
+
color: #f42d2d;
|
221
|
+
background: #fff2f0;
|
222
|
+
border-color: #ffb1a8;
|
265
223
|
}
|
266
224
|
.ant-tag-warning {
|
267
|
-
color:
|
268
|
-
background:
|
269
|
-
border-color:
|
225
|
+
color: #ffab00;
|
226
|
+
background: #fffbe6;
|
227
|
+
border-color: #ffe07a;
|
270
228
|
}
|
271
229
|
.ant-tag > .anticon + span,
|
272
230
|
.ant-tag > span + .anticon {
|
package/lib/time-picker/index.js
CHANGED
@@ -57,7 +57,11 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
57
57
|
renderExtraFooter: internalRenderExtraFooter
|
58
58
|
}));
|
59
59
|
});
|
60
|
-
|
60
|
+
|
61
|
+
if (process.env.NODE_ENV !== 'production') {
|
62
|
+
TimePicker.displayName = 'TimePicker';
|
63
|
+
}
|
64
|
+
|
61
65
|
TimePicker.RangePicker = RangePicker;
|
62
66
|
var _default = TimePicker;
|
63
67
|
exports["default"] = _default;
|
@@ -2,45 +2,3 @@
|
|
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
|
-
}
|
package/lib/timeline/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import Timeline from './Timeline';
|
2
|
-
export { TimelineProps } from './Timeline';
|
3
|
-
export { TimelineItemProps } from './TimelineItem';
|
2
|
+
export type { TimelineProps } from './Timeline';
|
3
|
+
export type { TimelineItemProps } from './TimelineItem';
|
4
4
|
export default Timeline;
|
@@ -2,51 +2,9 @@
|
|
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-timeline {
|
48
6
|
box-sizing: border-box;
|
49
|
-
color:
|
7
|
+
color: #4c4c4c;
|
50
8
|
font-size: 14px;
|
51
9
|
font-variant: tabular-nums;
|
52
10
|
line-height: 1.5715;
|
@@ -67,7 +25,7 @@ html {
|
|
67
25
|
top: 10px;
|
68
26
|
left: 4px;
|
69
27
|
height: calc(100% - 10px);
|
70
|
-
border-left: 2px solid
|
28
|
+
border-left: 2px solid #eeeeee;
|
71
29
|
}
|
72
30
|
.ant-timeline-item-pending .ant-timeline-item-head {
|
73
31
|
font-size: 12px;
|
@@ -85,20 +43,20 @@ html {
|
|
85
43
|
border-radius: 100px;
|
86
44
|
}
|
87
45
|
.ant-timeline-item-head-blue {
|
88
|
-
color:
|
89
|
-
border-color:
|
46
|
+
color: #2c68ff;
|
47
|
+
border-color: #2c68ff;
|
90
48
|
}
|
91
49
|
.ant-timeline-item-head-red {
|
92
|
-
color:
|
93
|
-
border-color:
|
50
|
+
color: #f42d2d;
|
51
|
+
border-color: #f42d2d;
|
94
52
|
}
|
95
53
|
.ant-timeline-item-head-green {
|
96
|
-
color:
|
97
|
-
border-color:
|
54
|
+
color: #36c626;
|
55
|
+
border-color: #36c626;
|
98
56
|
}
|
99
57
|
.ant-timeline-item-head-gray {
|
100
|
-
color:
|
101
|
-
border-color:
|
58
|
+
color: #a9a9a9;
|
59
|
+
border-color: #a9a9a9;
|
102
60
|
}
|
103
61
|
.ant-timeline-item-head-custom {
|
104
62
|
position: absolute;
|
@@ -172,7 +130,7 @@ html {
|
|
172
130
|
.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {
|
173
131
|
display: block;
|
174
132
|
height: calc(100% - 14px);
|
175
|
-
border-left: 2px dotted
|
133
|
+
border-left: 2px dotted #eeeeee;
|
176
134
|
}
|
177
135
|
.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail {
|
178
136
|
display: none;
|
@@ -181,7 +139,7 @@ html {
|
|
181
139
|
top: 15px;
|
182
140
|
display: block;
|
183
141
|
height: calc(100% - 15px);
|
184
|
-
border-left: 2px dotted
|
142
|
+
border-left: 2px dotted #eeeeee;
|
185
143
|
}
|
186
144
|
.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content {
|
187
145
|
min-height: 48px;
|
@@ -203,7 +161,7 @@ html {
|
|
203
161
|
.ant-timeline-rtl .ant-timeline-item-tail {
|
204
162
|
right: 4px;
|
205
163
|
left: auto;
|
206
|
-
border-right: 2px solid
|
164
|
+
border-right: 2px solid #eeeeee;
|
207
165
|
border-left: none;
|
208
166
|
}
|
209
167
|
.ant-timeline-rtl .ant-timeline-item-head-custom {
|
@@ -262,11 +220,11 @@ html {
|
|
262
220
|
text-align: right;
|
263
221
|
}
|
264
222
|
.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {
|
265
|
-
border-right: 2px dotted
|
223
|
+
border-right: 2px dotted #eeeeee;
|
266
224
|
border-left: none;
|
267
225
|
}
|
268
226
|
.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail {
|
269
|
-
border-right: 2px dotted
|
227
|
+
border-right: 2px dotted #eeeeee;
|
270
228
|
border-left: none;
|
271
229
|
}
|
272
230
|
.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label {
|
package/lib/tooltip/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import type { TooltipProps as RcTooltipProps } from 'rc-tooltip/lib/Tooltip';
|
3
1
|
import type { placements as Placements } from 'rc-tooltip/lib/placements';
|
4
|
-
import {
|
2
|
+
import type { TooltipProps as RcTooltipProps } from 'rc-tooltip/lib/Tooltip';
|
3
|
+
import * as React from 'react';
|
5
4
|
import type { PresetColorType } from '../_util/colors';
|
5
|
+
import { AdjustOverflow, PlacementsConfig } from '../_util/placements';
|
6
6
|
import type { LiteralUnion } from '../_util/type';
|
7
7
|
export { AdjustOverflow, PlacementsConfig };
|
8
8
|
export declare type TooltipPlacement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
package/lib/tooltip/index.js
CHANGED
@@ -17,17 +17,13 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
17
17
|
|
18
18
|
var _tslib = require("tslib");
|
19
19
|
|
20
|
-
var
|
20
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
21
21
|
|
22
22
|
var _rcTooltip = _interopRequireDefault(require("rc-tooltip"));
|
23
23
|
|
24
24
|
var _useMergedState3 = _interopRequireDefault(require("rc-util/lib/hooks/useMergedState"));
|
25
25
|
|
26
|
-
var
|
27
|
-
|
28
|
-
var _placements = _interopRequireDefault(require("../_util/placements"));
|
29
|
-
|
30
|
-
var _reactNode = require("../_util/reactNode");
|
26
|
+
var React = _interopRequireWildcard(require("react"));
|
31
27
|
|
32
28
|
var _configProvider = require("../config-provider");
|
33
29
|
|
@@ -35,6 +31,10 @@ var _colors = require("../_util/colors");
|
|
35
31
|
|
36
32
|
var _motion = require("../_util/motion");
|
37
33
|
|
34
|
+
var _placements = _interopRequireDefault(require("../_util/placements"));
|
35
|
+
|
36
|
+
var _reactNode = require("../_util/reactNode");
|
37
|
+
|
38
38
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
39
39
|
|
40
40
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -234,7 +234,11 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
234
234
|
className: childCls
|
235
235
|
}) : child);
|
236
236
|
});
|
237
|
-
|
237
|
+
|
238
|
+
if (process.env.NODE_ENV !== 'production') {
|
239
|
+
Tooltip.displayName = 'Tooltip';
|
240
|
+
}
|
241
|
+
|
238
242
|
Tooltip.defaultProps = {
|
239
243
|
placement: 'top',
|
240
244
|
mouseEnterDelay: 0.1,
|
@@ -2,53 +2,11 @@
|
|
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-tooltip {
|
48
6
|
box-sizing: border-box;
|
49
7
|
margin: 0;
|
50
8
|
padding: 0;
|
51
|
-
color:
|
9
|
+
color: #4c4c4c;
|
52
10
|
font-size: 14px;
|
53
11
|
font-variant: tabular-nums;
|
54
12
|
line-height: 1.5715;
|
@@ -126,7 +84,7 @@ html {
|
|
126
84
|
background-color: transparent;
|
127
85
|
content: '';
|
128
86
|
pointer-events: auto;
|
129
|
-
border-radius: 0 0
|
87
|
+
border-radius: 0 0 2px;
|
130
88
|
pointer-events: none;
|
131
89
|
}
|
132
90
|
.ant-tooltip-arrow-content::before {
|
@@ -139,8 +97,8 @@ html {
|
|
139
97
|
background-repeat: no-repeat;
|
140
98
|
background-position: -10px -10px;
|
141
99
|
content: '';
|
142
|
-
-webkit-clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L
|
143
|
-
clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L
|
100
|
+
-webkit-clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
|
101
|
+
clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
|
144
102
|
}
|
145
103
|
.ant-tooltip-placement-top .ant-tooltip-arrow,
|
146
104
|
.ant-tooltip-placement-topLeft .ant-tooltip-arrow,
|
@@ -243,10 +201,10 @@ html {
|
|
243
201
|
background: #eb2f96;
|
244
202
|
}
|
245
203
|
.ant-tooltip-red .ant-tooltip-inner {
|
246
|
-
background-color: #
|
204
|
+
background-color: #f5222d;
|
247
205
|
}
|
248
206
|
.ant-tooltip-red .ant-tooltip-arrow-content::before {
|
249
|
-
background: #
|
207
|
+
background: #f5222d;
|
250
208
|
}
|
251
209
|
.ant-tooltip-volcano .ant-tooltip-inner {
|
252
210
|
background-color: #fa541c;
|
@@ -267,10 +225,10 @@ html {
|
|
267
225
|
background: #fadb14;
|
268
226
|
}
|
269
227
|
.ant-tooltip-gold .ant-tooltip-inner {
|
270
|
-
background-color: #
|
228
|
+
background-color: #faad14;
|
271
229
|
}
|
272
230
|
.ant-tooltip-gold .ant-tooltip-arrow-content::before {
|
273
|
-
background: #
|
231
|
+
background: #faad14;
|
274
232
|
}
|
275
233
|
.ant-tooltip-cyan .ant-tooltip-inner {
|
276
234
|
background-color: #13c2c2;
|
@@ -285,16 +243,16 @@ html {
|
|
285
243
|
background: #a0d911;
|
286
244
|
}
|
287
245
|
.ant-tooltip-green .ant-tooltip-inner {
|
288
|
-
background-color: #
|
246
|
+
background-color: #52c41a;
|
289
247
|
}
|
290
248
|
.ant-tooltip-green .ant-tooltip-arrow-content::before {
|
291
|
-
background: #
|
249
|
+
background: #52c41a;
|
292
250
|
}
|
293
251
|
.ant-tooltip-blue .ant-tooltip-inner {
|
294
|
-
background-color: #
|
252
|
+
background-color: #1890ff;
|
295
253
|
}
|
296
254
|
.ant-tooltip-blue .ant-tooltip-arrow-content::before {
|
297
|
-
background: #
|
255
|
+
background: #1890ff;
|
298
256
|
}
|
299
257
|
.ant-tooltip-geekblue .ant-tooltip-inner {
|
300
258
|
background-color: #2f54eb;
|
package/lib/transfer/index.d.ts
CHANGED
@@ -6,9 +6,9 @@ import type { RenderEmptyHandler } from '../config-provider';
|
|
6
6
|
import type { TransferListBodyProps } from './ListBody';
|
7
7
|
import type { PaginationType } from './interface';
|
8
8
|
import type { InputStatus } from '../_util/statusUtils';
|
9
|
-
export { TransferListProps } from './list';
|
10
|
-
export { TransferOperationProps } from './operation';
|
11
|
-
export { TransferSearchProps } from './search';
|
9
|
+
export type { TransferListProps } from './list';
|
10
|
+
export type { TransferOperationProps } from './operation';
|
11
|
+
export type { TransferSearchProps } from './search';
|
12
12
|
export declare type TransferDirection = 'left' | 'right';
|
13
13
|
export interface RenderResultObject {
|
14
14
|
label: React.ReactElement;
|