@storybook/angular 10.6.0-alpha.0 → 10.6.0-alpha.2

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.
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  up
14
- } from "./chunk-POKP2H4T.js";
14
+ } from "./chunk-4IXQLTJZ.js";
15
15
 
16
16
  // ../../../node_modules/empathic/package.mjs
17
17
  function up2(options) {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,10 +14,10 @@ import {
14
14
  printErrorDetails,
15
15
  runCompodoc,
16
16
  up as up2
17
- } from "../../_node-chunks/chunk-DB364FKS.js";
17
+ } from "../../_node-chunks/chunk-QQJMYI2B.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-POKP2H4T.js";
20
+ } from "../../_node-chunks/chunk-4IXQLTJZ.js";
21
21
 
22
22
  // src/builders/build-storybook/index.ts
23
23
  import { readFileSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,10 +14,10 @@ import {
14
14
  printErrorDetails,
15
15
  runCompodoc,
16
16
  up as up2
17
- } from "../../_node-chunks/chunk-DB364FKS.js";
17
+ } from "../../_node-chunks/chunk-QQJMYI2B.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-POKP2H4T.js";
20
+ } from "../../_node-chunks/chunk-4IXQLTJZ.js";
21
21
 
22
22
  // src/builders/start-storybook/index.ts
23
23
  import { readFileSync } from "node:fs";
@@ -0,0 +1,60 @@
1
+ import { CompatibleString, Options, StorybookConfig, TypescriptOptions as TypescriptOptions$1 } from "storybook/internal/types";
2
+ import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from "@storybook/builder-webpack5";
3
+
4
+ //#region code/lib/core-webpack/dist/index.d.ts
5
+ //#region code/lib/core-webpack/.dts-emit/code/lib/core-webpack/src/types.d.ts
6
+ type RulesConfig = any;
7
+ type ModuleConfig = {
8
+ rules?: RulesConfig[];
9
+ };
10
+ type ResolveConfig = {
11
+ extensions?: string[];
12
+ mainFields?: (string | string[])[] | undefined;
13
+ alias?: any;
14
+ };
15
+ interface WebpackConfiguration {
16
+ plugins?: any[];
17
+ module?: ModuleConfig;
18
+ resolve?: ResolveConfig;
19
+ optimization?: any;
20
+ devtool?: false | string | {
21
+ type: 'all' | 'javascript' | 'css';
22
+ use: any;
23
+ }[];
24
+ }
25
+ type StorybookConfig$2<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig & {
26
+ /**
27
+ * Modify or return a custom Webpack config after the Storybook's default configuration has run
28
+ * (mostly used by addons).
29
+ */
30
+ webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>; /** Modify or return a custom Webpack config after every addon has run. */
31
+ webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
32
+ }; //#endregion
33
+ //#region code/lib/core-webpack/.dts-emit/code/lib/core-webpack/src/load-custom-webpack-config.d.ts
34
+ //#endregion
35
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/types.d.ts
36
+ type FrameworkName = CompatibleString<'@storybook/angular'>;
37
+ type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
38
+ type FrameworkOptions = AngularOptions & {
39
+ builder?: BuilderOptions;
40
+ };
41
+ type StorybookConfigFramework = {
42
+ framework: FrameworkName | {
43
+ name: FrameworkName;
44
+ options: FrameworkOptions;
45
+ };
46
+ core?: StorybookConfig$2['core'] & {
47
+ builder?: BuilderName | {
48
+ name: BuilderName;
49
+ options: BuilderOptions;
50
+ };
51
+ };
52
+ typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$2['typescript'];
53
+ };
54
+ /** The interface for Storybook configuration in `main.ts` files. */
55
+ type StorybookConfig$1 = Omit<StorybookConfig$2, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
56
+ interface AngularOptions {
57
+ enableIvy?: boolean;
58
+ }
59
+ //#endregion
60
+ export { FrameworkOptions as n, StorybookConfig$1 as r, AngularOptions as t };
package/dist/index.d.ts CHANGED
@@ -1,68 +1,69 @@
1
- import { WebRenderer, Parameters as Parameters$2, Args, ComponentAnnotations, AnnotatedStoryFn, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Renderer, ArgsStoryFn, StorybookConfig as StorybookConfig$2, Options, CompatibleString, TypescriptOptions as TypescriptOptions$1 } from 'storybook/internal/types';
2
- export { ArgTypes, Args, Parameters, StrictArgs } from 'storybook/internal/types';
3
- import * as AngularCore from '@angular/core';
4
- import { Provider, ApplicationConfig, Type } from '@angular/core';
5
- import { PreviewAddon, InferTypes, AddonTypes, Preview as Preview$1, Meta as Meta$1, Story } from 'storybook/internal/csf';
6
- import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from '@storybook/builder-webpack5';
1
+ import { n as FrameworkOptions, r as StorybookConfig, t as AngularOptions } from "./chunk-D12NRfQ8.js";
2
+ import { AnnotatedStoryFn, ArgTypes, Args, Args as Args$1, ArgsStoryFn, ComponentAnnotations, DecoratorFunction, LoaderFunction, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Parameters as Parameters$2, Parameters as Parameters$3, ProjectAnnotations, Renderer, StoryAnnotations, StoryContext as StoryContext$1, StrictArgs, StrictArgs as StrictArgs$1, WebRenderer } from "storybook/internal/types";
3
+ import * as AngularCore from "@angular/core";
4
+ import { ApplicationConfig, Provider, Type } from "@angular/core";
5
+ import { AddonTypes, InferTypes, Meta as Meta$1, Preview as Preview$1, PreviewAddon, Story } from "storybook/internal/csf";
7
6
 
7
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/types.d.ts
8
8
  interface NgModuleMetadata {
9
- /** List of components, directives, and pipes that belong to your component. */
10
- declarations?: any[];
11
- entryComponents?: any[];
12
- /**
13
- * List of modules that should be available to the root Storybook Component and all its children.
14
- * If you want to register application providers or if you want to use the forRoot() pattern,
15
- * please use the `applicationConfig` decorator in combination with the importProvidersFrom helper
16
- * function from @angular/core instead.
17
- */
18
- imports?: any[];
19
- schemas?: any[];
20
- /**
21
- * List of providers that should be available on the root component and all its children. Use the
22
- * `applicationConfig` decorator to register environemt and application-wide providers.
23
- */
24
- providers?: Provider[];
9
+ /** List of components, directives, and pipes that belong to your component. */
10
+ declarations?: any[];
11
+ entryComponents?: any[];
12
+ /**
13
+ * List of modules that should be available to the root Storybook Component and all its children.
14
+ * If you want to register application providers or if you want to use the forRoot() pattern,
15
+ * please use the `applicationConfig` decorator in combination with the importProvidersFrom helper
16
+ * function from @angular/core instead.
17
+ */
18
+ imports?: any[];
19
+ schemas?: any[];
20
+ /**
21
+ * List of providers that should be available on the root component and all its children. Use the
22
+ * `applicationConfig` decorator to register environemt and application-wide providers.
23
+ */
24
+ providers?: Provider[];
25
25
  }
