@kdcloudjs/kdesign 1.8.22 → 1.8.23

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 +18 -7
  2. package/dist/kdesign.css +21 -10
  3. package/dist/kdesign.css.map +1 -1
  4. package/dist/kdesign.js +117 -64
  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 +41 -24
  10. package/es/color-picker/color-picker.d.ts +3 -3
  11. package/es/color-picker/color-picker.js +20 -5
  12. package/es/color-picker/interface.d.ts +6 -0
  13. package/es/color-picker/style/index.css +17 -6
  14. package/es/color-picker/style/index.less +16 -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 +41 -24
  24. package/lib/color-picker/color-picker.d.ts +3 -3
  25. package/lib/color-picker/color-picker.js +19 -4
  26. package/lib/color-picker/interface.d.ts +6 -0
  27. package/lib/color-picker/style/index.css +17 -6
  28. package/lib/color-picker/style/index.less +16 -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;
@@ -6496,7 +6507,7 @@ textarea {
6496
6507
  &-disabled {
6497
6508
  background-color: @input-background-color-disabled-inner;
6498
6509
  border-color: @input-border-color-disabled-inner;
6499
- color: @input-affix-color;
6510
+ color: @color-text-primary;
6500
6511
  cursor: not-allowed;
6501
6512
  }
6502
6513
 
@@ -6844,7 +6855,7 @@ textarea {
6844
6855
  @input-border-color-disabled-inner: var(~'@{input-prefix}-color-border-disabled', @color-border-strong);
6845
6856
  @input-underline-border-color-disabled-inner: var(~'@{input-prefix}-underline-color-border-disabled', @color-border-weak);
6846
6857
  @input-color-disabled-inner: var(~'@{input-prefix}-color-disabled', @color-disabled);
6847
- @input-affix-color: var(~'@{input-prefix}-affix-color-text', #666);
6858
+ @input-affix-color: var(~'@{input-prefix}-affix-color-text', #999);
6848
6859
  @input-error-color: var(~'@{input-prefix}-color-error', @color-error);
6849
6860
 
6850
6861
  // 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.23
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);
@@ -11222,7 +11233,7 @@ textarea {
11222
11233
  .kd-input-disabled {
11223
11234
  background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
11224
11235
  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);
11236
+ color: var(--kd-g-color-text-primary, #212121);
11226
11237
  cursor: not-allowed;
11227
11238
  }
11228
11239
  .kd-input-underline.kd-input-disabled {
@@ -11358,7 +11369,7 @@ textarea {
11358
11369
  -ms-flex-pack: center;
11359
11370
  justify-content: center;
11360
11371
  word-break: keep-all;
11361
- color: var(--kd-c-input-affix-color-text, #666);
11372
+ color: var(--kd-c-input-affix-color-text, #999);
11362
11373
  }
11363
11374
  .kd-input-wrapper-size-small {
11364
11375
  height: var(--kd-c-input-sizing-height-small, 20px);
@@ -11557,7 +11568,7 @@ textarea {
11557
11568
  }
11558
11569
  .kd-input-group-wrapper .kd-input-group .kd-input-group-addon {
11559
11570
  position: relative;
11560
- color: var(--kd-c-input-affix-color-text, #666);
11571
+ color: var(--kd-c-input-affix-color-text, #999);
11561
11572
  padding: 0 9px;
11562
11573
  font-weight: 400;
11563
11574
  font-size: 14px;