@kdcloudjs/kdesign 1.5.0 → 1.5.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 +64 -0
- package/dist/kdesign-complete.less +15 -3
- package/dist/kdesign.css +16 -6
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +326 -178
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +2 -2
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/anchor/anchor-link.js +0 -6
- package/es/anchor/anchor.js +102 -2
- package/es/avatar/avatar.js +3 -1
- package/es/input/ClearableLabeledInput.js +7 -8
- package/es/input/style/index.css +10 -0
- package/es/input/style/index.less +11 -0
- package/es/select/select.js +1 -1
- package/es/select/style/index.css +5 -5
- package/es/select/style/index.less +1 -1
- package/es/select/style/token.less +3 -2
- package/es/table/table.js +8 -2
- package/es/tree/utils/treeUtils.js +1 -1
- package/lib/anchor/anchor-link.js +0 -6
- package/lib/anchor/anchor.js +102 -2
- package/lib/avatar/avatar.js +3 -1
- package/lib/input/ClearableLabeledInput.js +7 -8
- package/lib/input/style/index.css +10 -0
- package/lib/input/style/index.less +11 -0
- package/lib/select/select.js +1 -1
- package/lib/select/style/index.css +5 -5
- package/lib/select/style/index.less +1 -1
- package/lib/select/style/token.less +3 -2
- package/lib/table/table.js +8 -2
- package/lib/tree/utils/treeUtils.js +1 -1
- package/package.json +2 -2
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
.kd-select-item-option-disabled {
|
|
429
429
|
color: var(--kd-c-select-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
430
430
|
cursor: not-allowed;
|
|
431
|
-
background-color: var(--kd-c-select-item-color-background-disabled,
|
|
431
|
+
background-color: var(--kd-c-select-item-color-background-disabled, #fff);
|
|
432
432
|
}
|
|
433
433
|
.kd-select-size-small {
|
|
434
434
|
min-height: var(--kd-c-select-sizing-height-small, 24px);
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
}
|
|
473
473
|
.kd-select-single-disabled {
|
|
474
474
|
background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
|
|
475
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
475
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
476
476
|
}
|
|
477
477
|
.kd-select-single-disabled:hover {
|
|
478
478
|
cursor: not-allowed;
|
|
@@ -484,13 +484,13 @@
|
|
|
484
484
|
opacity: 1;
|
|
485
485
|
}
|
|
486
486
|
.kd-select-single-text {
|
|
487
|
-
color: #
|
|
487
|
+
color: var(--kd-c-select-single-color-text, var(--kd-g-color-text-primary, #212121));
|
|
488
488
|
overflow: hidden;
|
|
489
489
|
white-space: nowrap;
|
|
490
490
|
text-overflow: ellipsis;
|
|
491
491
|
}
|
|
492
492
|
.kd-select-single-disabled-text {
|
|
493
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
493
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
494
494
|
}
|
|
495
495
|
.kd-select .kd-select-selection-item {
|
|
496
496
|
display: -webkit-inline-box;
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
.kd-select-multiple-disabled {
|
|
565
565
|
cursor: not-allowed;
|
|
566
566
|
background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
|
|
567
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
567
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
568
568
|
}
|
|
569
569
|
.kd-select-multiple-disabled .kd-select-suffix {
|
|
570
570
|
color: var(--kd-c-select-arrow-icon-color-text-disabled, #b2b2b2);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// color
|
|
7
7
|
@select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
|
|
8
|
-
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled',
|
|
8
|
+
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', #fff);
|
|
9
9
|
@select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
|
|
10
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);
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
@select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
|
|
19
19
|
@select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
|
|
20
20
|
@select-color-background-disabled: var(~'@{select-custom-prefix}-color-background-disabled', #f5f5f5);
|
|
21
|
-
@select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled',
|
|
21
|
+
@select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', @color-disabled);
|
|
22
22
|
@select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
|
|
23
|
+
@select-single-color-text: var(~'@{select-custom-prefix}-single-color-text', @color-text-primary);
|
|
23
24
|
|
|
24
25
|
// font
|
|
25
26
|
@select-list-font-size: var(~'@{select-custom-prefix}-dropdown-font-size', 12px); // 下拉列表文字大小
|
package/lib/table/table.js
CHANGED
|
@@ -87,7 +87,10 @@ function Table(props) {
|
|
|
87
87
|
getTableProps = props.getTableProps,
|
|
88
88
|
contextMenu = props.contextMenu,
|
|
89
89
|
rangeSelection = props.rangeSelection,
|
|
90
|
-
cssVariables = props.cssVariables
|
|
90
|
+
cssVariables = props.cssVariables,
|
|
91
|
+
stickyScrollHeight = props.stickyScrollHeight,
|
|
92
|
+
scrollbarWidth = props.scrollbarWidth,
|
|
93
|
+
scrollLoad = props.scrollLoad;
|
|
91
94
|
|
|
92
95
|
var _useContext = (0, _react.useContext)(_ConfigContext.default),
|
|
93
96
|
getPrefixCls = _useContext.getPrefixCls,
|
|
@@ -166,7 +169,10 @@ function Table(props) {
|
|
|
166
169
|
hasHeader: hasHeader,
|
|
167
170
|
useOuterBorder: useOuterBorder,
|
|
168
171
|
defaultColumnWidth: defaultColumnWidth,
|
|
169
|
-
cssVariables: cssVariables
|
|
172
|
+
cssVariables: cssVariables,
|
|
173
|
+
stickyScrollHeight: stickyScrollHeight,
|
|
174
|
+
scrollbarWidth: scrollbarWidth,
|
|
175
|
+
scrollLoad: scrollLoad
|
|
170
176
|
}));
|
|
171
177
|
}
|
|
172
178
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kdcloudjs/kdesign",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "KDesign 金蝶前端react 组件库",
|
|
5
5
|
"title": "kdesign",
|
|
6
6
|
"keywords": [
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@babel/runtime": "^7.10.4",
|
|
77
77
|
"@babel/runtime-corejs3": "^7.11.2",
|
|
78
78
|
"@babel/standalone": "^7.14.3",
|
|
79
|
-
"@kdcloudjs/table": "^1.1.
|
|
79
|
+
"@kdcloudjs/table": "^1.1.2",
|
|
80
80
|
"@popperjs/core": "^2.5.4",
|
|
81
81
|
"async-validator": "^3.5.1",
|
|
82
82
|
"axios": "^0.21.1",
|