26
26
  interface ICollection {
27
- [p: string]: any;
27
+ [p: string]: any;
28
28
  }
29
29
  interface StoryFnAngularReturnType {
30
- props?: ICollection;
31
- moduleMetadata?: NgModuleMetadata;
32
- applicationConfig?: ApplicationConfig;
33
- template?: string;
34
- styles?: string[];
35
- userDefinedTemplate?: boolean;
30
+ props?: ICollection;
31
+ moduleMetadata?: NgModuleMetadata;
32
+ applicationConfig?: ApplicationConfig;
33
+ template?: string;
34
+ styles?: string[];
35
+ userDefinedTemplate?: boolean;
36
36
  }
37
37
  interface AngularRenderer extends WebRenderer {
38
- component: any;
39
- storyResult: StoryFnAngularReturnType;
38
+ component: any;
39
+ storyResult: StoryFnAngularReturnType;
40
40
  }
41
- type Parameters$1 = Parameters$2 & {
42
- bootstrapModuleOptions?: unknown;
41
+ type Parameters$1 = Parameters$3 & {
42
+ bootstrapModuleOptions?: unknown;
43
43
  };
44
-
44
+ //#endregion
45
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/public-types.d.ts
45
46
  /**
46
47
  * Metadata to configure the stories for a component.
47
48
  *
48
49
  * @see [Default export](https://storybook.js.org/docs/api/csf#default-export)
49
50
  */
50
- type Meta<TArgs = Args> = ComponentAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
51
+ type Meta<TArgs = Args$1> = ComponentAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
51
52
  /**
52
53
  * Story function that represents a CSFv2 component example.
53
54
  *
54
55
  * @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports)
55
56
  */
56
- type StoryFn<TArgs = Args> = AnnotatedStoryFn<AngularRenderer, TransformComponentType<TArgs>>;
57
+ type StoryFn<TArgs = Args$1> = AnnotatedStoryFn<AngularRenderer, TransformComponentType<TArgs>>;
57
58
  /**
58
59
  * Story object that represents a CSFv3 component example.
59
60
  *
60
61
  * @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports)
61
62
  */
62
- type StoryObj<TArgs = Args> = StoryAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
63
- type Decorator<TArgs = StrictArgs> = DecoratorFunction<AngularRenderer, TArgs>;
64
- type Loader<TArgs = StrictArgs> = LoaderFunction<AngularRenderer, TArgs>;
65
- type StoryContext<TArgs = StrictArgs> = StoryContext$1<AngularRenderer, TArgs>;
63
+ type StoryObj<TArgs = Args$1> = StoryAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
64
+ type Decorator<TArgs = StrictArgs$1> = DecoratorFunction<AngularRenderer, TArgs>;
65
+ type Loader<TArgs = StrictArgs$1> = LoaderFunction<AngularRenderer, TArgs>;
66
+ type StoryContext<TArgs = StrictArgs$1> = StoryContext$1<AngularRenderer, TArgs>;
66
67
  type Preview = ProjectAnnotations<AngularRenderer>;
67
68
  /**
68
69
  * Transforms InputSignal, ModelSignal, OutputEmitterRef and EventEmitter member
@@ -79,33 +80,24 @@ type AngularInputSignalWithTransform<T, U> = AngularCore.InputSignalWithTransfor
79
80
  type AngularOutputEmitterRef<T> = AngularCore.OutputEmitterRef<T>;
80
81
  type AngularModelSignal<T> = AngularCore.ModelSignal<T>;
81
82
  type AngularHasInputSignal = typeof AngularCore extends {
82
- input: infer U;
83
+ input: infer U;
83
84
  } ? true : false;
84
85
  type AngularHasOutputSignal = typeof AngularCore extends {
85
- output: infer U;
86
+ output: infer U;
86
87
  } ? true : false;
87
88
  type AngularHasModelSignal = typeof AngularCore extends {
88
- model: infer U;
89
+ model: infer U;
89
90
  } ? true : false;
90
91
  type InputSignal<T> = AngularHasInputSignal extends true ? AngularInputSignal<T> : never;
91
92
  type InputSignalWithTransform<T, U> = AngularHasInputSignal extends true ? AngularInputSignalWithTransform<T, U> : never;
92
93
  type OutputEmitterRef<T> = AngularHasOutputSignal extends true ? AngularOutputEmitterRef<T> : never;
93
94
  type ModelSignal<T> = AngularHasModelSignal extends true ? AngularModelSignal<T> : never;
94
- type TransformInputSignalType<T> = {
95
- [K in keyof T]: T[K] extends InputSignal<infer E> ? E : T[K] extends InputSignalWithTransform<any, infer U> ? U : T[K];
96
- };
97
- type TransformOutputSignalType<T> = {
98
- [K in keyof T]: T[K] extends OutputEmitterRef<infer E> ? (e: E) => void : T[K];
99
- };
100
- type TransformModelSignalType<T> = {
101
- [K in keyof T]: T[K] extends ModelSignal<infer E> ? E : T[K];
102
- } & {
103
- [K in keyof T as T[K] extends ModelSignal<infer _E> ? `${K & string}Change` : never]: T[K] extends ModelSignal<infer E> ? (e: E) => void : never;
104
- };
105
- type TransformEventType<T> = {
106
- [K in keyof T]: T[K] extends AngularCore.EventEmitter<infer E> ? (e: E) => void : T[K];
107
- };
108
-
95
+ type TransformInputSignalType<T> = { [K in keyof T]: T[K] extends InputSignal<infer E> ? E : T[K] extends InputSignalWithTransform<any, infer U> ? U : T[K] };
96
+ type TransformOutputSignalType<T> = { [K in keyof T]: T[K] extends OutputEmitterRef<infer E> ? (e: E) => void : T[K] };
97
+ type TransformModelSignalType<T> = { [K in keyof T]: T[K] extends ModelSignal<infer E> ? E : T[K] } & { [K in keyof T as T[K] extends ModelSignal<infer _E> ? `${K & string}Change` : never]: T[K] extends ModelSignal<infer E> ? (e: E) => void : never };
98
+ type TransformEventType<T> = { [K in keyof T]: T[K] extends AngularCore.EventEmitter<infer E> ? (e: E) => void : T[K] };
99
+ //#endregion
100
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/portable-stories.d.ts
109
101
  /**
110
102
  * Function that sets the globalConfig of your storybook. The global config is the preview module of
111
103
  * your .storybook folder.
@@ -127,7 +119,8 @@ type TransformEventType<T> = {
127
119
  * @param projectAnnotations - E.g. (import projectAnnotations from '../.storybook/preview')
128
120
  */
129
121
  declare function setProjectAnnotations(projectAnnotations: NamedOrDefaultProjectAnnotations<any> | NamedOrDefaultProjectAnnotations<any>[]): NormalizedProjectAnnotations<AngularRenderer>;
130
-
122
+ //#endregion
123
+ //#region node_modules/type-fest/source/union-to-intersection.d.ts
131
124
  /**
132
125
  Convert a union type to an intersection type.
133
126
 
@@ -145,23 +138,18 @@ type Intersection = UnionToIntersection<Union>;
145
138
 
146
139
  @category Type
147
140
  */
148
- type UnionToIntersection<Union> = (
149
- // `extends unknown` is always going to be the case and is used to convert the
150
- // `Union` into a [distributive conditional
151
- // type](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#distributive-conditional-types).
152
- Union extends unknown
153
- // The union type is used as the only argument to a function since the union
154
- // of function arguments is an intersection.
155
- ? (distributedUnion: Union) => void
156
- // This won't happen.
157
- : never
158
- // Infer the `Intersection` type since TypeScript represents the positional
159
- // arguments of unions of functions as an intersection of the union.
160
- ) extends ((mergedIntersection: infer Intersection) => void)
161
- // The `& Union` is to ensure result of `UnionToIntersection<A | B>` is always assignable to `A | B`
162
- ? Intersection & Union
163
- : never;
164
-
141
+ type UnionToIntersection<Union> = (// `extends unknown` is always going to be the case and is used to convert the
142
+ // `Union` into a [distributive conditional
143
+ // type](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#distributive-conditional-types).
144
+ Union extends unknown // The union type is used as the only argument to a function since the union
145
+ // of function arguments is an intersection.
146
+ ? (distributedUnion: Union) => void // This won't happen.
147
+ : never // Infer the `Intersection` type since TypeScript represents the positional
148
+ // arguments of unions of functions as an intersection of the union.
149
+ ) extends ((mergedIntersection: infer Intersection) => void) // The `& Union` is to ensure result of `UnionToIntersection<A | B>` is always assignable to `A | B`
150
+ ? Intersection & Union : never;
151
+ //#endregion
152
+ //#region node_modules/type-fest/source/keys-of-union.d.ts
165
153
  /**
166
154
  Create a union of all keys from a given type, even those exclusive to specific union members.
167
155
 
@@ -199,10 +187,10 @@ type AllKeys = KeysOfUnion<Union>;
199
187
 
200
188
  @category Object
201
189
  */
202
- type KeysOfUnion<ObjectType> =
203
- // Hack to fix https://github.com/sindresorhus/type-fest/issues/1008
204
- keyof UnionToIntersection<ObjectType extends unknown ? Record<keyof ObjectType, never> : never>;
205
-
190
+ type KeysOfUnion<ObjectType> = // Hack to fix https://github.com/sindresorhus/type-fest/issues/1008
191
+ keyof UnionToIntersection<ObjectType extends unknown ? Record<keyof ObjectType, never> : never>;
192
+ //#endregion
193
+ //#region node_modules/type-fest/source/is-any.d.ts
206
194
  /**
207
195
  Returns a boolean for whether the given type is `any`.
208
196
 
@@ -232,7 +220,8 @@ const anyA = get(anyObject, 'a');
232
220
  @category Utilities
233
221
  */
234
222
  type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
235
-
223
+ //#endregion
224
+ //#region node_modules/type-fest/source/is-optional-key-of.d.ts
236
225
  /**
237
226
  Returns a boolean for whether the given key is an optional key of type.
238
227
 
@@ -273,14 +262,9 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
273
262
  @category Type Guard
274
263
  @category Utilities
275
264
  */
276
- type IsOptionalKeyOf<Type extends object, Key extends keyof Type> =
277
- IsAny<Type | Key> extends true ? never
278
- : Key extends keyof Type
279
- ? Type extends Record<Key, Type[Key]>
280
- ? false
281
- : true
282
- : false;
283
-
265
+ type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
266
+ //#endregion
267
+ //#region node_modules/type-fest/source/optional-keys-of.d.ts
284
268
  /**
285
269
  Extract all optional keys from the given type.
286
270
 
@@ -314,16 +298,11 @@ const update2: UpdateOperation<User> = {
314
298
 
315
299
  @category Utilities
316
300
  */
317
- type OptionalKeysOf<Type extends object> =
318
- Type extends unknown // For distributing `Type`
319
- ? (keyof {[Key in keyof Type as
320
- IsOptionalKeyOf<Type, Key> extends false
321
- ? never
322
- : Key
323
- ]: never
324
- }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
325
- : never; // Should never happen
326
-
301
+ type OptionalKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
302
+ ? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
303
+ : never;
304
+ //#endregion
305
+ //#region node_modules/type-fest/source/required-keys-of.d.ts
327
306
  /**
328
307
  Extract all required keys from the given type.
329
308
 
@@ -354,11 +333,10 @@ const validator3 = createValidation<User>('luckyNumber', value => value > 0);
354
333
 
355
334
  @category Utilities
356
335
  */
357
- type RequiredKeysOf<Type extends object> =
358
- Type extends unknown // For distributing `Type`
359
- ? Exclude<keyof Type, OptionalKeysOf<Type>>
360
- : never; // Should never happen
361
-
336
+ type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
337
+ ? Exclude<keyof Type, OptionalKeysOf<Type>> : never;
338
+ //#endregion
339
+ //#region node_modules/type-fest/source/is-never.d.ts
362
340
  /**
363
341
  Returns a boolean for whether the given type is `never`.
364
342
 
@@ -413,7 +391,8 @@ type B = IsTrueFixed<never>;
413
391
  @category Utilities
414
392
  */
415
393
  type IsNever<T> = [T] extends [never] ? true : false;
416
-
394
+ //#endregion
395
+ //#region node_modules/type-fest/source/if.d.ts
417
396
  /**
418
397
  An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
419
398
 
@@ -506,13 +485,9 @@ type Works = IncludesWithoutIf<HundredZeroes, '1'>;
506
485
  @category Type Guard
507
486
  @category Utilities
508
487
  */
509
- type If<Type extends boolean, IfBranch, ElseBranch> =
510
- IsNever<Type> extends true
511
- ? ElseBranch
512
- : Type extends true
513
- ? IfBranch
514
- : ElseBranch;
515
-
488
+ type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
489
+ //#endregion
490
+ //#region node_modules/type-fest/source/simplify.d.ts
516
491
  /**
517
492
  Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
518
493
 
@@ -571,8 +546,9 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
571
546
  @see {@link SimplifyDeep}
572
547
  @category Object
573
548
  */
574
- type Simplify<T> = {[KeyType in keyof T]: T[KeyType]} & {};
575
-
549
+ type Simplify<T> = { [KeyType in keyof T]: T[KeyType] } & {};
550
+ //#endregion
551
+ //#region node_modules/type-fest/source/is-equal.d.ts
576
552
  /**
577
553
  Returns a boolean for whether the two given types are equal.
578
554
 
@@ -599,20 +575,11 @@ type Includes<Value extends readonly any[], Item> =
599
575
  @category Type Guard
600
576
  @category Utilities
601
577
  */
602
- type IsEqual<A, B> =
603
- [A] extends [B]
604
- ? [B] extends [A]
605
- ? _IsEqual<A, B>
606
- : false
607
- : false;
608
-
578
+ type IsEqual<A, B> = [A] extends [B] ? [B] extends [A] ? _IsEqual<A, B> : false : false;
609
579
  // This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
610
- type _IsEqual<A, B> =
611
- (<G>() => G extends A & G | G ? 1 : 2) extends
612
- (<G>() => G extends B & G | G ? 1 : 2)
613
- ? true
614
- : false;
615
-
580
+ type _IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
581
+ //#endregion
582
+ //#region node_modules/type-fest/source/omit-index-signature.d.ts
616
583
  /**
617
584
  Omit any index signatures from the given object type, leaving only explicitly defined properties.
618
585
 
@@ -704,12 +671,9 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
704
671
  @see {@link PickIndexSignature}
705
672
  @category Object
706
673
  */
707
- type OmitIndexSignature<ObjectType> = {
708
- [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown>
709
- ? never
710
- : KeyType]: ObjectType[KeyType];
711
- };
712
-
674
+ type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType] };
675
+ //#endregion
676
+ //#region node_modules/type-fest/source/pick-index-signature.d.ts
713
677
  /**
714
678
  Pick only index signatures from the given object type, leaving out all explicitly defined properties.
715
679
 
@@ -755,17 +719,11 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
755
719
  @see {@link OmitIndexSignature}
756
720
  @category Object
757
721
  */
