Skip to content

Commit

Permalink
release(carousel): v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Jan 23, 2025
1 parent 465652a commit 2a5ce46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"carousel": {
"icon": true,
"version": "0.2.0",
"version": "0.3.0",
"style": true,
"test": true,
"install": false,
Expand Down Expand Up @@ -135,8 +135,9 @@
"dependencies": []
},
"image-list": {
"vue": true,
"dependencies": ["gallery"],
"version": "0.2.1",
"version": "0.3.0",
"style": true,
"icon": false,
"test": true,
Expand Down
7 changes: 4 additions & 3 deletions src/carousel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import toArr from 'licia/toArr'
import h from 'licia/h'
import idxOf from 'licia/idxOf'
import toNum from 'licia/toNum'
import { executeAfterTransition } from '../share/util'
import { executeAfterTransition, exportCjs } from '../share/util'
import isUndef from 'licia/isUndef'
import toBool from 'licia/toBool'

Expand Down Expand Up @@ -241,5 +241,6 @@ export default class Carousel extends Component<IOptions> {
}
}

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

0 comments on commit 2a5ce46

Please sign in to comment.