@kdcloudjs/kdesign 1.6.6 → 1.6.8

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 (96) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/kdesign-complete.less +105 -105
  3. package/dist/kdesign.css +100 -83
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +741 -501
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +3 -3
  8. package/dist/kdesign.min.js +8 -8
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/carousel/style/index.css +3 -0
  11. package/es/carousel/style/index.less +4 -0
  12. package/es/cascader/style/index.css +7 -7
  13. package/es/cascader/style/token.less +2 -2
  14. package/es/config-provider/compDefaultProps.d.ts +4 -0
  15. package/es/config-provider/compDefaultProps.js +5 -1
  16. package/es/date-picker/date-picker.js +11 -14
  17. package/es/date-picker/panel/month/month.d.ts +0 -1
  18. package/es/date-picker/panel/month/month.js +6 -4
  19. package/es/date-picker/range/input-range.js +41 -11
  20. package/es/date-picker/range-picker.js +8 -11
  21. package/es/date-picker/single/input-date.js +40 -10
  22. package/es/date-picker/style/index.css +27 -23
  23. package/es/date-picker/style/index.less +16 -33
  24. package/es/date-picker/style/mixin.less +7 -0
  25. package/es/date-picker/style/token.less +2 -1
  26. package/es/form/Field.d.ts +1 -0
  27. package/es/form/Field.js +9 -5
  28. package/es/form/FieldLabel.d.ts +1 -0
  29. package/es/form/FieldLabel.js +4 -2
  30. package/es/input/ClearableLabeledInput.js +23 -5
  31. package/es/input/style/index.css +5 -8
  32. package/es/input/style/index.less +2 -5
  33. package/es/input/style/mixin.less +3 -3
  34. package/es/input/style/token.less +2 -0
  35. package/es/search/style/index.css +3 -1
  36. package/es/search/style/index.less +3 -1
  37. package/es/search/style/token.less +2 -1
  38. package/es/select/interface.d.ts +2 -0
  39. package/es/select/option.js +1 -1
  40. package/es/select/select.js +180 -128
  41. package/es/select/style/index.css +54 -24
  42. package/es/select/style/index.less +60 -43
  43. package/es/select/style/mixin.less +0 -2
  44. package/es/select/style/token.less +2 -0
  45. package/es/slider/slider.js +15 -13
  46. package/es/split-panel/style/index.css +0 -6
  47. package/es/split-panel/style/index.less +0 -3
  48. package/es/steps/style/index.css +0 -13
  49. package/es/steps/style/index.less +0 -11
  50. package/es/table/feature/mergeCellHover.d.ts +3 -0
  51. package/es/table/feature/mergeCellHover.js +7 -0
  52. package/es/table/table.js +2 -0
  53. package/lib/carousel/style/index.css +3 -0
  54. package/lib/carousel/style/index.less +4 -0
  55. package/lib/cascader/style/index.css +7 -7
  56. package/lib/cascader/style/token.less +2 -2
  57. package/lib/config-provider/compDefaultProps.d.ts +4 -0
  58. package/lib/config-provider/compDefaultProps.js +5 -1
  59. package/lib/date-picker/date-picker.js +10 -16
  60. package/lib/date-picker/panel/month/month.d.ts +0 -1
  61. package/lib/date-picker/panel/month/month.js +10 -8
  62. package/lib/date-picker/range/input-range.js +40 -11
  63. package/lib/date-picker/range-picker.js +7 -13
  64. package/lib/date-picker/single/input-date.js +37 -9
  65. package/lib/date-picker/style/index.css +27 -23
  66. package/lib/date-picker/style/index.less +16 -33
  67. package/lib/date-picker/style/mixin.less +7 -0
  68. package/lib/date-picker/style/token.less +2 -1
  69. package/lib/form/Field.d.ts +1 -0
  70. package/lib/form/Field.js +10 -6
  71. package/lib/form/FieldLabel.d.ts +1 -0
  72. package/lib/form/FieldLabel.js +4 -2
  73. package/lib/input/ClearableLabeledInput.js +34 -5
  74. package/lib/input/style/index.css +5 -8
  75. package/lib/input/style/index.less +2 -5
  76. package/lib/input/style/mixin.less +3 -3
  77. package/lib/input/style/token.less +2 -0
  78. package/lib/search/style/index.css +3 -1
  79. package/lib/search/style/index.less +3 -1
  80. package/lib/search/style/token.less +2 -1
  81. package/lib/select/interface.d.ts +2 -0
  82. package/lib/select/option.js +1 -1
  83. package/lib/select/select.js +179 -126
  84. package/lib/select/style/index.css +54 -24
  85. package/lib/select/style/index.less +60 -43
  86. package/lib/select/style/mixin.less +0 -2
  87. package/lib/select/style/token.less +2 -0
  88. package/lib/slider/slider.js +14 -12
  89. package/lib/split-panel/style/index.css +0 -6
  90. package/lib/split-panel/style/index.less +0 -3
  91. package/lib/steps/style/index.css +0 -13
  92. package/lib/steps/style/index.less +0 -11
  93. package/lib/table/feature/mergeCellHover.d.ts +3 -0
  94. package/lib/table/feature/mergeCellHover.js +15 -0
  95. package/lib/table/table.js +3 -0
  96. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,46 @@