758
- type PickIndexSignature<ObjectType> = {
759
- [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown>
760
- ? KeyType
761
- : never]: ObjectType[KeyType];
762
- };
763
-
722
+ type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType] };
723
+ //#endregion
724
+ //#region node_modules/type-fest/source/merge.d.ts
764
725
  // Merges two objects without worrying about index signatures.
765
- type SimpleMerge<Destination, Source> = Simplify<{
766
- [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key];
767
- } & Source>;
768
-
726
+ type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source>;
769
727
  /**
770
728
  Merge two types into a new type. Keys of the second type overrides keys of the first type.
771
729
 
@@ -828,19 +786,14 @@ Note: If you want a merge type that more accurately reflects the runtime behavio
828
786
  @see {@link ObjectMerge}
829
787
  @category Object
830
788
  */
831
- type Merge<Destination, Source> =
832
- Destination extends unknown // For distributing `Destination`
833
- ? Source extends unknown // For distributing `Source`
834
- ? If<IsEqual<Destination, Source>, Destination, _Merge<Destination, Source>>
835
- : never // Should never happen
836
- : never; // Should never happen
837
-
838
- type _Merge<Destination, Source> =
839
- Simplify<
840
- SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>>
841
- & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>
842
- >;
843
-
789
+ type Merge<Destination, Source> = Destination extends unknown // For distributing `Destination`
790
+ ? Source extends unknown // For distributing `Source`
791
+ ? If<IsEqual<Destination, Source>, Destination, _Merge<Destination, Source>> : never // Should never happen
792
+ : never;
793
+ // Should never happen
794
+ type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
795
+ //#endregion
796
+ //#region node_modules/type-fest/source/internal/object.d.ts
844
797
  /**
845
798
  Works similar to the built-in `Pick` utility type, except for the following differences:
846
799
  - Distributes over union types and allows picking keys from any member of the union type.
@@ -878,10 +831,7 @@ type Any = HomomorphicPick<{a: 1; b: 2} | {c: 3}, any>;
878
831
  type IndexSignature = HomomorphicPick<{[k: string]: unknown}, number>;
879
832
  //=> {}
880
833
  */
