@kdcloudjs/kdesign 1.7.21 → 1.7.22

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/kdesign-complete.less +6 -3
  3. package/dist/kdesign.css +9 -4
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +110 -44
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +3 -3
  8. package/dist/kdesign.min.js +6 -6
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/_utils/reactNode.d.ts +1 -0
  11. package/es/_utils/reactNode.js +3 -0
  12. package/es/checkbox/group.js +1 -1
  13. package/es/collapse/style/index.css +3 -0
  14. package/es/collapse/style/index.less +3 -0
  15. package/es/dropdown/dropdown.js +4 -3
  16. package/es/input/input.js +21 -3
  17. package/es/input-number/inputNumber.js +6 -0
  18. package/es/menu/menu.js +27 -18
  19. package/es/menu/style/index.css +3 -0
  20. package/es/menu/style/mixin.less +1 -0
  21. package/es/select/select.js +17 -3
  22. package/es/timeline/TimelineItem.js +2 -1
  23. package/es/timeline/style/index.css +2 -3
  24. package/es/timeline/style/index.less +2 -3
  25. package/es/tooltip/tooltip.js +3 -2
  26. package/es/tree/tree.js +8 -1
  27. package/es/virtual-list/Filler.d.ts +1 -0
  28. package/es/virtual-list/Filler.js +4 -3
  29. package/es/virtual-list/virtual-list.d.ts +1 -0
  30. package/es/virtual-list/virtual-list.js +5 -3
  31. package/lib/_utils/reactNode.d.ts +1 -0
  32. package/lib/_utils/reactNode.js +4 -0
  33. package/lib/checkbox/group.js +1 -1
  34. package/lib/collapse/style/index.css +3 -0
  35. package/lib/collapse/style/index.less +3 -0
  36. package/lib/dropdown/dropdown.js +4 -3
  37. package/lib/input/input.js +20 -2
  38. package/lib/input-number/inputNumber.js +6 -0
  39. package/lib/menu/menu.js +26 -17
  40. package/lib/menu/style/index.css +3 -0
  41. package/lib/menu/style/mixin.less +1 -0
  42. package/lib/select/select.js +16 -2
  43. package/lib/timeline/TimelineItem.js +2 -1
  44. package/lib/timeline/style/index.css +2 -3
  45. package/lib/timeline/style/index.less +2 -3
  46. package/lib/tooltip/tooltip.js +3 -2
  47. package/lib/tree/tree.js +8 -1
  48. package/lib/virtual-list/Filler.d.ts +1 -0
  49. package/lib/virtual-list/Filler.js +4 -3
  50. package/lib/virtual-list/virtual-list.d.ts +1 -0
  51. package/lib/virtual-list/virtual-list.js +5 -3
  52. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [1.7.21](https://github.com/kdcloudone/kdesign/compare/v1.7.20...v1.7.21) (2023-08-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [select] 修复传入的value在option中不存在时的显示问题 fix [#503](https://github.com/kdcloudone/kdesign/issues/503) ([a0e7621](https://github.com/kdcloudone/kdesign/commit/a0e76214965cce905e71cdfe0487a5664366a239))
7
+ * [tree-select] 修复传入的value值在treeData不存在时的显示问题 fix [#504](https://github.com/kdcloudone/kdesign/issues/504) ([2034a11](https://github.com/kdcloudone/kdesign/commit/2034a11af4a4cbe858a337798be6243c3f63ed93))
8
+ * [tree] 优化树控件虚拟滚动 fix [#520](https://github.com/kdcloudone/kdesign/issues/520) ([972b581](https://github.com/kdcloudone/kdesign/commit/972b58169c9bf6b98138c858b149bb7d624f4142))
9
+
10
+
11
+
1
12
  ## [1.7.20](https://github.com/kdcloudone/kdesign/compare/v1.7.19...v1.7.20) (2023-08-04)
2
13
 
3
14
 
@@ -2906,6 +2906,9 @@
2906
2906
  &-panel:last-child {
2907
2907
  border-top: none;
2908
2908
  }
2909
+ &-panel:first-child {
2910
+ border-top: @collapse-border-width solid @collapse-border-color;
2911
+ }
2909
2912
  &-panel {
2910
2913
  display: inline-flex;
2911
2914
  flex-direction: column;
@@ -6857,6 +6860,7 @@ textarea {
6857
6860
  }
6858
6861
 
6859
6862
  .menu-hidden {
6863
+ display: none;
6860
6864
  opacity: 0;
6861
6865
  visibility: hidden;
6862
6866
  animation: kdZoomTopLeftOut calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1) forwards;
@@ -14125,7 +14129,7 @@ template {
14125
14129
  &.pending .@{timeline-item-prefix-cls}.last .@{timeline-item-prefix-cls}-tail {
14126
14130
  display: block;
14127
14131
  height: calc(100% - 14px);
14128
- border-left: 2px dotted @timeline-line-color;
14132
+ border-left: 1px dotted @timeline-line-color;
14129
14133
  }
14130
14134
 
14131
14135
  &.reverse .@{timeline-item-prefix-cls}.last .@{timeline-item-prefix-cls}-tail {
@@ -14134,10 +14138,9 @@ template {
14134
14138
 
14135
14139
  &.reverse .@{timeline-item-prefix-cls}.pending {
14136
14140
  .@{timeline-item-prefix-cls}-tail {
14137
- top: 15px;
14138
14141
  display: block;
14139
14142
  height: calc(100% - 15px);
14140
- border-left: 2px dotted @timeline-line-color;
14143
+ border-left: 1px dotted @timeline-line-color;
14141
14144
  }
14142
14145
  .@{timeline-item-prefix-cls}-content {
14143
14146
  min-height: 48px;
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.20
3
+ * @kdcloudjs/kdesign v1.7.21
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -5797,6 +5797,9 @@ template {
5797
5797
  .kd-collapse-panel:last-child {
5798
5798
  border-top: none;
5799
5799
  }
5800
+ .kd-collapse-panel:first-child {
5801
+ border-top: var(--kd-c-collapse-border-width, 1px) solid var(--kd-c-collapse-color-border-strong-2, var(--kd-g-color-border-strong-2, #d9d9d9));
5802
+ }
5800
5803
  .kd-collapse-panel {
5801
5804
  display: -webkit-inline-box;
5802
5805
  display: -ms-inline-flexbox;
@@ -10769,6 +10772,7 @@ textarea {
10769
10772
  /* 单行显示省略号 */
10770
10773
  /** 浮层箭头样式 **/
10771
10774
  .menu-hidden {
10775
+ display: none;
10772
10776
  opacity: 0;
10773
10777
  visibility: hidden;
10774
10778
  -webkit-animation: kdZoomTopLeftOut calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
@@ -11196,6 +11200,7 @@ textarea {
11196
11200
  color: var(--kd-c-menu-sub-color-text-hover, var(--kd-g-color-white, #fff));
11197
11201
  }
11198
11202
  .kd-menu-popper.hidden {
11203
+ display: none;
11199
11204
  opacity: 0;
11200
11205
  visibility: hidden;
11201
11206
  -webkit-animation: kdZoomTopLeftOut calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
@@ -11237,6 +11242,7 @@ textarea {
11237
11242
  transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
11238
11243
  }
11239
11244
  .kd-menu-popper .kd-menu-submenu-sub-hide {
11245
+ display: none;
11240
11246
  opacity: 0;
11241
11247
  visibility: hidden;
11242
11248
  -webkit-animation: kdZoomTopLeftOut calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
@@ -18749,16 +18755,15 @@ textarea {
18749
18755
  .kd-timeline.pending .kd-timeline-item.last .kd-timeline-item-tail {
18750
18756
  display: block;
18751
18757
  height: calc(100% - 14px);
18752
- border-left: 2px dotted var(--kd-c-timeline-line-color, var(--kd-g-color-border-weak, #e5e5e5));
18758
+ border-left: 1px dotted var(--kd-c-timeline-line-color, var(--kd-g-color-border-weak, #e5e5e5));
18753
18759
  }
18754
18760
  .kd-timeline.reverse .kd-timeline-item.last .kd-timeline-item-tail {
18755
18761
  display: none;
18756
18762
  }
18757
18763
  .kd-timeline.reverse .kd-timeline-item.pending .kd-timeline-item-tail {
18758
- top: 15px;
18759
18764
  display: block;
18760
18765
  height: calc(100% - 15px);
18761
- border-left: 2px dotted var(--kd-c-timeline-line-color, var(--kd-g-color-border-weak, #e5e5e5));
18766
+ border-left: 1px dotted var(--kd-c-timeline-line-color, var(--kd-g-color-border-weak, #e5e5e5));
18762
18767
  }
18763
18768
  .kd-timeline.reverse .kd-timeline-item.pending .kd-timeline-item-content {
18764
18769
  min-height: 48px;