@automattic/jetpack-shared-extension-utils 2.0.12 → 2.0.14

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,15 @@ 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
+ ## [2.0.14] - 2026-08-11
9
+ ### Fixed
10
+ - Upgrade nudge: stop emitting an `undefined__description` class when no class name is passed to the component. [#50873]
11
+
12
+ ## [2.0.13] - 2026-08-10
13
+ ### Changed
14
+ - Add skipPhotonDomain to the typed Jetpack script data flags. [#50426]
15
+ - Update package dependencies. [#50509]
16
+
8
17
  ## [2.0.12] - 2026-08-03
9
18
  ### Changed
10
19
  - Update dependencies. [#50824]
@@ -1027,6 +1036,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1027
1036
  ### Changed
1028
1037
  - Core: prepare utility for release
1029
1038
 
1039
+ [2.0.14]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.13...2.0.14
1040
+ [2.0.13]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.12...2.0.13
1030
1041
  [2.0.12]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.11...2.0.12
1031
1042
  [2.0.11]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.10...2.0.11
1032
1043
  [2.0.10]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.9...2.0.10
package/declarations.d.ts CHANGED
@@ -9,6 +9,7 @@ declare module '@automattic/jetpack-script-data' {
9
9
  jetpack?: {
10
10
  flags: {
11
11
  showJetpackBranding: boolean;
12
+ skipPhotonDomain: boolean;
12
13
  };
13
14
  };
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
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
  "@automattic/color-studio": "4.1.0",
31
31
  "@automattic/jetpack-analytics": "^1.0.15",
32
32
  "@automattic/jetpack-base-styles": "^1.2.10",
33
- "@automattic/jetpack-components": "^2.1.0",
34
- "@automattic/jetpack-connection": "^2.2.2",
33
+ "@automattic/jetpack-components": "^2.1.1",
34
+ "@automattic/jetpack-connection": "^2.2.3",
35
35
  "@automattic/jetpack-script-data": "^0.6.6",
36
- "@automattic/jetpack-shared-stores": "^0.2.3",
36
+ "@automattic/jetpack-shared-stores": "^0.2.4",
37
37
  "@types/jest": "30.0.0",
38
38
  "@wordpress/api-fetch": "7.51.0",
39
39
  "@wordpress/block-editor": "16.0.0",
@@ -46,7 +46,7 @@
46
46
  "@wordpress/i18n": "6.24.0",
47
47
  "@wordpress/plugins": "7.51.0",
48
48
  "@wordpress/primitives": "4.51.0",
49
- "@wordpress/ui": "0.17.0",
49
+ "@wordpress/ui": "0.19.0",
50
50
  "@wordpress/url": "4.51.0",
51
51
  "clsx": "2.1.1",
52
52
  "debug": "4.4.3",
@@ -35,7 +35,11 @@ export const Nudge = ( {
35
35
  </strong>
36
36
  ) }
37
37
  { description && (
38
- <span className={ `${ className }__description banner-description` }>
38
+ <span
39
+ className={ clsx( 'banner-description', {
40
+ [ `${ className }__description` ]: className,
41
+ } ) }
42
+ >
39
43
  { description }
40
44
  </span>
41
45
  ) }