@automattic/jetpack-connection 0.37.0 → 0.38.0
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 +11 -0
- package/components/owner-disconnect-dialog/style.scss +2 -2
- package/package.json +11 -11
- package/state/controls.jsx +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [0.38.0] - 2025-03-03
|
|
6
|
+
### Changed
|
|
7
|
+
- Update package dependencies. [#42163]
|
|
8
|
+
|
|
9
|
+
### Removed
|
|
10
|
+
- Remove register_nonce from site connection. [#42076]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Improve connection owner unlink modal responsiveness. [#41998]
|
|
14
|
+
|
|
5
15
|
## [0.37.0] - 2025-02-24
|
|
6
16
|
### Added
|
|
7
17
|
- Warn that disconnecting owner account will disconnect all other users first. [#41923]
|
|
@@ -942,6 +952,7 @@
|
|
|
942
952
|
- `Main` and `ConnectUser` components added.
|
|
943
953
|
- `JetpackRestApiClient` API client added.
|
|
944
954
|
|
|
955
|
+
[0.38.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.37.0...v0.38.0
|
|
945
956
|
[0.37.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.7...v0.37.0
|
|
946
957
|
[0.36.7]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.6...v0.36.7
|
|
947
958
|
[0.36.6]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.5...v0.36.6
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
.jp-connection__disconnect-dialog__content {
|
|
7
7
|
--spacing-base: 8px;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.components-modal__content > div:not(.components-modal__header) {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
height: 100%;
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-connection",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "Jetpack Connection Component",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
"license": "GPL-2.0-or-later",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/jetpack-analytics": "^0.1.36",
|
|
18
|
-
"@automattic/jetpack-api": "^0.
|
|
19
|
-
"@automattic/jetpack-components": "^0.
|
|
18
|
+
"@automattic/jetpack-api": "^0.20.0",
|
|
19
|
+
"@automattic/jetpack-components": "^0.68.0",
|
|
20
20
|
"@automattic/jetpack-config": "^0.1.29",
|
|
21
21
|
"@automattic/jetpack-script-data": "^0.2.1",
|
|
22
|
-
"@wordpress/base-styles": "5.
|
|
23
|
-
"@wordpress/browserslist-config": "6.
|
|
24
|
-
"@wordpress/components": "29.
|
|
25
|
-
"@wordpress/data": "10.
|
|
26
|
-
"@wordpress/element": "6.
|
|
27
|
-
"@wordpress/i18n": "5.
|
|
28
|
-
"@wordpress/icons": "10.
|
|
22
|
+
"@wordpress/base-styles": "5.19.0",
|
|
23
|
+
"@wordpress/browserslist-config": "6.19.0",
|
|
24
|
+
"@wordpress/components": "29.5.0",
|
|
25
|
+
"@wordpress/data": "10.19.0",
|
|
26
|
+
"@wordpress/element": "6.19.0",
|
|
27
|
+
"@wordpress/i18n": "5.19.0",
|
|
28
|
+
"@wordpress/icons": "10.19.0",
|
|
29
29
|
"clsx": "2.1.1",
|
|
30
30
|
"debug": "4.4.0",
|
|
31
31
|
"prop-types": "^15.7.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@automattic/jetpack-base-styles": "^0.6.
|
|
34
|
+
"@automattic/jetpack-base-styles": "^0.6.44",
|
|
35
35
|
"@babel/core": "7.26.0",
|
|
36
36
|
"@babel/preset-react": "7.26.3",
|
|
37
37
|
"@storybook/addon-actions": "8.5.8",
|
package/state/controls.jsx
CHANGED
|
@@ -2,8 +2,7 @@ import restApi from '@automattic/jetpack-api';
|
|
|
2
2
|
import { createRegistryControl } from '@wordpress/data';
|
|
3
3
|
import STORE_ID from './store-id';
|
|
4
4
|
|
|
5
|
-
const REGISTER_SITE = ( {
|
|
6
|
-
restApi.registerSite( registrationNonce, redirectUri, from );
|
|
5
|
+
const REGISTER_SITE = ( { redirectUri, from } ) => restApi.registerSite( null, redirectUri, from );
|
|
7
6
|
|
|
8
7
|
const CONNECT_USER = createRegistryControl(
|
|
9
8
|
( { resolveSelect } ) =>
|