@storybook/html-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 +5 -5
package/dist/preset.d.ts CHANGED
@@ -2621,6 +2621,11 @@ interface Options$1 {
2621
2621
 
2622
2622
  type ExportName = string;
2623
2623
  type MetaId = string;
2624
+ /**
2625
+ * StaticParameters are a subset of the parameters
2626
+ * that have been statically analyzed.
2627
+ */
2628
+ type StaticParameters = Parameters;
2624
2629
  interface StoriesSpecifier {
2625
2630
  /**
2626
2631
  * When auto-titling, what to prefix all generated titles with (default: '')
@@ -2647,6 +2652,7 @@ interface IndexedStory {
2647
2652
  name: string;
2648
2653
  tags?: Tag[];
2649
2654
  parameters?: Parameters;
2655
+ staticParameters?: StaticParameters;
2650
2656
  }
2651
2657
  interface IndexedCSFFile {
2652
2658
  meta: {
@@ -2713,7 +2719,7 @@ type BaseIndexInput = {
2713
2719
  /**
2714
2720
  * Experimental statically extracted parameters for the entry.
2715
2721
  */
2716
- parameters?: Parameters;
2722
+ staticParameters?: Parameters;
2717
2723
  /**
2718
2724
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
2719
2725
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -3017,13 +3023,6 @@ interface StorybookConfigRaw {
3017
3023
  * Enable asynchronous component rendering in NextJS framework
3018
3024
  */
3019
3025
  experimentalNextRSC?: boolean;
3020
- /**
3021
- * Legacy stories.json extraction. stories.json will be removed in v9,
3022
- * use `index.json` instead.
3023
- *
3024
- * @deprecated
3025
- */
3026
- buildLegacyStoriesJson?: boolean;
3027
3026
  };
3028
3027
  build?: TestBuildConfig;
3029
3028
  stories: StoriesEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/html-webpack5",
3
- "version": "0.0.0-pr-25254-sha-63c0cc3b",
3
+ "version": "0.0.0-pr-25254-sha-a6f30dbc",
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-25254-sha-63c0cc3b",
51
- "@storybook/core-common": "0.0.0-pr-25254-sha-63c0cc3b",
50
+ "@storybook/builder-webpack5": "0.0.0-pr-25254-sha-a6f30dbc",
51
+ "@storybook/core-common": "0.0.0-pr-25254-sha-a6f30dbc",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/html": "0.0.0-pr-25254-sha-63c0cc3b",
54
- "@storybook/preset-html-webpack": "0.0.0-pr-25254-sha-63c0cc3b",
53
+ "@storybook/html": "0.0.0-pr-25254-sha-a6f30dbc",
54
+ "@storybook/preset-html-webpack": "0.0.0-pr-25254-sha-a6f30dbc",
55
55
  "@types/node": "^18.0.0"
56
56
  },
57
57
  "devDependencies": {