cozy-ui 62.3.0 → 62.4.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
@@ -1,3 +1,10 @@
1
+ # [62.4.0](https://github.com/cozy/cozy-ui/compare/v62.3.0...v62.4.0) (2022-03-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add tiny size for FileImageLoader ([ae6ba29](https://github.com/cozy/cozy-ui/commit/ae6ba29))
7
+
1
8
  # [62.3.0](https://github.com/cozy/cozy-ui/compare/v62.2.0...v62.3.0) (2022-03-25)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "62.3.0",
3
+ "version": "62.4.0",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -160,7 +160,14 @@ export class FileImageLoader extends Component {
160
160
  FileImageLoader.propTypes = {
161
161
  file: PropTypes.object.isRequired,
162
162
  render: PropTypes.func.isRequired,
163
- linkType: PropTypes.oneOf(['small', 'medium', 'large', 'preview', 'icon']),
163
+ linkType: PropTypes.oneOf([
164
+ 'tiny',
165
+ 'small',
166
+ 'medium',
167
+ 'large',
168
+ 'preview',
169
+ 'icon'
170
+ ]),
164
171
  onError: PropTypes.func,
165
172
  renderFallback: PropTypes.func
166
173
  }
@@ -338,7 +338,7 @@ export var FileImageLoader = /*#__PURE__*/function (_Component) {
338
338
  FileImageLoader.propTypes = {
339
339
  file: PropTypes.object.isRequired,
340
340
  render: PropTypes.func.isRequired,
341
- linkType: PropTypes.oneOf(['small', 'medium', 'large', 'preview', 'icon']),
341
+ linkType: PropTypes.oneOf(['tiny', 'small', 'medium', 'large', 'preview', 'icon']),
342
342
  onError: PropTypes.func,
343
343
  renderFallback: PropTypes.func
344
344
  };