build(ui): add vue-sonner and the Sonner component

This commit is contained in:
sam committed 2026-10-26 21:58:02 +11:00
1 parent f7ead6aa38
commit b1dfd7920d
3 files changed
+30 -6

No files matched your search

+27 -4
View File
@@ -10,7 +10,7 @@
"dependencies": {
"@fontsource-variable/ibm-plex-sans": "^5.3.0",
"@fontsource/ibm-plex-mono": "^5.3.0",
"@lucide/vue": "^1.48.0",
"@lucide/vue": "^1.61.0",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/vue-form": "^1.33.5",
"@vue-flow/background": "^1.3.2",
@@ -29,6 +29,7 @@
"tw-animate-css": "^1.4.0",
"vue": "^3.5.42",
"vue-router": "^5.3.1",
"vue-sonner": "^2.0.9",
"yaml": "^2.9.1"
},
"devDependencies": {
@@ -206,9 +207,9 @@
}
},
"node_modules/@lucide/vue": {
"version": "1.53.0",
"resolved": "https://registry.npmjs.org/@lucide/vue/-/vue-1.53.0.tgz",
"integrity": "sha512-WtBYxiwNVd9yP/UKeMbxAntZqrd50pWxhkXrxxOcYJc4XhsO0pkKbUed+sEh08C1u07zj5I3Rz6AU1v9wHEDqA==",
"version": "1.61.0",
"resolved": "https://registry.npmjs.org/@lucide/vue/-/vue-1.61.0.tgz",
"integrity": "sha512-XYclbwUQ6Mvf0UskBG9gJH91BdF3VK4Tt6Pv8PSntwPwNnf357PCQnma4TrzOEdwD49UYCtsTafpfytRIxm1cQ==",
"license": "ISC",
"peerDependencies": {
"vue": ">=3.0.1"
@@ -3566,6 +3567,28 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/vue-sonner": {
"version": "2.0.9",
"resolved": "https://registry.npmjs.org/vue-sonner/-/vue-sonner-2.0.9.tgz",
"integrity": "sha512-i6BokNlNDL93fpzNxN/LZSn6D6MzlO+i3qXt6iVZne3x1k7R46d5HlFB4P8tYydhgqOrRbIZEsnRd3kG7qGXyw==",
"license": "MIT",
"peerDependencies": {
"@nuxt/kit": "^4.0.3",
"@nuxt/schema": "^4.0.3",
"nuxt": "^4.0.3"
},
"peerDependenciesMeta": {
"@nuxt/kit": {
"optional": true
},
"@nuxt/schema": {
"optional": true
},
"nuxt": {
"optional": true
}
}
},
"node_modules/vue-tsc": {
"version": "3.3.12",
"resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-3.3.12.tgz",
+2 -1
View File
@@ -13,7 +13,7 @@
"dependencies": {
"@fontsource-variable/ibm-plex-sans": "^5.3.0",
"@fontsource/ibm-plex-mono": "^5.3.0",
"@lucide/vue": "^1.48.0",
"@lucide/vue": "^1.61.0",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/vue-form": "^1.33.5",
"@vue-flow/background": "^1.3.2",
@@ -32,6 +32,7 @@
"tw-animate-css": "^1.4.0",
"vue": "^3.5.42",
"vue-router": "^5.3.1",
"vue-sonner": "^2.0.9",
"yaml": "^2.9.1"
},
"devDependencies": {
+1 -1
View File
@@ -10,7 +10,7 @@ import {
XIcon,
} from '@lucide/vue'
import { reactiveOmit } from '@vueuse/core'
import { cn } from 'cn'
import { cn } from '@/lib/utils'
import { Toaster as Sonner } from 'vue-sonner'
const props = defineProps<ToasterProps>()