@storybook/angular 9.0.0-alpha.20 → 9.0.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.
|
@@ -50,11 +50,9 @@ const uniqueArray = (arr) => {
|
|
|
50
50
|
};
|
|
51
51
|
exports.uniqueArray = uniqueArray;
|
|
52
52
|
class PropertyExtractor {
|
|
53
|
-
/* eslint-enable @typescript-eslint/lines-between-class-members */
|
|
54
53
|
constructor(metadata, component) {
|
|
55
54
|
this.metadata = metadata;
|
|
56
55
|
this.component = component;
|
|
57
|
-
/* eslint-disable @typescript-eslint/lines-between-class-members */
|
|
58
56
|
this.declarations = [];
|
|
59
57
|
/**
|
|
60
58
|
* Analyze NgModule Metadata
|
|
@@ -12,7 +12,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.InputComponent = exports.ButtonAccent = exports.exportedConstant = void 0;
|
|
15
|
-
/* eslint-disable no-underscore-dangle */
|
|
16
15
|
const core_1 = require("@angular/core");
|
|
17
16
|
exports.exportedConstant = 'An exported constant';
|
|
18
17
|
var ButtonAccent;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.extractComponentDescription = exports.extractArgTypes = exports.extractArgTypesFromData = exports.extractType = exports.findComponentByName = exports.checkValidCompodocJson = exports.checkValidComponentOrDirective = exports.getCompodocJson = exports.setCompodocJson = exports.isMethod = void 0;
|
|
4
|
-
/* eslint-disable no-underscore-dangle */
|
|
5
4
|
const client_logger_1 = require("storybook/internal/client-logger");
|
|
6
5
|
const global_1 = require("@storybook/global");
|
|
7
6
|
const isMethod = (methodOrProp) => {
|
|
@@ -26,9 +26,7 @@ export type Decorator<TArgs = StrictArgs> = DecoratorFunction<AngularRenderer, T
|
|
|
26
26
|
export type Loader<TArgs = StrictArgs> = LoaderFunction<AngularRenderer, TArgs>;
|
|
27
27
|
export type StoryContext<TArgs = StrictArgs> = GenericStoryContext<AngularRenderer, TArgs>;
|
|
28
28
|
export type Preview = ProjectAnnotations<AngularRenderer>;
|
|
29
|
-
/**
|
|
30
|
-
* Utility type that transforms InputSignal and EventEmitter types
|
|
31
|
-
*/
|
|
29
|
+
/** Utility type that transforms InputSignal and EventEmitter types */
|
|
32
30
|
type TransformComponentType<T> = TransformInputSignalType<TransformOutputSignalType<TransformEventType<T>>>;
|
|
33
31
|
// @ts-ignore
|
|
34
32
|
type AngularInputSignal<T> = AngularCore.InputSignal<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.21",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"prep": "rimraf dist && jiti ../../../scripts/prepare/tsc.ts"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@storybook/builder-webpack5": "9.0.0-alpha.
|
|
56
|
-
"@storybook/core-webpack": "9.0.0-alpha.
|
|
55
|
+
"@storybook/builder-webpack5": "9.0.0-alpha.21",
|
|
56
|
+
"@storybook/core-webpack": "9.0.0-alpha.21",
|
|
57
57
|
"@storybook/global": "^5.0.0",
|
|
58
58
|
"@types/react": "^18.0.37",
|
|
59
59
|
"@types/react-dom": "^18.0.11",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@angular/platform-browser": ">=18.0.0 < 20.0.0",
|
|
107
107
|
"@angular/platform-browser-dynamic": ">=18.0.0 < 20.0.0",
|
|
108
108
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
109
|
-
"storybook": "^9.0.0-alpha.
|
|
109
|
+
"storybook": "^9.0.0-alpha.21",
|
|
110
110
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
111
111
|
"zone.js": ">=0.14.0"
|
|
112
112
|
},
|