@storybook/angular 7.0.0-alpha.38 → 7.0.0-alpha.39
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.
|
@@ -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>
|
|
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>)[];
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
/// <reference types="webpack-env" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import type { ClientStoryApi, Loadable } from '@storybook/addons';
|
|
4
|
-
import type {
|
|
4
|
+
import type { AngularFramework } from './types';
|
|
5
5
|
export * from './public-types';
|
|
6
6
|
interface ClientApi extends ClientStoryApi<AngularFramework['storyResult']> {
|
|
7
|
-
setAddon(addon: any): void;
|
|
8
7
|
configure(loader: Loadable, module: NodeModule): void;
|
|
9
|
-
getStorybook(): IStorybookSection[];
|
|
10
|
-
clearDecorators(): void;
|
|
11
8
|
forceReRender(): void;
|
|
12
9
|
raw: () => any;
|
|
13
10
|
load: (...args: any[]) => void;
|
|
14
11
|
}
|
|
15
12
|
export declare const storiesOf: ClientApi['storiesOf'];
|
|
16
13
|
export declare const configure: ClientApi['configure'];
|
|
17
|
-
export declare const addDecorator: ClientApi['addDecorator'];
|
|
18
|
-
export declare const addParameters: ClientApi['addParameters'];
|
|
19
|
-
export declare const clearDecorators: ClientApi['clearDecorators'];
|
|
20
|
-
export declare const setAddon: ClientApi['setAddon'];
|
|
21
14
|
export declare const forceReRender: ClientApi['forceReRender'];
|
|
22
|
-
export declare const getStorybook: ClientApi['getStorybook'];
|
|
23
15
|
export declare const raw: ClientApi['raw'];
|
|
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.raw = exports.
|
|
20
|
+
exports.raw = exports.forceReRender = exports.configure = exports.storiesOf = void 0;
|
|
21
21
|
const core_client_1 = require("@storybook/core-client");
|
|
22
22
|
const render_1 = require("./render");
|
|
23
23
|
const decorateStory_1 = __importDefault(require("./decorateStory"));
|
|
@@ -32,12 +32,5 @@ const storiesOf = (kind, m) => {
|
|
|
32
32
|
exports.storiesOf = storiesOf;
|
|
33
33
|
const configure = (...args) => api.configure(FRAMEWORK, ...args);
|
|
34
34
|
exports.configure = configure;
|
|
35
|
-
exports.addDecorator = api.clientApi
|
|
36
|
-
.addDecorator;
|
|
37
|
-
exports.addParameters = api.clientApi
|
|
38
|
-
.addParameters;
|
|
39
|
-
exports.clearDecorators = api.clientApi.clearDecorators;
|
|
40
|
-
exports.setAddon = api.clientApi.setAddon;
|
|
41
35
|
exports.forceReRender = api.forceReRender;
|
|
42
|
-
exports.getStorybook = api.clientApi.getStorybook;
|
|
43
36
|
exports.raw = api.clientApi.raw;
|
|
@@ -9,14 +9,6 @@ export interface NgModuleMetadata {
|
|
|
9
9
|
export interface ICollection {
|
|
10
10
|
[p: string]: any;
|
|
11
11
|
}
|
|
12
|
-
export interface IStorybookStory {
|
|
13
|
-
name: string;
|
|
14
|
-
render: (context: any) => any;
|
|
15
|
-
}
|
|
16
|
-
export interface IStorybookSection {
|
|
17
|
-
kind: string;
|
|
18
|
-
stories: IStorybookStory[];
|
|
19
|
-
}
|
|
20
12
|
export interface StoryFnAngularReturnType {
|
|
21
13
|
/** @deprecated `component` story input is deprecated, and will be removed in Storybook 7.0. */
|
|
22
14
|
component?: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.39",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -34,40 +34,32 @@
|
|
|
34
34
|
"prep": "node ../../../scripts/prepare.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@storybook/addons": "7.0.0-alpha.
|
|
38
|
-
"@storybook/api": "7.0.0-alpha.
|
|
39
|
-
"@storybook/builder-webpack5": "7.0.0-alpha.
|
|
40
|
-
"@storybook/client-logger": "7.0.0-alpha.
|
|
41
|
-
"@storybook/core-client": "7.0.0-alpha.
|
|
42
|
-
"@storybook/core-common": "7.0.0-alpha.
|
|
43
|
-
"@storybook/core-events": "7.0.0-alpha.
|
|
44
|
-
"@storybook/core-server": "7.0.0-alpha.
|
|
37
|
+
"@storybook/addons": "7.0.0-alpha.39",
|
|
38
|
+
"@storybook/api": "7.0.0-alpha.39",
|
|
39
|
+
"@storybook/builder-webpack5": "7.0.0-alpha.39",
|
|
40
|
+
"@storybook/client-logger": "7.0.0-alpha.39",
|
|
41
|
+
"@storybook/core-client": "7.0.0-alpha.39",
|
|
42
|
+
"@storybook/core-common": "7.0.0-alpha.39",
|
|
43
|
+
"@storybook/core-events": "7.0.0-alpha.39",
|
|
44
|
+
"@storybook/core-server": "7.0.0-alpha.39",
|
|
45
|
+
"@storybook/core-webpack": "7.0.0-alpha.39",
|
|
45
46
|
"@storybook/csf": "0.0.2--canary.49.258942b.0",
|
|
46
|
-
"@storybook/docs-tools": "7.0.0-alpha.
|
|
47
|
-
"@storybook/node-logger": "7.0.0-alpha.
|
|
48
|
-
"@storybook/store": "7.0.0-alpha.
|
|
47
|
+
"@storybook/docs-tools": "7.0.0-alpha.39",
|
|
48
|
+
"@storybook/node-logger": "7.0.0-alpha.39",
|
|
49
|
+
"@storybook/store": "7.0.0-alpha.39",
|
|
49
50
|
"@types/node": "^16.0.0",
|
|
50
51
|
"@types/react": "^16.14.23",
|
|
51
52
|
"@types/react-dom": "^16.9.14",
|
|
52
53
|
"@types/semver": "^7.3.4",
|
|
53
|
-
"autoprefixer": "^9.8.6",
|
|
54
54
|
"core-js": "^3.8.2",
|
|
55
55
|
"find-up": "^5.0.0",
|
|
56
|
-
"fork-ts-checker-webpack-plugin": "^7.2.6",
|
|
57
56
|
"global": "^4.4.0",
|
|
58
|
-
"nanoid": "^3.1.23",
|
|
59
|
-
"p-limit": "^3.1.0",
|
|
60
|
-
"postcss": "^7.0.36",
|
|
61
|
-
"postcss-loader": "^6.2.1",
|
|
62
|
-
"raw-loader": "^4.0.2",
|
|
63
57
|
"react": "^16.14.0",
|
|
64
58
|
"react-dom": "^16.14.0",
|
|
65
59
|
"read-pkg-up": "^7.0.1",
|
|
66
|
-
"sass-loader": "^12.6.0",
|
|
67
60
|
"semver": "^7.3.7",
|
|
68
61
|
"telejson": "^6.0.8",
|
|
69
62
|
"ts-dedent": "^2.0.0",
|
|
70
|
-
"ts-loader": "^9.2.8",
|
|
71
63
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
72
64
|
"util-deprecate": "^1.0.2",
|
|
73
65
|
"webpack": "5"
|
|
@@ -81,14 +73,11 @@
|
|
|
81
73
|
"@angular/compiler": "^13.3.6",
|
|
82
74
|
"@angular/compiler-cli": "^13.3.6",
|
|
83
75
|
"@angular/core": "^13.3.6",
|
|
84
|
-
"@angular/elements": "^13.3.6",
|
|
85
76
|
"@angular/forms": "^13.3.6",
|
|
86
77
|
"@angular/platform-browser": "^13.3.6",
|
|
87
78
|
"@angular/platform-browser-dynamic": "^13.3.6",
|
|
88
79
|
"@nrwl/workspace": "14.6.1",
|
|
89
|
-
"@types/autoprefixer": "^9.7.2",
|
|
90
80
|
"@types/tmp": "^0.2.3",
|
|
91
|
-
"@types/webpack-env": "^1.16.0",
|
|
92
81
|
"cross-spawn": "^7.0.3",
|
|
93
82
|
"jest": "^27.5.1",
|
|
94
83
|
"jest-preset-angular": "^12.0.0",
|
|
@@ -131,5 +120,5 @@
|
|
|
131
120
|
"access": "public"
|
|
132
121
|
},
|
|
133
122
|
"builders": "dist/types/builders/builders.json",
|
|
134
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "47386bd49d141ea70daac41ab3e4d52749fc5da9"
|
|
135
124
|
}
|