@storybook/web-components-vite 0.0.0-pr-24881-sha-d0979bc9 → 0.0.0-pr-25254-sha-f2fdcdf1

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.
@@ -2641,6 +2641,7 @@ interface StoriesSpecifier {
2641
2641
  type StoriesEntry = string | StoriesSpecifier;
2642
2642
  interface IndexerOptions {
2643
2643
  makeTitle: (userTitle?: string) => string;
2644
+ experimentalParameters?: string[];
2644
2645
  }
2645
2646
  interface IndexedStory {
2646
2647
  id: string;
@@ -2710,6 +2711,10 @@ type BaseIndexInput = {
2710
2711
  metaId?: MetaId;
2711
2712
  /** Tags for filtering entries in Storybook and its tools. */
2712
2713
  tags?: Tag[];
2714
+ /**
2715
+ * Experimental statically extracted parameters for the entry.
2716
+ */
2717
+ parameters?: Parameters;
2713
2718
  /**
2714
2719
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
2715
2720
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -2845,6 +2850,7 @@ interface CLIOptions {
2845
2850
  debugWebpack?: boolean;
2846
2851
  webpackStatsJson?: string | boolean;
2847
2852
  outputDir?: string;
2853
+ experimentalBuildParameters?: string[];
2848
2854
  }
2849
2855
  interface BuilderOptions {
2850
2856
  configType?: 'DEVELOPMENT' | 'PRODUCTION';
@@ -3012,6 +3018,13 @@ interface StorybookConfigRaw {
3012
3018
  * Enable asynchronous component rendering in NextJS framework
3013
3019
  */
3014
3020
  experimentalNextRSC?: boolean;
3021
+ /**
3022
+ * Legacy stories.json extraction. stories.json will be removed in v9,
3023
+ * use `index.json` instead.
3024
+ *
3025
+ * @deprecated
3026
+ */
3027
+ buildLegacyStoriesJson?: boolean;
3015
3028
  };
3016
3029
  build?: TestBuildConfig;
3017
3030
  stories: StoriesEntry[];
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-9f4e99a1.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-47b9515b.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './index-9f4e99a1.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-47b9515b.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/web-components-vite",
3
- "version": "0.0.0-pr-24881-sha-d0979bc9",
3
+ "version": "0.0.0-pr-25254-sha-f2fdcdf1",
4
4
  "description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,10 +47,10 @@
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-vite": "0.0.0-pr-24881-sha-d0979bc9",
51
- "@storybook/core-server": "0.0.0-pr-24881-sha-d0979bc9",
52
- "@storybook/node-logger": "0.0.0-pr-24881-sha-d0979bc9",
53
- "@storybook/web-components": "0.0.0-pr-24881-sha-d0979bc9",
50
+ "@storybook/builder-vite": "0.0.0-pr-25254-sha-f2fdcdf1",
51
+ "@storybook/core-server": "0.0.0-pr-25254-sha-f2fdcdf1",
52
+ "@storybook/node-logger": "0.0.0-pr-25254-sha-f2fdcdf1",
53
+ "@storybook/web-components": "0.0.0-pr-25254-sha-f2fdcdf1",
54
54
  "magic-string": "^0.30.0"
55
55
  },
56
56
  "devDependencies": {