@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 CHANGED
@@ -1,3 +1,67 @@
1
+ ## [1.5.2](https://github.com/kdcloudone/kdesign/compare/v1.5.1...v1.5.2) (2022-07-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [anchor] 调整锚点组件定位偏移的逻辑 ([a4cf19f](https://github.com/kdcloudone/kdesign/commit/a4cf19faba70462fae6f8937c38607c610a4aed6))
7
+ * [avatar] 修复srcSet不生效问题 ([59a069a](https://github.com/kdcloudone/kdesign/commit/59a069a04423d2d1d4852292dc99d41a81234047))
8
+ * [input] 修复禁用状态下样式问题 ([d4e05b5](https://github.com/kdcloudone/kdesign/commit/d4e05b5907892c00345b7d4e976c89ca29272df1))
9
+ * [select] 修复禁用态出现清空按钮,并能继续触发清空操作的bug ([9395796](https://github.com/kdcloudone/kdesign/commit/939579646cc54965a7a67016dedf0eac95a8c80b))
10
+ * [select] 修复禁用态下的视觉 ([ca6a6cd](https://github.com/kdcloudone/kdesign/commit/ca6a6cd4caf3ba0c6d2587748eab1d1de21b54d8))
11
+ * [tree] 调整拖拽时dropPosition计算 ([cb69512](https://github.com/kdcloudone/kdesign/commit/cb69512648acdca9a8a6e99624e9778aefe1c3a6))
12
+
13
+
14
+
15
+ ## [1.5.1](https://github.com/kdcloudone/kdesign/compare/v1.3.8...v1.5.1) (2022-07-27)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * [table] 增加滚动加载和滚动条宽度参数 ([c4e9b03](https://github.com/kdcloudone/kdesign/commit/c4e9b0382f9290a8712eba0a3ee9313851410d8a))
21
+
22
+
23
+
24
+ # [1.5.0](https://github.com/kdcloudone/kdesign/compare/v1.4.1...v1.5.0) (2022-07-21)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * [carousel] 解决走马灯children为空时报错 ([b9cc896](https://github.com/kdcloudone/kdesign/commit/b9cc896056fcca9491d29910f254d3e89c95b75d))
30
+ * [date-picker]修复范围选择自定义后缀及颜色问题 ([fbcf024](https://github.com/kdcloudone/kdesign/commit/fbcf0240ab3fb217b1b43b57f3541b028d259725))
31
+ * [dropdown] 新增下拉菜单hover字体颜色token ([2bbc394](https://github.com/kdcloudone/kdesign/commit/2bbc3943f38c6c733c92e3394e0aa63798c5a75b))
32
+ * [input]修复清除图标颜色问题 ([1e149a3](https://github.com/kdcloudone/kdesign/commit/1e149a39216f8ddc770080d0b1722c7e2c8a6a53))
33
+ * [radio] 修复单选defaultChecked不生效问题 ([ef60dc5](https://github.com/kdcloudone/kdesign/commit/ef60dc5f27b5fe5e20243baa1676c4f9fc8a160b))
34
+ * [site]官网改造 ([cb05cb8](https://github.com/kdcloudone/kdesign/commit/cb05cb8ab8240fdfd6c18f7da4076e5bd140b884))
35
+ * [tree] 调整拖拽时关系线样式 ([0009deb](https://github.com/kdcloudone/kdesign/commit/0009deba03a4d71f60bf8f2944e162bda7e99269))
36
+ * [tree] 树组件节点拖拽功能调整(允许拖入节点子级) ([eb0097e](https://github.com/kdcloudone/kdesign/commit/eb0097e88fb8ee9a3aa2135aa8b92d1d6ca44777))
37
+
38
+
39
+ ### Features
40
+
41
+ * [menu]新增手风琴模式 ([4b97eae](https://github.com/kdcloudone/kdesign/commit/4b97eaec8721e9f9d2c0c8bac67065ba0ef8b798))
42
+ * [tree] 新增节点过滤功能 ([86daa0b](https://github.com/kdcloudone/kdesign/commit/86daa0b846fb924bcc5ec219a42b0c4c01173e20))
43
+
44
+
45
+
46
+ ## [1.4.1](https://github.com/kdcloudone/kdesign/compare/v1.4.0...v1.4.1) (2022-07-15)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * [menu]:修复组件受控时赋值问题 ([a57778f](https://github.com/kdcloudone/kdesign/commit/a57778f12c5e619e951dbe089263638abd15b7c8))
52
+
53
+
54
+
55
+ # [1.4.0](https://github.com/kdcloudone/kdesign/compare/v1.3.9...v1.4.0) (2022-07-15)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * [menu]受控组件路径问题 ([87ccce8](https://github.com/kdcloudone/kdesign/commit/87ccce82b79433fb9c1702b91a2b4e02277a79a8))
61
+ * [menu]样式修改 ([2b0b45c](https://github.com/kdcloudone/kdesign/commit/2b0b45c2cfaea5359bd774058acf4b6b16dc453b))
62
+
63
+
64
+
1
65
  ## [1.3.9](https://github.com/kdcloudone/kdesign/compare/v1.3.7...v1.3.9) (2022-07-14)
2
66
 
3
67
 
@@ -5106,6 +5106,16 @@ 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
+
5115
+ .@{input-prefix-cls}-suffix, .@{input-prefix-cls}-prefix {
5116
+ color: @input-color-disabled-inner;
5117
+ }
5118
+ }
5109
5119
  }
5110
5120
  &-wrapper-textarea {
5111
5121
  .input(@input-prefix-cls);
@@ -5199,6 +5209,7 @@ textarea {
5199
5209
  &-disabled {
5200
5210
  background-color: @input-background-color-disabled-inner;
5201
5211
  border-color: @input-border-color-disabled-inner;
5212
+ color: @input-color-disabled-inner;
5202
5213
  cursor: not-allowed;
5203
5214
  }
5204
5215
  }
@@ -8973,7 +8984,7 @@ textarea {
8973
8984
  opacity: 1;
8974
8985
  }
8975
8986
  &-text {
8976
- color: #666;
8987
+ color: @select-single-color-text;
8977
8988
  .over();
8978
8989
  }
8979
8990
  &-disabled-text {
@@ -9209,7 +9220,7 @@ textarea {
9209
9220
 
9210
9221
  // color
9211
9222
  @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', @color-background-contain-disabled);
9223
+ @select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', #fff);
9213
9224
  @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
9214
9225
  @select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
9215
9226
  @select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
@@ -9222,8 +9233,9 @@ textarea {
9222
9233
  @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
9223
9234
  @select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
9224
9235
  @select-color-background-disabled: var(~'@{select-custom-prefix}-color-background-disabled', #f5f5f5);
9225
- @select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', #212121);
9236
+ @select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', @color-disabled);
9226
9237
  @select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
9238
+ @select-single-color-text: var(~'@{select-custom-prefix}-single-color-text', @color-text-primary);
9227
9239
 
9228
9240
  // font
9229
9241
  @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.4.1
3
+ * @kdcloudjs/kdesign v1.5.2
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -9261,6 +9261,15 @@ 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
+ }
9269
+ .kd-input-wrapper-disabled .kd-input-suffix,
9270
+ .kd-input-wrapper-disabled .kd-input-prefix {
9271
+ color: var(--kd-c-input-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
9272
+ }
9264
9273
  .kd-input-wrapper-textarea {
9265
9274
  width: 100%;
9266
9275
  min-width: 0;
@@ -9404,6 +9413,7 @@ textarea {
9404
9413
  .kd-input-group-wrapper .kd-input-group .kd-input-group-addon-disabled {
9405
9414
  background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
9406
9415
  border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
9416
+ color: var(--kd-c-input-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
9407
9417
  cursor: not-allowed;
9408
9418
  }
9409
9419
  .kd-input-group-wrapper .kd-input-group-size-small .kd-input-group-addon {
@@ -14150,7 +14160,7 @@ textarea {
14150
14160
  .kd-select-item-option-disabled {
14151
14161
  color: var(--kd-c-select-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
14152
14162
  cursor: not-allowed;
14153
- background-color: var(--kd-c-select-item-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
14163
+ background-color: var(--kd-c-select-item-color-background-disabled, #fff);
14154
14164
  }
14155
14165
  .kd-select-size-small {
14156
14166
  min-height: var(--kd-c-select-sizing-height-small, 24px);
@@ -14194,7 +14204,7 @@ textarea {
14194
14204
  }
14195
14205
  .kd-select-single-disabled {
14196
14206
  background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
14197
- color: var(--kd-c-select-color-text-disabled, #212121);
14207
+ color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
14198
14208
  }
14199
14209
  .kd-select-single-disabled:hover {
14200
14210
  cursor: not-allowed;
@@ -14206,13 +14216,13 @@ textarea {
14206
14216
  opacity: 1;
14207
14217
  }
14208
14218
  .kd-select-single-text {
14209
- color: #666;
14219
+ color: var(--kd-c-select-single-color-text, var(--kd-g-color-text-primary, #212121));
14210
14220
  overflow: hidden;
14211
14221
  white-space: nowrap;
14212
14222
  text-overflow: ellipsis;
14213
14223
  }
14214
14224
  .kd-select-single-disabled-text {
14215
- color: var(--kd-c-select-color-text-disabled, #212121);
14225
+ color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
14216
14226
  }
14217
14227
  .kd-select .kd-select-selection-item {
14218
14228
  display: -webkit-inline-box;
@@ -14286,7 +14296,7 @@ textarea {
14286
14296
  .kd-select-multiple-disabled {
14287
14297
  cursor: not-allowed;
14288
14298
  background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
14289
- color: var(--kd-c-select-color-text-disabled, #212121);
14299
+ color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
14290
14300
  }
14291
14301
  .kd-select-multiple-disabled .kd-select-suffix {
14292
14302
  color: var(--kd-c-select-arrow-icon-color-text-disabled, #b2b2b2);