@kdcloudjs/kdesign 1.5.1 → 1.5.2
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/kdesign-complete.less +10 -3
- package/dist/kdesign.css +11 -6
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +238 -146
- 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 +3 -4
- package/es/input/style/index.css +5 -0
- package/es/input/style/index.less +6 -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/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 +3 -4
- package/lib/input/style/index.css +5 -0
- package/lib/input/style/index.less +6 -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/tree/utils/treeUtils.js +1 -1
- package/package.json +1 -1
|
@@ -5106,6 +5106,12 @@ textarea {
|
|
|
5106
5106
|
color: @input-border-color-focused;
|
|
5107
5107
|
}
|
|
5108
5108
|
}
|
|
5109
|
+
|
|
5110
|
+
&-disabled {
|
|
5111
|
+
background-color: @input-background-color-disabled-inner;
|
|
5112
|
+
border-color: @input-border-color-disabled-inner;
|
|
5113
|
+
cursor: not-allowed;
|
|
5114
|
+
}
|
|
5109
5115
|
}
|
|
5110
5116
|
&-wrapper-textarea {
|
|
5111
5117
|
.input(@input-prefix-cls);
|
|
@@ -8973,7 +8979,7 @@ textarea {
|
|
|
8973
8979
|
opacity: 1;
|
|
8974
8980
|
}
|
|
8975
8981
|
&-text {
|
|
8976
|
-
color:
|
|
8982
|
+
color: @select-single-color-text;
|
|
8977
8983
|
.over();
|
|
8978
8984
|
}
|
|
8979
8985
|
&-disabled-text {
|
|
@@ -9209,7 +9215,7 @@ textarea {
|
|
|
9209
9215
|
|
|
9210
9216
|
// color
|
|
9211
9217
|
@select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
|
|
9212
|
-
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled',
|
|
9218
|
+
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', #fff);
|
|
9213
9219
|
@select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
|
|
9214
9220
|
@select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
|
|
9215
9221
|
@select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
|
|
@@ -9222,8 +9228,9 @@ textarea {
|
|
|
9222
9228
|
@select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
|
|
9223
9229
|
@select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
|
|
9224
9230
|
@select-color-background-disabled: var(~'@{select-custom-prefix}-color-background-disabled', #f5f5f5);
|
|
9225
|
-
@select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled',
|
|
9231
|
+
@select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', @color-disabled);
|
|
9226
9232
|
@select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
|
|
9233
|
+
@select-single-color-text: var(~'@{select-custom-prefix}-single-color-text', @color-text-primary);
|
|
9227
9234
|
|
|
9228
9235
|
// font
|
|
9229
9236
|
@select-list-font-size: var(~'@{select-custom-prefix}-dropdown-font-size', 12px); // 下拉列表文字大小
|
package/dist/kdesign.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.5.
|
|
3
|
+
* @kdcloudjs/kdesign v1.5.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -9261,6 +9261,11 @@ textarea {
|
|
|
9261
9261
|
.kd-input-wrapper-focused .kd-input-textarea-clear-icon {
|
|
9262
9262
|
color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
9263
9263
|
}
|
|
9264
|
+
.kd-input-wrapper-disabled {
|
|
9265
|
+
background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
|
|
9266
|
+
border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
9267
|
+
cursor: not-allowed;
|
|
9268
|
+
}
|
|
9264
9269
|
.kd-input-wrapper-textarea {
|
|
9265
9270
|
width: 100%;
|
|
9266
9271
|
min-width: 0;
|
|
@@ -14150,7 +14155,7 @@ textarea {
|
|
|
14150
14155
|
.kd-select-item-option-disabled {
|
|
14151
14156
|
color: var(--kd-c-select-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
14152
14157
|
cursor: not-allowed;
|
|
14153
|
-
background-color: var(--kd-c-select-item-color-background-disabled,
|
|
14158
|
+
background-color: var(--kd-c-select-item-color-background-disabled, #fff);
|
|
14154
14159
|
}
|
|
14155
14160
|
.kd-select-size-small {
|
|
14156
14161
|
min-height: var(--kd-c-select-sizing-height-small, 24px);
|
|
@@ -14194,7 +14199,7 @@ textarea {
|
|
|
14194
14199
|
}
|
|
14195
14200
|
.kd-select-single-disabled {
|
|
14196
14201
|
background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
|
|
14197
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
14202
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
14198
14203
|
}
|
|
14199
14204
|
.kd-select-single-disabled:hover {
|
|
14200
14205
|
cursor: not-allowed;
|
|
@@ -14206,13 +14211,13 @@ textarea {
|
|
|
14206
14211
|
opacity: 1;
|
|
14207
14212
|
}
|
|
14208
14213
|
.kd-select-single-text {
|
|
14209
|
-
color: #
|
|
14214
|
+
color: var(--kd-c-select-single-color-text, var(--kd-g-color-text-primary, #212121));
|
|
14210
14215
|
overflow: hidden;
|
|
14211
14216
|
white-space: nowrap;
|
|
14212
14217
|
text-overflow: ellipsis;
|
|
14213
14218
|
}
|
|
14214
14219
|
.kd-select-single-disabled-text {
|
|
14215
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
14220
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
14216
14221
|
}
|
|
14217
14222
|
.kd-select .kd-select-selection-item {
|
|
14218
14223
|
display: -webkit-inline-box;
|
|
@@ -14286,7 +14291,7 @@ textarea {
|
|
|
14286
14291
|
.kd-select-multiple-disabled {
|
|
14287
14292
|
cursor: not-allowed;
|
|
14288
14293
|
background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
|
|
14289
|
-
color: var(--kd-c-select-color-text-disabled, #
|
|
14294
|
+
color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
14290
14295
|
}
|
|
14291
14296
|
.kd-select-multiple-disabled .kd-select-suffix {
|
|
14292
14297
|
color: var(--kd-c-select-arrow-icon-color-text-disabled, #b2b2b2);
|