@automattic/jetpack-components 1.1.9 → 1.1.10
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [1.1.10] - 2025-07-07
|
|
6
|
+
### Changed
|
|
7
|
+
- Internal updates.
|
|
8
|
+
|
|
5
9
|
## [1.1.9] - 2025-07-03
|
|
6
10
|
### Changed
|
|
7
11
|
- Update package dependencies. [#44151]
|
|
@@ -1458,6 +1462,7 @@
|
|
|
1458
1462
|
### Changed
|
|
1459
1463
|
- Update node version requirement to 14.16.1
|
|
1460
1464
|
|
|
1465
|
+
[1.1.10]: https://github.com/Automattic/jetpack-components/compare/1.1.9...1.1.10
|
|
1461
1466
|
[1.1.9]: https://github.com/Automattic/jetpack-components/compare/1.1.8...1.1.9
|
|
1462
1467
|
[1.1.8]: https://github.com/Automattic/jetpack-components/compare/1.1.7...1.1.8
|
|
1463
1468
|
[1.1.7]: https://github.com/Automattic/jetpack-components/compare/1.1.6...1.1.7
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createRoot } from 'react-dom/client';
|
|
2
2
|
import { Tooltip } from "./tooltip.js";
|
|
3
3
|
/**
|
|
4
4
|
* Custom tooltips plugin for uPlot.
|
|
@@ -18,7 +18,7 @@ export function tooltipsPlugin(periods) {
|
|
|
18
18
|
function init(u) {
|
|
19
19
|
container.classList.add('jb-score-tooltips-container');
|
|
20
20
|
if (!reactDom) {
|
|
21
|
-
reactDom =
|
|
21
|
+
reactDom = createRoot(reactRoot);
|
|
22
22
|
}
|
|
23
23
|
reactRoot.classList.add('jb-score-tooltip-react-root');
|
|
24
24
|
container.appendChild(reactRoot);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createRoot } from 'react-dom/client';
|
|
2
2
|
import uPlot from 'uplot';
|
|
3
3
|
import { Period } from './index.tsx';
|
|
4
4
|
import { Tooltip } from './tooltip.tsx';
|
|
@@ -22,7 +22,7 @@ export function tooltipsPlugin( periods: Period[] ) {
|
|
|
22
22
|
function init( u: uPlot ) {
|
|
23
23
|
container.classList.add( 'jb-score-tooltips-container' );
|
|
24
24
|
if ( ! reactDom ) {
|
|
25
|
-
reactDom =
|
|
25
|
+
reactDom = createRoot( reactRoot );
|
|
26
26
|
}
|
|
27
27
|
reactRoot.classList.add( 'jb-score-tooltip-react-root' );
|
|
28
28
|
|