@number-flow/react 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,15 +1,13 @@
1
1
  [![NumberFlow for React](https://number-flow.barvian.me/preview.webp)](https://number-flow.barvian.me)
2
2
 
3
- # Number Flow for React
3
+ # NumberFlow for React
4
4
 
5
- A React component to transition & format numbers.
5
+ An animated number component.
6
6
 
7
7
  [![NPM Version](https://img.shields.io/npm/v/@number-flow/react.svg)](https://npmjs.com/package/@number-flow/react)
8
8
  [![Bundle size](https://badgen.net/bundlephobia/minzip/@number-flow/react@latest)](https://bundlephobia.com/package/@number-flow/react@latest)
9
9
  [![Follow @mbarvian](https://img.shields.io/twitter/follow/mbarvian.svg?style=social&label=Follow)](https://x.com/mbarvian)
10
10
 
11
- ---
12
-
13
11
  ## Documentation
14
12
 
15
13
  For full documentation, visit [number-flow.barvian.me](https://number-flow.barvian.me).
package/dist/index.js CHANGED
@@ -136,6 +136,7 @@ var NumberFlowImpl = class extends React.Component {
136
136
  data,
137
137
  willChange,
138
138
  isolate,
139
+ group,
139
140
  digits,
140
141
  onAnimationsStart,
141
142
  onAnimationsFinish,
package/dist/index.mjs CHANGED
@@ -107,6 +107,7 @@ var NumberFlowImpl = class extends React.Component {
107
107
  data,
108
108
  willChange,
109
109
  isolate,
110
+ group,
110
111
  digits,
111
112
  onAnimationsStart,
112
113
  onAnimationsFinish,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.4.1",
6
+ "version": "0.4.3",
7
7
  "author": {
8
8
  "name": "Maxwell Barvian",
9
9
  "email": "max@barvian.me",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "esm-env": "^1.1.4",
52
- "number-flow": "0.4.0"
52
+ "number-flow": "0.4.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@playwright/test": "^1.48.0",
@@ -61,8 +61,8 @@
61
61
  "tsup": "^8.2.4"
62
62
  },
63
63
  "peerDependencies": {
64
- "react": "^18 || ^19.0.0-rc-915b914b3a-20240515",
65
- "react-dom": "^18"
64
+ "react": "^18 || ^19",
65
+ "react-dom": "^18 || ^19"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsup --tsconfig tsconfig.build.json",