cozy-sharing 13.3.0 → 13.3.1

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,17 @@
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
+ ## [13.3.1](https://github.com/cozy/cozy-libs/compare/cozy-sharing@13.3.0...cozy-sharing@13.3.1) (2024-05-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **sharing:** Improve size inside recipient list ([747605a](https://github.com/cozy/cozy-libs/commit/747605a944e740bdea32b07d0199df17abc75fb0))
12
+
13
+
14
+
15
+
16
+
6
17
  # [13.3.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@13.2.0...cozy-sharing@13.3.0) (2024-05-02)
7
18
 
8
19
 
@@ -57,7 +57,8 @@ var GroupRecipient = function GroupRecipient(props) {
57
57
  }, /*#__PURE__*/React.createElement(ListItem, {
58
58
  button: true,
59
59
  onClick: toogleDetailOpened,
60
- gutters: isMobile ? 'default' : 'double'
60
+ gutters: isMobile ? 'default' : 'double',
61
+ size: "small"
61
62
  }, /*#__PURE__*/React.createElement(ListItemIcon, null, /*#__PURE__*/React.createElement(GroupAvatar, {
62
63
  size: "small"
63
64
  })), /*#__PURE__*/React.createElement(ListItemText, {
@@ -24,8 +24,10 @@ var GroupRecipientDetailWithAccess = function GroupRecipientDetailWithAccess(_re
24
24
  var isMe = recipient.instance === client.options.uri;
25
25
  return /*#__PURE__*/React.createElement(ListItem, {
26
26
  disableGutters: true,
27
- key: recipient.index
27
+ key: recipient.index,
28
+ size: "small"
28
29
  }, /*#__PURE__*/React.createElement(ListItemIcon, null, /*#__PURE__*/React.createElement(Avatar, {
30
+ size: "small",
29
31
  text: getInitials(recipient),
30
32
  textId: name
31
33
  })), /*#__PURE__*/React.createElement(ListItemText, {
@@ -27,8 +27,10 @@ var GroupRecipientDetailWithoutAccess = function GroupRecipientDetailWithoutAcce
27
27
  return /*#__PURE__*/React.createElement(ListItem, {
28
28
  disableGutters: true,
29
29
  key: recipient.index,
30
- ellipsis: false
30
+ ellipsis: false,
31
+ size: "small"
31
32
  }, /*#__PURE__*/React.createElement(ListItemIcon, null, /*#__PURE__*/React.createElement(Avatar, {
33
+ size: "small",
32
34
  text: getInitials(recipient),
33
35
  textId: name
34
36
  })), /*#__PURE__*/React.createElement(ListItemText, {
@@ -53,7 +53,8 @@ var LinkRecipient = function LinkRecipient(props) {
53
53
  in: true,
54
54
  timeout: fadeIn ? FADE_IN_DURATION : 0
55
55
  }, /*#__PURE__*/React.createElement(ListItem, {
56
- gutters: isMobile ? 'default' : 'double'
56
+ gutters: isMobile ? 'default' : 'double',
57
+ size: "small"
57
58
  }, /*#__PURE__*/React.createElement(ListItemIcon, null, /*#__PURE__*/React.createElement(Circle, {
58
59
  size: "small",
59
60
  className: styles['link-recipient-icon-circle']
@@ -48,7 +48,8 @@ var MemberRecipient = function MemberRecipient(props) {
48
48
  in: true,
49
49
  timeout: fadeIn ? FADE_IN_DURATION : 0
50
50
  }, /*#__PURE__*/React.createElement(ListItem, {
51
- gutters: isMobile ? 'default' : 'double'
51
+ gutters: isMobile ? 'default' : 'double',
52
+ size: "small"
52
53
  }, /*#__PURE__*/React.createElement(ListItemIcon, null, /*#__PURE__*/React.createElement(MemberAvatar, {
53
54
  size: "small",
54
55
  recipient: props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-sharing",
3
- "version": "13.3.0",
3
+ "version": "13.3.1",
4
4
  "description": "Provides sharing login for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -71,5 +71,5 @@
71
71
  "sideEffects": [
72
72
  "*.css"
73
73
  ],
74
- "gitHead": "ffc77c3e7df6b4c206a3532359aead2722c54487"
74
+ "gitHead": "e3d4b47af3dabff895386dbc237ab5b81963d1f6"
75
75
  }
@@ -49,6 +49,7 @@ const GroupRecipient = props => {
49
49
  button
50
50
  onClick={toogleDetailOpened}
51
51
  gutters={isMobile ? 'default' : 'double'}
52
+ size="small"
52
53
  >
53
54
  <ListItemIcon>
54
55
  <GroupAvatar size="small" />
@@ -27,9 +27,13 @@ const GroupRecipientDetailWithAccess = ({ withAccess }) => {
27
27
  const isMe = recipient.instance === client.options.uri
28
28
 
29
29
  return (
30
- <ListItem disableGutters key={recipient.index}>
30
+ <ListItem disableGutters key={recipient.index} size="small">
31
31
  <ListItemIcon>
32
- <Avatar text={getInitials(recipient)} textId={name} />
32
+ <Avatar
33
+ size="small"
34
+ text={getInitials(recipient)}
35
+ textId={name}
36
+ />
33
37
  </ListItemIcon>
34
38
  <ListItemText
35
39
  primary={name}
@@ -28,9 +28,18 @@ const GroupRecipientDetailWithoutAccess = ({ withoutAccess, isOwner }) => {
28
28
  const name = getDisplayName(recipient, defaultDisplayName)
29
29
 
30
30
  return (
31
- <ListItem disableGutters key={recipient.index} ellipsis={false}>
31
+ <ListItem
32
+ disableGutters
33
+ key={recipient.index}
34
+ ellipsis={false}
35
+ size="small"
36
+ >
32
37
  <ListItemIcon>
33
- <Avatar text={getInitials(recipient)} textId={name} />
38
+ <Avatar
39
+ size="small"
40
+ text={getInitials(recipient)}
41
+ textId={name}
42
+ />
34
43
  </ListItemIcon>
35
44
  <ListItemText
36
45
  primary={name}
@@ -34,7 +34,7 @@ const LinkRecipient = props => {
34
34
 
35
35
  return (
36
36
  <Fade in timeout={fadeIn ? FADE_IN_DURATION : 0}>
37
- <ListItem gutters={isMobile ? 'default' : 'double'}>
37
+ <ListItem gutters={isMobile ? 'default' : 'double'} size="small">
38
38
  <ListItemIcon>
39
39
  <Circle size="small" className={styles['link-recipient-icon-circle']}>
40
40
  <Icon icon={LinkIcon} />
@@ -51,7 +51,7 @@ const MemberRecipient = props => {
51
51
 
52
52
  return (
53
53
  <Fade in timeout={fadeIn ? FADE_IN_DURATION : 0}>
54
- <ListItem gutters={isMobile ? 'default' : 'double'}>
54
+ <ListItem gutters={isMobile ? 'default' : 'double'} size="small">
55
55
  <ListItemIcon>
56
56
  <MemberAvatar size="small" recipient={props} />
57
57
  </ListItemIcon>