Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-slot-counter

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slot-counter - npm Package Versions

1345

2.2.2

Diff

almondbongbong
published 2.2.1 •

Changelog

Source

2.2.1

2023-12-11

Fixed

  • Adjusted text alignment for counters to ensure consistent and visually appealing presentation across different usage scenarios.
almondbongbong
published 2.2.0 •

Changelog

Source

2.2.0

2023-12-10

Added

  • Introduced animateOnVisible prop to trigger animations based on component visibility. This feature allows animations to start when the component is visible in the viewport, enhancing user engagement and interactivity. The animateOnVisible prop can be a boolean or an object with rootMargin and triggerOnce options for more precise control.
almondbongbong
published 2.1.1 •

Changelog

Source

2.1.1

2023-11-19

Fixed

  • Corrected an issue where number change animations in sequentialAnimationMode were not functioning properly.
almondbongbong
published 2.1.0 •

Changelog

Source

2.1.0

2023-11-11

Fixed

  • Resolved an issue where the startValueOnce prop was not functioning as expected.

Improvements

  • Enhanced the digit increase animation in sequentialAnimationMode for a smoother user experience.
almondbongbong
published 2.0.3 •

Changelog

Source

2.0.3

2023-11-05

Fixed

  • Resolved autoAnimationStart not working when startValue is set.
  • Ensured startValue: 0 is properly recognized and handled.
  • Refined the calculation logic for number interpolation in sequential mode.
almondbongbong
published 2.0.2 •

Changelog

Source

2.0.2

2023-10-31

Fixed

  • Fixed the issue with measuring monospace width when using valueClassName.
almondbongbong
published 2.0.1 •

Changelog

Source

2.0.1

2023-10-29

Fixed

  • Improved the unstable behavior of the useMonospaceWidth prop. Enhanced the width calculation logic and fixed issues related to web font download timing.
  • Fixed an issue where the combination of sequentialAnimationMode: true and autoAnimationStart: false was not working as expected.
  • Modified the initial animation behavior in sequentialAnimationMode.
almondbongbong
published 2.0.0 •

Changelog

Source

2.0.0

2023-10-22

Fixed

  • Fix autoAnimationStart not working when using startValue.
  • Define behavior and fix multiple bugs for autoAnimationStart, startValue, and sequentialAnimationMode.
almondbongbong
published 1.15.0 •

Changelog

Source

1.15.0

2023-10-05

Added

  • Improved the animation in sequentialAnimationMode.

Fixed

  • Fixed a bug where numbers were duplicated in sequentialAnimationMode.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc