Skip to content

Commit

Permalink
Upgrade framer-motion (#61572)
Browse files Browse the repository at this point in the history
This package was conflicting with a recent upgrade to React types which caused some build issues.

Co-authored-by: sirreal <jonsurrell@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
  • Loading branch information
3 people committed May 10, 2024
1 parent 5915f9a commit 0a1cc1f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 50 deletions.
86 changes: 40 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@

- Replaced `classnames` package with the faster and smaller `clsx` package ([#61138](https://github.com/WordPress/gutenberg/pull/61138)).
- Upgrade `@use-gesture/react` package to `^10.3.1` ([#61503](https://github.com/WordPress/gutenberg/pull/61503)).
- Upgrade `framer-motion` package to version `^11.1.9` ([#61572](https://github.com/WordPress/gutenberg/pull/61572)).

### Enhancements

Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Expand Up @@ -66,7 +66,7 @@
"deepmerge": "^4.3.0",
"downshift": "^6.0.15",
"fast-deep-equal": "^3.1.3",
"framer-motion": "^10.13.0",
"framer-motion": "^11.1.9",
"gradient-parser": "^0.1.5",
"highlight-words-core": "^1.2.2",
"is-plain-object": "^5.0.0",
Expand Down
Expand Up @@ -278,7 +278,6 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
<div
class="emotion-15"
role="presentation"
style="opacity: 1;"
/>
</div>
</div>
Expand Down Expand Up @@ -824,7 +823,6 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
<div
class="emotion-15"
role="presentation"
style="opacity: 1;"
/>
</div>
</div>
Expand Down
Expand Up @@ -7,7 +7,7 @@ exports[`DotTip should render correctly 1`] = `
data-wp-c16t="true"
data-wp-component="Popover"
role="dialog"
style="position: absolute; top: 0px; left: 0px; opacity: 1; transform: none; transform-origin: 0% 50% 0;"
style="position: absolute; top: 0px; left: 0px; opacity: 1; transform: translateX(0px) translateY(0px) translateX(0em) scale(1) translateZ(0); transform-origin: 0% 50% 0;"
tabindex="-1"
>
<div
Expand Down

0 comments on commit 0a1cc1f

Please sign in to comment.