@storybook/angular 10.4.0-alpha.2 → 10.4.0-alpha.3

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,15 +1,15 @@
1
1
  import {
2
2
  config_exports
3
- } from "./chunk-XA6C6Y3S.js";
3
+ } from "./chunk-QQWSC6HR.js";
4
4
  import {
5
5
  config_exports as config_exports2
6
- } from "./chunk-CT6JF2ND.js";
6
+ } from "./chunk-KKFRD2ZH.js";
7
7
  import {
8
8
  computesTemplateFromComponent,
9
9
  formatPropInTemplate,
10
10
  isComponent,
11
11
  render_exports
12
- } from "./chunk-34GOABUT.js";
12
+ } from "./chunk-6PLRDPVY.js";
13
13
 
14
14
  // src/client/portable-stories.ts
15
15
  import {
@@ -519,12 +519,13 @@ var applicationRefs = /* @__PURE__ */ new Map(), STORY_UID_ATTRIBUTE = "data-sb-
519
519
  * @param component {Component}
520
520
  */
521
521
  async render({
522
+ storyId,
522
523
  storyFnAngular,
523
524
  forced,
524
525
  component,
525
526
  targetDOMNode
526
527
  }) {
527
- let targetSelector = this.generateTargetSelectorFromStoryId(targetDOMNode.id), newStoryProps$ = new BehaviorSubject(storyFnAngular.props);
528
+ let targetSelector = this.generateTargetSelectorFromStoryId(storyId), newStoryProps$ = new BehaviorSubject(storyFnAngular.props);
528
529
  if (!this.fullRendererRequired({
529
530
  targetDOMNode,
530
531
  storyFnAngular,
@@ -536,7 +537,7 @@ var applicationRefs = /* @__PURE__ */ new Map(), STORY_UID_ATTRIBUTE = "data-sb-
536
537
  this.storyProps$.next(storyFnAngular.props);
537
538
  return;
538
539
  }
539
- await this.beforeFullRender(targetDOMNode), this.storyProps$ && this.storyProps$.complete(), this.storyProps$ = newStoryProps$, this.initAngularRootElement(targetDOMNode, targetSelector);
540
+ await this.beforeFullRender(targetDOMNode), this.storyProps$ && this.storyProps$.complete(), this.storyProps$ = newStoryProps$, this.initAngularRootElement(targetDOMNode, targetSelector, storyId);
540
541
  let analyzedMetadata = new PropertyExtractor(storyFnAngular.moduleMetadata, component);
541
542
  await analyzedMetadata.init();
542
543
  let storyUid = this.generateStoryUIdFromRawStoryUid(
@@ -602,7 +603,7 @@ var applicationRefs = /* @__PURE__ */ new Map(), STORY_UID_ATTRIBUTE = "data-sb-
602
603
  return rawStoryUid.normalize("NFD").replace(accentCharacters, "");
603
604
  }
604
605
  /** Adds DOM element that angular will use as bootstrap component. */
605
- initAngularRootElement(targetDOMNode, targetSelector) {
606
+ initAngularRootElement(targetDOMNode, targetSelector, _storyId) {
606
607
  targetDOMNode.innerHTML = "", targetDOMNode.appendChild(document.createElement(targetSelector));
607
608
  }
608
609
  fullRendererRequired({
@@ -655,8 +656,8 @@ var DocsRenderer = class _DocsRenderer extends AbstractRenderer {
655
656
  async beforeFullRender(domNode) {
656
657
  _DocsRenderer.resetApplications(domNode);
657
658
  }
658
- initAngularRootElement(targetDOMNode, targetSelector) {
659
- super.initAngularRootElement(targetDOMNode, targetSelector), targetDOMNode.setAttribute(STORY_UID_ATTRIBUTE, getNextStoryUID(targetDOMNode.id));
659
+ initAngularRootElement(targetDOMNode, targetSelector, storyId) {
660
+ super.initAngularRootElement(targetDOMNode, targetSelector, storyId), targetDOMNode.setAttribute(STORY_UID_ATTRIBUTE, getNextStoryUID(storyId));
660
661
  }
661
662
  };
662
663
 
@@ -691,8 +692,14 @@ function clearRootHTMLElement(renderType) {
691
692
 
692
693
  // src/client/render.ts
693
694
  var rendererFactory = new RendererFactory(), render = (props) => ({ props });
694
- async function renderToCanvas({ storyFn, showMain, forceRemount, storyContext: { component } }, element) {
695
+ async function renderToCanvas({
696
+ storyFn,
697
+ showMain,
698
+ forceRemount,
699
+ storyContext: { component, id: storyId }
700
+ }, element) {
695
701
  showMain(), await (await rendererFactory.getRendererInstance(element)).render({
702
+ storyId,
696
703
  storyFnAngular: storyFn(),
697
704
  component,
698
705
  forced: !forceRemount,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __export,
3
3
  computesTemplateSourceFromComponent
4
- } from "./chunk-34GOABUT.js";
4
+ } from "./chunk-6PLRDPVY.js";
5
5
 
6
6
  // src/client/docs/config.ts
7
7
  var config_exports = {};
@@ -3,7 +3,7 @@ import {
3
3
  computesTemplateFromComponent,
4
4
  render,
5
5
  renderToCanvas
6
- } from "./chunk-34GOABUT.js";
6
+ } from "./chunk-6PLRDPVY.js";
7
7
 
8
8
  // src/client/config.ts
9
9
  var config_exports = {};
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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-Q52F3GMU.js";
14
+ } from "./chunk-664RH3HN.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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-P7765GPQ.js";
17
+ } from "../../_node-chunks/chunk-CHMWRYXH.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-Q52F3GMU.js";
20
+ } from "../../_node-chunks/chunk-664RH3HN.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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-P7765GPQ.js";
17
+ } from "../../_node-chunks/chunk-CHMWRYXH.js";
18
18
  import {
19
19
  up
20
- } from "../../_node-chunks/chunk-Q52F3GMU.js";
20
+ } from "../../_node-chunks/chunk-664RH3HN.js";
21
21
 
22
22
  // src/builders/start-storybook/index.ts
23
23
  import { readFileSync } from "node:fs";
@@ -2,11 +2,11 @@ import {
2
2
  argTypesEnhancers,
3
3
  decorateStory,
4
4
  parameters
5
- } from "../_browser-chunks/chunk-XA6C6Y3S.js";
5
+ } from "../_browser-chunks/chunk-QQWSC6HR.js";
6
6
  import {
7
7
  render,
8
8
  renderToCanvas
9
- } from "../_browser-chunks/chunk-34GOABUT.js";
9
+ } from "../_browser-chunks/chunk-6PLRDPVY.js";
10
10
  export {
11
11
  decorateStory as applyDecorators,
12
12
  argTypesEnhancers,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  decorators,
3
3
  parameters
4
- } from "../../_browser-chunks/chunk-CT6JF2ND.js";
5
- import "../../_browser-chunks/chunk-34GOABUT.js";
4
+ } from "../../_browser-chunks/chunk-KKFRD2ZH.js";
5
+ import "../../_browser-chunks/chunk-6PLRDPVY.js";
6
6
  export {
7
7
  decorators,
8
8
  parameters
@@ -5,10 +5,10 @@ import {
5
5
  componentWrapperDecorator,
6
6
  moduleMetadata,
7
7
  setProjectAnnotations
8
- } from "../_browser-chunks/chunk-XYAB765U.js";
9
- import "../_browser-chunks/chunk-XA6C6Y3S.js";
10
- import "../_browser-chunks/chunk-CT6JF2ND.js";
11
- import "../_browser-chunks/chunk-34GOABUT.js";
8
+ } from "../_browser-chunks/chunk-6IPUGLI5.js";
9
+ import "../_browser-chunks/chunk-QQWSC6HR.js";
10
+ import "../_browser-chunks/chunk-KKFRD2ZH.js";
11
+ import "../_browser-chunks/chunk-6PLRDPVY.js";
12
12
  export {
13
13
  __definePreview,
14
14
  applicationConfig,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { WebRenderer, Parameters as Parameters$1, StrictArgs, DecoratorFunction, LoaderFunction, Args, ComponentAnnotations, ProjectAnnotations, StoryContext as StoryContext$1, AnnotatedStoryFn, StoryAnnotations, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Renderer, ArgsStoryFn, StorybookConfig as StorybookConfig$2, Options, CompatibleString, TypescriptOptions as TypescriptOptions$1 } from 'storybook/internal/types';
1
+ import { WebRenderer, Parameters as Parameters$1, 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
2
  export { ArgTypes, Args, Parameters, StrictArgs } from 'storybook/internal/types';
3
3
  import * as AngularCore from '@angular/core';
4
4
  import { Provider, ApplicationConfig, Type } from '@angular/core';
5
- import { Meta as Meta$1, Story, AddonTypes, Preview as Preview$1, PreviewAddon, InferTypes } from 'storybook/internal/csf';
5
+ import { PreviewAddon, InferTypes, AddonTypes, Preview as Preview$1, Meta as Meta$1, Story } from 'storybook/internal/csf';
6
6
  import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from '@storybook/builder-webpack5';
7
7
 
8
8
  interface NgModuleMetadata {
package/dist/index.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  componentWrapperDecorator,
6
6
  moduleMetadata,
7
7
  setProjectAnnotations
8
- } from "./_browser-chunks/chunk-XYAB765U.js";
9
- import "./_browser-chunks/chunk-XA6C6Y3S.js";
10
- import "./_browser-chunks/chunk-CT6JF2ND.js";
11
- import "./_browser-chunks/chunk-34GOABUT.js";
8
+ } from "./_browser-chunks/chunk-6IPUGLI5.js";
9
+ import "./_browser-chunks/chunk-QQWSC6HR.js";
10
+ import "./_browser-chunks/chunk-KKFRD2ZH.js";
11
+ import "./_browser-chunks/chunk-6PLRDPVY.js";
12
12
  export {
13
13
  __definePreview,
14
14
  applicationConfig,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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-Q52F3GMU.js";
14
+ } from "../_node-chunks/chunk-664RH3HN.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-OGMHNY6L.js");
92
+ let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-Z4ZOW2MH.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_g2ug9flvt5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_g2ug9flvt5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_g2ug9flvt5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_gtibs2r9sy8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_gtibs2r9sy8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_gtibs2r9sy8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_g2ug9flvt5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_g2ug9flvt5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_g2ug9flvt5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_gtibs2r9sy8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_gtibs2r9sy8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_gtibs2r9sy8.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.4.0-alpha.2",
3
+ "version": "10.4.0-alpha.3",
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.4.0-alpha.2",
62
+ "@storybook/builder-webpack5": "10.4.0-alpha.3",
63
63
  "@storybook/global": "^5.0.0",
64
64
  "telejson": "8.0.0",
65
65
  "ts-dedent": "^2.0.0",
@@ -79,7 +79,7 @@
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.4.0-alpha.2",
82
+ "@storybook/core-webpack": "10.4.0-alpha.3",
83
83
  "@types/node": "^22.19.1",
84
84
  "empathic": "^2.0.0",
85
85
  "rimraf": "^6.0.1",
@@ -100,7 +100,7 @@
100
100
  "@angular/platform-browser": ">=18.0.0 < 22.0.0",
101
101
  "@angular/platform-browser-dynamic": ">=18.0.0 < 22.0.0",
102
102
  "rxjs": "^6.5.3 || ^7.4.0",
103
- "storybook": "^10.4.0-alpha.2",
103
+ "storybook": "^10.4.0-alpha.3",
104
104
  "typescript": "^4.9.0 || ^5.0.0",
105
105
  "zone.js": ">=0.14.0"
106
106
  },