@storybook/web-components 6.5.0-alpha.51 → 6.5.0-alpha.54

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.
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.config = void 0;
6
+ exports.previewAnnotations = void 0;
7
7
 
8
8
  var _coreCommon = require("@storybook/core-common");
9
9
 
10
10
  var _docsTools = require("@storybook/docs-tools");
11
11
 
12
- var config = function (entry = [], options) {
12
+ var previewAnnotations = function (entry = [], options) {
13
13
  if (!(0, _docsTools.hasDocsOrControls)(options)) return entry;
14
14
  return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/docs/config')];
15
15
  };
16
16
 
17
- exports.config = config;
17
+ exports.previewAnnotations = previewAnnotations;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.config = void 0;
6
+ exports.previewAnnotations = void 0;
7
7
  exports.webpack = webpack;
8
8
 
9
9
  var _coreCommon = require("@storybook/core-common");
@@ -39,8 +39,8 @@ function webpack(config, options) {
39
39
  return config;
40
40
  }
41
41
 
42
- var config = function (entry = []) {
42
+ var previewAnnotations = function (entry = []) {
43
43
  return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
44
44
  };
45
45
 
46
- exports.config = config;
46
+ exports.previewAnnotations = previewAnnotations;
@@ -1,6 +1,6 @@
1
1
  import { findDistEsm } from '@storybook/core-common';
2
2
  import { hasDocsOrControls } from '@storybook/docs-tools';
3
- export var config = function (entry = [], options) {
3
+ export var previewAnnotations = function (entry = [], options) {
4
4
  if (!hasDocsOrControls(options)) return entry;
5
5
  return [...entry, findDistEsm(__dirname, 'client/docs/config')];
6
6
  };
@@ -29,6 +29,6 @@ export function webpack(config, options) {
29
29
  });
30
30
  return config;
31
31
  }
32
- export var config = function (entry = []) {
32
+ export var previewAnnotations = function (entry = []) {
33
33
  return [...entry, findDistEsm(__dirname, 'client/preview/config')];
34
34
  };
@@ -1,6 +1,6 @@
1
1
  import { findDistEsm } from '@storybook/core-common';
2
2
  import { hasDocsOrControls } from '@storybook/docs-tools';
3
- export var config = function (entry = [], options) {
3
+ export var previewAnnotations = function (entry = [], options) {
4
4
  if (!hasDocsOrControls(options)) return entry;
5
5
  return [...entry, findDistEsm(__dirname, 'client/docs/config')];
6
6
  };
@@ -29,6 +29,6 @@ export function webpack(config, options) {
29
29
  });
30
30
  return config;
31
31
  }
32
- export var config = function (entry = []) {
32
+ export var previewAnnotations = function (entry = []) {
33
33
  return [...entry, findDistEsm(__dirname, 'client/preview/config')];
34
34
  };
@@ -1,2 +1,2 @@
1
1
  import { StorybookConfig } from '@storybook/core-common';
2
- export declare const config: StorybookConfig['config'];
2
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,4 +1,4 @@
1
1
  import { Options, StorybookConfig } from '@storybook/core-common';
2
2
  import { Configuration } from 'webpack';
3
3
  export declare function webpack(config: Configuration, options: Options): Configuration;
4
- export declare const config: StorybookConfig['config'];
4
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,2 +1,2 @@
1
1
  import { StorybookConfig } from '@storybook/core-common';
2
- export declare const config: StorybookConfig['config'];
2
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,4 +1,4 @@
1
1
  import type { Options, StorybookConfig } from '@storybook/core-common';
2
2
  import type { Configuration } from 'webpack';
3
3
  export declare function webpack(config: Configuration, options: Options): Configuration;
4
- export declare const config: StorybookConfig['config'];
4
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/web-components",
3
- "version": "6.5.0-alpha.51",
3
+ "version": "6.5.0-alpha.54",
4
4
  "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "lit-html",
@@ -50,15 +50,15 @@
50
50
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
51
51
  "@babel/plugin-syntax-import-meta": "^7.10.4",
52
52
  "@babel/preset-env": "^7.12.11",
53
- "@storybook/addons": "6.5.0-alpha.51",
54
- "@storybook/client-api": "6.5.0-alpha.51",
55
- "@storybook/client-logger": "6.5.0-alpha.51",
56
- "@storybook/core": "6.5.0-alpha.51",
57
- "@storybook/core-common": "6.5.0-alpha.51",
53
+ "@storybook/addons": "6.5.0-alpha.54",
54
+ "@storybook/client-api": "6.5.0-alpha.54",
55
+ "@storybook/client-logger": "6.5.0-alpha.54",
56
+ "@storybook/core": "6.5.0-alpha.54",
57
+ "@storybook/core-common": "6.5.0-alpha.54",
58
58
  "@storybook/csf": "0.0.2--canary.507502b.0",
59
- "@storybook/docs-tools": "6.5.0-alpha.51",
60
- "@storybook/preview-web": "6.5.0-alpha.51",
61
- "@storybook/store": "6.5.0-alpha.51",
59
+ "@storybook/docs-tools": "6.5.0-alpha.54",
60
+ "@storybook/preview-web": "6.5.0-alpha.54",
61
+ "@storybook/store": "6.5.0-alpha.54",
62
62
  "@types/node": "^14.14.20 || ^16.0.0",
63
63
  "@types/webpack-env": "^1.16.0",
64
64
  "babel-plugin-bundled-import-meta": "^0.3.1",
@@ -82,6 +82,6 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "cfcdc7fb74d3cf60eae8dd0b5a626d67ed180d42",
85
+ "gitHead": "2048f366e90e668c3f462d81f5b372a19902b67f",
86
86
  "sbmodern": "dist/modern/client/index.js"
87
87
  }