@storybook/angular-vite 10.6.0-alpha.9 → 10.6.0-beta.1
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-J7Q36IIJ.js → chunk-GDEQEZXG.js} +6 -6
- package/dist/_node-chunks/{chunk-O34PJOHH.js → chunk-M53CMDUC.js} +7 -7
- package/dist/_node-chunks/{chunk-P24L7BWR.js → chunk-S6RQ7IHB.js} +6 -6
- package/dist/_node-chunks/{story-docs-template-analysis-JA5UX2A5.js → story-docs-template-analysis-J2BLMWYJ.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 +15 -17
- package/dist/node/index.js +6 -6
- package/dist/node/vitest.js +6 -6
- package/dist/preset.js +9 -9
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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-GDEQEZXG.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
errorSummary,
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
up
|
|
16
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
+
} from "../../_node-chunks/chunk-M53CMDUC.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveTsconfig
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-GDEQEZXG.js";
|
|
20
20
|
|
|
21
21
|
// src/builders/build-storybook/index.ts
|
|
22
22
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
errorSummary,
|
|
14
14
|
printErrorDetails,
|
|
15
15
|
up
|
|
16
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
+
} from "../../_node-chunks/chunk-M53CMDUC.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveTsconfig
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-GDEQEZXG.js";
|
|
20
20
|
|
|
21
21
|
// src/builders/start-storybook/index.ts
|
|
22
22
|
import { readFileSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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-S6RQ7IHB.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_zpaidt744q from "node:url";
|
|
22
|
+
import CJS_COMPAT_NODE_PATH_zpaidt744q from "node:path";
|
|
23
|
+
import CJS_COMPAT_NODE_MODULE_zpaidt744q from "node:module";
|
|
24
24
|
import {
|
|
25
25
|
ComponentMetaManager,
|
|
26
26
|
parseTsconfigCommandLine
|
|
@@ -35,7 +35,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
35
35
|
import * as path from "node:path";
|
|
36
36
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
37
37
|
import { logger } from "storybook/internal/node-logger";
|
|
38
|
-
var __filename =
|
|
38
|
+
var __filename = CJS_COMPAT_NODE_URL_zpaidt744q.fileURLToPath(import.meta.url), __dirname = CJS_COMPAT_NODE_PATH_zpaidt744q.dirname(__filename), require2 = CJS_COMPAT_NODE_MODULE_zpaidt744q.createRequire(import.meta.url), NOOP_LOGGER = {
|
|
39
39
|
warn: () => {
|
|
40
40
|
},
|
|
41
41
|
debug: () => {
|
|
@@ -228,7 +228,7 @@ var __filename = CJS_COMPAT_NODE_URL_ir09rvpsc8.fileURLToPath(import.meta.url),
|
|
|
228
228
|
);
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
let defaultValue = isMethod(item) ? void 0 : extractDefaultValue(item, logger42),
|
|
231
|
+
let defaultValue = isMethod(item) ? void 0 : extractDefaultValue(item, logger42), declaredType = isMethod(item) || section2 !== "inputs" && section2 !== "properties" ? { name: "other", value: "void" } : extractType(item, defaultValue, metadataJson, componentData.file), type = section2 === "inputs" && !isMethod(item) && isRequired(item) ? { ...declaredType, required: !0 } : declaredType, action = section2 === "outputs" ? { action: item.name } : {}, jsDocTags = extractMemberJsDocTags(item), argType = {
|
|
232
232
|
name: item.name,
|
|
233
233
|
description: item.rawdescription || item.description,
|
|
234
234
|
type,
|
|
@@ -237,8 +237,7 @@ var __filename = CJS_COMPAT_NODE_URL_ir09rvpsc8.fileURLToPath(import.meta.url),
|
|
|
237
237
|
category: section2,
|
|
238
238
|
...jsDocTags !== void 0 ? { jsDocTags } : {},
|
|
239
239
|
type: {
|
|
240
|
-
summary: isMethod(item) ? displaySignature(item) : item.type
|
|
241
|
-
required: isMethod(item) ? !1 : isRequired(item)
|
|
240
|
+
summary: isMethod(item) ? displaySignature(item) : item.type
|
|
242
241
|
},
|
|
243
242
|
defaultValue: { summary: defaultValue }
|
|
244
243
|
}
|
|
@@ -254,8 +253,7 @@ var __filename = CJS_COMPAT_NODE_URL_ir09rvpsc8.fileURLToPath(import.meta.url),
|
|
|
254
253
|
table: {
|
|
255
254
|
category: "outputs",
|
|
256
255
|
type: {
|
|
257
|
-
summary: `(e: ${item.type}) => void
|
|
258
|
-
required: !1
|
|
256
|
+
summary: `(e: ${item.type}) => void`
|
|
259
257
|
}
|
|
260
258
|
}
|
|
261
259
|
};
|
|
@@ -1502,7 +1500,7 @@ var readMember = (name, argType) => {
|
|
|
1502
1500
|
name,
|
|
1503
1501
|
description: argType.description,
|
|
1504
1502
|
type: table?.type?.summary,
|
|
1505
|
-
required:
|
|
1503
|
+
required: argType.type?.required === !0,
|
|
1506
1504
|
defaultValue: table?.defaultValue?.summary,
|
|
1507
1505
|
deprecated: table?.jsDocTags?.deprecated
|
|
1508
1506
|
};
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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_o5umgl73rv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_o5umgl73rv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_o5umgl73rv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_o5umgl73rv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_o5umgl73rv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_o5umgl73rv.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-GDEQEZXG.js";
|
|
15
15
|
import {
|
|
16
16
|
parseStoryFile
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-S6RQ7IHB.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { findConfigFile } from "storybook/internal/common";
|
|
@@ -934,7 +934,7 @@ var buildStoryDocsPayload = async (input, context) => {
|
|
|
934
934
|
fields: fields2
|
|
935
935
|
});
|
|
936
936
|
if (userMarkup?.kind === "literal") {
|
|
937
|
-
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-
|
|
937
|
+
let { analyzeStoryTemplate } = await import("./_node-chunks/story-docs-template-analysis-J2BLMWYJ.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(
|
|
938
938
|
referencedNames,
|
|
939
939
|
userMarkup.representedArgs,
|
|
940
940
|
shape,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular-vite",
|
|
3
|
-
"version": "10.6.0-
|
|
3
|
+
"version": "10.6.0-beta.1",
|
|
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": "10.6.0-
|
|
66
|
+
"@storybook/builder-vite": "10.6.0-beta.1",
|
|
67
67
|
"@storybook/global": "^5.0.0",
|
|
68
68
|
"telejson": "8.0.0",
|
|
69
69
|
"ts-dedent": "^2.0.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"@angular/platform-browser": "^21.2.14",
|
|
84
84
|
"@angular/platform-browser-dynamic": "^21.2.14",
|
|
85
85
|
"@babel/types": "^7.28.5",
|
|
86
|
-
"@storybook/angular-cm": "10.6.0-
|
|
87
|
-
"@storybook/angular-compodoc": "10.6.0-
|
|
86
|
+
"@storybook/angular-cm": "10.6.0-beta.1",
|
|
87
|
+
"@storybook/angular-compodoc": "10.6.0-beta.1",
|
|
88
88
|
"@types/node": "^22.19.1",
|
|
89
89
|
"empathic": "^2.0.0",
|
|
90
90
|
"memfs": "^4.11.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@angular/core": ">=21.0.0 < 23.0.0",
|
|
106
106
|
"@angular/platform-browser": ">=21.0.0 < 23.0.0",
|
|
107
107
|
"rxjs": "^7.4.0",
|
|
108
|
-
"storybook": "^10.6.0-
|
|
108
|
+
"storybook": "^10.6.0-beta.1",
|
|
109
109
|
"typescript": ">= 5.9.x",
|
|
110
110
|
"vite": ">=8.0.0",
|
|
111
111
|
"zone.js": ">=0.14.0"
|