kineticio / runnable

Build internal workflows with ease
https://getrunnable.com/
51 stars 4 forks source link

chore(deps): update dependency framer-motion to v10 #18

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
framer-motion ^7.10.3 -> ^10.4.0 age adoption passing confidence
framer-motion ^8.5.5 -> ^10.4.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

framer/motion ### [`v10.4.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1040-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.4...v10.4.0) ##### Added - `animate()` now supports DOM elements and DOM selectors. ### [`v10.3.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1034-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.3...v10.3.4) ##### Fixed - Updating README. ### [`v10.3.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1033-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.2...v10.3.3) ##### Fixed - Using frame timestamp, when available, to sample time. ### [`v10.3.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1032-2023-03-15) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.1...v10.3.2) ##### Fixed - Applying target CSS variable at the end of animation. ### [`v10.3.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1031-2023-03-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.0...v10.3.1) ##### Fixed - Fixed `time` `Promise` on instant animation. ### [`v10.3.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1030-2023-03-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.5...v10.3.0) ##### Added - `time`, `play()`, `pause()` and `then()` to animations created with `animate()`. ### [`v10.2.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1025-2023-03-13) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.4...v10.2.5) ##### Fixed - Adding de-opt to projection tree when relative target has changed. ### [`v10.2.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1024-2023-03-10) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.3...v10.2.4) ##### Changed - Refactored `animate` to resolve for `time` instead of `timeDelta`. ##### Fixed - `delay` will now apply to `"inertia"` animations. ### [`v10.2.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1023-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.2...v10.2.3) ##### Fixed - Unifying `AnimationPlaybackControls` types. - Changing `Feature` type to fix Next build errors. ### [`v10.2.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1022-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.1...v10.2.2) ##### Fixed - Restoring `DeprecatedLayoutGroupContext` for legacy Smart Components in Framer. ### [`v10.2.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1021-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.0...v10.2.1) ##### Fixed - Passing low `restSpeed` and `restDelta` to `useSpring()`. ### [`v10.2.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1020-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.1.0...v10.2.0) ##### Added - Vanilla JS entry point `framer-motion/dom`. ### [`v10.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1010-2023-03-06) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.2...v10.1.0) ##### Added - Frame-batched event handlers. This means external event handlers are now batched on the next animation frame, allowing React to correctly batch state updates. ### [`v10.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1002-2023-03-05) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.1...v10.0.2) ##### Fixed - Fixing "Non-numeric `offset`" error in older browsers. ### [`v10.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1001-2023-02-27) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.0...v10.0.1) ##### Changed - Reducing keyframe pregeneration duration by 75%. ### [`v10.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​1000-2023-02-24) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.7...v10.0.0) ##### Added - `background-color` animations are now hardware accelerated. ##### Removed - Removing fallback for `IntersectionObserver`. Use a polyfill for support in older browsers. - Removed `DeprecatedLayoutGroupContext`. ##### Changed - Using `exitBeforeEnter` with `AnimatePresence` now throws an error. - Using `value.onChange` will now throw a warning with instructions to change to `value.on("change", callback)`. - Using `AnimateSharedLayout` now throws an error. ##### Fixed - `repeat: Infinity` no longer de-opts from pre-generated WAAPI animations. ### [`v9.1.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​917-2023-02-24) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.6...v9.1.7) ##### Fixed - Switching `const enum` for types. ### [`v9.1.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​916-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.5...v9.1.6) ##### Added - Exporting `scroll` for internal use inside Framer. ### [`v9.1.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​915-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.4...v9.1.5) ##### Fixed - Changing `Feature` to `Feature`. ### [`v9.1.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​914-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.3...v9.1.4) ##### Fixed - Fixing types of `useScroll`. ### [`v9.1.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​913-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.2...v9.1.3) ##### Updated - Limiting propagation of dirty projection nodes for improved layout animation performance. ### [`v9.1.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​912-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.1...v9.1.2) ##### Updated - Replacing `type enum` with `const enum` for smaller bundlesize. ### [`v9.1.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​911-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.0...v9.1.1) ##### Updated - Removing external dependencies. ### [`v9.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​910-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.7...v9.1.0) ##### Added - Hardware acceleration of `clipPath`, `filter` and `transform` styles. ### [`v9.0.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​907-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.6...v9.0.7) ##### Fixed - Improving types of `color.parse()`. ### [`v9.0.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​906-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.5...v9.0.6) ##### Added - Exporting animation types for internal Framer use. ### [`v9.0.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​905-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.4...v9.0.5) ##### Added - Adding legacy Popmotion exports for internal Framer use. ### [`v9.0.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​904-2023-02-16) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.3...v9.0.4) ##### Updated - 25% speed improvement for transform string creation. ### [`v9.0.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​903-2023-02-14) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.2...v9.0.3) ##### Updated - Refactored `motion` component features to load without React components. - Deprecated fallback behavior for missing `IntersectionObserver`. ### [`v9.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​902-2023-02-07) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.1...v9.0.2) ##### Changed - `Reorder.Item` no longer throws an error within `MotionConfig strict`. ### [`v9.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​901-2023-02-02) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.0...v9.0.1) ##### Removed - Tap events no longer suspend `tabindex` attribute for the duration of the gesture. ### [`v9.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​900-2023-02-01) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.5...v9.0.0) ##### Added - Tap events are now keyboard accessible. ##### Changed - `whileFocus` only triggers according to `focus-visible` rules. ### [`v8.5.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​855-2023-01-30) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.4...v8.5.5) ##### Fixed - Ensuring `Animation.cancel()` is called on finished WAAPI animations. ### [`v8.5.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​854-2023-01-27) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.3...v8.5.4) ##### Fixed - Reducing size of prop filtering. ### [`v8.5.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​853-2023-01-26) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.2...v8.5.3) ##### Fixed - Manually recording optimised appear `startTime` to fix inaccuracies of Firefox's `Animation.currentTime`. ### [`v8.5.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​852-2023-01-23) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.0...v8.5.2) ##### Fixed - Updated optimised appear animations to defer animations until Chrome releases paint holding. ### [`v8.5.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​850-2023-01-18) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.7...v8.5.0) ##### Added - `layoutRoot` prop. When component has `layout` and `layoutRoot` props, it will perform layout animations instantly but all children will perform layout animations relative to it. ### [`v8.4.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​847-2023-01-18) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.6...v8.4.7) ##### Fixed - Fixed right-click filtering. ### [`v8.4.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​846-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.5...v8.4.6) ##### Fixed - Fixed WAAPI deoptimisation with layout animations. - Reduced number of animations triggered for components that have gesture event handlers but no corresponding `while-` props. ### [`v8.4.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​845-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.4...v8.4.5) ##### Fixed - Only trigger `animateChanges` in a `useLayoutEffect` when optimised appear animations are present. - Resync optimised appear handoff animations before cancelling WAAPI animations to ensure seamless visual handoff. ### [`v8.4.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​844-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.3...v8.4.4) ##### Fixed - Filtering `values` prop. ### [`v8.4.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​843-2023-01-13) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.2...v8.4.3) ##### Fixed - When in Reduced Motion mode, `transition` no longer overrides instant transitions. ### [`v8.4.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​842-2023-01-11) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.1...v8.4.2) ##### Fixed - Events sourced from `pointercancel` no longer being added to pan gesture history. ### [`v8.4.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​841-2023-01-11) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.0...v8.4.1) ##### Fixed - `delay` no longer getting doubled with pregenerated WAAPI keyframes. ### [`v8.4.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​840-2023-01-10) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.4...v8.4.0) ##### Added - Exporting `frameData` and `sync` for internal Framer use. ### [`v8.3.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​834-2023-01-10) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.3...v8.3.4) ##### Fixed - Detection of hex colors with alpha values within complex strings. ### [`v8.3.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​833-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.2...v8.3.3) ##### Fixed - Stop filtering `pen` hover events. ### [`v8.3.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​832-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.1...v8.3.2) ##### Fixed - Allow `useMotionTemplate` to accept static values. ### [`v8.3.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​831-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.0...v8.3.1) ##### Fixed - Memoisation of tap callbacks. ### [`v8.3.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​830-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.4...v8.3.0) ##### Added - `motion` components can accept a `MotionValue` as `children`. ### [`v8.2.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​824-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.3...v8.2.4) ##### Fixed - Stop applying scale correction to an element's styles when there's no active projection transform. ### [`v8.2.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​823-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.2...v8.2.3) ##### Changed - Improved memoisation of internal event handlers. ### [`v8.2.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​822-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.0...v8.2.2) ##### Fixed - Removed ability to trigger animations via `useAnimationControls()` during render lifecycle. This would be a source of silent or subtle errors. ### [`v8.2.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​820-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.9...v8.2.0) ##### Added - Exporting easing functions. ### [`v8.1.9`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​819-2023-01-05) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.8...v8.1.9) ##### Fixed - Preventing infinite keyframe pre-generation. ### [`v8.1.8`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​818-2023-01-05) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.7...v8.1.8) ##### Fixed - Sampling of animations with delay/repeat settings when interrupting WAAPI animations. ### [`v8.1.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​817-2023-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.6...v8.1.7) ##### Fixed - Swapping `style` value between `MotionValue` and static value. ### [`v8.1.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​816-2023-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.5...v8.1.6) ##### Fixed - Minification of `process.env.NODE_ENV`. ### [`v8.1.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​815-2023-01-03) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.4...v8.1.5) ##### Changed - Display warning in development mode when Reduced Motion is enabled on device. ### [`v8.1.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​814-2023-01-03) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.3...v8.1.4) ##### Fixed - Ensuring child variant components fire `onAnimationStart` when an animation is triggered by a parent. ### [`v8.1.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​813-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.1...v8.1.3) ##### Fixed - Fixed `times`. ### [`v8.1.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​811-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.0...v8.1.1) ##### Fixed - Fixing error when `Transition.type` is invalid. ### [`v8.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​810-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.4...v8.1.0) ##### Added - `MotionValue.jump` can be used to "jump" a `MotionValue` to a new value, bypassing active springs, ending current animations and resetting to `velocity` to `0`. ### [`v8.0.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​804-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.3...v8.0.4) ##### Fixed - Cleaning up animations when a `MotionValue` has no active `"change"` subscribers. - Changing `useMotionValueEvent` subscription to `useInsertionEffect`. ### [`v8.0.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​803-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.2...v8.0.3) ##### Fixed - Use range for tslib dependency. - Fixing multitouch with drag and pan gestures. ### [`v8.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​802-2022-12-23) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.1...v8.0.2) ##### Fixed - Fixing defaults for hardware-accelerated animations. ### [`v8.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​801-2022-12-21) [Compare Source](https://togithub.com/framer/motion/compare/f58fea876198895716a776550ec6fbf0813ecaad...v8.0.1) ##### Added - Warning for unhydrated refs passed to `useScroll()` options. ### [`v8.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#​800-2022-12-21) [Compare Source](https://togithub.com/framer/motion/compare/v7.10.3...f58fea876198895716a776550ec6fbf0813ecaad) ##### Removed - Removed polyfilled support for mouse/touch events. - Removed drag pointerup patch for Safari over `