@kdcloudjs/kdesign 1.8.1 → 1.8.3

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.
@@ -10983,22 +10983,36 @@ textarea {
10983
10983
 
10984
10984
  .@{signature-prefix-cls} {
10985
10985
  box-sizing: border-box;
10986
- border: 1px dashed #e5e5e5;
10987
10986
  width: 100%;
10988
10987
  height: 100%;
10989
- display: flex;
10990
- flex-direction: column;
10991
- justify-content: center;
10992
- align-items: center;
10993
- background: @signature-bg-color;
10994
- color: @signature-color-text;
10995
- font-size: @signature-font-size;
10996
- cursor: pointer;
10997
- border-radius: @signature-border-radius;
10998
- transition: border-color @signature-transition-duration, background-color @signature-transition-duration;
10999
- &:hover {
11000
- border-color: @signature-border-color-hover;
11001
- background-color: @signature-bg-color-hover;
10988
+ &-image {
10989
+ width: 100%;
10990
+ height: 100%;
10991
+ box-sizing: border-box;
10992
+ img {
10993
+ width: 100%;
10994
+ height: 100%;
10995
+ }
10996
+ }
10997
+ &-empty {
10998
+ box-sizing: border-box;
10999
+ width: 100%;
11000
+ height: 100%;
11001
+ border: 1px dashed #e5e5e5;
11002
+ display: flex;
11003
+ flex-direction: column;
11004
+ justify-content: center;
11005
+ align-items: center;
11006
+ background: @signature-bg-color;
11007
+ color: @signature-color-text;
11008
+ font-size: @signature-font-size;
11009
+ cursor: pointer;
11010
+ border-radius: @signature-border-radius;
11011
+ transition: border-color @signature-transition-duration, background-color @signature-transition-duration;
11012
+ &:hover {
11013
+ border-color: @signature-border-color-hover;
11014
+ background-color: @signature-bg-color-hover;
11015
+ }
11002
11016
  }
11003
11017
  }
11004
11018
  .@{signature-prefix-cls}.@{signature-prefix-cls}-disabled {
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.0
3
+ * @kdcloudjs/kdesign v1.8.2
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -16860,9 +16860,25 @@ textarea {
16860
16860
  .kd-signature {
16861
16861
  -webkit-box-sizing: border-box;
16862
16862
  box-sizing: border-box;
16863
- border: 1px dashed #e5e5e5;
16864
16863
  width: 100%;
16865
16864
  height: 100%;
16865
+ }
16866
+ .kd-signature-image {
16867
+ width: 100%;
16868
+ height: 100%;
16869
+ -webkit-box-sizing: border-box;
16870
+ box-sizing: border-box;
16871
+ }
16872
+ .kd-signature-image img {
16873
+ width: 100%;
16874
+ height: 100%;
16875
+ }
16876
+ .kd-signature-empty {
16877
+ -webkit-box-sizing: border-box;
16878
+ box-sizing: border-box;
16879
+ width: 100%;
16880
+ height: 100%;
16881
+ border: 1px dashed #e5e5e5;
16866
16882
  display: -webkit-box;
16867
16883
  display: -ms-flexbox;
16868
16884
  display: flex;
@@ -16884,7 +16900,7 @@ textarea {
16884
16900
  -webkit-transition: border-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s));
16885
16901
  transition: border-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s));
16886
16902
  }
16887
- .kd-signature:hover {
16903
+ .kd-signature-empty:hover {
16888
16904
  border-color: var(--kd-c-signature-border-color-hover, var(--kd-g-color-theme-5, #87adff));
16889
16905
  background-color: var(--kd-c-signature-bg-color-hover, var(--kd-g-color-theme-1, #f2f8ff));
16890
16906
  }