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

react-slot-counter

Package Overview
Dependencies
Maintainers
0
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

2345

3.0.1

Diff

Changelog

Source

3.0.1

2024-07-20

Fixed

  • Fixed an issue where the delay was incorrectly calculated by not excluding separator characters. #55
  • Fixed an issue where the ResizeObserver would enter an infinite loop when browser zoom was applied. #56
almondbongbong
published 3.0.0 •

Changelog

Source

3.0.0

2024-06-27

Added

  • New Prop: speed: Adjust animation speed more intuitively with the new speed prop.
  • New Prop: delay: Each column's animation start can now be delayed using the delay prop.
almondbongbong
published 3.0.0-rc.0 •

almondbongbong
published 2.3.3 •

Changelog

Source

2.3.3

2024-05-26

Added

  • Enhanced the logic for checking separators in the SlotCounter component. The separator check now includes NBSP and additional whitespace characters, ensuring a more comprehensive and accurate check.
almondbongbong
published 2.3.2 •

Changelog

Source

2.3.2

2024-05-17

Fixed

  • Fixed a bug in sequentialAnimationMode where the first digit was being displayed as a blank space when the number of digits increased and the number decreased. This fix ensures that the correct number is displayed in all situations.
almondbongbong
published 2.3.1 •

Changelog

Source

2.3.1

2024-04-27

Fixed

  • Fixed an issue where the font width was incorrectly calculated when using useMonospaceWidth.
almondbongbong
published 2.3.0 •

Changelog

Source

2.3.0

2024-04-26

Added

  • Introduced numberSlotClassName and numberClassName props for more customization options. These props allow you to set the class name for the number slot and the number, respectively, enabling you to customize their styling.
  • Implemented the ResizeObserver API to detect changes in font size. This enhancement provides a better experience in responsive services by ensuring that the counter adapts to changes in font size.
almondbongbong
published 2.2.5 •

Changelog

Source

2.2.5

2024-01-09

Fixed

  • Fixed an error caused by inaccurate font height calculation.
almondbongbong
published 2.2.4 •

Changelog

Source

2.2.4

2024-01-05

Fixed

  • Refined font height calculation logic for more accurate and visually pleasing displays.
almondbongbong
published 2.2.3 •

Changelog

Source

2.2.3

2023-12-25

Fixed

  • Fixed a bug in sequentialAnimationMode for handling decimal numbers. In this update, I addressed an issue where decimal numbers were not processed correctly 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