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