Skip to content

Commit

Permalink
Merge 6618a45 into 901bf28
Browse files Browse the repository at this point in the history
  • Loading branch information
nandereck committed Sep 26, 2023
2 parents 901bf28 + 6618a45 commit e67f715
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 167 deletions.
6 changes: 6 additions & 0 deletions .changeset/flat-queens-brush.md
@@ -0,0 +1,6 @@
---
'@hashicorp/react-motion-config': minor
'@hashicorp/react-notification': minor
---

Bump framer-motion
174 changes: 22 additions & 152 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"classnames": "^2.3.1",
"copy-to-clipboard": "^3.3.1",
"formik": "^2.2.9",
"framer-motion": "^6.3.11",
"framer-motion": "^10.16.4",
"lightningcss-wasm": "^1.17.1",
"lz-string": "^1.4.4",
"next": "^13.2.3",
Expand Down
10 changes: 2 additions & 8 deletions packages/motion-config/features.ts
Expand Up @@ -3,12 +3,6 @@
* SPDX-License-Identifier: MPL-2.0
*/

import { domAnimation } from 'framer-motion'
import { layoutFeatures } from 'framer-motion/dist/es/motion/features/layout'
import { HTMLProjectionNode } from 'framer-motion/dist/es/projection/node/HTMLProjectionNode'
import { domMax } from 'framer-motion'

export default {
...domAnimation,
...layoutFeatures,
projectionNodeConstructor: HTMLProjectionNode,
}
export default domMax
6 changes: 4 additions & 2 deletions packages/motion-config/package.json
Expand Up @@ -5,12 +5,14 @@
"author": "HashiCorp",
"license": "MPL-2.0",
"peerDependencies": {
"react": ">=16.x",
"framer-motion": "^6.3.11"
"react": ">=16.x"
},
"repository": {
"type": "git",
"url": "https://github.com/hashicorp/react-components.git",
"directory": "packages/motion-config"
},
"dependencies": {
"framer-motion": "^10.16.4"
}
}
8 changes: 4 additions & 4 deletions packages/notification/package.json
Expand Up @@ -8,13 +8,13 @@
"@hashicorp/flight-icons": "^2.0.2",
"@hashicorp/platform-product-meta": "^0.1.0",
"@hashicorp/react-close-button": "^0.1.1",
"classnames": "^2.3.1"
"classnames": "^2.3.1",
"framer-motion": "^10.16.4"
},
"peerDependencies": {
"@hashicorp/mktg-global-styles": ">=3.x",
"framer-motion": "^6.3.11",
"react": ">=16.x",
"next": ">=13.x"
"next": ">=13.x",
"react": ">=16.x"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e67f715

Please sign in to comment.