@kdcloudjs/kdesign 1.7.40 → 1.7.41

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 (44) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/kdesign-complete.less +79 -5
  3. package/dist/kdesign.css +69 -1
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +331 -32
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +2 -2
  8. package/dist/kdesign.min.js +10 -10
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/button/index.d.ts +2 -1
  11. package/es/carousel/index.d.ts +2 -2
  12. package/es/city-picker/index.d.ts +2 -0
  13. package/es/collapse/index.d.ts +2 -2
  14. package/es/config-provider/compDefaultProps.d.ts +1 -0
  15. package/es/config-provider/compDefaultProps.js +2 -1
  16. package/es/input/TextArea.js +16 -8
  17. package/es/input/style/index.css +3 -0
  18. package/es/input/style/index.less +9 -5
  19. package/es/modal/modal.d.ts +4 -0
  20. package/es/modal/modal.js +221 -20
  21. package/es/modal/style/index.css +65 -0
  22. package/es/modal/style/index.less +70 -0
  23. package/es/notification-base/notice.js +6 -1
  24. package/es/search/search-panel.d.ts +1 -1
  25. package/es/select/index.d.ts +1 -0
  26. package/es/select/index.js +1 -0
  27. package/lib/button/index.d.ts +2 -1
  28. package/lib/carousel/index.d.ts +2 -2
  29. package/lib/city-picker/index.d.ts +2 -0
  30. package/lib/collapse/index.d.ts +2 -2
  31. package/lib/config-provider/compDefaultProps.d.ts +1 -0
  32. package/lib/config-provider/compDefaultProps.js +2 -1
  33. package/lib/input/TextArea.js +16 -8
  34. package/lib/input/style/index.css +3 -0
  35. package/lib/input/style/index.less +9 -5
  36. package/lib/modal/modal.d.ts +4 -0
  37. package/lib/modal/modal.js +221 -20
  38. package/lib/modal/style/index.css +65 -0
  39. package/lib/modal/style/index.less +70 -0
  40. package/lib/notification-base/notice.js +6 -1
  41. package/lib/search/search-panel.d.ts +1 -1
  42. package/lib/select/index.d.ts +1 -0
  43. package/lib/select/index.js +14 -0
  44. package/package.json +8 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [1.7.40](https://github.com/kdcloudone/kdesign/compare/v1.7.39...v1.7.40) (2023-11-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [alert] 修复点击关闭按钮依旧占位的问题 fix [#652](https://github.com/kdcloudone/kdesign/issues/652) ([f22c2a3](https://github.com/kdcloudone/kdesign/commit/f22c2a3c8b6f864a59e3c1db91ae4ebab06508e0))
7
+ * [cli] 添加剪切板组件预览图 ([0317fb9](https://github.com/kdcloudone/kdesign/commit/0317fb977edaacdff7f658e31d9b968f99d7dee2))
8
+ * [cli] 修复demo中多余的name属性 ([01260a9](https://github.com/kdcloudone/kdesign/commit/01260a984d419e2d948621e6a4a46863b36ad716))
9
+ * [modal] 修复弹窗超出视口高度时无法滚动的问题 fix [#226](https://github.com/kdcloudone/kdesign/issues/226) fix [#581](https://github.com/kdcloudone/kdesign/issues/581) ([11e3d8e](https://github.com/kdcloudone/kdesign/commit/11e3d8ead40e50267acdd70e6ea3646f48c7d60b))
10
+ * [tree] 修复树组件搜索不生效问题 fix [#644](https://github.com/kdcloudone/kdesign/issues/644) ([4cad188](https://github.com/kdcloudone/kdesign/commit/4cad188d6c638da9a1e57c6285536195064ded6d))
11
+
12
+
13
+ ### Features
14
+
15
+ * [date-picker]新增自定义单元格API fix [#266](https://github.com/kdcloudone/kdesign/issues/266) ([a70026f](https://github.com/kdcloudone/kdesign/commit/a70026ff77715ac439f0e6570cb39ec5ffd078bb))
16
+ * [QRCode] 新增二维码组件 [#626](https://github.com/kdcloudone/kdesign/issues/626) ([f5f61d6](https://github.com/kdcloudone/kdesign/commit/f5f61d689c0b2cfcd19ad1585dfe47efd6e4c76f))
17
+
18
+
19
+
1
20
  ## [1.7.39](https://github.com/kdcloudone/kdesign/compare/v1.7.37...v1.7.39) (2023-10-27)
2
21
 
3
22
 
@@ -5983,12 +5983,16 @@ textarea {
5983
5983
  font-size: @input-small-font-size-inner;
5984
5984
  line-height: 18px;
5985
5985
  background-color: #fff;
5986
- }
5987
5986
 
5988
- &-mark-inner {
5989
- top: auto;
5990
- bottom: 5px;
5991
- right: 8px;
5987
+ &-inner {
5988
+ top: auto;
5989
+ bottom: 5px;
5990
+ right: 8px;
5991
+ }
5992
+
5993
+ &-error {
5994
+ color: @input-error-color;
5995
+ }
5992
5996
  }
5993
5997
  }
5994
5998
 
@@ -7474,6 +7478,69 @@ textarea {
7474
7478
  color: @modal-footer-font-color;
7475
7479
  flex-shrink: 0;
7476
7480
  }
7481
+
7482
+ .@{modal-prefix-cls}-resise {
7483
+ &-handle {
7484
+ position: absolute;
7485
+ }
7486
+
7487
+ &-n {
7488
+ top: 0;
7489
+ left: 0;
7490
+ width: 100%;
7491
+ height: 6px;
7492
+ cursor: ns-resize;
7493
+ }
7494
+ &-e {
7495
+ top: 0;
7496
+ right: 0;
7497
+ height: 100%;
7498
+ width: 6px;
7499
+ cursor: ew-resize;
7500
+ }
7501
+ &-s {
7502
+ bottom: 0;
7503
+ left: 0;
7504
+ height: 6px;
7505
+ width: 100%;
7506
+ cursor: ns-resize;
7507
+ }
7508
+ &-w {
7509
+ left: 0;
7510
+ top: 0;
7511
+ height: 100%;
7512
+ width: 6px;
7513
+ cursor: ew-resize;
7514
+ }
7515
+ &-ne {
7516
+ top: 0;
7517
+ right: 0;
7518
+ width: 6px;
7519
+ height: 6px;
7520
+ cursor: nesw-resize;
7521
+ }
7522
+ &-se {
7523
+ bottom: 0;
7524
+ right: 0;
7525
+ width: 6px;
7526
+ height: 6px;
7527
+ cursor: nwse-resize;
7528
+ }
7529
+ &-sw {
7530
+ bottom: 0;
7531
+ left: 0;
7532
+ width: 6px;
7533
+ height: 6px;
7534
+ cursor: nesw-resize;
7535
+ }
7536
+ &-nw {
7537
+ top: 0;
7538
+ left: 0;
7539
+ width: 6px;
7540
+ height: 6px;
7541
+ cursor: nwse-resize;
7542
+ }
7543
+ }
7477
7544
  }
7478
7545
 
7479
7546
  &-margin-btn {
@@ -7496,6 +7563,13 @@ textarea {
7496
7563
  vertical-align: middle;
7497
7564
  content: '';
7498
7565
  }
7566
+
7567
+ &-resizable {
7568
+ text-align: unset;
7569
+ &::before {
7570
+ height: 0;
7571
+ }
7572
+ }
7499
7573
  }
7500
7574
  &-dialog {
7501
7575
  display: inline-block;
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.39
3
+ * @kdcloudjs/kdesign v1.7.40
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -10157,6 +10157,9 @@ textarea {
10157
10157
  bottom: 5px;
10158
10158
  right: 8px;
10159
10159
  }
10160
+ .kd-input-textarea-mark-error {
10161
+ color: var(--kd-c-input-color-error, var(--kd-g-color-error, #fb2323));
10162
+ }
10160
10163
  .kd-input-no-resize {
10161
10164
  resize: none;
10162
10165
  }
@@ -12079,6 +12082,65 @@ textarea {
12079
12082
  -ms-flex-negative: 0;
12080
12083
  flex-shrink: 0;
12081
12084
  }
12085
+ .kd-modal-container-box .kd-modal-resise-handle {
12086
+ position: absolute;
12087
+ }
12088
+ .kd-modal-container-box .kd-modal-resise-n {
12089
+ top: 0;
12090
+ left: 0;
12091
+ width: 100%;
12092
+ height: 6px;
12093
+ cursor: ns-resize;
12094
+ }
12095
+ .kd-modal-container-box .kd-modal-resise-e {
12096
+ top: 0;
12097
+ right: 0;
12098
+ height: 100%;
12099
+ width: 6px;
12100
+ cursor: ew-resize;
12101
+ }
12102
+ .kd-modal-container-box .kd-modal-resise-s {
12103
+ bottom: 0;
12104
+ left: 0;
12105
+ height: 6px;
12106
+ width: 100%;
12107
+ cursor: ns-resize;
12108
+ }
12109
+ .kd-modal-container-box .kd-modal-resise-w {
12110
+ left: 0;
12111
+ top: 0;
12112
+ height: 100%;
12113
+ width: 6px;
12114
+ cursor: ew-resize;
12115
+ }
12116
+ .kd-modal-container-box .kd-modal-resise-ne {
12117
+ top: 0;
12118
+ right: 0;
12119
+ width: 6px;
12120
+ height: 6px;
12121
+ cursor: nesw-resize;
12122
+ }
12123
+ .kd-modal-container-box .kd-modal-resise-se {
12124
+ bottom: 0;
12125
+ right: 0;
12126
+ width: 6px;
12127
+ height: 6px;
12128
+ cursor: nwse-resize;
12129
+ }
12130
+ .kd-modal-container-box .kd-modal-resise-sw {
12131
+ bottom: 0;
12132
+ left: 0;
12133
+ width: 6px;
12134
+ height: 6px;
12135
+ cursor: nesw-resize;
12136
+ }
12137
+ .kd-modal-container-box .kd-modal-resise-nw {
12138
+ top: 0;
12139
+ left: 0;
12140
+ width: 6px;
12141
+ height: 6px;
12142
+ cursor: nwse-resize;
12143
+ }
12082
12144
  .kd-modal-margin-btn {
12083
12145
  margin-right: var(--kd-c-modal-footer-button-spacing, 12px);
12084
12146
  }
@@ -12098,6 +12160,12 @@ textarea {
12098
12160
  vertical-align: middle;
12099
12161
  content: '';
12100
12162
  }
12163
+ .kd-modal-wrapper-resizable {
12164
+ text-align: unset;
12165
+ }
12166
+ .kd-modal-wrapper-resizable::before {
12167
+ height: 0;
12168
+ }
12101
12169
  .kd-modal-dialog {
12102
12170
  display: inline-block;
12103
12171
  vertical-align: middle;