@kdcloudjs/kdesign 1.6.5 → 1.6.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.
- package/CHANGELOG.md +36 -0
- package/dist/kdesign-complete.less +113 -106
- package/dist/kdesign.css +108 -84
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +758 -513
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/hooks.js +1 -9
- package/es/carousel/style/index.css +3 -0
- package/es/carousel/style/index.less +4 -0
- package/es/cascader/style/index.css +7 -7
- package/es/cascader/style/token.less +2 -2
- package/es/config-provider/compDefaultProps.d.ts +5 -0
- package/es/config-provider/compDefaultProps.js +6 -1
- package/es/date-picker/date-picker.js +11 -14
- package/es/date-picker/panel/month/month.d.ts +0 -1
- package/es/date-picker/panel/month/month.js +6 -4
- package/es/date-picker/range/input-range.js +41 -11
- package/es/date-picker/range-picker.js +8 -11
- package/es/date-picker/single/input-date.js +40 -10
- package/es/date-picker/style/index.css +27 -23
- package/es/date-picker/style/index.less +16 -33
- package/es/date-picker/style/mixin.less +7 -0
- package/es/date-picker/style/token.less +2 -1
- package/es/form/Field.d.ts +1 -0
- package/es/form/Field.js +9 -5
- package/es/form/FieldLabel.d.ts +1 -0
- package/es/form/FieldLabel.js +4 -2
- package/es/input/ClearableLabeledInput.js +23 -5
- package/es/input/TextArea.d.ts +1 -0
- package/es/input/TextArea.js +8 -6
- package/es/input/style/index.css +12 -8
- package/es/input/style/index.less +9 -5
- package/es/input/style/mixin.less +3 -3
- package/es/input/style/token.less +2 -0
- package/es/search/style/index.css +3 -1
- package/es/search/style/index.less +3 -1
- package/es/search/style/token.less +2 -1
- package/es/select/interface.d.ts +2 -0
- package/es/select/option.js +1 -1
- package/es/select/select.js +180 -128
- package/es/select/style/index.css +54 -24
- package/es/select/style/index.less +60 -43
- package/es/select/style/mixin.less +0 -2
- package/es/select/style/token.less +2 -0
- package/es/split-panel/style/index.css +0 -6
- package/es/split-panel/style/index.less +0 -3
- package/es/steps/style/index.css +0 -13
- package/es/steps/style/index.less +0 -11
- package/es/table/feature/mergeCellHover.d.ts +3 -0
- package/es/table/feature/mergeCellHover.js +7 -0
- package/es/table/interface.d.ts +8 -0
- package/es/table/table.d.ts +2 -2
- package/es/table/table.js +20 -6
- package/es/tooltip/style/index.css +1 -1
- package/es/tooltip/style/token.less +1 -1
- package/lib/_utils/hooks.js +1 -9
- package/lib/carousel/style/index.css +3 -0
- package/lib/carousel/style/index.less +4 -0
- package/lib/cascader/style/index.css +7 -7
- package/lib/cascader/style/token.less +2 -2
- package/lib/config-provider/compDefaultProps.d.ts +5 -0
- package/lib/config-provider/compDefaultProps.js +6 -1
- package/lib/date-picker/date-picker.js +10 -16
- package/lib/date-picker/panel/month/month.d.ts +0 -1
- package/lib/date-picker/panel/month/month.js +10 -8
- package/lib/date-picker/range/input-range.js +40 -11
- package/lib/date-picker/range-picker.js +7 -13
- package/lib/date-picker/single/input-date.js +37 -9
- package/lib/date-picker/style/index.css +27 -23
- package/lib/date-picker/style/index.less +16 -33
- package/lib/date-picker/style/mixin.less +7 -0
- package/lib/date-picker/style/token.less +2 -1
- package/lib/form/Field.d.ts +1 -0
- package/lib/form/Field.js +10 -6
- package/lib/form/FieldLabel.d.ts +1 -0
- package/lib/form/FieldLabel.js +4 -2
- package/lib/input/ClearableLabeledInput.js +34 -5
- package/lib/input/TextArea.d.ts +1 -0
- package/lib/input/TextArea.js +9 -7
- package/lib/input/style/index.css +12 -8
- package/lib/input/style/index.less +9 -5
- package/lib/input/style/mixin.less +3 -3
- package/lib/input/style/token.less +2 -0
- package/lib/search/style/index.css +3 -1
- package/lib/search/style/index.less +3 -1
- package/lib/search/style/token.less +2 -1
- package/lib/select/interface.d.ts +2 -0
- package/lib/select/option.js +1 -1
- package/lib/select/select.js +179 -126
- package/lib/select/style/index.css +54 -24
- package/lib/select/style/index.less +60 -43
- package/lib/select/style/mixin.less +0 -2
- package/lib/select/style/token.less +2 -0
- package/lib/split-panel/style/index.css +0 -6
- package/lib/split-panel/style/index.less +0 -3
- package/lib/steps/style/index.css +0 -13
- package/lib/steps/style/index.less +0 -11
- package/lib/table/feature/mergeCellHover.d.ts +3 -0
- package/lib/table/feature/mergeCellHover.js +15 -0
- package/lib/table/interface.d.ts +8 -0
- package/lib/table/table.d.ts +2 -2
- package/lib/table/table.js +20 -4
- package/lib/tooltip/style/index.css +1 -1
- package/lib/tooltip/style/token.less +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
## [1.6.6](https://github.com/kdcloudone/kdesign/compare/v1.6.5...v1.6.6) (2022-09-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [cli] 文档内容更新 ([409dd4c](https://github.com/kdcloudone/kdesign/commit/409dd4c59d224303ac4619e7b3ee862ca226e83b))
|
|
7
|
+
* [tooltip] 修复重复的token变量 ([eafce52](https://github.com/kdcloudone/kdesign/commit/eafce52af218ff3eb7120ca3ca69d2500efdff1a))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* [input] 开放countPosition属性用来摆放计数器位置 ([999b540](https://github.com/kdcloudone/kdesign/commit/999b540b270cceb7c49a3b207ee7352098a62373))
|
|
13
|
+
* [table] 添加表格向外提供的api ([f8684f5](https://github.com/kdcloudone/kdesign/commit/f8684f53b3f1769340fe5cbe6a0c8457b7f74d0d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.6.5](https://github.com/kdcloudone/kdesign/compare/v1.6.4...v1.6.5) (2022-09-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* [cascader] 更改清空按钮样式 ([ae4adec](https://github.com/kdcloudone/kdesign/commit/ae4adec4c280d1d1aaee33c3a371050f8cb9cc6b))
|
|
23
|
+
* [cascader]点击清空图标没有触发onChange的问题 ([f48d308](https://github.com/kdcloudone/kdesign/commit/f48d3083a0ab06eebd97cfe347931ba18a6bd3a5))
|
|
24
|
+
* [rate] 修复当value值为0时不触发视图更新的bug ([07ef798](https://github.com/kdcloudone/kdesign/commit/07ef7980a83e425e65608efaa9bd38807d37b484))
|
|
25
|
+
* [search] 修复basic模式下onFocus和onBlur不生效的问题 ([0b7cbf3](https://github.com/kdcloudone/kdesign/commit/0b7cbf3d4ec247744fbd7e697a9b0e6be9f6e573))
|
|
26
|
+
* [transfer] 添加清空搜索框的方法clearSearch ([5024a62](https://github.com/kdcloudone/kdesign/commit/5024a623178b62765d7d798b7344ccf2a0245e1e))
|
|
27
|
+
* [upload] 修复demo默认上传按钮的样式 ([2a461cc](https://github.com/kdcloudone/kdesign/commit/2a461ccf6c51f5f38fb11c1ec2952ff28099bd5c))
|
|
28
|
+
* [upload] 修复hover上传列表时操作按钮与文件列表背景色不同步的问题 ([478dd7b](https://github.com/kdcloudone/kdesign/commit/478dd7b14735bb4ea8dad04f66114988706fef60))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* [pagination]添加配置总计的显示方式 ([5900254](https://github.com/kdcloudone/kdesign/commit/59002540c1bdb561d922cdd34a46f35fbb7801c2))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
1
37
|
## [1.6.4](https://github.com/kdcloudone/kdesign/compare/v1.6.3...v1.6.4) (2022-09-15)
|
|
2
38
|
|
|
3
39
|
|
|
@@ -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',
|
|
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', #
|
|
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-
|
|
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',
|
|
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);
|
|
@@ -5071,7 +5066,14 @@ textarea {
|
|
|
5071
5066
|
z-index: 1;
|
|
5072
5067
|
color: @input-placeholder-color-inner;
|
|
5073
5068
|
font-size: @input-small-font-size-inner;
|
|
5069
|
+
line-height: 18px;
|
|
5070
|
+
background-color: #fff;
|
|
5074
5071
|
}
|
|
5072
|
+
&-mark-inner {
|
|
5073
|
+
top: auto;
|
|
5074
|
+
bottom: 5px;
|
|
5075
|
+
right: 8px;
|
|
5076
|
+
}
|
|
5075
5077
|
}
|
|
5076
5078
|
&-no-resize {
|
|
5077
5079
|
resize: none;
|
|
@@ -5155,10 +5157,6 @@ textarea {
|
|
|
5155
5157
|
|
|
5156
5158
|
&-focused {
|
|
5157
5159
|
border-color: @input-border-color-focused;
|
|
5158
|
-
|
|
5159
|
-
.@{input-prefix-cls}-clear-icon, .@{input-prefix-cls}-textarea-clear-icon {
|
|
5160
|
-
color: @input-border-color-focused;
|
|
5161
|
-
}
|
|
5162
5160
|
}
|
|
5163
5161
|
|
|
5164
5162
|
&-disabled {
|
|
@@ -5180,8 +5178,9 @@ textarea {
|
|
|
5180
5178
|
.@{input-prefix-cls} {
|
|
5181
5179
|
&-textarea-clear-icon {
|
|
5182
5180
|
position: absolute;
|
|
5181
|
+
z-index: 2;
|
|
5183
5182
|
right: 8px;
|
|
5184
|
-
top:
|
|
5183
|
+
top: 3px;
|
|
5185
5184
|
}
|
|
5186
5185
|
}
|
|
5187
5186
|
}
|
|
@@ -5339,15 +5338,15 @@ textarea {
|
|
|
5339
5338
|
|
|
5340
5339
|
.input-clear-icon() {
|
|
5341
5340
|
cursor: pointer;
|
|
5342
|
-
color: @input-color
|
|
5341
|
+
color: @input-clear-color;
|
|
5343
5342
|
|
|
5344
5343
|
&:hover {
|
|
5345
|
-
color: @input-
|
|
5344
|
+
color: @input-clear-color-hover;
|
|
5346
5345
|
}
|
|
5347
5346
|
|
|
5348
5347
|
i {
|
|
5349
5348
|
vertical-align: middle;
|
|
5350
|
-
font-size:
|
|
5349
|
+
font-size: 16px;
|
|
5351
5350
|
}
|
|
5352
5351
|
}
|
|
5353
5352
|
|
|
@@ -5372,6 +5371,8 @@ textarea {
|
|
|
5372
5371
|
@input-font-color-inner: var(~'@{input-prefix}-color-text', @color-text-primary);
|
|
5373
5372
|
@input-placeholder-color-inner: var(~'@{input-prefix}-placeholder-color-text', @color-text-placeholder);
|
|
5374
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);
|
|
5375
5376
|
@input-background-color-inner: var(~'@{input-prefix}-color-background', @color-white);
|
|
5376
5377
|
@input-background-color-disabled-inner: var(~'@{input-prefix}-color-background-disabled', @color-background-contain-disabled);
|
|
5377
5378
|
@input-border-color-focused: var(~'@{input-prefix}-color-border-focused', @color-theme);
|
|
@@ -8254,6 +8255,7 @@ textarea {
|
|
|
8254
8255
|
|
|
8255
8256
|
&-border {
|
|
8256
8257
|
border: @search-sizing-border-width solid @quick-search-border-bottom-color;
|
|
8258
|
+
border-radius: @search-border-radius;
|
|
8257
8259
|
}
|
|
8258
8260
|
|
|
8259
8261
|
&-prefix,
|
|
@@ -8288,6 +8290,7 @@ textarea {
|
|
|
8288
8290
|
}
|
|
8289
8291
|
&-border {
|
|
8290
8292
|
border: @search-sizing-border-width solid @quick-search-border-bottom-color;
|
|
8293
|
+
border-radius: @search-border-radius;
|
|
8291
8294
|
}
|
|
8292
8295
|
&:hover:not(&-disabled) {
|
|
8293
8296
|
border-color: @search-color-theme;
|
|
@@ -8433,7 +8436,7 @@ textarea {
|
|
|
8433
8436
|
z-index: @zIndex-popper;
|
|
8434
8437
|
font-size: @quick-search-dropdown-font-size;
|
|
8435
8438
|
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
8436
|
-
border-radius: @search-radius
|
|
8439
|
+
border-radius: @search-dropdown-border-radius;
|
|
8437
8440
|
background: @search-color-background;
|
|
8438
8441
|
overflow: auto;
|
|
8439
8442
|
&-scroll {
|
|
@@ -8834,7 +8837,8 @@ textarea {
|
|
|
8834
8837
|
@search-transition-duration: var(~'@{search-prefix}-motion-duration', @duration-promptly);
|
|
8835
8838
|
|
|
8836
8839
|
// radius
|
|
8837
|
-
@search-radius
|
|
8840
|
+
@search-dropdown-border-radius: var(~'@{search-prefix}-dropdown-radius-border', @radius-border);
|
|
8841
|
+
@search-border-radius: var(~'@{search-prefix}-radius-border', @radius-border);
|
|
8838
8842
|
|
|
8839
8843
|
|
|
8840
8844
|
|
|
@@ -8859,6 +8863,9 @@ textarea {
|
|
|
8859
8863
|
.@{select-prefix-cls}-icon-active {
|
|
8860
8864
|
color: #3761ca;
|
|
8861
8865
|
}
|
|
8866
|
+
.@{select-prefix-cls}-selection-item {
|
|
8867
|
+
color: @select-placeholder-color;
|
|
8868
|
+
}
|
|
8862
8869
|
}
|
|
8863
8870
|
|
|
8864
8871
|
&-icon {
|
|
@@ -8883,6 +8890,9 @@ textarea {
|
|
|
8883
8890
|
|
|
8884
8891
|
&-clear {
|
|
8885
8892
|
opacity: 0;
|
|
8893
|
+
z-index: 1;
|
|
8894
|
+
position: absolute;
|
|
8895
|
+
background: #fff;
|
|
8886
8896
|
transition: opacity 0.15s ease;
|
|
8887
8897
|
&:hover {
|
|
8888
8898
|
color: @select-g-color-border-hover;
|
|
@@ -8890,30 +8900,11 @@ textarea {
|
|
|
8890
8900
|
}
|
|
8891
8901
|
}
|
|
8892
8902
|
|
|
8893
|
-
&-selection-search {
|
|
8894
|
-
position: absolute;
|
|
8895
|
-
top: 0;
|
|
8896
|
-
bottom: 0;
|
|
8897
|
-
left: 11px;
|
|
8898
|
-
&-input {
|
|
8899
|
-
opacity: 0;
|
|
8900
|
-
margin: 0;
|
|
8901
|
-
padding: 0;
|
|
8902
|
-
background: 0 0;
|
|
8903
|
-
border: none;
|
|
8904
|
-
outline: none;
|
|
8905
|
-
appearance: none;
|
|
8906
|
-
&:hover {
|
|
8907
|
-
cursor: pointer;
|
|
8908
|
-
}
|
|
8909
|
-
}
|
|
8910
|
-
}
|
|
8911
|
-
|
|
8912
8903
|
&-focused {
|
|
8913
8904
|
.focusColor();
|
|
8914
|
-
// border-bottom: 1px solid #5582F3 ;
|
|
8915
8905
|
}
|
|
8916
8906
|
&-placeholder {
|
|
8907
|
+
position: absolute;
|
|
8917
8908
|
color: @select-placeholder-color;
|
|
8918
8909
|
overflow: hidden;
|
|
8919
8910
|
white-space: nowrap;
|
|
@@ -8940,7 +8931,7 @@ textarea {
|
|
|
8940
8931
|
}
|
|
8941
8932
|
|
|
8942
8933
|
.@{select-prefix-cls}-suffix {
|
|
8943
|
-
right:
|
|
8934
|
+
padding-right: 8px;
|
|
8944
8935
|
}
|
|
8945
8936
|
}
|
|
8946
8937
|
|
|
@@ -8956,6 +8947,7 @@ textarea {
|
|
|
8956
8947
|
box-sizing: border-box;
|
|
8957
8948
|
overflow-y: auto;
|
|
8958
8949
|
overflow-x: hidden;
|
|
8950
|
+
position: relative;
|
|
8959
8951
|
}
|
|
8960
8952
|
|
|
8961
8953
|
&-dropdown {
|
|
@@ -9017,7 +9009,6 @@ textarea {
|
|
|
9017
9009
|
|
|
9018
9010
|
&-selected:not(&-disabled) {
|
|
9019
9011
|
color: @select-item-selected-color;
|
|
9020
|
-
// font-weight: @select-item-selected-font-weight;
|
|
9021
9012
|
background-color: @select-item-selected-bg;
|
|
9022
9013
|
}
|
|
9023
9014
|
|
|
@@ -9053,6 +9044,22 @@ textarea {
|
|
|
9053
9044
|
margin-left: 8px;
|
|
9054
9045
|
}
|
|
9055
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
|
+
}
|
|
9056
9063
|
&-focused {
|
|
9057
9064
|
.focusColor();
|
|
9058
9065
|
}
|
|
@@ -9070,6 +9077,13 @@ textarea {
|
|
|
9070
9077
|
&:hover .@{select-prefix-cls}-icon-clear {
|
|
9071
9078
|
opacity: 1;
|
|
9072
9079
|
}
|
|
9080
|
+
|
|
9081
|
+
.@{select-prefix-cls}-icon-clear {
|
|
9082
|
+
color: @select-clear-color;
|
|
9083
|
+
&:hover {
|
|
9084
|
+
color: @select-clear-color-hover;
|
|
9085
|
+
}
|
|
9086
|
+
}
|
|
9073
9087
|
&-text {
|
|
9074
9088
|
color: @select-single-color-text;
|
|
9075
9089
|
.over();
|
|
@@ -9080,7 +9094,6 @@ textarea {
|
|
|
9080
9094
|
}
|
|
9081
9095
|
|
|
9082
9096
|
.@{select-prefix-cls}-selection-item {
|
|
9083
|
-
// position: relative;
|
|
9084
9097
|
display: inline-flex;
|
|
9085
9098
|
box-sizing: border-box;
|
|
9086
9099
|
align-items: center;
|
|
@@ -9089,12 +9102,6 @@ textarea {
|
|
|
9089
9102
|
height: 20px;
|
|
9090
9103
|
line-height: 20px;
|
|
9091
9104
|
margin: 2px 8px 2px 0;
|
|
9092
|
-
// margin: 2px 4px 2px 0;
|
|
9093
|
-
// margin-right: 4px;
|
|
9094
|
-
// padding-left: 8px;
|
|
9095
|
-
// background: #fafafa;
|
|
9096
|
-
// border: 1px solid #d9d9d9;
|
|
9097
|
-
// border-radius: 2px;
|
|
9098
9105
|
cursor: default;
|
|
9099
9106
|
user-select: none;
|
|
9100
9107
|
&-small {
|
|
@@ -9126,24 +9133,13 @@ textarea {
|
|
|
9126
9133
|
border: 1px solid #ccc;
|
|
9127
9134
|
color: #212121;
|
|
9128
9135
|
}
|
|
9129
|
-
|
|
9130
|
-
// text-align: center;
|
|
9131
|
-
// text-transform: none;
|
|
9132
|
-
// display: inline-flex;
|
|
9133
|
-
// color: rgba(0, 0, 0, 0.45);
|
|
9134
|
-
// line-height: inherit;
|
|
9135
|
-
// cursor: pointer;
|
|
9136
|
-
// &:hover {
|
|
9137
|
-
// color: #212121;
|
|
9138
|
-
// }
|
|
9139
|
-
// }
|
|
9136
|
+
|
|
9140
9137
|
&-span {
|
|
9141
9138
|
position: relative;
|
|
9142
9139
|
margin-left: 0.5px;
|
|
9143
9140
|
box-sizing: border-box;
|
|
9144
9141
|
}
|
|
9145
9142
|
&-input {
|
|
9146
|
-
// opacity: 0;
|
|
9147
9143
|
cursor: text;
|
|
9148
9144
|
margin: 0;
|
|
9149
9145
|
padding: 0;
|
|
@@ -9158,6 +9154,27 @@ textarea {
|
|
|
9158
9154
|
|
|
9159
9155
|
// 多选
|
|
9160
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
|
+
}
|
|
9161
9178
|
&-disabled {
|
|
9162
9179
|
cursor: not-allowed;
|
|
9163
9180
|
background-color: @select-color-background-disabled;
|
|
@@ -9170,6 +9187,12 @@ textarea {
|
|
|
9170
9187
|
&:hover .@{select-prefix-cls}-icon-clear {
|
|
9171
9188
|
opacity: 1;
|
|
9172
9189
|
}
|
|
9190
|
+
.@{select-prefix-cls}-icon-clear {
|
|
9191
|
+
color: @select-clear-color;
|
|
9192
|
+
&:hover {
|
|
9193
|
+
color: @select-clear-color-hover;
|
|
9194
|
+
}
|
|
9195
|
+
}
|
|
9173
9196
|
&-selector {
|
|
9174
9197
|
position: relative;
|
|
9175
9198
|
cursor: text;
|
|
@@ -9216,8 +9239,6 @@ textarea {
|
|
|
9216
9239
|
}
|
|
9217
9240
|
}
|
|
9218
9241
|
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
9242
|
|
|
9222
9243
|
|
|
9223
9244
|
.item() {
|
|
@@ -9232,14 +9253,12 @@ textarea {
|
|
|
9232
9253
|
}
|
|
9233
9254
|
|
|
9234
9255
|
.focusColor() {
|
|
9235
|
-
// border-bottom: 1px solid #5582F3;
|
|
9236
9256
|
border-color: @select-g-color-border-foucs !important;
|
|
9237
9257
|
}
|
|
9238
9258
|
|
|
9239
9259
|
.select-input-size(@height, @maxHeight, @lineHeight, @fontSize) {
|
|
9240
9260
|
min-height: @height;
|
|
9241
9261
|
max-height: calc(@maxHeight * 3 - 10px);
|
|
9242
|
-
line-height: @lineHeight;
|
|
9243
9262
|
font-size: @fontSize;
|
|
9244
9263
|
}
|
|
9245
9264
|
|
|
@@ -9323,6 +9342,8 @@ textarea {
|
|
|
9323
9342
|
@select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', @color-disabled);
|
|
9324
9343
|
@select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
|
|
9325
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);
|
|
9326
9347
|
|
|
9327
9348
|
// font
|
|
9328
9349
|
@select-list-font-size: var(~'@{select-custom-prefix}-dropdown-font-size', 12px); // 下拉列表文字大小
|
|
@@ -9833,7 +9854,6 @@ textarea {
|
|
|
9833
9854
|
&-panel {
|
|
9834
9855
|
position: absolute;
|
|
9835
9856
|
overflow: hidden;
|
|
9836
|
-
transition: all calc(@transition-duration - 0.1s) @ease-out;
|
|
9837
9857
|
&.left-panel, &.right-panel {
|
|
9838
9858
|
top: 0;
|
|
9839
9859
|
bottom: 0;
|
|
@@ -9870,7 +9890,6 @@ textarea {
|
|
|
9870
9890
|
position: absolute;
|
|
9871
9891
|
transform: translate(-50%, -50%);
|
|
9872
9892
|
z-index: 10;
|
|
9873
|
-
transition: all calc(@transition-duration - 0.1s) @ease-out;
|
|
9874
9893
|
&.is-active {
|
|
9875
9894
|
.@{split-prefix-cls}-trigger-arrow {
|
|
9876
9895
|
border-color: @split-panel-trigger-arrow-color;
|
|
@@ -9911,7 +9930,6 @@ textarea {
|
|
|
9911
9930
|
display: inline-flex;
|
|
9912
9931
|
align-items: center;
|
|
9913
9932
|
justify-content: center;
|
|
9914
|
-
transition: all calc(@transition-duration - 0.1s) @ease-out;
|
|
9915
9933
|
box-sizing: border-box;
|
|
9916
9934
|
border: @split-panel-arrow-border-width solid transparent;
|
|
9917
9935
|
.@{kd-prefix}icon {
|
|
@@ -10244,7 +10262,6 @@ textarea {
|
|
|
10244
10262
|
width: 100%;
|
|
10245
10263
|
display: flex;
|
|
10246
10264
|
flex-direction: column;
|
|
10247
|
-
justify-content: center;
|
|
10248
10265
|
}
|
|
10249
10266
|
|
|
10250
10267
|
&-iconContainer {
|
|
@@ -10301,22 +10318,12 @@ textarea {
|
|
|
10301
10318
|
line-height: 20px;
|
|
10302
10319
|
font-size: @steps-font-size;
|
|
10303
10320
|
color: @steps-color-wait;
|
|
10304
|
-
overflow: hidden;
|
|
10305
|
-
text-overflow: ellipsis;
|
|
10306
|
-
word-break: break-word;
|
|
10307
|
-
display: -webkit-box;
|
|
10308
|
-
-webkit-box-orient: vertical;
|
|
10309
10321
|
}
|
|
10310
10322
|
|
|
10311
10323
|
.@{steps-prefix-cls}-item-description {
|
|
10312
10324
|
line-height: 20px;
|
|
10313
10325
|
font-size: @steps-font-size;
|
|
10314
10326
|
color: @steps-color-wait;
|
|
10315
|
-
overflow: hidden;
|
|
10316
|
-
text-overflow: ellipsis;
|
|
10317
|
-
word-break: break-word;
|
|
10318
|
-
display: -webkit-box;
|
|
10319
|
-
-webkit-box-orient: vertical;
|
|
10320
10327
|
width: @steps-vertical-description-sizing-width;
|
|
10321
10328
|
}
|
|
10322
10329
|
}
|
|
@@ -13359,7 +13366,7 @@ template {
|
|
|
13359
13366
|
|
|
13360
13367
|
// spacing
|
|
13361
13368
|
@tooltip-vertical-gap: var(~'@{tooltip-custom-prefix}-spacing-padding-vertical', 8px);
|
|
13362
|
-
@tooltip-horizontal-gap: var(~'@{tooltip-custom-prefix}-spacing-padding-
|
|
13369
|
+
@tooltip-horizontal-gap: var(~'@{tooltip-custom-prefix}-spacing-padding-horizontal', 12px);
|
|
13363
13370
|
|
|
13364
13371
|
// sizing
|
|
13365
13372
|
@tooltip-max-width: var(~'@{tooltip-custom-prefix}-sizing-max-width', 360px);
|