@automattic/jetpack-components 0.70.0 → 0.70.1
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
|
+
## [0.70.1] - 2025-03-24
|
|
6
|
+
### Fixed
|
|
7
|
+
- Fixes admin panel header component layout [#42614]
|
|
8
|
+
|
|
5
9
|
## [0.70.0] - 2025-03-24
|
|
6
10
|
### Changed
|
|
7
11
|
- Update component that renders the terms of service to have a text-only version. [#42600]
|
|
@@ -1322,6 +1326,7 @@
|
|
|
1322
1326
|
### Changed
|
|
1323
1327
|
- Update node version requirement to 14.16.1
|
|
1324
1328
|
|
|
1329
|
+
[0.70.1]: https://github.com/Automattic/jetpack-components/compare/0.70.0...0.70.1
|
|
1325
1330
|
[0.70.0]: https://github.com/Automattic/jetpack-components/compare/0.69.1...0.70.0
|
|
1326
1331
|
[0.69.1]: https://github.com/Automattic/jetpack-components/compare/0.69.0...0.69.1
|
|
1327
1332
|
[0.69.0]: https://github.com/Automattic/jetpack-components/compare/0.68.2...0.69.0
|
|
@@ -37,7 +37,7 @@ const AdminPage = ({ children, moduleName = __('Jetpack', 'jetpack-components'),
|
|
|
37
37
|
__('There was an error testing Jetpack. Error: %s', 'jetpack-components'), error.message));
|
|
38
38
|
}
|
|
39
39
|
}, []);
|
|
40
|
-
return (_jsxs("div", { className: rootClassName, children: [showHeader && (_jsx(Container, { horizontalSpacing: 5, children: _jsxs(Col, { className: styles['admin-page-header'], children: [header ? header : _jsx(JetpackLogo, {}), sandboxedDomain && (_jsx("code", { className: styles['sandbox-domain-badge'], onClick: testConnection, onKeyDown: testConnection,
|
|
40
|
+
return (_jsxs("div", { className: rootClassName, children: [showHeader && (_jsx(Container, { horizontalSpacing: 5, children: _jsxs(Col, { className: clsx(styles['admin-page-header'], 'jp-admin-page-header'), children: [header ? header : _jsx(JetpackLogo, {}), sandboxedDomain && (_jsx("code", { className: styles['sandbox-domain-badge'], onClick: testConnection, onKeyDown: testConnection,
|
|
41
41
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role
|
|
42
42
|
role: "button", tabIndex: 0, title: `Sandboxing via ${sandboxedDomain}. Click to test connection.`, children: "API Sandboxed" }))] }) })), _jsx(Container, { fluid: true, horizontalSpacing: 0, children: _jsx(Col, { children: children }) }), showFooter && (_jsx(Container, { horizontalSpacing: 5, children: _jsx(Col, { children: _jsx(JetpackFooter, { moduleName: moduleName, moduleNameHref: moduleNameHref, menu: optionalMenuItems, useInternalLinks: useInternalLinks }) }) }))] }));
|
|
43
43
|
};
|
|
@@ -63,7 +63,7 @@ const AdminPage: React.FC< AdminPageProps > = ( {
|
|
|
63
63
|
<div className={ rootClassName }>
|
|
64
64
|
{ showHeader && (
|
|
65
65
|
<Container horizontalSpacing={ 5 }>
|
|
66
|
-
<Col className={ styles[ 'admin-page-header' ] }>
|
|
66
|
+
<Col className={ clsx( styles[ 'admin-page-header' ], 'jp-admin-page-header' ) }>
|
|
67
67
|
{ header ? header : <JetpackLogo /> }
|
|
68
68
|
{ sandboxedDomain && (
|
|
69
69
|
<code
|