Skip to content

Releases: guidobouman/panelsnap

v1.3.0

31 Jul 09:03
f313e1c
Compare
Choose a tag to compare

1.3.0 (2019-07-31)

Features

v1.2.2

04 Jul 10:06
bbb7494
Compare
Choose a tag to compare

1.2.2 (2019-07-04)

Bug Fixes

  • utilities: exclude scrollbars from body container rect (2235acf), closes #140
  • utilities: use documentElement instead of scrollingElement (6e10b79)

v1.2.1

27 Jun 09:53
823f043
Compare
Choose a tag to compare

1.2.1 (2018-06-27)

Bug Fixes

  • run build before npm package is generated (6f9158e)

v1.2.0

14 May 13:26
fb26649
Compare
Choose a tag to compare

1.2.0 (2018-05-14)

Bug Fixes

  • snap to panel when initialising PanelSnap (2d5382b)

Features

  • call handler right away when subscribing to activatePanel (dfaa2f9)

v1.1.0

13 May 10:22
76ebd0c
Compare
Choose a tag to compare

1.1.0 (2018-05-13)

Bug Fixes

  • always snap to panel on interact stop (129fe4d)

Features

  • allow interruption from mousewheel (e72b6ff)

v1.0.0

12 May 22:05
ed212f5
Compare
Choose a tag to compare

1.0.0 (2018-05-12)

Bug Fixes

  • activate panel when skipping the snap action (f68030b)
  • add missing events array on instance creation (e69e20d)
  • Allow direct descendant selector with scoped querySelector (9bcb296)
  • fix broken snapping because of undefined delay variable (3257eab)
  • Fix getElementsInContainerViewport not returning elements when larger than the viewport. (e414362)
  • Fix getTargetScrollTop not working for body (874efc1)
  • Make body in demo full height (af95332)
  • only bind passive events when supported (8ad9ebf)
  • only take directionThreshold into account when actually snapping (079f390)
  • Prevent duplicate PanelSnap instances on the same container (cf4ea6a)
  • Run new build that includes getScrollingElement (0605675)
  • snap to last panel in viewport when navigating up (9c00c2a)
  • Stop animation when a user interacts with the page (80a0f96)

chore

  • drop support for bower (3fd757e)
  • oficially rename to PanelSnap (7d75a69)

Features

  • Add basic snapping functionality. (374ded2)
  • add cross-browser & -platform interaction detection (21bcbe9)
  • add delay support (1c87367)
  • Add elementFillsContainer utility function (3f15f3a)
  • add enable & disable methods (dcf6db9)
  • add event binding to panelSnap (b3e8678)
  • Add getElementsInContainerViewport utility function (aa76466)
  • add horizontal snapping to PanelSnap (913cde7), closes #7
  • add horizontal support to getTargetScrollOffset utility method (896bbc3)
  • add missing duration setting (6c6d83d)
  • Add snapToPanel method (a9ba05c)
  • Add the option to find scrollTop of element bottom (08e2ed7)
  • drop support for offset (84a8205)
  • First version of findSnapTarget method, not fully working yet (ae36726)
  • Homogenize exports of PanelSnap (507856d)
  • Let PanelSnap snap to bottom (f9338fc)
  • make panel target selection less naive (d1a514e)
  • Prevent snapping when in large panel (e2de722)
  • remove old jQuery.panelSnap setup in favor of new PanelSnap setup (3efee66)
  • Setup a first panelSnap without jQuery (7808c2b)
  • take direction into account when snapping back to active panel (1992088)

BREAKING CHANGES

  • The plugin is renamed to PanelSnap to reflect the decoupling from jQuery. PanelSnap
    is now framework agnostic. Install through npm install panelsnap. The jQuery repo publication is
    dropped in the process. This might get added back once a new adapter is in place.
  • Bower is no longer supported. Use npm instead.
  • jQuery.panelSnap is no longer supported in v1.0. An adapter will be provided in the
    near future.
  • The option slideSpeed has been renamed to duration. Also, the default value for duration is
    now 300ms, instead of 200ms.
  • Offset is no longer supported in PanelSnap. This can be taken into account inside
    the panels.
  • The old activate event is now called activatePanel, more in line with the other
    (more descriptive) event names. Event binding now happens with the
    panelSnapInstance.on('eventName', function) method. Instead of supplying callback functions during
    initialisation.

v0.16.0

21 Jan 16:53
3650804
Compare
Choose a tag to compare

0.16.0 (2018-01-21)

Features

  • snapping: Snap to bottom when scrolling up into large panel. (278f114), closes #96