@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,48 +2,6 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
-
html {
|
6
|
-
--ant-primary-color: #2c68ff;
|
7
|
-
--ant-primary-color-hover: #548aff;
|
8
|
-
--ant-primary-color-active: #1a4ad9;
|
9
|
-
--ant-primary-color-outline: rgba(44, 104, 255, 0.2);
|
10
|
-
--ant-primary-1: #f0f7ff;
|
11
|
-
--ant-primary-2: #cfe3ff;
|
12
|
-
--ant-primary-3: #a6c8ff;
|
13
|
-
--ant-primary-4: #7daaff;
|
14
|
-
--ant-primary-5: #548aff;
|
15
|
-
--ant-primary-6: #2c68ff;
|
16
|
-
--ant-primary-7: #1a4ad9;
|
17
|
-
--ant-primary-color-deprecated-pure: ;
|
18
|
-
--ant-primary-color-deprecated-l-35: #dfe8ff;
|
19
|
-
--ant-primary-color-deprecated-l-20: #92b1ff;
|
20
|
-
--ant-primary-color-deprecated-t-20: #5686ff;
|
21
|
-
--ant-primary-color-deprecated-t-50: #96b4ff;
|
22
|
-
--ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
|
23
|
-
--ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
|
24
|
-
--ant-primary-color-active-deprecated-d-02: #e6f2ff;
|
25
|
-
--ant-success-color: #36c626;
|
26
|
-
--ant-success-color-hover: #5cd44a;
|
27
|
-
--ant-success-color-active: #20a116;
|
28
|
-
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
-
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
-
--ant-success-color-deprecated-border: #afed9f;
|
31
|
-
--ant-error-color: #ff5c57;
|
32
|
-
--ant-error-color-hover: #ff8880;
|
33
|
-
--ant-error-color-active: #d93f3f;
|
34
|
-
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
-
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
-
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
-
--ant-warning-color: #ffab00;
|
38
|
-
--ant-warning-color-hover: #ffbf29;
|
39
|
-
--ant-warning-color-active: #d98900;
|
40
|
-
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
-
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
-
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
-
--ant-info-color: #2c68ff;
|
44
|
-
--ant-info-color-deprecated-bg: #f0f7ff;
|
45
|
-
--ant-info-color-deprecated-border: #a6c8ff;
|
46
|
-
}
|
47
5
|
@-webkit-keyframes antCheckboxEffect {
|
48
6
|
0% {
|
49
7
|
transform: scale(1);
|
@@ -82,7 +40,7 @@ html {
|
|
82
40
|
background: #fafafa;
|
83
41
|
}
|
84
42
|
.ant-transfer-customize-list .ant-table-wrapper .ant-table-small > .ant-table-content .ant-table-row:last-child td {
|
85
|
-
border-bottom: 1px solid
|
43
|
+
border-bottom: 1px solid #eeeeee;
|
86
44
|
}
|
87
45
|
.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body {
|
88
46
|
margin: 0;
|
@@ -94,34 +52,34 @@ html {
|
|
94
52
|
background-color: transparent;
|
95
53
|
}
|
96
54
|
.ant-transfer-status-error .ant-transfer-list {
|
97
|
-
border-color:
|
55
|
+
border-color: #f42d2d;
|
98
56
|
}
|
99
57
|
.ant-transfer-status-error .ant-transfer-list-search:not([disabled]) {
|
100
|
-
border-color: #
|
58
|
+
border-color: #d2d2d2;
|
101
59
|
}
|
102
60
|
.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover {
|
103
|
-
border-color:
|
61
|
+
border-color: #548aff;
|
104
62
|
border-right-width: 1px;
|
105
63
|
}
|
106
64
|
.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus {
|
107
|
-
border-color:
|
108
|
-
box-shadow: 0 0 0 2px
|
65
|
+
border-color: #548aff;
|
66
|
+
box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
|
109
67
|
border-right-width: 1px;
|
110
68
|
outline: 0;
|
111
69
|
}
|
112
70
|
.ant-transfer-status-warning .ant-transfer-list {
|
113
|
-
border-color:
|
71
|
+
border-color: #ffab00;
|
114
72
|
}
|
115
73
|
.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]) {
|
116
|
-
border-color: #
|
74
|
+
border-color: #d2d2d2;
|
117
75
|
}
|
118
76
|
.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover {
|
119
|
-
border-color:
|
77
|
+
border-color: #548aff;
|
120
78
|
border-right-width: 1px;
|
121
79
|
}
|
122
80
|
.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus {
|
123
|
-
border-color:
|
124
|
-
box-shadow: 0 0 0 2px
|
81
|
+
border-color: #548aff;
|
82
|
+
box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
|
125
83
|
border-right-width: 1px;
|
126
84
|
outline: 0;
|
127
85
|
}
|
@@ -129,7 +87,7 @@ html {
|
|
129
87
|
box-sizing: border-box;
|
130
88
|
margin: 0;
|
131
89
|
padding: 0;
|
132
|
-
color:
|
90
|
+
color: #4c4c4c;
|
133
91
|
font-size: 14px;
|
134
92
|
font-variant: tabular-nums;
|
135
93
|
line-height: 1.5715;
|
@@ -140,14 +98,14 @@ html {
|
|
140
98
|
align-items: stretch;
|
141
99
|
}
|
142
100
|
.ant-transfer-disabled .ant-transfer-list {
|
143
|
-
background: #
|
101
|
+
background: #f1f1f1;
|
144
102
|
}
|
145
103
|
.ant-transfer-list {
|
146
104
|
display: flex;
|
147
105
|
flex-direction: column;
|
148
106
|
width: 180px;
|
149
107
|
height: 200px;
|
150
|
-
border: 1px solid #
|
108
|
+
border: 1px solid #d2d2d2;
|
151
109
|
border-radius: 4px;
|
152
110
|
}
|
153
111
|
.ant-transfer-list-with-pagination {
|
@@ -155,7 +113,7 @@ html {
|
|
155
113
|
height: auto;
|
156
114
|
}
|
157
115
|
.ant-transfer-list-search .anticon-search {
|
158
|
-
color:
|
116
|
+
color: #a9a9a9;
|
159
117
|
}
|
160
118
|
.ant-transfer-list-header {
|
161
119
|
display: flex;
|
@@ -163,9 +121,9 @@ html {
|
|
163
121
|
align-items: center;
|
164
122
|
height: 40px;
|
165
123
|
padding: 8px 12px 9px;
|
166
|
-
color:
|
124
|
+
color: #4c4c4c;
|
167
125
|
background: #fff;
|
168
|
-
border-bottom: 1px solid
|
126
|
+
border-bottom: 1px solid #eeeeee;
|
169
127
|
border-radius: 4px 4px 0 0;
|
170
128
|
}
|
171
129
|
.ant-transfer-list-header > *:not(:last-child) {
|
@@ -229,20 +187,20 @@ html {
|
|
229
187
|
text-overflow: ellipsis;
|
230
188
|
}
|
231
189
|
.ant-transfer-list-content-item-remove {
|
232
|
-
color:
|
190
|
+
color: #2c68ff;
|
233
191
|
text-decoration: none;
|
234
192
|
outline: none;
|
235
193
|
cursor: pointer;
|
236
194
|
transition: color 0.3s;
|
237
195
|
position: relative;
|
238
|
-
color: #
|
196
|
+
color: #d2d2d2;
|
239
197
|
}
|
240
198
|
.ant-transfer-list-content-item-remove:focus,
|
241
199
|
.ant-transfer-list-content-item-remove:hover {
|
242
|
-
color:
|
200
|
+
color: #548aff;
|
243
201
|
}
|
244
202
|
.ant-transfer-list-content-item-remove:active {
|
245
|
-
color:
|
203
|
+
color: #1a4ad9;
|
246
204
|
}
|
247
205
|
.ant-transfer-list-content-item-remove::after {
|
248
206
|
position: absolute;
|
@@ -253,40 +211,40 @@ html {
|
|
253
211
|
content: '';
|
254
212
|
}
|
255
213
|
.ant-transfer-list-content-item-remove:hover {
|
256
|
-
color:
|
214
|
+
color: #548aff;
|
257
215
|
}
|
258
216
|
.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
|
259
217
|
background-color: #f5f5f5;
|
260
218
|
cursor: pointer;
|
261
219
|
}
|
262
220
|
.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover {
|
263
|
-
background-color:
|
221
|
+
background-color: #e6f2ff;
|
264
222
|
}
|
265
223
|
.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
|
266
224
|
background: transparent;
|
267
225
|
cursor: default;
|
268
226
|
}
|
269
227
|
.ant-transfer-list-content-item-checked {
|
270
|
-
background-color:
|
228
|
+
background-color: #f0f7ff;
|
271
229
|
}
|
272
230
|
.ant-transfer-list-content-item-disabled {
|
273
|
-
color:
|
231
|
+
color: #a9a9a9;
|
274
232
|
cursor: not-allowed;
|
275
233
|
}
|
276
234
|
.ant-transfer-list-pagination {
|
277
235
|
padding: 8px 0;
|
278
236
|
text-align: right;
|
279
|
-
border-top: 1px solid
|
237
|
+
border-top: 1px solid #eeeeee;
|
280
238
|
}
|
281
239
|
.ant-transfer-list-body-not-found {
|
282
240
|
flex: none;
|
283
241
|
width: 100%;
|
284
242
|
margin: auto 0;
|
285
|
-
color:
|
243
|
+
color: #a9a9a9;
|
286
244
|
text-align: center;
|
287
245
|
}
|
288
246
|
.ant-transfer-list-footer {
|
289
|
-
border-top: 1px solid
|
247
|
+
border-top: 1px solid #eeeeee;
|
290
248
|
}
|
291
249
|
.ant-transfer-operation {
|
292
250
|
display: flex;
|
@@ -196,7 +196,11 @@ var DirectoryTree = function DirectoryTree(_a, ref) {
|
|
196
196
|
};
|
197
197
|
|
198
198
|
var ForwardDirectoryTree = /*#__PURE__*/React.forwardRef(DirectoryTree);
|
199
|
-
|
199
|
+
|
200
|
+
if (process.env.NODE_ENV !== 'production') {
|
201
|
+
ForwardDirectoryTree.displayName = 'DirectoryTree';
|
202
|
+
}
|
203
|
+
|
200
204
|
ForwardDirectoryTree.defaultProps = {
|
201
205
|
showIcon: true,
|
202
206
|
expandAction: 'click'
|
package/lib/tree/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import Tree from './Tree';
|
2
|
-
export { EventDataNode, DataNode } from 'rc-tree/lib/interface';
|
3
|
-
export { TreeProps, AntTreeNode, AntTreeNodeMouseEvent, AntTreeNodeExpandedEvent, AntTreeNodeCheckedEvent, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, AntTreeNodeProps, } from './Tree';
|
2
|
+
export type { EventDataNode, DataNode } from 'rc-tree/lib/interface';
|
3
|
+
export type { TreeProps, AntTreeNode, AntTreeNodeMouseEvent, AntTreeNodeExpandedEvent, AntTreeNodeCheckedEvent, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, AntTreeNodeProps, } from './Tree';
|
4
4
|
export { ExpandAction as DirectoryTreeExpandAction, DirectoryTreeProps } from './DirectoryTree';
|
5
5
|
export default Tree;
|
package/lib/tree/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
|
@-webkit-keyframes antCheckboxEffect {
|
48
6
|
0% {
|
49
7
|
transform: scale(1);
|
@@ -118,7 +76,7 @@ html {
|
|
118
76
|
}
|
119
77
|
.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before,
|
120
78
|
.ant-tree.ant-tree-directory .ant-tree-treenode-selected::before {
|
121
|
-
background:
|
79
|
+
background: #2c68ff;
|
122
80
|
}
|
123
81
|
.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher {
|
124
82
|
color: #fff;
|
@@ -131,7 +89,7 @@ html {
|
|
131
89
|
box-sizing: border-box;
|
132
90
|
margin: 0;
|
133
91
|
padding: 0;
|
134
|
-
color:
|
92
|
+
color: #4c4c4c;
|
135
93
|
font-size: 14px;
|
136
94
|
font-variant: tabular-nums;
|
137
95
|
line-height: 1.5715;
|
@@ -147,7 +105,7 @@ html {
|
|
147
105
|
.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
|
148
106
|
.ant-tree-checkbox:hover .ant-tree-checkbox-inner,
|
149
107
|
.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
|
150
|
-
border-color:
|
108
|
+
border-color: #2c68ff;
|
151
109
|
}
|
152
110
|
.ant-tree-checkbox-checked::after {
|
153
111
|
position: absolute;
|
@@ -155,7 +113,7 @@ html {
|
|
155
113
|
left: 0;
|
156
114
|
width: 100%;
|
157
115
|
height: 100%;
|
158
|
-
border: 1px solid
|
116
|
+
border: 1px solid #2c68ff;
|
159
117
|
border-radius: 4px;
|
160
118
|
visibility: hidden;
|
161
119
|
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
@@ -177,7 +135,7 @@ html {
|
|
177
135
|
height: 16px;
|
178
136
|
direction: ltr;
|
179
137
|
background-color: #fff;
|
180
|
-
border: 1px solid #
|
138
|
+
border: 1px solid #d2d2d2;
|
181
139
|
border-radius: 4px;
|
182
140
|
border-collapse: separate;
|
183
141
|
transition: all 0.3s;
|
@@ -221,14 +179,14 @@ html {
|
|
221
179
|
content: ' ';
|
222
180
|
}
|
223
181
|
.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
|
224
|
-
background-color:
|
225
|
-
border-color:
|
182
|
+
background-color: #2c68ff;
|
183
|
+
border-color: #2c68ff;
|
226
184
|
}
|
227
185
|
.ant-tree-checkbox-disabled {
|
228
186
|
cursor: not-allowed;
|
229
187
|
}
|
230
188
|
.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
|
231
|
-
border-color:
|
189
|
+
border-color: #a9a9a9;
|
232
190
|
-webkit-animation-name: none;
|
233
191
|
animation-name: none;
|
234
192
|
}
|
@@ -237,17 +195,17 @@ html {
|
|
237
195
|
pointer-events: none;
|
238
196
|
}
|
239
197
|
.ant-tree-checkbox-disabled .ant-tree-checkbox-inner {
|
240
|
-
background-color: #
|
241
|
-
border-color: #
|
198
|
+
background-color: #f1f1f1;
|
199
|
+
border-color: #d2d2d2 !important;
|
242
200
|
}
|
243
201
|
.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
|
244
|
-
border-color: #
|
202
|
+
border-color: #f1f1f1;
|
245
203
|
border-collapse: separate;
|
246
204
|
-webkit-animation-name: none;
|
247
205
|
animation-name: none;
|
248
206
|
}
|
249
207
|
.ant-tree-checkbox-disabled + span {
|
250
|
-
color:
|
208
|
+
color: #a9a9a9;
|
251
209
|
cursor: not-allowed;
|
252
210
|
}
|
253
211
|
.ant-tree-checkbox-disabled:hover::after,
|
@@ -258,7 +216,7 @@ html {
|
|
258
216
|
box-sizing: border-box;
|
259
217
|
margin: 0;
|
260
218
|
padding: 0;
|
261
|
-
color:
|
219
|
+
color: #4c4c4c;
|
262
220
|
font-size: 14px;
|
263
221
|
font-variant: tabular-nums;
|
264
222
|
line-height: 1.5715;
|
@@ -293,7 +251,7 @@ html {
|
|
293
251
|
box-sizing: border-box;
|
294
252
|
margin: 0;
|
295
253
|
padding: 0;
|
296
|
-
color:
|
254
|
+
color: #4c4c4c;
|
297
255
|
font-size: 14px;
|
298
256
|
font-variant: tabular-nums;
|
299
257
|
line-height: 1.5715;
|
@@ -312,28 +270,28 @@ html {
|
|
312
270
|
}
|
313
271
|
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner {
|
314
272
|
background-color: #fff;
|
315
|
-
border-color: #
|
273
|
+
border-color: #d2d2d2;
|
316
274
|
}
|
317
275
|
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after {
|
318
276
|
top: 50%;
|
319
277
|
left: 50%;
|
320
278
|
width: 8px;
|
321
279
|
height: 8px;
|
322
|
-
background-color:
|
280
|
+
background-color: #2c68ff;
|
323
281
|
border: 0;
|
324
282
|
transform: translate(-50%, -50%) scale(1);
|
325
283
|
opacity: 1;
|
326
284
|
content: ' ';
|
327
285
|
}
|
328
286
|
.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
|
329
|
-
background-color:
|
330
|
-
border-color:
|
287
|
+
background-color: #a9a9a9;
|
288
|
+
border-color: #a9a9a9;
|
331
289
|
}
|
332
290
|
.ant-tree {
|
333
291
|
box-sizing: border-box;
|
334
292
|
margin: 0;
|
335
293
|
padding: 0;
|
336
|
-
color:
|
294
|
+
color: #4c4c4c;
|
337
295
|
font-size: 14px;
|
338
296
|
font-variant: tabular-nums;
|
339
297
|
line-height: 1.5715;
|
@@ -344,7 +302,7 @@ html {
|
|
344
302
|
transition: background-color 0.3s;
|
345
303
|
}
|
346
304
|
.ant-tree-focused:not(:hover):not(.ant-tree-active-focused) {
|
347
|
-
background:
|
305
|
+
background: #f0f7ff;
|
348
306
|
}
|
349
307
|
.ant-tree-list-holder-inner {
|
350
308
|
align-items: flex-start;
|
@@ -364,7 +322,7 @@ html {
|
|
364
322
|
right: 0;
|
365
323
|
bottom: 4px;
|
366
324
|
left: 0;
|
367
|
-
border: 1px solid
|
325
|
+
border: 1px solid #2c68ff;
|
368
326
|
opacity: 0;
|
369
327
|
-webkit-animation: ant-tree-node-fx-do-not-use 0.3s;
|
370
328
|
animation: ant-tree-node-fx-do-not-use 0.3s;
|
@@ -382,7 +340,7 @@ html {
|
|
382
340
|
outline: none;
|
383
341
|
}
|
384
342
|
.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper {
|
385
|
-
color:
|
343
|
+
color: #a9a9a9;
|
386
344
|
cursor: not-allowed;
|
387
345
|
}
|
388
346
|
.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover {
|
@@ -448,7 +406,7 @@ html {
|
|
448
406
|
transform: rotate(-90deg);
|
449
407
|
}
|
450
408
|
.ant-tree-switcher-loading-icon {
|
451
|
-
color:
|
409
|
+
color: #2c68ff;
|
452
410
|
}
|
453
411
|
.ant-tree-switcher-leaf-line {
|
454
412
|
position: relative;
|
@@ -494,7 +452,7 @@ html {
|
|
494
452
|
background-color: #f5f5f5;
|
495
453
|
}
|
496
454
|
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
497
|
-
background-color:
|
455
|
+
background-color: #cfe3ff;
|
498
456
|
}
|
499
457
|
.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
|
500
458
|
display: inline-block;
|
@@ -521,7 +479,7 @@ html {
|
|
521
479
|
position: absolute;
|
522
480
|
z-index: 1;
|
523
481
|
height: 2px;
|
524
|
-
background-color:
|
482
|
+
background-color: #2c68ff;
|
525
483
|
border-radius: 1px;
|
526
484
|
pointer-events: none;
|
527
485
|
}
|
@@ -532,12 +490,12 @@ html {
|
|
532
490
|
width: 8px;
|
533
491
|
height: 8px;
|
534
492
|
background-color: transparent;
|
535
|
-
border: 2px solid
|
493
|
+
border: 2px solid #2c68ff;
|
536
494
|
border-radius: 50%;
|
537
495
|
content: '';
|
538
496
|
}
|
539
497
|
.ant-tree .ant-tree-treenode.drop-container > [draggable] {
|
540
|
-
box-shadow: 0 0 0 2px
|
498
|
+
box-shadow: 0 0 0 2px #2c68ff;
|
541
499
|
}
|
542
500
|
.ant-tree-show-line .ant-tree-indent-unit {
|
543
501
|
position: relative;
|
@@ -548,7 +506,7 @@ html {
|
|
548
506
|
top: 0;
|
549
507
|
right: 12px;
|
550
508
|
bottom: -4px;
|
551
|
-
border-right: 1px solid #
|
509
|
+
border-right: 1px solid #d2d2d2;
|
552
510
|
content: '';
|
553
511
|
}
|
554
512
|
.ant-tree-show-line .ant-tree-indent-unit-end::before {
|
@@ -582,7 +540,7 @@ html {
|
|
582
540
|
right: auto;
|
583
541
|
left: -13px;
|
584
542
|
border-right: none;
|
585
|
-
border-left: 1px solid #
|
543
|
+
border-left: 1px solid #d2d2d2;
|
586
544
|
}
|
587
545
|
.ant-tree-rtl .ant-tree-checkbox {
|
588
546
|
margin: 4px 0 0 8px;
|