cozy-sharing 37.2.8 → 37.2.10

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [37.2.10](https://github.com/cozy/cozy-libs/compare/cozy-sharing@37.2.9...cozy-sharing@37.2.10) (2026-07-30)
7
+
8
+ **Note:** Version bump only for package cozy-sharing
9
+
10
+ ## [37.2.9](https://github.com/cozy/cozy-libs/compare/cozy-sharing@37.2.8...cozy-sharing@37.2.9) (2026-07-29)
11
+
12
+ **Note:** Version bump only for package cozy-sharing
13
+
6
14
  ## [37.2.8](https://github.com/cozy/cozy-libs/compare/cozy-sharing@37.2.7...cozy-sharing@37.2.8) (2026-07-29)
7
15
 
8
16
  **Note:** Version bump only for package cozy-sharing
@@ -22,13 +22,13 @@ var styles = {
22
22
  };
23
23
  import WhoHasAccess from '../WhoHasAccess';
24
24
  export var SharingDetailsModal = function SharingDetailsModal(_ref) {
25
- var onClose = _ref.onClose,
26
- recipients = _ref.recipients,
25
+ var recipients = _ref.recipients,
27
26
  document = _ref.document,
28
27
  _ref$documentType = _ref.documentType,
29
28
  documentType = _ref$documentType === void 0 ? 'Document' : _ref$documentType,
30
29
  onRevoke = _ref.onRevoke,
31
- onRevokeSelf = _ref.onRevokeSelf;
30
+ onRevokeSelf = _ref.onRevokeSelf,
31
+ onClose = _ref.onClose;
32
32
 
33
33
  var _useI18n = useI18n(),
34
34
  t = _useI18n.t;
@@ -53,12 +53,11 @@ export var SharingDetailsModal = function SharingDetailsModal(_ref) {
53
53
  });
54
54
  };
55
55
  SharingDetailsModal.propTypes = {
56
- onClose: PropTypes.func,
57
- sharingType: PropTypes.string,
58
- owner: PropTypes.object.isRequired,
56
+ recipients: PropTypes.array.isRequired,
59
57
  document: PropTypes.object.isRequired,
60
58
  documentType: PropTypes.string.isRequired,
61
59
  onRevoke: PropTypes.func.isRequired,
62
- onRevokeSelf: PropTypes.func
60
+ onRevokeSelf: PropTypes.func,
61
+ onClose: PropTypes.func
63
62
  };
64
63
  export default SharingDetailsModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-sharing",
3
- "version": "37.2.8",
3
+ "version": "37.2.10",
4
4
  "description": "Provides sharing login for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -59,7 +59,7 @@
59
59
  "cozy-intent": "^2.31.1",
60
60
  "cozy-minilog": "^3.10.1",
61
61
  "cozy-ui": "^140.5.0",
62
- "cozy-ui-plus": "^12.3.2",
62
+ "cozy-ui-plus": "^12.3.4",
63
63
  "jest": "30.3.0",
64
64
  "jest-environment-jsdom": "30.3.0",
65
65
  "react": "16.12.0",
@@ -85,5 +85,5 @@
85
85
  "sideEffects": [
86
86
  "*.css"
87
87
  ],
88
- "gitHead": "d17286f387e29be769ab3e10fc49848edafff3cc"
88
+ "gitHead": "05e50a31f37a323eba5d55d5c1e5c3b90090b636"
89
89
  }
@@ -8,12 +8,12 @@ import styles from '../../styles/share.styl'
8
8
  import WhoHasAccess from '../WhoHasAccess'
9
9
 
10
10
  export const SharingDetailsModal = ({
11
- onClose,
12
11
  recipients,
13
12
  document,
14
13
  documentType = 'Document',
15
14
  onRevoke,
16
- onRevokeSelf
15
+ onRevokeSelf,
16
+ onClose
17
17
  }) => {
18
18
  const { t } = useI18n()
19
19
 
@@ -42,12 +42,11 @@ export const SharingDetailsModal = ({
42
42
  }
43
43
 
44
44
  SharingDetailsModal.propTypes = {
45
- onClose: PropTypes.func,
46
- sharingType: PropTypes.string,
47
- owner: PropTypes.object.isRequired,
45
+ recipients: PropTypes.array.isRequired,
48
46
  document: PropTypes.object.isRequired,
49
47
  documentType: PropTypes.string.isRequired,
50
48
  onRevoke: PropTypes.func.isRequired,
51
- onRevokeSelf: PropTypes.func
49
+ onRevokeSelf: PropTypes.func,
50
+ onClose: PropTypes.func
52
51
  }
53
52
  export default SharingDetailsModal