Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.19 KB

CHANGELOG.md

File metadata and controls

41 lines (23 loc) · 1.19 KB

Changelog

3.1.0

Add the "use client" directive for RSC.

3.0.1

The MIT license file added.

3.0.0

New component public API, more precise animation configuration.

Breaking Changes

  • The config property is replaced with a set of props: scrollbar, navigation, align, onItemClick.

New Features

  • The duration prop specifies animation duration when changing the position.
  • At the first render, position and duration props describe start animation settings.
  • At the next renders, position and duration describe the scrollTo settings.

2.0.0

Dependency refresh, upgraded Scroller use, performance and style improvements.

Breaking Changes

  • Migrated to ES Module.
  • Updated public API for the component config. For more info check out the migration guide in Scroller repo.

New Features

  • Added position property to change Scroller's current position via props.
  • Added typings for the component.

1.2.12

Updated npm package contents. Fixed script resolution.