@kdcloudjs/kdesign 1.3.7 → 1.4.0
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 +38 -0
- package/dist/kdesign-complete.less +122 -129
- package/dist/kdesign.css +129 -118
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +176 -137
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +3 -3
- 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/config-provider/compDefaultProps.d.ts +1 -0
- package/es/config-provider/compDefaultProps.js +2 -1
- package/es/menu/menu.js +21 -9
- package/es/menu/menuItem.js +13 -3
- package/es/menu/style/index.css +119 -107
- package/es/menu/style/index.less +54 -76
- package/es/menu/style/mixin.less +60 -43
- package/es/menu/subMenu.js +23 -16
- 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/config-provider/compDefaultProps.d.ts +1 -0
- package/lib/config-provider/compDefaultProps.js +2 -1
- package/lib/menu/menu.js +21 -9
- package/lib/menu/menuItem.js +15 -3
- package/lib/menu/style/index.css +119 -107
- package/lib/menu/style/index.less +54 -76
- package/lib/menu/style/mixin.less +60 -43
- package/lib/menu/subMenu.js +25 -17
- 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,41 @@
|
|
|
1
|
+
## [1.3.9](https://github.com/kdcloudone/kdesign/compare/v1.3.7...v1.3.9) (2022-07-14)
|
|
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
|
+
* [docs] 更正cra跳转链接 ([70c1bf3](https://github.com/kdcloudone/kdesign/commit/70c1bf38f441a5e36ec60e30f71d3fb4af4b7b53))
|
|
9
|
+
* [form]onChange及disabled值处理 ([17cf20b](https://github.com/kdcloudone/kdesign/commit/17cf20be64730e0d929aee48fcd624d9e978b743))
|
|
10
|
+
* [menu]菜单切换问题处理 ([3781a69](https://github.com/kdcloudone/kdesign/commit/3781a6967543f795d7a8c3e32d9830a9b4821f9b))
|
|
11
|
+
* [menu]修改高亮样式 ([624cc02](https://github.com/kdcloudone/kdesign/commit/624cc0231ed044c0bc2caafdfb24291b2681132b))
|
|
12
|
+
* [menu]样式修改 ([ee386ea](https://github.com/kdcloudone/kdesign/commit/ee386eaa41cf4e16fc1099e4246b704a6d4f4652))
|
|
13
|
+
* [select] 在启用listHeight属性的时候,拓展内容未固定 ([3684321](https://github.com/kdcloudone/kdesign/commit/36843215765b711ccf8269646f673aab2ebf9c3b))
|
|
14
|
+
* [select] select下拉面板需要z-index设置 ([eb0e46d](https://github.com/kdcloudone/kdesign/commit/eb0e46dffbf6af8a5ff0dd603af4e52d45843e8d))
|
|
15
|
+
* [switch] 解决开关文字垂直没对齐问题 ([df90939](https://github.com/kdcloudone/kdesign/commit/df90939f3d158cd8a1b9524e69741b10939b63df))
|
|
16
|
+
* [tree] 解决api estimatedItemSize设置树节点高度不生效问题 ([fe62d29](https://github.com/kdcloudone/kdesign/commit/fe62d290f7a5c9e3c7f31c8b47d764ae0d485105))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [1.3.7](https://github.com/kdcloudone/kdesign/compare/v1.3.6...v1.3.7) (2022-06-30)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* [button] 修复loading按钮以及单个图标按钮默认居中的视觉问题 ([efc3eb8](https://github.com/kdcloudone/kdesign/commit/efc3eb853685cdd9f6eeeca662e07ea600099f10))
|
|
26
|
+
* [checkbox] 修复ref取值为null的bug ([19da577](https://github.com/kdcloudone/kdesign/commit/19da577d3466c15d2446f741482edde7d10a8d25))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [1.3.6](https://github.com/kdcloudone/kdesign/compare/v1.3.5...v1.3.6) (2022-06-27)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* [table] 更新table版本 ([860ac40](https://github.com/kdcloudone/kdesign/commit/860ac408ffb9bf6486477f8160decb1fdd4b1c2d))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
1
39
|
## [1.3.5](https://github.com/kdcloudone/kdesign/compare/v1.3.4...v1.3.5) (2022-06-23)
|
|
2
40
|
|
|
3
41
|
|
|
@@ -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
|
|
@@ -5713,6 +5713,8 @@ textarea {
|
|
|
5713
5713
|
@menuitem-prefix-cls: ~'@{menu-prefix-cls}-item';
|
|
5714
5714
|
@menu-dark-prefix-cls: ~'@{menu-prefix-cls}-dark';
|
|
5715
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';
|
|
5716
5718
|
@menu-popper-prefix-cls: ~'@{menu-prefix-cls}-popper';
|
|
5717
5719
|
@submenu-prefix-cls: ~'@{menu-prefix-cls}-submenu';
|
|
5718
5720
|
|
|
@@ -5722,56 +5724,17 @@ textarea {
|
|
|
5722
5724
|
&-inline {
|
|
5723
5725
|
.@{menuitem-prefix-cls} {
|
|
5724
5726
|
.ellipsis();
|
|
5725
|
-
|
|
5726
|
-
&-active {
|
|
5727
|
-
color: @menu-inline-color-active;
|
|
5728
|
-
}
|
|
5729
5727
|
}
|
|
5730
5728
|
|
|
5731
5729
|
.@{submenu-prefix-cls} {
|
|
5732
5730
|
padding-right: 0;
|
|
5733
5731
|
}
|
|
5734
|
-
|
|
5735
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
5736
|
-
color: @menu-inline-color-active;
|
|
5737
|
-
}
|
|
5738
5732
|
}
|
|
5739
5733
|
|
|
5740
5734
|
&-collapsed {
|
|
5741
5735
|
width: 50px;
|
|
5742
5736
|
min-width: auto;
|
|
5743
5737
|
}
|
|
5744
|
-
|
|
5745
|
-
&-vertical {
|
|
5746
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover,
|
|
5747
|
-
.@{submenu-prefix-cls}-hover {
|
|
5748
|
-
.hover();
|
|
5749
|
-
}
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5752
|
-
&-light {
|
|
5753
|
-
.light()
|
|
5754
|
-
}
|
|
5755
|
-
|
|
5756
|
-
&-light&-vertical {
|
|
5757
|
-
.@{submenu-prefix-cls}-sub {
|
|
5758
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5759
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
5760
|
-
}
|
|
5761
|
-
|
|
5762
|
-
.@{menuitem-prefix-cls} {
|
|
5763
|
-
&:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover {
|
|
5764
|
-
.light-hover();
|
|
5765
|
-
border: none;
|
|
5766
|
-
}
|
|
5767
|
-
|
|
5768
|
-
&-active {
|
|
5769
|
-
color: @menu-light-color-active;
|
|
5770
|
-
background-color: @menu-light-color-background-active;
|
|
5771
|
-
border: none !important;
|
|
5772
|
-
}
|
|
5773
|
-
}
|
|
5774
|
-
}
|
|
5775
5738
|
}
|
|
5776
5739
|
|
|
5777
5740
|
.@{menuitem-prefix-cls} {
|
|
@@ -5780,10 +5743,6 @@ textarea {
|
|
|
5780
5743
|
transition: color, background-color;
|
|
5781
5744
|
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
5782
5745
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
5783
|
-
|
|
5784
|
-
&:not(&-disabled):hover {
|
|
5785
|
-
.hover();
|
|
5786
|
-
}
|
|
5787
5746
|
}
|
|
5788
5747
|
|
|
5789
5748
|
.@{submenu-prefix-cls} {
|
|
@@ -5793,13 +5752,8 @@ textarea {
|
|
|
5793
5752
|
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
5794
5753
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
5795
5754
|
|
|
5796
|
-
&-hover {
|
|
5797
|
-
.hover();
|
|
5798
|
-
}
|
|
5799
|
-
|
|
5800
5755
|
&-sub {
|
|
5801
5756
|
line-height: @menu-item-height;
|
|
5802
|
-
color: @menu-sub-color;
|
|
5803
5757
|
}
|
|
5804
5758
|
|
|
5805
5759
|
&-thrid {
|
|
@@ -5875,26 +5829,68 @@ textarea {
|
|
|
5875
5829
|
}
|
|
5876
5830
|
}
|
|
5877
5831
|
|
|
5832
|
+
// dark
|
|
5878
5833
|
.@{menu-dark-prefix-cls} {
|
|
5834
|
+
|
|
5879
5835
|
.@{submenu-prefix-cls}-sub {
|
|
5836
|
+
color: @menu-sub-color;
|
|
5880
5837
|
background: @menu-sub-inline-color-background;
|
|
5881
5838
|
}
|
|
5882
5839
|
|
|
5883
5840
|
.@{submenu-prefix-cls}-sub-second, .@{submenu-prefix-cls}-sub-third {
|
|
5884
5841
|
background: @menu-sub-color-background;
|
|
5885
5842
|
}
|
|
5843
|
+
|
|
5844
|
+
.@{menuitem-prefix-cls} {
|
|
5845
|
+
&:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover {
|
|
5846
|
+
.menu-dark-hover();
|
|
5847
|
+
}
|
|
5848
|
+
|
|
5849
|
+
&-active {
|
|
5850
|
+
.menu-dark-active()
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
5855
|
+
.menu-dark-active()
|
|
5856
|
+
}
|
|
5857
|
+
|
|
5858
|
+
.@{menuitem-prefix-cls}-hover, .@{submenu-prefix-cls}-hover {
|
|
5859
|
+
.menu-dark-hover()
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
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
|
+
.menu-dark-active-inline-title()
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
|
|
5870
|
+
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):not(.@{submenu-prefix-cls}-active) {
|
|
5871
|
+
> .@{submenu-prefix-cls}-title:hover {
|
|
5872
|
+
.menu-dark-active-inline-title()
|
|
5873
|
+
}
|
|
5874
|
+
}
|
|
5886
5875
|
}
|
|
5887
5876
|
|
|
5877
|
+
// light
|
|
5888
5878
|
.@{menu-light-prefix-cls} {
|
|
5889
|
-
|
|
5890
|
-
|
|
5879
|
+
.menu-light-base();
|
|
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
|
+
.menu-light-active-inline-title()
|
|
5886
|
+
}
|
|
5891
5887
|
}
|
|
5892
5888
|
}
|
|
5893
5889
|
|
|
5894
5890
|
.@{menu-popper-prefix-cls} {
|
|
5895
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover,
|
|
5891
|
+
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):not(.@{submenu-prefix-cls}-active):hover,
|
|
5896
5892
|
.@{submenu-prefix-cls}-hover {
|
|
5897
|
-
.hover();
|
|
5893
|
+
.menu-dark-hover();
|
|
5898
5894
|
}
|
|
5899
5895
|
|
|
5900
5896
|
&.hidden {
|
|
@@ -5911,12 +5907,15 @@ textarea {
|
|
|
5911
5907
|
padding-right: 0;
|
|
5912
5908
|
|
|
5913
5909
|
&-sub {
|
|
5910
|
+
color: @menu-sub-color;
|
|
5914
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);
|
|
5915
5914
|
|
|
5916
5915
|
.@{menuitem-prefix-cls} {
|
|
5917
|
-
&:hover,
|
|
5916
|
+
&:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover,
|
|
5918
5917
|
&-active {
|
|
5919
|
-
|
|
5918
|
+
.menu-dark-hover()
|
|
5920
5919
|
}
|
|
5921
5920
|
}
|
|
5922
5921
|
|
|
@@ -5942,28 +5941,7 @@ textarea {
|
|
|
5942
5941
|
}
|
|
5943
5942
|
|
|
5944
5943
|
&.light {
|
|
5945
|
-
.light();
|
|
5946
|
-
|
|
5947
|
-
.@{submenu-prefix-cls}-sub {
|
|
5948
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5949
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
5950
|
-
}
|
|
5951
|
-
|
|
5952
|
-
.@{menuitem-prefix-cls}:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover,
|
|
5953
|
-
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
5954
|
-
.light-hover();
|
|
5955
|
-
border: none;
|
|
5956
|
-
}
|
|
5957
|
-
|
|
5958
|
-
.@{menuitem-prefix-cls}-hover,.@{submenu-prefix-cls}-hover {
|
|
5959
|
-
.light-hover();
|
|
5960
|
-
border: none;
|
|
5961
|
-
}
|
|
5962
|
-
|
|
5963
|
-
.@{menuitem-prefix-cls}-active,.@{submenu-prefix-cls}-active {
|
|
5964
|
-
.light-active();
|
|
5965
|
-
border: none;
|
|
5966
|
-
}
|
|
5944
|
+
.menu-light-base();
|
|
5967
5945
|
}
|
|
5968
5946
|
}
|
|
5969
5947
|
|
|
@@ -5997,12 +5975,16 @@ textarea {
|
|
|
5997
5975
|
cursor: pointer;
|
|
5998
5976
|
|
|
5999
5977
|
&-title {
|
|
6000
|
-
|
|
6001
|
-
|
|
5978
|
+
display: flex;
|
|
5979
|
+
align-items: center;
|
|
5980
|
+
height: 50px;
|
|
5981
|
+
.ellipsis();
|
|
6002
5982
|
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
5983
|
+
& > span {
|
|
5984
|
+
.ellipsis();
|
|
5985
|
+
opacity: 1;
|
|
5986
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
5987
|
+
}
|
|
6006
5988
|
}
|
|
6007
5989
|
|
|
6008
5990
|
&-collapsed {
|
|
@@ -6019,7 +6001,7 @@ textarea {
|
|
|
6019
6001
|
|
|
6020
6002
|
& > span {
|
|
6021
6003
|
opacity: 0;
|
|
6022
|
-
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0
|
|
6004
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
6023
6005
|
}
|
|
6024
6006
|
}
|
|
6025
6007
|
}
|
|
@@ -6032,79 +6014,92 @@ textarea {
|
|
|
6032
6014
|
&-disabled {
|
|
6033
6015
|
cursor: not-allowed;
|
|
6034
6016
|
color: @menu-color-disabled;
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
&-active {
|
|
6038
|
-
.hover();
|
|
6017
|
+
background-color: @menu-color-background;
|
|
6039
6018
|
}
|
|
6040
6019
|
|
|
6041
6020
|
&-arrow {
|
|
6042
6021
|
margin-left: auto;
|
|
6043
6022
|
font-size: 16px;
|
|
6023
|
+
|
|
6044
6024
|
&-up {
|
|
6045
6025
|
transform: rotate(180deg);
|
|
6046
|
-
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0
|
|
6026
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1);
|
|
6047
6027
|
}
|
|
6048
6028
|
|
|
6049
6029
|
&-down {
|
|
6050
6030
|
transform: rotate(0deg);
|
|
6051
|
-
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0.4,0,0.6,1);
|
|
6031
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
6052
6032
|
}
|
|
6053
6033
|
}
|
|
6054
6034
|
}
|
|
6055
6035
|
|
|
6056
|
-
|
|
6036
|
+
|
|
6037
|
+
.menu-dark-hover {
|
|
6057
6038
|
background-color: @menu-sub-color-background;
|
|
6058
6039
|
color: @menu-sub-color-hover;
|
|
6059
6040
|
}
|
|
6060
6041
|
|
|
6061
|
-
.
|
|
6062
|
-
background-color: @menu-
|
|
6063
|
-
color: @menu-
|
|
6042
|
+
.menu-dark-active {
|
|
6043
|
+
background-color: @menu-sub-color-background;
|
|
6044
|
+
color: @menu-sub-color-hover;
|
|
6064
6045
|
}
|
|
6065
6046
|
|
|
6066
|
-
.
|
|
6067
|
-
|
|
6068
|
-
|
|
6047
|
+
.menu-dark-active-inline-title {
|
|
6048
|
+
color: @menu-sub-color-hover;
|
|
6049
|
+
background: @menu-color-background;
|
|
6050
|
+
border: none;
|
|
6069
6051
|
}
|
|
6070
6052
|
|
|
6071
|
-
.light-
|
|
6072
|
-
|
|
6073
|
-
background: #ffffff;
|
|
6074
|
-
}
|
|
6053
|
+
.menu-light-base {
|
|
6054
|
+
.menu-light-default();
|
|
6075
6055
|
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
align-items: center;
|
|
6079
|
-
height: 50px;
|
|
6080
|
-
.ellipsis();
|
|
6081
|
-
& > span {
|
|
6082
|
-
.ellipsis();
|
|
6056
|
+
.@{menuitem-prefix-cls}-disabled, .@{submenu-prefix-cls}-disabled {
|
|
6057
|
+
background-color: #fff;
|
|
6083
6058
|
}
|
|
6084
|
-
}
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
.light {
|
|
6088
|
-
.light-default();
|
|
6089
6059
|
|
|
6090
|
-
.@{submenu-prefix-cls}-hover,
|
|
6091
6060
|
.@{submenu-prefix-cls}-sub {
|
|
6092
|
-
|
|
6061
|
+
color: @menu-light-color;
|
|
6062
|
+
background: #fafafa;
|
|
6093
6063
|
}
|
|
6094
6064
|
|
|
6095
|
-
.@{
|
|
6096
|
-
|
|
6065
|
+
.@{menuitem-prefix-cls}:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover {
|
|
6066
|
+
.menu-light-hover();
|
|
6097
6067
|
}
|
|
6098
6068
|
|
|
6099
|
-
.@{
|
|
6100
|
-
.light-hover();
|
|
6069
|
+
.@{menuitem-prefix-cls}-hover, .@{submenu-prefix-cls}-hover {
|
|
6070
|
+
.menu-light-hover();
|
|
6101
6071
|
}
|
|
6102
6072
|
|
|
6103
|
-
.@{menuitem-prefix-cls}
|
|
6104
|
-
.light-
|
|
6073
|
+
.@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
|
|
6074
|
+
.menu-light-active();
|
|
6105
6075
|
}
|
|
6106
6076
|
}
|
|
6107
6077
|
|
|
6078
|
+
.menu-light-default {
|
|
6079
|
+
color: @menu-light-color;
|
|
6080
|
+
background: #ffffff;
|
|
6081
|
+
}
|
|
6082
|
+
|
|
6083
|
+
.menu-light-hover {
|
|
6084
|
+
background-color: @menu-light-color-background-hover;
|
|
6085
|
+
color: @menu-light-color-hover;
|
|
6086
|
+
border: none;
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
.menu-light-active {
|
|
6090
|
+
background-color: @menu-light-color-background-active;
|
|
6091
|
+
color: @menu-light-color-active;
|
|
6092
|
+
border: none;
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
.menu-light-active-inline-title {
|
|
6096
|
+
color: @menu-light-color-active;
|
|
6097
|
+
background: #ffffff;
|
|
6098
|
+
border: none;
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
|
|
6102
|
+
|
|
6108
6103
|
|
|
6109
6104
|
|
|
6110
6105
|
@menu-prefix: '--@{kd-prefix}-c-menu';
|
|
@@ -12205,7 +12200,7 @@ template {
|
|
|
12205
12200
|
|
|
12206
12201
|
// line-height
|
|
12207
12202
|
@switch-large-line-height: var(~'@{switch-prefix}-large-line-height', 20px);
|
|
12208
|
-
@switch-small-line-height: var(~'@{switch-prefix}-small-line-height',
|
|
12203
|
+
@switch-small-line-height: var(~'@{switch-prefix}-small-line-height', 16px);
|
|
12209
12204
|
|
|
12210
12205
|
//radius
|
|
12211
12206
|
@switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border', 8px);
|
|
@@ -13507,7 +13502,6 @@ template {
|
|
|
13507
13502
|
pointer-events: none;
|
|
13508
13503
|
}
|
|
13509
13504
|
&-item {
|
|
13510
|
-
height: @tree-node-height;
|
|
13511
13505
|
display: flex;
|
|
13512
13506
|
align-items: center;
|
|
13513
13507
|
}
|
|
@@ -13528,7 +13522,7 @@ template {
|
|
|
13528
13522
|
border-right: 10px;
|
|
13529
13523
|
border-color: white;
|
|
13530
13524
|
border-style: solid;
|
|
13531
|
-
height:
|
|
13525
|
+
height: 100%;
|
|
13532
13526
|
cursor: default;
|
|
13533
13527
|
opacity: 0;
|
|
13534
13528
|
}
|
|
@@ -13625,7 +13619,6 @@ template {
|
|
|
13625
13619
|
@tree-node-icon-color-text: var(~'@{tree-prefix}-node-icon-color-text', #666666);
|
|
13626
13620
|
|
|
13627
13621
|
// sizing
|
|
13628
|
-
@tree-node-height: var(~'@{tree-prefix}-node-sizing-height', 32px);
|
|
13629
13622
|
@tree-expand-icon-height: var(~'@{tree-prefix}-expand-icon-sizing-height', 22px);
|
|
13630
13623
|
@tree-expand-icon-width: var(~'@{tree-prefix}-expand-icon-sizing-width', 22px);
|
|
13631
13624
|
@tree-node-icon-height: var(~'@{tree-prefix}-node-icon-sizing-height', 20px);
|