@automattic/jetpack-shared-extension-utils 1.4.0 → 1.4.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
+ ## [1.4.2] - 2025-12-15
9
+ ### Fixed
10
+ - Fix `className` being treated as required by TypeScript for `JetpackLogo`. [#46265]
11
+
12
+ ## [1.4.1] - 2025-12-11
13
+ ### Changed
14
+ - Update package dependencies. [#46244]
15
+
8
16
  ## [1.4.0] - 2025-12-08
9
17
  ### Added
10
18
  - Jetpack Logo: Add support for customized title in shared component. [#46162]
@@ -819,6 +827,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
819
827
  ### Changed
820
828
  - Core: prepare utility for release
821
829
 
830
+ [1.4.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.4.1...1.4.2
831
+ [1.4.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.4.0...1.4.1
822
832
  [1.4.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.28...1.4.0
823
833
  [1.3.28]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.27...1.3.28
824
834
  [1.3.27]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.26...1.3.27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "1.4.0",
3
+ "version": "1.4.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": {
@@ -30,10 +30,10 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@automattic/color-studio": "4.1.0",
33
- "@automattic/jetpack-analytics": "^1.0.5",
33
+ "@automattic/jetpack-analytics": "^1.0.6",
34
34
  "@automattic/jetpack-base-styles": "^1.0.12",
35
- "@automattic/jetpack-components": "^1.4.0",
36
- "@automattic/jetpack-connection": "^1.4.21",
35
+ "@automattic/jetpack-components": "^1.4.2",
36
+ "@automattic/jetpack-connection": "^1.4.23",
37
37
  "@automattic/jetpack-script-data": "^0.5.4",
38
38
  "@types/jest": "30.0.0",
39
39
  "@wordpress/api-fetch": "7.36.0",
@@ -49,7 +49,7 @@
49
49
  "@wordpress/primitives": "4.36.0",
50
50
  "@wordpress/url": "4.36.0",
51
51
  "clsx": "2.1.1",
52
- "debug": "4.4.1"
52
+ "debug": "4.4.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@automattic/jetpack-webpack-config": "workspace:*",
package/src/icons.js CHANGED
@@ -241,7 +241,7 @@ export const GooglePhotosLogo = () => {
241
241
  );
242
242
  };
243
243
 
244
- export const JetpackLogo = ( { size = 24, border = 0, className, color = COLOR_JETPACK } ) => {
244
+ export const JetpackLogo = ( { size = 24, border = 0, className = '', color = COLOR_JETPACK } ) => {
245
245
  const borderOffset = border ? ( -border / size ) * 32 : 0;
246
246
 
247
247
  return (