@storybook/html-webpack5 0.0.0-pr-25567-sha-604112e1 → 0.0.0-pr-25591-sha-337ab526
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/preset.d.ts +17 -2
- package/package.json +5 -5
package/dist/preset.d.ts
CHANGED
@@ -720,7 +720,7 @@ PackageJson$1.JSPMConfiguration;
|
|
720
720
|
type StoryId = string;
|
721
721
|
type ComponentTitle = string;
|
722
722
|
type StoryName = string;
|
723
|
-
type Tag = string;
|
723
|
+
type Tag$1 = string;
|
724
724
|
|
725
725
|
interface Options$1 {
|
726
726
|
allowRegExp: boolean;
|
@@ -798,7 +798,9 @@ type BaseIndexInput = {
|
|
798
798
|
*/
|
799
799
|
metaId?: MetaId;
|
800
800
|
/** Tags for filtering entries in Storybook and its tools. */
|
801
|
-
tags?: Tag[];
|
801
|
+
tags?: Tag$1[];
|
802
|
+
/** Tags from the meta for filtering entries in Storybook and its tools. */
|
803
|
+
metaTags?: Tag$1[];
|
802
804
|
/**
|
803
805
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
804
806
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -1036,6 +1038,12 @@ interface TestBuildFlags {
|
|
1036
1038
|
interface TestBuildConfig {
|
1037
1039
|
test?: TestBuildFlags;
|
1038
1040
|
}
|
1041
|
+
type Tag = string;
|
1042
|
+
interface TagOptions {
|
1043
|
+
excludeFromSidebar: boolean;
|
1044
|
+
excludeFromDocsStories: boolean;
|
1045
|
+
}
|
1046
|
+
type TagsOptions = Record<Tag, Partial<TagOptions>>;
|
1039
1047
|
/**
|
1040
1048
|
* The interface for Storybook configuration used internally in presets
|
1041
1049
|
* The difference is that these values are the raw values, AKA, not wrapped with `PresetValue<>`
|
@@ -1071,8 +1079,14 @@ interface StorybookConfigRaw {
|
|
1071
1079
|
disallowImplicitActionsInRenderV8?: boolean;
|
1072
1080
|
/**
|
1073
1081
|
* Enable asynchronous component rendering in NextJS framework
|
1082
|
+
*
|
1083
|
+
* @deprecated use `experimentalRSC` instead
|
1074
1084
|
*/
|
1075
1085
|
experimentalNextRSC?: boolean;
|
1086
|
+
/**
|
1087
|
+
* Enable asynchronous component rendering in React renderer
|
1088
|
+
*/
|
1089
|
+
experimentalRSC?: boolean;
|
1076
1090
|
};
|
1077
1091
|
build?: TestBuildConfig;
|
1078
1092
|
stories: StoriesEntry[];
|
@@ -1091,6 +1105,7 @@ interface StorybookConfigRaw {
|
|
1091
1105
|
previewBody?: string;
|
1092
1106
|
previewMainTemplate?: string;
|
1093
1107
|
managerHead?: string;
|
1108
|
+
tags?: TagsOptions;
|
1094
1109
|
}
|
1095
1110
|
type PresetProperty<K, TStorybookConfig = StorybookConfigRaw> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
1096
1111
|
type PresetPropertyFn<K, TStorybookConfig = StorybookConfigRaw, TOptions = {}> = (config: TStorybookConfig[K extends keyof TStorybookConfig ? K : never], options: Options & TOptions) => TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | Promise<TStorybookConfig[K extends keyof TStorybookConfig ? K : never]>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/html-webpack5",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-25591-sha-337ab526",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-webpack5": "0.0.0-pr-
|
51
|
-
"@storybook/core-common": "0.0.0-pr-
|
50
|
+
"@storybook/builder-webpack5": "0.0.0-pr-25591-sha-337ab526",
|
51
|
+
"@storybook/core-common": "0.0.0-pr-25591-sha-337ab526",
|
52
52
|
"@storybook/global": "^5.0.0",
|
53
|
-
"@storybook/html": "0.0.0-pr-
|
54
|
-
"@storybook/preset-html-webpack": "0.0.0-pr-
|
53
|
+
"@storybook/html": "0.0.0-pr-25591-sha-337ab526",
|
54
|
+
"@storybook/preset-html-webpack": "0.0.0-pr-25591-sha-337ab526",
|
55
55
|
"@types/node": "^18.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|