@mgonza02/goal-image-gallery 1.0.2 → 1.0.3

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/lib/index.d.ts CHANGED
@@ -17,6 +17,8 @@ export interface GoalImageGalleryProps {
17
17
  showError?: (message: string) => void;
18
18
  hasPermission?: (permission: string) => boolean;
19
19
  currentCompany?: string;
20
+ slot?: Object; // Slot component for custom rendering
21
+ slotProps?: Object; // Props for the slot component
20
22
  }
21
23
 
22
24
  // Image item interface
@@ -71,8 +71,6 @@ export const StyledModalContainer = styled(Box)(_ref3 => {
71
71
  } = _ref3;
72
72
  return {
73
73
  position: 'absolute',
74
- top: '50%',
75
- left: '50%',
76
74
  transform: 'translate(-50%, -50%)',
77
75
  width: isMobile ? '95vw' : '90vw',
78
76
  maxWidth: 1200,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgonza02/goal-image-gallery",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Enhanced, modular image gallery component for React applications",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",