Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
ant-design
/
ant-motion
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
354
Star
4.6k
Code
Issues
32
Pull requests
2
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Releases
1.6.0
v1.6.0
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
jljsj33
released this
02 Jul 08:20
·
104 commits
to master since this release
1.6.0
21f7048
This commit was created on GitHub.com and signed with GitHub’s
verified signature
. The key has expired.
动画效果
增加了卡片旋转、金币掉落的两个效果。
文档
更新动画的基本原则,增加在 Ant Design 的设计原则上再总结出的三个动效原则: 自然,高效,克制。
修改了部分动效的设计语言。
组件
TweenOne 组件 2.x:
增加 ChildrenPlugin, 针对 children 的数值进行动画处理。
增加全局 timeline 循环播放,现在支持数组动画的循环。
删除在 raf 之后刷新动画,在 animation 不同时将在 componentDidUpdate 里直接重启动画。
moment 的更改使用跟 props.moment 做判断,现在 moment 设置之后,相同的值不做跳动。
鼠标跟随的使用 moment={17}, 每次移动播放一帧。。
网站里更新部分 demo.
BannerAnim 组件 2.x:
更新 gridBar 动画的进场与出场的原则。
增加手势或鼠标滑动切换,ratio 以 banner 的一半宽度来计算,,大于 0.3 时释放将切换到下一屏。
You can’t perform that action at this time.