@automattic/jetpack-shared-extension-utils 0.15.0 → 0.15.2
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,14 @@ 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.15.2] - 2024-08-13
|
|
9
|
+
### Changed
|
|
10
|
+
- Update dependencies. [#37356]
|
|
11
|
+
|
|
12
|
+
## [0.15.1] - 2024-07-30
|
|
13
|
+
### Changed
|
|
14
|
+
- React: Changing global JSX namespace to React.JSX [#38585]
|
|
15
|
+
|
|
8
16
|
## [0.15.0] - 2024-07-26
|
|
9
17
|
### Added
|
|
10
18
|
- Shared Extension Utils: add isMyJetpackAvailable export [#38529]
|
|
@@ -416,6 +424,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
416
424
|
### Changed
|
|
417
425
|
- Core: prepare utility for release
|
|
418
426
|
|
|
427
|
+
[0.15.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.1...0.15.2
|
|
428
|
+
[0.15.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.0...0.15.1
|
|
419
429
|
[0.15.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.14.20...0.15.0
|
|
420
430
|
[0.14.20]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.14.19...0.14.20
|
|
421
431
|
[0.14.19]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.14.18...0.14.19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
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,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@automattic/jetpack-analytics": "^0.1.29",
|
|
21
|
-
"@automattic/jetpack-components": "^0.55.
|
|
22
|
-
"@automattic/jetpack-connection": "^0.
|
|
21
|
+
"@automattic/jetpack-components": "^0.55.6",
|
|
22
|
+
"@automattic/jetpack-connection": "^0.35.0",
|
|
23
23
|
"@wordpress/api-fetch": "7.2.0",
|
|
24
24
|
"@wordpress/compose": "7.2.0",
|
|
25
25
|
"@wordpress/data": "10.2.0",
|
|
@@ -10,7 +10,7 @@ import getIconColor from './get-icon-color';
|
|
|
10
10
|
* dynamically set the icon color later on.
|
|
11
11
|
*
|
|
12
12
|
* @param {object} metadata - Block.json content
|
|
13
|
-
* @returns {JSX.Element|string} Icon component
|
|
13
|
+
* @returns {React.JSX.Element|string} Icon component
|
|
14
14
|
*/
|
|
15
15
|
export function getBlockIconComponent( metadata ) {
|
|
16
16
|
// If the SVG has been passed as a string, use SvgXml to correctly parse it.
|