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

docs: Add motion & dropdown faq #43403

Merged
merged 3 commits into from
Jul 6, 2023
Merged

docs: Add motion & dropdown faq #43403

merged 3 commits into from
Jul 6, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Jul 6, 2023

[中文版模板 / 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
  • Workflow
  • Other (about what?)

🔗 Related issue link

#41856 (comment)

close #43025

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English -
🇨🇳 Chinese -

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • 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

🚀 Summary

🤖 Generated by Copilot at 9bb9769

This pull request improves the documentation and the code example of the Customize Theme feature and the Dropdown component. It adds new sections on how to disable motion and how to prevent horizontal squeezing of the Dropdown, and fixes some formatting issues. It also creates a new Markdown and TypeScript file for the motion code example.

🔍 Walkthrough

🤖 Generated by Copilot at 9bb9769

  • Add a new FAQ section to the documentation of the Dropdown component, explaining how to prevent the Dropdown from being squeezed when it exceeds the screen horizontally (link, link)
  • Add a new subsection to the documentation of the Customize Theme feature, showing how to use the motion token to control the animation effect of the components (link, link)
  • Fix the formatting of the code examples in the documentation of the Customize Theme feature, by removing the unnecessary parentheses around the JSX expressions (link, link)
  • Add a new code example for the motion feature, with a Markdown file motion.md and a TypeScript file motion.tsx (link, link)

@stackblitz
Copy link

stackblitz bot commented Jul 6, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

size-limit report 📦

Path Size
./dist/antd.min.js 377.31 KB
./dist/antd-with-locales.min.js 436.77 KB

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (78923c5) 100.00% compared to head (5fccefb) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #43403   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          648       648           
  Lines        10967     10994   +27     
  Branches      2978      2989   +11     
=========================================
+ Hits         10967     10994   +27     

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zombieJ zombieJ merged commit 588ee4c into master Jul 6, 2023
88 checks passed
@zombieJ zombieJ deleted the docs-misc branch July 6, 2023 08:14
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.

Dropdown appears misaligned and cut off if scrolled to the right
3 participants