@inzombieland/core 1.18.5 → 1.18.7

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.
@@ -0,0 +1,4 @@
1
+ import type { createApp } from "vue";
2
+ type App = ReturnType<typeof createApp>;
3
+ export declare function defineVuePlugins(app: App): void;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import { defineVarletPlugin } from "./plugins/index.mjs";
2
+ export function defineVuePlugins(app) {
3
+ defineVarletPlugin(app);
4
+ }
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { type Ref } from "vue";
2
2
  import type { Fetch, FetchConfig } from "./types";
3
+ export { defineVuePlugins } from "./define-vue-plugins";
3
4
  export { default as AppProvider } from "./AppProvider.vue";
4
5
  export * from "./composables";
5
6
  export * from "./types";
package/index.mjs CHANGED
@@ -9,6 +9,7 @@ import { createApiGetVisitorIdentifier } from "./get-visitor.mjs";
9
9
  import { createInitApplication } from "./init-application.mjs";
10
10
  import { createApiRefreshToken } from "./refresh-token.mjs";
11
11
  import { createApiUserActions } from "./user-actions.mjs";
12
+ export { defineVuePlugins } from "./define-vue-plugins.mjs";
12
13
  export { default as AppProvider } from "./AppProvider.vue";
13
14
  export * from "./composables/index.mjs";
14
15
  export * from "./types.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/core",
3
- "version": "1.18.5",
3
+ "version": "1.18.7",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -0,0 +1 @@
1
+ export * from "./varlet-ui";
@@ -0,0 +1 @@
1
+ export * from "./varlet-ui.mjs";
@@ -0,0 +1,9 @@
1
+ import type { createApp } from "vue";
2
+ import "@varlet/ui/es/button/style/index";
3
+ import "@varlet/ui/es/chip/style/index";
4
+ import "@varlet/ui/es/icon/style/index";
5
+ import "@varlet/ui/es/link/style/index";
6
+ import "@varlet/ui/es/styles/elevation.css";
7
+ type App = ReturnType<typeof createApp>;
8
+ export declare function defineVarletPlugin(app: App): void;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ import { Button, Chip, Icon, Link } from "@varlet/ui";
2
+ import "@varlet/ui/es/button/style/index";
3
+ import "@varlet/ui/es/chip/style/index";
4
+ import "@varlet/ui/es/icon/style/index";
5
+ import "@varlet/ui/es/link/style/index";
6
+ import "@varlet/ui/es/styles/elevation.css";
7
+ export function defineVarletPlugin(app) {
8
+ app.use(Button);
9
+ app.use(Chip);
10
+ app.use(Icon);
11
+ app.use(Link);
12
+ }