881
- type HomomorphicPick<T, Keys extends KeysOfUnion<T>> = {
882
- [P in keyof T as Extract<P, Keys>]: T[P]
883
- };
884
-
834
+ type HomomorphicPick<T, Keys extends KeysOfUnion<T>> = { [P in keyof T as Extract<P, Keys>]: T[P] };
885
835
  /**
886
836
  Merges user specified options with default options.
887
837
 
@@ -934,19 +884,9 @@ type Result = ApplyDefaultOptions<PathsOptions, DefaultPathsOptions, SpecifiedOp
934
884
  // Types of property 'leavesOnly' are incompatible. Type 'string' is not assignable to type 'boolean'.
935
885
  ```
936
886
  */
937
- type ApplyDefaultOptions<
938
- Options extends object,
939
- Defaults extends Simplify<Omit<Required<Options>, RequiredKeysOf<Options>> & Partial<Record<RequiredKeysOf<Options>, never>>>,
940
- SpecifiedOptions extends Options,
941
- > =
942
- If<IsAny<SpecifiedOptions>, Defaults,
943
- If<IsNever<SpecifiedOptions>, Defaults,
944
- Simplify<Merge<Defaults, {
945
- [Key in keyof SpecifiedOptions
946
- as Key extends OptionalKeysOf<Options> ? undefined extends SpecifiedOptions[Key] ? never : Key : Key
947
- ]: SpecifiedOptions[Key]
948
- }> & Required<Options>>>>;
949
-
887
+ type ApplyDefaultOptions<Options extends object, Defaults extends Simplify<Omit<Required<Options>, RequiredKeysOf<Options>> & Partial<Record<RequiredKeysOf<Options>, never>>>, SpecifiedOptions extends Options> = If<IsAny<SpecifiedOptions>, Defaults, If<IsNever<SpecifiedOptions>, Defaults, Simplify<Merge<Defaults, { [Key in keyof SpecifiedOptions as Key extends OptionalKeysOf<Options> ? undefined extends SpecifiedOptions[Key] ? never : Key : Key]: SpecifiedOptions[Key] }> & Required<Options>>>>;
888
+ //#endregion
889
+ //#region node_modules/type-fest/source/except.d.ts
950
890
  /**
951
891
  Filter out keys from an object.
952
892
 
@@ -975,22 +915,17 @@ type Filtered = Filter<'bar', 'foo'>;
975
915
  @see {Except}
976
916
  */
977
917
  type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
978
-
979
918
  type ExceptOptions = {
980
- /**
981
- Disallow assigning non-specified properties.
982
-
983
- Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
984
-
985
- @default false
986
- */
987
- requireExactProps?: boolean;
919
+ /**
920
+ Disallow assigning non-specified properties.
921
+ Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
922
+ @default false
923
+ */
924
+ requireExactProps?: boolean;
988
925
  };
989
-
990
926
  type DefaultExceptOptions = {
991
- requireExactProps: false;
927
+ requireExactProps: false;
992
928
  };
