@vueless/storybook 0.0.12 → 0.0.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.
@@ -1,28 +1,20 @@
1
1
  import { setup } from "@storybook/vue3";
2
+
2
3
  import { backgrounds, docs, layout } from "./configs/main.config";
3
4
  import { vue3SourceDecorator } from "./decorators/vue3SourceDecorator";
4
5
 
5
6
  // Vue plugins
6
- import { createStore } from "vuex";
7
- import NotifyServiceDefault from "vueless/ui.notify/services";
7
+ import { createVueless } from "vueless";
8
8
 
9
9
  // Tailwind styles
10
10
  import "./index.pcss";
11
11
 
12
- // Common stores
13
- import loader from "vueless/ui.loader-rendering/store";
14
- import loaderTop from "vueless/ui.other-loader-top/store";
15
- import breakpoint from "vueless/ui.viewport/store";
16
-
17
- // Create store instance
18
- const store = createStore({
19
- modules: { loader, loaderTop, breakpoint },
20
- });
12
+ // Create vueless instance
13
+ const vueless = createVueless();
21
14
 
22
15
  // Create storybook app instance
23
16
  const storybookApp = (app) => {
24
- app.use(store);
25
- app.use(new NotifyServiceDefault().notifyInstance);
17
+ app.use(vueless);
26
18
  };
27
19
 
28
20
  // Setup storybook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/storybook",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Simplifies Storybook configuration for Vueless UI library.",
5
5
  "homepage": "https://vueless.com",
6
6
  "author": "Johnny Grid",