@automattic/jetpack-components 0.56.2 → 0.56.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/CHANGELOG.md +6 -0
- package/components/jetpack-footer/index.tsx +10 -13
- package/package.json +16 -16
- package/tools/jp-redirect/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [0.56.3] - 2024-10-10
|
|
6
|
+
### Changed
|
|
7
|
+
- Components - getRedirectUrl: use file extension on import for linter to find definitions
|
|
8
|
+
- Updated package dependencies.
|
|
9
|
+
|
|
5
10
|
## [0.56.2] - 2024-10-07
|
|
6
11
|
### Changed
|
|
7
12
|
- Updated package dependencies. [#39594]
|
|
@@ -1180,6 +1185,7 @@
|
|
|
1180
1185
|
### Changed
|
|
1181
1186
|
- Update node version requirement to 14.16.1
|
|
1182
1187
|
|
|
1188
|
+
[0.56.3]: https://github.com/Automattic/jetpack-components/compare/0.56.2...0.56.3
|
|
1183
1189
|
[0.56.2]: https://github.com/Automattic/jetpack-components/compare/0.56.1...0.56.2
|
|
1184
1190
|
[0.56.1]: https://github.com/Automattic/jetpack-components/compare/0.56.0...0.56.1
|
|
1185
1191
|
[0.56.0]: https://github.com/Automattic/jetpack-components/compare/0.55.17...0.56.0
|
|
@@ -48,20 +48,17 @@ const JetpackFooter: React.FC< JetpackFooterProps > = ( {
|
|
|
48
48
|
const [ isMd ] = useBreakpointMatch( 'md', '<=' );
|
|
49
49
|
const [ isLg ] = useBreakpointMatch( 'lg', '>' );
|
|
50
50
|
|
|
51
|
-
const { isActive, connectedPlugins } = useSelect(
|
|
52
|
-
select
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
};
|
|
51
|
+
const { isActive, connectedPlugins } = useSelect( select => {
|
|
52
|
+
const connectionStatus = select( CONNECTION_STORE_ID ) as {
|
|
53
|
+
getConnectedPlugins: () => { slug: string }[];
|
|
54
|
+
getConnectionStatus: () => { isActive: boolean };
|
|
55
|
+
};
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
[ CONNECTION_STORE_ID ]
|
|
64
|
-
);
|
|
57
|
+
return {
|
|
58
|
+
connectedPlugins: connectionStatus?.getConnectedPlugins(),
|
|
59
|
+
...connectionStatus.getConnectionStatus(),
|
|
60
|
+
};
|
|
61
|
+
}, [] );
|
|
65
62
|
const siteAdminUrl = getSiteAdminUrl();
|
|
66
63
|
const areAdminLinksEnabled =
|
|
67
64
|
siteAdminUrl &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-components",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.3",
|
|
4
4
|
"description": "Jetpack Components Package",
|
|
5
5
|
"author": "Automattic",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/format-currency": "1.0.1",
|
|
18
|
-
"@automattic/jetpack-boost-score-api": "^0.1.
|
|
18
|
+
"@automattic/jetpack-boost-score-api": "^0.1.42",
|
|
19
19
|
"@babel/runtime": "^7",
|
|
20
|
-
"@wordpress/browserslist-config": "6.
|
|
21
|
-
"@wordpress/components": "28.
|
|
22
|
-
"@wordpress/compose": "7.
|
|
23
|
-
"@wordpress/data": "10.
|
|
24
|
-
"@wordpress/date": "5.
|
|
25
|
-
"@wordpress/element": "6.
|
|
26
|
-
"@wordpress/i18n": "5.
|
|
27
|
-
"@wordpress/icons": "10.
|
|
28
|
-
"@wordpress/notices": "5.
|
|
20
|
+
"@wordpress/browserslist-config": "6.9.0",
|
|
21
|
+
"@wordpress/components": "28.9.0",
|
|
22
|
+
"@wordpress/compose": "7.9.0",
|
|
23
|
+
"@wordpress/data": "10.9.0",
|
|
24
|
+
"@wordpress/date": "5.9.0",
|
|
25
|
+
"@wordpress/element": "6.9.0",
|
|
26
|
+
"@wordpress/i18n": "5.9.0",
|
|
27
|
+
"@wordpress/icons": "10.9.0",
|
|
28
|
+
"@wordpress/notices": "5.9.0",
|
|
29
29
|
"clsx": "2.1.1",
|
|
30
30
|
"prop-types": "^15.7.2",
|
|
31
31
|
"qrcode.react": "3.1.0",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"uplot-react": "1.1.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@automattic/jetpack-base-styles": "^0.6.
|
|
38
|
+
"@automattic/jetpack-base-styles": "^0.6.34",
|
|
39
39
|
"@babel/core": "7.24.7",
|
|
40
40
|
"@babel/preset-react": "7.24.7",
|
|
41
41
|
"@jest/globals": "29.4.3",
|
|
42
|
-
"@storybook/addon-actions": "8.
|
|
43
|
-
"@storybook/blocks": "8.
|
|
44
|
-
"@storybook/react": "8.
|
|
42
|
+
"@storybook/addon-actions": "8.3.5",
|
|
43
|
+
"@storybook/blocks": "8.3.5",
|
|
44
|
+
"@storybook/react": "8.3.5",
|
|
45
45
|
"@testing-library/dom": "10.4.0",
|
|
46
46
|
"@testing-library/react": "16.0.1",
|
|
47
47
|
"@testing-library/user-event": "14.5.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-dom": "18.3.1",
|
|
57
57
|
"require-from-string": "2.0.2",
|
|
58
58
|
"resize-observer-polyfill": "1.5.1",
|
|
59
|
-
"storybook": "8.
|
|
59
|
+
"storybook": "8.3.5",
|
|
60
60
|
"ts-dedent": "2.2.0",
|
|
61
61
|
"typescript": "5.0.4",
|
|
62
62
|
"webpack": "5.94.0",
|