@vueless/storybook 0.0.12 → 0.0.13

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.
@@ -4,6 +4,7 @@ import { vue3SourceDecorator } from "./decorators/vue3SourceDecorator";
4
4
 
5
5
  // Vue plugins
6
6
  import { createStore } from "vuex";
7
+ import { createVueless } from "vueless";
7
8
  import NotifyServiceDefault from "vueless/ui.notify/services";
8
9
 
9
10
  // Tailwind styles
@@ -19,9 +20,13 @@ const store = createStore({
19
20
  modules: { loader, loaderTop, breakpoint },
20
21
  });
21
22
 
23
+ // Create vueless instance
24
+ const vueless = createVueless();
25
+
22
26
  // Create storybook app instance
23
27
  const storybookApp = (app) => {
24
28
  app.use(store);
29
+ app.use(vueless);
25
30
  app.use(new NotifyServiceDefault().notifyInstance);
26
31
  };
27
32
 
@@ -37,9 +42,9 @@ export default {
37
42
  backgrounds,
38
43
  options: {
39
44
  storySort: (a, b) =>
40
- a.id === b.id
41
- ? 0
42
- : a.name === "Docs" && a.id.localeCompare(b.id, undefined, { numeric: true }),
45
+ a.id === b.id
46
+ ? 0
47
+ : a.name === "Docs" && a.id.localeCompare(b.id, undefined, { numeric: true }),
43
48
  },
44
49
  },
45
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/storybook",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Simplifies Storybook configuration for Vueless UI library.",
5
5
  "homepage": "https://vueless.com",
6
6
  "author": "Johnny Grid",