motion 10.5.0-alpha.3 → 10.5.0-alpha.4
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 +109 -0
- package/dist/main.cjs.js +0 -0
- package/dist/main.es.js +0 -0
- package/dist/motion.min.js +0 -0
- package/dist/motion.umd.js +0 -0
- package/dist/react.cjs.js +0 -0
- package/dist/react.es.js +0 -0
- package/dist/size-index.js +0 -0
- package/package.json +6 -6
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Motion One adheres to [Semantic Versioning](http://semver.org/).
|
|
4
|
+
|
|
5
|
+
## [10.5.0] [2022-01-01]
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Motion One for Vue:** A fully declarative version of Motion One for Vue 3!
|
|
10
|
+
|
|
11
|
+
## [10.4.0] [2021-10-18]
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Spring and glide in timeline:** `timeline` now supports animations with `ease: spring()` and `ease: glide()`.
|
|
16
|
+
|
|
17
|
+
## [10.3.2] [2021-10-18]
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Fixing animation interruption for independent transform animations in Safari and Firefox. [Issue (sponsors only)](https://github.com/motiondivision/motionone/issues/27)
|
|
22
|
+
|
|
23
|
+
## [10.3.1] [2021-10-12]
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Fixing a bug in `stagger` and `animate`.
|
|
28
|
+
|
|
29
|
+
## [10.3.0] [2021-10-11]
|
|
30
|
+
|
|
31
|
+
### New
|
|
32
|
+
|
|
33
|
+
- **Glide:** Animate transforms with realistic [glide](https://motion.dev/dom/glide) that can be used to mimic momentum scroll.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Fixing a bug where sometimes velocity wasn't being correctly passed to the next animation.
|
|
38
|
+
|
|
39
|
+
## [10.2.1] [2021-10-06]
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- Ensuring `duration` is always passed correctly to the independent transform polyfill.
|
|
44
|
+
|
|
45
|
+
## [10.2.0] [2021-10-05]
|
|
46
|
+
|
|
47
|
+
### New
|
|
48
|
+
|
|
49
|
+
- **Springs:** Animate transforms with realistic [spring](https://motion.dev/dom/spring) simulations.
|
|
50
|
+
|
|
51
|
+
## [10.1.3] [2021-10-01]
|
|
52
|
+
|
|
53
|
+
### Fixed
|
|
54
|
+
|
|
55
|
+
- **Fill both for timelines:** Extends `fill: "both"` effect from `10.1.2` to `timeline`.
|
|
56
|
+
|
|
57
|
+
## [10.1.2] [2021-10-01]
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
|
|
61
|
+
- **Fill both:** Previously, if an animation had a delay and an initially-defined first keyframe (`opacity: [0, 1]`) the animation would start from its rendered style to that first keyframe. Now, the initial keyframe gets stretched to the very start of the whole animation by setting `fill: "both"`. [Issue (sponsors only)](https://github.com/motiondivision/motionone/issues/20)
|
|
62
|
+
|
|
63
|
+
## [10.1.1] [2021-09-28]
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
|
|
67
|
+
- **Scrub to end:** Setting `currentTime` to `duration` was removing the animation effect. This has been fixed by setting `fill: "forwards"` on the WAAPI animation. This won't affect memory consumption as animations are flattened into styles and removed on finish. [Issue (sponsors only)](https://github.com/motiondivision/motionone/issues/21)
|
|
68
|
+
|
|
69
|
+
### Changed
|
|
70
|
+
|
|
71
|
+
- **Removed Popmotion dependency:** Reduced the number of dependencies by moving Popmotion utilities inside Motion One. Filesize remains unaffected in most environments but will be lower in Skypack and other distributors that don't support tree-shaking.
|
|
72
|
+
|
|
73
|
+
## [10.1.0] [2021-09-27]
|
|
74
|
+
|
|
75
|
+
### New
|
|
76
|
+
|
|
77
|
+
- **Duration:** The duration of timelines is usually automatically calculated from its defined animations. It can now be read from the new read-only `duration` prop on [animation controls](http://motion.dev/dom/controls).
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
|
|
81
|
+
- **Performance:** Before Motion One starts a new animation, it stops the old one. Stopping an animation commits its styles, which can cause a style recalculation. Now, when an animation finishes, we delete the reference to the old animation. Additionally, we check the animation status isn't `"finished"` before committing styles within `stop`. This prevents unnecessary style recalculations.
|
|
82
|
+
|
|
83
|
+
## [10.0.3] [2021-09-25]
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
|
|
87
|
+
- Fixed formatting of changelog for website publication.
|
|
88
|
+
|
|
89
|
+
## [10.0.2] [2021-09-24]
|
|
90
|
+
|
|
91
|
+
### Changed
|
|
92
|
+
|
|
93
|
+
- Generating `finished` promise on-demand.
|
|
94
|
+
|
|
95
|
+
### Fixed
|
|
96
|
+
|
|
97
|
+
- Catching promise in `animate` and `timeline` to prevent errors whenever a sub-animation is cancelled.
|
|
98
|
+
|
|
99
|
+
## [10.0.1] [2021-09-22]
|
|
100
|
+
|
|
101
|
+
### Changed
|
|
102
|
+
|
|
103
|
+
- Removed links to repo from Readme.
|
|
104
|
+
|
|
105
|
+
## [10.0.0] [2021-09-12]
|
|
106
|
+
|
|
107
|
+
### New
|
|
108
|
+
|
|
109
|
+
- First publish
|
package/dist/main.cjs.js
CHANGED
|
File without changes
|
package/dist/main.es.js
CHANGED
|
File without changes
|
package/dist/motion.min.js
CHANGED
|
File without changes
|
package/dist/motion.umd.js
CHANGED
|
File without changes
|
package/dist/react.cjs.js
CHANGED
|
File without changes
|
package/dist/react.es.js
CHANGED
|
File without changes
|
package/dist/size-index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion",
|
|
3
3
|
"description": "A tiny, performant animation library for the web",
|
|
4
|
-
"version": "10.5.0-alpha.
|
|
4
|
+
"version": "10.5.0-alpha.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Matt Perry",
|
|
7
7
|
"main": "dist/main.cjs.js",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"build": "rm -rf lib dist types && tsc -p . && rollup -c"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@motionone/dom": "^10.5.0-alpha.
|
|
25
|
-
"@motionone/react": "^10.5.0-alpha.
|
|
26
|
-
"@motionone/svelte": "^10.5.0-alpha.
|
|
27
|
-
"@motionone/vue": "^10.5.0-alpha.
|
|
24
|
+
"@motionone/dom": "^10.5.0-alpha.4",
|
|
25
|
+
"@motionone/react": "^10.5.0-alpha.4",
|
|
26
|
+
"@motionone/svelte": "^10.5.0-alpha.4",
|
|
27
|
+
"@motionone/vue": "^10.5.0-alpha.4"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "83342626391449dd6f28aa7cf162fea00f2ee3a2"
|
|
30
30
|
}
|