Skip to content

Commit

Permalink
🔖 Update 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
almond-bongbong committed Apr 26, 2024
1 parent c1790f3 commit d419da5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,31 @@

All notable changes to this project will be documented in this file.

## [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.

## [2.2.5] - 2024-01-09

### Fixed

- Fixed an error caused by inaccurate font height calculation.


## [2.2.4] - 2024-01-05

### Fixed

- Refined font height calculation logic for more accurate and visually pleasing displays.


## [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`.


## [2.2.1] - 2023-12-11

### Fixed
Expand All @@ -32,7 +36,7 @@ All notable changes to this project will be documented in this file.
## [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.

## [2.1.1] - 2023-11-19
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React Slot Counter 🎰 - Make Your UI Count! ✨

> 🚀 Elevate Your UI with Dynamic, Eye-Catching Counters - React Slot Counter v2.0.0
> 🚀 Elevate Your UI with Dynamic, Eye-Catching Counters - React Slot Counter
Make Your Numbers Pop 🌟: Simple and Dynamic Counters for Your UI

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-slot-counter",
"version": "2.2.5",
"version": "2.3.0",
"description": "Make Your Numbers Pop: Simple and Dynamic Counters for Your UI",
"author": "almond-bongbong",
"license": "MIT",
Expand Down

0 comments on commit d419da5

Please sign in to comment.