@revivejs/react-highcharts 18.0.0 → 19.0.0

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.
Files changed (2) hide show
  1. package/README.md +9 -3
  2. package/package.json +12 -10
package/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @revivejs/react-highcharts
2
2
 
3
- > A maintained **React 18 wrapper for Highcharts** with a thin component API, imperative ref access, `stockChart` support, and versioned live demos.
3
+ > A maintained **React 19 wrapper for Highcharts** with a thin component API, imperative ref access, `stockChart` support, and versioned live demos.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@revivejs/react-highcharts.svg?style=flat-square)](https://www.npmjs.com/package/@revivejs/react-highcharts)
6
6
  [![npm downloads](https://img.shields.io/npm/dt/@revivejs/react-highcharts.svg?style=flat-square)](https://www.npmjs.com/package/@revivejs/react-highcharts)
7
7
  [![license](https://img.shields.io/npm/l/@revivejs/react-highcharts.svg?style=flat-square)](https://github.com/alexandroit/react-highcharts/blob/master/LICENSE)
8
- [![React 18](https://img.shields.io/badge/React-18-blue?style=flat-square&logo=react)](https://react.dev)
8
+ [![React 19](https://img.shields.io/badge/React-19-blue?style=flat-square&logo=react)](https://react.dev)
9
9
  [![Highcharts](https://img.shields.io/badge/Highcharts-12.5-navy?style=flat-square)](https://www.highcharts.com)
10
10
 
11
11
  **[Documentation & Live Demos](https://alexandroit.github.io/react-highcharts/)** | **[npm](https://www.npmjs.com/package/@revivejs/react-highcharts)** | **[Issues](https://github.com/alexandroit/react-highcharts/issues)** | **[Repository](https://github.com/alexandroit/react-highcharts)**
12
12
 
13
- **Latest version:** `18.0.0`
13
+ **Latest version:** `19.0.0`
14
14
 
15
15
  ## Why this library?
16
16
 
@@ -27,6 +27,7 @@ That makes it easy to keep React in charge of composition while still using the
27
27
 
28
28
  | Package version | React version | Highcharts version | Demo link |
29
29
  | :---: | :---: | :---: | :--- |
30
+ | **19.0.0** | **19.2.x** | **12.5.x** | [React 19 demo](https://alexandroit.github.io/react-highcharts/react-19/) |
30
31
  | **18.0.0** | **18.3.x** | **12.5.x** | [React 18 demo](https://alexandroit.github.io/react-highcharts/react-18/) |
31
32
  | **17.0.0** | **17.0.x** | **12.5.x** | [React 17 demo](https://alexandroit.github.io/react-highcharts/react-17/) |
32
33
 
@@ -137,6 +138,11 @@ export function ControlledChart() {
137
138
 
138
139
  ## Changelog
139
140
 
141
+ ### 19.0.0
142
+ - Updated the library line for React 19.2
143
+ - Added the `react-19` demo app and made it the latest docs line
144
+ - Kept the wrapper API aligned with the React 17 and 18 lines
145
+
140
146
  ### 18.0.0
141
147
  - Updated the library line for React 18.3
142
148
  - Added the `react-18` demo app and made it the latest docs line
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@revivejs/react-highcharts",
3
- "version": "18.0.0",
4
- "description": "A thin React 18 wrapper for Highcharts with versioned demos.",
3
+ "version": "19.0.0",
4
+ "description": "A thin React 19 wrapper for Highcharts with versioned demos.",
5
5
  "keywords": [
6
6
  "react",
7
7
  "react-library",
@@ -46,25 +46,27 @@
46
46
  "sideEffects": false,
47
47
  "scripts": {
48
48
  "build": "tsup",
49
- "clean": "rm -rf dist docs/react-17 docs/react-18",
49
+ "clean": "rm -rf dist docs/react-17 docs/react-18 docs/react-19",
50
50
  "docs:install:react-17": "cd docs-src/react-17 && npm install",
51
51
  "docs:install:react-18": "cd docs-src/react-18 && npm install",
52
+ "docs:install:react-19": "cd docs-src/react-19 && npm install",
52
53
  "build:docs:react-17": "cd docs-src/react-17 && npm run build",
53
54
  "build:docs:react-18": "cd docs-src/react-18 && npm run build",
54
- "build:docs": "npm run build:docs:react-18",
55
+ "build:docs:react-19": "cd docs-src/react-19 && npm run build",
56
+ "build:docs": "npm run build:docs:react-19",
55
57
  "typecheck": "tsc --noEmit"
56
58
  },
57
59
  "peerDependencies": {
58
60
  "highcharts": ">=12.5.0",
59
- "react": ">=17.0.0 <19.0.0",
60
- "react-dom": ">=17.0.0 <19.0.0"
61
+ "react": ">=17.0.0 <20.0.0",
62
+ "react-dom": ">=17.0.0 <20.0.0"
61
63
  },
62
64
  "devDependencies": {
63
- "@types/react": "18.3.28",
64
- "@types/react-dom": "18.3.7",
65
+ "@types/react": "19.2.14",
66
+ "@types/react-dom": "19.2.3",
65
67
  "highcharts": "12.5.0",
66
- "react": "18.3.1",
67
- "react-dom": "18.3.1",
68
+ "react": "19.2.4",
69
+ "react-dom": "19.2.4",
68
70
  "tsup": "8.5.1",
69
71
  "typescript": "5.9.3"
70
72
  }