Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
527 lines (212 loc) · 17.8 KB

CHANGELOG.md

File metadata and controls

527 lines (212 loc) · 17.8 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.20.5 (2020-10-17)

1.20.4 (2020-10-17)

1.20.2 (2020-06-23)

Bug Fixes

  • check that window exists before trying to access it (9544d9a)

1.20.1 (2020-06-23)

1.20.0 (2020-06-23)

Bug Fixes

  • change hash offset from getBoundingClientRect() to offsetTop (d3c000d)
  • only show prefers-reduced-motion warning if it's actually set 🤦‍♂️ (ac5f15e)
  • remove buggy createRef usage and use querySelector instead as it's more reliable here.. (545068f)

Features

  • add a warning in console during development if prefers-reduced-motion is enabled (82e9c16)

1.19.2 (2020-06-22)

Bug Fixes

  • remove buggy createRef usage and use querySelector instead as it's more reliable here.. (545068f)

1.19.1 (2020-06-22)

Bug Fixes

  • only show prefers-reduced-motion warning if it's actually set 🤦‍♂️ (ac5f15e)

1.19.0 (2020-06-22)

Features

  • add a warning in console during development if prefers-reduced-motion is enabled (82e9c16)

1.18.3 (2020-06-22)

1.18.2 (2020-06-22)

Bug Fixes

  • change hash offset from getBoundingClientRect() to offsetTop (d3c000d)

1.18.0 (2020-03-06)

Features

  • add useTriggerTransition hook w/ examples (8754f38)

1.17.8 (2020-03-05)

1.17.7 (2019-12-16)

