framer-motion 2.1.0 → 2.2.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/CHANGELOG.md +44 -0
- package/dist/framer-motion.api.json +701 -27
- package/dist/framer-motion.cjs.js +397 -351
- package/dist/framer-motion.d.ts +112 -63
- package/dist/framer-motion.dev.js +423 -398
- package/dist/framer-motion.es.js +393 -353
- package/dist/framer-motion.js +1 -1
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,50 @@
|
|
|
2
2
|
|
|
3
3
|
Framer Motion adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [2.2.0] 2020-07-27
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `m` component is a lightweight, featureless version of the `motion` component.
|
|
10
|
+
- `MotionConfig` is used to dynamically provide features to `m` components via context.
|
|
11
|
+
|
|
12
|
+
## [2.1.4] 2020-07-24
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Drag Cypress test suite.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Application of relative drag constraints.
|
|
21
|
+
- User-set transforms were only updating when layout transforms updated.
|
|
22
|
+
- Fixing drag on SVG components.
|
|
23
|
+
|
|
24
|
+
## [2.1.3] 2020-07-23
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- HSLA interpolation when either HSLA contains a decimal.
|
|
29
|
+
- Whitespace-syntax color support.
|
|
30
|
+
- `onLayoutAnimationComplete` now firing correctly.
|
|
31
|
+
|
|
32
|
+
## [2.1.2] 2020-07-22
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- Respecting `transformTemplate` for layout animations.
|
|
37
|
+
- Fixed `this.box is undefined` errors.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Internal refactoring to improve tree-shaking and allow for dynamic feature injection.
|
|
42
|
+
|
|
43
|
+
## [2.1.1] 2020-07-20
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- Performance improvements to layout delta calculations.
|
|
48
|
+
|
|
5
49
|
## [2.1.0] 2020-07-17
|
|
6
50
|
|
|
7
51
|
### Added
|