cozy-ui 146.5.1 → 146.5.2
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
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [146.5.2](https://github.com/cozy/cozy-ui/compare/v146.5.1...v146.5.2) (2026-11-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **MemberRow:** Declare the propTypes of MemberGroupAvatar ([cb72f84](https://github.com/cozy/cozy-ui/commit/cb72f84))
|
|
7
|
+
|
|
1
8
|
## [146.5.1](https://github.com/cozy/cozy-ui/compare/v146.5.0...v146.5.1) (2026-11-05)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon, Peoples } from '@linagora/twake-icons'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
2
3
|
import React from 'react'
|
|
3
4
|
|
|
4
5
|
import Avatar, { colorToGradient } from '../Avatar'
|
|
@@ -14,4 +15,10 @@ const MemberGroupAvatar = ({ size, color = DEFAULT_COLOR, className }) => {
|
|
|
14
15
|
)
|
|
15
16
|
}
|
|
16
17
|
|
|
18
|
+
MemberGroupAvatar.propTypes = {
|
|
19
|
+
size: PropTypes.string,
|
|
20
|
+
color: PropTypes.string,
|
|
21
|
+
className: PropTypes.string
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
export default MemberGroupAvatar
|
|
@@ -4,3 +4,11 @@ declare function MemberGroupAvatar({ size, color, className }: {
|
|
|
4
4
|
color?: string | undefined;
|
|
5
5
|
className: any;
|
|
6
6
|
}): JSX.Element;
|
|
7
|
+
declare namespace MemberGroupAvatar {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const size: PropTypes.Requireable<string>;
|
|
10
|
+
const color: PropTypes.Requireable<string>;
|
|
11
|
+
const className: PropTypes.Requireable<string>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
import PropTypes from "prop-types";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon, Peoples } from '@linagora/twake-icons';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import Avatar, { colorToGradient } from "cozy-ui/transpiled/react/Avatar";
|
|
4
5
|
import { COLORS } from "cozy-ui/transpiled/react/ColorList/helpers";
|
|
@@ -18,4 +19,9 @@ var MemberGroupAvatar = function MemberGroupAvatar(_ref) {
|
|
|
18
19
|
}));
|
|
19
20
|
};
|
|
20
21
|
|
|
22
|
+
MemberGroupAvatar.propTypes = {
|
|
23
|
+
size: PropTypes.string,
|
|
24
|
+
color: PropTypes.string,
|
|
25
|
+
className: PropTypes.string
|
|
26
|
+
};
|
|
21
27
|
export default MemberGroupAvatar;
|