@ulu/frontend-vue 0.6.13 → 0.6.14
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/dist/index.js +36 -34
- package/dist/mcp-data.json +3237 -3237
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/toast/index.d.ts +2 -0
- package/dist/plugins/toast/index.d.ts.map +1 -1
- package/dist/plugins/toast/useToast.js +10 -0
- package/lib/plugins/index.js +1 -1
- package/lib/plugins/toast/index.js +5 -2
- package/package.json +1 -1
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as corePlugin } from './core/index.js';
|
|
2
|
-
export { default as toastPlugin } from './toast/index.js';
|
|
3
2
|
export { default as breakpointsPlugin } from './breakpoints/index.js';
|
|
4
3
|
export { default as popoversPlugin, useTooltip, useTooltipFollow } from './popovers/index.js';
|
|
5
4
|
export { default as modalsPlugin, useModals } from './modals/index.js';
|
|
5
|
+
export { default as toastPlugin, useToast } from './toast/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/index.js"],"names":[],"mappings":"AAQA;;GAEG;AACH,kEASC;;yBAdwB,eAAe"}
|
package/lib/plugins/index.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
export { default as corePlugin } from './core/index.js';
|
|
9
9
|
export { default as popoversPlugin, useTooltip, useTooltipFollow } from './popovers/index.js';
|
|
10
10
|
export { default as modalsPlugin, useModals } from './modals/index.js';
|
|
11
|
-
export { default as toastPlugin } from
|
|
11
|
+
export { default as toastPlugin, useToast } from "./toast/index.js";
|
|
12
12
|
export { default as breakpointsPlugin } from './breakpoints/index.js';
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { store, api } from "./store.js";
|
|
5
5
|
import UluToast from "./UluToast.vue";
|
|
6
6
|
import UluToastDisplay from "./UluToastDisplay.vue";
|
|
7
|
+
import { useToast } from "./useToast.js";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Install plugin
|
|
@@ -16,5 +17,7 @@ export default function install(app, userOptions = {}) {
|
|
|
16
17
|
app.component("UluToastDisplay", UluToastDisplay);
|
|
17
18
|
|
|
18
19
|
app.config.globalProperties.$uluToast = api;
|
|
19
|
-
app.provide(
|
|
20
|
-
}
|
|
20
|
+
app.provide("uluToast", api);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { useToast };
|
package/package.json
CHANGED