@automattic/jetpack-shared-extension-utils 2.0.8 → 2.0.9
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,13 @@ 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.9] - 2026-07-20
|
|
9
|
+
### Changed
|
|
10
|
+
- Update package dependencies. [#50510] [#50529]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Upgrade nudge: Replace `.wp-block` CSS class with `.jetpack-nudge-canvas` to avoid Gutenberg iframe compatibility warnings in the block editor. [#50260]
|
|
14
|
+
|
|
8
15
|
## [2.0.8] - 2026-07-13
|
|
9
16
|
### Changed
|
|
10
17
|
- Internal updates.
|
|
@@ -1008,6 +1015,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1008
1015
|
### Changed
|
|
1009
1016
|
- Core: prepare utility for release
|
|
1010
1017
|
|
|
1018
|
+
[2.0.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.8...2.0.9
|
|
1011
1019
|
[2.0.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.7...2.0.8
|
|
1012
1020
|
[2.0.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.6...2.0.7
|
|
1013
1021
|
[2.0.6]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/2.0.5...2.0.6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
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": {
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@automattic/color-studio": "4.1.0",
|
|
31
31
|
"@automattic/jetpack-analytics": "^1.0.15",
|
|
32
|
-
"@automattic/jetpack-base-styles": "^1.2.
|
|
33
|
-
"@automattic/jetpack-components": "^1.12.
|
|
34
|
-
"@automattic/jetpack-connection": "^2.0.
|
|
35
|
-
"@automattic/jetpack-script-data": "^0.6.
|
|
36
|
-
"@automattic/jetpack-shared-stores": "^0.
|
|
32
|
+
"@automattic/jetpack-base-styles": "^1.2.10",
|
|
33
|
+
"@automattic/jetpack-components": "^1.12.17",
|
|
34
|
+
"@automattic/jetpack-connection": "^2.0.2",
|
|
35
|
+
"@automattic/jetpack-script-data": "^0.6.6",
|
|
36
|
+
"@automattic/jetpack-shared-stores": "^0.2.0",
|
|
37
37
|
"@types/jest": "30.0.0",
|
|
38
|
-
"@wordpress/api-fetch": "7.
|
|
39
|
-
"@wordpress/block-editor": "
|
|
40
|
-
"@wordpress/components": "
|
|
41
|
-
"@wordpress/compose": "8.
|
|
42
|
-
"@wordpress/data": "10.
|
|
43
|
-
"@wordpress/dom-ready": "4.
|
|
44
|
-
"@wordpress/element": "8.
|
|
45
|
-
"@wordpress/hooks": "4.
|
|
46
|
-
"@wordpress/i18n": "6.
|
|
47
|
-
"@wordpress/plugins": "7.
|
|
48
|
-
"@wordpress/primitives": "4.
|
|
38
|
+
"@wordpress/api-fetch": "7.51.0",
|
|
39
|
+
"@wordpress/block-editor": "16.0.0",
|
|
40
|
+
"@wordpress/components": "37.0.0",
|
|
41
|
+
"@wordpress/compose": "8.4.0",
|
|
42
|
+
"@wordpress/data": "10.51.0",
|
|
43
|
+
"@wordpress/dom-ready": "4.51.0",
|
|
44
|
+
"@wordpress/element": "8.3.0",
|
|
45
|
+
"@wordpress/hooks": "4.51.0",
|
|
46
|
+
"@wordpress/i18n": "6.24.0",
|
|
47
|
+
"@wordpress/plugins": "7.51.0",
|
|
48
|
+
"@wordpress/primitives": "4.51.0",
|
|
49
49
|
"@wordpress/ui": "0.17.0",
|
|
50
|
-
"@wordpress/url": "4.
|
|
50
|
+
"@wordpress/url": "4.51.0",
|
|
51
51
|
"clsx": "2.1.1",
|
|
52
52
|
"debug": "4.4.3",
|
|
53
|
-
"social-logos": "^3.3.
|
|
53
|
+
"social-logos": "^3.3.18"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@automattic/jetpack-webpack-config": "workspace:*",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@testing-library/react": "16.3.2",
|
|
61
61
|
"@testing-library/user-event": "14.6.1",
|
|
62
62
|
"@types/react": "18.3.28",
|
|
63
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
63
|
+
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
64
64
|
"babel-jest": "30.4.1",
|
|
65
65
|
"jest": "30.4.2",
|
|
66
66
|
"jetpack-js-tools": "workspace:*",
|
|
@@ -19,7 +19,7 @@ export const Nudge = ( {
|
|
|
19
19
|
target = '_top',
|
|
20
20
|
} ) => {
|
|
21
21
|
const cssClasses = clsx( className, 'jetpack-upgrade-plan-banner', {
|
|
22
|
-
'
|
|
22
|
+
'jetpack-nudge-canvas': context === 'editor-canvas',
|
|
23
23
|
'block-editor-block-list__block': context === 'editor-canvas',
|
|
24
24
|
'jetpack-upgrade-plan__hidden': ! visible,
|
|
25
25
|
} );
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
margin-bottom: 0;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.jetpack-upgrade-plan-banner.
|
|
51
|
-
.jetpack-upgrade-plan-banner.
|
|
50
|
+
.jetpack-upgrade-plan-banner.jetpack-nudge-canvas[data-align="right"] .jetpack-upgrade-plan-banner__wrapper,
|
|
51
|
+
.jetpack-upgrade-plan-banner.jetpack-nudge-canvas[data-align="left"] .jetpack-upgrade-plan-banner__wrapper {
|
|
52
52
|
max-width: 580px;
|
|
53
53
|
width: 100%;
|
|
54
54
|
}
|