@storybook/react-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 +4 -4
package/dist/preset.d.ts
CHANGED
@@ -723,7 +723,7 @@ PackageJson$1.JSPMConfiguration;
|
|
723
723
|
type StoryId = string;
|
724
724
|
type ComponentTitle = string;
|
725
725
|
type StoryName = string;
|
726
|
-
type Tag = string;
|
726
|
+
type Tag$1 = string;
|
727
727
|
|
728
728
|
interface Options$1 {
|
729
729
|
allowRegExp: boolean;
|
@@ -801,7 +801,9 @@ type BaseIndexInput = {
|
|
801
801
|
*/
|
802
802
|
metaId?: MetaId;
|
803
803
|
/** Tags for filtering entries in Storybook and its tools. */
|
804
|
-
tags?: Tag[];
|
804
|
+
tags?: Tag$1[];
|
805
|
+
/** Tags from the meta for filtering entries in Storybook and its tools. */
|
806
|
+
metaTags?: Tag$1[];
|
805
807
|
/**
|
806
808
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
807
809
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -1039,6 +1041,12 @@ interface TestBuildFlags {
|
|
1039
1041
|
interface TestBuildConfig {
|
1040
1042
|
test?: TestBuildFlags;
|
1041
1043
|
}
|
1044
|
+
type Tag = string;
|
1045
|
+
interface TagOptions {
|
1046
|
+
excludeFromSidebar: boolean;
|
1047
|
+
excludeFromDocsStories: boolean;
|
1048
|
+
}
|
1049
|
+
type TagsOptions = Record<Tag, Partial<TagOptions>>;
|
1042
1050
|
/**
|
1043
1051
|
* The interface for Storybook configuration used internally in presets
|
1044
1052
|
* The difference is that these values are the raw values, AKA, not wrapped with `PresetValue<>`
|
@@ -1074,8 +1082,14 @@ interface StorybookConfigRaw {
|
|
1074
1082
|
disallowImplicitActionsInRenderV8?: boolean;
|
1075
1083
|
/**
|
1076
1084
|
* Enable asynchronous component rendering in NextJS framework
|
1085
|
+
*
|
1086
|
+
* @deprecated use `experimentalRSC` instead
|
1077
1087
|
*/
|
1078
1088
|
experimentalNextRSC?: boolean;
|
1089
|
+
/**
|
1090
|
+
* Enable asynchronous component rendering in React renderer
|
1091
|
+
*/
|
1092
|
+
experimentalRSC?: boolean;
|
1079
1093
|
};
|
1080
1094
|
build?: TestBuildConfig;
|
1081
1095
|
stories: StoriesEntry[];
|
@@ -1094,6 +1108,7 @@ interface StorybookConfigRaw {
|
|
1094
1108
|
previewBody?: string;
|
1095
1109
|
previewMainTemplate?: string;
|
1096
1110
|
managerHead?: string;
|
1111
|
+
tags?: TagsOptions;
|
1097
1112
|
}
|
1098
1113
|
type PresetProperty<K, TStorybookConfig = StorybookConfigRaw> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
1099
1114
|
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/react-webpack5",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-25591-sha-337ab526",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,9 +47,9 @@
|
|
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/preset-react-webpack": "0.0.0-pr-
|
52
|
-
"@storybook/react": "0.0.0-pr-
|
50
|
+
"@storybook/builder-webpack5": "0.0.0-pr-25591-sha-337ab526",
|
51
|
+
"@storybook/preset-react-webpack": "0.0.0-pr-25591-sha-337ab526",
|
52
|
+
"@storybook/react": "0.0.0-pr-25591-sha-337ab526",
|
53
53
|
"@types/node": "^18.0.0"
|
54
54
|
},
|
55
55
|
"peerDependencies": {
|