Skip to content

Commit 4b93a05

Browse files
authored
fix(input-date): pin v-calendar to fix vue 3.5 compat issue (#553)
1 parent 4fc4fdb commit 4b93a05

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

lib/shim.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module 'v-calendar' {
2+
import { DefineComponent } from 'vue'
3+
export const DatePicker: DefineComponent<{}, {}, any>
4+
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"pinia": "^2.2.2",
6262
"postcss": "^8.4.45",
6363
"postcss-nested": "^6.2.0",
64-
"v-calendar": "^3.1.2",
64+
"v-calendar": "3.0.1",
6565
"vue": "^3.5.1",
6666
"vue-router": "^4.4.3"
6767
},
@@ -109,7 +109,7 @@
109109
"punycode": "^2.3.1",
110110
"release-it": "^17.6.0",
111111
"typescript": "~5.5.4",
112-
"v-calendar": "^3.1.2",
112+
"v-calendar": "3.0.1",
113113
"vite": "^5.4.3",
114114
"vitepress": "^1.3.4",
115115
"vitest": "^2.0.5",

pnpm-lock.yaml

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)