993
-
994
929
  /**
995
930
  Create a type from an object type without certain keys.
996
931
 
@@ -1046,15 +981,10 @@ type PostPayloadFixed = Except<UserData, 'email'>;
1046
981
 
1047
982
  @category Object
1048
983
  */
1049
- type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> =
1050
- _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
1051
-
1052
- type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = {
1053
- [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
1054
- } & (Options['requireExactProps'] extends true
1055
- ? Partial<Record<KeysType, never>>
1056
- : {});
1057
-
984
+ type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> = _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
985
+ type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType] } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
986
+ //#endregion
987
+ //#region node_modules/type-fest/source/set-optional.d.ts
1058
988
  /**
1059
989
  Create a type that makes the given keys optional, while keeping the remaining keys as is.
1060
990
 
@@ -1076,22 +1006,13 @@ type SomeOptional = SetOptional<Foo, 'b' | 'c'>;
1076
1006
 
1077
1007
  @category Object
1078
1008
  */
1079
- type SetOptional<BaseType, Keys extends keyof BaseType> =
1080
- (BaseType extends (...arguments_: never) => any
1081
- ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType>
1082
- : unknown)
1083
- & _SetOptional<BaseType, Keys>;
1084
-
1085
- type _SetOptional<BaseType, Keys extends keyof BaseType> =
1086
- BaseType extends unknown // To distribute `BaseType` when it's a union type.
1087
- ? Simplify<
1088
- // Pick just the keys that are readonly from the base type.
1089
- Except<BaseType, Keys>
1090
- // Pick the keys that should be mutable from the base type and make them mutable.
1091
- & Partial<HomomorphicPick<BaseType, Keys>>
1092
- >
1093
- : never;
1094
-
1009
+ type SetOptional<BaseType, Keys extends keyof BaseType> = (BaseType extends ((...arguments_: never) => any) ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType> : unknown) & _SetOptional<BaseType, Keys>;
1010
+ type _SetOptional<BaseType, Keys extends keyof BaseType> = BaseType extends unknown // To distribute `BaseType` when it's a union type.
1011
+ ? Simplify< // Pick just the keys that are readonly from the base type.
1012
+ Except<BaseType, Keys> // Pick the keys that should be mutable from the base type and make them mutable.
1013
+ & Partial<HomomorphicPick<BaseType, Keys>>> : never;
1014
+ //#endregion
1015
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/preview.d.ts
1095
1016
  /**
1096
1017
  * Creates an Angular-specific preview configuration with CSF factories support.
1097
1018
  *
@@ -1112,12 +1033,12 @@ type _SetOptional<BaseType, Keys extends keyof BaseType> =
1112
1033
  * ```
1113
1034
  */
1114
1035
  declare function __definePreview<Addons extends PreviewAddon<never>[]>(input: {
1115
- addons: Addons;
1036
+ addons: Addons;
1116
1037
  } & ProjectAnnotations<AngularRenderer & InferTypes<Addons>>): AngularPreview<AngularRenderer & InferTypes<Addons>>;
1117
1038
  type InferArgs<TArgs, T, Decorators> = Simplify<TArgs & Simplify<OmitIndexSignature<DecoratorsArgs<AngularRenderer & T, Decorators>>>>;
1118
1039
  type InferComponentArgs<C extends abstract new (...args: any) => any> = Partial<TransformComponentType<InstanceType<C>>>;
1119
1040
  type InferAngularTypes<T, TArgs, Decorators> = AngularRenderer & T & {
1120
- args: Simplify<InferArgs<TArgs, T, Decorators>>;
1041
+ args: Simplify<InferArgs<TArgs, T, Decorators>>;
1121
1042
  };
1122
1043
  /**
1123
1044
  * Angular-specific Preview interface that provides type-safe CSF factory methods.
@@ -1134,33 +1055,33 @@ type InferAngularTypes<T, TArgs, Decorators> = AngularRenderer & T & {
1134
1055
  * ```
1135
1056
  */
1136
1057
  interface AngularPreview<T extends AddonTypes> extends Preview$1<AngularRenderer & T> {
1137
- /**
1138
- * Narrows the type of the preview to include additional type information. This is useful when you
1139
- * need to add args that aren't inferred from the component.
1140
- *
1141
- * @example
1142
- *
1143
- * ```ts
1144
- * const meta = preview.type<{ args: { theme: 'light' | 'dark' } }>().meta({
1145
- * component: ButtonComponent,
1146
- * });
1147
- * ```
1148
- */
1149
- type<S>(): AngularPreview<T & S>;
1150
- meta<C extends abstract new (...args: any) => any, Decorators extends DecoratorFunction<AngularRenderer & T, any>, TMetaArgs extends Partial<InferComponentArgs<C> & T['args']>>(meta: {
1151
- component?: C;
1152
- args?: TMetaArgs;
1153
- decorators?: Decorators | Decorators[];
1154
- } & Omit<ComponentAnnotations<AngularRenderer & T, InferComponentArgs<C> & T['args']>, 'decorators' | 'component' | 'args'>): AngularMeta<InferAngularTypes<T, InferComponentArgs<C>, Decorators>, Omit<ComponentAnnotations<InferAngularTypes<T, InferComponentArgs<C>, Decorators>>, 'args'> & {
1155
- args: {} extends TMetaArgs ? {} : TMetaArgs;
1156
- }>;
1157
- meta<TArgs, Decorators extends DecoratorFunction<AngularRenderer & T, any>, TMetaArgs extends Partial<TArgs & T['args']>>(meta: {
1158
- render?: ArgsStoryFn<AngularRenderer & T, TArgs & T['args']>;
1159
- args?: TMetaArgs;
1160
- decorators?: Decorators | Decorators[];
1161
- } & Omit<ComponentAnnotations<AngularRenderer & T, TArgs & T['args']>, 'decorators' | 'args' | 'render' | 'component'>): AngularMeta<InferAngularTypes<T, TArgs, Decorators>, Omit<ComponentAnnotations<InferAngularTypes<T, TArgs, Decorators>>, 'args'> & {
1162
- args: {} extends TMetaArgs ? {} : TMetaArgs;
1163
- }>;
1058
+ /**
1059
+ * Narrows the type of the preview to include additional type information. This is useful when you
1060
+ * need to add args that aren't inferred from the component.
1061
+ *
1062
+ * @example
1063
+ *
1064
+ * ```ts
1065
+ * const meta = preview.type<{ args: { theme: 'light' | 'dark' } }>().meta({
1066
+ * component: ButtonComponent,
1067
+ * });
1068
+ * ```
1069
+ */
1070
+ type<S>(): AngularPreview<T & S>;
1071
+ meta<C extends abstract new (...args: any) => any, Decorators extends DecoratorFunction<AngularRenderer & T, any>, TMetaArgs extends Partial<InferComponentArgs<C> & T['args']>>(meta: {
1072
+ component?: C;
1073
+ args?: TMetaArgs;
1074
+ decorators?: Decorators | Decorators[];
1075
+ } & Omit<ComponentAnnotations<AngularRenderer & T, InferComponentArgs<C> & T['args']>, 'decorators' | 'component' | 'args'>): AngularMeta<InferAngularTypes<T, InferComponentArgs<C>, Decorators>, Omit<ComponentAnnotations<InferAngularTypes<T, InferComponentArgs<C>, Decorators>>, 'args'> & {
1076
+ args: {} extends TMetaArgs ? {} : TMetaArgs;
1077
+ }>;
1078
+ meta<TArgs, Decorators extends DecoratorFunction<AngularRenderer & T, any>, TMetaArgs extends Partial<TArgs & T['args']>>(meta: {
1079
+ render?: ArgsStoryFn<AngularRenderer & T, TArgs & T['args']>;
1080
+ args?: TMetaArgs;
1081
+ decorators?: Decorators | Decorators[];
1082
+ } & Omit<ComponentAnnotations<AngularRenderer & T, TArgs & T['args']>, 'decorators' | 'args' | 'render' | 'component'>): AngularMeta<InferAngularTypes<T, TArgs, Decorators>, Omit<ComponentAnnotations<InferAngularTypes<T, TArgs, Decorators>>, 'args'> & {
1083
+ args: {} extends TMetaArgs ? {} : TMetaArgs;
1084
+ }>;
1164
1085
  }
