@micromag/screen-gallery-feed 0.3.126 → 0.3.129

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.
@@ -1 +1 @@
1
- .micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{margin:5px auto;border:2px dashed #343434;color:#343434}.micromag-screen-gallery-feed-container{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{width:100%;margin:10px auto}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{height:200px}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption{height:50px}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-callToAction{position:absolute;bottom:0;left:0;width:100%}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:10px}
1
+ .micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{margin:5px auto;border:2px dashed #343434;color:#343434}.micromag-screen-gallery-feed-container{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{width:100%;margin:10px auto}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{height:200px}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption{height:50px}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-image,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-imageContainer,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-video{position:relative!important}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-imageContainer{overflow:hidden}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-callToAction{position:absolute;bottom:0;left:0;width:100%}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:10px}
package/es/index.js CHANGED
@@ -21,7 +21,7 @@ import _extends from '@babel/runtime/helpers/extends';
21
21
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
22
22
  import { Gallery, Container as Container$1 } from '@micromag/transforms/apple-news';
23
23
 
24
- var styles = {"container":"micromag-screen-gallery-feed-container","emptyCaption":"micromag-screen-gallery-feed-emptyCaption","emptyImage":"micromag-screen-gallery-feed-emptyImage","callToAction":"micromag-screen-gallery-feed-callToAction","isPlaceholder":"micromag-screen-gallery-feed-isPlaceholder","layout":"micromag-screen-gallery-feed-layout"};
24
+ var styles = {"container":"micromag-screen-gallery-feed-container","emptyCaption":"micromag-screen-gallery-feed-emptyCaption","emptyImage":"micromag-screen-gallery-feed-emptyImage","image":"micromag-screen-gallery-feed-image","imageContainer":"micromag-screen-gallery-feed-imageContainer","video":"micromag-screen-gallery-feed-video","callToAction":"micromag-screen-gallery-feed-callToAction","isPlaceholder":"micromag-screen-gallery-feed-isPlaceholder","layout":"micromag-screen-gallery-feed-layout"};
25
25
 
26
26
  var propTypes = {
27
27
  layout: PropTypes.oneOf(['normal', 'reverse']),
@@ -148,6 +148,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
148
148
  className: styles.imageContainer,
149
149
  ref: index === 0 ? firstImageRef : null
150
150
  }, /*#__PURE__*/React.createElement(Visual, Object.assign({}, finalImage, {
151
+ className: styles.image,
152
+ videoClassName: styles.video,
151
153
  width: firstImageRefWidth,
152
154
  resolution: resolution,
153
155
  playing: backgroundPlaying,
package/lib/index.js CHANGED
@@ -43,7 +43,7 @@ var Visual__default = /*#__PURE__*/_interopDefaultLegacy(Visual);
43
43
  var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
44
44
  var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
45
45
 
46
- var styles = {"container":"micromag-screen-gallery-feed-container","emptyCaption":"micromag-screen-gallery-feed-emptyCaption","emptyImage":"micromag-screen-gallery-feed-emptyImage","callToAction":"micromag-screen-gallery-feed-callToAction","isPlaceholder":"micromag-screen-gallery-feed-isPlaceholder","layout":"micromag-screen-gallery-feed-layout"};
46
+ var styles = {"container":"micromag-screen-gallery-feed-container","emptyCaption":"micromag-screen-gallery-feed-emptyCaption","emptyImage":"micromag-screen-gallery-feed-emptyImage","image":"micromag-screen-gallery-feed-image","imageContainer":"micromag-screen-gallery-feed-imageContainer","video":"micromag-screen-gallery-feed-video","callToAction":"micromag-screen-gallery-feed-callToAction","isPlaceholder":"micromag-screen-gallery-feed-isPlaceholder","layout":"micromag-screen-gallery-feed-layout"};
47
47
 
48
48
  var propTypes = {
49
49
  layout: PropTypes__default["default"].oneOf(['normal', 'reverse']),
@@ -170,6 +170,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
170
170
  className: styles.imageContainer,
171
171
  ref: index === 0 ? firstImageRef : null
172
172
  }, /*#__PURE__*/React__default["default"].createElement(Visual__default["default"], Object.assign({}, finalImage, {
173
+ className: styles.image,
174
+ videoClassName: styles.video,
173
175
  width: firstImageRefWidth,
174
176
  resolution: resolution,
175
177
  playing: backgroundPlaying,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-gallery-feed",
3
- "version": "0.3.126",
3
+ "version": "0.3.129",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,11 +50,11 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@micromag/core": "^0.3.126",
53
- "@micromag/element-background": "^0.3.126",
54
- "@micromag/element-call-to-action": "^0.3.126",
53
+ "@micromag/element-background": "^0.3.127",
54
+ "@micromag/element-call-to-action": "^0.3.128",
55
55
  "@micromag/element-container": "^0.3.126",
56
56
  "@micromag/element-layout": "^0.3.126",
57
- "@micromag/element-scroll": "^0.3.126",
57
+ "@micromag/element-scroll": "^0.3.128",
58
58
  "@micromag/element-stack": "^0.3.126",
59
59
  "@micromag/element-text": "^0.3.126",
60
60
  "@micromag/element-visual": "^0.3.126",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "079203c5850c4aa771bc4fa1c567d2db1bc3ee3d"
71
+ "gitHead": "b2aac86a668eed186e87b2d43fe630e0dc587f67"
72
72
  }