maz-ui 3.18.1 → 3.18.2

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/nuxt/index.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "3.18.1"
7
+ "version": "3.18.2"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maz-ui",
3
- "version": "3.18.1",
3
+ "version": "3.18.2",
4
4
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
5
5
  "author": "Louis Mazel <me@loicmazuel.com>",
6
6
  "main": "./modules/index.mjs",
@@ -93,10 +93,10 @@ declare const _default: import("vue").DefineComponent<{
93
93
  }, {
94
94
  type: "info" | "success" | "warning" | "danger" | undefined;
95
95
  link: ToasterLink;
96
- action: ToasterAction;
97
96
  position: ToasterPosition;
98
97
  timeout: number;
99
98
  persistent: boolean;
99
+ action: ToasterAction;
100
100
  maxToasts: number | boolean;
101
101
  queue: boolean;
102
102
  noPauseOnHover: boolean;
@@ -1,9 +1,7 @@
1
1
  import type { App } from 'vue';
2
- import type { ToasterAction, ToasterLink, ToasterOptions } from './types';
2
+ import type { ToasterOptions } from './types';
3
3
  export interface LocalToasterOptions extends ToasterOptions {
4
4
  type?: 'success' | 'info' | 'warning' | 'danger';
5
- action?: ToasterAction;
6
- link?: ToasterLink;
7
5
  }
8
6
  export declare class ToasterHandler {
9
7
  private readonly app;
@@ -4,6 +4,8 @@ export type ToasterOptions = {
4
4
  position?: ToasterPosition;
5
5
  timeout?: number;
6
6
  persistent?: boolean;
7
+ action?: ToasterAction;
8
+ link?: ToasterLink;
7
9
  };
8
10
  export type ToasterLink = {
9
11
  href: string;