@micromag/screen-gallery 0.4.14 → 0.4.17
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 -1
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -192,11 +192,12 @@ var layoutProps = {
|
|
|
192
192
|
|
|
193
193
|
var styles = {"container":"micromag-screen-gallery-container","background":"micromag-screen-gallery-background","content":"micromag-screen-gallery-content","inner":"micromag-screen-gallery-inner","grid":"micromag-screen-gallery-grid","placeholder":"micromag-screen-gallery-placeholder","emptyImage":"micromag-screen-gallery-emptyImage","emptyCaption":"micromag-screen-gallery-emptyCaption","gridItem":"micromag-screen-gallery-gridItem","imageContainer":"micromag-screen-gallery-imageContainer","header":"micromag-screen-gallery-header","footer":"micromag-screen-gallery-footer","image":"micromag-screen-gallery-image","caption":"micromag-screen-gallery-caption"};
|
|
194
194
|
|
|
195
|
+
var emptyArray = [];
|
|
195
196
|
function GalleryScreen(_ref) {
|
|
196
197
|
var _ref$layout = _ref.layout,
|
|
197
198
|
layout = _ref$layout === void 0 ? 'four-mosaic' : _ref$layout,
|
|
198
199
|
_ref$images = _ref.images,
|
|
199
|
-
images = _ref$images === void 0 ?
|
|
200
|
+
images = _ref$images === void 0 ? emptyArray : _ref$images,
|
|
200
201
|
_ref$withCaptions = _ref.withCaptions,
|
|
201
202
|
withCaptions = _ref$withCaptions === void 0 ? false : _ref$withCaptions,
|
|
202
203
|
_ref$imageCaptionStyl = _ref.imageCaptionStyle,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -61,16 +61,16 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@babel/runtime": "^7.28.6",
|
|
64
|
-
"@micromag/core": "^0.4.
|
|
65
|
-
"@micromag/element-background": "^0.4.
|
|
66
|
-
"@micromag/element-container": "^0.4.
|
|
67
|
-
"@micromag/element-footer": "^0.4.
|
|
68
|
-
"@micromag/element-grid": "^0.4.
|
|
69
|
-
"@micromag/element-header": "^0.4.
|
|
70
|
-
"@micromag/element-layout": "^0.4.
|
|
71
|
-
"@micromag/element-text": "^0.4.
|
|
72
|
-
"@micromag/element-visual": "^0.4.
|
|
73
|
-
"@micromag/transforms": "^0.4.
|
|
64
|
+
"@micromag/core": "^0.4.17",
|
|
65
|
+
"@micromag/element-background": "^0.4.17",
|
|
66
|
+
"@micromag/element-container": "^0.4.17",
|
|
67
|
+
"@micromag/element-footer": "^0.4.17",
|
|
68
|
+
"@micromag/element-grid": "^0.4.17",
|
|
69
|
+
"@micromag/element-header": "^0.4.17",
|
|
70
|
+
"@micromag/element-layout": "^0.4.17",
|
|
71
|
+
"@micromag/element-text": "^0.4.17",
|
|
72
|
+
"@micromag/element-visual": "^0.4.17",
|
|
73
|
+
"@micromag/transforms": "^0.4.17",
|
|
74
74
|
"classnames": "^2.2.6",
|
|
75
75
|
"lodash": "^4.17.23",
|
|
76
76
|
"react-intl": "^8.1.3",
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
"access": "public",
|
|
81
81
|
"registry": "https://registry.npmjs.org/"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "d9c4b170763e7510eb07100538af44524ca9292c",
|
|
84
84
|
"types": "es/index.d.ts"
|
|
85
85
|
}
|