@kdcloudjs/kdesign 1.7.16 → 1.7.17

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 (40) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/kdesign-complete.less +12 -3
  3. package/dist/kdesign.css +10 -3
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +75 -52
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +2 -2
  8. package/dist/kdesign.min.js +6 -6
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/card/card.js +27 -17
  11. package/es/carousel/carousel.js +3 -2
  12. package/es/carousel/slideList.d.ts +1 -0
  13. package/es/carousel/slideList.js +5 -2
  14. package/es/color-picker/color-picker-panel.js +4 -3
  15. package/es/color-picker/color-picker.js +4 -2
  16. package/es/color-picker/interface.d.ts +1 -0
  17. package/es/color-picker/style/index.css +4 -1
  18. package/es/color-picker/style/index.less +5 -1
  19. package/es/dropdown/dropdown.js +7 -4
  20. package/es/dropdown/style/index.css +3 -0
  21. package/es/dropdown/style/index.less +4 -0
  22. package/es/filter/scheme.js +2 -1
  23. package/es/filter/style/index.css +2 -1
  24. package/es/filter/style/index.less +3 -2
  25. package/lib/card/card.js +27 -17
  26. package/lib/carousel/carousel.js +3 -2
  27. package/lib/carousel/slideList.d.ts +1 -0
  28. package/lib/carousel/slideList.js +5 -2
  29. package/lib/color-picker/color-picker-panel.js +4 -3
  30. package/lib/color-picker/color-picker.js +4 -2
  31. package/lib/color-picker/interface.d.ts +1 -0
  32. package/lib/color-picker/style/index.css +4 -1
  33. package/lib/color-picker/style/index.less +5 -1
  34. package/lib/dropdown/dropdown.js +7 -4
  35. package/lib/dropdown/style/index.css +3 -0
  36. package/lib/dropdown/style/index.less +4 -0
  37. package/lib/filter/scheme.js +2 -1
  38. package/lib/filter/style/index.css +2 -1
  39. package/lib/filter/style/index.less +3 -2
  40. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [1.7.16](https://github.com/kdcloudone/kdesign/compare/v1.7.15...v1.7.16) (2023-06-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [card] 为组件添加ref [#422](https://github.com/kdcloudone/kdesign/issues/422) ([120f0d2](https://github.com/kdcloudone/kdesign/commit/120f0d2b027eabd74e542be718ba5f5929892caf))
7
+ * [color-picker] 新增国际化单测 ([43d85e2](https://github.com/kdcloudone/kdesign/commit/43d85e2c6b50595e8a846a892b3c2573f11a89b3))
8
+ * [color-picker] 修复下拉面板中select框可输入的问题 [#453](https://github.com/kdcloudone/kdesign/issues/453) ([c703e35](https://github.com/kdcloudone/kdesign/commit/c703e35393fc73c5638c38c988cb7741142e9c86))
9
+ * [form]修复清空子组件异常问题 fix [#449](https://github.com/kdcloudone/kdesign/issues/449) ([18e90b4](https://github.com/kdcloudone/kdesign/commit/18e90b454789d5432f2a4476bb812e17ff74491e))
10
+ * [input-number] 修复传入的值为数字时报错 fix [#430](https://github.com/kdcloudone/kdesign/issues/430) ([82d2e83](https://github.com/kdcloudone/kdesign/commit/82d2e83daa0113808bd56cd81e01bdb096cb9a49))
11
+ * [notification]修复问题,完善单测 ([40a4e4b](https://github.com/kdcloudone/kdesign/commit/40a4e4bf9af101d68694ae3993aeed75d09dfed7))
12
+ * [pagination] 调整数字与文字间距 fix: [#456](https://github.com/kdcloudone/kdesign/issues/456) ([f2a4f70](https://github.com/kdcloudone/kdesign/commit/f2a4f70a914005e6eb1cc734aacb5757cfe966f8))
13
+ * [select] 修复单选时选择先前的值onChange也会触发的问题 fix [#450](https://github.com/kdcloudone/kdesign/issues/450) ([bd2cb1d](https://github.com/kdcloudone/kdesign/commit/bd2cb1deaaa5590c3981a37329359e5eb4556304))
14
+ * [select] 修复当多选选择器没有数据时全选按钮没办法取消勾选问题 fix [#454](https://github.com/kdcloudone/kdesign/issues/454) ([1b07aaf](https://github.com/kdcloudone/kdesign/commit/1b07aafa912feee25be6451f609f7b4dc8c386d3))
15
+ * [select] 修复配置showSearch属性时鼠标手势问题 fix [#455](https://github.com/kdcloudone/kdesign/issues/455) ([c8616e7](https://github.com/kdcloudone/kdesign/commit/c8616e7a0f953ecb0ccba4bb7418e1cfacf46e51))
16
+ * [select] 修复鼠标手势问题 ([a7475c4](https://github.com/kdcloudone/kdesign/commit/a7475c44ec9bf53fa9ddf0725950b69732d2d406))
17
+ * [transfer] 新增国际化单测 ([7e02c5b](https://github.com/kdcloudone/kdesign/commit/7e02c5b1df5caae43e31f47181b3666a77356d8a))
18
+ * [tree-select] 修复树选择器的class名存在重复的问题 fix [#445](https://github.com/kdcloudone/kdesign/issues/445) ([6cdbd79](https://github.com/kdcloudone/kdesign/commit/6cdbd79dd79dbb5685f60f49ccad39eb64f33bda))
19
+ * [upload]修复onPreview问题 fix [#408](https://github.com/kdcloudone/kdesign/issues/408) ([20a1f24](https://github.com/kdcloudone/kdesign/commit/20a1f24f7ec1e830697a9b1e003d220e6b33f5fa))
20
+
21
+
22
+ ### Features
23
+
24
+ * [button] 新增Button.Dropdown的loading api fix [#431](https://github.com/kdcloudone/kdesign/issues/431) ([a50e334](https://github.com/kdcloudone/kdesign/commit/a50e3342621fa3146a8f52263b20d8c9f6441142))
25
+ * [tree-select] 新增api onlyExpandOnClickIcon 支持点击整行展开树节点 fix [#459](https://github.com/kdcloudone/kdesign/issues/459) ([4b7348d](https://github.com/kdcloudone/kdesign/commit/4b7348d0a04e0c7def9e286fbf4c1af086bed2d1))
26
+
27
+
28
+
1
29
  ## [1.7.15](https://github.com/kdcloudone/kdesign/compare/v1.7.14...v1.7.15) (2023-06-16)
2
30
 
3
31
 
@@ -3108,7 +3108,7 @@
3108
3108
  font-size: @color-picker-panel-select-font-size;
3109
3109
 
3110
3110
  &-no-recommend {
3111
- margin-bottom: 8px;
3111
+ margin-bottom: 0;
3112
3112
  }
3113
3113
 
3114
3114
  .@{kd-prefix}-select {
@@ -3165,6 +3165,10 @@
3165
3165
  grid-row-gap: 8px;
3166
3166
  margin-top: 12px;
3167
3167
 
3168
+ &-unset-color {
3169
+ margin-top: 0;
3170
+ }
3171
+
3168
3172
  li {
3169
3173
  position: relative;
3170
3174
  box-sizing: border-box;
@@ -4362,6 +4366,10 @@
4362
4366
 
4363
4367
  .@{dropdown-trigger-prefix-cls} {
4364
4368
  outline: none;
4369
+
4370
+ &-container {
4371
+ display: inline-block;
4372
+ }
4365
4373
  }
4366
4374
 
4367
4375
  .@{dropdown-prefix-cls} {
@@ -4645,7 +4653,7 @@
4645
4653
  display: block;
4646
4654
  }
4647
4655
  }
4648
-
4656
+
4649
4657
  &-condition {
4650
4658
  display: flex;
4651
4659
  font-size: @font-size-small;
@@ -4749,7 +4757,8 @@
4749
4757
  &-detail {
4750
4758
  list-style: none;
4751
4759
  > li {
4752
- line-height: 40px;
4760
+ line-height: normal;
4761
+ padding: 7px 0 5px 0;
4753
4762
  color: @color-text-primary;
4754
4763
  font-size: @font-size-small;
4755
4764
 
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.15
3
+ * @kdcloudjs/kdesign v1.7.16
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -6156,7 +6156,7 @@ template {
6156
6156
  font-size: var(--kd-c-color-picker-panel-select-font-size, var(--kd-g-font-size-middle, 14px));
6157
6157
  }
6158
6158
  .kd-color-picker-pop .kd-color-picker-panel-input-no-recommend {
6159
- margin-bottom: 8px;
6159
+ margin-bottom: 0;
6160
6160
  }
6161
6161
  .kd-color-picker-pop .kd-color-picker-panel-input .kd-select.bottomLeft,
6162
6162
  .kd-color-picker-pop .kd-color-picker-panel-input .kd-select.topLeft {
@@ -6205,6 +6205,9 @@ template {
6205
6205
  grid-row-gap: 8px;
6206
6206
  margin-top: 12px;
6207
6207
  }
6208
+ .kd-color-picker-pop .kd-color-picker-panel-colorDivContainer-unset-color {
6209
+ margin-top: 0;
6210
+ }
6208
6211
  .kd-color-picker-pop .kd-color-picker-panel-colorDivContainer li {
6209
6212
  position: relative;
6210
6213
  -webkit-box-sizing: border-box;
@@ -7526,6 +7529,9 @@ template {
7526
7529
  .kd-dropdown-trigger {
7527
7530
  outline: none;
7528
7531
  }
7532
+ .kd-dropdown-trigger-container {
7533
+ display: inline-block;
7534
+ }
7529
7535
  .kd-dropdown {
7530
7536
  -webkit-box-sizing: border-box;
7531
7537
  box-sizing: border-box;
@@ -8139,7 +8145,8 @@ template {
8139
8145
  list-style: none;
8140
8146
  }
8141
8147
  .kd-filter .kd-filter-body-scheme-detail > li {
8142
- line-height: 40px;
8148
+ line-height: normal;
8149
+ padding: 7px 0 5px 0;
8143
8150
  color: var(--kd-g-color-text-primary, #212121);
8144
8151
  font-size: var(--kd-g-font-size-small, 12px);
8145
8152
  }