Bug Fixes

  • remove manual tracking of transition history and addition o… (#169) (30632a9)

1.17.6 (2019-12-16)

Bug Fixes

  • hide the exiting page contents once the cover div is coveri… (#168) (add955e)

1.17.5 (2019-12-10)

Bug Fixes

  • namespace layout global and move layout to wrap page to pre… (#167) (9387dcd)

1.17.4 (2019-12-10)

1.17.3 (2019-12-09)

Bug Fixes

1.17.2 (2019-12-09)

1.17.1 (2019-12-09)

Bug Fixes

1.17.0 (2019-12-09)

Features

  • add option to prevent automatically scrolling to the top o… (#162) (16d2059)

1.16.2 (2019-11-07)

Bug Fixes

1.16.1 (2019-11-06)

Bug Fixes

  • move default injectPageProps option so it gets applied properly (#151) (a08d61d)

1.16.0 (2019-11-05)

Bug Fixes

Features

  • plugin option disable page prop injection (d7c8edf)

1.14.3 (2019-11-05)

Bug Fixes

1.14.2 (2019-10-31)

Bug Fixes

  • hotfix for safari where matchMedia.addEventListener is not a function (0c5d845)

1.14.1 (2019-10-30)

Bug Fixes

1.14.0 (2019-10-30)

Bug Fixes

  • enable 'open in new tab' functionality when clicking link with ctrl/cmd (95f7bb2)

Features

1.13.0 (2019-09-09)

Features

1.12.4 (2019-05-11)

Bug Fixes

  • enable 'open in new tab' functionality when clicking link with ctrl/cmd (95f7bb2)

1.12.3 (2019-04-24)

1.12.2 (2019-04-03)

Bug Fixes

  • pass all available gatsby link props through (0b7a1f0)

1.12.1 (2019-03-28)

Bug Fixes

  • remove hardcoded morph duration (e139199)

1.12.0 (2019-03-28)

Features

  • Add anilink morph animation (86c24ce)

1.11.1 (2019-03-28)

Bug Fixes

  • reinstate position relative so that z-index works!! (12f0e51)

1.11.0 (2019-03-28)

Bug Fixes

  • move react to peerdependencies to prevent it being loaded twice. (cf0bc7a)
  • remove unneeded position relative on tl-wrapper element (747124b)

Features

  • add direction prop to paintDrip (6161190)
  • add useTransitionState hook (5b16766)

1.10.0 (2019-03-28)

Bug Fixes

  • move react to peerdependencies to prevent it being loaded twice. (cf0bc7a)

Features

  • add useTransitionState hook (5b16766)

1.9.5 (2019-03-27)

Bug Fixes

  • update scroll position after the new page is visible (36e5000)
  • update the transition renderer after the appear after delay (8640edf)

1.9.4 (2019-03-27)

Bug Fixes

  • move appearAfter logic to transition renderer (561d843)

1.9.3 (2019-03-27)

Bug Fixes

  • prevent page from flickering on load (1d800bb)

1.9.2 (2019-03-27)

Bug Fixes

  • don't change page opacity to hide (9d69a8e)
  • reset pages promises after transitions when using the new trigger prop (6654337)

1.9.1 (2019-03-26)

Bug Fixes

  • only call trigger function if it exists! (6ec1b08)

1.9.0 (2019-03-26)

Features

  • add trigger prop to TransitionLink. (08d303b)
  • improve performance by preventing extra renders (af3a2bc)

1.8.0 (2019-03-26)

Features

  • improve performance by preventing extra renders (af3a2bc)

1.7.1 (2019-03-25)

1.7.0 (2019-03-25)

Features

  • prevent the back button during transitions (f879140)

1.6.2 (2019-03-25)

Bug Fixes

  • make publishing workflow easier & bump version to fix incorrect publish (b5e3e14)

1.6.0 (2019-03-25)

Bug Fixes

  • 56: fixed missing scrollingElement in some browsers; (b3aad7b)
  • Add missing parenthesis on link (f19dfc5)
  • Update example site name for yarn workspaces (2c58795)

Features

  • added property to configure swipe offset; (ac95547)

1.5.2 (2019-03-14)

1.4.4 (2018-12-18)

1.4.1 (2018-12-02)

1.3.4 (2018-11-24)

1.3.1 (2018-11-23)

1.3.0 (2018-11-22)

1.2.5 (2018-11-21)

1.2.3 (2018-11-17)

1.2.2 (2018-11-15)

1.1.2 (2018-11-12)

1.1.1 (2018-11-08)

1.1.0 (2018-11-08)

1.0.11 (2018-11-07)

1.0.10 (2018-11-07)

1.0.7 (2018-11-07)

1.0.1 (2018-11-04)

1.0.0 (2018-11-04)

0.1.0 (2018-10-26)

1.5.2 (2019-03-14)

Pass onClick handlers through to TransitionLink

Thanks to @lsirivong, onClick handlers get passed through to AniLink and TransitionLink.

1.4.4 (2018-12-18)

  • Properly reset scroll position when clicking a link with no transition #21
  • More accurately calculate when the transition is complete #22

1.4.1 (2018-12-02)

  • don't pass all props through to gatsby-link, just pass activeStyle and className
  • only apply min height to the site wrapper when not in transition to fix some transition glitches for the swipe animation
  • prevent the fade transition from jumping the exiting page to the top of the screen
  • default fade transition default length is now 800ms instead of 400ms

1.3.4 (2018-11-24)

Not all props were being passed through to gatsby link when using AniLink, this fixes that. This also fixes some inconsistencies in the documentation and the "duration" prop in AniLink.

1.3.1 (2018-11-23)

Fix gatsby build error from last release

1.3.0 (2018-11-22)

Fix scroll jumping on save during development.

Previously, saving your components or pages would cause the page to jump to the top, meaning you would have to scroll down to the component you were working on over and over. This fixes that.

This should also fix the issue where footers in layout components weren't pushed down by the contents of your page.

1.2.5 (2018-11-21)

Improved saved scroll position jumping + small refactor

1.2.3 (2018-11-17)

This releases fixes WebpackError: ReferenceError: GATSBY_LAYOUT_COMPONENT_PATH is not defined

1.2.2 (2018-11-15)

Prior to this release, GSAP needed to be installed for TransitionLink to not throw errors. Now, the AniLink component is moved to it's own file and will need to be imported as default from "gatsby-plugin-transition-link/AniLink".

It looks like an earlier release also broke layout functionality and that has been fixed with this release. If you were getting the error

warning  in ../gatsby-plugin-transition-link/src/components/Layout.js

Critical dependency: the request of a dependency is an expression

v1.2.2 fixes this.

1.1.2 (2018-11-12)

  • Not all page props were being passed to layouts
  • Pathname wasn't being passed to the onEnter function which is using it

1.1.1 (2018-11-08)

1.1.0 (2018-11-08)

1.0.11 (2018-11-07)

1.0.10 (2018-11-07)

1.0.7 (2018-11-07)

1.0.1 (2018-11-04)

1.0.0 (2018-11-04)

0.1.0 (2018-10-26)