forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Components: Remove Framer Motion from
DropZone
(WordPress#62044)
* Start implementingthe fadein/fadeout animation in pure CSS * First working iteration * Implement scale animation in the inner element * Remove unneeded CSS * Make it closer to the original Framer Motion animation * Refactor to support reducedMotion * Simplify by moving the Fade component one level up * Cleanup styles * Fix formatting issue * Fix import category * Extract `MaybeFade` to its own component for easier further extractions later if used across components * Manually namespace CSS animation keyframe identifiers and classnames * Remove debug code * Cleanup * Simplify by using CSS transition instead of keyframe and remove the `MaybeFade` animation orchestrator * American english spelling * Switch to `has-dragged-out` instead of `inactive` class, less CSS * Add back legacy classnames * Remove "reduce" from prefers reduced motion * Add back safari pointer events fix * Add back root styles * Restore active class styles * move back 'is-active- check inline * CHANGELOG --------- Co-authored-by: Marco Ciampini <[email protected]>
- Loading branch information
1 parent
17ecaa6
commit 9da6486
Showing
3 changed files
with
74 additions
and
94 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