Closed Can-Chen closed 1 week ago
Run & review this pull request in StackBlitz Codeflow.
🎯 Target branch: master (4eef817abedab4a6a7214920d926c86a18866a9e) 📖 View Full Report ↗︎ 📊 Summary: 🔄
1
changed
Expected (Branch master) | Actual (Current PR) | Diff |
---|---|---|
![]() |
![]() |
![]() |
[!IMPORTANT] There are 1 diffs found in this PR: 🔄
1
changed. Please check all items:
- [x] Visual diff is acceptable
This pull request addresses a bug fix for the Space.Compact
component to support TextArea
. It introduces changes to the TextArea
component to integrate with the compact item context, ensuring proper size and class management. Additionally, a demo is added to showcase the TextArea
usage within Space.Compact
.
File | Summary |
---|---|
components/input/TextArea.tsx | Integrated useCompactItemContext to manage size and class names for TextArea within Space.Compact . |
components/input/style/index.ts | Adjusted styles to ensure TextArea has a minimum height when used in compact mode. |
components/space/demo/compact.tsx | Added a demo to illustrate TextArea usage within Space.Compact . |
- [farm-normal](https://pkg.pr.new/template/c49d5c49-0826-4d3c-a271-50d03fea6985) - [vite-normal](https://pkg.pr.new/template/7d9845fd-f014-4984-8aff-9f1233ec8d86) - [rsbuild-normal](https://pkg.pr.new/template/1731cf3d-a97f-4ae2-a371-66b624301ca5) - [vite-practice](https://pkg.pr.new/template/b1f023cd-d25a-486a-9fdc-253b8315bcaf) - [umi-normal](https://pkg.pr.new/template/289a06ce-d240-44a5-a1fd-a702c86c31a4) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/4f741dc7-c360-406f-a98e-a23c3f9374b9) - [with-nextjs-extract-style](https://pkg.pr.new/template/1acbc503-5861-4382-8198-dcabab6c1782) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/38013e8b-048b-479b-94ad-f525c3f5c0b8) - [with-nextjs-inline-style](https://pkg.pr.new/template/2fcdfbdc-faf9-4529-9780-98ee6d747f02)
npm i https://pkg.pr.new/ant-design/ant-design/antd@52639
commit: 6fd93f0
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
4eef817
) to head (6fd93f0
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).
🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
📝 Change Log