@kdcloudjs/kdesign 1.8.22 → 1.8.24

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 (37) hide show
  1. package/dist/kdesign-complete.less +20 -7
  2. package/dist/kdesign.css +23 -10
  3. package/dist/kdesign.css.map +1 -1
  4. package/dist/kdesign.js +115 -60
  5. package/dist/kdesign.js.map +1 -1
  6. package/dist/kdesign.min.css +3 -3
  7. package/dist/kdesign.min.js +9 -9
  8. package/dist/kdesign.min.js.map +1 -1
  9. package/es/color-picker/color-picker-panel.js +39 -21
  10. package/es/color-picker/color-picker.d.ts +3 -3
  11. package/es/color-picker/color-picker.js +19 -4
  12. package/es/color-picker/interface.d.ts +6 -0
  13. package/es/color-picker/style/index.css +19 -6
  14. package/es/color-picker/style/index.less +18 -5
  15. package/es/color-picker/utils/removeTransparency.d.ts +3 -0
  16. package/es/color-picker/utils/removeTransparency.js +4 -0
  17. package/es/config-provider/compDefaultProps.d.ts +1 -0
  18. package/es/config-provider/compDefaultProps.js +1 -0
  19. package/es/icon/icon.js +3 -1
  20. package/es/input/style/index.css +3 -3
  21. package/es/input/style/index.less +1 -1
  22. package/es/input/style/token.less +1 -1
  23. package/lib/color-picker/color-picker-panel.js +39 -21
  24. package/lib/color-picker/color-picker.d.ts +3 -3
  25. package/lib/color-picker/color-picker.js +18 -3
  26. package/lib/color-picker/interface.d.ts +6 -0
  27. package/lib/color-picker/style/index.css +19 -6
  28. package/lib/color-picker/style/index.less +18 -5
  29. package/lib/color-picker/utils/removeTransparency.d.ts +3 -0
  30. package/lib/color-picker/utils/removeTransparency.js +11 -0
  31. package/lib/config-provider/compDefaultProps.d.ts +1 -0
  32. package/lib/config-provider/compDefaultProps.js +1 -0
  33. package/lib/icon/icon.js +3 -1
  34. package/lib/input/style/index.css +3 -3
  35. package/lib/input/style/index.less +1 -1
  36. package/lib/input/style/token.less +1 -1
  37. package/package.json +1 -1
@@ -3373,7 +3373,6 @@
3373
3373
  height: 100%;
3374
3374
  width: 100%;
3375
3375
  padding: 0 8px;
3376
- border-bottom: 1px solid rgba(217, 217, 217, 1);
3377
3376
  font-size: @color-picker-input-font-size;
3378
3377
  }
3379
3378
 
@@ -3407,15 +3406,27 @@
3407
3406
  width: @color-picker-panel-sizing-width;
3408
3407
 
3409
3408
  &.topLeft.hidden,
3409
+ &.topRight.hidden {
3410
+ animation-name: kdSlideDownOut;
3411
+ }
3412
+
3413
+ &.topLeft,
3414
+ &.topRight {
3415
+ animation-name: kdSlideDownIn;
3416
+ }
3417
+
3410
3418
  &.bottomLeft.hidden,
3411
- &.topRight.hidden,
3412
3419
  &.bottomRight.hidden {
3413
- opacity: 0;
3414
- visibility: hidden;
3415
- transition: all calc(@transition-duration - 0.1s) @ease;
3420
+ animation-name: kdSlideUpOut;
3421
+ }
3422
+
3423
+ &.bottomLeft,
3424
+ &.bottomRight {
3425
+ animation-name: kdSlideUpIn;
3416
3426
  }
3417
3427
 
