@micromag/screen-gallery-feed 0.4.88 → 0.4.90-alpha.1

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{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-content{z-index:1}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{border:2px dashed var(--mm-gray-800);color:var(--mm-gray-800);margin:10px auto;width:100%}.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-footer{-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer a{padding:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer.micromag-screen-gallery-feed-disabled{opacity:0;pointer-events:none}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:10px}
1
+ .micromag-screen-gallery-feed-container{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-content{z-index:1}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{border:2px dashed var(--mm-gray-800);color:var(--mm-gray-800);margin:10px auto;width:100%}.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-footer{-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer a{padding:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer.micromag-screen-gallery-feed-disabled{opacity:0;pointer-events:none}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:1.5em;padding:var(--mm-screen-placeholder-padding,1.5em)}
package/es/index.js CHANGED
@@ -124,10 +124,15 @@ function GalleryFeedScreen(t0) {
124
124
  const textStyle = t18 === undefined ? null : t18;
125
125
  const imageElement = /*#__PURE__*/jsx(ScreenElement, {
126
126
  placeholder: "image",
127
+ placeholderProps: {
128
+ width: "4em",
129
+ height: "4em"
130
+ },
127
131
  emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
128
132
  id: "ebsPd4",
129
133
  defaultMessage: "Image"
130
134
  }),
135
+ placeholderClassName: "mb-2",
131
136
  emptyClassName: styles.emptyImage,
132
137
  isEmpty: !hasImage,
133
138
  children: /*#__PURE__*/jsx("div", {
@@ -162,6 +167,7 @@ function GalleryFeedScreen(t0) {
162
167
  defaultMessage: "Caption"
163
168
  }),
164
169
  emptyClassName: styles.emptyCaption,
170
+ placeholderClassName: "mb-2",
165
171
  isEmpty: !hasCaption,
166
172
  children: hasCaption ? /*#__PURE__*/jsx("div", {
167
173
  className: styles.caption,
package/es/styles.css CHANGED
@@ -1 +1 @@
1
- .micromag-screen-gallery-feed-container{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-content{z-index:1}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{border:2px dashed var(--mm-gray-800);color:var(--mm-gray-800);margin:10px auto;width:100%}.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-footer{-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer a{padding:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer.micromag-screen-gallery-feed-disabled{opacity:0;pointer-events:none}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:10px}
1
+ .micromag-screen-gallery-feed-container{position:relative}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-content{z-index:1}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyCaption,.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-emptyImage{border:2px dashed var(--mm-gray-800);color:var(--mm-gray-800);margin:10px auto;width:100%}.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-footer{-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer a{padding:0}.micromag-screen-gallery-feed-container .micromag-screen-gallery-feed-footer.micromag-screen-gallery-feed-disabled{opacity:0;pointer-events:none}.micromag-screen-gallery-feed-container.micromag-screen-gallery-feed-isPlaceholder .micromag-screen-gallery-feed-layout{padding:1.5em;padding:var(--mm-screen-placeholder-padding,1.5em)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-gallery-feed",
3
- "version": "0.4.88",
3
+ "version": "0.4.90-alpha.1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -62,17 +62,17 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@babel/runtime": "^7.28.6",
65
- "@micromag/core": "^0.4.88",
66
- "@micromag/element-background": "^0.4.88",
67
- "@micromag/element-container": "^0.4.88",
68
- "@micromag/element-footer": "^0.4.88",
69
- "@micromag/element-header": "^0.4.88",
70
- "@micromag/element-layout": "^0.4.88",
71
- "@micromag/element-scroll": "^0.4.88",
72
- "@micromag/element-stack": "^0.4.88",
73
- "@micromag/element-text": "^0.4.88",
74
- "@micromag/element-visual": "^0.4.88",
75
- "@micromag/transforms": "^0.4.88",
65
+ "@micromag/core": "^0.4.90-alpha.1",
66
+ "@micromag/element-background": "^0.4.90-alpha.1",
67
+ "@micromag/element-container": "^0.4.90-alpha.1",
68
+ "@micromag/element-footer": "^0.4.90-alpha.1",
69
+ "@micromag/element-header": "^0.4.90-alpha.1",
70
+ "@micromag/element-layout": "^0.4.90-alpha.1",
71
+ "@micromag/element-scroll": "^0.4.90-alpha.1",
72
+ "@micromag/element-stack": "^0.4.90-alpha.1",
73
+ "@micromag/element-text": "^0.4.90-alpha.1",
74
+ "@micromag/element-visual": "^0.4.90-alpha.1",
75
+ "@micromag/transforms": "^0.4.90-alpha.1",
76
76
  "classnames": "^2.2.6",
77
77
  "lodash": "^4.17.23",
78
78
  "react-intl": "^8.1.3 || ^10.0.0",
@@ -82,6 +82,6 @@
82
82
  "access": "public",
83
83
  "registry": "https://registry.npmjs.org/"
84
84
  },
85
- "gitHead": "cf331286bb6037d61e664cd5c961955c136719c6",
85
+ "gitHead": "a13dd2242ee733dc3b3663354783f0b4395f9926",
86
86
  "types": "es/index.d.ts"
87
87
  }