idux
idux copied to clipboard
feat(cdk:scroll, comp:transfer, pro:transfer): add autoHeight support for virtualScroll, refactor transfer style
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines
- [x] Tests for the changes have been added/updated or not needed
- [x] Docs and demo have been added/updated or not needed
What is the current behavior?
虚拟滚动无法自适应容器高度 穿梭框无法自适应容器高度 树组件无法自适应容器高度
What is the new behavior?
增加CdkVirtualScroll组件的 autoHeight 属性,使其自适应容器高度 修改穿梭框与高级穿梭框样式,使穿梭框body可以自适应撑满高度 增加Tree组件的autoHeight属性,使其自适应容器高度
Other information
This preview will be available after the AzureCI is passed.
Codecov Report
Merging #920 (d528e6c) into main (aedc7ee) will increase coverage by
0.13%
. The diff coverage is100.00%
.
:exclamation: Current head d528e6c differs from pull request most recent head bf427b1. Consider uploading reports for the commit bf427b1 to get more accurate results
@@ Coverage Diff @@
## main #920 +/- ##
==========================================
+ Coverage 96.79% 96.92% +0.13%
==========================================
Files 321 321
Lines 30797 30654 -143
Branches 2801 2807 +6
==========================================
- Hits 29809 29712 -97
+ Misses 988 942 -46
Impacted Files | Coverage Δ | |
---|---|---|
packages/components/config/src/defaultConfig.ts | 100.00% <100.00%> (ø) |
|
packages/components/config/src/types.ts | 100.00% <100.00%> (ø) |
|
packages/components/table/src/Table.tsx | 100.00% <100.00%> (ø) |
|
packages/components/table/src/token.ts | 100.00% <100.00%> (ø) |
|
packages/components/transfer/src/Transfer.tsx | 100.00% <100.00%> (ø) |
|
packages/components/tree/src/Tree.tsx | 100.00% <100.00%> (ø) |
|
packages/components/tree/src/types.ts | 99.67% <100.00%> (+<0.01%) |
:arrow_up: |
packages/pro/tree/src/ProTree.tsx | 100.00% <100.00%> (ø) |
|
.../components/loading-bar/src/LoadingBarProvider.tsx | 95.85% <0.00%> (-0.05%) |
:arrow_down: |
packages/pro/search/src/types.ts | 100.00% <0.00%> (ø) |
|
... and 27 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.