Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@danielpza danielpza released this 02 May 06:22
· 5 commits to master since this release
a241856

4.0.0 (2019-05-02)

Code Refactoring

BREAKING CHANGES

  • api changed

  • feat: improve public api

merge scroll functions into scrollTo

  • test: add browserstack tests

replace cypress with browserstack for better browser support

Squashed commit of the following:

commit 9f91793ff5a2a46d7b217c5cc0b4e195f99d803e
Author: David Perez Alvarez [email protected]
Date: Mon Apr 29 00:08:58 2019 -0400

test: improve tests

commit 4dae7a7
Author: David Perez Alvarez [email protected]
Date: Sun Apr 28 22:59:28 2019 -0400

test: change to TDD

change 'describe' for 'suit'

commit db8bfab
Author: David Perez Alvarez [email protected]
Date: Sun Apr 28 20:44:33 2019 -0400

test: improve tests

commit 5f6ca6b
Author: David Perez Alvarez [email protected]
Date: Sun Apr 28 18:40:11 2019 -0400

test: remove cypress

commit f0af97d
Author: David Perez Alvarez [email protected]
Date: Sun Apr 28 18:36:34 2019 -0400

test: add basic scroll test

commit 34fef3c
Author: David Perez Alvarez [email protected]
Date: Sun Apr 28 17:45:34 2019 -0400

test: basic browserstack test config
  • chore: remove yarn.lock

  • chore: new api

  • feat: add getElementPlacement

  • fix: proper handling of scroll to element "percent"

  • chore: use scrollSize as avaliable scroll instead of scrollSize

  • fix: scrolling in document element

  • perf: replace ScrollElement class with functions

  • refactor: remove unnecessary getters

  • refactor: change detection of external scroll

  • perf: not removing all scroll animations

  • fix: scrollSize getter

  • fix: make tests use new api

  • refactor: move "element" function logic to 'ScrollElement'

  • fix: remove browserstack scripts returning cyclic structures

  • test: improve centerElement test

  • refactor: improve api

  • docs(wip): update readme

  • refactor: rename elementRelativePosition => relativeElementPosition

  • docs: update readme

  • test: update test for elementPosition

  • test: use min capabilities test

  • fix: getDistToCenterElement not working

  • fix: update properly animation position after user scroll

  • fix: test capabilities

  • test: reduce precision

  • refactor: fix codeclimate issues

  • docs: add browserstack logo