@kdcloudjs/kdesign 1.6.28 → 1.6.30

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 (46) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/kdesign-complete.less +3 -3
  3. package/dist/kdesign.css +5 -4
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +128 -101
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +2 -2
  8. package/dist/kdesign.min.js +2 -2
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/_utils/usePopper.js +16 -7
  11. package/es/cascader/style/index.css +1 -1
  12. package/es/cascader/style/index.less +1 -1
  13. package/es/date-picker/date-panel.js +1 -1
  14. package/es/date-picker/date-picker.js +5 -5
  15. package/es/date-picker/hooks/use-picker-input.js +0 -4
  16. package/es/date-picker/style/index.css +3 -2
  17. package/es/date-picker/style/index.less +2 -2
  18. package/es/form/Field.js +8 -6
  19. package/es/input/ClearableLabeledInput.d.ts +1 -0
  20. package/es/input/ClearableLabeledInput.js +4 -3
  21. package/es/input/input.js +6 -1
  22. package/es/input-number/inputNumber.js +24 -11
  23. package/es/tree/tree.js +6 -3
  24. package/es/tree/treeHooks.js +5 -9
  25. package/es/tree/utils/treeUtils.d.ts +1 -1
  26. package/es/tree/utils/treeUtils.js +17 -14
  27. package/es/upload/upload.js +1 -1
  28. package/lib/_utils/usePopper.js +16 -7
  29. package/lib/cascader/style/index.css +1 -1
  30. package/lib/cascader/style/index.less +1 -1
  31. package/lib/date-picker/date-panel.js +1 -1
  32. package/lib/date-picker/date-picker.js +5 -5
  33. package/lib/date-picker/hooks/use-picker-input.js +0 -4
  34. package/lib/date-picker/style/index.css +3 -2
  35. package/lib/date-picker/style/index.less +2 -2
  36. package/lib/form/Field.js +8 -6
  37. package/lib/input/ClearableLabeledInput.d.ts +1 -0
  38. package/lib/input/ClearableLabeledInput.js +4 -3
  39. package/lib/input/input.js +6 -1
  40. package/lib/input-number/inputNumber.js +24 -11
  41. package/lib/tree/tree.js +6 -3
  42. package/lib/tree/treeHooks.js +4 -9
  43. package/lib/tree/utils/treeUtils.d.ts +1 -1
  44. package/lib/tree/utils/treeUtils.js +17 -14
  45. package/lib/upload/upload.js +1 -1
  46. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ ## [1.6.28](https://github.com/kdcloudone/kdesign/compare/v1.6.27...v1.6.28) (2023-01-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [date-picker]修复面板不更新及清除图标问题 ([6385360](https://github.com/kdcloudone/kdesign/commit/63853608796c8387ed1107de2c3ae662b1bce0d2))
