framer-motion 6.5.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framer-motion",
3
- "version": "6.5.1",
3
+ "version": "7.0.0",
4
4
  "description": "A simple and powerful React animation library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.mjs",
@@ -41,7 +41,7 @@
41
41
  "clean": "rm -rf types dist lib",
42
42
  "test": "yarn test-server && yarn test-client",
43
43
  "test-ci": "yarn test",
44
- "test-client": "jest --coverage --config jest.config.json --max-workers=2",
44
+ "test-client": "jest --config jest.config.json --max-workers=2",
45
45
  "test-server": "jest --config jest.config.ssr.json",
46
46
  "test-watch": "jest --watch --coverage --coverageReporters=lcov --config jest.config.json",
47
47
  "test-projection": "yarn run collect-projection-tests && start-server-and-test 'pushd ../../; python -m SimpleHTTPServer; popd' http://0.0.0.0:8000 'cypress run -s cypress/integration/projection.chrome.ts --config baseUrl=http://localhost:8000/'",
@@ -58,50 +58,45 @@
58
58
  "start-dev-server": "webpack serve --config ../../dev/webpack/config.js --hot"
59
59
  },
60
60
  "peerDependencies": {
61
- "react": ">=16.8 || ^17.0.0 || ^18.0.0",
62
- "react-dom": ">=16.8 || ^17.0.0 || ^18.0.0"
61
+ "react": "^18.0.0",
62
+ "react-dom": "^18.0.0"
63
63
  },
64
64
  "dependencies": {
65
- "@motionone/dom": "10.12.0",
65
+ "@motionone/dom": "10.13.1",
66
66
  "framesync": "6.0.1",
67
67
  "hey-listen": "^1.0.8",
68
68
  "popmotion": "11.0.3",
69
- "style-value-types": "5.0.0",
69
+ "style-value-types": "5.1.0",
70
70
  "tslib": "^2.1.0"
71
71
  },
72
- "devDependencies": {
73
- "jest": "^27.4.7",
74
- "jest-dom": "^3.5.0",
75
- "styled-components": "^4.1.1"
76
- },
77
72
  "optionalDependencies": {
78
73
  "@emotion/is-prop-valid": "^0.8.2"
79
74
  },
80
75
  "bundlesize": [
81
76
  {
82
77
  "path": "./dist/size-rollup-m.js",
83
- "maxSize": "6.5 kB"
78
+ "maxSize": "6.0 kB"
84
79
  },
85
80
  {
86
81
  "path": "./dist/size-rollup-dom-animation.js",
87
- "maxSize": "17.3 kB"
82
+ "maxSize": "17.7 kB"
88
83
  },
89
84
  {
90
85
  "path": "./dist/size-rollup-dom-max.js",
91
- "maxSize": "28.5 kB"
86
+ "maxSize": "28.9 kB"
92
87
  },
93
88
  {
94
89
  "path": "./dist/size-webpack-m.js",
95
- "maxSize": "6.7 kB"
90
+ "maxSize": "6.1 kB"
96
91
  },
97
92
  {
98
93
  "path": "./dist/size-webpack-dom-animation.js",
99
- "maxSize": "19.7 kB"
94
+ "maxSize": "20.1 kB"
100
95
  },
101
96
  {
102
97
  "path": "./dist/size-webpack-dom-max.js",
103
- "maxSize": "31.7 kB"
98
+ "maxSize": "32.4 kB"
104
99
  }
105
100
  ],
106
- "gitHead": "487d9ac1327306e63d2425d811b324879c74c619"
101
+ "gitHead": "ed78fa57e3049eab7259d300c742744699acbb70"
107
102
  }
@@ -1,14 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
@@ -1,14 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */