@automattic/jetpack-components 1.1.8 → 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,14 @@
|
|
|
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
|
+
|
|
9
|
+
## [1.1.9] - 2025-07-03
|
|
10
|
+
### Changed
|
|
11
|
+
- Update package dependencies. [#44151]
|
|
12
|
+
|
|
5
13
|
## [1.1.8] - 2025-07-01
|
|
6
14
|
### Changed
|
|
7
15
|
- Internal updates.
|
|
@@ -1454,6 +1462,8 @@
|
|
|
1454
1462
|
### Changed
|
|
1455
1463
|
- Update node version requirement to 14.16.1
|
|
1456
1464
|
|
|
1465
|
+
[1.1.10]: https://github.com/Automattic/jetpack-components/compare/1.1.9...1.1.10
|
|
1466
|
+
[1.1.9]: https://github.com/Automattic/jetpack-components/compare/1.1.8...1.1.9
|
|
1457
1467
|
[1.1.8]: https://github.com/Automattic/jetpack-components/compare/1.1.7...1.1.8
|
|
1458
1468
|
[1.1.7]: https://github.com/Automattic/jetpack-components/compare/1.1.6...1.1.7
|
|
1459
1469
|
[1.1.6]: https://github.com/Automattic/jetpack-components/compare/1.1.5...1.1.6
|
|
@@ -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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Jetpack Components Package",
|
|
5
5
|
"author": "Automattic",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/format-currency": "1.0.1",
|
|
18
|
-
"@automattic/jetpack-api": "^1.0.
|
|
19
|
-
"@automattic/jetpack-boost-score-api": "^1.0.
|
|
18
|
+
"@automattic/jetpack-api": "^1.0.4",
|
|
19
|
+
"@automattic/jetpack-boost-score-api": "^1.0.5",
|
|
20
20
|
"@automattic/jetpack-script-data": "^0.4.4",
|
|
21
|
-
"@automattic/number-formatters": "^1.0.
|
|
21
|
+
"@automattic/number-formatters": "^1.0.7",
|
|
22
22
|
"@babel/runtime": "^7",
|
|
23
|
-
"@wordpress/browserslist-config": "6.
|
|
24
|
-
"@wordpress/components": "29.
|
|
25
|
-
"@wordpress/compose": "7.
|
|
26
|
-
"@wordpress/data": "10.
|
|
27
|
-
"@wordpress/date": "5.
|
|
28
|
-
"@wordpress/element": "6.
|
|
29
|
-
"@wordpress/i18n": "5.
|
|
30
|
-
"@wordpress/icons": "10.
|
|
31
|
-
"@wordpress/notices": "5.
|
|
23
|
+
"@wordpress/browserslist-config": "6.26.0",
|
|
24
|
+
"@wordpress/components": "29.12.0",
|
|
25
|
+
"@wordpress/compose": "7.26.0",
|
|
26
|
+
"@wordpress/data": "10.26.0",
|
|
27
|
+
"@wordpress/date": "5.26.0",
|
|
28
|
+
"@wordpress/element": "6.26.0",
|
|
29
|
+
"@wordpress/i18n": "5.26.0",
|
|
30
|
+
"@wordpress/icons": "10.26.0",
|
|
31
|
+
"@wordpress/notices": "5.26.0",
|
|
32
32
|
"clsx": "2.1.1",
|
|
33
33
|
"prop-types": "^15.7.2",
|
|
34
34
|
"qrcode.react": "4.2.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"uplot-react": "1.1.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@automattic/jetpack-base-styles": "^1.0.
|
|
42
|
-
"@babel/core": "7.27.
|
|
41
|
+
"@automattic/jetpack-base-styles": "^1.0.3",
|
|
42
|
+
"@babel/core": "7.27.7",
|
|
43
43
|
"@babel/preset-react": "7.27.1",
|
|
44
44
|
"@jest/globals": "30.0.0",
|
|
45
45
|
"@storybook/addon-actions": "8.6.7",
|