@storybook/angular-vite 11.0.0-alpha.3 → 11.0.0-alpha.4
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/_node-chunks/{chunk-ZBMRBZHK.js → chunk-DPUVYM6P.js} +6 -6
- package/dist/_node-chunks/{chunk-O35HWOQ7.js → chunk-HQBCIZ5X.js} +7 -7
- package/dist/_node-chunks/{chunk-HHUGSUIO.js → chunk-QYZAAGUK.js} +6 -6
- package/dist/_node-chunks/{story-docs-template-analysis-PQ3TSQNO.js → story-docs-template-analysis-QZKDXYIV.js} +6 -6
- package/dist/builders/build-storybook/index.js +8 -8
- package/dist/builders/start-storybook/index.js +8 -8
- package/dist/docgen/docgen-worker.js +33 -18
- package/dist/node/index.js +6 -6
- package/dist/node/vitest.js +6 -6
- package/dist/preset.js +33 -11
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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-
|
|
14
|
+
} from "./chunk-DPUVYM6P.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/empathic/package.mjs
|
|
17
17
|
function up2(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
printErrorDetails,
|
|
16
16
|
requireBuilderTarget,
|
|
17
17
|
up
|
|
18
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
+
} from "../../_node-chunks/chunk-HQBCIZ5X.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveTsconfig
|
|
21
|
-
} from "../../_node-chunks/chunk-
|
|
21
|
+
} from "../../_node-chunks/chunk-DPUVYM6P.js";
|
|
22
22
|
|
|
23
23
|
// src/builders/build-storybook/index.ts
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
printErrorDetails,
|
|
16
16
|
requireBuilderTarget,
|
|
17
17
|
up
|
|
18
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
+
} from "../../_node-chunks/chunk-HQBCIZ5X.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveTsconfig
|
|
21
|
-
} from "../../_node-chunks/chunk-
|
|
21
|
+
} from "../../_node-chunks/chunk-DPUVYM6P.js";
|
|
22
22
|
|
|
23
23
|
// src/builders/start-storybook/index.ts
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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
|
resolveStoryComponent
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-QYZAAGUK.js";
|
|
15
15
|
|
|
16
16
|
// src/docgen/docgen-worker.ts
|
|
17
17
|
import { STORY_FILE_TEST_REGEXP, getStoryImportPathFromEntry as getStoryImportPathFromEntry2 } from "storybook/internal/common";
|
|
18
18
|
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
19
19
|
|
|
20
20
|
// ../../lib/angular-cm/dist/index.js
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
21
|
+
import CJS_COMPAT_NODE_URL_b09959ht90o from "node:url";
|
|
22
|
+
import CJS_COMPAT_NODE_PATH_b09959ht90o from "node:path";
|
|
23
|
+
import CJS_COMPAT_NODE_MODULE_b09959ht90o from "node:module";
|
|
24
24
|
import { isInNodeModules } from "storybook/internal/common";
|
|
25
25
|
import {
|
|
26
26
|
ComponentMetaManager,
|
|
@@ -36,7 +36,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
36
36
|
import * as path from "node:path";
|
|
37
37
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
38
38
|
import { logger } from "storybook/internal/node-logger";
|
|
39
|
-
var __filename =
|
|
39
|
+
var __filename = CJS_COMPAT_NODE_URL_b09959ht90o.fileURLToPath(import.meta.url), __dirname = CJS_COMPAT_NODE_PATH_b09959ht90o.dirname(__filename), require2 = CJS_COMPAT_NODE_MODULE_b09959ht90o.createRequire(import.meta.url), resolvedSymbol = (ctx, node) => {
|
|
40
40
|
let symbol = ctx.checker.getSymbolAtLocation(node);
|
|
41
41
|
return symbol && symbol.flags & ctx.ts.SymbolFlags.Alias ? ctx.checker.getAliasedSymbol(symbol) : symbol;
|
|
42
42
|
}, resolvedNameSymbol = (ctx, name) => {
|
|
@@ -416,7 +416,7 @@ ${detailLines(lines).join(`
|
|
|
416
416
|
return arg && ctx.ts.isStringLiteralLike(arg) ? arg.text : void 0;
|
|
417
417
|
}, objectProperty = (ctx, object, key) => {
|
|
418
418
|
for (let property of object.properties)
|
|
419
|
-
if (ctx.ts.isPropertyAssignment(property) && ctx.ts.isIdentifier(property.name) && property.name.text === key)
|
|
419
|
+
if (ctx.ts.isPropertyAssignment(property) && (ctx.ts.isIdentifier(property.name) || ctx.ts.isStringLiteralLike(property.name)) && property.name.text === key)
|
|
420
420
|
return property.initializer;
|
|
421
421
|
}, stringOption = (ctx, object, key) => {
|
|
422
422
|
let initializer = objectProperty(ctx, object, key);
|
|
@@ -1343,11 +1343,26 @@ var KNOWN_DECORATORS = {
|
|
|
1343
1343
|
let selector = objectProperty(ctx, metadata, "selector"), value = selector && resolveInitializer(ctx, selector);
|
|
1344
1344
|
return value && ctx.ts.isStringLiteralLike(value) ? value.text : void 0;
|
|
1345
1345
|
}, decoratorStandalone = (ctx, metadata) => {
|
|
1346
|
-
let standalone =
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1346
|
+
let standalone = !0;
|
|
1347
|
+
for (let property of metadata.properties) {
|
|
1348
|
+
if (ctx.ts.isSpreadAssignment(property)) {
|
|
1349
|
+
standalone = void 0;
|
|
1350
|
+
continue;
|
|
1351
|
+
}
|
|
1352
|
+
if (ctx.ts.isComputedPropertyName(property.name)) {
|
|
1353
|
+
standalone = void 0;
|
|
1354
|
+
continue;
|
|
1355
|
+
}
|
|
1356
|
+
if (ctx.ts.isShorthandPropertyAssignment(property)) {
|
|
1357
|
+
property.name.text === "standalone" && (standalone = void 0);
|
|
1358
|
+
continue;
|
|
1359
|
+
}
|
|
1360
|
+
if (!ctx.ts.isPropertyAssignment(property) || !ctx.ts.isIdentifier(property.name) && !ctx.ts.isStringLiteralLike(property.name) || property.name.text !== "standalone")
|
|
1361
|
+
continue;
|
|
1362
|
+
let value = resolveInitializer(ctx, property.initializer);
|
|
1363
|
+
standalone = value?.kind === ctx.ts.SyntaxKind.TrueKeyword ? !0 : value?.kind === ctx.ts.SyntaxKind.FalseKeyword ? !1 : void 0;
|
|
1364
|
+
}
|
|
1365
|
+
return standalone;
|
|
1351
1366
|
}, resolveInitializer = (ctx, expression) => {
|
|
1352
1367
|
let { ts } = ctx;
|
|
1353
1368
|
if (!ts.isIdentifier(expression))
|
|
@@ -1651,7 +1666,7 @@ var inputsOf = (entry) => "inputsClass" in entry ? entry.inputsClass ?? [] : [],
|
|
|
1651
1666
|
return {
|
|
1652
1667
|
name: entry.name,
|
|
1653
1668
|
selector: entry.selector,
|
|
1654
|
-
standalone: entry.standalone
|
|
1669
|
+
standalone: entry.standalone,
|
|
1655
1670
|
inputs,
|
|
1656
1671
|
outputs,
|
|
1657
1672
|
enums: (meta.json.miscellaneous?.enumerations ?? []).map((enumeration) => ({
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/node/vitest.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mhv49gwwcwe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mhv49gwwcwe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mhv49gwwcwe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mhv49gwwcwe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mhv49gwwcwe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mhv49gwwcwe.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
|
findTsconfigUp
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-DPUVYM6P.js";
|
|
15
15
|
import {
|
|
16
16
|
parseStoryFile
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-QYZAAGUK.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { findConfigFile } from "storybook/internal/common";
|
|
@@ -757,7 +757,22 @@ var ngModulesFromDecorators = (decorators, componentName) => {
|
|
|
757
757
|
var HOST_SELECTOR = "app-demo", HOST_CLASS = "DemoComponent", escapeTemplateLiteral = (template) => template.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
|
|
758
758
|
var memberName = (name) => isValidIdentifier(name) ? name : `['${name}']`, memberValue = (value) => value.split(`
|
|
759
759
|
`).join(`
|
|
760
|
-
`),
|
|
760
|
+
`), importabilityWarning = ({
|
|
761
|
+
componentName,
|
|
762
|
+
componentImport,
|
|
763
|
+
viaComponentOutlet,
|
|
764
|
+
standalone,
|
|
765
|
+
importable,
|
|
766
|
+
moduleNames
|
|
767
|
+
}) => {
|
|
768
|
+
let addDirectly = componentImport === void 0 ? `add ${componentName} to \`imports\` directly` : `import ${componentName} and add it to \`imports\` directly`;
|
|
769
|
+
if (!viaComponentOutlet && standalone === !1 && moduleNames.length === 0)
|
|
770
|
+
return `${componentName} is declared with \`standalone: false\`, so it cannot be listed in the host component's \`imports\`. Add the NgModule that declares and exports ${componentName} to \`imports\` to make this snippet compile.`;
|
|
771
|
+
if (standalone === void 0 && !viaComponentOutlet)
|
|
772
|
+
return moduleNames.length > 0 ? `${componentName}'s \`standalone\` status could not be determined, so the NgModules readable from \`moduleMetadata\` were listed instead of importing ${componentName} directly. Confirm one of them declares and exports ${componentName}; if ${componentName} is standalone instead, ${addDirectly}.` : `${componentName}'s \`standalone\` status could not be determined, so it was not added to the host component's \`imports\`. Add the NgModule that declares and exports ${componentName}, or, if it is standalone, ${addDirectly}.`;
|
|
773
|
+
if (importable && componentImport === void 0)
|
|
774
|
+
return `${componentName} is declared in the story file, so the snippet references it without importing it.`;
|
|
775
|
+
}, embedTemplate = (template) => template.includes(`
|
|
761
776
|
`) ? `
|
|
762
777
|
${template.split(`
|
|
763
778
|
`).map((line) => line === "" ? line : ` ${line}`).join(`
|
|
@@ -794,7 +809,14 @@ ${members.join(`
|
|
|
794
809
|
"})",
|
|
795
810
|
`export class ${HOST_CLASS} ${body}`
|
|
796
811
|
].join(`
|
|
797
|
-
`), warning =
|
|
812
|
+
`), warning = importabilityWarning({
|
|
813
|
+
componentName,
|
|
814
|
+
componentImport,
|
|
815
|
+
viaComponentOutlet,
|
|
816
|
+
standalone,
|
|
817
|
+
importable,
|
|
818
|
+
moduleNames
|
|
819
|
+
});
|
|
798
820
|
return warning === void 0 ? { snippet } : { snippet, warning };
|
|
799
821
|
};
|
|
800
822
|
|
|
@@ -938,7 +960,7 @@ var buildStoryDocsPayload = async (input, context) => {
|
|
|
938
960
|
fields: fields2
|
|
939
961
|
});
|
|
940
962
|
if (userMarkup?.kind === "literal") {
|
|
941
|
-
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-
|
|
963
|
+
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-QZKDXYIV.js"), analysis = analyzeStoryTemplate(userMarkup.markup, userMarkup.expansions), referencedNames = new Set(analysis.kind === "resolved" ? analysis.referencedNames : []), boundOutputs = analysis.kind === "resolved" ? snippetMeta.outputs.filter((name) => analysis.boundOutputs.includes(name)) : [], hostArgs = referencedArgFields(
|
|
942
964
|
referencedNames,
|
|
943
965
|
userMarkup.representedArgs,
|
|
944
966
|
shape,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular-vite",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.4",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"!src/**/*"
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@storybook/builder-vite": "11.0.0-alpha.
|
|
66
|
+
"@storybook/builder-vite": "11.0.0-alpha.4",
|
|
67
67
|
"@storybook/global": "^5.0.0",
|
|
68
68
|
"telejson": "8.0.0",
|
|
69
69
|
"ts-dedent": "^2.0.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@angular/platform-browser": "^21.2.14",
|
|
83
83
|
"@angular/platform-browser-dynamic": "^21.2.14",
|
|
84
84
|
"@babel/types": "^7.28.5",
|
|
85
|
-
"@storybook/angular-cm": "11.0.0-alpha.
|
|
86
|
-
"@storybook/angular-compodoc": "11.0.0-alpha.
|
|
85
|
+
"@storybook/angular-cm": "11.0.0-alpha.4",
|
|
86
|
+
"@storybook/angular-compodoc": "11.0.0-alpha.4",
|
|
87
87
|
"@types/node": "^22.19.1",
|
|
88
88
|
"empathic": "^2.0.0",
|
|
89
89
|
"memfs": "^4.11.1",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"rxjs": "^7.4.0",
|
|
107
107
|
"sass": "^1.0.0",
|
|
108
108
|
"sass-embedded": "^1.0.0",
|
|
109
|
-
"storybook": "^11.0.0-alpha.
|
|
109
|
+
"storybook": "^11.0.0-alpha.4",
|
|
110
110
|
"typescript": "^5.9.0 || ^6.0.0",
|
|
111
111
|
"vite": ">=8.0.0",
|
|
112
112
|
"zone.js": ">=0.14.0"
|