@fle-ui/next 1.0.5-alpha.4 → 1.0.5-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@fle-ui/next.css +1859 -5161
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +6349 -6355
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +4 -4
- package/dist/@fle-ui/next.min.js.map +1 -1
- package/es/affix/style/index.css +0 -42
- package/es/alert/style/index.css +17 -59
- package/es/anchor/Anchor.d.ts +1 -1
- package/es/anchor/style/index.css +5 -47
- package/es/auto-complete/style/index.css +1 -43
- package/es/avatar/avatar.js +8 -4
- package/es/avatar/style/index.css +1 -43
- package/es/back-top/style/index.css +3 -45
- package/es/badge/style/index.css +23 -65
- package/es/breadcrumb/style/index.css +7 -49
- package/es/button/button.d.ts +1 -1
- package/es/button/button.js +11 -7
- package/es/button/style/index.css +156 -206
- package/es/calendar/style/index.css +8 -50
- package/es/card/style/index.css +17 -59
- package/es/carousel/style/index.css +1 -43
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/index.js +13 -9
- package/es/cascader/style/index.css +24 -66
- package/es/checkbox/Checkbox.js +8 -4
- package/es/checkbox/style/index.css +17 -59
- package/es/collapse/style/index.css +8 -50
- package/es/comment/style/index.css +5 -47
- package/es/config-provider/context.js +5 -1
- package/es/config-provider/style/index.css +0 -42
- package/es/date-picker/style/index.css +84 -126
- package/es/descriptions/style/index.css +8 -50
- package/es/divider/style/index.css +7 -49
- package/es/drawer/index.js +5 -1
- package/es/drawer/style/index.css +5 -47
- package/es/dropdown/style/index.css +17 -59
- package/es/empty/style/index.css +2 -44
- package/es/form/style/index.css +18 -60
- package/es/grid/col.js +5 -1
- package/es/grid/row.js +5 -1
- package/es/grid/style/index.css +0 -42
- package/es/icon/style/index.css +0 -42
- package/es/image/style/index.css +1 -43
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/es/input/Password.d.ts +1 -1
- package/es/input/Password.js +9 -5
- package/es/input/Search.js +9 -5
- package/es/input/style/index.css +65 -107
- package/es/input-number/index.js +1 -1
- package/es/input-number/style/index.css +68 -110
- package/es/layout/Sider.js +11 -7
- package/es/layout/layout.js +6 -2
- package/es/layout/style/index.css +4 -46
- package/es/list/style/index.css +17 -59
- package/es/locale-provider/index.d.ts +2 -2
- package/es/locale-provider/style/index.css +0 -42
- package/es/mentions/index.d.ts +1 -1
- package/es/mentions/index.js +8 -4
- package/es/mentions/style/index.css +32 -74
- package/es/menu/style/index.css +46 -88
- package/es/message/style/index.css +5 -47
- package/es/modal/style/confirm.less +2 -2
- package/es/modal/style/css.js +2 -1
- package/es/modal/style/index.css +3 -45
- package/es/modal/style/index.js +2 -1
- package/es/modal/style/index.less +0 -1
- package/es/modal/style/modal.less +1 -1
- package/es/modal/style/rtl.less +2 -1
- package/es/notification/style/index.css +8 -50
- package/es/page-header/style/index.css +6 -48
- package/es/pagination/style/index.css +99 -118
- package/es/pagination/style/index.less +63 -22
- package/es/popconfirm/style/index.css +0 -42
- package/es/popover/index.js +5 -1
- package/es/popover/style/index.css +17 -59
- package/es/progress/style/index.css +17 -59
- package/es/radio/radio.js +9 -5
- package/es/radio/style/index.css +49 -91
- package/es/rate/index.js +5 -1
- package/es/rate/style/index.css +2 -44
- package/es/result/style/index.css +6 -48
- package/es/segmented/index.d.ts +1 -1
- package/es/segmented/index.js +6 -2
- package/es/segmented/style/index.css +3 -45
- package/es/select/style/index.css +32 -74
- package/es/skeleton/style/index.css +10 -52
- package/es/skeleton/style/index.less +3 -3
- package/es/slider/index.d.ts +1 -1
- package/es/slider/index.js +8 -4
- package/es/slider/style/index.css +22 -56
- package/es/slider/style/index.less +9 -0
- package/es/space/style/index.css +0 -42
- package/es/spin/style/index.css +4 -46
- package/es/statistic/style/index.css +3 -45
- package/es/steps/style/index.css +44 -86
- package/es/style/color/colors.less +6 -6
- package/es/style/index.css +13 -55
- package/es/style/themes/compact.less +6 -12
- package/es/style/themes/dark.less +106 -445
- package/es/style/themes/default.less +35 -61
- package/es/style/themes/index.less +2 -3
- package/es/style/themes/variable.less +39 -80
- package/es/switch/index.js +10 -6
- package/es/switch/style/index.css +6 -48
- package/es/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/es/table/style/index.css +35 -77
- package/es/table/util.d.ts +1 -1
- package/es/tabs/style/index.css +22 -64
- package/es/tag/index.d.ts +1 -1
- package/es/tag/index.js +8 -4
- package/es/tag/style/index.css +39 -81
- package/es/time-picker/index.js +5 -1
- package/es/time-picker/style/index.css +0 -42
- package/es/timeline/index.d.ts +2 -2
- package/es/timeline/style/index.css +15 -57
- package/es/tooltip/index.d.ts +3 -3
- package/es/tooltip/index.js +9 -5
- package/es/tooltip/style/index.css +12 -54
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/style/index.css +28 -70
- package/es/tree/DirectoryTree.js +5 -1
- package/es/tree/index.d.ts +2 -2
- package/es/tree/style/index.css +29 -71
- package/es/tree-select/style/index.css +27 -69
- package/es/typography/Typography.js +6 -2
- package/es/typography/style/index.css +24 -66
- package/es/upload/Dragger.js +5 -1
- package/es/upload/Upload.js +10 -6
- package/es/upload/UploadList/index.js +13 -9
- package/es/upload/index.d.ts +1 -1
- package/es/upload/style/index.css +23 -65
- package/lib/affix/style/index.css +0 -42
- package/lib/alert/style/index.css +17 -59
- package/lib/anchor/Anchor.d.ts +1 -1
- package/lib/anchor/style/index.css +5 -47
- package/lib/auto-complete/style/index.css +1 -43
- package/lib/avatar/avatar.js +9 -5
- package/lib/avatar/style/index.css +1 -43
- package/lib/back-top/style/index.css +3 -45
- package/lib/badge/style/index.css +23 -65
- package/lib/breadcrumb/style/index.css +7 -49
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.js +13 -9
- package/lib/button/style/index.css +156 -206
- package/lib/calendar/style/index.css +8 -50
- package/lib/card/style/index.css +17 -59
- package/lib/carousel/style/index.css +1 -43
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/index.js +16 -12
- package/lib/cascader/style/index.css +24 -66
- package/lib/checkbox/Checkbox.js +10 -6
- package/lib/checkbox/style/index.css +17 -59
- package/lib/collapse/style/index.css +8 -50
- package/lib/comment/style/index.css +5 -47
- package/lib/config-provider/context.js +5 -1
- package/lib/config-provider/style/index.css +0 -42
- package/lib/date-picker/style/index.css +84 -126
- package/lib/descriptions/style/index.css +8 -50
- package/lib/divider/style/index.css +7 -49
- package/lib/drawer/index.js +5 -1
- package/lib/drawer/style/index.css +5 -47
- package/lib/dropdown/style/index.css +17 -59
- package/lib/empty/style/index.css +2 -44
- package/lib/form/style/index.css +18 -60
- package/lib/grid/col.js +5 -1
- package/lib/grid/row.js +5 -1
- package/lib/grid/style/index.css +0 -42
- package/lib/icon/style/index.css +0 -42
- package/lib/image/style/index.css +1 -43
- package/lib/index.d.ts +1 -2
- package/lib/index.js +0 -8
- package/lib/input/Password.d.ts +1 -1
- package/lib/input/Password.js +10 -6
- package/lib/input/Search.js +11 -7
- package/lib/input/style/index.css +65 -107
- package/lib/input-number/index.js +1 -1
- package/lib/input-number/style/index.css +68 -110
- package/lib/layout/Sider.js +13 -9
- package/lib/layout/layout.js +7 -3
- package/lib/layout/style/index.css +4 -46
- package/lib/list/style/index.css +17 -59
- package/lib/locale-provider/index.d.ts +2 -2
- package/lib/locale-provider/style/index.css +0 -42
- package/lib/mentions/index.d.ts +1 -1
- package/lib/mentions/index.js +10 -6
- package/lib/mentions/style/index.css +32 -74
- package/lib/menu/style/index.css +46 -88
- package/lib/message/style/index.css +5 -47
- package/lib/modal/style/confirm.less +2 -2
- package/lib/modal/style/index.css +3 -45
- package/lib/modal/style/index.less +0 -1
- package/lib/modal/style/modal.less +1 -1
- package/lib/modal/style/rtl.less +2 -1
- package/lib/notification/style/index.css +8 -50
- package/lib/page-header/style/index.css +6 -48
- package/lib/pagination/style/index.css +99 -118
- package/lib/pagination/style/index.less +63 -22
- package/lib/popconfirm/style/index.css +0 -42
- package/lib/popover/index.js +5 -1
- package/lib/popover/style/index.css +17 -59
- package/lib/progress/style/index.css +17 -59
- package/lib/radio/radio.js +11 -7
- package/lib/radio/style/index.css +49 -91
- package/lib/rate/index.js +5 -1
- package/lib/rate/style/index.css +2 -44
- package/lib/result/style/index.css +6 -48
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +7 -3
- package/lib/segmented/style/index.css +3 -45
- package/lib/select/style/index.css +32 -74
- package/lib/skeleton/style/index.css +10 -52
- package/lib/skeleton/style/index.less +3 -3
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +9 -5
- package/lib/slider/style/index.css +22 -56
- package/lib/slider/style/index.less +9 -0
- package/lib/space/style/index.css +0 -42
- package/lib/spin/style/index.css +4 -46
- package/lib/statistic/style/index.css +3 -45
- package/lib/steps/style/index.css +44 -86
- package/lib/style/color/colors.less +6 -6
- package/lib/style/index.css +13 -55
- package/lib/style/themes/compact.less +6 -12
- package/lib/style/themes/dark.less +106 -445
- package/lib/style/themes/default.less +35 -61
- package/lib/style/themes/index.less +2 -3
- package/lib/style/themes/variable.less +39 -80
- package/lib/switch/index.js +12 -8
- package/lib/switch/style/index.css +6 -48
- package/lib/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/lib/table/style/index.css +35 -77
- package/lib/table/util.d.ts +1 -1
- package/lib/tabs/style/index.css +22 -64
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/index.js +9 -5
- package/lib/tag/style/index.css +39 -81
- package/lib/time-picker/index.js +5 -1
- package/lib/time-picker/style/index.css +0 -42
- package/lib/timeline/index.d.ts +2 -2
- package/lib/timeline/style/index.css +15 -57
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/index.js +11 -7
- package/lib/tooltip/style/index.css +12 -54
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/style/index.css +28 -70
- package/lib/tree/DirectoryTree.js +5 -1
- package/lib/tree/index.d.ts +2 -2
- package/lib/tree/style/index.css +29 -71
- package/lib/tree-select/style/index.css +27 -69
- package/lib/typography/Typography.js +7 -3
- package/lib/typography/style/index.css +24 -66
- package/lib/upload/Dragger.js +5 -1
- package/lib/upload/Upload.js +12 -8
- package/lib/upload/UploadList/index.js +16 -12
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/style/index.css +23 -65
- package/package.json +2 -2
- package/report.html +2 -2
- package/es/config-provider/renderEmpty.d.ts +0 -4
- package/es/config-provider/renderEmpty.js +0 -41
- package/es/pagination/MiniSelect.d.ts +0 -7
- package/es/pagination/MiniSelect.js +0 -12
- package/es/typography/util.d.ts +0 -11
- package/es/typography/util.js +0 -234
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -4
- package/es/version/style/css.js +0 -2
- package/es/version/style/index.d.ts +0 -1
- package/es/version/style/index.js +0 -2
- package/es/version/version.d.ts +0 -2
- package/es/version/version.js +0 -1
- package/lib/config-provider/renderEmpty.d.ts +0 -4
- package/lib/config-provider/renderEmpty.js +0 -59
- package/lib/pagination/MiniSelect.d.ts +0 -7
- package/lib/pagination/MiniSelect.js +0 -30
- package/lib/typography/util.d.ts +0 -11
- package/lib/typography/util.js +0 -254
- package/lib/version/index.d.ts +0 -2
- package/lib/version/index.js +0 -15
- package/lib/version/style/css.js +0 -3
- package/lib/version/style/index.d.ts +0 -1
- package/lib/version/style/index.js +0 -3
- package/lib/version/version.d.ts +0 -2
- package/lib/version/version.js +0 -8
@@ -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-back-top {
|
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;
|
@@ -76,12 +34,12 @@ html {
|
|
76
34
|
overflow: hidden;
|
77
35
|
color: #fff;
|
78
36
|
text-align: center;
|
79
|
-
background-color:
|
37
|
+
background-color: #a9a9a9;
|
80
38
|
border-radius: 20px;
|
81
39
|
transition: all 0.3s;
|
82
40
|
}
|
83
41
|
.ant-back-top-content:hover {
|
84
|
-
background-color:
|
42
|
+
background-color: #4c4c4c;
|
85
43
|
transition: all 0.3s;
|
86
44
|
}
|
87
45
|
.ant-back-top-icon {
|
@@ -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-badge {
|
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;
|
@@ -69,7 +27,7 @@ html {
|
|
69
27
|
line-height: 20px;
|
70
28
|
white-space: nowrap;
|
71
29
|
text-align: center;
|
72
|
-
background: #
|
30
|
+
background: #ff4d4f;
|
73
31
|
border-radius: 10px;
|
74
32
|
box-shadow: 0 0 0 1px #fff;
|
75
33
|
}
|
@@ -93,7 +51,7 @@ html {
|
|
93
51
|
width: 6px;
|
94
52
|
min-width: 6px;
|
95
53
|
height: 6px;
|
96
|
-
background: #
|
54
|
+
background: #ff4d4f;
|
97
55
|
border-radius: 100%;
|
98
56
|
box-shadow: 0 0 0 1px #fff;
|
99
57
|
}
|
@@ -129,11 +87,11 @@ html {
|
|
129
87
|
border-radius: 50%;
|
130
88
|
}
|
131
89
|
.ant-badge-status-success {
|
132
|
-
background-color:
|
90
|
+
background-color: #36c626;
|
133
91
|
}
|
134
92
|
.ant-badge-status-processing {
|
135
93
|
position: relative;
|
136
|
-
background-color:
|
94
|
+
background-color: #1890ff;
|
137
95
|
}
|
138
96
|
.ant-badge-status-processing::after {
|
139
97
|
position: absolute;
|
@@ -141,7 +99,7 @@ html {
|
|
141
99
|
left: 0;
|
142
100
|
width: 100%;
|
143
101
|
height: 100%;
|
144
|
-
border: 1px solid
|
102
|
+
border: 1px solid #1890ff;
|
145
103
|
border-radius: 50%;
|
146
104
|
-webkit-animation: antStatusProcessing 1.2s infinite ease-in-out;
|
147
105
|
animation: antStatusProcessing 1.2s infinite ease-in-out;
|
@@ -151,10 +109,10 @@ html {
|
|
151
109
|
background-color: #d9d9d9;
|
152
110
|
}
|
153
111
|
.ant-badge-status-error {
|
154
|
-
background-color:
|
112
|
+
background-color: #f42d2d;
|
155
113
|
}
|
156
114
|
.ant-badge-status-warning {
|
157
|
-
background-color:
|
115
|
+
background-color: #ffab00;
|
158
116
|
}
|
159
117
|
.ant-badge-status-pink {
|
160
118
|
background: #eb2f96;
|
@@ -163,7 +121,7 @@ html {
|
|
163
121
|
background: #eb2f96;
|
164
122
|
}
|
165
123
|
.ant-badge-status-red {
|
166
|
-
background: #
|
124
|
+
background: #f5222d;
|
167
125
|
}
|
168
126
|
.ant-badge-status-volcano {
|
169
127
|
background: #fa541c;
|
@@ -175,7 +133,7 @@ html {
|
|
175
133
|
background: #fadb14;
|
176
134
|
}
|
177
135
|
.ant-badge-status-gold {
|
178
|
-
background: #
|
136
|
+
background: #faad14;
|
179
137
|
}
|
180
138
|
.ant-badge-status-cyan {
|
181
139
|
background: #13c2c2;
|
@@ -184,10 +142,10 @@ html {
|
|
184
142
|
background: #a0d911;
|
185
143
|
}
|
186
144
|
.ant-badge-status-green {
|
187
|
-
background: #
|
145
|
+
background: #52c41a;
|
188
146
|
}
|
189
147
|
.ant-badge-status-blue {
|
190
|
-
background: #
|
148
|
+
background: #1890ff;
|
191
149
|
}
|
192
150
|
.ant-badge-status-geekblue {
|
193
151
|
background: #2f54eb;
|
@@ -197,7 +155,7 @@ html {
|
|
197
155
|
}
|
198
156
|
.ant-badge-status-text {
|
199
157
|
margin-left: 8px;
|
200
|
-
color:
|
158
|
+
color: #4c4c4c;
|
201
159
|
font-size: 14px;
|
202
160
|
}
|
203
161
|
.ant-badge-zoom-appear,
|
@@ -378,7 +336,7 @@ html {
|
|
378
336
|
box-sizing: border-box;
|
379
337
|
margin: 0;
|
380
338
|
padding: 0;
|
381
|
-
color:
|
339
|
+
color: #4c4c4c;
|
382
340
|
font-size: 14px;
|
383
341
|
font-variant: tabular-nums;
|
384
342
|
line-height: 1.5715;
|
@@ -391,7 +349,7 @@ html {
|
|
391
349
|
color: #fff;
|
392
350
|
line-height: 22px;
|
393
351
|
white-space: nowrap;
|
394
|
-
background-color:
|
352
|
+
background-color: #2c68ff;
|
395
353
|
border-radius: 4px;
|
396
354
|
}
|
397
355
|
.ant-ribbon-text {
|
@@ -426,8 +384,8 @@ html {
|
|
426
384
|
background: #eb2f96;
|
427
385
|
}
|
428
386
|
.ant-ribbon-color-red {
|
429
|
-
color: #
|
430
|
-
background: #
|
387
|
+
color: #f5222d;
|
388
|
+
background: #f5222d;
|
431
389
|
}
|
432
390
|
.ant-ribbon-color-volcano {
|
433
391
|
color: #fa541c;
|
@@ -442,8 +400,8 @@ html {
|
|
442
400
|
background: #fadb14;
|
443
401
|
}
|
444
402
|
.ant-ribbon-color-gold {
|
445
|
-
color: #
|
446
|
-
background: #
|
403
|
+
color: #faad14;
|
404
|
+
background: #faad14;
|
447
405
|
}
|
448
406
|
.ant-ribbon-color-cyan {
|
449
407
|
color: #13c2c2;
|
@@ -454,12 +412,12 @@ html {
|
|
454
412
|
background: #a0d911;
|
455
413
|
}
|
456
414
|
.ant-ribbon-color-green {
|
457
|
-
color: #
|
458
|
-
background: #
|
415
|
+
color: #52c41a;
|
416
|
+
background: #52c41a;
|
459
417
|
}
|
460
418
|
.ant-ribbon-color-blue {
|
461
|
-
color: #
|
462
|
-
background: #
|
419
|
+
color: #1890ff;
|
420
|
+
background: #1890ff;
|
463
421
|
}
|
464
422
|
.ant-ribbon-color-geekblue {
|
465
423
|
color: #2f54eb;
|
@@ -2,58 +2,16 @@
|
|
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-breadcrumb {
|
48
6
|
box-sizing: border-box;
|
49
7
|
margin: 0;
|
50
8
|
padding: 0;
|
51
|
-
color:
|
9
|
+
color: #4c4c4c;
|
52
10
|
font-variant: tabular-nums;
|
53
11
|
line-height: 1.5715;
|
54
12
|
list-style: none;
|
55
13
|
font-feature-settings: 'tnum';
|
56
|
-
color:
|
14
|
+
color: #a9a9a9;
|
57
15
|
font-size: 14px;
|
58
16
|
}
|
59
17
|
.ant-breadcrumb .anticon {
|
@@ -67,24 +25,24 @@ html {
|
|
67
25
|
list-style: none;
|
68
26
|
}
|
69
27
|
.ant-breadcrumb a {
|
70
|
-
color:
|
28
|
+
color: #a9a9a9;
|
71
29
|
transition: color 0.3s;
|
72
30
|
}
|
73
31
|
.ant-breadcrumb a:hover {
|
74
|
-
color:
|
32
|
+
color: #4c4c4c;
|
75
33
|
}
|
76
34
|
.ant-breadcrumb li:last-child {
|
77
|
-
color:
|
35
|
+
color: #4c4c4c;
|
78
36
|
}
|
79
37
|
.ant-breadcrumb li:last-child a {
|
80
|
-
color:
|
38
|
+
color: #4c4c4c;
|
81
39
|
}
|
82
40
|
li:last-child .ant-breadcrumb-separator {
|
83
41
|
display: none;
|
84
42
|
}
|
85
43
|
.ant-breadcrumb-separator {
|
86
44
|
margin: 0 8px;
|
87
|
-
color:
|
45
|
+
color: #a9a9a9;
|
88
46
|
}
|
89
47
|
.ant-breadcrumb-link > .anticon + span,
|
90
48
|
.ant-breadcrumb-link > .anticon + a {
|
package/lib/button/button.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import Group from './button-group';
|
3
2
|
import type { SizeType } from '../config-provider/SizeContext';
|
3
|
+
import Group from './button-group';
|
4
4
|
declare const ButtonTypes: ["default", "primary", "ghost", "dashed", "link", "text"];
|
5
5
|
export declare type ButtonType = typeof ButtonTypes[number];
|
6
6
|
declare const ButtonShapes: ["default", "circle", "round"];
|
package/lib/button/button.js
CHANGED
@@ -20,30 +20,30 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
20
20
|
|
21
21
|
var _tslib = require("tslib");
|
22
22
|
|
23
|
-
var React = _interopRequireWildcard(require("react"));
|
24
|
-
|
25
23
|
var _classnames = _interopRequireDefault(require("classnames"));
|
26
24
|
|
27
25
|
var _omit = _interopRequireDefault(require("rc-util/lib/omit"));
|
28
26
|
|
29
|
-
var
|
27
|
+
var React = _interopRequireWildcard(require("react"));
|
30
28
|
|
31
29
|
var _configProvider = require("../config-provider");
|
32
30
|
|
33
|
-
var
|
31
|
+
var _DisabledContext = _interopRequireDefault(require("../config-provider/DisabledContext"));
|
32
|
+
|
33
|
+
var _SizeContext = _interopRequireDefault(require("../config-provider/SizeContext"));
|
34
|
+
|
35
|
+
var _reactNode = require("../_util/reactNode");
|
34
36
|
|
35
37
|
var _type = require("../_util/type");
|
36
38
|
|
37
39
|
var _warning = _interopRequireDefault(require("../_util/warning"));
|
38
40
|
|
39
|
-
var
|
41
|
+
var _wave = _interopRequireDefault(require("../_util/wave"));
|
40
42
|
|
41
|
-
var
|
43
|
+
var _buttonGroup = _interopRequireWildcard(require("./button-group"));
|
42
44
|
|
43
45
|
var _LoadingIcon = _interopRequireDefault(require("./LoadingIcon"));
|
44
46
|
|
45
|
-
var _reactNode = require("../_util/reactNode");
|
46
|
-
|
47
47
|
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); }
|
48
48
|
|
49
49
|
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; }
|
@@ -279,7 +279,11 @@ var InternalButton = function InternalButton(props, ref) {
|
|
279
279
|
};
|
280
280
|
|
281
281
|
var Button = /*#__PURE__*/React.forwardRef(InternalButton);
|
282
|
-
|
282
|
+
|
283
|
+
if (process.env.NODE_ENV !== 'production') {
|
284
|
+
Button.displayName = 'Button';
|
285
|
+
}
|
286
|
+
|
283
287
|
Button.Group = _buttonGroup["default"];
|
284
288
|
Button.__ANT_BUTTON = true;
|
285
289
|
var _default = Button;
|