@storybook/vue3 9.0.0-rc.0 → 9.0.0-rc.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/vue3",
3
- "version": "9.0.0-rc.0",
3
+ "version": "9.0.0-rc.2",
4
4
  "description": "Storybook Vue 3 renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -73,7 +73,7 @@
73
73
  "vue-tsc": "latest"
74
74
  },
75
75
  "peerDependencies": {
76
- "storybook": "^9.0.0-rc.0",
76
+ "storybook": "^9.0.0-rc.2",
77
77
  "vue": "^3.0.0"
78
78
  },
79
79
  "engines": {
@@ -5,5 +5,5 @@ import Form from './Form.vue';
5
5
  import Html from './Html.vue';
6
6
  import Pre from './Pre.vue';
7
7
 
8
- globalThis.Components = { Button, Pre, Form, Html };
8
+ globalThis.__TEMPLATE_COMPONENTS__ = { Button, Pre, Form, Html };
9
9
  globalThis.storybookRenderer = 'vue3';
@@ -17,7 +17,7 @@ const someColor = 'someColor';
17
17
  // add components to global scope
18
18
  setup((app) => {
19
19
  // This adds a component that can be used globally in stories
20
- app.component('GlobalButton', globalThis.Components.Button);
20
+ app.component('GlobalButton', globalThis.__TEMPLATE_COMPONENTS__.Button);
21
21
  });
22
22
 
23
23
  // this adds a plugin to vue app that can be used globally in stories