@kdcloudjs/kdesign 1.5.10 → 1.5.11

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 (49) hide show
  1. package/dist/kdesign-complete.less +4 -7
  2. package/dist/kdesign.css +5 -8
  3. package/dist/kdesign.css.map +1 -1
  4. package/dist/kdesign.js +959 -221
  5. package/dist/kdesign.js.map +1 -1
  6. package/dist/kdesign.min.css +3 -3
  7. package/dist/kdesign.min.js +6 -6
  8. package/dist/kdesign.min.js.map +1 -1
  9. package/es/_utils/KeyCode.d.ts +436 -0
  10. package/es/_utils/KeyCode.js +623 -0
  11. package/es/_utils/hooks.d.ts +1 -0
  12. package/es/_utils/hooks.js +51 -1
  13. package/es/alert/style/index.css +0 -1
  14. package/es/alert/style/index.less +0 -1
  15. package/es/button/style/index.css +3 -0
  16. package/es/button/style/mixin.less +3 -0
  17. package/es/config-provider/compDefaultProps.d.ts +1 -0
  18. package/es/config-provider/compDefaultProps.js +2 -1
  19. package/es/date-picker/date-picker.js +15 -14
  20. package/es/date-picker/hooks/use-picker-input.js +44 -38
  21. package/es/date-picker/range-picker.js +24 -13
  22. package/es/drawer/drawer.d.ts +1 -0
  23. package/es/drawer/drawer.js +6 -3
  24. package/es/notification-base/notification.js +4 -4
  25. package/es/pagination/style/index.css +1 -3
  26. package/es/pagination/style/index.less +1 -3
  27. package/es/transfer/style/index.css +0 -3
  28. package/es/transfer/style/index.less +0 -3
  29. package/lib/_utils/KeyCode.d.ts +436 -0
  30. package/lib/_utils/KeyCode.js +631 -0
  31. package/lib/_utils/hooks.d.ts +1 -0
  32. package/lib/_utils/hooks.js +54 -1
  33. package/lib/alert/style/index.css +0 -1
  34. package/lib/alert/style/index.less +0 -1
  35. package/lib/button/style/index.css +3 -0
  36. package/lib/button/style/mixin.less +3 -0
  37. package/lib/config-provider/compDefaultProps.d.ts +1 -0
  38. package/lib/config-provider/compDefaultProps.js +2 -1
  39. package/lib/date-picker/date-picker.js +15 -15
  40. package/lib/date-picker/hooks/use-picker-input.js +45 -37
  41. package/lib/date-picker/range-picker.js +24 -14
  42. package/lib/drawer/drawer.d.ts +1 -0
  43. package/lib/drawer/drawer.js +5 -2
  44. package/lib/notification-base/notification.js +4 -3
  45. package/lib/pagination/style/index.css +1 -3
  46. package/lib/pagination/style/index.less +1 -3
  47. package/lib/transfer/style/index.css +0 -3
  48. package/lib/transfer/style/index.less +0 -3
  49. package/package.json +1 -1
@@ -42,7 +42,6 @@
42
42
  &-container {
43
43
  z-index: @z-index-apex;
44
44
  display: none;
45
- width: 100%;
46
45
  padding: @alert-padding-vertical @alert-padding-horizontal;
47
46
  align-items: center;
48
47
  transition: display 3s;
@@ -1281,6 +1280,9 @@
1281
1280
  text-align: center;
1282
1281
  background-color: transparent;
1283
1282
  cursor: pointer;
1283
+ white-space: nowrap;
1284
+ overflow: hidden;
1285
+ text-overflow: ellipsis;
1284
1286
  &,
1285
1287
  &:active,
1286
1288
  &:focus {
@@ -7031,9 +7033,7 @@ textarea {
7031
7033
 
7032
7034
  &:hover,
7033
7035
  &:active,
7034
- &.active,
7035
- &:first-child,
7036
- &:last-child {
7036
+ &.active {
7037
7037
  button {
7038
7038
  color: @color-theme;
7039
7039
  }
@@ -13515,9 +13515,6 @@ template {
13515
13515
  & + .@{kd-prefix}-btn {
13516
13516
  margin-top: 20px;
13517
13517
  }
13518
- .@{kd-prefix}-btn-iconWrapper-left {
13519
- float: none;
13520
- }
13521
13518
  }
13522
13519
  }
13523
13520
  }
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.5.9
3
+ * @kdcloudjs/kdesign v1.5.10
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -2155,7 +2155,6 @@ template {
2155
2155
  .kd-alert-container {
2156
2156
  z-index: var(--kd-g-z-index-apex, 9999);
2157
2157
  display: none;
2158
- width: 100%;
2159
2158
  padding: var(--kd-c-alert-sizing-padding-vertical, 12px) var(--kd-c-alert-sizing-padding-horizontal, 20px);
2160
2159
  -webkit-box-align: center;
2161
2160
  -ms-flex-align: center;
@@ -3446,6 +3445,9 @@ template {
3446
3445
  text-align: center;
3447
3446
  background-color: transparent;
3448
3447
  cursor: pointer;
3448
+ white-space: nowrap;
3449
+ overflow: hidden;
3450
+ text-overflow: ellipsis;
3449
3451
  -webkit-transition: color 0.3s, background-color 0.3s, border-color 0.3s;
3450
3452
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
3451
3453
  }
@@ -11580,9 +11582,7 @@ textarea {
11580
11582
  }
11581
11583
  .kd-pagination.less .kd-pagination-pages-item:hover button,
11582
11584
  .kd-pagination.less .kd-pagination-pages-item:active button,
11583
- .kd-pagination.less .kd-pagination-pages-item.active button,
11584
- .kd-pagination.less .kd-pagination-pages-item:first-child button,
11585
- .kd-pagination.less .kd-pagination-pages-item:last-child button {
11585
+ .kd-pagination.less .kd-pagination-pages-item.active button {
11586
11586
  color: var(--kd-g-color-theme, #5582f3);
11587
11587
  }
11588
11588
  .kd-pagination.less .kd-pagination-pages-item:first-child button,
@@ -18265,9 +18265,6 @@ textarea {
18265
18265
  .kd-transfer-operation .kd-btn + .kd-btn {
18266
18266
  margin-top: 20px;
18267
18267
  }
18268
- .kd-transfer-operation .kd-btn .kd-btn-iconWrapper-left {
18269
- float: none;
18270
- }
18271
18268
 
18272
18269
  /* ----------- color ——————---- start */
18273
18270
  /* ----------- color ——————---- end */