Skip to content

Commit

Permalink
release(gallery): v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Sep 7, 2024
1 parent 4cc0b02 commit e7fd7bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"gallery": {
"icon": true,
"dependencies": ["carousel", "image-viewer", "toolbar"],
"version": "1.0.0",
"version": "1.0.1",
"style": true,
"test": true,
"install": false,
Expand Down
4 changes: 4 additions & 0 deletions src/gallery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1 (7 Sep 2024)

* fix: esm import

## 1.0.0 (23 Aug 2024)

* feat: zoom in and zoom out
6 changes: 4 additions & 2 deletions src/gallery/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import types from 'licia/types'
import each from 'licia/each'
import loadImg from 'licia/loadImg'
import fullscreen from 'licia/fullscreen'
import { exportCjs } from '../share/util'

/** IOptions */
export interface IOptions extends IComponentOptions {
Expand Down Expand Up @@ -273,5 +274,6 @@ class Image {
}
}

module.exports = Gallery
module.exports.default = Gallery
if (typeof module !== 'undefined') {
exportCjs(module, Gallery)
}
2 changes: 1 addition & 1 deletion src/gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gallery",
"version": "1.0.0",
"version": "1.0.1",
"description": "Lightweight gallery",
"luna": {
"icon": true,
Expand Down

0 comments on commit e7fd7bc

Please sign in to comment.