@aloudata/aloudata-design 2.0.0-beta.9 → 2.0.1
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/Button/style/index.less +4 -0
- package/dist/Checkbox/style/index.less +8 -10
- package/dist/ColorPicker/index.js +4 -2
- package/dist/ColorPicker/style/index.less +1 -2
- package/dist/ConfigProvider/index.d.ts +1 -1
- package/dist/ConfigProvider/index.js +9 -1
- package/dist/DataPreviewTable/components/Body/index.js +7 -0
- package/dist/DataPreviewTable/interface.d.ts +1 -0
- package/dist/DataPreviewTable/style/index.less +6 -3
- package/dist/Dropdown/index.js +4 -1
- package/dist/Dropdown/style/index.less +12 -2
- package/dist/Empty/index.js +2 -1
- package/dist/Empty/style/index.less +5 -5
- package/dist/Form/style/index.d.ts +1 -0
- package/dist/Form/style/index.js +1 -0
- package/dist/HighlightText/index.d.ts +12 -0
- package/dist/HighlightText/index.js +27 -0
- package/dist/HighlightText/style/index.less +5 -0
- package/dist/Icon/components/ArrowRightLightLine.d.ts +11 -0
- package/dist/Icon/components/ArrowRightLightLine.js +35 -0
- package/dist/Icon/components/CloseLLine.js +3 -10
- package/dist/Icon/components/TimesLightLine.d.ts +11 -0
- package/dist/Icon/components/TimesLightLine.js +35 -0
- package/dist/Icon/index.d.ts +2 -0
- package/dist/Icon/index.js +2 -0
- package/dist/Icon/svg/Arrow-Right-light-line.svg +5 -0
- package/dist/Icon/svg/Times-light-line.svg +5 -0
- package/dist/Icon/svg/close-L-line.svg +2 -11
- package/dist/IconButton/index.js +4 -1
- package/dist/Input/components/Input/index.d.ts +2 -5
- package/dist/Input/components/Input/index.js +7 -3
- package/dist/Input/components/Password/index.js +4 -4
- package/dist/Input/components/TextArea/index.js +12 -6
- package/dist/Input/style/index.less +1 -0
- package/dist/MemberPicker/index.js +35 -9
- package/dist/MemberPicker/interface.d.ts +1 -1
- package/dist/MemberPicker/style/index.less +13 -5
- package/dist/Menu/style/index.less +2 -2
- package/dist/Modal/index.d.ts +3 -4
- package/dist/Modal/index.js +30 -9
- package/dist/Modal/style/modal.less +5 -1
- package/dist/Modal/style/modalConfirm.less +5 -1
- package/dist/Modal/style/polyfill/index.less +0 -3
- package/dist/Popconfirm/index.js +1 -1
- package/dist/Popconfirm/style/index.less +4 -8
- package/dist/Progress/style/index.less +5 -2
- package/dist/Radio/components/Radio/index.js +26 -4
- package/dist/Radio/style/index.less +83 -8
- package/dist/Select/index.d.ts +0 -1
- package/dist/Select/index.js +19 -19
- package/dist/Select/style/emptyShowAll.less +10 -0
- package/dist/Select/style/index.less +17 -7
- package/dist/Select/style/layout.less +1 -0
- package/dist/Select/style/selectDropdown.less +1 -2
- package/dist/Select/style/status.less +47 -2
- package/dist/Table/style/index.less +6 -5
- package/dist/Tabs/style/index.less +2 -7
- package/dist/Tooltip/index.js +5 -3
- package/dist/Tooltip/style/index.less +6 -6
- package/dist/Tree/Tree.d.ts +3 -2
- package/dist/Tree/Tree.js +80 -10
- package/dist/Tree/demo/basic/index.js +4 -0
- package/dist/Tree/demo/filter/index.d.ts +3 -0
- package/dist/Tree/demo/filter/index.js +64 -0
- package/dist/Tree/style/checkbox.less +57 -36
- package/dist/Tree/style/index.less +27 -6
- package/dist/Tree/style/mixin.less +10 -6
- package/dist/Tree/style/var.less +1 -1
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.less +1 -0
- package/dist/style/index.less +3 -3
- package/dist/style/themes/default/index.less +5 -3
- package/package.json +2 -1
- package/dist/Navigator/components/Header/index.d.ts +0 -9
- package/dist/Navigator/components/Header/index.js +0 -16
- package/dist/Navigator/components/Menu/index.d.ts +0 -13
- package/dist/Navigator/components/Menu/index.js +0 -42
- package/dist/Navigator/components/MenuItem/index.d.ts +0 -21
- package/dist/Navigator/components/MenuItem/index.js +0 -36
- package/dist/Navigator/index.d.ts +0 -51
- package/dist/Navigator/index.js +0 -33
- package/dist/Navigator/style/bg.png +0 -0
- package/dist/Navigator/style/index.less +0 -159
- /package/dist/{Navigator → HighlightText}/style/index.d.ts +0 -0
- /package/dist/{Navigator → HighlightText}/style/index.js +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
+
import { App, Input, Tree } from "../../..";
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export default (function () {
|
|
10
|
+
var _React$useState = React.useState(''),
|
|
11
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
12
|
+
filterKey = _React$useState2[0],
|
|
13
|
+
setFilterKey = _React$useState2[1];
|
|
14
|
+
var _React$useState3 = React.useState([]),
|
|
15
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
16
|
+
expandedKeys = _React$useState4[0],
|
|
17
|
+
setExpandedKeys = _React$useState4[1];
|
|
18
|
+
return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Input, {
|
|
19
|
+
onChange: function onChange(v) {
|
|
20
|
+
setFilterKey(v.target.value);
|
|
21
|
+
}
|
|
22
|
+
}), /*#__PURE__*/React.createElement(Tree, {
|
|
23
|
+
size: "large",
|
|
24
|
+
showIcon: true,
|
|
25
|
+
icon: 'icon',
|
|
26
|
+
filterTreeNode: function filterTreeNode(node) {
|
|
27
|
+
var title = node.title;
|
|
28
|
+
if (typeof title === 'string') {
|
|
29
|
+
return title.includes(filterKey);
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
},
|
|
33
|
+
highlightKeywords: filterKey,
|
|
34
|
+
expandedKeys: expandedKeys,
|
|
35
|
+
onExpand: function onExpand(keys) {
|
|
36
|
+
setExpandedKeys(keys);
|
|
37
|
+
},
|
|
38
|
+
treeData: [{
|
|
39
|
+
title: 'Parent 1',
|
|
40
|
+
key: '0-0',
|
|
41
|
+
children: [{
|
|
42
|
+
title: 'parent 1-0',
|
|
43
|
+
key: '0-0-0',
|
|
44
|
+
children: [{
|
|
45
|
+
title: 'leaf',
|
|
46
|
+
key: '0-0-0-0',
|
|
47
|
+
isLeaf: true
|
|
48
|
+
}, {
|
|
49
|
+
title: 'leaf',
|
|
50
|
+
key: '0-0-0-1',
|
|
51
|
+
isLeaf: true
|
|
52
|
+
}]
|
|
53
|
+
}, {
|
|
54
|
+
title: 'parent 1-1',
|
|
55
|
+
key: '0-0-1',
|
|
56
|
+
children: [{
|
|
57
|
+
title: 'ssss',
|
|
58
|
+
key: '0-0-1-0',
|
|
59
|
+
disabled: true
|
|
60
|
+
}]
|
|
61
|
+
}]
|
|
62
|
+
}]
|
|
63
|
+
}));
|
|
64
|
+
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
.aldCheckboxFn(
|
|
2
|
-
@checkbox-inner-prefix-cls: ~'@{checkbox-prefix-cls}-inner';
|
|
1
|
+
.aldCheckboxFn() {
|
|
3
2
|
// 一般状态
|
|
4
|
-
|
|
3
|
+
.ald-tree-checkbox {
|
|
5
4
|
.reset-component();
|
|
6
5
|
|
|
7
6
|
position: relative;
|
|
@@ -22,11 +21,7 @@
|
|
|
22
21
|
animation: ald-checkbox-effect 0.36s ease-in-out;
|
|
23
22
|
animation-fill-mode: backwards;
|
|
24
23
|
content: '';
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
&:hover::after,
|
|
28
|
-
.@{checkbox-prefix-cls}-wrapper:hover &::after {
|
|
29
|
-
visibility: hidden;
|
|
24
|
+
border-color: var(--alias-colors-bg-selected-strong-default, #126fdd);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
&-inner {
|
|
@@ -38,7 +33,8 @@
|
|
|
38
33
|
height: @checkbox-size;
|
|
39
34
|
direction: ltr;
|
|
40
35
|
background-color: @checkbox-check-bg;
|
|
41
|
-
border: 1px solid
|
|
36
|
+
border: 1px solid
|
|
37
|
+
var(--alias-colors-border-accent-gray-subtle-default, #d1d5db);
|
|
42
38
|
border-radius: @checkbox-border-radius;
|
|
43
39
|
border-collapse: separate;
|
|
44
40
|
transition: all 0.3s;
|
|
@@ -54,7 +50,7 @@
|
|
|
54
50
|
display: table;
|
|
55
51
|
width: @check-width;
|
|
56
52
|
height: @check-height;
|
|
57
|
-
border: 2px solid
|
|
53
|
+
border: 2px solid;
|
|
58
54
|
border-top: 0;
|
|
59
55
|
border-left: 0;
|
|
60
56
|
transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
|
@@ -62,6 +58,21 @@
|
|
|
62
58
|
transition: all 0.1s @ease-in-back, opacity 0.1s;
|
|
63
59
|
content: ' ';
|
|
64
60
|
}
|
|
61
|
+
|
|
62
|
+
&:hover {
|
|
63
|
+
border-color: var(
|
|
64
|
+
--alias-colors-border-accent-gray-subtle-hover,
|
|
65
|
+
#9ca3af
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:active {
|
|
70
|
+
border-color: var(
|
|
71
|
+
--alias-colors-border-accent-gray-subtle-default,
|
|
72
|
+
#d1d5db
|
|
73
|
+
);
|
|
74
|
+
background-color: var(--alias-colors-bg-skeleton-strong, #f3f4f6);
|
|
75
|
+
}
|
|
65
76
|
}
|
|
66
77
|
|
|
67
78
|
&-input {
|
|
@@ -76,10 +87,10 @@
|
|
|
76
87
|
}
|
|
77
88
|
|
|
78
89
|
// 选中状态
|
|
79
|
-
|
|
90
|
+
.ald-tree-checkbox-checked .ald-tree-checkbox-inner::after {
|
|
80
91
|
position: absolute;
|
|
81
92
|
display: table;
|
|
82
|
-
border: 2px solid
|
|
93
|
+
border: 2px solid var(--alias-colors-icon-inverse-default, #fff);
|
|
83
94
|
border-top: 0;
|
|
84
95
|
border-left: 0;
|
|
85
96
|
transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
|
@@ -88,30 +99,31 @@
|
|
|
88
99
|
content: ' ';
|
|
89
100
|
}
|
|
90
101
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
background-color: #
|
|
102
|
+
.ald-tree-checkbox-checked {
|
|
103
|
+
.ald-tree-checkbox-inner {
|
|
104
|
+
background-color: var(--alias-colors-bg-selected-strong-default, #126fdd);
|
|
105
|
+
border-color: var(--alias-colors-bg-selected-strong-default, #126fdd);
|
|
94
106
|
}
|
|
95
107
|
}
|
|
96
108
|
|
|
97
|
-
|
|
109
|
+
.ald-tree-checkbox-disabled {
|
|
98
110
|
cursor: initial;
|
|
99
111
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
border-color:
|
|
112
|
+
&.ald-tree-checkbox-checked {
|
|
113
|
+
.ald-tree-checkbox-inner::after {
|
|
114
|
+
border-color: var(--alias-colors-icon-disabled, rgba(0, 0, 0, 0.25));
|
|
103
115
|
animation-name: none;
|
|
104
116
|
}
|
|
105
117
|
}
|
|
106
118
|
|
|
107
|
-
|
|
119
|
+
.ald-tree-checkbox-input {
|
|
108
120
|
cursor: initial;
|
|
109
121
|
pointer-events: none;
|
|
110
122
|
}
|
|
111
123
|
|
|
112
|
-
|
|
113
|
-
background-color:
|
|
114
|
-
|
|
124
|
+
.ald-tree-checkbox-inner {
|
|
125
|
+
background-color: var(--alias-colors-bg-disabled, rgba(0, 0, 0, 0.05));
|
|
126
|
+
border-color: var(--alias-colors-border-disabled, rgba(0, 0, 0, 0.1));
|
|
115
127
|
|
|
116
128
|
&::after {
|
|
117
129
|
border-color: @input-disabled-bg;
|
|
@@ -127,12 +139,12 @@
|
|
|
127
139
|
|
|
128
140
|
// Not show highlight border of checkbox when disabled
|
|
129
141
|
&:hover::after,
|
|
130
|
-
|
|
142
|
+
.ald-tree-checkbox-wrapper:hover &::after {
|
|
131
143
|
visibility: hidden;
|
|
132
144
|
}
|
|
133
145
|
}
|
|
134
146
|
|
|
135
|
-
|
|
147
|
+
.ald-tree-checkbox-wrapper {
|
|
136
148
|
.reset-component();
|
|
137
149
|
|
|
138
150
|
display: inline-flex;
|
|
@@ -147,7 +159,7 @@
|
|
|
147
159
|
content: '\a0';
|
|
148
160
|
}
|
|
149
161
|
|
|
150
|
-
|
|
162
|
+
&.ald-tree-checkbox-wrapper-disabled {
|
|
151
163
|
cursor: initial;
|
|
152
164
|
}
|
|
153
165
|
|
|
@@ -163,12 +175,12 @@
|
|
|
163
175
|
}
|
|
164
176
|
}
|
|
165
177
|
|
|
166
|
-
|
|
178
|
+
.ald-tree-checkbox + span {
|
|
167
179
|
padding-right: 8px;
|
|
168
180
|
padding-left: 8px;
|
|
169
181
|
}
|
|
170
182
|
|
|
171
|
-
|
|
183
|
+
.ald-tree-checkbox-group {
|
|
172
184
|
.reset-component();
|
|
173
185
|
|
|
174
186
|
display: inline-block;
|
|
@@ -187,11 +199,13 @@
|
|
|
187
199
|
}
|
|
188
200
|
|
|
189
201
|
// 半选状态
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
background-color:
|
|
202
|
+
.ald-tree-checkbox-indeterminate {
|
|
203
|
+
.ald-tree-checkbox-inner {
|
|
204
|
+
background-color: var(--alias-colors-bg-selected-strong-default, #126fdd);
|
|
205
|
+
border-color: var(--alias-colors-bg-selected-strong-default, #126fdd);
|
|
193
206
|
}
|
|
194
|
-
|
|
207
|
+
|
|
208
|
+
.ald-tree-checkbox-inner::after {
|
|
195
209
|
@indeterminate-width: @checkbox-size - 8px;
|
|
196
210
|
@indeterminate-height: @checkbox-size - 14px;
|
|
197
211
|
|
|
@@ -199,16 +213,23 @@
|
|
|
199
213
|
left: 50%;
|
|
200
214
|
width: @indeterminate-width;
|
|
201
215
|
height: @indeterminate-height;
|
|
202
|
-
background-color:
|
|
216
|
+
background-color: var(--alias-colors-icon-inverse-default, #fff);
|
|
203
217
|
border: 0;
|
|
204
218
|
transform: translate(-50%, -50%) scale(1);
|
|
205
219
|
opacity: 1;
|
|
206
220
|
content: ' ';
|
|
207
221
|
}
|
|
208
222
|
|
|
209
|
-
|
|
210
|
-
background-color:
|
|
211
|
-
border-color:
|
|
223
|
+
&.ald-tree-checkbox-disabled .ald-tree-checkbox-inner {
|
|
224
|
+
background-color: var(--alias-colors-bg-disabled, rgba(0, 0, 0, 0.05));
|
|
225
|
+
border-color: var(--alias-colors-bg-disabled, rgba(0, 0, 0, 0.05));
|
|
226
|
+
|
|
227
|
+
&::after {
|
|
228
|
+
background-color: var(
|
|
229
|
+
--alias-colors-icon-disabled,
|
|
230
|
+
rgba(0, 0, 0, 0.25)
|
|
231
|
+
);
|
|
232
|
+
}
|
|
212
233
|
}
|
|
213
234
|
}
|
|
214
235
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
@import '../../Checkbox/style/index.less';
|
|
3
|
+
@import '../../HighlightText/style/index.less';
|
|
3
4
|
@import './var.less';
|
|
4
5
|
@import './rtl.less';
|
|
5
6
|
@import './mixin.less';
|
|
@@ -26,9 +27,22 @@
|
|
|
26
27
|
padding: 3px 0;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
.ald-tree-treenode
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
.ald-tree-treenode {
|
|
31
|
+
&.ald-tree-treenode-draggable {
|
|
32
|
+
.ald-tree-draggable-icon {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
cursor: grab;
|
|
35
|
+
|
|
36
|
+
&:active {
|
|
37
|
+
cursor: grabbing;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.ald-tree-no-children {
|
|
44
|
+
.ald-tree-switcher {
|
|
45
|
+
display: none;
|
|
32
46
|
}
|
|
33
47
|
}
|
|
34
48
|
}
|
|
@@ -40,6 +54,10 @@
|
|
|
40
54
|
font-weight: 400;
|
|
41
55
|
color: var(--alias-colors-text-default, #1f2937);
|
|
42
56
|
|
|
57
|
+
&.ald-tree-node-disabled {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
43
61
|
.ald-tree-draggable-icon {
|
|
44
62
|
display: inline-flex;
|
|
45
63
|
align-items: center;
|
|
@@ -56,6 +74,10 @@
|
|
|
56
74
|
}
|
|
57
75
|
}
|
|
58
76
|
|
|
77
|
+
.ald-tree-checkbox {
|
|
78
|
+
margin: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
59
81
|
.ald-tree-node-content-wrapper {
|
|
60
82
|
padding: @tree-padding-default;
|
|
61
83
|
line-height: @tree-line-height-default;
|
|
@@ -82,7 +104,7 @@
|
|
|
82
104
|
|
|
83
105
|
.ald-tree-tab-leader {
|
|
84
106
|
flex: 1;
|
|
85
|
-
border-top: 1px dashed
|
|
107
|
+
border-top: 1px dashed var(--alias-colors-border-default);
|
|
86
108
|
height: 0;
|
|
87
109
|
margin: 0 4px;
|
|
88
110
|
}
|
|
@@ -90,7 +112,6 @@
|
|
|
90
112
|
|
|
91
113
|
&:hover {
|
|
92
114
|
background: var(--alias-colors-bg-interaction-hover, rgba(0, 0, 0, 0.05));
|
|
93
|
-
mix-blend-mode: multiply;
|
|
94
115
|
}
|
|
95
116
|
|
|
96
117
|
&.ald-tree-node-selected {
|
|
@@ -139,9 +160,9 @@
|
|
|
139
160
|
|
|
140
161
|
.ald-tree-treenode-switcher-open .ald-tree-switcher svg {
|
|
141
162
|
transition: transform 0.2s;
|
|
163
|
+
transform: rotate(90deg);
|
|
142
164
|
}
|
|
143
165
|
|
|
144
166
|
.ald-tree-treenode-switcher-close .ald-tree-switcher svg {
|
|
145
|
-
transform: rotate(-90deg);
|
|
146
167
|
transition: transform 0.2s;
|
|
147
168
|
}
|
|
@@ -85,8 +85,12 @@
|
|
|
85
85
|
&-disabled {
|
|
86
86
|
// >>> Title
|
|
87
87
|
.@{custom-tree-prefix-cls}-node-content-wrapper {
|
|
88
|
-
color:
|
|
89
|
-
cursor:
|
|
88
|
+
color: var(--alias-colors-text-default, #1f2937);
|
|
89
|
+
cursor: default;
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
font-style: normal;
|
|
92
|
+
font-weight: 400;
|
|
93
|
+
line-height: 20px;
|
|
90
94
|
|
|
91
95
|
&:hover {
|
|
92
96
|
background: transparent;
|
|
@@ -98,10 +102,10 @@
|
|
|
98
102
|
background: @tree-node-hover-bg;
|
|
99
103
|
}
|
|
100
104
|
|
|
101
|
-
&:not(&-disabled).filter-node .@{custom-tree-prefix-cls}-title {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
+
// &:not(&-disabled).filter-node .@{custom-tree-prefix-cls}-title {
|
|
106
|
+
// // font-weight: 500;
|
|
107
|
+
// // color: var(--alias-colors-text-danger);
|
|
108
|
+
// }
|
|
105
109
|
|
|
106
110
|
&-draggable {
|
|
107
111
|
.@{custom-tree-prefix-cls}-draggable-icon {
|
package/dist/Tree/style/var.less
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
@normal-color: #d9d9d9;
|
|
30
30
|
@border-radius-base: 2px;
|
|
31
31
|
@tree-node-selected-bg: @primary-2;
|
|
32
|
-
@checkbox-color:
|
|
32
|
+
@checkbox-color: var(--alias-colors-border-accent-gray-subtle-default, #d1d5db);
|
|
33
33
|
@checkbox-border-radius: @border-radius-sm;
|
|
34
34
|
@checkbox-check-bg: transparent;
|
|
35
35
|
@checkbox-border-width: @border-width-base;
|