@vueless/storybook 0.0.13 → 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,33 +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
7
  import { createVueless } from "vueless";
8
- import NotifyServiceDefault from "vueless/ui.notify/services";
9
8
 
10
9
  // Tailwind styles
11
10
  import "./index.pcss";
12
11
 
13
- // Common stores
14
- import loader from "vueless/ui.loader-rendering/store";
15
- import loaderTop from "vueless/ui.other-loader-top/store";
16
- import breakpoint from "vueless/ui.viewport/store";
17
-
18
- // Create store instance
19
- const store = createStore({
20
- modules: { loader, loaderTop, breakpoint },
21
- });
22
-
23
12
  // Create vueless instance
24
13
  const vueless = createVueless();
25
14
 
26
15
  // Create storybook app instance
27
16
  const storybookApp = (app) => {
28
- app.use(store);
29
17
  app.use(vueless);
30
- app.use(new NotifyServiceDefault().notifyInstance);
31
18
  };
32
19
 
33
20
  // Setup storybook
@@ -42,9 +29,9 @@ export default {
42
29
  backgrounds,
43
30
  options: {
44
31
  storySort: (a, b) =>
45
- a.id === b.id
46
- ? 0
47
- : a.name === "Docs" && a.id.localeCompare(b.id, undefined, { numeric: true }),
32
+ a.id === b.id
33
+ ? 0
34
+ : a.name === "Docs" && a.id.localeCompare(b.id, undefined, { numeric: true }),
48
35
  },
49
36
  },
50
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/storybook",
3
- "version": "0.0.13",
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",