1
+ ## [1.6.7](https://github.com/kdcloudone/kdesign/compare/v1.6.6...v1.6.7) (2022-10-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [carousel] 去除列表元素的默认样式 ([8080ed6](https://github.com/kdcloudone/kdesign/commit/8080ed679b8f94436abdb9d3376769fd42b539c5))
7
+ * [cascader] 更新清空按钮悬浮样式 ([8e52e06](https://github.com/kdcloudone/kdesign/commit/8e52e060b760d7302ec97563c8b294634b2a98e1))
8
+ * [date-pikcer]更新清空按钮颜色 ([819080b](https://github.com/kdcloudone/kdesign/commit/819080be0ef035a8cda1c57169aee10f87a71dab))
9
+ * [datepicker]修复bug及优化样式 ([008e434](https://github.com/kdcloudone/kdesign/commit/008e434e1a5966882f6af35bec76ce783c41e73d))
10
+ * [form]更新文档 ([c0bed1a](https://github.com/kdcloudone/kdesign/commit/c0bed1af151dc1915e63460c125371ebd85d814d))
11
+ * [form]item为label添加htmlFor属性 ([c5e1c08](https://github.com/kdcloudone/kdesign/commit/c5e1c085e92ed00714b90f878bc35a71fc3a5e7f))
12
+ * [input]修复清空按钮样式 ([995db86](https://github.com/kdcloudone/kdesign/commit/995db861d9e1f83da47d24c2864c30c13a4ce782))
13
+ * [modal] 修复强控制提示弹窗demo的多次点击重复隐藏问题 ([953cf88](https://github.com/kdcloudone/kdesign/commit/953cf88620f46f3006121fe04b6af363c0a0c202))
14
+ * [search] 增加搜索框圆角 ([8e75cd3](https://github.com/kdcloudone/kdesign/commit/8e75cd30aaee8943406c46dd5711c31ecaea003a))
15
+ * [select] 调整选择器清除按钮样式 ([62245b4](https://github.com/kdcloudone/kdesign/commit/62245b4fc87b84ff62a937c60e09d5ae1e90d330))
16
+ * [select] 去除选择器多余代码 ([ed79aac](https://github.com/kdcloudone/kdesign/commit/ed79aac4b4e925228fb4ac274dcdf07202efbea8))
17
+ * [select] 新增支持直接在输入框内输入内容搜索 ([b480ee7](https://github.com/kdcloudone/kdesign/commit/b480ee75279702dc5c59748d4825e5cf7fe73d01))
18
+ * [split-panel] 去掉分割容器拖动transition ([3e989b1](https://github.com/kdcloudone/kdesign/commit/3e989b1f07d56edc240fe8a7b896532b05547c5e))
19
+ * [steps] 修复title多行情况下布局错乱问题 ([7491d5f](https://github.com/kdcloudone/kdesign/commit/7491d5f7e753fde7facac1bd07f3a62a873b2907))
20
+
21
+
22
+ ### Features
23
+
24
+ * 添加融合行悬浮高亮 ([3e6b0c7](https://github.com/kdcloudone/kdesign/commit/3e6b0c77302701fe659b4d03909242317aedefe6))
25
+
26
+
27
+
28
+ ## [1.6.6](https://github.com/kdcloudone/kdesign/compare/v1.6.5...v1.6.6) (2022-09-29)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * [cli] 文档内容更新 ([409dd4c](https://github.com/kdcloudone/kdesign/commit/409dd4c59d224303ac4619e7b3ee862ca226e83b))
34
+ * [tooltip] 修复重复的token变量 ([eafce52](https://github.com/kdcloudone/kdesign/commit/eafce52af218ff3eb7120ca3ca69d2500efdff1a))
35
+
36
+
37
+ ### Features
38
+
39
+ * [input] 开放countPosition属性用来摆放计数器位置 ([999b540](https://github.com/kdcloudone/kdesign/commit/999b540b270cceb7c49a3b207ee7352098a62373))
40
+ * [table] 添加表格向外提供的api ([f8684f5](https://github.com/kdcloudone/kdesign/commit/f8684f53b3f1769340fe5cbe6a0c8457b7f74d0d))
41
+
42
+
43
+
1
44
  ## [1.6.5](https://github.com/kdcloudone/kdesign/compare/v1.6.4...v1.6.5) (2022-09-22)
2
45
 
3
46
 
@@ -1578,6 +1578,7 @@
1578
1578
 
1579
1579
  &-list {
1580
1580
  list-style: none;
1581
+ padding: 0;
1581
1582
  display: flex;
1582
1583
  flex-direction: row;
1583
1584
  position: relative;
@@ -1644,6 +1645,9 @@
1644
1645
 
1645
1646
  &-slidebar {
1646
1647
  position: absolute;
1648
+ list-style: none;
1649
+ padding: 0;
1650
+
1647
1651
  &-left {
1648
1652
  .vertical;
1649
1653
  left: @carousel-dots-margin-left;
@@ -1935,14 +1939,14 @@
1935
1939
  @cascader-menu-item-padding-horizontal: var(~'@{cascader-prefix}-menu-item-spacing-padding-horizontal', 12px);
1936
1940
 
1937
1941
  // colors
1938
- @cascader-active-color: var(~'@{cascader-prefix}-color-active', @color-theme);
1942
+ @cascader-active-color: var(~'@{cascader-prefix}-color-active', #999);
1939
1943
  @cascader-color: var(~'@{cascader-prefix}-color-text', @color-text-primary);
1940
1944
  @cascader-bg-color: var(~'@{cascader-prefix}-color-background', @color-white);
1941
1945
  @cascader-hover-bg-color: var(~'@{cascader-prefix}-color-background-hover', @color-hover);
1942
1946
  @cascader-selected-color: var(~'@{cascader-prefix}-color-text-selected', @color-theme);
1943
1947
  @cascader-selected-bg-color: var(~'@{cascader-prefix}-color-background-selected', @color-background-ongoing);
1944
1948
  @cascader-disabled-color: var(~'@{cascader-prefix}-color-text-disabled', @color-disabled);
1945
- @cascader-clear-color: var(~'@{cascader-prefix}-clear-color-text', #666);
1949
+ @cascader-clear-color: var(~'@{cascader-prefix}-clear-color-text', #d9d9d9);
1946
1950
 
1947
1951
  // font
1948
1952
  @cascader-font-size: var(~'@{cascader-prefix}-font-size', @font-size-small);
@@ -2718,8 +2722,6 @@
2718
2722
 
2719
2723
 
2720
2724
  @datePicker-prefix-cls: ~'@{kd-prefix}-date-picker';
2721
- // @rangePicker-prefix-cls: ~'@{kd-prefix}-rangePicker';
2722
- // @datePicker-prefix-cls-input: ~'@{datePicker-prefix-cls}-input';
2723
2725
  @datePicker-prefix-cls-panel: ~'@{datePicker-prefix-cls}-panel';
2724
2726
 
2725
2727
  @datePicker-calendar-text: 24px;
@@ -2735,14 +2737,6 @@
2735
2737
  input {
2736
2738
  font-size: @date-small-font-size;
2737
2739
  }
2738
-
2739
- .@{datePicker-prefix-cls}-clear {
2740
- right: calc(@date-small-font-size + 1px);
2741
- }
2742
-
2743
- &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
2744
- right: calc(@date-small-font-size + 12px);
2745
- }
2746
2740
  }
2747
2741
 
2748
2742
  &-large {
@@ -2751,14 +2745,6 @@
2751
2745
  input {
2752
2746
  font-size: @date-large-font-size;
2753
2747
  }
2754
-
2755
- .@{datePicker-prefix-cls}-clear {
2756
- right:calc(@date-large-font-size + 1px);
2757
- }
2758
-
2759
- &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
2760
- right: calc(@date-large-font-size + 9px);
2761
- }
2762
2748
  }
2763
2749
 
2764
2750
  &-middle {
@@ -2767,14 +2753,6 @@
2767
2753
  input {
2768
2754
  font-size: @date-middle-font-size;
2769
2755
  }
2770
-
2771
- .@{datePicker-prefix-cls}-clear {
2772
- right: calc(@date-middle-font-size + 1px);
2773
- }
2774
-
2775
- &.@{datePicker-prefix-cls}-range .@{datePicker-prefix-cls}-clear {
2776
- right: calc(@date-middle-font-size + 11px);
2777
- }
2778
2756
  }
2779
2757
 
2780
2758
  &-input {
@@ -2816,6 +2794,7 @@
2816
2794
 
2817
2795
  &-range {
2818
2796
  display: inline-flex;
2797
+ align-items: center;
2819
2798
  position: relative;
2820
2799
 
2821
2800
  &-separator {
@@ -2860,15 +2839,12 @@
2860
2839
  .@{datePicker-prefix-cls}-clear {
2861
2840
  opacity: 1;
2862
2841
  }
2863
-
2864
- .@{datePicker-prefix-cls}-suffix {
2865
- color: @date-color-background-checked;
2866
- }
2867
2842
  }
2868
2843
 
2869
2844
  &-clear {
2870
2845
  position: absolute;
2871
2846
  top: 50%;
2847
+ right: 0;
2872
2848
  color: @date-icon-color;
2873
2849
  line-height: 1;
2874
2850
  background: @date-clear-background-color;
@@ -2881,7 +2857,19 @@
2881
2857
  }
2882
2858
 
2883
2859
  &:hover {
2884
- color: @date-clear-background-color-hover;
2860
+ color: @date-icon-color-hover;
2861
+ }
2862
+ }
2863
+
2864
+ .@{datePicker-prefix-cls}-range-clear {
2865
+ align-self: center;
2866
+ margin-left: @date-suffix-spacing-margin-left;
2867
+ color: @date-icon-color;
2868
+ line-height: 1;
2869
+ cursor: pointer;
2870
+
2871
+ &:hover {
2872
+ color: @date-icon-color-hover;
2885
2873
  }
2886
2874
  }
2887
2875
 
@@ -3523,8 +3511,6 @@
3523
3511
  }
3524
3512
  }
3525
3513
  }
3526
-
3527
-
3528
3514
  }
3529
3515
 
3530
3516
  .@{datePicker-prefix-cls}-container {
@@ -3548,12 +3534,16 @@
3548
3534
  line-height: @date-panel-header-height;
3549
3535
  font-size: @date-container-font-size;
3550
3536
  border-bottom: .5px solid @date-container-color-border;
3537
+ cursor: pointer;
3551
3538
  }
3552
3539
  }
3553
3540
  }
3554
3541
 
3555
3542
 
3556
3543
 
3544
+
3545
+ @datePicker-prefix-cls: ~'@{kd-prefix}-date-picker';
3546
+
3557
3547
  .input-wrapper() {
3558
3548
  display: inline-flex;
3559
3549
  border: 1px solid @date-input-color-border;
@@ -3625,6 +3615,10 @@
3625
3615
  line-height: calc(@height - (@padding-vertical * 2) - 2);
3626
3616
  font-size: @fonSize;
3627
3617
  padding: @padding-vertical @padding-horizontal;
3618
+
3619
+ &.@{datePicker-prefix-cls}-underline {
3620
+ padding: @padding-vertical 0;
3621
+ }
3628
3622
  }
3629
3623
 
3630
3624
  .today-after(@background) {
@@ -3656,7 +3650,8 @@
3656
3650
  @date-input-color-background: var(~'@{date-picker-custom-prefix}-input-color-background', @color-white);
3657
3651
  @date-input-color-background-disabled: var(~'@{date-picker-custom-prefix}-input-color-background-disabled', @color-background-contain-disabled);
3658
3652
  @date-input-color-focus: var(~'@{date-picker-custom-prefix}-input-color-focused', @color-text-primary);
3659
- @date-icon-color: var(~'@{date-picker-custom-prefix}-icon-color', @color-disabled);
3653
+ @date-icon-color: var(~'@{date-picker-custom-prefix}-icon-color', #d9d9d9);
3654
+ @date-icon-color-hover: var(~'@{date-picker-custom-prefix}-icon-color-hover', #999);
3660
3655
  @date-clear-background-color: var(~'@{date-picker-custom-prefix}-clear-color-background', @color-background);
3661
3656
  @date-clear-background-color-hover: var(~'@{date-picker-custom-prefix}-clear-color-background-hover', @color-theme-5);
3662
3657
  @date-clear-background-color-focused: var(~'@{date-picker-custom-prefix}-clear-color-background-focused', @color-theme);
@@ -5162,10 +5157,6 @@ textarea {
5162
5157
 
5163
5158
  &-focused {
5164
5159
  border-color: @input-border-color-focused;
5165
-
5166
- .@{input-prefix-cls}-clear-icon, .@{input-prefix-cls}-textarea-clear-icon {
5167
- color: @input-border-color-focused;
5168
- }
5169
5160
  }
5170
5161
 
5171
5162
  &-disabled {
@@ -5187,8 +5178,9 @@ textarea {
5187
5178
  .@{input-prefix-cls} {
5188
5179
  &-textarea-clear-icon {
5189
5180
  position: absolute;
5181
+ z-index: 2;
5190
5182
  right: 8px;
5191
- top: -2px;
5183
+ top: 3px;
5192
5184
  }
5193
5185
  }
5194
5186
  }
@@ -5346,15 +5338,15 @@ textarea {
5346
5338
 
5347
5339
  .input-clear-icon() {
5348
5340
  cursor: pointer;
5349
- color: @input-color-border;
5341
+ color: @input-clear-color;
5350
5342
 
5351
5343
  &:hover {
5352
- color: @input-border-color-focused;
5344
+ color: @input-clear-color-hover;
5353
5345
  }
5354
5346
 
5355
5347
  i {
5356
5348
  vertical-align: middle;
5357
- font-size: 12px !important;
5349
+ font-size: 16px;
5358
5350
  }
5359
5351
  }
5360
5352
 
@@ -5379,6 +5371,8 @@ textarea {
5379
5371
  @input-font-color-inner: var(~'@{input-prefix}-color-text', @color-text-primary);
5380
5372
  @input-placeholder-color-inner: var(~'@{input-prefix}-placeholder-color-text', @color-text-placeholder);
5381
5373
  @input-color-border: var(~'@{input-prefix}-color-border', #999);
5374
+ @input-clear-color: var(~'@{input-prefix}-clear-color', #d9d9d9);
5375
+ @input-clear-color-hover: var(~'@{input-prefix}-clear-color-hover', #999);
5382
5376
  @input-background-color-inner: var(~'@{input-prefix}-color-background', @color-white);
5383
5377
  @input-background-color-disabled-inner: var(~'@{input-prefix}-color-background-disabled', @color-background-contain-disabled);
5384
5378
  @input-border-color-focused: var(~'@{input-prefix}-color-border-focused', @color-theme);
@@ -8261,6 +8255,7 @@ textarea {
8261
8255
 
8262
8256
  &-border {
8263
8257
  border: @search-sizing-border-width solid @quick-search-border-bottom-color;
8258
+ border-radius: @search-border-radius;
8264
8259
  }
8265
8260
 
8266
8261
  &-prefix,
@@ -8295,6 +8290,7 @@ textarea {
8295
8290
  }
8296
8291
  &-border {
8297
8292
  border: @search-sizing-border-width solid @quick-search-border-bottom-color;
8293
+ border-radius: @search-border-radius;
8298
8294
  }
8299
8295
  &:hover:not(&-disabled) {
8300
8296
  border-color: @search-color-theme;
@@ -8440,7 +8436,7 @@ textarea {
8440
8436
  z-index: @zIndex-popper;
8441
8437
  font-size: @quick-search-dropdown-font-size;
8442
8438
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
8443
- border-radius: @search-radius-size;
8439
+ border-radius: @search-dropdown-border-radius;
8444
8440
  background: @search-color-background;
8445
8441
  overflow: auto;
8446
8442
  &-scroll {
@@ -8841,7 +8837,8 @@ textarea {
8841
8837
  @search-transition-duration: var(~'@{search-prefix}-motion-duration', @duration-promptly);
8842
8838
 
8843
8839
  // radius
8844
- @search-radius-size: var(~'@{search-prefix}-radius-border', @radius-border);
8840
+ @search-dropdown-border-radius: var(~'@{search-prefix}-dropdown-radius-border', @radius-border);
8841
+ @search-border-radius: var(~'@{search-prefix}-radius-border', @radius-border);
8845
8842
 
8846
8843
 
8847
8844
 
@@ -8866,6 +8863,9 @@ textarea {
8866
8863
  .@{select-prefix-cls}-icon-active {
8867
8864
  color: #3761ca;
8868
8865
  }
8866
+ .@{select-prefix-cls}-selection-item {
8867
+ color: @select-placeholder-color;
8868
+ }
8869
8869
  }
8870
8870
 
8871
8871
  &-icon {
@@ -8890,6 +8890,9 @@ textarea {
8890
8890
 
8891
8891
  &-clear {
8892
8892
  opacity: 0;
8893
+ z-index: 1;
8894
+ position: absolute;
8895
+ background: #fff;
8893
8896
  transition: opacity 0.15s ease;
8894
8897
  &:hover {
8895
8898
  color: @select-g-color-border-hover;
@@ -8897,30 +8900,11 @@ textarea {
8897
8900
  }
8898
8901
  }
8899
8902
 
8900
- &-selection-search {
8901
- position: absolute;
8902
- top: 0;
8903
- bottom: 0;
8904
- left: 11px;
8905
- &-input {
8906
- opacity: 0;
8907
- margin: 0;
8908
- padding: 0;
8909
- background: 0 0;
8910
- border: none;
8911
- outline: none;
8912
- appearance: none;
8913
- &:hover {
8914
- cursor: pointer;
8915
- }
8916
- }
8917
- }
8918
-
8919
8903
  &-focused {
8920
8904
  .focusColor();
8921
- // border-bottom: 1px solid #5582F3 ;
8922
8905
  }
8923
8906
  &-placeholder {
8907
+ position: absolute;
8924
8908
  color: @select-placeholder-color;
8925
8909
  overflow: hidden;
8926
8910
  white-space: nowrap;
@@ -8947,7 +8931,7 @@ textarea {
8947
8931
  }
8948
8932
 
8949
8933
  .@{select-prefix-cls}-suffix {
8950
- right: 10px;
8934
+ padding-right: 8px;
8951
8935
  }
8952
8936
  }
8953
8937
 
@@ -8963,6 +8947,7 @@ textarea {
8963
8947
  box-sizing: border-box;
8964
8948
  overflow-y: auto;
8965
8949
  overflow-x: hidden;
8950
+ position: relative;
8966
8951
  }
8967
8952
 
8968
8953
  &-dropdown {
@@ -9024,7 +9009,6 @@ textarea {
9024
9009
 
9025
9010
  &-selected:not(&-disabled) {
9026
9011
  color: @select-item-selected-color;
9027
- // font-weight: @select-item-selected-font-weight;
9028
9012
  background-color: @select-item-selected-bg;
9029
9013
  }
9030
9014
 
@@ -9060,6 +9044,22 @@ textarea {
9060
9044
  margin-left: 8px;
9061
9045
  }
9062
9046
  &-single {
9047
+ .@{select-prefix-cls}-selection {
9048
+ &-search {
9049
+ position: absolute;
9050
+ right: 28px;
9051
+ left: 0;
9052
+ height: 100%;
9053
+ &-input {
9054
+ outline: 0;
9055
+ border-radius: 0;
9056
+ border: none;
9057
+ background: transparent;
9058
+ height: 100%;
9059
+ width: 100%;
9060
+ }
9061
+ }
9062
+ }
9063
9063
  &-focused {
9064
9064
  .focusColor();
9065
9065
  }
@@ -9077,6 +9077,13 @@ textarea {
9077
9077
  &:hover .@{select-prefix-cls}-icon-clear {
9078
9078
  opacity: 1;
9079
9079
  }
9080
+
9081
+ .@{select-prefix-cls}-icon-clear {
9082
+ color: @select-clear-color;
9083
+ &:hover {
9084
+ color: @select-clear-color-hover;
9085
+ }
9086
+ }
9080
9087
  &-text {
9081
9088
  color: @select-single-color-text;
9082
9089
  .over();
@@ -9087,7 +9094,6 @@ textarea {
9087
9094
  }
9088
9095
 
9089
9096
  .@{select-prefix-cls}-selection-item {
9090
- // position: relative;
9091
9097
  display: inline-flex;
9092
9098
  box-sizing: border-box;
9093
9099
  align-items: center;
@@ -9096,12 +9102,6 @@ textarea {
9096
9102
  height: 20px;
9097
9103
  line-height: 20px;
9098
9104
  margin: 2px 8px 2px 0;
9099
- // margin: 2px 4px 2px 0;
9100
- // margin-right: 4px;
9101
- // padding-left: 8px;
9102
- // background: #fafafa;
9103
- // border: 1px solid #d9d9d9;
9104
- // border-radius: 2px;
9105
9105
  cursor: default;
9106
9106
  user-select: none;
9107
9107
  &-small {
@@ -9133,24 +9133,13 @@ textarea {
9133
9133
  border: 1px solid #ccc;
9134
9134
  color: #212121;
9135
9135
  }
9136
- // &-remove {
9137
- // text-align: center;
9138
- // text-transform: none;
9139
- // display: inline-flex;
9140
- // color: rgba(0, 0, 0, 0.45);
9141
- // line-height: inherit;
9142
- // cursor: pointer;
9143
- // &:hover {
9144
- // color: #212121;
9145
- // }
9146
- // }
9136
+
9147
9137
  &-span {
9148
9138
  position: relative;
9149
9139
  margin-left: 0.5px;
9150
9140
  box-sizing: border-box;
9151
9141
  }
9152
9142
  &-input {
9153
- // opacity: 0;
9154
9143
  cursor: text;
9155
9144
  margin: 0;
9156
9145
  padding: 0;
@@ -9165,6 +9154,27 @@ textarea {
9165
9154
 
9166
9155
  // 多选
9167
9156
  &-multiple {
9157
+ .@{select-prefix-cls}-selection {
9158
+ &-search {
9159
+ position: relative;
9160
+ max-width: 100%;
9161
+ &-input {
9162
+ outline: 0;
9163
+ border-radius: 0;
9164
+ border: none;
9165
+ background: transparent;
9166
+ width: 100%;
9167
+ }
9168
+ &-mirror {
9169
+ position: absolute;
9170
+ top: 0;
9171
+ left: 0;
9172
+ z-index: 999;
9173
+ white-space: pre;
9174
+ visibility: hidden;
9175
+ }
9176
+ }
9177
+ }
9168
9178
  &-disabled {
9169
9179
  cursor: not-allowed;
9170
9180
  background-color: @select-color-background-disabled;
@@ -9177,6 +9187,12 @@ textarea {
9177
9187
  &:hover .@{select-prefix-cls}-icon-clear {
9178
9188
  opacity: 1;
9179
9189
  }
9190
+ .@{select-prefix-cls}-icon-clear {
9191
+ color: @select-clear-color;
9192
+ &:hover {
9193
+ color: @select-clear-color-hover;
9194
+ }
9195
+ }
9180
9196
  &-selector {
9181
9197
  position: relative;
9182
9198
  cursor: text;
@@ -9223,8 +9239,6 @@ textarea {
9223
9239
  }
9224
9240
  }
9225
9241
 
9226
-
9227
-
9228
9242
 
9229
9243
 
9230
9244
  .item() {
@@ -9239,14 +9253,12 @@ textarea {
9239
9253
  }
9240
9254
 
9241
9255
  .focusColor() {
9242
- // border-bottom: 1px solid #5582F3;
9243
9256
  border-color: @select-g-color-border-foucs !important;
9244
9257
  }
9245
9258
 
9246
9259
  .select-input-size(@height, @maxHeight, @lineHeight, @fontSize) {
9247
9260
  min-height: @height;
9248
9261
  max-height: calc(@maxHeight * 3 - 10px);
9249
- line-height: @lineHeight;
9250
9262
  font-size: @fontSize;
9251
9263
  }
9252
9264
 
@@ -9330,6 +9342,8 @@ textarea {
9330
9342
  @select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', @color-disabled);
9331
9343
  @select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
9332
9344
  @select-single-color-text: var(~'@{select-custom-prefix}-single-color-text', @color-text-primary);
9345
+ @select-clear-color: var(~'@{select-custom-prefix}-icon-clear-color-text', #d9d9d9);
9346
+ @select-clear-color-hover: var(~'@{select-custom-prefix}-icon-clear-color-text-hover', #999);
9333
9347
 
9334
9348
  // font
9335
9349
  @select-list-font-size: var(~'@{select-custom-prefix}-dropdown-font-size', 12px); // 下拉列表文字大小
@@ -9840,7 +9854,6 @@ textarea {
9840
9854
  &-panel {
9841
9855
  position: absolute;
9842
9856
  overflow: hidden;
9843
- transition: all calc(@transition-duration - 0.1s) @ease-out;
9844
9857
  &.left-panel, &.right-panel {
9845
9858
  top: 0;
9846
9859
  bottom: 0;
@@ -9877,7 +9890,6 @@ textarea {
9877
9890
  position: absolute;
9878
9891
  transform: translate(-50%, -50%);
9879
9892
  z-index: 10;
9880
- transition: all calc(@transition-duration - 0.1s) @ease-out;
9881
9893
  &.is-active {
9882
9894
  .@{split-prefix-cls}-trigger-arrow {
9883
9895
  border-color: @split-panel-trigger-arrow-color;
@@ -9918,7 +9930,6 @@ textarea {
9918
9930
  display: inline-flex;
9919
9931
  align-items: center;
9920
9932
  justify-content: center;
9921
- transition: all calc(@transition-duration - 0.1s) @ease-out;
9922
9933
  box-sizing: border-box;
9923
9934
  border: @split-panel-arrow-border-width solid transparent;
9924
9935
  .@{kd-prefix}icon {
@@ -10251,7 +10262,6 @@ textarea {
10251
10262
  width: 100%;
10252
10263
  display: flex;
10253
10264
  flex-direction: column;
10254
- justify-content: center;
10255
10265
  }
10256
10266
 
10257
10267
  &-iconContainer {
@@ -10308,22 +10318,12 @@ textarea {
10308
10318
  line-height: 20px;
10309
10319
  font-size: @steps-font-size;
10310
10320
  color: @steps-color-wait;
10311
- overflow: hidden;
10312
- text-overflow: ellipsis;
10313
- word-break: break-word;
10314
- display: -webkit-box;
10315
- -webkit-box-orient: vertical;
10316
10321
  }
10317
10322
 
10318
10323
  .@{steps-prefix-cls}-item-description {
10319
10324
  line-height: 20px;
10320
10325
  font-size: @steps-font-size;
10321
10326
  color: @steps-color-wait;
10322
- overflow: hidden;
10323
- text-overflow: ellipsis;
10324
- word-break: break-word;
10325
- display: -webkit-box;
10326
- -webkit-box-orient: vertical;
10327
10327
  width: @steps-vertical-description-sizing-width;
10328
10328
  }
10329
10329
  }