@automattic/jetpack-connection 0.37.0 → 0.39.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 CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Connection Component releases.
4
4
 
5
+ ## [0.39.0] - 2025-03-05
6
+ ### Added
7
+ - Enabled connection owner disconnection in dashboard. [#42074]
8
+
9
+ ## [0.38.0] - 2025-03-03
10
+ ### Changed
11
+ - Update package dependencies. [#42163]
12
+
13
+ ### Removed
14
+ - Remove register_nonce from site connection. [#42076]
15
+
16
+ ### Fixed
17
+ - Improve connection owner unlink modal responsiveness. [#41998]
18
+
5
19
  ## [0.37.0] - 2025-02-24
6
20
  ### Added
7
21
  - Warn that disconnecting owner account will disconnect all other users first. [#41923]
@@ -942,6 +956,8 @@
942
956
  - `Main` and `ConnectUser` components added.
943
957
  - `JetpackRestApiClient` API client added.
944
958
 
959
+ [0.39.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.38.0...v0.39.0
960
+ [0.38.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.37.0...v0.38.0
945
961
  [0.37.0]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.7...v0.37.0
946
962
  [0.36.7]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.6...v0.36.7
947
963
  [0.36.6]: https://github.com/Automattic/jetpack-connection-js/compare/v0.36.5...v0.36.6
@@ -107,6 +107,11 @@
107
107
  fill: var( --jp-red );
108
108
  }
109
109
 
110
+ .check-users {
111
+ color: var( --jp-black );
112
+ fill: var( --jp-black );
113
+ }
114
+
110
115
  }
111
116
 
112
117
  .components-notice {
@@ -6,9 +6,9 @@
6
6
  .jp-connection__disconnect-dialog__content {
7
7
  --spacing-base: 8px;
8
8
  }
9
- .jp-connection__disconnect-dialog .components-modal__content > div:not(.components-modal__header) {
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.37.0",
3
+ "version": "0.39.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.0",
19
- "@automattic/jetpack-components": "^0.67.1",
18
+ "@automattic/jetpack-api": "^0.20.0",
19
+ "@automattic/jetpack-components": "^0.68.1",
20
20
  "@automattic/jetpack-config": "^0.1.29",
21
21
  "@automattic/jetpack-script-data": "^0.2.1",
22
- "@wordpress/base-styles": "5.17.0",
23
- "@wordpress/browserslist-config": "6.17.0",
24
- "@wordpress/components": "29.3.0",
25
- "@wordpress/data": "10.17.0",
26
- "@wordpress/element": "6.17.0",
27
- "@wordpress/i18n": "5.17.0",
28
- "@wordpress/icons": "10.17.0",
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.43",
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",
@@ -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 = ( { registrationNonce, redirectUri, from } ) =>
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 } ) =>