nicklabs-ui 1.0.27 → 1.0.28

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.
@@ -1,4 +1,4 @@
1
- import type { App } from "vue";
1
+ import type { ObjectPlugin } from "vue";
2
2
  import type { Router } from "vue-router";
3
3
  import NButton from "./components/NButton.vue";
4
4
  import NInput from "./components/NInput.vue";
@@ -27,9 +27,7 @@ import NLoginLayout from "./layouts/NLoginLayout.vue";
27
27
  export interface NickLabsUIOptions {
28
28
  router?: Router;
29
29
  }
30
- export declare const NickLabsUI: {
31
- install(app: App, options?: NickLabsUIOptions): void;
32
- };
30
+ export declare const NickLabsUI: ObjectPlugin<NickLabsUIOptions>;
33
31
  export { useToast } from "./composables/useToast.js";
34
32
  export { useSidebarManager } from "./composables/useSidebarManager.js";
35
33
  export { useAlert } from "./composables/useAlert.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nicklabs-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",