@automattic/jetpack-shared-extension-utils 2.0.13 → 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,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
+ ## [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
+
8
12
  ## [2.0.13] - 2026-08-10
9
13
  ### Changed
10
14
  - Add skipPhotonDomain to the typed Jetpack script data flags. [#50426]
@@ -1032,6 +1036,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1032
1036
  ### Changed
1033
1037
  - Core: prepare utility for release
1034
1038
 
1039
+ [2.0.14]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.13...2.0.14
1035
1040
  [2.0.13]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.12...2.0.13
1036
1041
  [2.0.12]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.11...2.0.12
1037
1042
  [2.0.11]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.10...2.0.11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "2.0.13",
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": {
@@ -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
  ) }