@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
@@ -61,10 +61,21 @@
|
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
64
|
-
&:focus-visible,
|
65
64
|
&:hover {
|
66
65
|
border-color: @primary-color;
|
67
66
|
transition: all 0.3s;
|
67
|
+
|
68
|
+
a {
|
69
|
+
color: @primary-color;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
// cannot merge with `&:hover`
|
74
|
+
// see https://github.com/ant-design/ant-design/pull/34002
|
75
|
+
&:focus-visible {
|
76
|
+
border-color: @primary-color;
|
77
|
+
transition: all 0.3s;
|
78
|
+
|
68
79
|
a {
|
69
80
|
color: @primary-color;
|
70
81
|
}
|
@@ -76,21 +87,23 @@
|
|
76
87
|
border-color: @primary-color;
|
77
88
|
|
78
89
|
a {
|
79
|
-
color:
|
90
|
+
color: #fff;
|
80
91
|
}
|
81
92
|
|
82
|
-
&:focus-visible,
|
83
93
|
&:hover {
|
84
94
|
border-color: @primary-5;
|
85
95
|
}
|
86
96
|
|
87
|
-
&:focus-visible
|
88
|
-
|
89
|
-
color: @primary-5;
|
97
|
+
&:focus-visible {
|
98
|
+
border-color: @primary-5;
|
90
99
|
}
|
91
100
|
|
92
101
|
&:hover a {
|
93
|
-
color:
|
102
|
+
color: #fff;
|
103
|
+
}
|
104
|
+
|
105
|
+
&:focus-visible a {
|
106
|
+
color: #fff;
|
94
107
|
}
|
95
108
|
}
|
96
109
|
}
|
@@ -107,6 +120,7 @@
|
|
107
120
|
letter-spacing: -1px;
|
108
121
|
opacity: 0;
|
109
122
|
transition: all 0.2s;
|
123
|
+
|
110
124
|
&-svg {
|
111
125
|
top: 0;
|
112
126
|
right: 0;
|
@@ -134,7 +148,6 @@
|
|
134
148
|
}
|
135
149
|
}
|
136
150
|
|
137
|
-
&:focus-visible,
|
138
151
|
&:hover {
|
139
152
|
.@{pagination-prefix-cls}-item-link-icon {
|
140
153
|
opacity: 1;
|
@@ -143,6 +156,15 @@
|
|
143
156
|
opacity: 0;
|
144
157
|
}
|
145
158
|
}
|
159
|
+
|
160
|
+
&:focus-visible {
|
161
|
+
.@{pagination-prefix-cls}-item-link-icon {
|
162
|
+
opacity: 1;
|
163
|
+
}
|
164
|
+
.@{pagination-prefix-cls}-item-ellipsis {
|
165
|
+
opacity: 0;
|
166
|
+
}
|
167
|
+
}
|
146
168
|
}
|
147
169
|
|
148
170
|
&-prev,
|
@@ -150,6 +172,7 @@
|
|
150
172
|
&-jump-next {
|
151
173
|
margin-right: 8px;
|
152
174
|
}
|
175
|
+
|
153
176
|
&-prev,
|
154
177
|
&-next,
|
155
178
|
&-jump-prev,
|
@@ -197,7 +220,11 @@
|
|
197
220
|
transition: all 0.3s;
|
198
221
|
}
|
199
222
|
|
200
|
-
&:focus-visible .@{pagination-prefix-cls}-item-link
|
223
|
+
&:focus-visible .@{pagination-prefix-cls}-item-link {
|
224
|
+
color: @primary-color;
|
225
|
+
border-color: @primary-color;
|
226
|
+
}
|
227
|
+
|
201
228
|
&:hover .@{pagination-prefix-cls}-item-link {
|
202
229
|
color: @primary-color;
|
203
230
|
border-color: @primary-color;
|
@@ -206,7 +233,15 @@
|
|
206
233
|
|
207
234
|
&-disabled {
|
208
235
|
&,
|
209
|
-
&:hover
|
236
|
+
&:hover {
|
237
|
+
cursor: not-allowed;
|
238
|
+
.@{pagination-prefix-cls}-item-link {
|
239
|
+
color: @disabled-color;
|
240
|
+
border-color: @border-color-base;
|
241
|
+
cursor: not-allowed;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
210
245
|
&:focus-visible {
|
211
246
|
cursor: not-allowed;
|
212
247
|
.@{pagination-prefix-cls}-item-link {
|
@@ -265,6 +300,7 @@
|
|
265
300
|
height: @pagination-item-size-sm;
|
266
301
|
background-color: transparent;
|
267
302
|
border: 0;
|
303
|
+
|
268
304
|
&::after {
|
269
305
|
height: @pagination-item-size-sm;
|
270
306
|
line-height: @pagination-item-size-sm;
|
@@ -293,6 +329,11 @@
|
|
293
329
|
border-color: @primary-color;
|
294
330
|
}
|
295
331
|
|
332
|
+
&:focus {
|
333
|
+
border-color: @primary-color-hover;
|
334
|
+
box-shadow: @input-outline-offset @outline-blur-size @outline-width @primary-color-outline;
|
335
|
+
}
|
336
|
+
|
296
337
|
&[disabled] {
|
297
338
|
color: @disabled-color;
|
298
339
|
background: @disabled-bg;
|
@@ -302,50 +343,51 @@
|
|
302
343
|
}
|
303
344
|
}
|
304
345
|
|
305
|
-
|
306
|
-
|
346
|
+
&&-mini &-total-text,
|
347
|
+
&&-mini &-simple-pager {
|
307
348
|
height: @pagination-item-size-sm;
|
308
349
|
line-height: @pagination-item-size-sm;
|
309
350
|
}
|
310
351
|
|
311
|
-
|
352
|
+
&&-mini &-item {
|
312
353
|
min-width: @pagination-item-size-sm;
|
313
354
|
height: @pagination-item-size-sm;
|
314
355
|
margin: 0;
|
315
356
|
line-height: @pagination-item-size-sm - 2px;
|
316
357
|
}
|
317
358
|
|
318
|
-
|
359
|
+
&&-mini &-item:not(&-item-active) {
|
319
360
|
background: transparent;
|
320
361
|
border-color: transparent;
|
321
362
|
}
|
322
363
|
|
323
|
-
|
324
|
-
|
364
|
+
&&-mini &-prev,
|
365
|
+
&&-mini &-next {
|
325
366
|
min-width: @pagination-item-size-sm;
|
326
367
|
height: @pagination-item-size-sm;
|
327
368
|
margin: 0;
|
328
369
|
line-height: @pagination-item-size-sm;
|
329
370
|
}
|
330
371
|
|
331
|
-
|
332
|
-
|
372
|
+
&&-mini &-prev &-item-link,
|
373
|
+
&&-mini &-next &-item-link {
|
333
374
|
background: transparent;
|
334
375
|
border-color: transparent;
|
376
|
+
|
335
377
|
&::after {
|
336
378
|
height: @pagination-item-size-sm;
|
337
379
|
line-height: @pagination-item-size-sm;
|
338
380
|
}
|
339
381
|
}
|
340
382
|
|
341
|
-
|
342
|
-
|
383
|
+
&&-mini &-jump-prev,
|
384
|
+
&&-mini &-jump-next {
|
343
385
|
height: @pagination-item-size-sm;
|
344
386
|
margin-right: 0;
|
345
387
|
line-height: @pagination-item-size-sm;
|
346
388
|
}
|
347
389
|
|
348
|
-
|
390
|
+
&&-mini &-options {
|
349
391
|
margin-left: 2px;
|
350
392
|
|
351
393
|
&-size-changer {
|
@@ -383,6 +425,7 @@
|
|
383
425
|
|
384
426
|
&-active {
|
385
427
|
background: @pagination-item-disabled-bg-active;
|
428
|
+
|
386
429
|
a {
|
387
430
|
color: @pagination-item-disabled-color-active;
|
388
431
|
}
|
@@ -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-popconfirm {
|
48
6
|
z-index: 1060;
|
49
7
|
}
|
package/lib/popover/index.js
CHANGED
@@ -55,7 +55,11 @@ var Popover = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
55
55
|
transitionName: (0, _motion.getTransitionName)(rootPrefixCls, 'zoom-big', otherProps.transitionName)
|
56
56
|
}));
|
57
57
|
});
|
58
|
-
|
58
|
+
|
59
|
+
if (process.env.NODE_ENV !== 'production') {
|
60
|
+
Popover.displayName = 'Popover';
|
61
|
+
}
|
62
|
+
|
59
63
|
Popover.defaultProps = {
|
60
64
|
placement: 'top',
|
61
65
|
trigger: 'hover',
|
@@ -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-popover {
|
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;
|
@@ -118,24 +76,24 @@ html {
|
|
118
76
|
min-height: 32px;
|
119
77
|
margin: 0;
|
120
78
|
padding: 5px 16px 4px;
|
121
|
-
color:
|
79
|
+
color: #262626;
|
122
80
|
font-weight: 500;
|
123
|
-
border-bottom: 1px solid
|
81
|
+
border-bottom: 1px solid #eeeeee;
|
124
82
|
}
|
125
83
|
.ant-popover-inner-content {
|
126
84
|
padding: 12px 16px;
|
127
|
-
color:
|
85
|
+
color: #4c4c4c;
|
128
86
|
}
|
129
87
|
.ant-popover-message {
|
130
88
|
position: relative;
|
131
89
|
padding: 4px 0 12px;
|
132
|
-
color:
|
90
|
+
color: #4c4c4c;
|
133
91
|
font-size: 14px;
|
134
92
|
}
|
135
93
|
.ant-popover-message > .anticon {
|
136
94
|
position: absolute;
|
137
95
|
top: 8.0005px;
|
138
|
-
color:
|
96
|
+
color: #ffab00;
|
139
97
|
font-size: 14px;
|
140
98
|
}
|
141
99
|
.ant-popover-message-title {
|
@@ -170,7 +128,7 @@ html {
|
|
170
128
|
background-color: #fff;
|
171
129
|
content: '';
|
172
130
|
pointer-events: auto;
|
173
|
-
border-radius: 0 0
|
131
|
+
border-radius: 0 0 2px;
|
174
132
|
pointer-events: none;
|
175
133
|
}
|
176
134
|
.ant-popover-arrow-content::before {
|
@@ -183,8 +141,8 @@ html {
|
|
183
141
|
background-repeat: no-repeat;
|
184
142
|
background-position: -10px -10px;
|
185
143
|
content: '';
|
186
|
-
-webkit-clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L
|
187
|
-
clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L
|
144
|
+
-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');
|
145
|
+
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');
|
188
146
|
}
|
189
147
|
.ant-popover-placement-top .ant-popover-arrow,
|
190
148
|
.ant-popover-placement-topLeft .ant-popover-arrow,
|
@@ -335,10 +293,10 @@ html {
|
|
335
293
|
background-color: #36c626;
|
336
294
|
}
|
337
295
|
.ant-popover-blue .ant-popover-inner {
|
338
|
-
background-color: #
|
296
|
+
background-color: #1890ff;
|
339
297
|
}
|
340
298
|
.ant-popover-blue .ant-popover-arrow-content {
|
341
|
-
background-color: #
|
299
|
+
background-color: #1890ff;
|
342
300
|
}
|
343
301
|
.ant-popover-geekblue .ant-popover-inner {
|
344
302
|
background-color: #2f54eb;
|
@@ -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-progress {
|
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;
|
@@ -77,7 +35,7 @@ html {
|
|
77
35
|
transition: all 0.3s;
|
78
36
|
}
|
79
37
|
.ant-progress-steps-item-active {
|
80
|
-
background:
|
38
|
+
background: #1890ff;
|
81
39
|
}
|
82
40
|
.ant-progress-small.ant-progress-line,
|
83
41
|
.ant-progress-small.ant-progress-line .ant-progress-text .anticon {
|
@@ -99,23 +57,23 @@ html {
|
|
99
57
|
width: 100%;
|
100
58
|
overflow: hidden;
|
101
59
|
vertical-align: middle;
|
102
|
-
background-color:
|
60
|
+
background-color: #f5f5f5;
|
103
61
|
border-radius: 100px;
|
104
62
|
}
|
105
63
|
.ant-progress-circle-trail {
|
106
|
-
stroke:
|
64
|
+
stroke: #f5f5f5;
|
107
65
|
}
|
108
66
|
.ant-progress-circle-path {
|
109
67
|
-webkit-animation: ant-progress-appear 0.3s;
|
110
68
|
animation: ant-progress-appear 0.3s;
|
111
69
|
}
|
112
70
|
.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
|
113
|
-
stroke:
|
71
|
+
stroke: #1890ff;
|
114
72
|
}
|
115
73
|
.ant-progress-success-bg,
|
116
74
|
.ant-progress-bg {
|
117
75
|
position: relative;
|
118
|
-
background-color:
|
76
|
+
background-color: #1890ff;
|
119
77
|
border-radius: 100px;
|
120
78
|
transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
|
121
79
|
}
|
@@ -123,13 +81,13 @@ html {
|
|
123
81
|
position: absolute;
|
124
82
|
top: 0;
|
125
83
|
left: 0;
|
126
|
-
background-color:
|
84
|
+
background-color: #36c626;
|
127
85
|
}
|
128
86
|
.ant-progress-text {
|
129
87
|
display: inline-block;
|
130
88
|
width: 2em;
|
131
89
|
margin-left: 8px;
|
132
|
-
color:
|
90
|
+
color: #4c4c4c;
|
133
91
|
font-size: 1em;
|
134
92
|
line-height: 1;
|
135
93
|
white-space: nowrap;
|
@@ -154,22 +112,22 @@ html {
|
|
154
112
|
content: '';
|
155
113
|
}
|
156
114
|
.ant-progress-status-exception .ant-progress-bg {
|
157
|
-
background-color:
|
115
|
+
background-color: #f42d2d;
|
158
116
|
}
|
159
117
|
.ant-progress-status-exception .ant-progress-text {
|
160
|
-
color:
|
118
|
+
color: #f42d2d;
|
161
119
|
}
|
162
120
|
.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
|
163
|
-
stroke:
|
121
|
+
stroke: #f42d2d;
|
164
122
|
}
|
165
123
|
.ant-progress-status-success .ant-progress-bg {
|
166
|
-
background-color:
|
124
|
+
background-color: #36c626;
|
167
125
|
}
|
168
126
|
.ant-progress-status-success .ant-progress-text {
|
169
|
-
color:
|
127
|
+
color: #36c626;
|
170
128
|
}
|
171
129
|
.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
|
172
|
-
stroke:
|
130
|
+
stroke: #36c626;
|
173
131
|
}
|
174
132
|
.ant-progress-circle .ant-progress-inner {
|
175
133
|
position: relative;
|
@@ -183,7 +141,7 @@ html {
|
|
183
141
|
width: 100%;
|
184
142
|
margin: 0;
|
185
143
|
padding: 0;
|
186
|
-
color:
|
144
|
+
color: #4c4c4c;
|
187
145
|
font-size: 1em;
|
188
146
|
line-height: 1;
|
189
147
|
white-space: normal;
|
@@ -194,10 +152,10 @@ html {
|
|
194
152
|
font-size: 1.16666667em;
|
195
153
|
}
|
196
154
|
.ant-progress-circle.ant-progress-status-exception .ant-progress-text {
|
197
|
-
color:
|
155
|
+
color: #f42d2d;
|
198
156
|
}
|
199
157
|
.ant-progress-circle.ant-progress-status-success .ant-progress-text {
|
200
|
-
color:
|
158
|
+
color: #36c626;
|
201
159
|
}
|
202
160
|
@-webkit-keyframes ant-progress-active {
|
203
161
|
0% {
|
package/lib/radio/radio.js
CHANGED
@@ -15,24 +15,24 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
15
15
|
|
16
16
|
var _tslib = require("tslib");
|
17
17
|
|
18
|
-
var
|
18
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
19
19
|
|
20
20
|
var _rcCheckbox = _interopRequireDefault(require("rc-checkbox"));
|
21
21
|
|
22
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
23
|
-
|
24
22
|
var _ref = require("rc-util/lib/ref");
|
25
23
|
|
26
|
-
var
|
24
|
+
var React = _interopRequireWildcard(require("react"));
|
27
25
|
|
28
26
|
var _configProvider = require("../config-provider");
|
29
27
|
|
30
|
-
var _context2 = _interopRequireWildcard(require("./context"));
|
31
|
-
|
32
28
|
var _DisabledContext = _interopRequireDefault(require("../config-provider/DisabledContext"));
|
33
29
|
|
30
|
+
var _context = require("../form/context");
|
31
|
+
|
34
32
|
var _warning = _interopRequireDefault(require("../_util/warning"));
|
35
33
|
|
34
|
+
var _context2 = _interopRequireWildcard(require("./context"));
|
35
|
+
|
36
36
|
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); }
|
37
37
|
|
38
38
|
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; }
|
@@ -101,6 +101,10 @@ var InternalRadio = function InternalRadio(props, ref) {
|
|
101
101
|
};
|
102
102
|
|
103
103
|
var Radio = /*#__PURE__*/React.forwardRef(InternalRadio);
|
104
|
-
|
104
|
+
|
105
|
+
if (process.env.NODE_ENV !== 'production') {
|
106
|
+
Radio.displayName = 'Radio';
|
107
|
+
}
|
108
|
+
|
105
109
|
var _default = Radio;
|
106
110
|
exports["default"] = _default;
|