@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
@@ -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
|
@-webkit-keyframes ant-tree-node-fx-do-not-use {
|
48
6
|
0% {
|
49
7
|
opacity: 0;
|
@@ -84,7 +42,7 @@ html {
|
|
84
42
|
box-sizing: border-box;
|
85
43
|
margin: 0;
|
86
44
|
padding: 0;
|
87
|
-
color:
|
45
|
+
color: #4c4c4c;
|
88
46
|
font-size: 14px;
|
89
47
|
font-variant: tabular-nums;
|
90
48
|
line-height: 1.5715;
|
@@ -100,7 +58,7 @@ html {
|
|
100
58
|
.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
|
101
59
|
.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,
|
102
60
|
.ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {
|
103
|
-
border-color:
|
61
|
+
border-color: #2c68ff;
|
104
62
|
}
|
105
63
|
.ant-select-tree-checkbox-checked::after {
|
106
64
|
position: absolute;
|
@@ -108,7 +66,7 @@ html {
|
|
108
66
|
left: 0;
|
109
67
|
width: 100%;
|
110
68
|
height: 100%;
|
111
|
-
border: 1px solid
|
69
|
+
border: 1px solid #2c68ff;
|
112
70
|
border-radius: 4px;
|
113
71
|
visibility: hidden;
|
114
72
|
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
@@ -130,7 +88,7 @@ html {
|
|
130
88
|
height: 16px;
|
131
89
|
direction: ltr;
|
132
90
|
background-color: #fff;
|
133
|
-
border: 1px solid #
|
91
|
+
border: 1px solid #d2d2d2;
|
134
92
|
border-radius: 4px;
|
135
93
|
border-collapse: separate;
|
136
94
|
transition: all 0.3s;
|
@@ -174,14 +132,14 @@ html {
|
|
174
132
|
content: ' ';
|
175
133
|
}
|
176
134
|
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
|
177
|
-
background-color:
|
178
|
-
border-color:
|
135
|
+
background-color: #2c68ff;
|
136
|
+
border-color: #2c68ff;
|
179
137
|
}
|
180
138
|
.ant-select-tree-checkbox-disabled {
|
181
139
|
cursor: not-allowed;
|
182
140
|
}
|
183
141
|
.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {
|
184
|
-
border-color:
|
142
|
+
border-color: #a9a9a9;
|
185
143
|
-webkit-animation-name: none;
|
186
144
|
animation-name: none;
|
187
145
|
}
|
@@ -190,17 +148,17 @@ html {
|
|
190
148
|
pointer-events: none;
|
191
149
|
}
|
192
150
|
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
|
193
|
-
background-color: #
|
194
|
-
border-color: #
|
151
|
+
background-color: #f1f1f1;
|
152
|
+
border-color: #d2d2d2 !important;
|
195
153
|
}
|
196
154
|
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
|
197
|
-
border-color: #
|
155
|
+
border-color: #f1f1f1;
|
198
156
|
border-collapse: separate;
|
199
157
|
-webkit-animation-name: none;
|
200
158
|
animation-name: none;
|
201
159
|
}
|
202
160
|
.ant-select-tree-checkbox-disabled + span {
|
203
|
-
color:
|
161
|
+
color: #a9a9a9;
|
204
162
|
cursor: not-allowed;
|
205
163
|
}
|
206
164
|
.ant-select-tree-checkbox-disabled:hover::after,
|
@@ -211,7 +169,7 @@ html {
|
|
211
169
|
box-sizing: border-box;
|
212
170
|
margin: 0;
|
213
171
|
padding: 0;
|
214
|
-
color:
|
172
|
+
color: #4c4c4c;
|
215
173
|
font-size: 14px;
|
216
174
|
font-variant: tabular-nums;
|
217
175
|
line-height: 1.5715;
|
@@ -246,7 +204,7 @@ html {
|
|
246
204
|
box-sizing: border-box;
|
247
205
|
margin: 0;
|
248
206
|
padding: 0;
|
249
|
-
color:
|
207
|
+
color: #4c4c4c;
|
250
208
|
font-size: 14px;
|
251
209
|
font-variant: tabular-nums;
|
252
210
|
line-height: 1.5715;
|
@@ -265,22 +223,22 @@ html {
|
|
265
223
|
}
|
266
224
|
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {
|
267
225
|
background-color: #fff;
|
268
|
-
border-color: #
|
226
|
+
border-color: #d2d2d2;
|
269
227
|
}
|
270
228
|
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {
|
271
229
|
top: 50%;
|
272
230
|
left: 50%;
|
273
231
|
width: 8px;
|
274
232
|
height: 8px;
|
275
|
-
background-color:
|
233
|
+
background-color: #2c68ff;
|
276
234
|
border: 0;
|
277
235
|
transform: translate(-50%, -50%) scale(1);
|
278
236
|
opacity: 1;
|
279
237
|
content: ' ';
|
280
238
|
}
|
281
239
|
.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
|
282
|
-
background-color:
|
283
|
-
border-color:
|
240
|
+
background-color: #a9a9a9;
|
241
|
+
border-color: #a9a9a9;
|
284
242
|
}
|
285
243
|
.ant-tree-select-dropdown {
|
286
244
|
padding: 8px 4px;
|
@@ -301,7 +259,7 @@ html {
|
|
301
259
|
box-sizing: border-box;
|
302
260
|
margin: 0;
|
303
261
|
padding: 0;
|
304
|
-
color:
|
262
|
+
color: #4c4c4c;
|
305
263
|
font-size: 14px;
|
306
264
|
font-variant: tabular-nums;
|
307
265
|
line-height: 1.5715;
|
@@ -312,7 +270,7 @@ html {
|
|
312
270
|
transition: background-color 0.3s;
|
313
271
|
}
|
314
272
|
.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {
|
315
|
-
background:
|
273
|
+
background: #f0f7ff;
|
316
274
|
}
|
317
275
|
.ant-select-tree-list-holder-inner {
|
318
276
|
align-items: flex-start;
|
@@ -332,7 +290,7 @@ html {
|
|
332
290
|
right: 0;
|
333
291
|
bottom: 4px;
|
334
292
|
left: 0;
|
335
|
-
border: 1px solid
|
293
|
+
border: 1px solid #2c68ff;
|
336
294
|
opacity: 0;
|
337
295
|
-webkit-animation: ant-tree-node-fx-do-not-use 0.3s;
|
338
296
|
animation: ant-tree-node-fx-do-not-use 0.3s;
|
@@ -350,7 +308,7 @@ html {
|
|
350
308
|
outline: none;
|
351
309
|
}
|
352
310
|
.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {
|
353
|
-
color:
|
311
|
+
color: #a9a9a9;
|
354
312
|
cursor: not-allowed;
|
355
313
|
}
|
356
314
|
.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover {
|
@@ -416,7 +374,7 @@ html {
|
|
416
374
|
transform: rotate(-90deg);
|
417
375
|
}
|
418
376
|
.ant-select-tree-switcher-loading-icon {
|
419
|
-
color:
|
377
|
+
color: #2c68ff;
|
420
378
|
}
|
421
379
|
.ant-select-tree-switcher-leaf-line {
|
422
380
|
position: relative;
|
@@ -462,7 +420,7 @@ html {
|
|
462
420
|
background-color: #f5f5f5;
|
463
421
|
}
|
464
422
|
.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
|
465
|
-
background-color:
|
423
|
+
background-color: #cfe3ff;
|
466
424
|
}
|
467
425
|
.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {
|
468
426
|
display: inline-block;
|
@@ -489,7 +447,7 @@ html {
|
|
489
447
|
position: absolute;
|
490
448
|
z-index: 1;
|
491
449
|
height: 2px;
|
492
|
-
background-color:
|
450
|
+
background-color: #2c68ff;
|
493
451
|
border-radius: 1px;
|
494
452
|
pointer-events: none;
|
495
453
|
}
|
@@ -500,12 +458,12 @@ html {
|
|
500
458
|
width: 8px;
|
501
459
|
height: 8px;
|
502
460
|
background-color: transparent;
|
503
|
-
border: 2px solid
|
461
|
+
border: 2px solid #2c68ff;
|
504
462
|
border-radius: 50%;
|
505
463
|
content: '';
|
506
464
|
}
|
507
465
|
.ant-select-tree .ant-select-tree-treenode.drop-container > [draggable] {
|
508
|
-
box-shadow: 0 0 0 2px
|
466
|
+
box-shadow: 0 0 0 2px #2c68ff;
|
509
467
|
}
|
510
468
|
.ant-select-tree-show-line .ant-select-tree-indent-unit {
|
511
469
|
position: relative;
|
@@ -516,7 +474,7 @@ html {
|
|
516
474
|
top: 0;
|
517
475
|
right: 12px;
|
518
476
|
bottom: -4px;
|
519
|
-
border-right: 1px solid #
|
477
|
+
border-right: 1px solid #d2d2d2;
|
520
478
|
content: '';
|
521
479
|
}
|
522
480
|
.ant-select-tree-show-line .ant-select-tree-indent-unit-end::before {
|
@@ -15,12 +15,12 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
15
15
|
|
16
16
|
var _tslib = require("tslib");
|
17
17
|
|
18
|
-
var React = _interopRequireWildcard(require("react"));
|
19
|
-
|
20
18
|
var _classnames = _interopRequireDefault(require("classnames"));
|
21
19
|
|
22
20
|
var _ref = require("rc-util/lib/ref");
|
23
21
|
|
22
|
+
var React = _interopRequireWildcard(require("react"));
|
23
|
+
|
24
24
|
var _configProvider = require("../config-provider");
|
25
25
|
|
26
26
|
var _warning = _interopRequireDefault(require("../_util/warning"));
|
@@ -61,7 +61,11 @@ var Typography = function Typography(_a, ref) {
|
|
61
61
|
};
|
62
62
|
|
63
63
|
var RefTypography = /*#__PURE__*/React.forwardRef(Typography);
|
64
|
-
|
64
|
+
|
65
|
+
if (process.env.NODE_ENV !== 'production') {
|
66
|
+
RefTypography.displayName = 'Typography';
|
67
|
+
} // es default export should use const instead of let
|
68
|
+
|
65
69
|
|
66
70
|
var ExportTypography = RefTypography;
|
67
71
|
var _default = ExportTypography;
|
@@ -2,73 +2,31 @@
|
|
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-typography {
|
48
|
-
color:
|
6
|
+
color: #4c4c4c;
|
49
7
|
overflow-wrap: break-word;
|
50
8
|
}
|
51
9
|
.ant-typography.ant-typography-secondary {
|
52
|
-
color:
|
10
|
+
color: #a9a9a9;
|
53
11
|
}
|
54
12
|
.ant-typography.ant-typography-success {
|
55
|
-
color:
|
13
|
+
color: #36c626;
|
56
14
|
}
|
57
15
|
.ant-typography.ant-typography-warning {
|
58
|
-
color:
|
16
|
+
color: #ffab00;
|
59
17
|
}
|
60
18
|
.ant-typography.ant-typography-danger {
|
61
|
-
color:
|
19
|
+
color: #f42d2d;
|
62
20
|
}
|
63
21
|
a.ant-typography.ant-typography-danger:active,
|
64
22
|
a.ant-typography.ant-typography-danger:focus {
|
65
|
-
color:
|
23
|
+
color: #cf1b21;
|
66
24
|
}
|
67
25
|
a.ant-typography.ant-typography-danger:hover {
|
68
|
-
color:
|
26
|
+
color: #ff5c57;
|
69
27
|
}
|
70
28
|
.ant-typography.ant-typography-disabled {
|
71
|
-
color:
|
29
|
+
color: #a9a9a9;
|
72
30
|
cursor: not-allowed;
|
73
31
|
-webkit-user-select: none;
|
74
32
|
-moz-user-select: none;
|
@@ -84,7 +42,7 @@ div.ant-typography-h1,
|
|
84
42
|
div.ant-typography-h1 > textarea,
|
85
43
|
.ant-typography h1 {
|
86
44
|
margin-bottom: 0.5em;
|
87
|
-
color:
|
45
|
+
color: #262626;
|
88
46
|
font-weight: 600;
|
89
47
|
font-size: 38px;
|
90
48
|
line-height: 1.23;
|
@@ -94,7 +52,7 @@ div.ant-typography-h2,
|
|
94
52
|
div.ant-typography-h2 > textarea,
|
95
53
|
.ant-typography h2 {
|
96
54
|
margin-bottom: 0.5em;
|
97
|
-
color:
|
55
|
+
color: #262626;
|
98
56
|
font-weight: 600;
|
99
57
|
font-size: 30px;
|
100
58
|
line-height: 1.35;
|
@@ -104,7 +62,7 @@ div.ant-typography-h3,
|
|
104
62
|
div.ant-typography-h3 > textarea,
|
105
63
|
.ant-typography h3 {
|
106
64
|
margin-bottom: 0.5em;
|
107
|
-
color:
|
65
|
+
color: #262626;
|
108
66
|
font-weight: 600;
|
109
67
|
font-size: 24px;
|
110
68
|
line-height: 1.35;
|
@@ -114,7 +72,7 @@ div.ant-typography-h4,
|
|
114
72
|
div.ant-typography-h4 > textarea,
|
115
73
|
.ant-typography h4 {
|
116
74
|
margin-bottom: 0.5em;
|
117
|
-
color:
|
75
|
+
color: #262626;
|
118
76
|
font-weight: 600;
|
119
77
|
font-size: 20px;
|
120
78
|
line-height: 1.4;
|
@@ -124,7 +82,7 @@ div.ant-typography-h5,
|
|
124
82
|
div.ant-typography-h5 > textarea,
|
125
83
|
.ant-typography h5 {
|
126
84
|
margin-bottom: 0.5em;
|
127
|
-
color:
|
85
|
+
color: #262626;
|
128
86
|
font-weight: 600;
|
129
87
|
font-size: 16px;
|
130
88
|
line-height: 1.5;
|
@@ -190,7 +148,7 @@ span.ant-typography-ellipsis {
|
|
190
148
|
}
|
191
149
|
a.ant-typography,
|
192
150
|
.ant-typography a {
|
193
|
-
color:
|
151
|
+
color: #2c68ff;
|
194
152
|
outline: none;
|
195
153
|
cursor: pointer;
|
196
154
|
transition: color 0.3s;
|
@@ -200,11 +158,11 @@ a.ant-typography:focus,
|
|
200
158
|
.ant-typography a:focus,
|
201
159
|
a.ant-typography:hover,
|
202
160
|
.ant-typography a:hover {
|
203
|
-
color:
|
161
|
+
color: #548aff;
|
204
162
|
}
|
205
163
|
a.ant-typography:active,
|
206
164
|
.ant-typography a:active {
|
207
|
-
color:
|
165
|
+
color: #1a4ad9;
|
208
166
|
}
|
209
167
|
a.ant-typography:active,
|
210
168
|
.ant-typography a:active,
|
@@ -216,7 +174,7 @@ a.ant-typography[disabled],
|
|
216
174
|
.ant-typography a[disabled],
|
217
175
|
a.ant-typography.ant-typography-disabled,
|
218
176
|
.ant-typography a.ant-typography-disabled {
|
219
|
-
color:
|
177
|
+
color: #a9a9a9;
|
220
178
|
cursor: not-allowed;
|
221
179
|
}
|
222
180
|
a.ant-typography[disabled]:active,
|
@@ -227,7 +185,7 @@ a.ant-typography[disabled]:hover,
|
|
227
185
|
.ant-typography a[disabled]:hover,
|
228
186
|
a.ant-typography.ant-typography-disabled:hover,
|
229
187
|
.ant-typography a.ant-typography-disabled:hover {
|
230
|
-
color:
|
188
|
+
color: #a9a9a9;
|
231
189
|
}
|
232
190
|
a.ant-typography[disabled]:active,
|
233
191
|
.ant-typography a[disabled]:active,
|
@@ -272,7 +230,7 @@ a.ant-typography.ant-typography-disabled:active,
|
|
272
230
|
.ant-typography-expand,
|
273
231
|
.ant-typography-edit,
|
274
232
|
.ant-typography-copy {
|
275
|
-
color:
|
233
|
+
color: #2c68ff;
|
276
234
|
text-decoration: none;
|
277
235
|
outline: none;
|
278
236
|
cursor: pointer;
|
@@ -285,17 +243,17 @@ a.ant-typography.ant-typography-disabled:active,
|
|
285
243
|
.ant-typography-expand:hover,
|
286
244
|
.ant-typography-edit:hover,
|
287
245
|
.ant-typography-copy:hover {
|
288
|
-
color:
|
246
|
+
color: #548aff;
|
289
247
|
}
|
290
248
|
.ant-typography-expand:active,
|
291
249
|
.ant-typography-edit:active,
|
292
250
|
.ant-typography-copy:active {
|
293
|
-
color:
|
251
|
+
color: #1a4ad9;
|
294
252
|
}
|
295
253
|
.ant-typography-copy-success,
|
296
254
|
.ant-typography-copy-success:hover,
|
297
255
|
.ant-typography-copy-success:focus {
|
298
|
-
color:
|
256
|
+
color: #36c626;
|
299
257
|
}
|
300
258
|
.ant-typography-edit-content {
|
301
259
|
position: relative;
|
@@ -309,7 +267,7 @@ div.ant-typography-edit-content {
|
|
309
267
|
position: absolute;
|
310
268
|
right: 10px;
|
311
269
|
bottom: 8px;
|
312
|
-
color:
|
270
|
+
color: #a9a9a9;
|
313
271
|
font-weight: normal;
|
314
272
|
font-size: 14px;
|
315
273
|
font-style: normal;
|
package/lib/upload/Dragger.js
CHANGED
@@ -36,6 +36,10 @@ var InternalDragger = function InternalDragger(_a, ref) {
|
|
36
36
|
};
|
37
37
|
|
38
38
|
var Dragger = /*#__PURE__*/React.forwardRef(InternalDragger);
|
39
|
-
|
39
|
+
|
40
|
+
if (process.env.NODE_ENV !== 'production') {
|
41
|
+
Dragger.displayName = 'Dragger';
|
42
|
+
}
|
43
|
+
|
40
44
|
var _default = Dragger;
|
41
45
|
exports["default"] = _default;
|
package/lib/upload/Upload.js
CHANGED
@@ -23,26 +23,26 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
23
23
|
|
24
24
|
var _tslib = require("tslib");
|
25
25
|
|
26
|
-
var
|
26
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
27
27
|
|
28
28
|
var _rcUpload = _interopRequireDefault(require("rc-upload"));
|
29
29
|
|
30
30
|
var _useMergedState3 = _interopRequireDefault(require("rc-util/lib/hooks/useMergedState"));
|
31
31
|
|
32
|
-
var
|
33
|
-
|
34
|
-
var _UploadList = _interopRequireDefault(require("./UploadList"));
|
32
|
+
var React = _interopRequireWildcard(require("react"));
|
35
33
|
|
36
|
-
var
|
34
|
+
var _configProvider = require("../config-provider");
|
37
35
|
|
38
36
|
var _LocaleReceiver = _interopRequireDefault(require("../locale-provider/LocaleReceiver"));
|
39
37
|
|
40
38
|
var _default2 = _interopRequireDefault(require("../locale/default"));
|
41
39
|
|
42
|
-
var _configProvider = require("../config-provider");
|
43
|
-
|
44
40
|
var _warning = _interopRequireDefault(require("../_util/warning"));
|
45
41
|
|
42
|
+
var _UploadList = _interopRequireDefault(require("./UploadList"));
|
43
|
+
|
44
|
+
var _utils = require("./utils");
|
45
|
+
|
46
46
|
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); }
|
47
47
|
|
48
48
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(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; }
|
@@ -457,7 +457,11 @@ var InternalUpload = function InternalUpload(props, ref) {
|
|
457
457
|
};
|
458
458
|
|
459
459
|
var Upload = /*#__PURE__*/React.forwardRef(InternalUpload);
|
460
|
-
|
460
|
+
|
461
|
+
if (process.env.NODE_ENV !== 'production') {
|
462
|
+
Upload.displayName = 'Upload';
|
463
|
+
}
|
464
|
+
|
461
465
|
Upload.defaultProps = {
|
462
466
|
type: 'select',
|
463
467
|
multiple: false,
|
@@ -17,11 +17,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
17
17
|
|
18
18
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
19
19
|
|
20
|
-
var
|
21
|
-
|
22
|
-
var _rcMotion = _interopRequireWildcard(require("rc-motion"));
|
23
|
-
|
24
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
20
|
+
var _FileTwoTone = _interopRequireDefault(require("@ant-design/icons/FileTwoTone"));
|
25
21
|
|
26
22
|
var _LoadingOutlined = _interopRequireDefault(require("@ant-design/icons/LoadingOutlined"));
|
27
23
|
|
@@ -29,20 +25,24 @@ var _PaperClipOutlined = _interopRequireDefault(require("@ant-design/icons/Paper
|
|
29
25
|
|
30
26
|
var _PictureTwoTone = _interopRequireDefault(require("@ant-design/icons/PictureTwoTone"));
|
31
27
|
|
32
|
-
var
|
28
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
33
29
|
|
34
|
-
var
|
30
|
+
var _rcMotion = _interopRequireWildcard(require("rc-motion"));
|
35
31
|
|
36
|
-
var
|
32
|
+
var React = _interopRequireWildcard(require("react"));
|
37
33
|
|
38
|
-
var
|
34
|
+
var _button = _interopRequireDefault(require("../../button"));
|
39
35
|
|
40
36
|
var _configProvider = require("../../config-provider");
|
41
37
|
|
42
|
-
var _button = _interopRequireDefault(require("../../button"));
|
43
|
-
|
44
38
|
var _useForceUpdate = _interopRequireDefault(require("../../_util/hooks/useForceUpdate"));
|
45
39
|
|
40
|
+
var _motion = _interopRequireDefault(require("../../_util/motion"));
|
41
|
+
|
42
|
+
var _reactNode = require("../../_util/reactNode");
|
43
|
+
|
44
|
+
var _utils = require("../utils");
|
45
|
+
|
46
46
|
var _ListItem = _interopRequireDefault(require("./ListItem"));
|
47
47
|
|
48
48
|
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); }
|
@@ -265,7 +265,11 @@ var InternalUploadList = function InternalUploadList(_ref, ref) {
|
|
265
265
|
};
|
266
266
|
|
267
267
|
var UploadList = /*#__PURE__*/React.forwardRef(InternalUploadList);
|
268
|
-
|
268
|
+
|
269
|
+
if (process.env.NODE_ENV !== 'production') {
|
270
|
+
UploadList.displayName = 'UploadList';
|
271
|
+
}
|
272
|
+
|
269
273
|
UploadList.defaultProps = {
|
270
274
|
listType: 'text',
|
271
275
|
progress: {
|
package/lib/upload/index.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import Dragger from './Dragger';
|
3
3
|
import type { UploadProps } from './Upload';
|
4
4
|
import InternalUpload from './Upload';
|
5
|
-
export { UploadProps, UploadListProps, UploadChangeParam, RcFile } from './interface';
|
5
|
+
export { UploadProps, UploadListProps, UploadChangeParam, UploadFile, RcFile } from './interface';
|
6
6
|
export { DraggerProps } from './Dragger';
|
7
7
|
declare type InternalUploadType = typeof InternalUpload;
|
8
8
|
interface UploadInterface<T = any> extends InternalUploadType {
|