@kdcloudjs/kdesign 1.7.27 → 1.7.29

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [1.7.27](https://github.com/kdcloudone/kdesign/compare/v1.7.26...v1.7.27) (2023-09-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [city-picker] 修复国内版常用面板无省份数据时显示国家名 fix [#576](https://github.com/kdcloudone/kdesign/issues/576) ([9783592](https://github.com/kdcloudone/kdesign/commit/9783592babfdaed9044ab9624b43922999163905))
7
+ * [city-picker] 修复下拉面板不关闭问题 fix [#575](https://github.com/kdcloudone/kdesign/issues/575) ([e274112](https://github.com/kdcloudone/kdesign/commit/e274112c10e53963233545fc4b16174d16c4ee68))
8
+
9
+
10
+ ### Features
11
+
12
+ * [city-picker] 新增快捷键功能 fix [#582](https://github.com/kdcloudone/kdesign/issues/582) ([4ee705c](https://github.com/kdcloudone/kdesign/commit/4ee705c43cc29c96bb497a42ffa3d46e8a657b03))
13
+ * [cli] 添加开发新组件说明文档 ([5d23b02](https://github.com/kdcloudone/kdesign/commit/5d23b029c3c10bba0099d885ec255ad9f48e150f))
14
+ * 国际化专项token开放第二批组件 ([fd2e704](https://github.com/kdcloudone/kdesign/commit/fd2e7044c7622c2e585242b030ba1fd58dfe201a))
15
+
16
+
17
+
1
18
  ## [1.7.26](https://github.com/kdcloudone/kdesign/compare/v1.7.25...v1.7.26) (2023-09-08)
2
19
 
3
20
 
@@ -216,7 +216,7 @@ module.exports = {
216
216
  "radio-border-width": "1px",
217
217
  "radio-margin-right": "8px",
218
218
  "radio-transition-fn": "cubic-bezier(0.075, 0.82, 0.165, 1)",
219
- "radio-circle-size": "13px",
219
+ "radio-circle-size": "14px",
220
220
  "radio-square-height": "32px",
221
221
  "radio-square-padding": "0 20px",
222
222
  "radio-button-height": "24px",
@@ -2570,6 +2570,7 @@
2570
2570
  opacity: 0;
2571
2571
  z-index: 1;
2572
2572
  position: absolute;
2573
+ top: 0;
2573
2574
  background: #fff;
2574
2575
  transition: opacity 0.15s ease;
2575
2576
  &:hover {
@@ -2586,6 +2587,10 @@
2586
2587
  text-overflow: ellipsis;
2587
2588
  right: 24px;
2588
2589
  left: 0;
2590
+ top: 0;
2591
+ bottom: 0;
2592
+ display: flex;
2593
+ align-items: center;
2589
2594
  }
2590
2595
 
2591
2596
  &-borderless {
@@ -2789,6 +2794,8 @@
2789
2794
 
2790
2795
  &-suffix {
2791
2796
  right: 0;
2797
+ top: 0;
2798
+ bottom: 0;
2792
2799
  position: absolute;
2793
2800
  display: flex;
2794
2801
  flex: 0;
@@ -9765,6 +9772,10 @@ textarea {
9765
9772
  &-clear {
9766
9773
  opacity: 0;
9767
9774
  z-index: 1;
9775
+ top: 0;
9776
+ bottom: 0;
9777
+ display: flex;
9778
+ align-items: center;
9768
9779
  position: absolute;
9769
9780
  background: #fff;
9770
9781
  transition: opacity 0.15s ease;
@@ -9785,6 +9796,11 @@ textarea {
9785
9796
  text-overflow: ellipsis;
9786
9797
  right: 28px;
9787
9798
  left: 0;
9799
+ top: 0;
9800
+ bottom: 0;
9801
+ z-index: -1;
9802
+ display: flex;
9803
+ align-items: center;
9788
9804
  }
9789
9805
 
9790
9806
  &-borderless {
@@ -9939,6 +9955,8 @@ textarea {
9939
9955
 
9940
9956
  &-suffix {
9941
9957
  right: 0;
9958
+ top: 0;
9959
+ bottom: 0;
9942
9960
  position: absolute;
9943
9961
  display: flex;
9944
9962
  flex: 0;
@@ -9954,6 +9972,10 @@ textarea {
9954
9972
  right: 28px;
9955
9973
  left: 0;
9956
9974
  height: 100%;
9975
+ top: 0;
9976
+ bottom: 0;
9977
+ display: flex;
9978
+ align-items: center;
9957
9979
  &-input {
9958
9980
  outline: 0;
9959
9981
  border-radius: 0;
@@ -10008,9 +10030,6 @@ textarea {
10008
10030
  align-items: center;
10009
10031
  vertical-align: middle;
10010
10032
  max-width: 100%;
10011
- height: 20px;
10012
- line-height: 20px;
10013
- margin: 2px 8px 2px 0;
10014
10033
  cursor: default;
10015
10034
  user-select: none;
10016
10035
  &-small {
@@ -10177,6 +10196,11 @@ textarea {
10177
10196
  min-height: @height;
10178
10197
  max-height: calc(@maxHeight * 3 - 10px);
10179
10198
  font-size: @fontSize;
10199
+
10200
+ .@{select-prefix-cls}-selection-item {
10201
+ min-height: calc(@height - 4px);
10202
+ line-height: calc(@height - 4px);
10203
+ }
10180
10204
  }
10181
10205
 
10182
10206
  .over() {
@@ -10210,7 +10234,6 @@ textarea {
10210
10234
  }
10211
10235
  }
10212
10236
 
10213
-
10214
10237
  @keyframes SlideUpIn {
10215
10238
  0% {
10216
10239
  transform: scaleY(0.8);
@@ -10235,7 +10258,8 @@ textarea {
10235
10258
  transform-origin: 100% 100%;
10236
10259
  opacity: 0;
10237
10260
  }
10238
- }
10261
+ }
10262
+
10239
10263
 
10240
10264
 
10241
10265
  @select-custom-prefix: ~'--@{kd-prefix}-c-select';
@@ -12587,7 +12611,7 @@ template {
12587
12611
  @radio-border-width: 1px;
12588
12612
  @radio-margin-right: 8px;
12589
12613
  @radio-transition-fn: cubic-bezier(0.075, 0.82, 0.165, 1);
12590
- @radio-circle-size: 13px;
12614
+ @radio-circle-size: 14px;
12591
12615
  @radio-square-height: 32px;
12592
12616
  @radio-square-padding: 0 20px;
12593
12617
  @radio-button-height: 24px;
@@ -13013,6 +13037,7 @@ template {
13013
13037
 
13014
13038
  /* ----------- AdvancedSelector ——————---- end */
13015
13039
 
13040
+
13016
13041
  @global-custom-prefix: '--@{kd-prefix}-g';
13017
13042
 
13018
13043
  @color-theme: var(~'@{global-custom-prefix}-color-theme', @theme-color);
package/dist/kdesign.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.26
3
+ * @kdcloudjs/kdesign v1.7.28
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -5445,6 +5445,7 @@ template {
5445
5445
  opacity: 0;
5446
5446
  z-index: 1;
5447
5447
  position: absolute;
5448
+ top: 0;
5448
5449
  background: #fff;
5449
5450
  -webkit-transition: opacity 0.15s ease;
5450
5451
  transition: opacity 0.15s ease;
@@ -5460,6 +5461,14 @@ template {
5460
5461
  text-overflow: ellipsis;
5461
5462
  right: 24px;
5462
5463
  left: 0;
5464
+ top: 0;
5465
+ bottom: 0;
5466
+ display: -webkit-box;
5467
+ display: -ms-flexbox;
5468
+ display: flex;
5469
+ -webkit-box-align: center;
5470
+ -ms-flex-align: center;
5471
+ align-items: center;
5463
5472
  }
5464
5473
  .kd-city-picker-borderless {
5465
5474
  border: none;
@@ -5666,6 +5675,8 @@ template {
5666
5675
  }
5667
5676
  .kd-city-picker-suffix {
5668
5677
  right: 0;
5678
+ top: 0;
5679
+ bottom: 0;
5669
5680
  position: absolute;
5670
5681
  display: -webkit-box;
5671
5682
  display: -ms-flexbox;
@@ -15118,6 +15129,14 @@ textarea {
15118
15129
  .kd-select-icon-clear {
15119
15130
  opacity: 0;
15120
15131
  z-index: 1;
15132
+ top: 0;
15133
+ bottom: 0;
15134
+ display: -webkit-box;
15135
+ display: -ms-flexbox;
15136
+ display: flex;
15137
+ -webkit-box-align: center;
15138
+ -ms-flex-align: center;
15139
+ align-items: center;
15121
15140
  position: absolute;
15122
15141
  background: #fff;
15123
15142
  -webkit-transition: opacity 0.15s ease;
@@ -15137,6 +15156,15 @@ textarea {
15137
15156
  text-overflow: ellipsis;
15138
15157
  right: 28px;
15139
15158
  left: 0;
15159
+ top: 0;
15160
+ bottom: 0;
15161
+ z-index: -1;
15162
+ display: -webkit-box;
15163
+ display: -ms-flexbox;
15164
+ display: flex;
15165
+ -webkit-box-align: center;
15166
+ -ms-flex-align: center;
15167
+ align-items: center;
15140
15168
  }
15141
15169
  .kd-select-borderless {
15142
15170
  border: none;
@@ -15271,18 +15299,32 @@ textarea {
15271
15299
  max-height: calc(var(--kd-c-select-sizing-height-small, 24px) * 3 - 10px);
15272
15300
  font-size: var(--kd-c-select-font-size-small, 12px);
15273
15301
  }
15302
+ .kd-select-size-small .kd-select-selection-item {
15303
+ min-height: calc(var(--kd-c-select-sizing-height-small, 24px) - 4px);
15304
+ line-height: calc(var(--kd-c-select-sizing-height-small, 24px) - 4px);
15305
+ }
15274
15306
  .kd-select-size-middle {
15275
15307
  min-height: var(--kd-c-select-sizing-height-middle, 30px);
15276
15308
  max-height: calc(var(--kd-c-select-sizing-height-middle, 30px) * 3 - 10px);
15277
15309
  font-size: var(--kd-c-select-font-size-middle, 14px);
15278
15310
  }
15311
+ .kd-select-size-middle .kd-select-selection-item {
15312
+ min-height: calc(var(--kd-c-select-sizing-height-middle, 30px) - 4px);
15313
+ line-height: calc(var(--kd-c-select-sizing-height-middle, 30px) - 4px);
15314
+ }
15279
15315
  .kd-select-size-large {
15280
15316
  min-height: var(--kd-c-select-sizing-height-large, 36px);
15281
15317
  max-height: calc(var(--kd-c-select-sizing-height-large, 36px) * 3 - 10px);
15282
15318
  font-size: var(--kd-c-select-font-size-large, 16px);
15283
15319
  }
15320
+ .kd-select-size-large .kd-select-selection-item {
15321
+ min-height: calc(var(--kd-c-select-sizing-height-large, 36px) - 4px);
15322
+ line-height: calc(var(--kd-c-select-sizing-height-large, 36px) - 4px);
15323
+ }
15284
15324
  .kd-select-suffix {
15285
15325
  right: 0;
15326
+ top: 0;
15327
+ bottom: 0;
15286
15328
  position: absolute;
15287
15329
  display: -webkit-box;
15288
15330
  display: -ms-flexbox;
@@ -15305,6 +15347,14 @@ textarea {
15305
15347
  right: 28px;
15306
15348
  left: 0;
15307
15349
  height: 100%;
15350
+ top: 0;
15351
+ bottom: 0;
15352
+ display: -webkit-box;
15353
+ display: -ms-flexbox;
15354
+ display: flex;
15355
+ -webkit-box-align: center;
15356
+ -ms-flex-align: center;
15357
+ align-items: center;
15308
15358
  }
15309
15359
  .kd-select .kd-select-single .kd-select-selection-search-input {
15310
15360
  outline: 0;
@@ -15363,9 +15413,6 @@ textarea {
15363
15413
  align-items: center;
15364
15414
  vertical-align: middle;
15365
15415
  max-width: 100%;
15366
- height: 20px;
15367
- line-height: 20px;
15368
- margin: 2px 8px 2px 0;
15369
15416
  cursor: default;
15370
15417
  -webkit-user-select: none;
15371
15418
  -moz-user-select: none;