Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Space.Compact #37652

Merged
merged 84 commits into from
Oct 18, 2022
Merged

feat: add Space.Compact #37652

merged 84 commits into from
Oct 18, 2022

Conversation

foryuki
Copy link
Contributor

@foryuki foryuki commented Sep 20, 2022

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

RFC #37521

💡 Background and solution

实现了横向紧凑布局边框折叠

目前支持的组件有:

  • Button
  • AutoComplete
  • Cascader
  • DatePicker
  • Input/Input.Search
  • Select
  • TimePicker
  • TreeSelect

实现了纵向紧凑布局

纵向紧凑布局暂时只支持 Button 组件。

下一步计划

Dropdown.Button 换成 Space.Compact 实现

image

Input addon 换成 Space.Compact 实现

input 的 addon 需要在 Space.Compact 下做边框合并(等到 addon 换为 Space.Compact 再实现)。

image

📝 Changelog

Language Changelog
🇺🇸 English Add new component Space.Compact.
🇨🇳 Chinese 新增组件 Space.Compact 。

☑️ Self-Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
pellared Robert Pająk
@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2022

@foryuki foryuki changed the title feat: add Space.Compact WIP: feat: add Space.Compact Oct 12, 2022
@foryuki foryuki changed the title WIP: feat: add Space.Compact feat: add Space.Compact Oct 12, 2022
@zombieJ zombieJ merged commit c3e5150 into ant-design:feature Oct 18, 2022
@MadCcc MadCcc mentioned this pull request Oct 19, 2022
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants