@storybook/angular 10.6.0-alpha.6 → 10.6.0-alpha.7
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/_browser-chunks/{chunk-4JGENPWD.js → chunk-TDP52VBS.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZPUBAGJU.js → chunk-VRHTETWH.js} +6 -8
- package/dist/_node-chunks/{angular-cli-webpack-XYZ6XVTX.js → angular-cli-webpack-FT44ESCO.js} +6 -6
- package/dist/_node-chunks/{chunk-LMHKUX55.js → chunk-P2CF6QS6.js} +7 -7
- package/dist/_node-chunks/{chunk-UNXAF6BE.js → chunk-TS6FSF7K.js} +6 -6
- package/dist/builders/build-storybook/index.js +8 -8
- package/dist/builders/start-storybook/index.js +8 -8
- package/dist/client/config.js +1 -1
- package/dist/client/index.js +2 -2
- package/dist/index.js +2 -2
- package/dist/node/index.js +6 -6
- package/dist/preset.js +6 -6
- package/dist/server/framework-preset-angular-cli.js +8 -8
- package/dist/server/framework-preset-angular-ivy.js +6 -6
- package/package.json +5 -5
|
@@ -418,7 +418,7 @@ var EncodingMode;
|
|
|
418
418
|
EncodingMode2[EncodingMode2.UTF8 = 0] = "UTF8", EncodingMode2[EncodingMode2.ASCII = 1] = "ASCII", EncodingMode2[EncodingMode2.Extensive = 2] = "Extensive", EncodingMode2[EncodingMode2.Attribute = 3] = "Attribute", EncodingMode2[EncodingMode2.Text = 4] = "Text";
|
|
419
419
|
})(EncodingMode || (EncodingMode = {}));
|
|
420
420
|
|
|
421
|
-
// ../../lib/angular-compodoc/dist/_browser-chunks/chunk-
|
|
421
|
+
// ../../lib/angular-compodoc/dist/_browser-chunks/chunk-FMGKBLGO.js
|
|
422
422
|
var NOOP_LOGGER = {
|
|
423
423
|
warn: () => {
|
|
424
424
|
},
|
|
@@ -493,7 +493,7 @@ var SECTION_ORDER = [
|
|
|
493
493
|
componentFile
|
|
494
494
|
);
|
|
495
495
|
return typeAlias ? (seen.add(compodocType), resolveTypealias(typeAlias.rawtype, compodocJson, componentFile, seen)) : compodocType;
|
|
496
|
-
}, isFunctionTypeString = (compodocType) => compodocType === "function" ||
|
|
496
|
+
}, isFunctionTypeString = (compodocType) => compodocType === "function" || /^(new\s+)?(<.*>\s*)?\(.*\)\s*=>/.test(compodocType), extractType = (property, defaultValue, compodocJson, componentFile, modern = !1) => {
|
|
497
497
|
let compodocType = property.type || extractTypeFromValue(defaultValue);
|
|
498
498
|
switch (compodocType) {
|
|
499
499
|
case "string":
|
|
@@ -659,16 +659,14 @@ import { logger } from "storybook/internal/client-logger";
|
|
|
659
659
|
import { global as global2 } from "@storybook/global";
|
|
660
660
|
var { FEATURES } = global2;
|
|
661
661
|
var getCompodocJson = () => global2.__STORYBOOK_COMPODOC_JSON__;
|
|
662
|
-
var unwrapHtml = (html) => new global2.DOMParser().parseFromString(html, "text/html").body.textContent ?? "", extractArgTypesFromData2 = (componentData) => extractArgTypesFromData(componentData, {
|
|
662
|
+
var unwrapHtml = (html) => new global2.DOMParser().parseFromString(html, "text/html").body.textContent ?? "", extractArgTypesFromData2 = (componentData, { filterNonInputControls = FEATURES.angularFilterNonInputControls } = {}) => extractArgTypesFromData(componentData, {
|
|
663
663
|
compodocJson: getCompodocJson(),
|
|
664
|
-
|
|
665
|
-
// always thrown there rather than silently reading the flag as `false`.
|
|
666
|
-
filterNonInputControls: FEATURES.angularFilterNonInputControls,
|
|
664
|
+
filterNonInputControls,
|
|
667
665
|
logger,
|
|
668
666
|
unwrapHtml
|
|
669
|
-
}), extractArgTypes = (component) => {
|
|
667
|
+
}), extractArgTypes = (component, options) => {
|
|
670
668
|
let componentData = getComponentData(component, { compodocJson: getCompodocJson(), logger });
|
|
671
|
-
return componentData && extractArgTypesFromData2(componentData);
|
|
669
|
+
return componentData && extractArgTypesFromData2(componentData, options);
|
|
672
670
|
}, extractComponentDescription = (component) => {
|
|
673
671
|
let componentData = getComponentData(component, { compodocJson: getCompodocJson(), logger });
|
|
674
672
|
return componentData && (componentData.rawdescription || componentData.description);
|
package/dist/_node-chunks/{angular-cli-webpack-XYZ6XVTX.js → angular-cli-webpack-FT44ESCO.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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-TS6FSF7K.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_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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-
|
|
17
|
+
} from "../../_node-chunks/chunk-P2CF6QS6.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-TS6FSF7K.js";
|
|
21
21
|
|
|
22
22
|
// src/builders/build-storybook/index.ts
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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-
|
|
17
|
+
} from "../../_node-chunks/chunk-P2CF6QS6.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-TS6FSF7K.js";
|
|
21
21
|
|
|
22
22
|
// src/builders/start-storybook/index.ts
|
|
23
23
|
import { readFileSync } from "node:fs";
|
package/dist/client/config.js
CHANGED
package/dist/client/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
componentWrapperDecorator,
|
|
6
6
|
moduleMetadata,
|
|
7
7
|
setProjectAnnotations
|
|
8
|
-
} from "../_browser-chunks/chunk-
|
|
9
|
-
import "../_browser-chunks/chunk-
|
|
8
|
+
} from "../_browser-chunks/chunk-TDP52VBS.js";
|
|
9
|
+
import "../_browser-chunks/chunk-VRHTETWH.js";
|
|
10
10
|
import "../_browser-chunks/chunk-RV6FL7AO.js";
|
|
11
11
|
import "../_browser-chunks/chunk-FPQDYJYM.js";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
componentWrapperDecorator,
|
|
6
6
|
moduleMetadata,
|
|
7
7
|
setProjectAnnotations
|
|
8
|
-
} from "./_browser-chunks/chunk-
|
|
9
|
-
import "./_browser-chunks/chunk-
|
|
8
|
+
} from "./_browser-chunks/chunk-TDP52VBS.js";
|
|
9
|
+
import "./_browser-chunks/chunk-VRHTETWH.js";
|
|
10
10
|
import "./_browser-chunks/chunk-RV6FL7AO.js";
|
|
11
11
|
import "./_browser-chunks/chunk-FPQDYJYM.js";
|
|
12
12
|
export {
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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-
|
|
14
|
+
} from "../_node-chunks/chunk-TS6FSF7K.js";
|
|
15
15
|
|
|
16
16
|
// src/server/framework-preset-angular-cli.ts
|
|
17
17
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -314,7 +314,7 @@ var delimiter = globalThis.process?.platform === "win32" ? ";" : ":", _platforms
|
|
|
314
314
|
async function webpackFinal(baseConfig, options) {
|
|
315
315
|
if (!resolvePackageDir("@angular-devkit/build-angular"))
|
|
316
316
|
return logger.info('Using base config because "@angular-devkit/build-angular" is not installed'), baseConfig;
|
|
317
|
-
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-
|
|
317
|
+
let { WebpackDefinePlugin, WebpackIgnorePlugin } = await import("@storybook/builder-webpack5"), { getWebpackConfig: getCustomWebpackConfig } = await import("../_node-chunks/angular-cli-webpack-FT44ESCO.js");
|
|
318
318
|
checkForLegacyBuildOptions(options);
|
|
319
319
|
let builderContext = getBuilderContext(options), builderOptions = await getBuilderOptions(options, builderContext), webpackConfig = await getCustomWebpackConfig(baseConfig, {
|
|
320
320
|
builderOptions: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_z3p55qfa2gs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_z3p55qfa2gs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_z3p55qfa2gs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_z3p55qfa2gs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_z3p55qfa2gs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_z3p55qfa2gs.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.
|
|
3
|
+
"version": "10.6.0-alpha.7",
|
|
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.
|
|
62
|
+
"@storybook/builder-webpack5": "10.6.0-alpha.7",
|
|
63
63
|
"@storybook/global": "^5.0.0",
|
|
64
64
|
"telejson": "8.0.0",
|
|
65
65
|
"ts-dedent": "^2.0.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
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/angular-compodoc": "10.6.0-alpha.
|
|
83
|
-
"@storybook/core-webpack": "10.6.0-alpha.
|
|
82
|
+
"@storybook/angular-compodoc": "10.6.0-alpha.7",
|
|
83
|
+
"@storybook/core-webpack": "10.6.0-alpha.7",
|
|
84
84
|
"@types/node": "^22.19.1",
|
|
85
85
|
"empathic": "^2.0.0",
|
|
86
86
|
"rimraf": "^6.0.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@angular/platform-browser": ">=18.0.0 < 23.0.0",
|
|
102
102
|
"@angular/platform-browser-dynamic": ">=18.0.0 < 23.0.0",
|
|
103
103
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
104
|
-
"storybook": "^10.6.0-alpha.
|
|
104
|
+
"storybook": "^10.6.0-alpha.7",
|
|
105
105
|
"typescript": "^4.9.0 || ^5.0.0 || ^6.0.0",
|
|
106
106
|
"zone.js": ">=0.14.0"
|
|
107
107
|
},
|