@revivejs/react-highcharts 17.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 +15 -3
  2. package/package.json +14 -10
package/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @revivejs/react-highcharts
2
2
 
3
- > A maintained **React 17 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 17](https://img.shields.io/badge/React-17-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:** `17.0.0`
13
+ **Latest version:** `19.0.0`
14
14
 
15
15
  ## Why this library?
16
16
 
@@ -27,6 +27,8 @@ 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/) |
31
+ | **18.0.0** | **18.3.x** | **12.5.x** | [React 18 demo](https://alexandroit.github.io/react-highcharts/react-18/) |
30
32
  | **17.0.0** | **17.0.x** | **12.5.x** | [React 17 demo](https://alexandroit.github.io/react-highcharts/react-17/) |
31
33
 
32
34
  ## Installation
@@ -136,6 +138,16 @@ export function ControlledChart() {
136
138
 
137
139
  ## Changelog
138
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
+
146
+ ### 18.0.0
147
+ - Updated the library line for React 18.3
148
+ - Added the `react-18` demo app and made it the latest docs line
149
+ - Switched the demo bootstrap to `createRoot`
150
+
139
151
  ### 17.0.0
140
152
  - Initial React wrapper line
141
153
  - Added the first versioned docs app for React 17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@revivejs/react-highcharts",
3
- "version": "17.0.0",
4
- "description": "A thin React 17 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,23 +46,27 @@
46
46
  "sideEffects": false,
47
47
  "scripts": {
48
48
  "build": "tsup",
49
- "clean": "rm -rf dist docs/react-17",
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
+ "docs:install:react-18": "cd docs-src/react-18 && npm install",
52
+ "docs:install:react-19": "cd docs-src/react-19 && npm install",
51
53
  "build:docs:react-17": "cd docs-src/react-17 && npm run build",
52
- "build:docs": "npm run build:docs:react-17",
54
+ "build:docs:react-18": "cd docs-src/react-18 && npm run build",
55
+ "build:docs:react-19": "cd docs-src/react-19 && npm run build",
56
+ "build:docs": "npm run build:docs:react-19",
53
57
  "typecheck": "tsc --noEmit"
54
58
  },
55
59
  "peerDependencies": {
56
60
  "highcharts": ">=12.5.0",
57
- "react": ">=17.0.0 <18.0.0",
58
- "react-dom": ">=17.0.0 <18.0.0"
61
+ "react": ">=17.0.0 <20.0.0",
62
+ "react-dom": ">=17.0.0 <20.0.0"
59
63
  },
60
64
  "devDependencies": {
61
- "@types/react": "17.0.91",
62
- "@types/react-dom": "17.0.26",
65
+ "@types/react": "19.2.14",
66
+ "@types/react-dom": "19.2.3",
63
67
  "highcharts": "12.5.0",
64
- "react": "17.0.2",
65
- "react-dom": "17.0.2",
68
+ "react": "19.2.4",
69
+ "react-dom": "19.2.4",
66
70
  "tsup": "8.5.1",
67
71
  "typescript": "5.9.3"
68
72
  }