@kdcloudjs/kdesign 1.1.0 → 1.1.3
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/CHANGELOG.md +63 -0
- package/dist/kdesign-complete.less +339 -310
- package/dist/kdesign.css +261 -207
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +50 -28
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +3 -3
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +4 -4
- package/es/avatar/style/token.less +13 -8
- package/es/base-data/base-data.js +5 -1
- package/es/base-data/style/index.css +8 -3
- package/es/base-data/style/index.less +8 -3
- package/es/base-data/style/token.less +7 -0
- package/es/button/style/token.less +7 -5
- package/es/card/style/token.less +8 -8
- package/es/carousel/style/index.css +4 -4
- package/es/carousel/style/token.less +10 -9
- package/es/checkbox/checkbox.js +3 -4
- package/es/checkbox/style/index.css +36 -33
- package/es/checkbox/style/index.less +25 -18
- package/es/checkbox/style/token.less +34 -35
- package/es/city-picker/style/token.less +7 -7
- package/es/date-picker/style/index.css +8 -8
- package/es/date-picker/style/index.less +8 -8
- package/es/date-picker/style/token.less +3 -21
- package/es/form/Field.js +4 -2
- package/es/form/style/index.css +1 -2
- package/es/form/style/index.less +1 -2
- package/es/form/style/token.less +7 -12
- package/es/icon/interface.js +1 -1
- package/es/image/style/token.less +0 -13
- package/es/input/style/index.css +53 -50
- package/es/input/style/index.less +5 -4
- package/es/input/style/mixin.less +1 -0
- package/es/input/style/token.less +23 -20
- package/es/layout/style/index.css +1 -1
- package/es/layout/style/index.less +1 -1
- package/es/layout/style/token.less +5 -5
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +37 -31
- package/es/menu/style/index.less +14 -0
- package/es/menu/style/mixin.less +1 -1
- package/es/menu/style/token.less +13 -16
- package/es/message/content.js +7 -3
- package/es/message/style/index.css +30 -13
- package/es/message/style/index.less +22 -9
- package/es/message/style/token.less +29 -5
- package/es/pagination/pagination.js +4 -4
- package/es/pagination/style/index.css +70 -55
- package/es/pagination/style/index.less +61 -43
- package/es/pagination/style/token.less +9 -7
- package/es/progress/style/token.less +0 -8
- package/es/radio/radio.js +21 -8
- package/es/radio/style/token.less +0 -16
- package/es/select/style/index.css +2 -2
- package/es/select/style/token.less +2 -2
- package/es/stepper/style/index.css +1 -0
- package/es/stepper/style/index.less +1 -0
- package/es/stepper/style/token.less +8 -10
- package/es/style/icon/kdicon.css +224 -0
- package/es/style/icon/kdicon.woff +0 -0
- package/es/switch/style/token.less +0 -6
- package/es/timeline/style/token.less +0 -8
- package/es/tree/style/index.css +6 -3
- package/es/tree/style/index.less +4 -0
- package/es/tree/style/token.less +2 -2
- package/lib/_utils/usePopper.js +4 -4
- package/lib/avatar/style/token.less +13 -8
- package/lib/base-data/base-data.js +5 -1
- package/lib/base-data/style/index.css +8 -3
- package/lib/base-data/style/index.less +8 -3
- package/lib/base-data/style/token.less +7 -0
- package/lib/button/style/token.less +7 -5
- package/lib/card/style/token.less +8 -8
- package/lib/carousel/style/index.css +4 -4
- package/lib/carousel/style/token.less +10 -9
- package/lib/checkbox/checkbox.js +3 -4
- package/lib/checkbox/style/index.css +36 -33
- package/lib/checkbox/style/index.less +25 -18
- package/lib/checkbox/style/token.less +34 -35
- package/lib/city-picker/style/token.less +7 -7
- package/lib/date-picker/style/index.css +8 -8
- package/lib/date-picker/style/index.less +8 -8
- package/lib/date-picker/style/token.less +3 -21
- package/lib/form/Field.js +4 -2
- package/lib/form/style/index.css +1 -2
- package/lib/form/style/index.less +1 -2
- package/lib/form/style/token.less +7 -12
- package/lib/icon/interface.js +1 -1
- package/lib/image/style/token.less +0 -13
- package/lib/input/style/index.css +53 -50
- package/lib/input/style/index.less +5 -4
- package/lib/input/style/mixin.less +1 -0
- package/lib/input/style/token.less +23 -20
- package/lib/layout/style/index.css +1 -1
- package/lib/layout/style/index.less +1 -1
- package/lib/layout/style/token.less +5 -5
- package/lib/menu/menu.js +1 -1
- package/lib/menu/style/index.css +37 -31
- package/lib/menu/style/index.less +14 -0
- package/lib/menu/style/mixin.less +1 -1
- package/lib/menu/style/token.less +13 -16
- package/lib/message/content.js +7 -3
- package/lib/message/style/index.css +30 -13
- package/lib/message/style/index.less +22 -9
- package/lib/message/style/token.less +29 -5
- package/lib/pagination/pagination.js +4 -3
- package/lib/pagination/style/index.css +70 -55
- package/lib/pagination/style/index.less +61 -43
- package/lib/pagination/style/token.less +9 -7
- package/lib/progress/style/token.less +0 -8
- package/lib/radio/radio.js +21 -8
- package/lib/radio/style/token.less +0 -16
- package/lib/select/style/index.css +2 -2
- package/lib/select/style/token.less +2 -2
- package/lib/stepper/style/index.css +1 -0
- package/lib/stepper/style/index.less +1 -0
- package/lib/stepper/style/token.less +8 -10
- package/lib/style/icon/kdicon.css +224 -0
- package/lib/style/icon/kdicon.woff +0 -0
- package/lib/switch/style/token.less +0 -6
- package/lib/timeline/style/token.less +0 -8
- package/lib/tree/style/index.css +6 -3
- package/lib/tree/style/index.less +4 -0
- package/lib/tree/style/token.less +2 -2
- package/package.json +1 -1
|
@@ -5,24 +5,26 @@
|
|
|
5
5
|
// color
|
|
6
6
|
@pagination-text-color: var(~'@{pagination-custom-prefix}-text-color', @color-text-secondary);
|
|
7
7
|
@pagination-hover-color: var(~'@{pagination-custom-prefix}-color-text-hover', @color-theme);
|
|
8
|
-
@pagination-disabled-color: var(~'@{pagination-custom-prefix}-color-text-disabled', @color-border-disabled);
|
|
9
8
|
@pagination-icon-color: var(~'@{pagination-custom-prefix}-button-color', @color-text-secondary);
|
|
10
|
-
@pagination-
|
|
9
|
+
@pagination-disabled-color: var(~'@{pagination-custom-prefix}-color-disabled', @color-disabled);
|
|
11
10
|
@pagination-border-color: var(~'@{pagination-custom-prefix}-color-border', @color-border-strong);
|
|
12
|
-
@pagination-border-hover-color: var(~'@{pagination-custom-prefix}-color-border-hover', @color-theme);
|
|
11
|
+
@pagination-border-hover-color: var(~'@{pagination-custom-prefix}-color-border-hover', @color-theme-7);
|
|
13
12
|
@pagination-border-disabled-color: var(~'@{pagination-custom-prefix}-color-border-disabled', @color-border-strong);
|
|
14
13
|
@pagination-button-disabled-background-color: var(~'@{pagination-custom-prefix}-button-color-background-disabled', @color-background-contain-disabled);
|
|
15
14
|
|
|
15
|
+
// font
|
|
16
|
+
@pagination-font-size: var(~'@{pagination-custom-prefix}-font-size', @font-size-small);
|
|
17
|
+
@pagination-icon-size: var(~'@{pagination-custom-prefix}-icon-font-size', @font-size-large);
|
|
18
|
+
|
|
19
|
+
|
|
16
20
|
// sizing
|
|
17
21
|
@pagination-size: var(~'@{pagination-custom-prefix}-sizing-square', 24px);
|
|
18
|
-
@pagination-nicety-size: var(~'@{pagination-custom-prefix}-nicety-sizing-square', 30px);
|
|
19
22
|
@pagination-border-size: var(~'@{pagination-custom-prefix}-sizing-border-width', 1px);
|
|
20
23
|
|
|
21
24
|
// spacing
|
|
22
25
|
@pagination-button-spacing: var(~'@{pagination-custom-prefix}-button-spacing', 4px);
|
|
26
|
+
@pagination-dropdown-item-spacing-horizontal: var(~'@{pagination-custom-prefix}-dropdown-item-spacing-padding-horizontal', 24px);
|
|
27
|
+
|
|
23
28
|
|
|
24
|
-
// font
|
|
25
|
-
@pagination-font-size: var(~'@{pagination-custom-prefix}-font-size', @font-size-small);
|
|
26
|
-
@pagination-icon-size: var(~'@{pagination-custom-prefix}-icon-font-size', @font-size-large);
|
|
27
29
|
|
|
28
30
|
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
@import '../../style/themes/token.less';
|
|
2
2
|
@progress-prefix: '--@{kd-prefix}-c-progress';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
@progress-transition-fn: cubic-bezier(0.66, 0, 0.34, 1);
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
5
|
// color
|
|
13
6
|
@progress-remaining-color: var(~'@{progress-prefix}-color-remaining', #e5e5e5);//背景色
|
|
14
7
|
@progress-default-color: var(~'@{progress-prefix}-color-default', #5582f3);//进度条 默认色
|
|
@@ -28,7 +21,6 @@
|
|
|
28
21
|
@progress-border-radius: var(~'@{progress-prefix}-radius-border', 100px);//线性进度条圆角
|
|
29
22
|
|
|
30
23
|
|
|
31
|
-
|
|
32
24
|
// sizing
|
|
33
25
|
@progress-line-stroke-width: var(~'@{progress-prefix}-line-stroke-sizing-width', 8px);
|
|
34
26
|
@progress-circle-stroke-width: var(~'@{progress-prefix}-circle-stroke-sizing-width', 4px);
|
package/lib/radio/radio.js
CHANGED
|
@@ -110,14 +110,27 @@ var InternalRadio = function InternalRadio(props, ref) {
|
|
|
110
110
|
|
|
111
111
|
var classString = (0, _classnames.default)((_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(radioPrefixCls), true), (0, _defineProperty2.default)(_classNames, "".concat(radioPrefixCls, "-disabled"), radioProps.disabled), (0, _defineProperty2.default)(_classNames, "".concat(radioPrefixCls, "-checked"), context ? radioProps.checked : isChecked), _classNames), className); // 单选包裹元素class名称
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
113
|
+
var handleRepeatClick = function handleRepeatClick(e) {
|
|
114
|
+
var element = e.target;
|
|
115
|
+
|
|
116
|
+
if (element.tagName !== 'INPUT') {
|
|
117
|
+
e.stopPropagation();
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
return (
|
|
122
|
+
/*#__PURE__*/
|
|
123
|
+
// eslint-disable-next-line
|
|
124
|
+
React.createElement("label", {
|
|
125
|
+
className: classString,
|
|
126
|
+
style: style,
|
|
127
|
+
ref: mergedRef,
|
|
128
|
+
onClick: handleRepeatClick
|
|
129
|
+
}, /*#__PURE__*/React.createElement("input", (0, _extends2.default)({
|
|
130
|
+
type: "radio",
|
|
131
|
+
className: "".concat(radioPrefixCls, "-input")
|
|
132
|
+
}, radioProps)), children !== undefined ? /*#__PURE__*/React.createElement("span", null, children) : null)
|
|
133
|
+
);
|
|
121
134
|
};
|
|
122
135
|
|
|
123
136
|
var Radio = /*#__PURE__*/React.forwardRef(InternalRadio);
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
@import '../../style/themes/token.less';
|
|
2
2
|
@import '../../style/mixins/index';
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
@radio-prefix: '--@{kd-prefix}-c-radio';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
5
|
@radio-transition-fn: cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
7
|
// color
|
|
18
8
|
@radio-font-color: var(~'@{radio-prefix}-color-font', @color-text-primary);//单选项字体颜色
|
|
19
9
|
@radio-color-theme: var(~'@{radio-prefix}-color-theme', @color-theme);//悬停/选中跟随主题色
|
|
@@ -26,19 +16,13 @@
|
|
|
26
16
|
// font
|
|
27
17
|
@radio-font-size: var(~'@{radio-prefix}-font-size', @font-size-small);//单选项字体大小
|
|
28
18
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
19
|
//radius
|
|
33
20
|
@radio-border-width: var(~'@{radio-prefix}-radius-border-width',1px);
|
|
34
21
|
|
|
35
|
-
|
|
36
|
-
|
|
37
22
|
// sizing
|
|
38
23
|
@radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',13px);//单选图标大小
|
|
39
24
|
@radio-square-height: var(~'@{radio-prefix}-square-sizing-height',32px);//单选框 高度
|
|
40
25
|
|
|
41
|
-
|
|
42
26
|
// spacing
|
|
43
27
|
@radio-margin-right: var(~'@{radio-prefix}-spacing-margin-right',8px);
|
|
44
28
|
@radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',0px); //内间距 纵向
|
|
@@ -413,8 +413,8 @@
|
|
|
413
413
|
background-color: var(--kd-c-select-color-background, var(--kd-g-color-hover, #f5f5f5));
|
|
414
414
|
}
|
|
415
415
|
.kd-select-item-option-selected:not(.kd-select-item-option-disabled) {
|
|
416
|
-
color: var(--kd-c-select-item-color-text-selected, var(--kd-g-color-
|
|
417
|
-
background-color: var(--kd-c-select-color-background-selected, #
|
|
416
|
+
color: var(--kd-c-select-item-color-text-selected, var(--kd-g-color-theme, #5582f3));
|
|
417
|
+
background-color: var(--kd-c-select-color-background-selected, var(--kd-g-color-theme-3, #e3eeff));
|
|
418
418
|
}
|
|
419
419
|
.kd-select-item-option-disabled {
|
|
420
420
|
color: var(--kd-c-select-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
@select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
|
|
8
8
|
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', @color-background-contain-disabled);
|
|
9
9
|
@select-item-active-bg: var(~'@{select-custom-prefix}-color-background', @color-hover);
|
|
10
|
-
@select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected',
|
|
10
|
+
@select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
|
|
11
11
|
@select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
|
|
12
12
|
@select-g-color-border-foucs: var(~'@{select-custom-prefix}-color-border-foucs', @color-theme);
|
|
13
13
|
@select-g-color-border-hover: var(~'@{select-custom-prefix}-color-border-hover', @color-theme);
|
|
14
14
|
@select-border-g-color-border: var(~'@{select-custom-prefix}-border-color-border', @color-border-strong);
|
|
15
15
|
@select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
|
|
16
|
-
@select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-
|
|
16
|
+
@select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-theme);
|
|
17
17
|
@select-font-color: var(~'@{select-custom-prefix}-footer-color-text', @color-text-primary);
|
|
18
18
|
@select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', @color-text-link);
|
|
19
19
|
@select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@import "../../style/themes/token.less";
|
|
2
|
-
|
|
3
2
|
@stepper-prefix: '--@{kd-prefix}-c-stepper';
|
|
4
3
|
|
|
5
|
-
// shadow
|
|
6
4
|
// color
|
|
7
5
|
@stepper-input-color: var(~'@{stepper-prefix}-input-color', @color-text-primary);
|
|
8
6
|
@stepper-icon-color: var(~'@{stepper-prefix}-icon-color', @color-text-secondary);
|
|
@@ -10,6 +8,14 @@
|
|
|
10
8
|
@stepper-color-border-strong: var(~'@{stepper-prefix}-color-border-strong', @color-border-strong);
|
|
11
9
|
@stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', #f6f7f9);
|
|
12
10
|
|
|
11
|
+
// font
|
|
12
|
+
@stepper-input-font-size: var(~'@{stepper-prefix}-input-font-size', 12px);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// motion
|
|
16
|
+
@stepper-motion-duration: var(~'@{stepper-prefix}-motion-duration', @duration-promptly);
|
|
17
|
+
|
|
18
|
+
|
|
13
19
|
// sizing
|
|
14
20
|
@stepper-input-small-sizing-height: var(~'@{stepper-prefix}-input-small-sizing-height', 20px);
|
|
15
21
|
@stepper-input-middle-sizing-height: var(~'@{stepper-prefix}-input-middle-sizing-height', 28px);
|
|
@@ -18,11 +24,3 @@
|
|
|
18
24
|
// spacing
|
|
19
25
|
@stepper-input-spacing-padding-horizontal: var(~'@{stepper-prefix}-input-spacing-padding-horizontal', 9px);
|
|
20
26
|
|
|
21
|
-
// motion
|
|
22
|
-
@stepper-motion-duration: var(~'@{stepper-prefix}-motion-duration', @duration-promptly);
|
|
23
|
-
|
|
24
|
-
// font
|
|
25
|
-
// radius
|
|
26
|
-
// line-height
|
|
27
|
-
// z-index
|
|
28
|
-
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "kdicon";
|
|
3
|
+
src: url("kdicon.woff?t=1648879081136") format("woff");
|
|
4
|
+
}
|
|
5
|
+
.kdicon {
|
|
6
|
+
font-family: 'kdicon' !important;
|
|
7
|
+
font-style:normal;
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
}
|
|
11
|
+
.kdicon-add-child:before { content: "\e6c0"; }
|
|
12
|
+
.kdicon-add-indentation:before { content: "\e6a7"; }
|
|
13
|
+
.kdicon-add-line:before { content: "\e6c5"; }
|
|
14
|
+
.kdicon-add-solid:before { content: "\e643"; }
|
|
15
|
+
.kdicon-add-word:before { content: "\e6ed"; }
|
|
16
|
+
.kdicon-add:before { content: "\e628"; }
|
|
17
|
+
.kdicon-address:before { content: "\e6cc"; }
|
|
18
|
+
.kdicon-align-center:before { content: "\e69a"; }
|
|
19
|
+
.kdicon-align-left:before { content: "\e6af"; }
|
|
20
|
+
.kdicon-align-right:before { content: "\e67a"; }
|
|
21
|
+
.kdicon-all-border:before { content: "\e677"; }
|
|
22
|
+
.kdicon-allowance-workbench:before { content: "\e714"; }
|
|
23
|
+
.kdicon-analysis:before { content: "\e6ce"; }
|
|
24
|
+
.kdicon-arrow-down-solid:before { content: "\e656"; }
|
|
25
|
+
.kdicon-arrow-down:before { content: "\e627"; }
|
|
26
|
+
.kdicon-arrow-left-solid:before { content: "\e657"; }
|
|
27
|
+
.kdicon-arrow-left:before { content: "\e63f"; }
|
|
28
|
+
.kdicon-arrow-right-solid:before { content: "\e655"; }
|
|
29
|
+
.kdicon-arrow-right:before { content: "\e62c"; }
|
|
30
|
+
.kdicon-arrow-up-solid:before { content: "\e654"; }
|
|
31
|
+
.kdicon-arrow-up:before { content: "\e62b"; }
|
|
32
|
+
.kdicon-arrow:before { content: "\e69c"; }
|
|
33
|
+
.kdicon-attachment:before { content: "\e694"; }
|
|
34
|
+
.kdicon-avatar-default:before { content: "\e717"; }
|
|
35
|
+
.kdicon-avatar-head-default:before { content: "\e718"; }
|
|
36
|
+
.kdicon-avatar-solid:before { content: "\e711"; }
|
|
37
|
+
.kdicon-back:before { content: "\e6cd"; }
|
|
38
|
+
.kdicon-bankcard:before { content: "\e705"; }
|
|
39
|
+
.kdicon-bellOutlined:before { content: "\e71a"; }
|
|
40
|
+
.kdicon-bold-solid:before { content: "\e668"; }
|
|
41
|
+
.kdicon-border:before { content: "\e6f9"; }
|
|
42
|
+
.kdicon-bottom-border:before { content: "\e704"; }
|
|
43
|
+
.kdicon-business-type:before { content: "\e716"; }
|
|
44
|
+
.kdicon-cancel:before { content: "\e68f"; }
|
|
45
|
+
.kdicon-cell:before { content: "\e692"; }
|
|
46
|
+
.kdicon-change:before { content: "\e6e2"; }
|
|
47
|
+
.kdicon-chart-display:before { content: "\e710"; }
|
|
48
|
+
.kdicon-chart:before { content: "\e6d0"; }
|
|
49
|
+
.kdicon-classify:before { content: "\e6d4"; }
|
|
50
|
+
.kdicon-close-bold:before { content: "\e647"; }
|
|
51
|
+
.kdicon-close-full-screen:before { content: "\e679"; }
|
|
52
|
+
.kdicon-close-solid:before { content: "\e644"; }
|
|
53
|
+
.kdicon-close:before { content: "\e62f"; }
|
|
54
|
+
.kdicon-cn:before { content: "\e6b5"; }
|
|
55
|
+
.kdicon-code:before { content: "\e6ca"; }
|
|
56
|
+
.kdicon-collect:before { content: "\e6ec"; }
|
|
57
|
+
.kdicon-comment:before { content: "\e6bc"; }
|
|
58
|
+
.kdicon-communication-solid:before { content: "\e65e"; }
|
|
59
|
+
.kdicon-contract:before { content: "\e69f"; }
|
|
60
|
+
.kdicon-cooperation:before { content: "\e6fb"; }
|
|
61
|
+
.kdicon-copy-code:before { content: "\e6e1"; }
|
|
62
|
+
.kdicon-copy:before { content: "\e678"; }
|
|
63
|
+
.kdicon-counterclockwise:before { content: "\e6e5"; }
|
|
64
|
+
.kdicon-customize:before { content: "\e707"; }
|
|
65
|
+
.kdicon-date-selection:before { content: "\e70f"; }
|
|
66
|
+
.kdicon-date:before { content: "\e6eb"; }
|
|
67
|
+
.kdicon-delete-indentation:before { content: "\e697"; }
|
|
68
|
+
.kdicon-delete-line:before { content: "\e68c"; }
|
|
69
|
+
.kdicon-delete-solid:before { content: "\e667"; }
|
|
70
|
+
.kdicon-delete:before { content: "\e6ee"; }
|
|
71
|
+
.kdicon-detail:before { content: "\e6c4"; }
|
|
72
|
+
.kdicon-detect:before { content: "\e68e"; }
|
|
73
|
+
.kdicon-division-solid:before { content: "\e65a"; }
|
|
74
|
+
.kdicon-double-arrow-left:before { content: "\e64a"; }
|
|
75
|
+
.kdicon-double-arrow-right:before { content: "\e649"; }
|
|
76
|
+
.kdicon-download:before { content: "\e70a"; }
|
|
77
|
+
.kdicon-edit-border:before { content: "\e6c8"; }
|
|
78
|
+
.kdicon-edit-view:before { content: "\e6c7"; }
|
|
79
|
+
.kdicon-edit:before { content: "\e6a6"; }
|
|
80
|
+
.kdicon-education:before { content: "\e69d"; }
|
|
81
|
+
.kdicon-eliminate-solid:before { content: "\e659"; }
|
|
82
|
+
.kdicon-en:before { content: "\e6b6"; }
|
|
83
|
+
.kdicon-enlarge:before { content: "\e6d5"; }
|
|
84
|
+
.kdicon-equal:before { content: "\e6a3"; }
|
|
85
|
+
.kdicon-exclamatory:before { content: "\e64e"; }
|
|
86
|
+
.kdicon-expand:before { content: "\e651"; }
|
|
87
|
+
.kdicon-experience:before { content: "\e6ff"; }
|
|
88
|
+
.kdicon-fail:before { content: "\e6a5"; }
|
|
89
|
+
.kdicon-feedback:before { content: "\e6d6"; }
|
|
90
|
+
.kdicon-female:before { content: "\e684"; }
|
|
91
|
+
.kdicon-filter-solid:before { content: "\e66a"; }
|
|
92
|
+
.kdicon-filter-switch:before { content: "\e6b1"; }
|
|
93
|
+
.kdicon-filter:before { content: "\e6a0"; }
|
|
94
|
+
.kdicon-finish:before { content: "\e6dc"; }
|
|
95
|
+
.kdicon-first:before { content: "\e630"; }
|
|
96
|
+
.kdicon-fixed-shrink:before { content: "\e693"; }
|
|
97
|
+
.kdicon-fixed-solid:before { content: "\e65f"; }
|
|
98
|
+
.kdicon-fixed-window:before { content: "\e6d1"; }
|
|
99
|
+
.kdicon-fixed:before { content: "\e6e3"; }
|
|
100
|
+
.kdicon-foldmenu:before { content: "\e70e"; }
|
|
101
|
+
.kdicon-font-background-solid:before { content: "\e673"; }
|
|
102
|
+
.kdicon-font-color-solid:before { content: "\e674"; }
|
|
103
|
+
.kdicon-forbid:before { content: "\e69b"; }
|
|
104
|
+
.kdicon-git:before { content: "\e6c1"; }
|
|
105
|
+
.kdicon-graffiti:before { content: "\e6fe"; }
|
|
106
|
+
.kdicon-greater-equal:before { content: "\e6d7"; }
|
|
107
|
+
.kdicon-have-attachment:before { content: "\e6a8"; }
|
|
108
|
+
.kdicon-hide:before { content: "\e6a9"; }
|
|
109
|
+
.kdicon-hyperlink:before { content: "\e6c9"; }
|
|
110
|
+
.kdicon-image:before { content: "\e687"; }
|
|
111
|
+
.kdicon-import:before { content: "\e6cb"; }
|
|
112
|
+
.kdicon-international:before { content: "\e719"; }
|
|
113
|
+
.kdicon-job-info:before { content: "\e68d"; }
|
|
114
|
+
.kdicon-last:before { content: "\e631"; }
|
|
115
|
+
.kdicon-left-border:before { content: "\e708"; }
|
|
116
|
+
.kdicon-left-extension:before { content: "\e6ae"; }
|
|
117
|
+
.kdicon-left-unfold-solid:before { content: "\e675"; }
|
|
118
|
+
.kdicon-left-unfold:before { content: "\e709"; }
|
|
119
|
+
.kdicon-like:before { content: "\e67f"; }
|
|
120
|
+
.kdicon-list:before { content: "\e6e6"; }
|
|
121
|
+
.kdicon-little-k:before { content: "\e700"; }
|
|
122
|
+
.kdicon-loadding-circle:before { content: "\e645"; }
|
|
123
|
+
.kdicon-loadding:before { content: "\e62d"; }
|
|
124
|
+
.kdicon-location-solid:before { content: "\e640"; }
|
|
125
|
+
.kdicon-location:before { content: "\e695"; }
|
|
126
|
+
.kdicon-lock-solid:before { content: "\e66b"; }
|
|
127
|
+
.kdicon-lock:before { content: "\e68b"; }
|
|
128
|
+
.kdicon-male:before { content: "\e683"; }
|
|
129
|
+
.kdicon-material:before { content: "\e6db"; }
|
|
130
|
+
.kdicon-medical-report:before { content: "\e703"; }
|
|
131
|
+
.kdicon-menu:before { content: "\e6d8"; }
|
|
132
|
+
.kdicon-merge-cell:before { content: "\e6f3"; }
|
|
133
|
+
.kdicon-more-info-solid:before { content: "\e660"; }
|
|
134
|
+
.kdicon-more-info:before { content: "\e6e4"; }
|
|
135
|
+
.kdicon-more-item:before { content: "\e6f4"; }
|
|
136
|
+
.kdicon-more:before { content: "\e6a1"; }
|
|
137
|
+
.kdicon-mosaic-solid:before { content: "\e663"; }
|
|
138
|
+
.kdicon-multiply:before { content: "\e65b"; }
|
|
139
|
+
.kdicon-my-receipt:before { content: "\e715"; }
|
|
140
|
+
.kdicon-no-border:before { content: "\e6f8"; }
|
|
141
|
+
.kdicon-not-equal:before { content: "\e6dd"; }
|
|
142
|
+
.kdicon-notice:before { content: "\e658"; }
|
|
143
|
+
.kdicon-oblique-solid:before { content: "\e66e"; }
|
|
144
|
+
.kdicon-operating-element:before { content: "\e6a4"; }
|
|
145
|
+
.kdicon-order-facet:before { content: "\e713"; }
|
|
146
|
+
.kdicon-order:before { content: "\e6d2"; }
|
|
147
|
+
.kdicon-ordered-list:before { content: "\e6fa"; }
|
|
148
|
+
.kdicon-person-solid:before { content: "\e669"; }
|
|
149
|
+
.kdicon-phone:before { content: "\e6d3"; }
|
|
150
|
+
.kdicon-platform:before { content: "\e6f1"; }
|
|
151
|
+
.kdicon-preview-view:before { content: "\e6ba"; }
|
|
152
|
+
.kdicon-preview:before { content: "\e6ac"; }
|
|
153
|
+
.kdicon-print:before { content: "\e690"; }
|
|
154
|
+
.kdicon-processing-solid:before { content: "\e665"; }
|
|
155
|
+
.kdicon-project:before { content: "\e681"; }
|
|
156
|
+
.kdicon-push-down:before { content: "\e702"; }
|
|
157
|
+
.kdicon-put-bottom:before { content: "\e6b4"; }
|
|
158
|
+
.kdicon-put-off:before { content: "\e685"; }
|
|
159
|
+
.kdicon-put-on:before { content: "\e6bd"; }
|
|
160
|
+
.kdicon-put-top:before { content: "\e6b3"; }
|
|
161
|
+
.kdicon-qrcode:before { content: "\e6df"; }
|
|
162
|
+
.kdicon-qualification-info:before { content: "\e6b2"; }
|
|
163
|
+
.kdicon-quit:before { content: "\e6fc"; }
|
|
164
|
+
.kdicon-quote-solid:before { content: "\e66d"; }
|
|
165
|
+
.kdicon-reduce:before { content: "\e696"; }
|
|
166
|
+
.kdicon-reduction:before { content: "\e6f2"; }
|
|
167
|
+
.kdicon-refresh-solid:before { content: "\e642"; }
|
|
168
|
+
.kdicon-refresh:before { content: "\e629"; }
|
|
169
|
+
.kdicon-report-form:before { content: "\e712"; }
|
|
170
|
+
.kdicon-reset:before { content: "\e6b9"; }
|
|
171
|
+
.kdicon-resign-report:before { content: "\e699"; }
|
|
172
|
+
.kdicon-return:before { content: "\e6e0"; }
|
|
173
|
+
.kdicon-right-bold:before { content: "\e648"; }
|
|
174
|
+
.kdicon-right-border:before { content: "\e67c"; }
|
|
175
|
+
.kdicon-right-extension:before { content: "\e6aa"; }
|
|
176
|
+
.kdicon-right-solid:before { content: "\e641"; }
|
|
177
|
+
.kdicon-right-unfold-solid:before { content: "\e672"; }
|
|
178
|
+
.kdicon-right-unfold:before { content: "\e6ab"; }
|
|
179
|
+
.kdicon-right:before { content: "\e62e"; }
|
|
180
|
+
.kdicon-rough-border:before { content: "\e6de"; }
|
|
181
|
+
.kdicon-save:before { content: "\e6c2"; }
|
|
182
|
+
.kdicon-scanning:before { content: "\e67d"; }
|
|
183
|
+
.kdicon-search-border:before { content: "\e6da"; }
|
|
184
|
+
.kdicon-search:before { content: "\e62a"; }
|
|
185
|
+
.kdicon-setting:before { content: "\e652"; }
|
|
186
|
+
.kdicon-share:before { content: "\e6cf"; }
|
|
187
|
+
.kdicon-shoppingcart:before { content: "\e6bf"; }
|
|
188
|
+
.kdicon-shrink:before { content: "\e6fd"; }
|
|
189
|
+
.kdicon-shutdown:before { content: "\e686"; }
|
|
190
|
+
.kdicon-spin:before { content: "\e6f7"; }
|
|
191
|
+
.kdicon-split:before { content: "\e6c3"; }
|
|
192
|
+
.kdicon-star:before { content: "\e653"; }
|
|
193
|
+
.kdicon-stop:before { content: "\e691"; }
|
|
194
|
+
.kdicon-strike-solid:before { content: "\e664"; }
|
|
195
|
+
.kdicon-sun-solid:before { content: "\e670"; }
|
|
196
|
+
.kdicon-switch-down:before { content: "\e698"; }
|
|
197
|
+
.kdicon-switch-up:before { content: "\e680"; }
|
|
198
|
+
.kdicon-switch:before { content: "\e6e7"; }
|
|
199
|
+
.kdicon-table-setting:before { content: "\e6c6"; }
|
|
200
|
+
.kdicon-task-process:before { content: "\e6ea"; }
|
|
201
|
+
.kdicon-timezone-solid:before { content: "\e662"; }
|
|
202
|
+
.kdicon-tips-solid:before { content: "\e66c"; }
|
|
203
|
+
.kdicon-tips:before { content: "\e650"; }
|
|
204
|
+
.kdicon-title-solid:before { content: "\e65c"; }
|
|
205
|
+
.kdicon-top-border:before { content: "\e6ef"; }
|
|
206
|
+
.kdicon-two-window:before { content: "\e6f6"; }
|
|
207
|
+
.kdicon-underline-solid:before { content: "\e671"; }
|
|
208
|
+
.kdicon-unfold-all:before { content: "\e6ad"; }
|
|
209
|
+
.kdicon-unfold:before { content: "\e6bb"; }
|
|
210
|
+
.kdicon-unfoldmenu:before { content: "\e70d"; }
|
|
211
|
+
.kdicon-unlock-solid:before { content: "\e666"; }
|
|
212
|
+
.kdicon-unlock:before { content: "\e69e"; }
|
|
213
|
+
.kdicon-upload-cloud:before { content: "\e632"; }
|
|
214
|
+
.kdicon-upload:before { content: "\e70b"; }
|
|
215
|
+
.kdicon-user-info:before { content: "\e682"; }
|
|
216
|
+
.kdicon-vertical-center:before { content: "\e6f5"; }
|
|
217
|
+
.kdicon-voice:before { content: "\e6d9"; }
|
|
218
|
+
.kdicon-waiting:before { content: "\e64b"; }
|
|
219
|
+
.kdicon-warning-solid:before { content: "\e64c"; }
|
|
220
|
+
.kdicon-warning:before { content: "\e64d"; }
|
|
221
|
+
.kdicon-workbench:before { content: "\e64f"; }
|
|
222
|
+
.kdicon-wrap:before { content: "\e6b0"; }
|
|
223
|
+
.kdicon-yunzhijia:before { content: "\e706"; }
|
|
224
|
+
.kdicon-zoom:before { content: "\e70c"; }
|
|
Binary file
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
@import '../../style/themes/token.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
@timeline-prefix: '--@{kd-prefix}-c-timeline';
|
|
6
|
-
|
|
7
|
-
|
|
8
4
|
@timeline-gap: 8px;
|
|
9
5
|
|
|
10
6
|
// @timeline-dot-size: var(~'@{timeline-prefix}-dot-sizing',9px);
|
|
@@ -12,10 +8,6 @@
|
|
|
12
8
|
|
|
13
9
|
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
11
|
// color
|
|
20
12
|
@timeline-finished-color: var(~'@{timeline-prefix}-finished-color',@color-theme);
|
|
21
13
|
@timeline-error-color: var(~'@{timeline-prefix}-error-color',@color-error);
|
package/lib/tree/style/index.css
CHANGED
|
@@ -227,11 +227,14 @@
|
|
|
227
227
|
margin-left: 6px;
|
|
228
228
|
}
|
|
229
229
|
.kd-tree-node-selected {
|
|
230
|
-
background-color: var(--kd-c-tree-node-color-backgroung-checked, #
|
|
231
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
230
|
+
background-color: var(--kd-c-tree-node-color-backgroung-checked, var(--kd-g-color-theme-3, #e3eeff)) !important;
|
|
231
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
232
232
|
}
|
|
233
233
|
.kd-tree-node-selected .kd-tree-node-title {
|
|
234
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
234
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
|
+
}
|
|
236
|
+
.kd-tree-node-selected .kd-tree-node-icon {
|
|
237
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
238
|
}
|
|
236
239
|
.kd-tree-node-draggabled {
|
|
237
240
|
display: -webkit-box;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
@tree-node-disabled-color: var(~'@{tree-prefix}-node-color-disabled', @color-disabled);
|
|
8
8
|
@tree-node-disabled-border-color: var(~'@{tree-prefix}-node-color-border-disabled', @color-border-disabled);
|
|
9
9
|
@tree-color-theme: var(~'@{tree-prefix}-color-theme', @color-theme);
|
|
10
|
-
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked',
|
|
11
|
-
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme
|
|
10
|
+
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked', @color-theme-3);
|
|
11
|
+
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme);
|
|
12
12
|
@tree-node-hover-bg-color: var(~'@{tree-prefix}-node-color-backgroung-hover', @color-hover);
|
|
13
13
|
@tree-node-icon-color-text: var(~'@{tree-prefix}-node-icon-color-text', #666666);
|
|
14
14
|
|