Skip to content

Releases: SMAKSS/react-scroll-direction

v4.2.0-beta.2

27 Jul 13:24
921b408
Compare
Choose a tag to compare

v4.2.0-beta.1

27 Jul 12:49
7e839a5
Compare
Choose a tag to compare

v4.2.0-beta.0

27 Jul 11:31
a08c78e
Compare
Choose a tag to compare

What's Changed

  • feat: add the ability to specify a scrollable target element for tracking scroll direction by @CXBoyy in #311

New Contributors

Full Changelog: v4.1.0...v4.2.0-beta.0

🚀 Release Notes for v4.2.0

27 Jul 13:42
615c33f
Compare
Choose a tag to compare

What's Changed

  • feat: add the ability to specify a scrollable target element for tracking scroll direction by @CXBoyy in #311
  • [Release] Allow specifying a custom scrollable element by @SMAKSS in #312

New Contributors


🆕 New Features

  • Target Elements for useDetectScroll Hook: Added a new feature to allow specifying target elements for the useDetectScroll hook. This enhancement enables end users to apply this hook to containers other than window. 🆕🎯

🔄 Changes

  • ESLint Upgrade: Upgraded all dependencies, including upgrading ESLint to version 9.x.x, which necessitated changes to the ESLint settings for the project. This includes:

    • Migrating from .eslintrc.json to eslint.config.js.
    • Updating lint scripts to be compatible with the new configuration format.
    • Using the ignores property in eslint.config.js to replace .eslintignore. 🔄
  • Code Organization: Organized exports by creating specific files for types and the main code, and only exporting necessary functionalities from index.ts. This improves the structure and maintainability of the codebase. 📁📦

🙏 Acknowledgments

Special thanks to our contributors:

Your contributions are greatly appreciated! 🎉👏


Full Changelog: v4.1.0...v4.2.0

Release Notes for @smakss/react-scroll-direction v4.1.0

05 Apr 19:14
3f57b75
Compare
Choose a tag to compare

We are excited to announce the release of @smakss/react-scroll-direction version 4.1.0. This version brings several improvements and bug fixes that enhance the functionality and usability of our React scroll direction detection hook.

What's New

  • Improvements:

    • Enhanced the scroll position detection accuracy, especially near page boundaries.
    • Updated documentation with more examples and use cases to help developers integrate the hook into their projects more easily.
  • Bug Fixes:

    • Fixed an issue where the scroll direction incorrectly reported as "down" when scrolling the page.

Acknowledgments

A big thank you to @astralarya, @KubaZachacz and the community for their continuous support and feedback, which have been invaluable in making this release possible.

What's Changed

Full Changelog: v4.0.4...v4.1.0

v4.0.4-beta.0

13 Feb 07:07
Compare
Choose a tag to compare

Upgrade dependencies to their latest stable version

13 Feb 07:31
Compare
Choose a tag to compare
v4.0.4

chore(version): upgrade to stable version 4.0.4

Include types path in package.json

31 Dec 21:08
6d9c7ff
Compare
Choose a tag to compare
v4.0.3

chore(core): add types path

Include source map

31 Dec 21:01
db98d87
Compare
Choose a tag to compare
v4.0.2

chore(core): include sourcemap into distribution

Fix package config and distribution

31 Dec 20:49
efb3991
Compare
Choose a tag to compare
v4.0.1

chore(core): fix package rollup config and distribution