framer/motion
### [`v3.10.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3106-2021-03-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.5...v3.10.6)
##### Fixed
- Various variant bugs.
### [`v3.10.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3105-2021-03-15)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.4...v3.10.5)
##### Fixed
- Added specific `default` and `require` fields to the `exports` field for CJS compatibility.
### [`v3.10.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3104-2021-03-15)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.3...v3.10.4)
##### Added
- `exports` field to `package.json`.
##### Fixed
- `useMotionValue` now forces re-render on the Framer canvas when the underlying `MotionValue` updates.
### [`v3.10.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3103-2021-03-10)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.2...v3.10.3)
##### Fixed
- Reduced memory consumption in static mode by not loading `VisualElement`.
### [`v3.10.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3102-2021-03-09)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.1...v3.10.2)
##### Fixed
- Improved memory consumption of `SubscriptionManager`.
### [`v3.10.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3101-2021-03-09)
[Compare Source](https://togithub.com/framer/motion/compare/v3.10.0...v3.10.1)
##### Fixed
- New layout animations now only trigger when the target viewport box has changed.
### [`v3.10.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3100-2021-03-03)
[Compare Source](https://togithub.com/framer/motion/compare/v3.9.3...v3.10.0)
##### Added
- `useVelocity`.
### [`v3.9.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#393-2021-03-03)
[Compare Source](https://togithub.com/framer/motion/compare/v3.9.2...v3.9.3)
##### Fixed
- Exporting `AnimationPlaybackControls` and `AnimationOptions` for `animate()`.
- Fixed passing dynamic function to `controls.start()`.
### [`v3.9.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#392-2021-03-02)
[Compare Source](https://togithub.com/framer/motion/compare/v3.9.1...v3.9.2)
##### Fixed
- Crossfader now only returns values for the lead and follow components.
### [`v3.9.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#391-2021-03-02)
[Compare Source](https://togithub.com/framer/motion/compare/acdd06955998f3ae3f62fc7b47d2492f62011fb4...v3.9.1)
##### Fixed
- Drag now passing velocity to `useSpring` correctly.
### [`v3.9.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#390-2021-03-02)
[Compare Source](https://togithub.com/framer/motion/compare/v3.8.2...acdd06955998f3ae3f62fc7b47d2492f62011fb4)
##### Added
- `dragElastic` now accepts per-axis elastic settings.
### [`v3.8.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#382-2021-03-01)
[Compare Source](https://togithub.com/framer/motion/compare/v3.8.1...v3.8.2)
##### Fixed
- `perspective` now correctly set as its own `style`. `transformPerspective` still builds into `transform`.
### [`v3.8.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#381-2021-03-01)
[Compare Source](https://togithub.com/framer/motion/compare/ffd8ec235d9d8b7c7642f6e91f88717817b7a56c...v3.8.1)
##### Changed
- Refactoring `AnimationType` is improve bundle-splitting.
### [`v3.8.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#380-2021-03-01)
[Compare Source](https://togithub.com/framer/motion/compare/v3.7.0...ffd8ec235d9d8b7c7642f6e91f88717817b7a56c)
##### Fixed
- Code-splitting for Webpack.
### [`v3.7.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#370-2021-02-23)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.7...v3.7.0)
##### Added
- `motion()` creates custom `motion` components.
- `forwardMotionProps` boolean to optionally forward `MotionProps` to custom components.
##### Changed
- Custom `motion` components no longer forward `MotionProps` by default.
##### Deprecated
- `motion.custom`
##### Fixed
- Listing React 17 as a `peerDependency`.
### [`v3.6.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#367-2021-02-22)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.6...v3.6.7)
##### Fixed
- More permissive check for previously-unencountered values.
### [`v3.6.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#366-2021-02-22)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.5...v3.6.6)
##### Fixed
- Safer `hasOwnProperty` check for `null` values.
### [`v3.6.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#365-2021-02-22)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.4...v3.6.5)
##### Fixed
- Only fire `onPanEnd` if `onPanStart` has triggered.
### [`v3.6.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#364-2021-02-22)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.3...v3.6.4)
##### Fixed
- Adding polyfill `performance.now` in `framesync`.
### [`v3.6.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#363-2021-02-22)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.2...v3.6.3)
##### Fixed
- Only crossfading defined `borderRadius` borders during shared element transitions.
### [`v3.6.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#362-2021-02-20)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.1...v3.6.2)
##### Fixed
- `AnimatePresence` now correctly unmounts children if it contains no `motion` components.
### [`v3.6.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#361-2021-02-19)
[Compare Source](https://togithub.com/framer/motion/compare/v3.6.0...v3.6.1)
##### Fixed
- `onAnimationComplete` on child variant components now fire as expected.
### [`v3.6.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#360-2021-02-19)
[Compare Source](https://togithub.com/framer/motion/compare/v3.5.3...v3.6.0)
##### Added
- `onAnimationComplete` now provides the definition of the triggering animation.
### [`v3.5.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#353-2021-02-19)
[Compare Source](https://togithub.com/framer/motion/compare/v3.5.2...v3.5.3)
##### Fixed
- Fixing bug with `afterChildren` and `exit` animations.
### [`v3.5.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#352-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.5.1...v3.5.2)
##### Added
- Setting `sideEffects: false` in `package.json` to help code splitting in Webpack.
### [`v3.5.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#351-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.5.0...v3.5.1)
##### Fixed
- `onTapCancel` is now being correctly cleaned up.
### [`v3.5.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#350-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.4.2...v3.5.0)
##### Added
- Adding `transition` prop to `MotionConfig` to set a default `transition` for an entire tree.
### [`v3.4.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#342-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.4.1...v3.4.2)
##### Added
- `onBeforeLayoutMeasure` prop, currently a Framer internal.
### [`v3.4.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#341-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.4.0...v3.4.1)
##### Fixed
- De-duplicating features in nested `MotionConfig`s to avoid key error.
### [`v3.4.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#340-2021-02-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.3.0...v3.4.0)
##### Changed
- Main `motion` component concurrent-safe.
##### Fixed
- Crossfading elements can now never fall out of positional/style sync due to mismatched animations or framelag.
- Fixing SVG double translation transform (props + transform style).
- `animate` `onComplete` now firing correctly.
- Only firing keyframe animation when all values have changed.
- Removing forced re-renders for variant trees.
- Variant stagger order now determined by DOM APIs.
- Fixed default spring for `scale`, `opacity` etc from being overdamped to being critically damped when animating to `0`.
### [`v3.3.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#330-2020-02-03)
[Compare Source](https://togithub.com/framer/motion/compare/v3.2.1...v3.3.0)
- Fixing errant publish.
### [`v3.2.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#321-2020-01-11)
[Compare Source](https://togithub.com/framer/motion/compare/v3.2.0...v3.2.1)
##### Added
- Exporting `useVariantContext` for internal Framer use.
### [`v3.2.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#320-2020-01-08)
[Compare Source](https://togithub.com/framer/motion/compare/0e874f89e85315dda95624428a2a0fe79cdad6a4...v3.2.0)
##### Added
- Support for hex `alpha`, ie `#FFF0` and `#FFFFFF00`.
- Support for default `filter` values. For example, when animating from `brightness(50%)`, the animation will start from `brightness(100%)`rather than`brightness(0%)`.
### [`v3.1.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#315-2020-01-08)
[Compare Source](https://togithub.com/framer/motion/compare/v3.1.4...0e874f89e85315dda95624428a2a0fe79cdad6a4)
##### Fixed
- Hover events are now blocked while layout is being measured.
### [`v3.1.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#314-2020-01-05)
[Compare Source](https://togithub.com/framer/motion/compare/v3.1.3...v3.1.4)
##### Fixed
- Blocking layout animations to/from zero bounding boxes.
- `onTapCancel` now fires correctly on touch screens.
- `createDomMotionComponent` types.
### [`v3.1.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#313-2020-01-04)
[Compare Source](https://togithub.com/framer/motion/compare/v3.1.2...v3.1.3)
##### Fixed
- Fixed types for `pathSpacing` and `pathOffset`.
### [`v3.1.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#312-2020-01-04)
[Compare Source](https://togithub.com/framer/motion/compare/v3.1.1...v3.1.2)
##### Fixed
- `snapToCursor` respects drag axis.
### [`v3.1.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#311-2020-12-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.0.1...v3.1.1)
##### Updated
- Updated dependencies.
### [`v3.0.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#301-2020-12-18)
[Compare Source](https://togithub.com/framer/motion/compare/v3.0.0...v3.0.1)
##### Fixed
- Error when mixing `initial={false}` and `animate={controls}`.
### [`v3.0.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#300-2020-12-16)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.5...v3.0.0)
##### Added
- `whileDrag`
- Adding Safari-prefixed `userSelect` css to draggable elements.
- `whileHover`, `whileTap` and `exit` all now accept variant lists.
##### Changed
- New behaviour for when values are removed from animation props (`animate`, `whileHover`, `exit` etc). The value will be searched for in active props of a lower priority running (`style` <- `animate` <- `whileHover` <- `whileTap` <- `whileDrag` <- `exit`). This may introduce subtle behavioural changes, hence the major.
##### Removed
- The deprecated `useInvertedScale` hook. Use the `layout` prop instead.
- The deprecated `yoyo`, `flip` and `loop` options. Use `repeat` and `repeatType` options instead.
##### Fixed
- Correctly applying `transform` on SVG elements.
- Lazy-initialising viewport scroll, VisualElement.axisProgress, and reduced motion `MotionValue`s, for increased startup performance.
- Improved measurement scheduling for `drag` components and nested `AnimateSharedLayout` trees.
- Robust calculation of `treeScale`.
### [`v2.9.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#295-2020-11-16)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.4...v2.9.5)
##### Added
- Updating `package.json` to be compatible with React 17.
### [`v2.9.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#294-2020-10-21)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.3...v2.9.4)
##### Added
- Exporting internal API `startVisualElementAnimation` for use in Framer.
### [`v2.9.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#293-2020-10-19)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.2...v2.9.3)
##### Added
- Exporting `Target` type.
### [`v2.9.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#292-2020-10-19)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.1...v2.9.2)
##### Fixed
- Over-eager variant propagation.
### [`v2.9.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#291-2020-10-12)
[Compare Source](https://togithub.com/framer/motion/compare/v2.9.0...v2.9.1)
##### Fixed
- Reverting `matchMedia` listener to legacy `addListener` to fix in Safari.
### [`v2.9.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#290-2020-10-12)
[Compare Source](https://togithub.com/framer/motion/compare/v2.8.0...v2.9.0)
##### Added
- Refactor has reduced complete bundle size to 27kb and `m` component bundle size to 12.5kb.
##### Fixed
- Removing whitespace from resolved CSS variables.
### [`v2.8.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#280-2020-10-09)
[Compare Source](https://togithub.com/framer/motion/compare/v2.7.9...v2.8.0)
##### Added
- `animate` function for low-level single `MotionValue` or arbitrary value animations.
### [`v2.7.9`](https://togithub.com/framer/motion/compare/v2.7.8...v2.7.9)
[Compare Source](https://togithub.com/framer/motion/compare/v2.7.8...v2.7.9)
### [`v2.7.8`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#278-2020-10-07)
[Compare Source](https://togithub.com/framer/motion/compare/v2.7.7...v2.7.8)
##### Changed
- Reverting previous behaviour to allow manual triggering of updating drag constraints via `useDragControls`.
### [`v2.7.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#277-2020-10-01)
[Compare Source](https://togithub.com/framer/motion/compare/v2.7.6...v2.7.7)
##### Fixed
- `duration` and `bounce` are now overridden by `damping`, `stiffness`, and `mass`. This fixes an issue in Framer where legacy transitions were breaking.
### [`v2.7.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#276-2020-09-29)
[Compare Source](https://togithub.com/framer/motion/compare/v2.7.5...v2.7.6)
##### Fixed
- When a `transform` is provided to `style` as a `MotionValue` and then replaced with a number on a subsequent render, we create a new `MotionValue` for it.
### [`v2.7.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#275-2020-09-26)
[Compare Source](https://togithub.com/framer/motion/compare/aeb787c4eac3aa53e8e136697361c5f42e0ac911...v2.7.5)
##### Fixed
- Manually setting a `from` in `transition`.
### [`v2.7.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#274-2020-09-26)
[Compare Source](https://togithub.com/framer/motion/compare/bc4070f4376b9510f932fa57565f2b1f78c33978...aeb787c4eac3aa53e8e136697361c5f42e0ac911)
##### Fixed
- Blocks propagation of variants from parent if a component's `animate` prop is set to `AnimationControls`. `inherit` can be used to force inheritence `true` or `false`.
### [`v2.7.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#273-2020-09-25)
[Compare Source](https://togithub.com/framer/motion/compare/4edb87b05aa5c1dc6cca725cf632bcae63d8099d...bc4070f4376b9510f932fa57565f2b1f78c33978)
##### Fixed
- Blocks touch viewport scrolling from draggable components on a per-axis basis.
- Reinstating `sideEffects: false` now that the `blockViewportScroll` method has been removed.
### [`v2.7.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#272-2020-09-24)
[Compare Source](https://togithub.com/framer/motion/compare/ca2d636fb108eba74babb327adcfbfc45b066ec5...4edb87b05aa5c1dc6cca725cf632bcae63d8099d)
##### Added
- `createDomMotionComponent` for legacy browser support.
### [`v2.7.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#271-2020-09-23)
[Compare Source](https://togithub.com/framer/motion/compare/83c92a4ba84a985d529d820c543dc613200f1462...ca2d636fb108eba74babb327adcfbfc45b066ec5)
##### Fixed
- Reverting `sideEffects: false`, as viewport touch scroll blocking is a side effect.
### [`v2.7.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#270-2020-09-23)
[Compare Source](https://togithub.com/framer/motion/compare/b3c8d88d3b689651f34ba9c266aaf398a6e3b1d2...83c92a4ba84a985d529d820c543dc613200f1462)
##### Added
- Duration-based springs.
### [`v2.6.15`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2615-2020-09-18)
[Compare Source](https://togithub.com/framer/motion/compare/63ca23a0054ffafcd30175afd38c6d142acd3999...b3c8d88d3b689651f34ba9c266aaf398a6e3b1d2)
##### Fix
- Fixing dynamic type imports in generated types.
### [`v2.6.14`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2614-2020-09-18)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.13...63ca23a0054ffafcd30175afd38c6d142acd3999)
##### Fix
- No longer unsetting transform motion values from `style` if their current value is `0`.
- Correct `useDomEvent` types to allow any `EventTarget`.
- Fix memory leak error in `AnimatePresence`.
##### Change
- Added `sideEffects: false` to `package.json`.
- Added `bundlesize` bundle budgeting.
### [`v2.6.13`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2613-2020-09-12)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.12...v2.6.13)
##### Fix
- `drag` + `layout` components no longer reset position to center.
### [`v2.6.12`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2612-2020-09-11)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.11...v2.6.12)
##### Change
- Reduced full bundle size by 0.8kb by replacing `import * from "popmotion"` with a named map of specifically just the easing functions.
### [`v2.6.11`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2611-2020-09-11)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.10...v2.6.11)
##### Fixed
- Reinstating default keyframes duration of `0.8` seconds.
### [`v2.6.10`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2610-2020-09-10)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.9...v2.6.10)
##### Fixed
- `dragElastic={0}` gesture end animations now work correctly.
### [`v2.6.9`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#269-2020-09-09)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.8...v2.6.9)
##### Fixed
- Ensure `AnimatePresence` children re-render when children exit.
### [`v2.6.8`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#268-2020-09-08)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.7...v2.6.8)
##### Fixed
- Ensure useTransform uses the latest handler.
### [`v2.6.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#267-2020-09-08)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.6...v2.6.7)
##### Added
- Scale correction for `borderRadius` and `boxShadow` found in `style`.
- Fixed conflict between `initial` and `style`. `initial` will now take precedence on initial render.
- Support for CSS variables in scale-corrected `boxShadow` styles.
### [`v2.6.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#266-2020-09-03)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.5...v2.6.6)
##### Fixed
- Correctly mapping `times` option to Popmotion's `offset`.
### [`v2.6.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#265-2020-08-28)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.4...v2.6.5)
##### Changed
- Tweaked `restSpeed` defaults for smoother halting of physical (px) springs.
##### Fixed
- Critical-damped spring equations in Popmotion.
### [`v2.6.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#264-2020-08-28)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.3...v2.6.4)
##### Fixed
- Forcing array targets to use keyframes animations.
### [`v2.6.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#263-2020-08-27)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.2...v2.6.3)
##### Fixed
- Coercion to type `auto`.
### [`v2.6.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#262-2020-08-26)
[Compare Source](https://togithub.com/framer/motion/compare/v2.6.1...v2.6.2)
##### Fixed
- Fixing detection of transition definitions and application of default transitions.
- When animating to/from `0` and a unit type, `0` will be coerced to that unit type rather than needing unit conversion via DOM measurement.
### [`v2.6.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2615-2020-09-18)
[Compare Source](https://togithub.com/framer/motion/compare/e8e039a4482bc1486f39d3a540cccb2bea65c7f8...v2.6.1)
##### Fix
- Fixing dynamic type imports in generated types.
### [`v2.6.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#260-2020-08-24)
[Compare Source](https://togithub.com/framer/motion/compare/v2.5.5...e8e039a4482bc1486f39d3a540cccb2bea65c7f8)
##### Fixed
- Reverting relative `dragConstraints` resolution that was erroneously changed in `2.1.3`.
### [`v2.5.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#255-2020-08-20)
[Compare Source](https://togithub.com/framer/motion/compare/v2.5.3...v2.5.5)
##### Fixed
- Tweaked `restDelta` in `popmotion@9.0.0-rc.7` for smoother `opacity` transitions.
### [`v2.5.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#253-2020-08-20)
[Compare Source](https://togithub.com/framer/motion/compare/v2.5.2...v2.5.3)
##### Fixed
- Improved velocity check for underdamped springs.
### [`v2.5.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#252-2020-08-20)
[Compare Source](https://togithub.com/framer/motion/compare/v2.5.1...v2.5.2)
##### Fixed
- Drag transitionEnd conflicting with layout animations.
### [`v2.5.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#251-2020-08-18)
[Compare Source](https://togithub.com/framer/motion/compare/v2.5.0...v2.5.1)
##### Fixed
- Occasional glitchy movement with `type: "spring"` and `repeatType: "mirror"`
### [`v2.5.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#250-2020-08-18)
[Compare Source](https://togithub.com/framer/motion/compare/v2.4.3...v2.5.0)
##### Added
- New repeat syntax
- Support for repeated springs
##### Fixed
- Fixed support for `null` in keyframes animations.
- Fixed `delay` propagation.
### [`v2.4.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#243-2020-08-18)
[Compare Source](https://togithub.com/framer/motion/compare/v2.4.2...v2.4.3)
##### Changed
- Upgrading to Popmotion 9 RC.
### [`v2.4.2`](https://togithub.com/framer/motion/compare/v2.4.1...v2.4.2)
[Compare Source](https://togithub.com/framer/motion/compare/v2.4.1...v2.4.2)
### [`v2.4.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#241-2020-08-12)
[Compare Source](https://togithub.com/framer/motion/compare/v2.4.0...v2.4.1)
##### Fixed
- Adding defensive check for `visualElement.box` in `MeasureLayout`.
### [`v2.4.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#240-2020-08-12)
[Compare Source](https://togithub.com/framer/motion/compare/v2.3.0...v2.4.0)
##### Added
- Upgraded `useTransform` to accept multiple `MotionValue`s.
- Support for `transformPerspective` style.
- Internal: `_dragX` and `_dragY` external `MotionValue` targets for drag gesture.
- Internal: Support for rotate in `AnimateSharedLayout` within Framer.
- Internal: `onViewportBoxUpdate`, `onLayoutMeasure` and `onLayoutUpdate` event handlers added to `HTMLVisualElement`.
##### Fixed
- Fixed `AnimateSharedLayout` within React `17.0.0-rc.0`.
- Drag now works directly on `x` and `y` transforms unless `layout` or `layoutId` are also set.
##### Changed
- Marked `useInvertedScale` as deprecated.
### [`v2.3.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#230-2020-07-28)
[Compare Source](https://togithub.com/framer/motion/compare/v2.2.0...v2.3.0)
##### Added
- `useMotionTemplate`, a hook for combining MotionValues using a string template literal.
### [`v2.2.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#220-2020-07-27)
[Compare Source](https://togithub.com/framer/motion/compare/b662098a50a0725f8956f2e22414d2dfa4e157f0...v2.2.0)
##### Added
- `m` component is a lightweight, featureless version of the `motion` component.
- `MotionConfig` is used to dynamically provide features to `m` components via context.
### [`v2.1.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#214-2020-07-24)
##### Added
- Drag Cypress test suite.
##### Fixed
- Application of relative drag constraints.
- User-set transforms were only updating when layout transforms updated.
- Fixing drag on SVG components.
### [`v2.1.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#213-2020-07-23)
##### Fixed
- HSLA interpolation when either HSLA contains a decimal.
- Whitespace-syntax color support.
- `onLayoutAnimationComplete` now firing correctly.
### [`v2.1.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#212-2020-07-22)
[Compare Source](https://togithub.com/framer/motion/compare/v2.1.0...v2.1.2)
##### Fixed
- Respecting `transformTemplate` for layout animations.
- Fixed `this.box is undefined` errors.
##### Changed
- Internal refactoring to improve tree-shaking and allow for dynamic feature injection.
### [`v2.1.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#210-2020-07-17)
[Compare Source](https://togithub.com/framer/motion/compare/v2.0.1...v2.1.0)
##### Added
- `layout="position"` for position-only layout animations.
### [`v2.0.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#201-2020-07-16)
[Compare Source](https://togithub.com/framer/motion/compare/v2.0.0...v2.0.1)
##### Fixed
- Fixed issue with draggable components staying stuck when they're getting render-thrashed.
### [`v2.0.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#200-2020-07-15)
[Compare Source](https://togithub.com/framer/motion/compare/1a9df0a59a657835e495f77c2108fbbde9cc16b6...v2.0.0)
##### Added
- `layout` prop for automatic layout animations.
- `AnimateSharedLayout` and `layoutId` for shared layout animations.
- `onMeasureDragConstraints` prop that fires when `dragConstraints` are measured.
- `useIsPresent`, a read-only version of `usePresence`.
- Allow `dragConstraints` to be a ref that is smaller than the draggable element.
##### Removed
- `positionTransition` and `layoutTransition` props (use `layout={true}` instead).
- `Point` type in favour of `Point2D`.
- `useAnimatedState`: Moved to Framer library.
- `dragOriginX`, `dragOriginY` props.
- `stylefire` as a dependency.
##### Fixed
- Removing a `MotionValue` from `style` now correctly unsets it from the element.
##### Changed
- Using `Proxy` to generate `motion` components. This saves ~0.5kb from the bundle size and ensures compatibility with all DOM elements and Web Components.
- `x` and `y` transform values won't change as a result of a drag gesture as this now works via layout projection.
- Drag events now report `point` as the pointer relative to the viewport, in line with other pointer events.
- Changed build process and using Terser for uglification. Reduces bundle size by ~1.2kb. ([@stokesman](https://togithub.com/stokesman) in [#596](https://togithub.com/framer/motion/pull/596))
Renovate configuration
:date: Schedule: "before 3am on Monday" in timezone Europe/Moscow.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^1.2.3
->^3.0.0
Release Notes
framer/motion
### [`v3.10.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3106-2021-03-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.5...v3.10.6) ##### Fixed - Various variant bugs. ### [`v3.10.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3105-2021-03-15) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.4...v3.10.5) ##### Fixed - Added specific `default` and `require` fields to the `exports` field for CJS compatibility. ### [`v3.10.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3104-2021-03-15) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.3...v3.10.4) ##### Added - `exports` field to `package.json`. ##### Fixed - `useMotionValue` now forces re-render on the Framer canvas when the underlying `MotionValue` updates. ### [`v3.10.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3103-2021-03-10) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.2...v3.10.3) ##### Fixed - Reduced memory consumption in static mode by not loading `VisualElement`. ### [`v3.10.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3102-2021-03-09) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.1...v3.10.2) ##### Fixed - Improved memory consumption of `SubscriptionManager`. ### [`v3.10.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3101-2021-03-09) [Compare Source](https://togithub.com/framer/motion/compare/v3.10.0...v3.10.1) ##### Fixed - New layout animations now only trigger when the target viewport box has changed. ### [`v3.10.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#3100-2021-03-03) [Compare Source](https://togithub.com/framer/motion/compare/v3.9.3...v3.10.0) ##### Added - `useVelocity`. ### [`v3.9.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#393-2021-03-03) [Compare Source](https://togithub.com/framer/motion/compare/v3.9.2...v3.9.3) ##### Fixed - Exporting `AnimationPlaybackControls` and `AnimationOptions` for `animate()`. - Fixed passing dynamic function to `controls.start()`. ### [`v3.9.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#392-2021-03-02) [Compare Source](https://togithub.com/framer/motion/compare/v3.9.1...v3.9.2) ##### Fixed - Crossfader now only returns values for the lead and follow components. ### [`v3.9.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#391-2021-03-02) [Compare Source](https://togithub.com/framer/motion/compare/acdd06955998f3ae3f62fc7b47d2492f62011fb4...v3.9.1) ##### Fixed - Drag now passing velocity to `useSpring` correctly. ### [`v3.9.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#390-2021-03-02) [Compare Source](https://togithub.com/framer/motion/compare/v3.8.2...acdd06955998f3ae3f62fc7b47d2492f62011fb4) ##### Added - `dragElastic` now accepts per-axis elastic settings. ### [`v3.8.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#382-2021-03-01) [Compare Source](https://togithub.com/framer/motion/compare/v3.8.1...v3.8.2) ##### Fixed - `perspective` now correctly set as its own `style`. `transformPerspective` still builds into `transform`. ### [`v3.8.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#381-2021-03-01) [Compare Source](https://togithub.com/framer/motion/compare/ffd8ec235d9d8b7c7642f6e91f88717817b7a56c...v3.8.1) ##### Changed - Refactoring `AnimationType` is improve bundle-splitting. ### [`v3.8.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#380-2021-03-01) [Compare Source](https://togithub.com/framer/motion/compare/v3.7.0...ffd8ec235d9d8b7c7642f6e91f88717817b7a56c) ##### Fixed - Code-splitting for Webpack. ### [`v3.7.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#370-2021-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.7...v3.7.0) ##### Added - `motion()` creates custom `motion` components. - `forwardMotionProps` boolean to optionally forward `MotionProps` to custom components. ##### Changed - Custom `motion` components no longer forward `MotionProps` by default. ##### Deprecated - `motion.custom` ##### Fixed - Listing React 17 as a `peerDependency`. ### [`v3.6.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#367-2021-02-22) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.6...v3.6.7) ##### Fixed - More permissive check for previously-unencountered values. ### [`v3.6.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#366-2021-02-22) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.5...v3.6.6) ##### Fixed - Safer `hasOwnProperty` check for `null` values. ### [`v3.6.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#365-2021-02-22) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.4...v3.6.5) ##### Fixed - Only fire `onPanEnd` if `onPanStart` has triggered. ### [`v3.6.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#364-2021-02-22) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.3...v3.6.4) ##### Fixed - Adding polyfill `performance.now` in `framesync`. ### [`v3.6.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#363-2021-02-22) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.2...v3.6.3) ##### Fixed - Only crossfading defined `borderRadius` borders during shared element transitions. ### [`v3.6.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#362-2021-02-20) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.1...v3.6.2) ##### Fixed - `AnimatePresence` now correctly unmounts children if it contains no `motion` components. ### [`v3.6.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#361-2021-02-19) [Compare Source](https://togithub.com/framer/motion/compare/v3.6.0...v3.6.1) ##### Fixed - `onAnimationComplete` on child variant components now fire as expected. ### [`v3.6.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#360-2021-02-19) [Compare Source](https://togithub.com/framer/motion/compare/v3.5.3...v3.6.0) ##### Added - `onAnimationComplete` now provides the definition of the triggering animation. ### [`v3.5.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#353-2021-02-19) [Compare Source](https://togithub.com/framer/motion/compare/v3.5.2...v3.5.3) ##### Fixed - Fixing bug with `afterChildren` and `exit` animations. ### [`v3.5.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#352-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.5.1...v3.5.2) ##### Added - Setting `sideEffects: false` in `package.json` to help code splitting in Webpack. ### [`v3.5.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#351-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.5.0...v3.5.1) ##### Fixed - `onTapCancel` is now being correctly cleaned up. ### [`v3.5.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#350-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.4.2...v3.5.0) ##### Added - Adding `transition` prop to `MotionConfig` to set a default `transition` for an entire tree. ### [`v3.4.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#342-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.4.1...v3.4.2) ##### Added - `onBeforeLayoutMeasure` prop, currently a Framer internal. ### [`v3.4.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#341-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.4.0...v3.4.1) ##### Fixed - De-duplicating features in nested `MotionConfig`s to avoid key error. ### [`v3.4.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#340-2021-02-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.3.0...v3.4.0) ##### Changed - Main `motion` component concurrent-safe. ##### Fixed - Crossfading elements can now never fall out of positional/style sync due to mismatched animations or framelag. - Fixing SVG double translation transform (props + transform style). - `animate` `onComplete` now firing correctly. - Only firing keyframe animation when all values have changed. - Removing forced re-renders for variant trees. - Variant stagger order now determined by DOM APIs. - Fixed default spring for `scale`, `opacity` etc from being overdamped to being critically damped when animating to `0`. ### [`v3.3.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#330-2020-02-03) [Compare Source](https://togithub.com/framer/motion/compare/v3.2.1...v3.3.0) - Fixing errant publish. ### [`v3.2.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#321-2020-01-11) [Compare Source](https://togithub.com/framer/motion/compare/v3.2.0...v3.2.1) ##### Added - Exporting `useVariantContext` for internal Framer use. ### [`v3.2.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#320-2020-01-08) [Compare Source](https://togithub.com/framer/motion/compare/0e874f89e85315dda95624428a2a0fe79cdad6a4...v3.2.0) ##### Added - Support for hex `alpha`, ie `#FFF0` and `#FFFFFF00`. - Support for default `filter` values. For example, when animating from `brightness(50%)`, the animation will start from `brightness(100%)`rather than`brightness(0%)`. ### [`v3.1.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#315-2020-01-08) [Compare Source](https://togithub.com/framer/motion/compare/v3.1.4...0e874f89e85315dda95624428a2a0fe79cdad6a4) ##### Fixed - Hover events are now blocked while layout is being measured. ### [`v3.1.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#314-2020-01-05) [Compare Source](https://togithub.com/framer/motion/compare/v3.1.3...v3.1.4) ##### Fixed - Blocking layout animations to/from zero bounding boxes. - `onTapCancel` now fires correctly on touch screens. - `createDomMotionComponent` types. ### [`v3.1.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#313-2020-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v3.1.2...v3.1.3) ##### Fixed - Fixed types for `pathSpacing` and `pathOffset`. ### [`v3.1.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#312-2020-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v3.1.1...v3.1.2) ##### Fixed - `snapToCursor` respects drag axis. ### [`v3.1.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#311-2020-12-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.0.1...v3.1.1) ##### Updated - Updated dependencies. ### [`v3.0.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#301-2020-12-18) [Compare Source](https://togithub.com/framer/motion/compare/v3.0.0...v3.0.1) ##### Fixed - Error when mixing `initial={false}` and `animate={controls}`. ### [`v3.0.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#300-2020-12-16) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.5...v3.0.0) ##### Added - `whileDrag` - Adding Safari-prefixed `userSelect` css to draggable elements. - `whileHover`, `whileTap` and `exit` all now accept variant lists. ##### Changed - New behaviour for when values are removed from animation props (`animate`, `whileHover`, `exit` etc). The value will be searched for in active props of a lower priority running (`style` <- `animate` <- `whileHover` <- `whileTap` <- `whileDrag` <- `exit`). This may introduce subtle behavioural changes, hence the major. ##### Removed - The deprecated `useInvertedScale` hook. Use the `layout` prop instead. - The deprecated `yoyo`, `flip` and `loop` options. Use `repeat` and `repeatType` options instead. ##### Fixed - Correctly applying `transform` on SVG elements. - Lazy-initialising viewport scroll, VisualElement.axisProgress, and reduced motion `MotionValue`s, for increased startup performance. - Improved measurement scheduling for `drag` components and nested `AnimateSharedLayout` trees. - Robust calculation of `treeScale`. ### [`v2.9.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#295-2020-11-16) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.4...v2.9.5) ##### Added - Updating `package.json` to be compatible with React 17. ### [`v2.9.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#294-2020-10-21) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.3...v2.9.4) ##### Added - Exporting internal API `startVisualElementAnimation` for use in Framer. ### [`v2.9.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#293-2020-10-19) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.2...v2.9.3) ##### Added - Exporting `Target` type. ### [`v2.9.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#292-2020-10-19) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.1...v2.9.2) ##### Fixed - Over-eager variant propagation. ### [`v2.9.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#291-2020-10-12) [Compare Source](https://togithub.com/framer/motion/compare/v2.9.0...v2.9.1) ##### Fixed - Reverting `matchMedia` listener to legacy `addListener` to fix in Safari. ### [`v2.9.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#290-2020-10-12) [Compare Source](https://togithub.com/framer/motion/compare/v2.8.0...v2.9.0) ##### Added - Refactor has reduced complete bundle size to 27kb and `m` component bundle size to 12.5kb. ##### Fixed - Removing whitespace from resolved CSS variables. ### [`v2.8.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#280-2020-10-09) [Compare Source](https://togithub.com/framer/motion/compare/v2.7.9...v2.8.0) ##### Added - `animate` function for low-level single `MotionValue` or arbitrary value animations. ### [`v2.7.9`](https://togithub.com/framer/motion/compare/v2.7.8...v2.7.9) [Compare Source](https://togithub.com/framer/motion/compare/v2.7.8...v2.7.9) ### [`v2.7.8`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#278-2020-10-07) [Compare Source](https://togithub.com/framer/motion/compare/v2.7.7...v2.7.8) ##### Changed - Reverting previous behaviour to allow manual triggering of updating drag constraints via `useDragControls`. ### [`v2.7.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#277-2020-10-01) [Compare Source](https://togithub.com/framer/motion/compare/v2.7.6...v2.7.7) ##### Fixed - `duration` and `bounce` are now overridden by `damping`, `stiffness`, and `mass`. This fixes an issue in Framer where legacy transitions were breaking. ### [`v2.7.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#276-2020-09-29) [Compare Source](https://togithub.com/framer/motion/compare/v2.7.5...v2.7.6) ##### Fixed - When a `transform` is provided to `style` as a `MotionValue` and then replaced with a number on a subsequent render, we create a new `MotionValue` for it. ### [`v2.7.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#275-2020-09-26) [Compare Source](https://togithub.com/framer/motion/compare/aeb787c4eac3aa53e8e136697361c5f42e0ac911...v2.7.5) ##### Fixed - Manually setting a `from` in `transition`. ### [`v2.7.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#274-2020-09-26) [Compare Source](https://togithub.com/framer/motion/compare/bc4070f4376b9510f932fa57565f2b1f78c33978...aeb787c4eac3aa53e8e136697361c5f42e0ac911) ##### Fixed - Blocks propagation of variants from parent if a component's `animate` prop is set to `AnimationControls`. `inherit` can be used to force inheritence `true` or `false`. ### [`v2.7.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#273-2020-09-25) [Compare Source](https://togithub.com/framer/motion/compare/4edb87b05aa5c1dc6cca725cf632bcae63d8099d...bc4070f4376b9510f932fa57565f2b1f78c33978) ##### Fixed - Blocks touch viewport scrolling from draggable components on a per-axis basis. - Reinstating `sideEffects: false` now that the `blockViewportScroll` method has been removed. ### [`v2.7.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#272-2020-09-24) [Compare Source](https://togithub.com/framer/motion/compare/ca2d636fb108eba74babb327adcfbfc45b066ec5...4edb87b05aa5c1dc6cca725cf632bcae63d8099d) ##### Added - `createDomMotionComponent` for legacy browser support. ### [`v2.7.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#271-2020-09-23) [Compare Source](https://togithub.com/framer/motion/compare/83c92a4ba84a985d529d820c543dc613200f1462...ca2d636fb108eba74babb327adcfbfc45b066ec5) ##### Fixed - Reverting `sideEffects: false`, as viewport touch scroll blocking is a side effect. ### [`v2.7.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#270-2020-09-23) [Compare Source](https://togithub.com/framer/motion/compare/b3c8d88d3b689651f34ba9c266aaf398a6e3b1d2...83c92a4ba84a985d529d820c543dc613200f1462) ##### Added - Duration-based springs. ### [`v2.6.15`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2615-2020-09-18) [Compare Source](https://togithub.com/framer/motion/compare/63ca23a0054ffafcd30175afd38c6d142acd3999...b3c8d88d3b689651f34ba9c266aaf398a6e3b1d2) ##### Fix - Fixing dynamic type imports in generated types. ### [`v2.6.14`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2614-2020-09-18) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.13...63ca23a0054ffafcd30175afd38c6d142acd3999) ##### Fix - No longer unsetting transform motion values from `style` if their current value is `0`. - Correct `useDomEvent` types to allow any `EventTarget`. - Fix memory leak error in `AnimatePresence`. ##### Change - Added `sideEffects: false` to `package.json`. - Added `bundlesize` bundle budgeting. ### [`v2.6.13`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2613-2020-09-12) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.12...v2.6.13) ##### Fix - `drag` + `layout` components no longer reset position to center. ### [`v2.6.12`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2612-2020-09-11) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.11...v2.6.12) ##### Change - Reduced full bundle size by 0.8kb by replacing `import * from "popmotion"` with a named map of specifically just the easing functions. ### [`v2.6.11`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2611-2020-09-11) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.10...v2.6.11) ##### Fixed - Reinstating default keyframes duration of `0.8` seconds. ### [`v2.6.10`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2610-2020-09-10) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.9...v2.6.10) ##### Fixed - `dragElastic={0}` gesture end animations now work correctly. ### [`v2.6.9`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#269-2020-09-09) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.8...v2.6.9) ##### Fixed - Ensure `AnimatePresence` children re-render when children exit. ### [`v2.6.8`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#268-2020-09-08) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.7...v2.6.8) ##### Fixed - Ensure useTransform uses the latest handler. ### [`v2.6.7`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#267-2020-09-08) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.6...v2.6.7) ##### Added - Scale correction for `borderRadius` and `boxShadow` found in `style`. - Fixed conflict between `initial` and `style`. `initial` will now take precedence on initial render. - Support for CSS variables in scale-corrected `boxShadow` styles. ### [`v2.6.6`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#266-2020-09-03) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.5...v2.6.6) ##### Fixed - Correctly mapping `times` option to Popmotion's `offset`. ### [`v2.6.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#265-2020-08-28) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.4...v2.6.5) ##### Changed - Tweaked `restSpeed` defaults for smoother halting of physical (px) springs. ##### Fixed - Critical-damped spring equations in Popmotion. ### [`v2.6.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#264-2020-08-28) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.3...v2.6.4) ##### Fixed - Forcing array targets to use keyframes animations. ### [`v2.6.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#263-2020-08-27) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.2...v2.6.3) ##### Fixed - Coercion to type `auto`. ### [`v2.6.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#262-2020-08-26) [Compare Source](https://togithub.com/framer/motion/compare/v2.6.1...v2.6.2) ##### Fixed - Fixing detection of transition definitions and application of default transitions. - When animating to/from `0` and a unit type, `0` will be coerced to that unit type rather than needing unit conversion via DOM measurement. ### [`v2.6.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#2615-2020-09-18) [Compare Source](https://togithub.com/framer/motion/compare/e8e039a4482bc1486f39d3a540cccb2bea65c7f8...v2.6.1) ##### Fix - Fixing dynamic type imports in generated types. ### [`v2.6.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#260-2020-08-24) [Compare Source](https://togithub.com/framer/motion/compare/v2.5.5...e8e039a4482bc1486f39d3a540cccb2bea65c7f8) ##### Fixed - Reverting relative `dragConstraints` resolution that was erroneously changed in `2.1.3`. ### [`v2.5.5`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#255-2020-08-20) [Compare Source](https://togithub.com/framer/motion/compare/v2.5.3...v2.5.5) ##### Fixed - Tweaked `restDelta` in `popmotion@9.0.0-rc.7` for smoother `opacity` transitions. ### [`v2.5.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#253-2020-08-20) [Compare Source](https://togithub.com/framer/motion/compare/v2.5.2...v2.5.3) ##### Fixed - Improved velocity check for underdamped springs. ### [`v2.5.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#252-2020-08-20) [Compare Source](https://togithub.com/framer/motion/compare/v2.5.1...v2.5.2) ##### Fixed - Drag transitionEnd conflicting with layout animations. ### [`v2.5.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#251-2020-08-18) [Compare Source](https://togithub.com/framer/motion/compare/v2.5.0...v2.5.1) ##### Fixed - Occasional glitchy movement with `type: "spring"` and `repeatType: "mirror"` ### [`v2.5.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#250-2020-08-18) [Compare Source](https://togithub.com/framer/motion/compare/v2.4.3...v2.5.0) ##### Added - New repeat syntax - Support for repeated springs ##### Fixed - Fixed support for `null` in keyframes animations. - Fixed `delay` propagation. ### [`v2.4.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#243-2020-08-18) [Compare Source](https://togithub.com/framer/motion/compare/v2.4.2...v2.4.3) ##### Changed - Upgrading to Popmotion 9 RC. ### [`v2.4.2`](https://togithub.com/framer/motion/compare/v2.4.1...v2.4.2) [Compare Source](https://togithub.com/framer/motion/compare/v2.4.1...v2.4.2) ### [`v2.4.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#241-2020-08-12) [Compare Source](https://togithub.com/framer/motion/compare/v2.4.0...v2.4.1) ##### Fixed - Adding defensive check for `visualElement.box` in `MeasureLayout`. ### [`v2.4.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#240-2020-08-12) [Compare Source](https://togithub.com/framer/motion/compare/v2.3.0...v2.4.0) ##### Added - Upgraded `useTransform` to accept multiple `MotionValue`s. - Support for `transformPerspective` style. - Internal: `_dragX` and `_dragY` external `MotionValue` targets for drag gesture. - Internal: Support for rotate in `AnimateSharedLayout` within Framer. - Internal: `onViewportBoxUpdate`, `onLayoutMeasure` and `onLayoutUpdate` event handlers added to `HTMLVisualElement`. ##### Fixed - Fixed `AnimateSharedLayout` within React `17.0.0-rc.0`. - Drag now works directly on `x` and `y` transforms unless `layout` or `layoutId` are also set. ##### Changed - Marked `useInvertedScale` as deprecated. ### [`v2.3.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#230-2020-07-28) [Compare Source](https://togithub.com/framer/motion/compare/v2.2.0...v2.3.0) ##### Added - `useMotionTemplate`, a hook for combining MotionValues using a string template literal. ### [`v2.2.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#220-2020-07-27) [Compare Source](https://togithub.com/framer/motion/compare/b662098a50a0725f8956f2e22414d2dfa4e157f0...v2.2.0) ##### Added - `m` component is a lightweight, featureless version of the `motion` component. - `MotionConfig` is used to dynamically provide features to `m` components via context. ### [`v2.1.4`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#214-2020-07-24) ##### Added - Drag Cypress test suite. ##### Fixed - Application of relative drag constraints. - User-set transforms were only updating when layout transforms updated. - Fixing drag on SVG components. ### [`v2.1.3`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#213-2020-07-23) ##### Fixed - HSLA interpolation when either HSLA contains a decimal. - Whitespace-syntax color support. - `onLayoutAnimationComplete` now firing correctly. ### [`v2.1.2`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#212-2020-07-22) [Compare Source](https://togithub.com/framer/motion/compare/v2.1.0...v2.1.2) ##### Fixed - Respecting `transformTemplate` for layout animations. - Fixed `this.box is undefined` errors. ##### Changed - Internal refactoring to improve tree-shaking and allow for dynamic feature injection. ### [`v2.1.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#210-2020-07-17) [Compare Source](https://togithub.com/framer/motion/compare/v2.0.1...v2.1.0) ##### Added - `layout="position"` for position-only layout animations. ### [`v2.0.1`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#201-2020-07-16) [Compare Source](https://togithub.com/framer/motion/compare/v2.0.0...v2.0.1) ##### Fixed - Fixed issue with draggable components staying stuck when they're getting render-thrashed. ### [`v2.0.0`](https://togithub.com/framer/motion/blob/master/CHANGELOG.md#200-2020-07-15) [Compare Source](https://togithub.com/framer/motion/compare/1a9df0a59a657835e495f77c2108fbbde9cc16b6...v2.0.0) ##### Added - `layout` prop for automatic layout animations. - `AnimateSharedLayout` and `layoutId` for shared layout animations. - `onMeasureDragConstraints` prop that fires when `dragConstraints` are measured. - `useIsPresent`, a read-only version of `usePresence`. - Allow `dragConstraints` to be a ref that is smaller than the draggable element. ##### Removed - `positionTransition` and `layoutTransition` props (use `layout={true}` instead). - `Point` type in favour of `Point2D`. - `useAnimatedState`: Moved to Framer library. - `dragOriginX`, `dragOriginY` props. - `stylefire` as a dependency. ##### Fixed - Removing a `MotionValue` from `style` now correctly unsets it from the element. ##### Changed - Using `Proxy` to generate `motion` components. This saves ~0.5kb from the bundle size and ensures compatibility with all DOM elements and Web Components. - `x` and `y` transform values won't change as a result of a drag gesture as this now works via layout projection. - Drag events now report `point` as the pointer relative to the viewport, in line with other pointer events. - Changed build process and using Terser for uglification. Reduces bundle size by ~1.2kb. ([@stokesman](https://togithub.com/stokesman) in [#596](https://togithub.com/framer/motion/pull/596))Renovate configuration
:date: Schedule: "before 3am on Monday" in timezone Europe/Moscow.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.