@mgonza02/goal-image-gallery 1.2.4 → 1.2.5
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/CHANGELOG.md +5 -0
- package/lib/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to the GoalImageGallery project will be documented in this f
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.5] - 2026-10-13
|
|
9
|
+
|
|
10
|
+
### 🐛 Bug Fixes
|
|
11
|
+
- **ReferenceError fix**: Properly imported `validateImageFile`, `validateImageFileSync`, and `countGalleryImages` in `index.js` before re-exporting in the `utils` object.
|
|
12
|
+
|
|
8
13
|
## [1.2.4] - 2026-10-12
|
|
9
14
|
|
|
10
15
|
### Added
|
package/lib/index.js
CHANGED
|
@@ -18,6 +18,7 @@ export { useImageGallery, useImageZoom, useClipboard, useKeyboardNavigation } fr
|
|
|
18
18
|
|
|
19
19
|
// Style exports
|
|
20
20
|
export { StyledImageContainer, ImageOverlay, StyledModalContainer, StyledModalHeader, StyledModalBody, StyledModalFooter, StyledEmptyStateContainer, StyledImageGridContainer } from './styles/styled-components';
|
|
21
|
+
import { countGalleryImages, validateImageFile, validateImageFileSync } from './utils/image-utils';
|
|
21
22
|
|
|
22
23
|
// Utility exports
|
|
23
24
|
export { handleImageError, downloadImage, processImageCodes, getGridColumns, isValidImageFile, formatFileSize, generateId, debounce, isTouchDevice, getImageDimensions, createImagePreview, countGalleryImages, validateImageFile, validateImageFileSync } from './utils/image-utils';
|
|
@@ -120,8 +121,12 @@ export const CONFIG = {
|
|
|
120
121
|
};
|
|
121
122
|
|
|
122
123
|
// Export version info
|
|
123
|
-
export const VERSION = '1.2.
|
|
124
|
+
export const VERSION = '1.2.5';
|
|
124
125
|
export const CHANGELOG = [{
|
|
126
|
+
version: '1.2.5',
|
|
127
|
+
date: '2026-10-13',
|
|
128
|
+
changes: ['Fixed ReferenceError by properly importing validateImageFile, validateImageFileSync, and countGalleryImages in index entry point']
|
|
129
|
+
}, {
|
|
125
130
|
version: '1.2.4',
|
|
126
131
|
date: '2026-10-12',
|
|
127
132
|
changes: ['Replaced grid add placeholder tile with a floating action button over the image gallery when canAdd is true']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mgonza02/goal-image-gallery",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Advanced, accessible, and highly customizable React image gallery component with multi-method upload, responsive design, and extensive TypeScript support",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.js",
|