@storybook/preact 7.0.0-beta.52 → 7.0.0-beta.54

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 +3 -2
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Addon_ClientStoryApi, Addon_Loadable, Args, ComponentAnnotations, AnnotatedStoryFn, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1 } from '@storybook/types';
1
+ import { Addon_ClientStoryApi, Addon_Loadable, Args, ComponentAnnotations, AnnotatedStoryFn, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations } from '@storybook/types';
2
2
  export { ArgTypes, Args, Parameters, StrictArgs } from '@storybook/types';
3
3
  import { P as PreactRenderer } from './types-dbc033aa.js';
4
4
  import 'preact';
@@ -45,5 +45,6 @@ type Story<TArgs = Args> = StoryFn<TArgs>;
45
45
  type Decorator<TArgs = StrictArgs> = DecoratorFunction<PreactRenderer, TArgs>;
46
46
  type Loader<TArgs = StrictArgs> = LoaderFunction<PreactRenderer, TArgs>;
47
47
  type StoryContext<TArgs = StrictArgs> = StoryContext$1<PreactRenderer, TArgs>;
48
+ type Preview = ProjectAnnotations<PreactRenderer>;
48
49
 
49
- export { ClientApi, Decorator, Loader, Meta, PreactRenderer, Story, StoryContext, StoryFn, StoryObj, configure, forceReRender, raw, storiesOf };
50
+ export { ClientApi, Decorator, Loader, Meta, PreactRenderer, Preview, Story, StoryContext, StoryFn, StoryObj, configure, forceReRender, raw, storiesOf };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "7.0.0-beta.52",
3
+ "version": "7.0.0-beta.54",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,10 +48,10 @@
48
48
  "prep": "../../../scripts/prepare/bundle.ts"
49
49
  },
50
50
  "dependencies": {
51
- "@storybook/core-client": "7.0.0-beta.52",
51
+ "@storybook/core-client": "7.0.0-beta.54",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/preview-api": "7.0.0-beta.52",
54
- "@storybook/types": "7.0.0-beta.52",
53
+ "@storybook/preview-api": "7.0.0-beta.54",
54
+ "@storybook/types": "7.0.0-beta.54",
55
55
  "ts-dedent": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
@@ -74,5 +74,5 @@
74
74
  ],
75
75
  "platform": "browser"
76
76
  },
77
- "gitHead": "1f559ed69a4fdd8eeb88e4190b16a8932104908e"
77
+ "gitHead": "dbdaa1b77a1f00ea90d6c1f018bf0c772d7b9afd"
78
78
  }