@storybook/preset-vue3-webpack 8.0.0-alpha.6 → 8.0.0-alpha.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +0 -39
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -723,9 +723,6 @@ type StoryId = string;
723
723
  type ComponentTitle = string;
724
724
  type StoryName = string;
725
725
  type Tag = string;
726
- interface Parameters {
727
- [name: string]: any;
728
- }
729
726
 
730
727
  interface Plugin {
731
728
  (module: Program): Program;
@@ -2642,20 +2639,6 @@ type StoriesEntry = string | StoriesSpecifier;
2642
2639
  interface IndexerOptions {
2643
2640
  makeTitle: (userTitle?: string) => string;
2644
2641
  }
2645
- interface IndexedStory {
2646
- id: string;
2647
- name: string;
2648
- tags?: Tag[];
2649
- parameters?: Parameters;
2650
- }
2651
- interface IndexedCSFFile {
2652
- meta: {
2653
- id?: string;
2654
- title?: string;
2655
- tags?: Tag[];
2656
- };
2657
- stories: IndexedStory[];
2658
- }
2659
2642
  /**
2660
2643
  * FIXME: This is a temporary type to allow us to deprecate the old indexer API.
2661
2644
  * We should remove this type and the deprecated indexer API in 8.0.
@@ -2677,19 +2660,7 @@ type Indexer = BaseIndexer & {
2677
2660
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
2678
2661
  */
2679
2662
  createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
2680
- /**
2681
- * @deprecated Use {@link index} instead
2682
- */
2683
- indexer?: never;
2684
2663
  };
2685
- type DeprecatedIndexer = BaseIndexer & {
2686
- indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
2687
- createIndex?: never;
2688
- };
2689
- /**
2690
- * @deprecated Use {@link Indexer} instead
2691
- */
2692
- type StoryIndexer = Indexer | DeprecatedIndexer;
2693
2664
  /**
2694
2665
  * The base input for indexing a story or docs entry.
2695
2666
  */
@@ -2825,10 +2796,6 @@ interface CLIOptions {
2825
2796
  host?: string;
2826
2797
  initialPath?: string;
2827
2798
  exactPort?: boolean;
2828
- /**
2829
- * @deprecated Use 'staticDirs' Storybook Configuration option instead
2830
- */
2831
- staticDir?: string[];
2832
2799
  configDir?: string;
2833
2800
  https?: boolean;
2834
2801
  sslCa?: string[];
@@ -2990,11 +2957,6 @@ interface StorybookConfigRaw {
2990
2957
  * Filter args with a "target" on the type from the render function (EXPERIMENTAL)
2991
2958
  */
2992
2959
  argTypeTargetsV7?: boolean;
2993
- /**
2994
- * Warn when there is a pre-6.0 hierarchy separator ('.' / '|') in the story title.
2995
- * Will be removed in 7.0.
2996
- */
2997
- warnOnLegacyHierarchySeparator?: boolean;
2998
2960
  /**
2999
2961
  * Use legacy MDX1, to help smooth migration to 7.0
3000
2962
  */
@@ -3025,7 +2987,6 @@ interface StorybookConfigRaw {
3025
2987
  babelDefault?: TransformOptions;
3026
2988
  config?: Entry[];
3027
2989
  previewAnnotations?: Entry[];
3028
- storyIndexers?: StoryIndexer[];
3029
2990
  experimental_indexers?: Indexer[];
3030
2991
  docs?: DocsOptions;
3031
2992
  previewHead?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preset-vue3-webpack",
3
- "version": "8.0.0-alpha.6",
3
+ "version": "8.0.0-alpha.8",
4
4
  "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -59,8 +59,8 @@
59
59
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
60
60
  },
61
61
  "dependencies": {
62
- "@storybook/core-webpack": "8.0.0-alpha.6",
63
- "@storybook/docs-tools": "8.0.0-alpha.6",
62
+ "@storybook/core-webpack": "8.0.0-alpha.8",
63
+ "@storybook/docs-tools": "8.0.0-alpha.8",
64
64
  "@types/node": "^18.0.0",
65
65
  "ts-loader": "^9.2.8",
66
66
  "vue-docgen-api": "^4.46.0",