1165
1086
  /** Extracts and unions all args types from an array of decorators. */
1166
1087
  type DecoratorsArgs<TRenderer extends Renderer, Decorators> = UnionToIntersection<Decorators extends DecoratorFunction<TRenderer, infer TArgs> ? TArgs : unknown>;
@@ -1172,72 +1093,72 @@ type DecoratorsArgs<TRenderer extends Renderer, Decorators> = UnionToIntersectio
1172
1093
  * story level.
1173
1094
  */
1174
1095
  interface AngularMeta<T extends AngularRenderer, MetaInput extends ComponentAnnotations<T>> extends Meta$1<T, MetaInput> {
1175
- /**
1176
- * Creates a story with a custom render function that takes no args.
1177
- *
1178
- * This overload allows you to define a story using just a render function or an object with a
1179
- * render function that doesn't depend on args. Since the render function doesn't use args, no
1180
- * args need to be provided regardless of what's required by the component.
1181
- *
1182
- * @example
1183
- *
1184
- * ```ts
1185
- * // Using just a render function
1186
- * export const CustomTemplate = meta.story(() => ({
1187
- * template: '<div>Custom static content</div>',
1188
- * }));
1189
- *
1190
- * // Using an object with render
1191
- * export const WithRender = meta.story({
1192
- * render: () => ({ template: '<my-component></my-component>' }),
1193
- * });
1194
- * ```
1195
- */
1196
- story<TInput extends (() => AngularRenderer['storyResult']) | (StoryAnnotations<T, T['args']> & {
1197
- render: () => AngularRenderer['storyResult'];
1198
- })>(story: TInput): AngularStory<T, TInput extends () => AngularRenderer['storyResult'] ? {
1199
- render: TInput;
1200
- } : TInput>;
1201
- /**
1202
- * Creates a story with custom configuration including args, decorators, or other annotations.
1203
- *
1204
- * This is the primary overload for defining stories. Args that were already provided in meta
1205
- * become optional, while any remaining required args must be specified here.
1206
- *
1207
- * @example
1208
- *
1209
- * ```ts
1210
- * // Provide required args not in meta
1211
- * export const Primary = meta.story({
1212
- * args: { label: 'Click me', disabled: false },
1213
- * });
1214
- *
1215
- * // Override meta args and add story-specific configuration
1216
- * export const Disabled = meta.story({
1217
- * args: { disabled: true },
1218
- * decorators: [withCustomWrapper],
1219
- * });
1220
- * ```
1221
- */
1222
- story<TInput extends Simplify<StoryAnnotations<T, T['args'], SetOptional<T['args'], keyof T['args'] & keyof MetaInput['args']>>>>(story: TInput): AngularStory<T, TInput>;
1223
- /**
1224
- * Creates a story with no additional configuration.
1225
- *
1226
- * This overload is only available when all required args have been provided in meta. The
1227
- * conditional type `Partial<T['args']> extends SetOptional<...>` checks if the remaining required
1228
- * args (after accounting for args provided in meta) are all optional. If so, the function accepts
1229
- * zero arguments `[]`. Otherwise, it requires `[never]` which makes this overload unmatchable,
1230
- * forcing the user to provide args.
1231
- *
1232
- * @example
1233
- *
1234
- * ```ts
1235
- * // When meta provides all required args, story() can be called with no arguments
1236
- * const meta = preview.meta({ component: Button, args: { label: 'Hi', disabled: false } });
1237
- * export const Default = meta.story(); // Valid - all args provided in meta
1238
- * ```
1239
- */
1240
- story(..._args: Partial<T['args']> extends SetOptional<T['args'], keyof T['args'] & keyof MetaInput['args']> ? [] : [never]): AngularStory<T, {}>;
1096
+ /**
1097
+ * Creates a story with a custom render function that takes no args.
1098
+ *
1099
+ * This overload allows you to define a story using just a render function or an object with a
1100
+ * render function that doesn't depend on args. Since the render function doesn't use args, no
1101
+ * args need to be provided regardless of what's required by the component.
1102
+ *
1103
+ * @example
1104
+ *
1105
+ * ```ts
1106
+ * // Using just a render function
1107
+ * export const CustomTemplate = meta.story(() => ({
1108
+ * template: '<div>Custom static content</div>',
1109
+ * }));
1110
+ *
1111
+ * // Using an object with render
1112
+ * export const WithRender = meta.story({
1113
+ * render: () => ({ template: '<my-component></my-component>' }),
1114
+ * });
1115
+ * ```
1116
+ */
1117
+ story<TInput extends (() => AngularRenderer['storyResult']) | (StoryAnnotations<T, T['args']> & {
1118
+ render: () => AngularRenderer['storyResult'];
1119
+ })>(story: TInput): AngularStory<T, TInput extends (() => AngularRenderer['storyResult']) ? {
1120
+ render: TInput;
1121
+ } : TInput>;
1122
+ /**
1123
+ * Creates a story with custom configuration including args, decorators, or other annotations.
1124
+ *
1125
+ * This is the primary overload for defining stories. Args that were already provided in meta
1126
+ * become optional, while any remaining required args must be specified here.
1127
+ *
1128
+ * @example
1129
+ *
1130
+ * ```ts
1131
+ * // Provide required args not in meta
1132
+ * export const Primary = meta.story({
1133
+ * args: { label: 'Click me', disabled: false },
1134
+ * });
1135
+ *
1136
+ * // Override meta args and add story-specific configuration
1137
+ * export const Disabled = meta.story({
1138
+ * args: { disabled: true },
1139
+ * decorators: [withCustomWrapper],
1140
+ * });
1141
+ * ```
1142
+ */
1143
+ story<TInput extends Simplify<StoryAnnotations<T, T['args'], SetOptional<T['args'], keyof T['args'] & keyof MetaInput['args']>>>>(story: TInput): AngularStory<T, TInput>;
1144
+ /**
1145
+ * Creates a story with no additional configuration.
1146
+ *
1147
+ * This overload is only available when all required args have been provided in meta. The
1148
+ * conditional type `Partial<T['args']> extends SetOptional<...>` checks if the remaining required
1149
+ * args (after accounting for args provided in meta) are all optional. If so, the function accepts
1150
+ * zero arguments `[]`. Otherwise, it requires `[never]` which makes this overload unmatchable,
1151
+ * forcing the user to provide args.
1152
+ *
1153
+ * @example
1154
+ *
1155
+ * ```ts
1156
+ * // When meta provides all required args, story() can be called with no arguments
1157
+ * const meta = preview.meta({ component: Button, args: { label: 'Hi', disabled: false } });
1158
+ * export const Default = meta.story(); // Valid - all args provided in meta
1159
+ * ```
1160
+ */
1161
+ story(..._args: Partial<T['args']> extends SetOptional<T['args'], keyof T['args'] & keyof MetaInput['args']> ? [] : [never]): AngularStory<T, {}>;
1241
1162
  }
