@kinetis/vector-ui 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.4] - 2026-10-19
11
+
12
+ ### Changed
13
+
14
+ - The toast type `useVectorNotifications()` queues is renamed from
15
+ `VectorNotification` to `VectorToast`. `VectorNotification` is now only
16
+ the inbox item from `/vector/notifications`, and Nuxt no longer warns
17
+ about a duplicated auto-import.
18
+
19
+ ## [0.9.3] - 2026-10-18
20
+
21
+ ### Changed
22
+
23
+ - Published to npm through a trusted publisher rather than with an
24
+ access token. The package itself is unchanged from 0.9.2.
25
+
10
26
  ## [0.9.2] - 2026-10-18
11
27
 
12
28
  ### Changed
@@ -1,4 +1,4 @@
1
- export interface VectorNotification {
1
+ export interface VectorToast {
2
2
  text: string
3
3
  color?: 'success' | 'error' | 'warning' | 'info'
4
4
  timeout?: number
@@ -9,9 +9,9 @@ export interface VectorNotification {
9
9
  * store or a fetch hook can notify from anywhere.
10
10
  */
11
11
  export function useVectorNotifications() {
12
- const queue = useState<VectorNotification[]>('vector.notifications', () => [])
12
+ const queue = useState<VectorToast[]>('vector.notifications', () => [])
13
13
 
14
- function notify(text: string, color: VectorNotification['color'] = 'info', timeout?: number) {
14
+ function notify(text: string, color: VectorToast['color'] = 'info', timeout?: number) {
15
15
  queue.value.push({ text, color, timeout })
16
16
  }
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinetis/vector-ui",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "The Kinetis Vector admin UI, as a Nuxt layer on Vuetify.",
5
5
  "keywords": [
6
6
  "kinetis",