Skip to content

Commit

Permalink
fix: vue export type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1378 committed Jan 12, 2025
1 parent f2fe5ad commit 1d45203
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.4

- add type declarations for vue export

## 2.0.3

- fix an issue where content would jump when navbar was stuck
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ This component can help you:

Supports both vue-2 and vue-3

[![component in action](https://thumbs.gfycat.com/SerpentinePortlyCow-size_restricted.gif)](https://gfycat.com/serpentineportlycow)

[![Edit vue-sticky-element example](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vue-sticky-element-vue3-dzpd13?fontsize=14&hidenavigation=1&theme=dark)

## Getting Started
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-sticky-element",
"version": "2.0.3",
"version": "2.0.4",
"description": "A simple vue sticky component wrapper that will stick to screen when scrolled past it",
"author": "jd1378",
"license": "MIT",
Expand All @@ -22,7 +22,8 @@
"default": "./dist/vue-sticky-element.css"
},
"./vue": {
"default": "./src/vue-sticky-element.vue"
"default": "./src/vue-sticky-element.vue",
"types": "./dist/vue-sticky-element.vue.d.ts"
}
},
"files": [
Expand Down

0 comments on commit 1d45203

Please sign in to comment.