7
+ * [dropdown] children特殊值处理bug [#202](https://github.com/kdcloudone/kdesign/issues/202) ([058343b](https://github.com/kdcloudone/kdesign/commit/058343b614ee9299027fb7b0b92584d42cac4c73))
8
+ * [form]修复radio取值问题 ([0a758c9](https://github.com/kdcloudone/kdesign/commit/0a758c9fcd4d47cd0b6e5acc9bb3d17901e1692b))
9
+ * [image] previewGroup的children为空时报错 [#201](https://github.com/kdcloudone/kdesign/issues/201) ([2d14967](https://github.com/kdcloudone/kdesign/commit/2d149676e5aa6423a7aeeeefa44caae910c292f6))
10
+ * [image]特定浏览器下预览图片时点击放大缩小按钮报错 [#193](https://github.com/kdcloudone/kdesign/issues/193) ([599ac7a](https://github.com/kdcloudone/kdesign/commit/599ac7a753576c45d5241224977b9324cce395f6))
11
+ * [input-number] 修复数值输入框小数位不对问题 ([74f1ff3](https://github.com/kdcloudone/kdesign/commit/74f1ff37111e59d5418708f1291cc8b6ba06b12c))
12
+ * [input-number] value传入数字报错 [#208](https://github.com/kdcloudone/kdesign/issues/208) ([5501183](https://github.com/kdcloudone/kdesign/commit/5501183836fe425a5d739846acf4dcfcac187c8e))
13
+ * [input]实现input计数展示 ([4317903](https://github.com/kdcloudone/kdesign/commit/431790394935bef12b11cbc61034c6d6813adc33))
14
+ * [input]修复计数器显隐问题 ([ff568a7](https://github.com/kdcloudone/kdesign/commit/ff568a714735ef19fdd4ba74f2d5a06952495a86))
15
+ * [select] 修复选择器清空问题 [#182](https://github.com/kdcloudone/kdesign/issues/182) ([3b1e6ae](https://github.com/kdcloudone/kdesign/commit/3b1e6ae248ad17c6eaab8f38658c3145a5f2e1f5))
16
+ * [select] 修复选择器全选受控问题 ([368f9bc](https://github.com/kdcloudone/kdesign/commit/368f9bca8fa01efb33c44e58ccbbef944e813a6f))
17
+ * [upload]修复禁用下可删除问题 ([33fb0ea](https://github.com/kdcloudone/kdesign/commit/33fb0ea0aec921375ab58621c45a1640c78f39b6))
18
+ * [upload]修复origin属性问题 ([2554c19](https://github.com/kdcloudone/kdesign/commit/2554c19af6794a1a8ba10e350b3adb6827398527))
19
+
20
+
21
+
22
+ ## [1.6.27](https://github.com/kdcloudone/kdesign/compare/v1.6.26...v1.6.27) (2023-01-06)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * [date-picker]修复快速选择年月样式 ([3c9fe63](https://github.com/kdcloudone/kdesign/commit/3c9fe63e0eec3b211d716404126285b498892cee))
28
+ * [datePicker]ref重复渲染问题 ([cf44d95](https://github.com/kdcloudone/kdesign/commit/cf44d952591869a4eb14b1d864c45d6b84d89921))
29
+ * [pagination]新增图标替换功能 ([9b05ede](https://github.com/kdcloudone/kdesign/commit/9b05edeaac67f5051796881b10a95312338f0251))
30
+
31
+
32
+ ### Features
33
+
34
+ * [select] 新增tagRender功能 ([5c48923](https://github.com/kdcloudone/kdesign/commit/5c4892355cf0a65b31d55fe10f65bfc5384b32d3))
35
+
36
+
37
+
1
38
  ## [1.6.26](https://github.com/kdcloudone/kdesign/compare/v1.6.25...v1.6.26) (2023-01-05)
2
39
 
3
40
 
@@ -1923,7 +1923,7 @@
1923
1923
  }
1924
1924
 
1925
1925
  .@{cascader-menu-prefix-cls} {
1926
- display: inline-table;
1926
+ display: inline-block;
1927
1927
  height: @cascader-height;
1928
1928
  min-width: @cascader-menu-min-width;
1929
1929
  margin: 0;
@@ -3296,6 +3296,7 @@
3296
3296
  padding: 3px 0;
3297
3297
  cursor: pointer;
3298
3298
  overflow: hidden;
3299
+ box-sizing: border-box;
3299
3300
  }
3300
3301
 
3301
3302
  & .@{datePicker-prefix-cls}-calendar-item:not(.@{datePicker-prefix-cls}-calendar-item-disabled):hover {
@@ -3564,8 +3565,7 @@
3564
3565
  flex: 1 0 auto;
3565
3566
  width: 56px;
3566
3567
  margin: 0;
3567
- padding: 0 0 206px 0;
3568
- padding-top: 10px;
3568
+ padding: 10px 0 214px 0;
3569
3569
  text-align: left;
3570
3570
  transition: background 0.3s;
3571
3571
  overflow: hidden;
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.6.27
3
+ * @kdcloudjs/kdesign v1.6.29
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -4603,7 +4603,7 @@ template {
4603
4603
  visibility: hidden;
4604
4604
  }
4605
4605
  .kd-cascader-menus .kd-cascader-menu {
4606
- display: inline-table;
4606
+ display: inline-block;
4607
4607
  height: var(--kd-c-cascader-sizing-height, 192px);
4608
4608
  min-width: var(--kd-c-cascader-menu-sizing-min-width, 116px);
4609
4609
  margin: 0;
@@ -6416,6 +6416,8 @@ template {
6416
6416
  padding: 3px 0;
6417
6417
  cursor: pointer;
6418
6418
  overflow: hidden;
6419
+ -webkit-box-sizing: border-box;
6420
+ box-sizing: border-box;
6419
6421
  }
6420
6422
  .kd-date-picker-panel .kd-date-picker-warpper .kd-date-picker-calendar .kd-date-picker-calendar-line .kd-date-picker-calendar-item:not(.kd-date-picker-calendar-item-disabled):hover .kd-date-picker-calendar-text {
6421
6423
  background: #f5f5f5;
@@ -6653,8 +6655,7 @@ template {
6653
6655
  flex: 1 0 auto;
6654
6656
  width: 56px;
6655
6657
  margin: 0;
6656
- padding: 0 0 206px 0;
6657
- padding-top: 10px;
6658
+ padding: 10px 0 214px 0;
6658
6659
  text-align: left;
6659
6660
  -webkit-transition: background 0.3s;
6660
6661
  transition: background 0.3s;