@storybook/angular 7.0.0-alpha.34 → 7.0.0-alpha.35

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.
@@ -2,7 +2,7 @@ import { SourceType } from '@storybook/docs-tools';
2
2
  export declare const parameters: {
3
3
  docs: {
4
4
  inlineStories: boolean;
5
- extractArgTypes: (component: import("./types").Directive) => import("lib/api/dist/types").ArgTypes;
5
+ extractArgTypes: (component: import("./types").Directive) => import("lib/api/dist").ArgTypes;
6
6
  extractComponentDescription: (component: import("./types").Directive) => string;
7
7
  source: {
8
8
  type: SourceType;
@@ -11,4 +11,4 @@ export declare const parameters: {
11
11
  };
12
12
  };
13
13
  export declare const decorators: ((storyFn: import("@storybook/csf").PartialStoryFn<import("../types").AngularFramework, import("@storybook/csf").Args>, context: import("../types").StoryContext) => import("..").IStory)[];
14
- export declare const argTypesEnhancers: (<TFramework extends import("@storybook/csf").AnyFramework>(context: import("@storybook/csf").StoryContextForEnhancers<TFramework, import("@storybook/csf").Args>) => import("@storybook/csf").StrictArgTypes<import("@storybook/csf").Args> | import("lib/addons/dist/types").Parameters)[];
14
+ export declare const argTypesEnhancers: (<TFramework extends import("@storybook/csf").AnyFramework>(context: import("@storybook/csf").StoryContextForEnhancers<TFramework, import("@storybook/csf").Args>) => import("@storybook/csf").StrictArgTypes<import("@storybook/csf").Args> | import("lib/addons/dist").Parameters)[];
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /// <reference types="webpack-env" />
2
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
4
  if (k2 === undefined) k2 = k;
4
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
2
1
  /// <reference types="webpack-env" />
2
+ /// <reference types="node" />
3
3
  import type { ClientStoryApi, Loadable } from '@storybook/addons';
4
4
  import type { IStorybookSection, AngularFramework } from './types';
5
5
  export * from './public-types';
@@ -73,7 +73,9 @@ const webpack = async (webpackConfig, options) => {
73
73
  if (angularOptions.enableIvy === false) {
74
74
  return webpackConfig;
75
75
  }
76
- (0, exports.runNgcc)();
76
+ if (angularOptions.enableNgcc !== false) {
77
+ (0, exports.runNgcc)();
78
+ }
77
79
  return {
78
80
  ...webpackConfig,
79
81
  resolve: {
@@ -23,6 +23,7 @@ declare type StorybookConfigFramework = {
23
23
  */
24
24
  export declare type StorybookConfig = Omit<StorybookConfigBase, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
25
25
  export interface AngularOptions {
26
- enableIvy: boolean;
26
+ enableIvy?: boolean;
27
+ enableNgcc?: boolean;
27
28
  }
28
29
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "7.0.0-alpha.34",
3
+ "version": "7.0.0-alpha.35",
4
4
  "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
5
5
  "keywords": [
6
6
  "storybook",
@@ -34,19 +34,19 @@
34
34
  "prep": "node ../../../scripts/prepare.js"
35
35
  },
36
36
  "dependencies": {
37
- "@storybook/addons": "7.0.0-alpha.34",
38
- "@storybook/api": "7.0.0-alpha.34",
39
- "@storybook/builder-webpack5": "7.0.0-alpha.34",
40
- "@storybook/client-logger": "7.0.0-alpha.34",
41
- "@storybook/core-client": "7.0.0-alpha.34",
42
- "@storybook/core-common": "7.0.0-alpha.34",
43
- "@storybook/core-events": "7.0.0-alpha.34",
44
- "@storybook/core-server": "7.0.0-alpha.34",
37
+ "@storybook/addons": "7.0.0-alpha.35",
38
+ "@storybook/api": "7.0.0-alpha.35",
39
+ "@storybook/builder-webpack5": "7.0.0-alpha.35",
40
+ "@storybook/client-logger": "7.0.0-alpha.35",
41
+ "@storybook/core-client": "7.0.0-alpha.35",
42
+ "@storybook/core-common": "7.0.0-alpha.35",
43
+ "@storybook/core-events": "7.0.0-alpha.35",
44
+ "@storybook/core-server": "7.0.0-alpha.35",
45
45
  "@storybook/csf": "0.0.2--canary.0899bb7.0",
46
- "@storybook/docs-tools": "7.0.0-alpha.34",
47
- "@storybook/node-logger": "7.0.0-alpha.34",
46
+ "@storybook/docs-tools": "7.0.0-alpha.35",
47
+ "@storybook/node-logger": "7.0.0-alpha.35",
48
48
  "@storybook/semver": "^7.3.2",
49
- "@storybook/store": "7.0.0-alpha.34",
49
+ "@storybook/store": "7.0.0-alpha.35",
50
50
  "@types/node": "^14.14.20 || ^16.0.0",
51
51
  "@types/react": "^16.14.23",
52
52
  "@types/react-dom": "^16.9.14",
@@ -87,6 +87,7 @@
87
87
  "@nrwl/workspace": "14.6.1",
88
88
  "@types/autoprefixer": "^9.7.2",
89
89
  "@types/tmp": "^0.2.3",
90
+ "@types/webpack-env": "^1.16.0",
90
91
  "cross-spawn": "^7.0.3",
91
92
  "jest": "^27.5.1",
92
93
  "jest-preset-angular": "^12.0.0",
@@ -128,5 +129,5 @@
128
129
  "access": "public"
129
130
  },
130
131
  "builders": "dist/types/builders/builders.json",
131
- "gitHead": "fc90fc875462421c1faa35862ac4bc436de8e75f"
132
+ "gitHead": "d8972df8c6c1c4716131a856751f5914acddaad1"
132
133
  }