@automattic/jetpack-shared-extension-utils 0.10.9 → 0.11.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.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.11.0] - 2023-08-07
|
|
9
|
+
### Added
|
|
10
|
+
- Add shared block editor logo component. [#32257]
|
|
11
|
+
|
|
8
12
|
## [0.10.9] - 2023-07-17
|
|
9
13
|
### Changed
|
|
10
14
|
- Updated package dependencies. [#31872]
|
|
@@ -221,6 +225,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
221
225
|
### Changed
|
|
222
226
|
- Core: prepare utility for release
|
|
223
227
|
|
|
228
|
+
[0.11.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.9...0.11.0
|
|
224
229
|
[0.10.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.8...0.10.9
|
|
225
230
|
[0.10.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.7...0.10.8
|
|
226
231
|
[0.10.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.10.6...0.10.7
|
package/index.js
CHANGED
|
@@ -16,3 +16,4 @@ export {
|
|
|
16
16
|
export { default as isCurrentUserConnected } from './src/is-current-user-connected';
|
|
17
17
|
export { default as useAnalytics } from './src/hooks/use-analytics';
|
|
18
18
|
export { default as useModuleStatus } from './src/hooks/use-module-status';
|
|
19
|
+
export { default as JetpackEditorPanelLogo } from './src/components/jetpack-editor-panel-logo';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Utility functions used by the block editor extensions",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@automattic/jetpack-analytics": "workspace:*",
|
|
21
|
+
"@automattic/jetpack-components": "^0.41.0",
|
|
21
22
|
"@automattic/jetpack-connection": "workspace:*",
|
|
22
23
|
"@wordpress/api-fetch": "6.34.0",
|
|
23
24
|
"@wordpress/compose": "6.14.0",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { JetpackLogo } from '@automattic/jetpack-components';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import './style.scss';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The Jetpack logo used for block editor panels
|
|
8
|
+
*
|
|
9
|
+
* @returns {React.Component} Jetpack logo component
|
|
10
|
+
*/
|
|
11
|
+
const JetpackEditorPanelLogo = () => (
|
|
12
|
+
<JetpackLogo
|
|
13
|
+
className="jetpack-editor-panel-logo"
|
|
14
|
+
height={ 16 }
|
|
15
|
+
logoColor="#1E1E1E"
|
|
16
|
+
showText={ false }
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export default JetpackEditorPanelLogo;
|