@kdcloudjs/kdesign 1.3.6 → 1.3.7

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.
@@ -1001,6 +1001,9 @@
1001
1001
  &.@{btn-prefix-cls}-icon-only {
1002
1002
  font-size: @btn-icon-small-font-size;
1003
1003
  padding: 0 @btn-icon-padding-horizontal;
1004
+ display: inline-flex;
1005
+ justify-content: center;
1006
+ align-items: center;
1004
1007
  }
1005
1008
 
1006
1009
  .@{btn-prefix-cls}-group-basic-icon {
@@ -1014,6 +1017,9 @@
1014
1017
  &.@{btn-prefix-cls}-icon-only {
1015
1018
  font-size: @btn-icon-middle-font-size;
1016
1019
  padding: 0 @btn-icon-padding-horizontal;
1020
+ display: inline-flex;
1021
+ justify-content: center;
1022
+ align-items: center;
1017
1023
  }
1018
1024
 
1019
1025
  .@{btn-prefix-cls}-group-basic-icon {
@@ -1027,6 +1033,9 @@
1027
1033
  &.@{btn-prefix-cls}-icon-only {
1028
1034
  font-size: @btn-icon-large-font-size;
1029
1035
  padding: 0 @btn-icon-padding-horizontal;
1036
+ display: inline-flex;
1037
+ justify-content: center;
1038
+ align-items: center;
1030
1039
  }
1031
1040
 
1032
1041
  .@{btn-prefix-cls}-group-basic-icon {
@@ -1121,6 +1130,9 @@
1121
1130
  // 加载中按钮
1122
1131
  &-loading {
1123
1132
  cursor: default;
1133
+ display: inline-flex;
1134
+ justify-content: center;
1135
+ align-items: center;
1124
1136
  }
1125
1137
  // 按钮开启块化撑满父元素
1126
1138
  &-block {
@@ -1158,11 +1170,11 @@
1158
1170
  background: @btn-group-trigger-color-background-hover;
1159
1171
  border-color: @btn-group-trigger-color-background-hover;
1160
1172
  }
1161
-
1173
+
1162
1174
  &:active {
1163
1175
  background: @btn-group-trigger-color-background-active;
1164
1176
  }
1165
-
1177
+
1166
1178
  &:disabled {
1167
1179
  background: @btn-group-trigger-color-background-disabled !important;
1168
1180
  }
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.3.5
3
+ * @kdcloudjs/kdesign v1.3.6
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -3552,6 +3552,15 @@ template {
3552
3552
  .kd-btn-size-small.kd-btn-icon-only {
3553
3553
  font-size: var(--kd-c-button-icon-font-size-small, 14px);
3554
3554
  padding: 0 var(--kd-c-button-icon-spacing-padding-horizontal, 4px);
3555
+ display: -webkit-inline-box;
3556
+ display: -ms-inline-flexbox;
3557
+ display: inline-flex;
3558
+ -webkit-box-pack: center;
3559
+ -ms-flex-pack: center;
3560
+ justify-content: center;
3561
+ -webkit-box-align: center;
3562
+ -ms-flex-align: center;
3563
+ align-items: center;
3555
3564
  }
3556
3565
  .kd-btn-size-small .kd-btn-group-basic-icon {
3557
3566
  font-size: var(--kd-c-button-icon-font-size-small, 14px);
@@ -3566,6 +3575,15 @@ template {
3566
3575
  .kd-btn-size-middle.kd-btn-icon-only {
3567
3576
  font-size: var(--kd-c-button-icon-font-size-middle, 16px);
3568
3577
  padding: 0 var(--kd-c-button-icon-spacing-padding-horizontal, 4px);
3578
+ display: -webkit-inline-box;
3579
+ display: -ms-inline-flexbox;
3580
+ display: inline-flex;
3581
+ -webkit-box-pack: center;
3582
+ -ms-flex-pack: center;
3583
+ justify-content: center;
3584
+ -webkit-box-align: center;
3585
+ -ms-flex-align: center;
3586
+ align-items: center;
3569
3587
  }
3570
3588
  .kd-btn-size-middle .kd-btn-group-basic-icon {
3571
3589
  font-size: var(--kd-c-button-icon-font-size-middle, 16px);
@@ -3580,6 +3598,15 @@ template {
3580
3598
  .kd-btn-size-large.kd-btn-icon-only {
3581
3599
  font-size: var(--kd-c-button-icon-font-size-large, 18px);
3582
3600
  padding: 0 var(--kd-c-button-icon-spacing-padding-horizontal, 4px);
3601
+ display: -webkit-inline-box;
3602
+ display: -ms-inline-flexbox;
3603
+ display: inline-flex;
3604
+ -webkit-box-pack: center;
3605
+ -ms-flex-pack: center;
3606
+ justify-content: center;
3607
+ -webkit-box-align: center;
3608
+ -ms-flex-align: center;
3609
+ align-items: center;
3583
3610
  }
3584
3611
  .kd-btn-size-large .kd-btn-group-basic-icon {
3585
3612
  font-size: var(--kd-c-button-icon-font-size-large, 18px);
@@ -3648,6 +3675,15 @@ template {
3648
3675
  }
3649
3676
  .kd-btn-loading {
3650
3677
  cursor: default;
3678
+ display: -webkit-inline-box;
3679
+ display: -ms-inline-flexbox;
3680
+ display: inline-flex;
3681
+ -webkit-box-pack: center;
3682
+ -ms-flex-pack: center;
3683
+ justify-content: center;
3684
+ -webkit-box-align: center;
3685
+ -ms-flex-align: center;
3686
+ align-items: center;
3651
3687
  }
3652
3688
  .kd-btn-block {
3653
3689
  width: 100%;