Skip to content

Commit 98511e9

Browse files
author
kyvg
committed
3.1.4
1 parent a49002b commit 98511e9

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

dist/index.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export declare const Notifications: DefineComponent<{
3838
default: () => string[];
3939
};
4040
classes: {
41-
type: StringConstructor;
41+
type: PropType<string | string[]>;
4242
default: string;
4343
};
4444
animationType: {
@@ -123,7 +123,7 @@ export declare const Notifications: DefineComponent<{
123123
default: () => string[];
124124
};
125125
classes: {
126-
type: StringConstructor;
126+
type: PropType<string | string[]>;
127127
default: string;
128128
};
129129
animationType: {
@@ -195,7 +195,7 @@ export declare const Notifications: DefineComponent<{
195195
reverse: boolean;
196196
width: string | number;
197197
position: string | string[];
198-
classes: string;
198+
classes: string | string[];
199199
animationType: "css" | "velocity";
200200
animation: Record<"enter" | "leave", unknown>;
201201
animationName: string;

dist/index.es.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function(){"use strict";var o;try{if(typeof document<"u"){var e=document.createElement("style");e.nonce=(o=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:o.content,e.appendChild(document.createTextNode(".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:#fff;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
1+
(function(){var o;"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.nonce=(o=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:o.content,e.appendChild(document.createTextNode(".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:white;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44A4FC;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#E54D42;border-left-color:#b82e24}.vue-notification.success{background:#68CD86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
22
import { defineComponent as D, createVNode as l, TransitionGroup as H, ref as $, computed as g, onMounted as et, Fragment as C, isVNode as nt } from "vue";
33
const R = /* @__PURE__ */ new Map();
44
class it {
@@ -75,7 +75,7 @@ const b = ot(), T = "[-+]?[0-9]*.?[0-9]+", M = [
7575
}, k = {
7676
x: /* @__PURE__ */ new Set(["left", "center", "right"]),
7777
y: /* @__PURE__ */ new Set(["top", "bottom"])
78-
}, st = /* @__PURE__ */ ((t) => () => t++)(0), lt = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter(Boolean), ct = (t) => {
78+
}, st = ((t) => () => t++)(0), lt = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter(Boolean), ct = (t) => {
7979
typeof t == "string" && (t = lt(t));
8080
let n = null, o = null;
8181
return t.forEach((a) => {
@@ -187,7 +187,7 @@ const x = {
187187
default: () => E.position
188188
},
189189
classes: {
190-
type: String,
190+
type: [String, Array],
191191
default: "vue-notification"
192192
},
193193
animationType: {

dist/index.umd.js

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

package-lock.json

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

0 commit comments

Comments
 (0)