@micromag/screen-slideshow 0.3.193 → 0.3.196
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 +2 -2
- package/lib/index.js +2 -2
- package/package.json +10 -10
package/es/index.js
CHANGED
|
@@ -196,8 +196,8 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
|
|
|
196
196
|
}, /*#__PURE__*/React.createElement("div", {
|
|
197
197
|
className: styles.content,
|
|
198
198
|
style: {
|
|
199
|
-
paddingTop: !isPreview ? viewerTopHeight : null,
|
|
200
|
-
paddingBottom: (hasCallToAction ? callToActionHeight - finalSpacing : 0) + (!isPreview ? viewerBottomHeight : 0)
|
|
199
|
+
paddingTop: current && !isPreview ? viewerTopHeight : null,
|
|
200
|
+
paddingBottom: (hasCallToAction ? callToActionHeight - finalSpacing : 0) + (current && !isPreview ? viewerBottomHeight : 0)
|
|
201
201
|
}
|
|
202
202
|
}, items, !isPlaceholder && hasCallToAction ? /*#__PURE__*/React.createElement("div", {
|
|
203
203
|
style: {
|
package/lib/index.js
CHANGED
|
@@ -213,8 +213,8 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
|
|
|
213
213
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
214
214
|
className: styles.content,
|
|
215
215
|
style: {
|
|
216
|
-
paddingTop: !isPreview ? viewerTopHeight : null,
|
|
217
|
-
paddingBottom: (hasCallToAction ? callToActionHeight - finalSpacing : 0) + (!isPreview ? viewerBottomHeight : 0)
|
|
216
|
+
paddingTop: current && !isPreview ? viewerTopHeight : null,
|
|
217
|
+
paddingBottom: (hasCallToAction ? callToActionHeight - finalSpacing : 0) + (current && !isPreview ? viewerBottomHeight : 0)
|
|
218
218
|
}
|
|
219
219
|
}, items, !isPlaceholder && hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
220
220
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-slideshow",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.196",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
53
|
-
"@micromag/element-background": "^0.3.
|
|
54
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
55
|
-
"@micromag/element-container": "^0.3.
|
|
56
|
-
"@micromag/element-layout": "^0.3.
|
|
57
|
-
"@micromag/element-text": "^0.3.
|
|
58
|
-
"@micromag/element-visual": "^0.3.
|
|
59
|
-
"@micromag/transforms": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.196",
|
|
53
|
+
"@micromag/element-background": "^0.3.196",
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.196",
|
|
55
|
+
"@micromag/element-container": "^0.3.196",
|
|
56
|
+
"@micromag/element-layout": "^0.3.196",
|
|
57
|
+
"@micromag/element-text": "^0.3.196",
|
|
58
|
+
"@micromag/element-visual": "^0.3.196",
|
|
59
|
+
"@micromag/transforms": "^0.3.196",
|
|
60
60
|
"classnames": "^2.2.6",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"prop-types": "^15.7.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "f76253e63fa17840ffa08757a7f4a32554868288"
|
|
70
70
|
}
|