@storybook/angular 10.2.0-alpha.6 → 10.2.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/_node-chunks/{chunk-2GTJMQSC.js → chunk-FFLMCZ6J.js} +6 -6
- package/dist/_node-chunks/{chunk-AZORT4SU.js → chunk-FP3ENUHH.js} +7 -7
- package/dist/builders/build-storybook/index.js +8 -8
- package/dist/builders/start-storybook/index.js +8 -8
- package/dist/index.d.ts +3 -3
- package/dist/node/index.js +6 -6
- package/dist/preset.js +6 -6
- package/dist/server/framework-preset-angular-cli.js +7 -7
- package/dist/server/framework-preset-angular-ivy.js +6 -6
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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-FFLMCZ6J.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_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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-FP3ENUHH.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-FFLMCZ6J.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_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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-FP3ENUHH.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-FFLMCZ6J.js";
|
|
21
21
|
|
|
22
22
|
// src/builders/start-storybook/index.ts
|
|
23
23
|
import { readFileSync } from "node:fs";
|
package/dist/index.d.ts
CHANGED
|
@@ -44,19 +44,19 @@ type Parameters = Parameters$1 & {
|
|
|
44
44
|
/**
|
|
45
45
|
* Metadata to configure the stories for a component.
|
|
46
46
|
*
|
|
47
|
-
* @see [Default export](https://storybook.js.org/docs/
|
|
47
|
+
* @see [Default export](https://storybook.js.org/docs/api/csf#default-export)
|
|
48
48
|
*/
|
|
49
49
|
type Meta<TArgs = Args> = ComponentAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
|
|
50
50
|
/**
|
|
51
51
|
* Story function that represents a CSFv2 component example.
|
|
52
52
|
*
|
|
53
|
-
* @see [Named Story exports](https://storybook.js.org/docs/
|
|
53
|
+
* @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports)
|
|
54
54
|
*/
|
|
55
55
|
type StoryFn<TArgs = Args> = AnnotatedStoryFn<AngularRenderer, TransformComponentType<TArgs>>;
|
|
56
56
|
/**
|
|
57
57
|
* Story object that represents a CSFv3 component example.
|
|
58
58
|
*
|
|
59
|
-
* @see [Named Story exports](https://storybook.js.org/docs/
|
|
59
|
+
* @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports)
|
|
60
60
|
*/
|
|
61
61
|
type StoryObj<TArgs = Args> = StoryAnnotations<AngularRenderer, TransformComponentType<TArgs>>;
|
|
62
62
|
type Decorator<TArgs = StrictArgs> = DecoratorFunction<AngularRenderer, TArgs>;
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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-FFLMCZ6J.js";
|
|
15
15
|
|
|
16
16
|
// src/server/framework-preset-angular-cli.ts
|
|
17
17
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_tvhxnhmsqhs from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_tvhxnhmsqhs from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_tvhxnhmsqhs.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_tvhxnhmsqhs.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_tvhxnhmsqhs.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.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.7",
|
|
4
4
|
"description": "Storybook for Angular: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"!src/**/*"
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@storybook/builder-webpack5": "10.2.0-alpha.
|
|
60
|
+
"@storybook/builder-webpack5": "10.2.0-alpha.7",
|
|
61
61
|
"@storybook/global": "^5.0.0",
|
|
62
62
|
"telejson": "8.0.0",
|
|
63
63
|
"ts-dedent": "^2.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@angular/forms": "^19.1.1",
|
|
78
78
|
"@angular/platform-browser": "^19.1.1",
|
|
79
79
|
"@angular/platform-browser-dynamic": "^19.1.1",
|
|
80
|
-
"@storybook/core-webpack": "10.2.0-alpha.
|
|
80
|
+
"@storybook/core-webpack": "10.2.0-alpha.7",
|
|
81
81
|
"@types/node": "^22.0.0",
|
|
82
82
|
"empathic": "^2.0.0",
|
|
83
83
|
"rimraf": "^6.0.1",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@angular/platform-browser": ">=18.0.0 < 22.0.0",
|
|
99
99
|
"@angular/platform-browser-dynamic": ">=18.0.0 < 22.0.0",
|
|
100
100
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
101
|
-
"storybook": "^10.2.0-alpha.
|
|
101
|
+
"storybook": "^10.2.0-alpha.7",
|
|
102
102
|
"typescript": "^4.9.0 || ^5.0.0",
|
|
103
103
|
"zone.js": ">=0.14.0"
|
|
104
104
|
},
|