@storybook/html-webpack5 8.0.0-alpha.6 → 8.0.0-alpha.8

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 +0 -39
  2. package/package.json +5 -5
package/dist/preset.d.ts CHANGED
@@ -722,9 +722,6 @@ type StoryId = string;
722
722
  type ComponentTitle = string;
723
723
  type StoryName = string;
724
724
  type Tag = string;
725
- interface Parameters {
726
- [name: string]: any;
727
- }
728
725
 
729
726
  interface Plugin {
730
727
  (module: Program): Program;
@@ -2641,20 +2638,6 @@ type StoriesEntry = string | StoriesSpecifier;
2641
2638
  interface IndexerOptions {
2642
2639
  makeTitle: (userTitle?: string) => string;
2643
2640
  }
2644
- interface IndexedStory {
2645
- id: string;
2646
- name: string;
2647
- tags?: Tag[];
2648
- parameters?: Parameters;
2649
- }
2650
- interface IndexedCSFFile {
2651
- meta: {
2652
- id?: string;
2653
- title?: string;
2654
- tags?: Tag[];
2655
- };
2656
- stories: IndexedStory[];
2657
- }
2658
2641
  /**
2659
2642
  * FIXME: This is a temporary type to allow us to deprecate the old indexer API.
2660
2643
  * We should remove this type and the deprecated indexer API in 8.0.
@@ -2676,19 +2659,7 @@ type Indexer = BaseIndexer & {
2676
2659
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
2677
2660
  */
2678
2661
  createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
2679
- /**
2680
- * @deprecated Use {@link index} instead
2681
- */
2682
- indexer?: never;
2683
2662
  };
2684
- type DeprecatedIndexer = BaseIndexer & {
2685
- indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
2686
- createIndex?: never;
2687
- };
2688
- /**
2689
- * @deprecated Use {@link Indexer} instead
2690
- */
2691
- type StoryIndexer = Indexer | DeprecatedIndexer;
2692
2663
  /**
2693
2664
  * The base input for indexing a story or docs entry.
2694
2665
  */
@@ -2824,10 +2795,6 @@ interface CLIOptions {
2824
2795
  host?: string;
2825
2796
  initialPath?: string;
2826
2797
  exactPort?: boolean;
2827
- /**
2828
- * @deprecated Use 'staticDirs' Storybook Configuration option instead
2829
- */
2830
- staticDir?: string[];
2831
2798
  configDir?: string;
2832
2799
  https?: boolean;
2833
2800
  sslCa?: string[];
@@ -2989,11 +2956,6 @@ interface StorybookConfigRaw {
2989
2956
  * Filter args with a "target" on the type from the render function (EXPERIMENTAL)
2990
2957
  */
2991
2958
  argTypeTargetsV7?: boolean;
2992
- /**
2993
- * Warn when there is a pre-6.0 hierarchy separator ('.' / '|') in the story title.
2994
- * Will be removed in 7.0.
2995
- */
2996
- warnOnLegacyHierarchySeparator?: boolean;
2997
2959
  /**
2998
2960
  * Use legacy MDX1, to help smooth migration to 7.0
2999
2961
  */
@@ -3024,7 +2986,6 @@ interface StorybookConfigRaw {
3024
2986
  babelDefault?: TransformOptions;
3025
2987
  config?: Entry[];
3026
2988
  previewAnnotations?: Entry[];
3027
- storyIndexers?: StoryIndexer[];
3028
2989
  experimental_indexers?: Indexer[];
3029
2990
  docs?: DocsOptions;
3030
2991
  previewHead?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/html-webpack5",
3
- "version": "8.0.0-alpha.6",
3
+ "version": "8.0.0-alpha.8",
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": "8.0.0-alpha.6",
51
- "@storybook/core-common": "8.0.0-alpha.6",
50
+ "@storybook/builder-webpack5": "8.0.0-alpha.8",
51
+ "@storybook/core-common": "8.0.0-alpha.8",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/html": "8.0.0-alpha.6",
54
- "@storybook/preset-html-webpack": "8.0.0-alpha.6",
53
+ "@storybook/html": "8.0.0-alpha.8",
54
+ "@storybook/preset-html-webpack": "8.0.0-alpha.8",
55
55
  "@types/node": "^18.0.0"
56
56
  },
57
57
  "devDependencies": {