@storybook/angular 7.1.0-alpha.2 → 7.1.0-alpha.21
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/builders/build-storybook/index.d.ts +13 -2
- package/dist/builders/build-storybook/index.js +5 -4
- package/dist/builders/build-storybook/index.spec.js +39 -41
- package/dist/builders/start-storybook/index.d.ts +10 -1
- package/dist/builders/start-storybook/index.js +5 -4
- package/dist/builders/start-storybook/index.spec.js +35 -34
- package/dist/builders/utils/run-compodoc.js +1 -1
- package/dist/builders/utils/run-compodoc.spec.js +14 -29
- package/dist/client/angular-beta/AbstractRenderer.d.ts +3 -6
- package/dist/client/angular-beta/AbstractRenderer.js +2 -4
- package/dist/client/angular-beta/ComputesTemplateFromComponent.d.ts +1 -1
- package/dist/client/angular-beta/RendererFactory.d.ts +1 -1
- package/dist/client/angular-beta/RendererFactory.js +5 -5
- package/dist/client/angular-beta/RendererFactory.test.js +23 -156
- package/dist/client/angular-beta/StorybookProvider.d.ts +1 -1
- package/dist/client/angular-beta/StorybookWrapperComponent.d.ts +2 -2
- package/dist/client/angular-beta/utils/NgComponentAnalyzer.js +6 -3
- package/dist/client/angular-beta/utils/NgComponentAnalyzer.test.js +1 -5
- package/dist/client/angular-beta/utils/PropertyExtractor.test.js +1 -0
- package/dist/client/decorators.d.ts +1 -1
- package/dist/client/docs/angular-properties.test.js +17 -11
- package/dist/client/docs/compodoc.d.ts +3 -3
- package/dist/client/docs/compodoc.test.js +11 -11
- package/dist/client/docs/sourceDecorator.js +2 -2
- package/dist/client/index.js +2 -1
- package/dist/client/public-api.js +2 -2
- package/dist/client/render.d.ts +1 -1
- package/dist/client/render.js +2 -3
- package/dist/server/angular-cli-webpack.js +1 -0
- package/dist/server/framework-preset-angular-ivy.js +12 -11
- package/jest.config.js +8 -8
- package/package.json +45 -46
- package/template/cli/header.component.ts +1 -1
- package/template/cli/page.component.ts +1 -1
- package/dist/server/framework-preset-angular-cli.test.d.ts +0 -1
- package/dist/server/framework-preset-angular-cli.test.js +0 -698
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.21",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
7
7
|
"angular"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/storybookjs/storybook/tree/
|
|
9
|
+
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/angular",
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/storybookjs/storybook/issues"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "https://github.com/storybookjs/storybook.git",
|
|
16
|
-
"directory": "frameworks/angular"
|
|
16
|
+
"directory": "code/frameworks/angular"
|
|
17
17
|
},
|
|
18
18
|
"funding": {
|
|
19
19
|
"type": "opencollective",
|
|
@@ -36,21 +36,20 @@
|
|
|
36
36
|
"prep": "../../../scripts/prepare/tsc.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@storybook/builder-webpack5": "7.1.0-alpha.
|
|
40
|
-
"@storybook/cli": "7.1.0-alpha.
|
|
41
|
-
"@storybook/client-logger": "7.1.0-alpha.
|
|
42
|
-
"@storybook/core-
|
|
43
|
-
"@storybook/core-
|
|
44
|
-
"@storybook/core-
|
|
45
|
-
"@storybook/core-
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/docs-tools": "7.1.0-alpha.2",
|
|
39
|
+
"@storybook/builder-webpack5": "7.1.0-alpha.21",
|
|
40
|
+
"@storybook/cli": "7.1.0-alpha.21",
|
|
41
|
+
"@storybook/client-logger": "7.1.0-alpha.21",
|
|
42
|
+
"@storybook/core-common": "7.1.0-alpha.21",
|
|
43
|
+
"@storybook/core-events": "7.1.0-alpha.21",
|
|
44
|
+
"@storybook/core-server": "7.1.0-alpha.21",
|
|
45
|
+
"@storybook/core-webpack": "7.1.0-alpha.21",
|
|
46
|
+
"@storybook/docs-tools": "7.1.0-alpha.21",
|
|
48
47
|
"@storybook/global": "^5.0.0",
|
|
49
|
-
"@storybook/manager-api": "7.1.0-alpha.
|
|
50
|
-
"@storybook/node-logger": "7.1.0-alpha.
|
|
51
|
-
"@storybook/preview-api": "7.1.0-alpha.
|
|
52
|
-
"@storybook/telemetry": "7.1.0-alpha.
|
|
53
|
-
"@storybook/types": "7.1.0-alpha.
|
|
48
|
+
"@storybook/manager-api": "7.1.0-alpha.21",
|
|
49
|
+
"@storybook/node-logger": "7.1.0-alpha.21",
|
|
50
|
+
"@storybook/preview-api": "7.1.0-alpha.21",
|
|
51
|
+
"@storybook/telemetry": "7.1.0-alpha.21",
|
|
52
|
+
"@storybook/types": "7.1.0-alpha.21",
|
|
54
53
|
"@types/node": "^16.0.0",
|
|
55
54
|
"@types/react": "^16.14.34",
|
|
56
55
|
"@types/react-dom": "^16.9.14",
|
|
@@ -66,47 +65,47 @@
|
|
|
66
65
|
"webpack": "5"
|
|
67
66
|
},
|
|
68
67
|
"devDependencies": {
|
|
69
|
-
"@angular-devkit/architect": "^0.
|
|
70
|
-
"@angular-devkit/build-angular": "^
|
|
71
|
-
"@angular-devkit/core": "^
|
|
72
|
-
"@angular/animations": "^
|
|
73
|
-
"@angular/cli": "^
|
|
74
|
-
"@angular/common": "^
|
|
75
|
-
"@angular/compiler": "^
|
|
76
|
-
"@angular/compiler-cli": "^
|
|
77
|
-
"@angular/core": "^
|
|
78
|
-
"@angular/forms": "^
|
|
79
|
-
"@angular/platform-browser": "^
|
|
80
|
-
"@angular/platform-browser-dynamic": "^
|
|
68
|
+
"@angular-devkit/architect": "^0.1600.0-rc.4",
|
|
69
|
+
"@angular-devkit/build-angular": "^16.0.0-rc.4",
|
|
70
|
+
"@angular-devkit/core": "^16.0.0-rc.4",
|
|
71
|
+
"@angular/animations": "^16.0.0-rc.4",
|
|
72
|
+
"@angular/cli": "^16.0.0-rc.4",
|
|
73
|
+
"@angular/common": "^16.0.0-rc.4",
|
|
74
|
+
"@angular/compiler": "^16.0.0-rc.4",
|
|
75
|
+
"@angular/compiler-cli": "^16.0.0-rc.4",
|
|
76
|
+
"@angular/core": "^16.0.0-rc.4",
|
|
77
|
+
"@angular/forms": "^16.0.0-rc.4",
|
|
78
|
+
"@angular/platform-browser": "^16.0.0-rc.4",
|
|
79
|
+
"@angular/platform-browser-dynamic": "^16.0.0-rc.4",
|
|
81
80
|
"@types/rimraf": "^3.0.2",
|
|
82
81
|
"@types/tmp": "^0.2.3",
|
|
83
82
|
"cross-spawn": "^7.0.3",
|
|
84
83
|
"jest": "^29.3.1",
|
|
85
|
-
"jest-preset-angular": "^
|
|
86
|
-
"jest-specific-snapshot": "^
|
|
84
|
+
"jest-preset-angular": "^13.0.1",
|
|
85
|
+
"jest-specific-snapshot": "^8.0.0",
|
|
87
86
|
"rimraf": "^3.0.2",
|
|
88
87
|
"tmp": "^0.2.1",
|
|
89
|
-
"typescript": "
|
|
88
|
+
"typescript": "^5.0.4",
|
|
90
89
|
"webpack": "5",
|
|
91
|
-
"zone.js": "^0.
|
|
90
|
+
"zone.js": "^0.13.0"
|
|
92
91
|
},
|
|
93
92
|
"peerDependencies": {
|
|
94
|
-
"@angular-devkit/architect": ">=0.1400.0 < 0.
|
|
95
|
-
"@angular-devkit/build-angular": ">=14.1.0 <
|
|
96
|
-
"@angular-devkit/core": ">=14.1.0 <
|
|
97
|
-
"@angular/cli": ">=14.1.0 <
|
|
98
|
-
"@angular/common": ">=14.1.0 <
|
|
99
|
-
"@angular/compiler": ">=14.1.0 <
|
|
100
|
-
"@angular/compiler-cli": ">=14.1.0 <
|
|
101
|
-
"@angular/core": ">=14.1.0 <
|
|
102
|
-
"@angular/forms": ">=14.1.0 <
|
|
103
|
-
"@angular/platform-browser": ">=14.1.0 <
|
|
104
|
-
"@angular/platform-browser-dynamic": ">=14.1.0 <
|
|
93
|
+
"@angular-devkit/architect": ">=0.1400.0 < 0.1700.0",
|
|
94
|
+
"@angular-devkit/build-angular": ">=14.1.0 < 17.0.0",
|
|
95
|
+
"@angular-devkit/core": ">=14.1.0 < 17.0.0",
|
|
96
|
+
"@angular/cli": ">=14.1.0 < 17.0.0",
|
|
97
|
+
"@angular/common": ">=14.1.0 < 17.0.0",
|
|
98
|
+
"@angular/compiler": ">=14.1.0 < 17.0.0",
|
|
99
|
+
"@angular/compiler-cli": ">=14.1.0 < 17.0.0",
|
|
100
|
+
"@angular/core": ">=14.1.0 < 17.0.0",
|
|
101
|
+
"@angular/forms": ">=14.1.0 < 17.0.0",
|
|
102
|
+
"@angular/platform-browser": ">=14.1.0 < 17.0.0",
|
|
103
|
+
"@angular/platform-browser-dynamic": ">=14.1.0 < 17.0.0",
|
|
105
104
|
"@babel/core": "*",
|
|
106
105
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
107
106
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
108
107
|
"rxjs": "^6.0.0 || ^7.4.0",
|
|
109
|
-
"typescript": "^4.0.0",
|
|
108
|
+
"typescript": "^4.0.0 || ^5.0.0",
|
|
110
109
|
"zone.js": "^0.8.29 || >= 0.9.0 < 1.0.0"
|
|
111
110
|
},
|
|
112
111
|
"peerDependenciesMeta": {
|
|
@@ -124,5 +123,5 @@
|
|
|
124
123
|
"bundler": {
|
|
125
124
|
"tsConfig": "tsconfig.build.json"
|
|
126
125
|
},
|
|
127
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "49d49518beeb39d14ad5f978fbf2c13e05fb5a61"
|
|
128
127
|
}
|
|
@@ -4,7 +4,7 @@ import type { User } from './User';
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'storybook-header',
|
|
6
6
|
template: `<header>
|
|
7
|
-
<div class="
|
|
7
|
+
<div class="storybook-header">
|
|
8
8
|
<div>
|
|
9
9
|
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
10
10
|
<g fill="none" fillRule="evenodd">
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|