1242
1163
  /**
1243
1164
  * Angular-specific Story interface returned by `meta.story()`.
@@ -1245,36 +1166,37 @@ interface AngularMeta<T extends AngularRenderer, MetaInput extends ComponentAnno
1245
1166
  * Represents a single story with its configuration and provides access to the composed story for
1246
1167
  * testing via `story.run()`.
1247
1168
  */
1248
- interface AngularStory<T extends AngularRenderer, TInput extends StoryAnnotations<T, T['args']>> extends Story<T, TInput> {
1249
- }
1250
-
1169
+ interface AngularStory<T extends AngularRenderer, TInput extends StoryAnnotations<T, T['args']>> extends Story<T, TInput> {}
1170
+ //#endregion
1171
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/decorators.d.ts
1251
1172
  declare const moduleMetadata: <TArgs = any>(metadata: Partial<NgModuleMetadata>) => DecoratorFunction<AngularRenderer, TArgs>;
1252
1173
  /**
1253
1174
  * Decorator to set the config options which are available during the application bootstrap
1254
1175
  * operation
1255
1176
  */
1256
- declare function applicationConfig<TArgs = any>(
1257
- /** Set of config options available during the application bootstrap operation. */
1177
+ declare function applicationConfig<TArgs = any>(/** Set of config options available during the application bootstrap operation. */
1178
+
1258
1179
  config: ApplicationConfig): DecoratorFunction<AngularRenderer, TArgs>;
1259
1180
  declare const componentWrapperDecorator: <TArgs = any>(element: Type<unknown> | ((story: string) => string), props?: ICollection | ((storyContext: StoryContext$1<AngularRenderer, TArgs>) => ICollection)) => DecoratorFunction<AngularRenderer, TArgs>;
1260
-
1181
+ //#endregion
1182
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/client/argsToTemplate.d.ts
1261
1183
  /**
1262
1184
  * Options for controlling the behavior of the argsToTemplate function.
1263
1185
  *
1264
1186
  * @template T The type of the keys in the target object.
1265
1187
  */
1266
1188
  interface ArgsToTemplateOptions<T> {
1267
- /**
1268
- * An array of keys to specifically include in the output. If provided, only the keys from this
1269
- * array will be included in the output, irrespective of the `exclude` option. Undefined values
1270
- * will still be excluded from the output.
1271
- */
1272
- include?: Array<T>;
1273
- /**
1274
- * An array of keys to specifically exclude from the output. If provided, these keys will be
1275
- * omitted from the output. This option is ignored if the `include` option is also provided
1276
- */
1277
- exclude?: Array<T>;
1189
+ /**
1190
+ * An array of keys to specifically include in the output. If provided, only the keys from this
1191
+ * array will be included in the output, irrespective of the `exclude` option. Undefined values
1192
+ * will still be excluded from the output.
1193
+ */
1194
+ include?: Array<T>;
1195
+ /**
1196
+ * An array of keys to specifically exclude from the output. If provided, these keys will be
1197
+ * omitted from the output. This option is ignored if the `include` option is also provided
1198
+ */
1199
+ exclude?: Array<T>;
1278
1200
  }
1279
1201
  /**
1280
1202
  * Converts an object of arguments to a string of property and event bindings and excludes undefined
@@ -1314,58 +1236,5 @@ interface ArgsToTemplateOptions<T> {
1314
1236
  * ```
1315
1237
  */
1316
1238
  declare function argsToTemplate<A extends Record<string, any>>(args: A, options?: ArgsToTemplateOptions<keyof A>): string;
1317
-
1318
- type RulesConfig = any;
1319
- type ModuleConfig = {
1320
- rules?: RulesConfig[];
1321
- };
1322
- type ResolveConfig = {
1323
- extensions?: string[];
1324
- mainFields?: (string | string[])[] | undefined;
1325
- alias?: any;
1326
- };
1327
- interface WebpackConfiguration {
1328
- plugins?: any[];
1329
- module?: ModuleConfig;
1330
- resolve?: ResolveConfig;
1331
- optimization?: any;
1332
- devtool?: false | string | {
1333
- type: 'all' | 'javascript' | 'css';
1334
- use: any;
1335
- }[];
1336
- }
1337
- type StorybookConfig$1<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig$2 & {
1338
- /**
1339
- * Modify or return a custom Webpack config after the Storybook's default configuration has run
1340
- * (mostly used by addons).
1341
- */
1342
- webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
1343
- /** Modify or return a custom Webpack config after every addon has run. */
1344
- webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
1345
- };
1346
-
1347
- type FrameworkName = CompatibleString<'@storybook/angular'>;
1348
- type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
1349
- type FrameworkOptions = AngularOptions & {
1350
- builder?: BuilderOptions;
1351
- };
1352
- type StorybookConfigFramework = {
1353
- framework: FrameworkName | {
1354
- name: FrameworkName;
1355
- options: FrameworkOptions;
1356
- };
1357
- core?: StorybookConfig$1['core'] & {
1358
- builder?: BuilderName | {
1359
- name: BuilderName;
1360
- options: BuilderOptions;
1361
- };
1362
- };
1363
- typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$1['typescript'];
1364
- };
1365
- /** The interface for Storybook configuration in `main.ts` files. */
1366
- type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
1367
- interface AngularOptions {
1368
- enableIvy?: boolean;
1369
- }
1370
-
1371
- export { type AngularMeta, type AngularOptions, type Parameters$1 as AngularParameters, type AngularPreview, type AngularRenderer, type AngularStory, type Decorator, type FrameworkOptions, type StoryFnAngularReturnType as IStory, type Loader, type Meta, type Preview, type StoryContext, type StoryFn, type StoryObj, type StorybookConfig, type TransformComponentType, __definePreview, applicationConfig, argsToTemplate, componentWrapperDecorator, __definePreview as definePreview, moduleMetadata, setProjectAnnotations };
1239
+ //#endregion
1240
+ export { AngularMeta, AngularOptions, type Parameters$1 as AngularParameters, AngularPreview, type AngularRenderer, AngularStory, type ArgTypes, type Args, Decorator, FrameworkOptions, type StoryFnAngularReturnType as IStory, Loader, Meta, type Parameters$2 as Parameters, Preview, StoryContext, StoryFn, StoryObj, StorybookConfig, type StrictArgs, TransformComponentType, __definePreview, __definePreview as definePreview, applicationConfig, argsToTemplate, componentWrapperDecorator, moduleMetadata, setProjectAnnotations };
@@ -1,59 +1,6 @@
1
- import { StorybookConfig as StorybookConfig$2, Options, CompatibleString, TypescriptOptions as TypescriptOptions$1 } from 'storybook/internal/types';
2
- import { StorybookConfigWebpack, BuilderOptions, TypescriptOptions } from '@storybook/builder-webpack5';
3
-
4
- type RulesConfig = any;
5
- type ModuleConfig = {
6
- rules?: RulesConfig[];
7
- };
8
- type ResolveConfig = {
9
- extensions?: string[];
10
- mainFields?: (string | string[])[] | undefined;
11
- alias?: any;
12
- };
13
- interface WebpackConfiguration {
14
- plugins?: any[];
15
- module?: ModuleConfig;
16
- resolve?: ResolveConfig;
17
- optimization?: any;
18
- devtool?: false | string | {
19
- type: 'all' | 'javascript' | 'css';
20
- use: any;
21
- }[];
22
- }
23
- type StorybookConfig$1<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig$2 & {
24
- /**
25
- * Modify or return a custom Webpack config after the Storybook's default configuration has run
26
- * (mostly used by addons).
27
- */
28
- webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
29
- /** Modify or return a custom Webpack config after every addon has run. */
30
- webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
31
- };
32
-
33
- type FrameworkName = CompatibleString<'@storybook/angular'>;
34
- type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
35
- type FrameworkOptions = AngularOptions & {
36
- builder?: BuilderOptions;
37
- };
38
- type StorybookConfigFramework = {
39
- framework: FrameworkName | {
40
- name: FrameworkName;
41
- options: FrameworkOptions;
42
- };
43
- core?: StorybookConfig$1['core'] & {
44
- builder?: BuilderName | {
45
- name: BuilderName;
46
- options: BuilderOptions;
47
- };
48
- };
49
- typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$1['typescript'];
50
- };
51
- /** The interface for Storybook configuration in `main.ts` files. */
52
- type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
53
- interface AngularOptions {
54
- enableIvy?: boolean;
55
- }
1
+ import { r as StorybookConfig } from "../chunk-D12NRfQ8.js";
56
2
 
3
+ //#region code/frameworks/angular/.dts-emit/code/frameworks/angular/src/node/index.d.ts
57
4
  declare function defineMain(config: StorybookConfig): StorybookConfig;
58
-
59
- export { type StorybookConfig, defineMain };
5
+ //#endregion
6
+ export { type StorybookConfig, defineMain };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  up
14
- } from "../_node-chunks/chunk-POKP2H4T.js";
14
+ } from "../_node-chunks/chunk-4IXQLTJZ.js";
15
15
 
