@storybook/angular-vite 10.6.0-alpha.6 → 10.6.0-alpha.8
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/build-schema.json +33 -5
- package/dist/_browser-chunks/{chunk-CHMLOECK.js → chunk-AL7GEPYM.js} +15 -26
- package/dist/_browser-chunks/{chunk-HBLYOJ22.js → chunk-THQDNKQS.js} +3 -3
- package/dist/_browser-chunks/{chunk-ECGMCGUZ.js → chunk-UJ3I56EP.js} +6 -6
- package/dist/_browser-chunks/{chunk-BUNW7ROM.js → chunk-VP3W5GY3.js} +4 -4
- package/dist/_node-chunks/{chunk-ORVVXDOZ.js → chunk-5GTDRCMW.js} +18 -8
- package/dist/_node-chunks/{chunk-6P3TQP4W.js → chunk-DQYSVBAE.js} +7 -7
- package/dist/_node-chunks/chunk-FLU3HTGB.js +42 -0
- package/dist/_node-chunks/story-docs-template-analysis-LGFOFAHO.js +163 -0
- package/dist/builders/build-storybook/index.js +15 -10
- package/dist/builders/start-storybook/index.js +15 -10
- package/dist/chunk-Bv2XDHY-.d.ts +64 -0
- package/dist/client/config.js +2 -2
- package/dist/client/docs/config.js +2 -2
- package/dist/client/index.js +4 -4
- package/dist/docgen/docgen-worker.js +784 -286
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +6 -6
- package/dist/node/vitest.js +6 -6
- package/dist/preset.js +770 -197
- package/package.json +6 -6
- package/start-schema.json +33 -5
- package/dist/_node-chunks/chunk-5LXEVSHB.js +0 -35
- package/dist/chunk-D8_SR6hI.d.ts +0 -31
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CompatibleString, StorybookConfig } from "storybook/internal/types";
|
|
2
|
+
import { BuilderOptions, StorybookConfigVite } from "@storybook/builder-vite";
|
|
3
|
+
|
|
4
|
+
//#region code/lib/angular-cm/dist/index.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Which members reach the props table, as a strict ladder: `all` ⊃ `api` ⊃ `inputs`.
|
|
7
|
+
*
|
|
8
|
+
* - `all`: every member of every section.
|
|
9
|
+
* - `api`: the component's template-facing surface, meaning declared inputs and outputs whatever
|
|
10
|
+
* their TypeScript visibility, plus every property and method that is not TypeScript-`private`,
|
|
11
|
+
* ES-`#`, or carrying a JSDoc `internal` tag.
|
|
12
|
+
* - `inputs`: the inputs section, plus the `${name}Change` output a documented `model()` needs for
|
|
13
|
+
* its two-way binding to make sense.
|
|
14
|
+
*
|
|
15
|
+
* The tag is written without its `@` because `stripInternal` deletes any declaration whose leading
|
|
16
|
+
* comment contains that literal.
|
|
17
|
+
*/
|
|
18
|
+
type PropsTableMode = 'all' | 'api' | 'inputs';
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region code/frameworks/angular-vite/.dts-emit/code/frameworks/angular-vite/src/types.d.ts
|
|
21
|
+
type FrameworkName = CompatibleString<'@storybook/angular-vite'>;
|
|
22
|
+
type BuilderName = CompatibleString<'@storybook/builder-vite'>;
|
|
23
|
+
type FrameworkOptions = {
|
|
24
|
+
builder?: BuilderOptions;
|
|
25
|
+
jit?: boolean;
|
|
26
|
+
liveReload?: boolean;
|
|
27
|
+
inlineStylesExtension?: string;
|
|
28
|
+
tsconfig?: string;
|
|
29
|
+
compodoc?: boolean;
|
|
30
|
+
compodocArgs?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* Which members the props table renders, as a ladder:
|
|
33
|
+
*
|
|
34
|
+
* - `all`: every member.
|
|
35
|
+
* - `api`: the component's template-facing surface, meaning every declared input and output
|
|
36
|
+
* whatever its TypeScript visibility (Angular only honours access modifiers on bindings behind
|
|
37
|
+
* the opt-in `strictInputAccessModifiers`), plus the properties and methods that are not
|
|
38
|
+
* `private`, ES `#`, or carrying a JSDoc `internal` tag (a declared non-API).
|
|
39
|
+
* - `inputs`: the inputs section alone.
|
|
40
|
+
*
|
|
41
|
+
* Tag a member `@ignore` to drop it whatever this says.
|
|
42
|
+
*
|
|
43
|
+
* `api` needs `features.experimentalDocgenServer`; without it only `all` and `inputs` apply.
|
|
44
|
+
*
|
|
45
|
+
* @default 'api'
|
|
46
|
+
*/
|
|
47
|
+
propsTable?: PropsTableMode;
|
|
48
|
+
};
|
|
49
|
+
type StorybookConfigFramework = {
|
|
50
|
+
framework: FrameworkName | {
|
|
51
|
+
name: FrameworkName;
|
|
52
|
+
options: FrameworkOptions;
|
|
53
|
+
};
|
|
54
|
+
core?: StorybookConfig['core'] & {
|
|
55
|
+
builder?: BuilderName | {
|
|
56
|
+
name: BuilderName;
|
|
57
|
+
options: BuilderOptions;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
/** The interface for Storybook configuration in `main.ts` files. */
|
|
62
|
+
type StorybookConfig$1 = Omit<StorybookConfig, keyof StorybookConfigVite | keyof StorybookConfigFramework> & StorybookConfigVite & StorybookConfigFramework;
|
|
63
|
+
//#endregion
|
|
64
|
+
export { StorybookConfig$1 as n, FrameworkOptions as t };
|
package/dist/client/config.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
argTypesEnhancers,
|
|
3
3
|
decorateStory,
|
|
4
4
|
parameters
|
|
5
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
+
} from "../_browser-chunks/chunk-AL7GEPYM.js";
|
|
6
6
|
import {
|
|
7
7
|
render,
|
|
8
8
|
renderToCanvas
|
|
9
|
-
} from "../_browser-chunks/chunk-
|
|
9
|
+
} from "../_browser-chunks/chunk-UJ3I56EP.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-
|
|
5
|
-
import "../../_browser-chunks/chunk-
|
|
4
|
+
} from "../../_browser-chunks/chunk-VP3W5GY3.js";
|
|
5
|
+
import "../../_browser-chunks/chunk-UJ3I56EP.js";
|
|
6
6
|
export {
|
|
7
7
|
decorators,
|
|
8
8
|
parameters
|
package/dist/client/index.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
componentWrapperDecorator,
|
|
6
6
|
moduleMetadata,
|
|
7
7
|
setProjectAnnotations
|
|
8
|
-
} from "../_browser-chunks/chunk-
|
|
9
|
-
import "../_browser-chunks/chunk-
|
|
10
|
-
import "../_browser-chunks/chunk-
|
|
11
|
-
import "../_browser-chunks/chunk-
|
|
8
|
+
} from "../_browser-chunks/chunk-THQDNKQS.js";
|
|
9
|
+
import "../_browser-chunks/chunk-AL7GEPYM.js";
|
|
10
|
+
import "../_browser-chunks/chunk-VP3W5GY3.js";
|
|
11
|
+
import "../_browser-chunks/chunk-UJ3I56EP.js";
|
|
12
12
|
export {
|
|
13
13
|
__definePreview,
|
|
14
14
|
applicationConfig,
|