@enos5/enos-vue-default 1.4.1 → 1.4.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.
@@ -2,12 +2,12 @@ export interface ToastMessage {
2
2
  id: string;
3
3
  title: string;
4
4
  message: string;
5
- variant: "default" | "destructive" | "success" | "error";
5
+ variant: "success" | "error";
6
6
  duration?: number;
7
7
  }
8
8
  declare const __VLS_export: import("vue").DefineComponent<{}, {
9
9
  addToast: (message: string, options?: {
10
- variant?: "default" | "destructive" | "success" | "error";
10
+ variant?: "success" | "error";
11
11
  duration?: number;
12
12
  title?: string;
13
13
  }) => void;
package/dist/index.js CHANGED
@@ -4736,7 +4736,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4736
4736
  const id = Date.now().toString();
4737
4737
  const toast = {
4738
4738
  id,
4739
- title: title || (variant === "error" || variant === "destructive" ? "Error" : "Success"),
4739
+ title: title || (variant === "error" ? "Error" : "Success"),
4740
4740
  message,
4741
4741
  variant,
4742
4742
  duration