16
16
  // src/server/framework-preset-angular-cli.ts
17
17
  import { logger } from "storybook/internal/node-logger";
@@ -89,7 +89,7 @@ var relative = function(from, to) {
89
89
  async function webpackFinal(baseConfig, options) {
90
90
  if (!resolvePackageDir("@angular-devkit/build-angular"))
91
91
  return logger.info('Using base config because "@angular-devkit/build-angular" is not installed'), baseConfig;
92
- let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-3TP7SGI2.js");
92
+ let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-ZUVMC33E.js");
93
93
  checkForLegacyBuildOptions(options);
94
94
  let builderContext = getBuilderContext(options), builderOptions = await getBuilderOptions(options, builderContext), webpackConfig = await getCustomWebpackConfig(baseConfig, {
95
95
  builderOptions: {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_s99df8orv4b from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_s99df8orv4b from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_s99df8orv4b from "node:module";
1
+ import CJS_COMPAT_NODE_URL_jnnvc0c4m6p from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_jnnvc0c4m6p from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_s99df8orv4b.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_s99df8orv4b.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_s99df8orv4b.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_jnnvc0c4m6p.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_jnnvc0c4m6p.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_jnnvc0c4m6p.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/angular",
3
- "version": "10.6.0-alpha.0",
3
+ "version": "10.6.0-alpha.2",
4
4
  "description": "Storybook for Angular: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -59,7 +59,7 @@
59
59
  "!src/**/*"
60
60
  ],
61
61
  "dependencies": {
62
- "@storybook/builder-webpack5": "10.6.0-alpha.0",
62
+ "@storybook/builder-webpack5": "10.6.0-alpha.2",
63
63
  "@storybook/global": "^5.0.0",
64
64
  "telejson": "8.0.0",
65
65
  "ts-dedent": "^2.0.0",
@@ -79,11 +79,11 @@
79
79
  "@angular/forms": "^19.1.1",
80
80
  "@angular/platform-browser": "^19.1.1",
81
81
  "@angular/platform-browser-dynamic": "^19.1.1",
82
- "@storybook/core-webpack": "10.6.0-alpha.0",
82
+ "@storybook/core-webpack": "10.6.0-alpha.2",
83
83
  "@types/node": "^22.19.1",
84
84
  "empathic": "^2.0.0",
85
85
  "rimraf": "^6.0.1",
86
- "typescript": "^5.9.3",
86
+ "typescript": "^6.0.3",
87
87
  "webpack": "5",
88
88
  "zone.js": "^0.15.0"
89
89
  },
@@ -100,8 +100,8 @@
100
100
  "@angular/platform-browser": ">=18.0.0 < 23.0.0",
101
101
  "@angular/platform-browser-dynamic": ">=18.0.0 < 23.0.0",
102
102
  "rxjs": "^6.5.3 || ^7.4.0",
103
- "storybook": "^10.6.0-alpha.0",
104
- "typescript": "^4.9.0 || ^5.0.0",
103
+ "storybook": "^10.6.0-alpha.2",
104
+ "typescript": "^4.9.0 || ^5.0.0 || ^6.0.0",
105
105
  "zone.js": ">=0.14.0"
106
106
  },
107
107
  "peerDependenciesMeta": {