@kdcloudjs/kdesign 1.3.6 → 1.3.9
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 +30 -0
- package/dist/kdesign-complete.less +132 -127
- package/dist/kdesign.css +168 -121
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +55 -28
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +2 -2
- package/dist/kdesign.min.js.map +1 -1
- package/es/anchor/anchor.js +3 -3
- package/es/anchor/style/index.css +7 -7
- package/es/anchor/style/index.less +5 -5
- package/es/anchor/style/token.less +1 -1
- package/es/button/style/index.css +36 -0
- package/es/button/style/index.less +14 -2
- package/es/checkbox/checkbox.js +7 -3
- package/es/config-provider/compDefaultProps.d.ts +1 -0
- package/es/config-provider/compDefaultProps.js +2 -1
- package/es/menu/menu.js +22 -8
- package/es/menu/style/index.css +122 -110
- package/es/menu/style/index.less +51 -73
- package/es/menu/style/mixin.less +59 -42
- package/es/menu/subMenu.js +5 -4
- package/es/radio/radio.js +7 -3
- package/es/select/select.js +6 -4
- package/es/switch/style/index.css +1 -1
- package/es/switch/style/token.less +1 -1
- package/es/table/table.js +2 -0
- package/es/tree/style/index.css +1 -2
- package/es/tree/style/index.less +1 -2
- package/es/tree/style/token.less +0 -1
- package/es/tree/tree.js +1 -2
- package/es/tree/treeNode.js +1 -1
- package/lib/anchor/anchor.js +3 -3
- package/lib/anchor/style/index.css +7 -7
- package/lib/anchor/style/index.less +5 -5
- package/lib/anchor/style/token.less +1 -1
- package/lib/button/style/index.css +36 -0
- package/lib/button/style/index.less +14 -2
- package/lib/checkbox/checkbox.js +7 -3
- package/lib/config-provider/compDefaultProps.d.ts +1 -0
- package/lib/config-provider/compDefaultProps.js +2 -1
- package/lib/menu/menu.js +22 -8
- package/lib/menu/style/index.css +122 -110
- package/lib/menu/style/index.less +51 -73
- package/lib/menu/style/mixin.less +59 -42
- package/lib/menu/subMenu.js +5 -4
- package/lib/radio/radio.js +7 -3
- package/lib/select/select.js +6 -4
- package/lib/switch/style/index.css +1 -1
- package/lib/switch/style/token.less +1 -1
- package/lib/table/table.js +2 -0
- package/lib/tree/style/index.css +1 -2
- package/lib/tree/style/index.less +1 -2
- package/lib/tree/style/token.less +0 -1
- package/lib/tree/tree.js +1 -2
- package/lib/tree/treeNode.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
## [1.3.8](https://github.com/kdcloudone/kdesign/compare/v1.3.7...v1.3.8) (2022-07-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [anchor] 锚点组件类名调整 ([af0619e](https://github.com/kdcloudone/kdesign/commit/af0619e8b7fb7565ea4f96774433d63684ff331d))
|
|
7
|
+
* [anchor] 锚点组件取消监听事件调整 ([07740e1](https://github.com/kdcloudone/kdesign/commit/07740e1ca7d2d7198392300d641799109e9fcb8a))
|
|
8
|
+
* [switch] 解决开关文字垂直没对齐问题 ([df90939](https://github.com/kdcloudone/kdesign/commit/df90939f3d158cd8a1b9524e69741b10939b63df))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## [1.3.7](https://github.com/kdcloudone/kdesign/compare/v1.3.6...v1.3.7) (2022-06-30)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* [button] 修复loading按钮以及单个图标按钮默认居中的视觉问题 ([efc3eb8](https://github.com/kdcloudone/kdesign/commit/efc3eb853685cdd9f6eeeca662e07ea600099f10))
|
|
18
|
+
* [checkbox] 修复ref取值为null的bug ([19da577](https://github.com/kdcloudone/kdesign/commit/19da577d3466c15d2446f741482edde7d10a8d25))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.3.6](https://github.com/kdcloudone/kdesign/compare/v1.3.5...v1.3.6) (2022-06-27)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* [table] 更新table版本 ([860ac40](https://github.com/kdcloudone/kdesign/commit/860ac408ffb9bf6486477f8160decb1fdd4b1c2d))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
1
31
|
## [1.3.5](https://github.com/kdcloudone/kdesign/compare/v1.3.4...v1.3.5) (2022-06-23)
|
|
2
32
|
|
|
3
33
|
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
content: '';
|
|
247
247
|
height: 0;
|
|
248
248
|
width: 40px;
|
|
249
|
-
border-bottom: @anchor-
|
|
249
|
+
border-bottom: @anchor-line-slider-width dashed @anchor-disabled-border-color;
|
|
250
250
|
margin: 4px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
&-
|
|
289
|
+
&-line {
|
|
290
290
|
position: absolute;
|
|
291
291
|
left: @anchor-link-left;
|
|
292
292
|
top: 0;
|
|
@@ -294,19 +294,19 @@
|
|
|
294
294
|
&::before {
|
|
295
295
|
position: relative;
|
|
296
296
|
display: block;
|
|
297
|
-
width: @anchor-
|
|
297
|
+
width: @anchor-line-slider-width;
|
|
298
298
|
height: 100%;
|
|
299
299
|
margin: 0 auto;
|
|
300
300
|
background-color: @anchor-border-color;
|
|
301
301
|
content: '';
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
&-
|
|
304
|
+
&-slider {
|
|
305
305
|
position: absolute;
|
|
306
306
|
display: none;
|
|
307
307
|
width: 0;
|
|
308
308
|
height: 16px;
|
|
309
|
-
border-right: @anchor-
|
|
309
|
+
border-right: @anchor-line-slider-width solid @anchor-color-theme;
|
|
310
310
|
transition: top 0.3s ease-in-out;
|
|
311
311
|
&.visible {
|
|
312
312
|
display: inline-block;
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
@anchor-link-secondary-padding: var(~'@{anchor-prefix}-secondary-spacing-padding', 12px 8px);
|
|
393
393
|
@anchor-advanced-padding-top: var(~'@{anchor-prefix}-advanced-spacing-padding-top', 8px);
|
|
394
394
|
@anchor-advanced-padding-bottom: var(~'@{anchor-prefix}-advanced-spacing-padding-bottom', 7px);
|
|
395
|
-
@anchor-
|
|
395
|
+
@anchor-line-slider-width: var(~'@{anchor-prefix}-line-slider-spacing-width', 1px);
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
// font
|
|
@@ -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
|
}
|
|
@@ -5701,6 +5713,8 @@ textarea {
|
|
|
5701
5713
|
@menuitem-prefix-cls: ~'@{menu-prefix-cls}-item';
|
|
5702
5714
|
@menu-dark-prefix-cls: ~'@{menu-prefix-cls}-dark';
|
|
5703
5715
|
@menu-light-prefix-cls: ~'@{menu-prefix-cls}-light';
|
|
5716
|
+
@menu-vertical-prefix-cls: ~'@{menu-prefix-cls}-vertical';
|
|
5717
|
+
@menu-inline-prefix-cls: ~'@{menu-prefix-cls}-inline';
|
|
5704
5718
|
@menu-popper-prefix-cls: ~'@{menu-prefix-cls}-popper';
|
|
5705
5719
|
@submenu-prefix-cls: ~'@{menu-prefix-cls}-submenu';
|
|
5706
5720
|
|
|
@@ -5710,56 +5724,17 @@ textarea {
|
|
|
5710
5724
|
&-inline {
|
|
5711
5725
|
.@{menuitem-prefix-cls} {
|
|
5712
5726
|
.ellipsis();
|
|
5713
|
-
|
|
5714
|
-
&-active {
|
|
5715
|
-
color: @menu-inline-color-active;
|
|
5716
|
-
}
|
|
5717
5727
|
}
|
|
5718
5728
|
|
|
5719
5729
|
.@{submenu-prefix-cls} {
|
|
5720
5730
|
padding-right: 0;
|
|
5721
5731
|
}
|
|
5722
|
-
|
|
5723
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
5724
|
-
color: @menu-inline-color-active;
|
|
5725
|
-
}
|
|
5726
5732
|
}
|
|
5727
5733
|
|
|
5728
5734
|
&-collapsed {
|
|
5729
5735
|
width: 50px;
|
|
5730
5736
|
min-width: auto;
|
|
5731
5737
|
}
|
|
5732
|
-
|
|
5733
|
-
&-vertical {
|
|
5734
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover,
|
|
5735
|
-
.@{submenu-prefix-cls}-hover {
|
|
5736
|
-
.hover();
|
|
5737
|
-
}
|
|
5738
|
-
}
|
|
5739
|
-
|
|
5740
|
-
&-light {
|
|
5741
|
-
.light()
|
|
5742
|
-
}
|
|
5743
|
-
|
|
5744
|
-
&-light&-vertical {
|
|
5745
|
-
.@{submenu-prefix-cls}-sub {
|
|
5746
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5747
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
5748
|
-
}
|
|
5749
|
-
|
|
5750
|
-
.@{menuitem-prefix-cls} {
|
|
5751
|
-
&:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover {
|
|
5752
|
-
.light-hover();
|
|
5753
|
-
border: none;
|
|
5754
|
-
}
|
|
5755
|
-
|
|
5756
|
-
&-active {
|
|
5757
|
-
color: @menu-light-color-active;
|
|
5758
|
-
background-color: @menu-light-color-background-active;
|
|
5759
|
-
border: none !important;
|
|
5760
|
-
}
|
|
5761
|
-
}
|
|
5762
|
-
}
|
|
5763
5738
|
}
|
|
5764
5739
|
|
|
5765
5740
|
.@{menuitem-prefix-cls} {
|
|
@@ -5768,10 +5743,6 @@ textarea {
|
|
|
5768
5743
|
transition: color, background-color;
|
|
5769
5744
|
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
5770
5745
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
5771
|
-
|
|
5772
|
-
&:not(&-disabled):hover {
|
|
5773
|
-
.hover();
|
|
5774
|
-
}
|
|
5775
5746
|
}
|
|
5776
5747
|
|
|
5777
5748
|
.@{submenu-prefix-cls} {
|
|
@@ -5781,13 +5752,8 @@ textarea {
|
|
|
5781
5752
|
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
5782
5753
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
5783
5754
|
|
|
5784
|
-
&-hover {
|
|
5785
|
-
.hover();
|
|
5786
|
-
}
|
|
5787
|
-
|
|
5788
5755
|
&-sub {
|
|
5789
5756
|
line-height: @menu-item-height;
|
|
5790
|
-
color: @menu-sub-color;
|
|
5791
5757
|
}
|
|
5792
5758
|
|
|
5793
5759
|
&-thrid {
|
|
@@ -5863,24 +5829,66 @@ textarea {
|
|
|
5863
5829
|
}
|
|
5864
5830
|
}
|
|
5865
5831
|
|
|
5832
|
+
// dark
|
|
5866
5833
|
.@{menu-dark-prefix-cls} {
|
|
5834
|
+
|
|
5867
5835
|
.@{submenu-prefix-cls}-sub {
|
|
5836
|
+
color: @menu-sub-color;
|
|
5868
5837
|
background: @menu-sub-inline-color-background;
|
|
5869
5838
|
}
|
|
5870
5839
|
|
|
5871
5840
|
.@{submenu-prefix-cls}-sub-second, .@{submenu-prefix-cls}-sub-third {
|
|
5872
5841
|
background: @menu-sub-color-background;
|
|
5873
5842
|
}
|
|
5843
|
+
|
|
5844
|
+
.@{menuitem-prefix-cls} {
|
|
5845
|
+
&:hover {
|
|
5846
|
+
.hover();
|
|
5847
|
+
}
|
|
5848
|
+
|
|
5849
|
+
&-active {
|
|
5850
|
+
.active()
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
5855
|
+
.active()
|
|
5856
|
+
}
|
|
5857
|
+
|
|
5858
|
+
.@{menuitem-prefix-cls}-hover, .@{submenu-prefix-cls}-hover {
|
|
5859
|
+
.hover()
|
|
5860
|
+
}
|
|
5874
5861
|
}
|
|
5875
5862
|
|
|
5863
|
+
.@{menu-inline-prefix-cls}.@{menu-dark-prefix-cls} {
|
|
5864
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
5865
|
+
.@{submenu-prefix-cls}-title {
|
|
5866
|
+
.active-inline-title()
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
|
|
5870
|
+
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled) {
|
|
5871
|
+
> .@{submenu-prefix-cls}-title:hover {
|
|
5872
|
+
.active-inline-title()
|
|
5873
|
+
}
|
|
5874
|
+
}
|
|
5875
|
+
}
|
|
5876
|
+
|
|
5877
|
+
// light
|
|
5876
5878
|
.@{menu-light-prefix-cls} {
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
+
.light();
|
|
5880
|
+
}
|
|
5881
|
+
|
|
5882
|
+
.@{menu-inline-prefix-cls}.@{menu-light-prefix-cls} {
|
|
5883
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
5884
|
+
.@{submenu-prefix-cls}-title {
|
|
5885
|
+
.light-active-inline-title()
|
|
5886
|
+
}
|
|
5879
5887
|
}
|
|
5880
5888
|
}
|
|
5881
5889
|
|
|
5882
5890
|
.@{menu-popper-prefix-cls} {
|
|
5883
|
-
.@{submenu-prefix-cls}:
|
|
5891
|
+
.@{submenu-prefix-cls}:hover,
|
|
5884
5892
|
.@{submenu-prefix-cls}-hover {
|
|
5885
5893
|
.hover();
|
|
5886
5894
|
}
|
|
@@ -5899,12 +5907,15 @@ textarea {
|
|
|
5899
5907
|
padding-right: 0;
|
|
5900
5908
|
|
|
5901
5909
|
&-sub {
|
|
5910
|
+
color: @menu-sub-color;
|
|
5902
5911
|
background: @menu-sub-inline-color-background;
|
|
5912
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5913
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
5903
5914
|
|
|
5904
5915
|
.@{menuitem-prefix-cls} {
|
|
5905
5916
|
&:hover,
|
|
5906
5917
|
&-active {
|
|
5907
|
-
|
|
5918
|
+
.hover()
|
|
5908
5919
|
}
|
|
5909
5920
|
}
|
|
5910
5921
|
|
|
@@ -5931,27 +5942,6 @@ textarea {
|
|
|
5931
5942
|
|
|
5932
5943
|
&.light {
|
|
5933
5944
|
.light();
|
|
5934
|
-
|
|
5935
|
-
.@{submenu-prefix-cls}-sub {
|
|
5936
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5937
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
5938
|
-
}
|
|
5939
|
-
|
|
5940
|
-
.@{menuitem-prefix-cls}:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover,
|
|
5941
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
5942
|
-
.light-hover();
|
|
5943
|
-
border: none;
|
|
5944
|
-
}
|
|
5945
|
-
|
|
5946
|
-
.@{menuitem-prefix-cls}-hover,.@{submenu-prefix-cls}-hover {
|
|
5947
|
-
.light-hover();
|
|
5948
|
-
border: none;
|
|
5949
|
-
}
|
|
5950
|
-
|
|
5951
|
-
.@{menuitem-prefix-cls}-active,.@{submenu-prefix-cls}-active {
|
|
5952
|
-
.light-active();
|
|
5953
|
-
border: none;
|
|
5954
|
-
}
|
|
5955
5945
|
}
|
|
5956
5946
|
}
|
|
5957
5947
|
|
|
@@ -5985,12 +5975,15 @@ textarea {
|
|
|
5985
5975
|
cursor: pointer;
|
|
5986
5976
|
|
|
5987
5977
|
&-title {
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5978
|
+
display: flex;
|
|
5979
|
+
align-items: center;
|
|
5980
|
+
height: 50px;
|
|
5981
|
+
.ellipsis();
|
|
5982
|
+
& > span {
|
|
5983
|
+
.ellipsis();
|
|
5984
|
+
opacity: 1;
|
|
5985
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
5986
|
+
}
|
|
5994
5987
|
}
|
|
5995
5988
|
|
|
5996
5989
|
&-collapsed {
|
|
@@ -6007,7 +6000,7 @@ textarea {
|
|
|
6007
6000
|
|
|
6008
6001
|
& > span {
|
|
6009
6002
|
opacity: 0;
|
|
6010
|
-
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0
|
|
6003
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
6011
6004
|
}
|
|
6012
6005
|
}
|
|
6013
6006
|
}
|
|
@@ -6019,80 +6012,94 @@ textarea {
|
|
|
6019
6012
|
|
|
6020
6013
|
&-disabled {
|
|
6021
6014
|
cursor: not-allowed;
|
|
6022
|
-
color: @menu-color-disabled;
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
&-active {
|
|
6026
|
-
.hover();
|
|
6015
|
+
color: @menu-color-disabled !important;
|
|
6016
|
+
background-color: @menu-color-background !important;
|
|
6027
6017
|
}
|
|
6028
6018
|
|
|
6029
6019
|
&-arrow {
|
|
6030
6020
|
margin-left: auto;
|
|
6031
6021
|
font-size: 16px;
|
|
6022
|
+
|
|
6032
6023
|
&-up {
|
|
6033
6024
|
transform: rotate(180deg);
|
|
6034
|
-
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0
|
|
6025
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
6035
6026
|
}
|
|
6036
6027
|
|
|
6037
6028
|
&-down {
|
|
6038
6029
|
transform: rotate(0deg);
|
|
6039
|
-
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0.4,0,0.6,1);
|
|
6030
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
6040
6031
|
}
|
|
6041
6032
|
}
|
|
6042
6033
|
}
|
|
6043
6034
|
|
|
6035
|
+
|
|
6044
6036
|
.hover {
|
|
6045
6037
|
background-color: @menu-sub-color-background;
|
|
6046
6038
|
color: @menu-sub-color-hover;
|
|
6047
6039
|
}
|
|
6048
6040
|
|
|
6049
|
-
.
|
|
6050
|
-
background-color: @menu-
|
|
6051
|
-
color: @menu-
|
|
6052
|
-
}
|
|
6053
|
-
|
|
6054
|
-
.light-active {
|
|
6055
|
-
background-color: @menu-light-color-background-active;
|
|
6056
|
-
color: @menu-light-color-active;
|
|
6057
|
-
}
|
|
6058
|
-
|
|
6059
|
-
.light-default {
|
|
6060
|
-
color: @menu-light-color;
|
|
6061
|
-
background: #ffffff;
|
|
6041
|
+
.active {
|
|
6042
|
+
background-color: @menu-sub-color-background;
|
|
6043
|
+
color: @menu-sub-color-hover;
|
|
6062
6044
|
}
|
|
6063
6045
|
|
|
6064
|
-
.
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
.ellipsis();
|
|
6069
|
-
& > span {
|
|
6070
|
-
.ellipsis();
|
|
6071
|
-
}
|
|
6046
|
+
.active-inline-title {
|
|
6047
|
+
color: @menu-sub-color-hover !important;
|
|
6048
|
+
background: @menu-color-background !important;
|
|
6049
|
+
border: none;
|
|
6072
6050
|
}
|
|
6073
6051
|
|
|
6074
6052
|
|
|
6075
6053
|
.light {
|
|
6076
6054
|
.light-default();
|
|
6077
6055
|
|
|
6078
|
-
.@{submenu-prefix-cls}-
|
|
6079
|
-
|
|
6080
|
-
.light-default();
|
|
6056
|
+
.@{menuitem-prefix-cls}-disabled, .@{submenu-prefix-cls}-disabled {
|
|
6057
|
+
background-color: #fff !important;
|
|
6081
6058
|
}
|
|
6082
6059
|
|
|
6083
|
-
.@{submenu-prefix-cls}-
|
|
6084
|
-
color: @menu-light-color
|
|
6060
|
+
.@{submenu-prefix-cls}-sub {
|
|
6061
|
+
color: @menu-light-color;
|
|
6062
|
+
background: #FAFAFA;
|
|
6085
6063
|
}
|
|
6086
6064
|
|
|
6087
|
-
.@{
|
|
6065
|
+
.@{menuitem-prefix-cls}:hover {
|
|
6088
6066
|
.light-hover();
|
|
6089
6067
|
}
|
|
6090
6068
|
|
|
6091
|
-
.@{menuitem-prefix-cls}
|
|
6069
|
+
.@{menuitem-prefix-cls}-hover, .@{submenu-prefix-cls}-hover {
|
|
6092
6070
|
.light-hover();
|
|
6093
6071
|
}
|
|
6072
|
+
|
|
6073
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
6074
|
+
.light-active();
|
|
6075
|
+
}
|
|
6076
|
+
}
|
|
6077
|
+
|
|
6078
|
+
.light-default {
|
|
6079
|
+
color: @menu-light-color;
|
|
6080
|
+
background: #ffffff;
|
|
6094
6081
|
}
|
|
6095
6082
|
|
|
6083
|
+
.light-hover {
|
|
6084
|
+
background-color: @menu-light-color-background-hover;
|
|
6085
|
+
color: @menu-light-color-hover;
|
|
6086
|
+
border: none;
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
.light-active {
|
|
6090
|
+
background-color: @menu-light-color-background-active !important;
|
|
6091
|
+
color: @menu-light-color-active !important;
|
|
6092
|
+
border: none;
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
.light-active-inline-title {
|
|
6096
|
+
color: @menu-light-color-active !important;
|
|
6097
|
+
background: #ffffff !important;
|
|
6098
|
+
border: none;
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
|
|
6102
|
+
|
|
6096
6103
|
|
|
6097
6104
|
|
|
6098
6105
|
@menu-prefix: '--@{kd-prefix}-c-menu';
|
|
@@ -12193,7 +12200,7 @@ template {
|
|
|
12193
12200
|
|
|
12194
12201
|
// line-height
|
|
12195
12202
|
@switch-large-line-height: var(~'@{switch-prefix}-large-line-height', 20px);
|
|
12196
|
-
@switch-small-line-height: var(~'@{switch-prefix}-small-line-height',
|
|
12203
|
+
@switch-small-line-height: var(~'@{switch-prefix}-small-line-height', 16px);
|
|
12197
12204
|
|
|
12198
12205
|
//radius
|
|
12199
12206
|
@switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border', 8px);
|
|
@@ -13495,7 +13502,6 @@ template {
|
|
|
13495
13502
|
pointer-events: none;
|
|
13496
13503
|
}
|
|
13497
13504
|
&-item {
|
|
13498
|
-
height: @tree-node-height;
|
|
13499
13505
|
display: flex;
|
|
13500
13506
|
align-items: center;
|
|
13501
13507
|
}
|
|
@@ -13516,7 +13522,7 @@ template {
|
|
|
13516
13522
|
border-right: 10px;
|
|
13517
13523
|
border-color: white;
|
|
13518
13524
|
border-style: solid;
|
|
13519
|
-
height:
|
|
13525
|
+
height: 100%;
|
|
13520
13526
|
cursor: default;
|
|
13521
13527
|
opacity: 0;
|
|
13522
13528
|
}
|
|
@@ -13613,7 +13619,6 @@ template {
|
|
|
13613
13619
|
@tree-node-icon-color-text: var(~'@{tree-prefix}-node-icon-color-text', #666666);
|
|
13614
13620
|
|
|
13615
13621
|
// sizing
|
|
13616
|
-
@tree-node-height: var(~'@{tree-prefix}-node-sizing-height', 32px);
|
|
13617
13622
|
@tree-expand-icon-height: var(~'@{tree-prefix}-expand-icon-sizing-height', 22px);
|
|
13618
13623
|
@tree-expand-icon-width: var(~'@{tree-prefix}-expand-icon-sizing-width', 22px);
|
|
13619
13624
|
@tree-node-icon-height: var(~'@{tree-prefix}-node-icon-sizing-height', 20px);
|