Skip to content

Releases: creativewave/react-utils

v0.7.4

24 Aug 13:00

Choose a tag to compare

Bugfixes

  • fix(rollup.config) Use static regexp for external (f1396d6)
  • fix(rollup.config) Use UMD format with globals/external (06b2cdd)

v0.7.3

24 Aug 10:09

Choose a tag to compare

Bugfixes

  • fix(rollup.config) Set expected UMD output.name (b69e944)
  • fix(LICENCE) Update year (52f1782)
  • fix(package) Upgrade dependencies (9a5a19d)

v0.7.2

27 Apr 11:10

Choose a tag to compare

Bugfixes

  • fix(.circleci) Set correct working directory (c21552f)
  • fix(.eslintrc) Add Jest to env (4c02901)
  • fix(package) Set core-js as a dependency (54126cc)
  • fix(rollup.config) Switch to Rollup (77c4c32)
  • fix(package) Remove useless babel-jest (ffcd4bb)
  • fix(.npmignore) Remove useless .npmignore (68d0c8f)
  • fix(.eslintrc) Define unsupported APIs (5458a18)
  • fix(package) Switch to ESM context (b73e7b5)
  • fix(*) Fix coding style (546a45f)
  • fix(*) Use new ?? and ?. operators (a4f7988)
  • fix(components/svg-filters) Set opacity before compositing with source (c37d51d)
  • fix(package) Upgrade dependencies (0922361)

Documentation

  • doc(README) Rewording and fix typos (f1630fc)

v0.7.1

20 Dec 15:38

Choose a tag to compare

Bugfixes

  • fix(tests/hooks/useScrollIntoView) Don't run onExit on load / scroll below last target (89bc624)
  • fix(hooks/useScrollIntoView) Fix unit test after 89bc624 (7ceed1b)
  • fix(package) Move @cdoublev/animate to optionalDependencies (44764d1)

v0.7.0

20 Dec 07:40

Choose a tag to compare

Features

  • feat(hooks/useScrollIntoView) Add touchSensitivity configuration (1d9d1d4)
  • feat(hooks/useScrollIntoView) Document touchSensitivity configuration (746379e)

Bugfixes

  • fix(hooks/useScrollIntoView) Fix unit tests after 3e9dfd8 (ff06aec)
  • fix(hooks/useScrollIntoView) Set current target before scroll (multiple in view) (646dcb7)
  • fix(tests/hooks/useScrollIntoView) Read documentElement instead of body (3e9dfd8)

Documentation

  • doc(CONTRIBUTING) Add contribution guidelines/policy (53cb8e2)
  • doc(README) Rewording (57e6fed)
  • doc(hooks/useIntersectionObserver) Rewording and fix typos (7a62d53)
  • doc(hooks/useScrollIntoView) Rewording and fix typos (69668ba)
  • doc(tests/hooks/useScrollIntoView) Rewording (39c729d)

v0.6.4

14 Dec 18:55

Choose a tag to compare

Bugfixes

  • fix(tests/hooks/useScrollIntoView) Redefine specs for touch / wheel button scroll (8d06da4)
  • fix(hooks/useScrollIntoView) Fix unit tests after 8d06da4 (b91da67)

Documentation

  • doc(README) Add a list of supported scroll events (2a10544)

v0.6.3

13 Dec 06:40

Choose a tag to compare

Bugfixes

  • fix(hooks/useScrollIntoView) Use a decorator instead of inheritance (d56fbbf)
  • fix(tests/hooks/useIntersectionObserver) Fix unit tests after d56fbbf (6067727)
  • fix(tests/hooks/useIntersectionObserver) Fix minor typos (837efc8)
  • fix(tests/hooks/useIntersectionObserver) Fix unit tests after d56fbbf (58bb103)
  • fix(tests/hooks/useScrollIntoView) Add unit tests with finger or mouse btn down (1cfaec5)
  • fix(hooks/useScrollIntoView) Fix unit tests from 1cfaec5 (f46b818)
  • fix(package) Upgrade dependencies (140bcf4)

Documentation

  • doc(hooks/useIntersectionObserver) Add spec/types and cleaning (5af8c7b)

v0.6.2

11 Dec 15:43

Choose a tag to compare

Bugfixes

  • fix(tests/hooks/useScrollIntoView) Run fake timer on observe (2c0e21d)
  • fix(tests/hooks/useIntersectionObserver) Fix minor comments convention issues (e30da91)
  • fix(tests/hooks/useIntersectionObserver) Add unit test for observers cache (d33e448)
  • fix(hooks/useIntersectionObserver) Fix unit test from d33e448 (a0fa1e7)

v0.6.1

10 Dec 13:59

Choose a tag to compare

Bugfixes

  • fix(hooks/useScrollIntoView) Fix typo (4a98be3)
  • fix(lib/intersectionObserver) Fix coding style (4ed8781)

v0.6.0

10 Dec 13:37

Choose a tag to compare

Feature

Handle both scroll directions (untested feature introduced in v0.5.4, now tested in this release).

Bugfixes

  • fix(hooks/useScrollIntoView) Replace default directions y -> both (96013ae)
  • fix(tests/hooks/useScrollIntoView) Fix minor coding/comments convention issues (ab03fe7)
  • fix(tests/hooks/useScrollIntoView) Refactoring to be more readable (4ad6e92)
  • fix(tests/hooks/useScrollIntoView) Add unit tests (4afbe4b)
  • fix(tests/hooks/useScrollIntoView) Mock root.scrollHeight to fix unit tests from 4afbe4b (9e5fd07)
  • fix(lib/intersectionObserver) Handle scrollTop to fix unit tests from 4afbe4b (21f346c)
  • fix(lib/intersectionObserver) Correctly remove listener to fix unit tests from 4afbe4b (d8a9b47)
  • fix(hooks/useScrollIntoView) Fix unit tests from 4afbe4b (99c15a5)
  • fix(tests/hooks/useIntersectionObserver) Fix unit tests after 21f346c (a7cc8a1)
  • fix(hooks/useIntersectionObserver) Tmp fix for Firefox (04ce1fa)
  • fix(package) Upgrade dependencies (962eb98)

Documentation

  • doc(README) Fix CodePen url (f026fa7)
  • doc(README) Rewording (16a59ea)