Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react-spring-raf): update react-spring deps to resolve raf overlo…
…ad (#2282) * fix(react-spring-raf): update react-spring deps to resolve raf overload * fix(react-spring-raf): changeset * fix(animation-tests): prevent animations from delay and looping * chore(skeleton-loader): remove react spring, replace with bezier timed css animation * chore(react-spring-raf): update changeset files * fix(netlify): add paste-core changes as a build deploy trigger * chore(skeleton-loader): use bg token, add transform, update test and story params * chore(skeleton-loader): update test Co-authored-by: Andrea <andreareneeo@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9a1d69b
commit 322400c
Showing
8 changed files
with
94 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/skeleton-loader': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Skeleton Loader] Update Spring animation to CSS animation |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/animation-library': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Animation Library] Updates React Spring dependencies to resolve bug with RequestAnimationFrame calls |
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
11 changes: 11 additions & 0 deletions
11
packages/paste-core/components/skeleton-loader/src/keyframes.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {keyframes} from '@twilio-paste/styling-library'; | ||
|
||
export const SkeletonLoaderKeyframes = keyframes` | ||
0% { | ||
transform: translateX(-100%) skew(155deg); | ||
} | ||
50%, | ||
100% { | ||
transform: translateX(100%) skew(155deg); | ||
} | ||
`; |
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