@yogiswara/honcho-editor-ui 2.1.16 → 2.1.18

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.
@@ -7,7 +7,7 @@ const AlbumImageGallery = (props) => {
7
7
  const { imageCollection, isSelectedMode, isHiddenGallery, enableEditor, // Destructure the new prop
8
8
  onPreview, onSelectedMode, onToggleSelect, } = props;
9
9
  console.log("imageCollection: ", imageCollection);
10
- return (_jsx("section", { children: _jsx(ResponsiveMasonry, { columnsCountBreakPoints: { 750: 2, 900: 4 }, children: _jsx(Masonry, { children: imageCollection.map((photo, index) => {
10
+ return (_jsx("section", { style: { width: '100%' }, children: _jsx(ResponsiveMasonry, { columnsCountBreakPoints: { 750: 2, 900: 4 }, children: _jsx(Masonry, { children: imageCollection.map((photo, index) => {
11
11
  // This guard clause is still important for runtime safety.
12
12
  if (!photo.key || !photo.src) {
13
13
  console.warn("Skipping item without a key or src:", photo);
@@ -140,7 +140,7 @@ const GalleryImageItem = (props) => {
140
140
  margin,
141
141
  props.isSelected,
142
142
  ]);
143
- return (_jsxs(Box, { id: "Box_image", className: "image", children: [!props.isHiddenGallery &&
143
+ return (_jsxs(Box, { id: "Box_image", sx: boxOuterSx, className: "image", children: [!props.isHiddenGallery &&
144
144
  (hasAdjustments && isSelected ? (_jsx(Box, { color: "primary.dark1", onClick: handleImageSelectedIconClick, sx: {
145
145
  position: "absolute",
146
146
  // width: "19px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",