-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new(demo): respect prefersReducedMotion and leverage in happo (#1037)
* new(demo/axis,xychart): use animated components only when prefersReducedMotion=true * test(happo): set prefersReducedMotion=true in target * test(happo): remove special case animation timeouts * fix(demo/xychart): remove unused props * new(demo/xychart): remove animation trajectory control if userPrefersReducedMotion * fix(demo/xychart): use animationTrajectory=undefined when user prefers reduced motion * new(demo/patterns): respect prefersReducedMotion * new(demo/xychart,axis): add animation option even if user sets prefersReducedMotion * fix(demo/axis): fix animationTrajectory toggle * internal(happo): remove special case references * lint(demo/xychart)
- Loading branch information
1 parent
a1da0b3
commit d717366
Showing
8 changed files
with
297 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.