@storybook/angular 7.1.0-alpha.7 → 7.1.0-alpha.9

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.
@@ -14,4 +14,4 @@ export declare const computesTemplateFromComponent: (component: Type<unknown>, i
14
14
  * @param initialProps
15
15
  * @param innerTemplate
16
16
  */
17
- export declare const computesTemplateSourceFromComponent: (component: Type<unknown>, initialProps?: ICollection, argTypes?: ArgTypes) => string;
17
+ export declare const computesTemplateSourceFromComponent: (component: Type<unknown>, initialProps?: ICollection, argTypes?: ArgTypes) => string | null;
@@ -1,5 +1,5 @@
1
1
  import { Provider, InjectionToken } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { ICollection } from '../types';
4
- export declare const STORY_PROPS: InjectionToken<Subject<ICollection>>;
4
+ export declare const STORY_PROPS: InjectionToken<Subject<ICollection | undefined>>;
5
5
  export declare const storyPropsProvider: (storyProps$: Subject<ICollection | undefined>) => Provider;
@@ -11,6 +11,6 @@ export declare const createStorybookWrapperComponent: ({ selector, template, sto
11
11
  storyComponent: Type<unknown> | undefined;
12
12
  styles: string[];
13
13
  moduleMetadata: NgModuleMetadata;
14
- initialProps?: ICollection;
15
- analyzedMetadata?: PropertyExtractor;
14
+ initialProps?: ICollection | undefined;
15
+ analyzedMetadata?: PropertyExtractor | undefined;
16
16
  }) => Type<any>;
@@ -11,4 +11,4 @@ export declare function applicationConfig<TArgs = any>(
11
11
  * Set of config options available during the application bootstrap operation.
12
12
  */
13
13
  config: ApplicationConfig): DecoratorFunction<AngularRenderer, TArgs>;
14
- export declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext<AngularRenderer, TArgs>) => ICollection)) => DecoratorFunction<AngularRenderer, TArgs>;
14
+ export declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext<AngularRenderer, TArgs>) => ICollection) | undefined) => DecoratorFunction<AngularRenderer, TArgs>;
@@ -5,8 +5,8 @@ export declare const setCompodocJson: (compodocJson: CompodocJson) => void;
5
5
  export declare const getCompodocJson: () => CompodocJson;
6
6
  export declare const checkValidComponentOrDirective: (component: Component | Directive) => void;
7
7
  export declare const checkValidCompodocJson: (compodocJson: CompodocJson) => void;
8
- export declare const findComponentByName: (name: string, compodocJson: CompodocJson) => Class | Injectable | Pipe | Directive;
8
+ export declare const findComponentByName: (name: string, compodocJson: CompodocJson) => Class | Injectable | Pipe | Directive | undefined;
9
9
  export declare const extractType: (property: Property, defaultValue: any) => SBType;
10
10
  export declare const extractArgTypesFromData: (componentData: Class | Directive | Injectable | Pipe) => ArgTypes<import("@storybook/types").Args>;
11
- export declare const extractArgTypes: (component: Component | Directive) => ArgTypes<import("@storybook/types").Args>;
12
- export declare const extractComponentDescription: (component: Component | Directive) => string;
11
+ export declare const extractArgTypes: (component: Component | Directive) => ArgTypes<import("@storybook/types").Args> | null | undefined;
12
+ export declare const extractComponentDescription: (component: Component | Directive) => string | null | undefined;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  // Private angular devkit stuff
2
3
  const { generateI18nBrowserWebpackConfigFromContext, } = require('@angular-devkit/build-angular/src/utils/webpack-browser-config');
3
4
  const { getCommonConfig, getStylesConfig, getDevServerConfig, getTypeScriptConfig, } = require('@angular-devkit/build-angular/src/webpack/configs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "7.1.0-alpha.7",
3
+ "version": "7.1.0-alpha.9",
4
4
  "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
5
5
  "keywords": [
6
6
  "storybook",
@@ -36,21 +36,21 @@
36
36
  "prep": "../../../scripts/prepare/tsc.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@storybook/builder-webpack5": "7.1.0-alpha.7",
40
- "@storybook/cli": "7.1.0-alpha.7",
41
- "@storybook/client-logger": "7.1.0-alpha.7",
42
- "@storybook/core-client": "7.1.0-alpha.7",
43
- "@storybook/core-common": "7.1.0-alpha.7",
44
- "@storybook/core-events": "7.1.0-alpha.7",
45
- "@storybook/core-server": "7.1.0-alpha.7",
46
- "@storybook/core-webpack": "7.1.0-alpha.7",
47
- "@storybook/docs-tools": "7.1.0-alpha.7",
39
+ "@storybook/builder-webpack5": "7.1.0-alpha.9",
40
+ "@storybook/cli": "7.1.0-alpha.9",
41
+ "@storybook/client-logger": "7.1.0-alpha.9",
42
+ "@storybook/core-client": "7.1.0-alpha.9",
43
+ "@storybook/core-common": "7.1.0-alpha.9",
44
+ "@storybook/core-events": "7.1.0-alpha.9",
45
+ "@storybook/core-server": "7.1.0-alpha.9",
46
+ "@storybook/core-webpack": "7.1.0-alpha.9",
47
+ "@storybook/docs-tools": "7.1.0-alpha.9",
48
48
  "@storybook/global": "^5.0.0",
49
- "@storybook/manager-api": "7.1.0-alpha.7",
50
- "@storybook/node-logger": "7.1.0-alpha.7",
51
- "@storybook/preview-api": "7.1.0-alpha.7",
52
- "@storybook/telemetry": "7.1.0-alpha.7",
53
- "@storybook/types": "7.1.0-alpha.7",
49
+ "@storybook/manager-api": "7.1.0-alpha.9",
50
+ "@storybook/node-logger": "7.1.0-alpha.9",
51
+ "@storybook/preview-api": "7.1.0-alpha.9",
52
+ "@storybook/telemetry": "7.1.0-alpha.9",
53
+ "@storybook/types": "7.1.0-alpha.9",
54
54
  "@types/node": "^16.0.0",
55
55
  "@types/react": "^16.14.34",
56
56
  "@types/react-dom": "^16.9.14",
@@ -124,5 +124,5 @@
124
124
  "bundler": {
125
125
  "tsConfig": "tsconfig.build.json"
126
126
  },
127
- "gitHead": "ab6f997ca1ff37b0711a7e12c12af8d76d85f0fc"
127
+ "gitHead": "ec112401efaae6d3d4996c790a30301177570da9"
128
128
  }