@storybook/react-webpack5 0.0.0-pr-25254-sha-63c0cc3b → 0.0.0-pr-25254-sha-a6f30dbc

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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +7 -8
  2. package/package.json +4 -4
package/dist/preset.d.ts CHANGED
@@ -2624,6 +2624,11 @@ interface Options$1 {
2624
2624
 
2625
2625
  type ExportName = string;
2626
2626
  type MetaId = string;
2627
+ /**
2628
+ * StaticParameters are a subset of the parameters
2629
+ * that have been statically analyzed.
2630
+ */
2631
+ type StaticParameters = Parameters;
2627
2632
  interface StoriesSpecifier {
2628
2633
  /**
2629
2634
  * When auto-titling, what to prefix all generated titles with (default: '')
@@ -2650,6 +2655,7 @@ interface IndexedStory {
2650
2655
  name: string;
2651
2656
  tags?: Tag[];
2652
2657
  parameters?: Parameters;
2658
+ staticParameters?: StaticParameters;
2653
2659
  }
2654
2660
  interface IndexedCSFFile {
2655
2661
  meta: {
@@ -2716,7 +2722,7 @@ type BaseIndexInput = {
2716
2722
  /**
2717
2723
  * Experimental statically extracted parameters for the entry.
2718
2724
  */
2719
- parameters?: Parameters;
2725
+ staticParameters?: Parameters;
2720
2726
  /**
2721
2727
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
2722
2728
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -3020,13 +3026,6 @@ interface StorybookConfigRaw {
3020
3026
  * Enable asynchronous component rendering in NextJS framework
3021
3027
  */
3022
3028
  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;
3030
3029
  };
3031
3030
  build?: TestBuildConfig;
3032
3031
  stories: StoriesEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-webpack5",
3
- "version": "0.0.0-pr-25254-sha-63c0cc3b",
3
+ "version": "0.0.0-pr-25254-sha-a6f30dbc",
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-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",
50
+ "@storybook/builder-webpack5": "0.0.0-pr-25254-sha-a6f30dbc",
51
+ "@storybook/preset-react-webpack": "0.0.0-pr-25254-sha-a6f30dbc",
52
+ "@storybook/react": "0.0.0-pr-25254-sha-a6f30dbc",
53
53
  "@types/node": "^18.0.0"
54
54
  },
55
55
  "devDependencies": {