@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
package/es/tabs/style/index.css
CHANGED
@@ -2,48 +2,6 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
-
html {
|
6
|
-
--ant-primary-color: #2c68ff;
|
7
|
-
--ant-primary-color-hover: #548aff;
|
8
|
-
--ant-primary-color-active: #1a4ad9;
|
9
|
-
--ant-primary-color-outline: rgba(44, 104, 255, 0.2);
|
10
|
-
--ant-primary-1: #f0f7ff;
|
11
|
-
--ant-primary-2: #cfe3ff;
|
12
|
-
--ant-primary-3: #a6c8ff;
|
13
|
-
--ant-primary-4: #7daaff;
|
14
|
-
--ant-primary-5: #548aff;
|
15
|
-
--ant-primary-6: #2c68ff;
|
16
|
-
--ant-primary-7: #1a4ad9;
|
17
|
-
--ant-primary-color-deprecated-pure: ;
|
18
|
-
--ant-primary-color-deprecated-l-35: #dfe8ff;
|
19
|
-
--ant-primary-color-deprecated-l-20: #92b1ff;
|
20
|
-
--ant-primary-color-deprecated-t-20: #5686ff;
|
21
|
-
--ant-primary-color-deprecated-t-50: #96b4ff;
|
22
|
-
--ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
|
23
|
-
--ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
|
24
|
-
--ant-primary-color-active-deprecated-d-02: #e6f2ff;
|
25
|
-
--ant-success-color: #36c626;
|
26
|
-
--ant-success-color-hover: #5cd44a;
|
27
|
-
--ant-success-color-active: #20a116;
|
28
|
-
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
-
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
-
--ant-success-color-deprecated-border: #afed9f;
|
31
|
-
--ant-error-color: #ff5c57;
|
32
|
-
--ant-error-color-hover: #ff8880;
|
33
|
-
--ant-error-color-active: #d93f3f;
|
34
|
-
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
-
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
-
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
-
--ant-warning-color: #ffab00;
|
38
|
-
--ant-warning-color-hover: #ffbf29;
|
39
|
-
--ant-warning-color-active: #d98900;
|
40
|
-
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
-
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
-
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
-
--ant-info-color: #2c68ff;
|
44
|
-
--ant-info-color-deprecated-bg: #f0f7ff;
|
45
|
-
--ant-info-color-deprecated-border: #a6c8ff;
|
46
|
-
}
|
47
5
|
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
|
48
6
|
padding: 8px 0;
|
49
7
|
font-size: 14px;
|
@@ -127,7 +85,7 @@ html {
|
|
127
85
|
position: absolute;
|
128
86
|
right: 0;
|
129
87
|
left: 0;
|
130
|
-
border-bottom: 1px solid
|
88
|
+
border-bottom: 1px solid #eeeeee;
|
131
89
|
content: '';
|
132
90
|
}
|
133
91
|
.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar,
|
@@ -300,7 +258,7 @@ html {
|
|
300
258
|
.ant-tabs-left > .ant-tabs-content-holder,
|
301
259
|
.ant-tabs-left > div > .ant-tabs-content-holder {
|
302
260
|
margin-left: -1px;
|
303
|
-
border-left: 1px solid
|
261
|
+
border-left: 1px solid #eeeeee;
|
304
262
|
}
|
305
263
|
.ant-tabs-left > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,
|
306
264
|
.ant-tabs-left > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
|
@@ -318,7 +276,7 @@ html {
|
|
318
276
|
.ant-tabs-right > div > .ant-tabs-content-holder {
|
319
277
|
order: 0;
|
320
278
|
margin-right: -1px;
|
321
|
-
border-right: 1px solid
|
279
|
+
border-right: 1px solid #eeeeee;
|
322
280
|
}
|
323
281
|
.ant-tabs-right > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,
|
324
282
|
.ant-tabs-right > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
|
@@ -328,7 +286,7 @@ html {
|
|
328
286
|
box-sizing: border-box;
|
329
287
|
margin: 0;
|
330
288
|
padding: 0;
|
331
|
-
color:
|
289
|
+
color: #4c4c4c;
|
332
290
|
font-size: 14px;
|
333
291
|
font-variant: tabular-nums;
|
334
292
|
line-height: 1.5715;
|
@@ -364,7 +322,7 @@ html {
|
|
364
322
|
margin: 0;
|
365
323
|
padding: 5px 12px;
|
366
324
|
overflow: hidden;
|
367
|
-
color:
|
325
|
+
color: #4c4c4c;
|
368
326
|
font-weight: normal;
|
369
327
|
font-size: 14px;
|
370
328
|
line-height: 22px;
|
@@ -380,21 +338,21 @@ html {
|
|
380
338
|
.ant-tabs-dropdown-menu-item-remove {
|
381
339
|
flex: none;
|
382
340
|
margin-left: 12px;
|
383
|
-
color:
|
341
|
+
color: #a9a9a9;
|
384
342
|
font-size: 12px;
|
385
343
|
background: transparent;
|
386
344
|
border: 0;
|
387
345
|
cursor: pointer;
|
388
346
|
}
|
389
347
|
.ant-tabs-dropdown-menu-item-remove:hover {
|
390
|
-
color:
|
348
|
+
color: #548aff;
|
391
349
|
}
|
392
350
|
.ant-tabs-dropdown-menu-item:hover {
|
393
351
|
background: #f5f5f5;
|
394
352
|
}
|
395
353
|
.ant-tabs-dropdown-menu-item-disabled,
|
396
354
|
.ant-tabs-dropdown-menu-item-disabled:hover {
|
397
|
-
color:
|
355
|
+
color: #a9a9a9;
|
398
356
|
background: transparent;
|
399
357
|
cursor: not-allowed;
|
400
358
|
}
|
@@ -403,12 +361,12 @@ html {
|
|
403
361
|
margin: 0;
|
404
362
|
padding: 8px 16px;
|
405
363
|
background: #fafafa;
|
406
|
-
border: 1px solid
|
364
|
+
border: 1px solid #eeeeee;
|
407
365
|
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
408
366
|
}
|
409
367
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active,
|
410
368
|
.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active {
|
411
|
-
color:
|
369
|
+
color: #2c68ff;
|
412
370
|
background: #fff;
|
413
371
|
}
|
414
372
|
.ant-tabs-card > .ant-tabs-nav .ant-tabs-ink-bar,
|
@@ -463,7 +421,7 @@ html {
|
|
463
421
|
box-sizing: border-box;
|
464
422
|
margin: 0;
|
465
423
|
padding: 0;
|
466
|
-
color:
|
424
|
+
color: #4c4c4c;
|
467
425
|
font-size: 14px;
|
468
426
|
font-variant: tabular-nums;
|
469
427
|
line-height: 1.5715;
|
@@ -540,7 +498,7 @@ html {
|
|
540
498
|
margin-left: 2px;
|
541
499
|
padding: 0 8px;
|
542
500
|
background: #fafafa;
|
543
|
-
border: 1px solid
|
501
|
+
border: 1px solid #eeeeee;
|
544
502
|
border-radius: 4px 4px 0 0;
|
545
503
|
outline: none;
|
546
504
|
cursor: pointer;
|
@@ -548,13 +506,13 @@ html {
|
|
548
506
|
}
|
549
507
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
|
550
508
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
|
551
|
-
color:
|
509
|
+
color: #548aff;
|
552
510
|
}
|
553
511
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
|
554
512
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
|
555
513
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,
|
556
514
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {
|
557
|
-
color:
|
515
|
+
color: #1a4ad9;
|
558
516
|
}
|
559
517
|
.ant-tabs-extra-content {
|
560
518
|
flex: none;
|
@@ -565,7 +523,7 @@ html {
|
|
565
523
|
}
|
566
524
|
.ant-tabs-ink-bar {
|
567
525
|
position: absolute;
|
568
|
-
background:
|
526
|
+
background: #2c68ff;
|
569
527
|
pointer-events: none;
|
570
528
|
}
|
571
529
|
.ant-tabs-tab {
|
@@ -583,7 +541,7 @@ html {
|
|
583
541
|
.ant-tabs-tab-remove:focus,
|
584
542
|
.ant-tabs-tab-btn:active,
|
585
543
|
.ant-tabs-tab-remove:active {
|
586
|
-
color:
|
544
|
+
color: #1a4ad9;
|
587
545
|
}
|
588
546
|
.ant-tabs-tab-btn {
|
589
547
|
outline: none;
|
@@ -593,7 +551,7 @@ html {
|
|
593
551
|
flex: none;
|
594
552
|
margin-right: -4px;
|
595
553
|
margin-left: 8px;
|
596
|
-
color:
|
554
|
+
color: #a9a9a9;
|
597
555
|
font-size: 12px;
|
598
556
|
background: transparent;
|
599
557
|
border: none;
|
@@ -602,24 +560,24 @@ html {
|
|
602
560
|
transition: all 0.3s;
|
603
561
|
}
|
604
562
|
.ant-tabs-tab-remove:hover {
|
605
|
-
color:
|
563
|
+
color: #262626;
|
606
564
|
}
|
607
565
|
.ant-tabs-tab:hover {
|
608
|
-
color:
|
566
|
+
color: #548aff;
|
609
567
|
}
|
610
568
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
611
|
-
color:
|
569
|
+
color: #2c68ff;
|
612
570
|
text-shadow: 0 0 0.25px currentcolor;
|
613
571
|
}
|
614
572
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
615
|
-
color:
|
573
|
+
color: #a9a9a9;
|
616
574
|
cursor: not-allowed;
|
617
575
|
}
|
618
576
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,
|
619
577
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus,
|
620
578
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,
|
621
579
|
.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active {
|
622
|
-
color:
|
580
|
+
color: #a9a9a9;
|
623
581
|
}
|
624
582
|
.ant-tabs-tab .ant-tabs-tab-remove .anticon {
|
625
583
|
margin: 0;
|
package/es/tag/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import CheckableTag from './CheckableTag';
|
3
2
|
import type { PresetColorType, PresetStatusColorType } from '../_util/colors';
|
4
3
|
import type { LiteralUnion } from '../_util/type';
|
4
|
+
import CheckableTag from './CheckableTag';
|
5
5
|
export { CheckableTagProps } from './CheckableTag';
|
6
6
|
export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
7
7
|
prefixCls?: string;
|
package/es/tag/index.js
CHANGED
@@ -2,14 +2,14 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
4
4
|
import { __rest } from "tslib";
|
5
|
-
import
|
5
|
+
import CloseOutlined from "@ant-design/icons/es/icons/CloseOutlined";
|
6
6
|
import classNames from 'classnames';
|
7
7
|
import omit from "rc-util/es/omit";
|
8
|
-
import
|
9
|
-
import CheckableTag from './CheckableTag';
|
8
|
+
import * as React from 'react';
|
10
9
|
import { ConfigContext } from '../config-provider';
|
11
10
|
import { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';
|
12
11
|
import Wave from '../_util/wave';
|
12
|
+
import CheckableTag from './CheckableTag';
|
13
13
|
var PresetColorRegex = new RegExp("^(".concat(PresetColorTypes.join('|'), ")(-inverse)?$"));
|
14
14
|
var PresetStatusColorRegex = new RegExp("^(".concat(PresetStatusColorTypes.join('|'), ")$"));
|
15
15
|
|
@@ -99,6 +99,10 @@ var InternalTag = function InternalTag(_a, ref) {
|
|
99
99
|
};
|
100
100
|
|
101
101
|
var Tag = /*#__PURE__*/React.forwardRef(InternalTag);
|
102
|
-
|
102
|
+
|
103
|
+
if (process.env.NODE_ENV !== 'production') {
|
104
|
+
Tag.displayName = 'Tag';
|
105
|
+
}
|
106
|
+
|
103
107
|
Tag.CheckableTag = CheckableTag;
|
104
108
|
export default Tag;
|
package/es/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;
|
@@ -219,14 +177,14 @@ html {
|
|
219
177
|
border-color: #36c626;
|
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/es/time-picker/index.js
CHANGED
@@ -38,6 +38,10 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
38
38
|
renderExtraFooter: internalRenderExtraFooter
|
39
39
|
}));
|
40
40
|
});
|
41
|
-
|
41
|
+
|
42
|
+
if (process.env.NODE_ENV !== 'production') {
|
43
|
+
TimePicker.displayName = 'TimePicker';
|
44
|
+
}
|
45
|
+
|
42
46
|
TimePicker.RangePicker = RangePicker;
|
43
47
|
export default TimePicker;
|
@@ -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/es/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/es/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/es/tooltip/index.js
CHANGED
@@ -2,15 +2,15 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
4
4
|
import { __rest } from "tslib";
|
5
|
-
import
|
5
|
+
import classNames from 'classnames';
|
6
6
|
import RcTooltip from 'rc-tooltip';
|
7
7
|
import useMergedState from "rc-util/es/hooks/useMergedState";
|
8
|
-
import
|
9
|
-
import getPlacements from '../_util/placements';
|
10
|
-
import { cloneElement, isValidElement } from '../_util/reactNode';
|
8
|
+
import * as React from 'react';
|
11
9
|
import { ConfigContext } from '../config-provider';
|
12
10
|
import { PresetColorTypes } from '../_util/colors';
|
13
11
|
import { getTransitionName } from '../_util/motion';
|
12
|
+
import getPlacements from '../_util/placements';
|
13
|
+
import { cloneElement, isValidElement } from '../_util/reactNode';
|
14
14
|
|
15
15
|
var splitObject = function splitObject(obj, keys) {
|
16
16
|
var picked = {};
|
@@ -212,7 +212,11 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
212
212
|
className: childCls
|
213
213
|
}) : child);
|
214
214
|
});
|
215
|
-
|
215
|
+
|
216
|
+
if (process.env.NODE_ENV !== 'production') {
|
217
|
+
Tooltip.displayName = 'Tooltip';
|
218
|
+
}
|
219
|
+
|
216
220
|
Tooltip.defaultProps = {
|
217
221
|
placement: 'top',
|
218
222
|
mouseEnterDelay: 0.1,
|