3418
3428
  .@{color-picker-prefix-cls}-panel {
3429
+ position: relative;
3419
3430
  box-sizing: border-box;
3420
3431
  width: @color-picker-panel-sizing-width;
3421
3432
  padding: 4px 12px 16px;
@@ -3635,6 +3646,8 @@
3635
3646
 
3636
3647
  .@{kd-prefix}-select,
3637
3648
  .@{kd-prefix}-select-selection-item {
3649
+ min-height: unset;
3650
+ line-height: unset;
3638
3651
  overflow: visible;
3639
3652
  text-overflow: unset;
3640
3653
  }
@@ -6496,7 +6509,7 @@ textarea {
6496
6509
  &-disabled {
6497
6510
  background-color: @input-background-color-disabled-inner;
6498
6511
  border-color: @input-border-color-disabled-inner;
6499
- color: @input-affix-color;
6512
+ color: @color-text-primary;
6500
6513
  cursor: not-allowed;
6501
6514
  }
6502
6515
 
@@ -6844,7 +6857,7 @@ textarea {
6844
6857
  @input-border-color-disabled-inner: var(~'@{input-prefix}-color-border-disabled', @color-border-strong);
6845
6858
  @input-underline-border-color-disabled-inner: var(~'@{input-prefix}-underline-color-border-disabled', @color-border-weak);
6846
6859
  @input-color-disabled-inner: var(~'@{input-prefix}-color-disabled', @color-disabled);
6847
- @input-affix-color: var(~'@{input-prefix}-affix-color-text', #666);
6860
+ @input-affix-color: var(~'@{input-prefix}-affix-color-text', #999);
6848
6861
  @input-error-color: var(~'@{input-prefix}-color-error', @color-error);
6849
6862
 
6850
6863
  // font
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.22
3
+ * @kdcloudjs/kdesign v1.8.24
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -6980,7 +6980,6 @@ template {
6980
6980
  height: 100%;
6981
6981
  width: 100%;
6982
6982
  padding: 0 8px;
6983
- border-bottom: 1px solid #d9d9d9;
6984
6983
  font-size: var(--kd-c-color-picker-input-font-size, var(--kd-g-font-size-middle, 14px));
6985
6984
  }
6986
6985
  .kd-color-picker-container .kd-color-picker-icon-container {
@@ -7015,15 +7014,27 @@ template {
7015
7014
  width: var(--kd-c-color-picker-panel-sizing-width, 304px);
7016
7015
  }
7017
7016
  .kd-color-picker-pop.topLeft.hidden,
7017
+ .kd-color-picker-pop.topRight.hidden {
7018
+ -webkit-animation-name: kdSlideDownOut;
7019
+ animation-name: kdSlideDownOut;
7020
+ }
7021
+ .kd-color-picker-pop.topLeft,
7022
+ .kd-color-picker-pop.topRight {
7023
+ -webkit-animation-name: kdSlideDownIn;
7024
+ animation-name: kdSlideDownIn;
7025
+ }
7018
7026
  .kd-color-picker-pop.bottomLeft.hidden,
7019
- .kd-color-picker-pop.topRight.hidden,
7020
7027
  .kd-color-picker-pop.bottomRight.hidden {
7021
- opacity: 0;
7022
- visibility: hidden;
7023
- -webkit-transition: all calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
7024
- transition: all calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
7028
+ -webkit-animation-name: kdSlideUpOut;
7029
+ animation-name: kdSlideUpOut;
7030
+ }
7031
+ .kd-color-picker-pop.bottomLeft,
7032
+ .kd-color-picker-pop.bottomRight {
7033
+ -webkit-animation-name: kdSlideUpIn;
7034
+ animation-name: kdSlideUpIn;
7025
7035
  }
7026
7036
  .kd-color-picker-pop .kd-color-picker-panel {
7037
+ position: relative;
7027
7038
  -webkit-box-sizing: border-box;
7028
7039
  box-sizing: border-box;
7029
7040
  width: var(--kd-c-color-picker-panel-sizing-width, 304px);
@@ -7215,6 +7226,8 @@ template {
7215
7226
  }
7216
7227
  .kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select .kd-select,
7217
7228
  .kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select .kd-select-selection-item {
7229
+ min-height: unset;
7230
+ line-height: unset;
7218
7231
  overflow: visible;
7219
7232
  text-overflow: unset;
7220
7233
  }
@@ -11222,7 +11235,7 @@ textarea {
11222
11235
  .kd-input-disabled {
11223
11236
  background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
11224
11237
  border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
11225
- color: var(--kd-c-input-affix-color-text, #666);
11238
+ color: var(--kd-g-color-text-primary, #212121);
11226
11239
  cursor: not-allowed;
11227
11240
  }
11228
11241
  .kd-input-underline.kd-input-disabled {
@@ -11358,7 +11371,7 @@ textarea {
11358
11371
  -ms-flex-pack: center;
11359
11372
  justify-content: center;
11360
11373
  word-break: keep-all;
11361
- color: var(--kd-c-input-affix-color-text, #666);
11374
+ color: var(--kd-c-input-affix-color-text, #999);
11362
11375
  }
11363
11376
  .kd-input-wrapper-size-small {
11364
11377
  height: var(--kd-c-input-sizing-height-small, 20px);
@@ -11557,7 +11570,7 @@ textarea {
11557
11570
  }
11558
11571
  .kd-input-group-wrapper .kd-input-group .kd-input-group-addon {
11559
11572
  position: relative;
11560
- color: var(--kd-c-input-affix-color-text, #666);
11573
+ color: var(--kd-c-input-affix-color-text, #999);
11561
11574
  padding: 0 9px;
11562
11575
  font-weight: 400;
11563
11576
  font-size: 14px;