@micromag/media-gallery 0.3.524 → 0.3.525

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/es/index.js CHANGED
@@ -500,7 +500,7 @@ function MediaGallery(_ref) {
500
500
  });
501
501
  }
502
502
  finalTypes = ['image', 'video', 'audio'].indexOf(types) !== -1 ? ["".concat(types, "/*")] : null;
503
- if (finalTypes !== null && isArray(finalTypes) && finalTypes.indexOf('video') !== -1) {
503
+ if (finalTypes !== null && isArray(finalTypes) && finalTypes.indexOf('video/*') !== -1) {
504
504
  finalTypes.push('image/gif');
505
505
  }
506
506
  return finalTypes;
package/lib/index.js CHANGED
@@ -540,7 +540,7 @@ function MediaGallery(_ref) {
540
540
  });
541
541
  }
542
542
  finalTypes = ['image', 'video', 'audio'].indexOf(types) !== -1 ? ["".concat(types, "/*")] : null;
543
- if (finalTypes !== null && isArray(finalTypes) && finalTypes.indexOf('video') !== -1) {
543
+ if (finalTypes !== null && isArray(finalTypes) && finalTypes.indexOf('video/*') !== -1) {
544
544
  finalTypes.push('image/gif');
545
545
  }
546
546
  return finalTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/media-gallery",
3
- "version": "0.3.524",
3
+ "version": "0.3.525",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -87,5 +87,5 @@
87
87
  "access": "public",
88
88
  "registry": "https://registry.npmjs.org/"
89
89
  },
90
- "gitHead": "5c033a775f4b9b5a72e61ba74573df7d83be9e4c"
90
+ "gitHead": "dc256382137519b9be05b9c281c09b4b6a3972c5"
91
91
  }