@storybook/addon-essentials 7.0.0-alpha.3 → 7.0.0-alpha.4

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/dist/cjs/index.js CHANGED
@@ -23,7 +23,7 @@ const requireMain = configDir => {
23
23
  return (0, _coreCommon.serverRequire)(mainFile) ?? {};
24
24
  };
25
25
 
26
- function addons(options = {}) {
26
+ function addons(options) {
27
27
  const checkInstalled = (addon, main) => {
28
28
  var _main$addons;
29
29
 
package/dist/esm/index.js CHANGED
@@ -8,7 +8,7 @@ const requireMain = configDir => {
8
8
  return serverRequire(mainFile) ?? {};
9
9
  };
10
10
 
11
- export function addons(options = {}) {
11
+ export function addons(options) {
12
12
  const checkInstalled = (addon, main) => {
13
13
  const existingAddon = main.addons?.find(entry => {
14
14
  const name = typeof entry === 'string' ? entry : entry.name;
@@ -1,5 +1,5 @@
1
1
  interface PresetOptions {
2
- configDir?: string;
2
+ configDir: string;
3
3
  docs?: boolean;
4
4
  controls?: boolean;
5
5
  actions?: boolean;
@@ -9,5 +9,5 @@ interface PresetOptions {
9
9
  measure?: boolean;
10
10
  outline?: boolean;
11
11
  }
12
- export declare function addons(options?: PresetOptions): string[];
12
+ export declare function addons(options: PresetOptions): string[];
13
13
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-essentials",
3
- "version": "7.0.0-alpha.3",
3
+ "version": "7.0.0-alpha.4",
4
4
  "description": "Curated addons to bring out the best of Storybook",
5
5
  "keywords": [
6
6
  "addon",
@@ -32,25 +32,24 @@
32
32
  "prepare": "node ../../scripts/prepare.js"
33
33
  },
34
34
  "dependencies": {
35
- "@storybook/addon-actions": "7.0.0-alpha.3",
36
- "@storybook/addon-backgrounds": "7.0.0-alpha.3",
37
- "@storybook/addon-controls": "7.0.0-alpha.3",
38
- "@storybook/addon-docs": "7.0.0-alpha.3",
39
- "@storybook/addon-measure": "7.0.0-alpha.3",
40
- "@storybook/addon-outline": "7.0.0-alpha.3",
41
- "@storybook/addon-toolbars": "7.0.0-alpha.3",
42
- "@storybook/addon-viewport": "7.0.0-alpha.3",
43
- "@storybook/addons": "7.0.0-alpha.3",
44
- "@storybook/api": "7.0.0-alpha.3",
45
- "@storybook/core-common": "7.0.0-alpha.3",
46
- "@storybook/node-logger": "7.0.0-alpha.3",
35
+ "@storybook/addon-actions": "7.0.0-alpha.4",
36
+ "@storybook/addon-backgrounds": "7.0.0-alpha.4",
37
+ "@storybook/addon-controls": "7.0.0-alpha.4",
38
+ "@storybook/addon-docs": "7.0.0-alpha.4",
39
+ "@storybook/addon-measure": "7.0.0-alpha.4",
40
+ "@storybook/addon-outline": "7.0.0-alpha.4",
41
+ "@storybook/addon-toolbars": "7.0.0-alpha.4",
42
+ "@storybook/addon-viewport": "7.0.0-alpha.4",
43
+ "@storybook/addons": "7.0.0-alpha.4",
44
+ "@storybook/api": "7.0.0-alpha.4",
45
+ "@storybook/core-common": "7.0.0-alpha.4",
46
+ "@storybook/node-logger": "7.0.0-alpha.4",
47
47
  "core-js": "^3.8.2",
48
- "regenerator-runtime": "^0.13.7",
49
48
  "ts-dedent": "^2.0.0"
50
49
  },
51
50
  "devDependencies": {
52
51
  "@babel/core": "^7.12.10",
53
- "@storybook/vue": "7.0.0-alpha.3",
52
+ "@storybook/vue": "7.0.0-alpha.4",
54
53
  "@types/jest": "^26.0.16"
55
54
  },
56
55
  "peerDependencies": {
@@ -97,5 +96,5 @@
97
96
  "publishConfig": {
98
97
  "access": "public"
99
98
  },
100
- "gitHead": "629b056190993bcee6445471b8cb27208eb401a9"
99
+ "gitHead": "006ed54452dd7c37a8cbe91a84f5312182f7ca00"
101
100
  }