@storybook/react-webpack5 0.0.0-pr-24881-sha-6ea23655 → 0.0.0-pr-25254-sha-63c0cc3b
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 +13 -0
- package/package.json +4 -4
package/dist/preset.d.ts
CHANGED
@@ -2643,6 +2643,7 @@ interface StoriesSpecifier {
|
|
2643
2643
|
type StoriesEntry = string | StoriesSpecifier;
|
2644
2644
|
interface IndexerOptions {
|
2645
2645
|
makeTitle: (userTitle?: string) => string;
|
2646
|
+
staticParameters?: string[];
|
2646
2647
|
}
|
2647
2648
|
interface IndexedStory {
|
2648
2649
|
id: string;
|
@@ -2712,6 +2713,10 @@ type BaseIndexInput = {
|
|
2712
2713
|
metaId?: MetaId;
|
2713
2714
|
/** Tags for filtering entries in Storybook and its tools. */
|
2714
2715
|
tags?: Tag[];
|
2716
|
+
/**
|
2717
|
+
* Experimental statically extracted parameters for the entry.
|
2718
|
+
*/
|
2719
|
+
parameters?: Parameters;
|
2715
2720
|
/**
|
2716
2721
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
2717
2722
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -2847,6 +2852,7 @@ interface CLIOptions {
|
|
2847
2852
|
debugWebpack?: boolean;
|
2848
2853
|
webpackStatsJson?: string | boolean;
|
2849
2854
|
outputDir?: string;
|
2855
|
+
experimentalStaticParameters?: string[];
|
2850
2856
|
}
|
2851
2857
|
interface BuilderOptions {
|
2852
2858
|
configType?: 'DEVELOPMENT' | 'PRODUCTION';
|
@@ -3014,6 +3020,13 @@ interface StorybookConfigRaw {
|
|
3014
3020
|
* Enable asynchronous component rendering in NextJS framework
|
3015
3021
|
*/
|
3016
3022
|
experimentalNextRSC?: boolean;
|
3023
|
+
/**
|
3024
|
+
* Legacy stories.json extraction. stories.json will be removed in v9,
|
3025
|
+
* use `index.json` instead.
|
3026
|
+
*
|
3027
|
+
* @deprecated
|
3028
|
+
*/
|
3029
|
+
buildLegacyStoriesJson?: boolean;
|
3017
3030
|
};
|
3018
3031
|
build?: TestBuildConfig;
|
3019
3032
|
stories: StoriesEntry[];
|
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-25254-sha-63c0cc3b",
|
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-25254-sha-63c0cc3b",
|
51
|
+
"@storybook/preset-react-webpack": "0.0.0-pr-25254-sha-63c0cc3b",
|
52
|
+
"@storybook/react": "0.0.0-pr-25254-sha-63c0cc3b",
|
53
53
|
"@types/node": "^18.0.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|