# ImageGroup changelog
Read the complete [LICENSE](https://snowui.dev/LICENSE) for the installed version before use.
Reviewed against Chinese source SHA-256 `18ba1e32cbee08fa2f528ee67a128f80b25fb4ca3320e9aa2926ce9d024df1ef`. For version differences, check the installed package as well.
- 2026-09-21: Unified the usage guide, source property table, and Site / AI reading entry points. Documentation only; component behavior is unchanged.
- **ImageGroup-Docs.2026-05-25** Archived the historical changelog at the top of the source file. Subsequent changes go in this document’s changelog; the source header retains only responsibilities, current key architecture, and the documentation path.
### v1.1.2 (2026-03-13)
#### Adjustments
- **IG-Adjust.8** Expanded the in-group image size scale to `12/16/20/24/28/32/40/48/56/64/72/80`, matching `Image`.
### v1.1.1 (2026-03-13)
#### Adjustments
- **IG-Adjust.7** Removed the compatibility prop `disableImageViewer`; only `previewMode` now controls the default preview mode for images in the group.
### v1.1.0 (2026-03-12)
#### Adjustments
- **IG-Adjust.5** Added `previewMode="viewer" | "window" | "none"` as the default preview mode for in-group `Image` components.
### v1.0.7 (2026-03-10)
#### New features
- **IG-Feat.5** Added `disableImageViewer` to force in-group `Image` components to open in a new window.
#### Adjustments
- **IG-Adjust.2** In-group preview coordination now uses a single page-level `ImageViewer`. `ImageGroup` only registers media and snapshots the list; an embedded Viewer is no longer required.
### v1.0.8 (2026-03-11)
#### Adjustments
- **IG-Adjust.3** `getPreviewItems()` now returns the current stable snapshot reference directly, avoiding another copy of the group media array when opening Viewer.
### v1.0.9 (2026-03-11)
#### Adjustments
- **IG-Adjust.4** The group media registry is now maintained in place with `push/splice`, further reducing short-lived array allocations as images mount and unmount.
### v1.0.4 (2026-03-10)
#### New features
- **IG-Feat.4** Added an in-group preview context: `Image` can register its media automatically, and an in-group `ImageViewer` can consume `items/open/index` automatically.
### v1.0.3 (2026-03-10)
#### Fixes
- **IG-Fix.2** Fixed `layout="grid"` appearing as a row because it had no default column rule. Grid mode now defaults to a two-column template.
### v1.0.2 (2026-03-10)
#### Fixes
- **IG-Fix.1** Fixed `layout` not taking effect. `ImageGroup` now maps `layout="row" | "column" | "grid"` correctly to the corresponding `Frame` keywords and removes an incorrect internal `display` override.
### v1.0.1 (2026-03-10)
#### Adjustments
- **IG-Adjust.1** Defined a fixed `4px` gap for all `row / column / grid` layouts, with a `gap: var(--gap-1)` fallback in component styles.
### v1.0.0 (2026-03-10)
#### New features
- **IG-Feat.1** Added ImageGroup with a shared image size across the group.
- **IG-Feat.2** Provides `row / column / grid` layouts; `stack` is not supported.
- **IG-Feat.3** Fixed the default gap at `var(--gap-1)` without exposing a `gap` prop.
[Component guide](https://snowui.dev/llms/en/components/image-group.md) · [Full reference](https://snowui.dev/llms/en/components/image-group/reference.md)