@storybook/preact 7.0.0-beta.13 → 7.0.0-beta.14

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { Addon_ClientStoryApi, Addon_Loadable, Args, ComponentAnnotations, AnnotatedStoryFn, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1 } from '@storybook/types';
2
2
  export { ArgTypes, Args, Parameters, StrictArgs } from '@storybook/types';
3
3
  import { P as PreactRenderer } from './types-dbc033aa.js';
4
- export { P as PreactRenderer } from './types-dbc033aa.js';
5
4
  import 'preact';
6
5
 
7
6
  interface ClientApi extends Addon_ClientStoryApi<PreactRenderer['storyResult']> {
@@ -47,4 +46,4 @@ type Decorator<TArgs = StrictArgs> = DecoratorFunction<PreactRenderer, TArgs>;
47
46
  type Loader<TArgs = StrictArgs> = LoaderFunction<PreactRenderer, TArgs>;
48
47
  type StoryContext<TArgs = StrictArgs> = StoryContext$1<PreactRenderer, TArgs>;
49
48
 
50
- export { ClientApi, Decorator, Loader, Meta, Story, StoryContext, StoryFn, StoryObj, configure, forceReRender, raw, storiesOf };
49
+ export { ClientApi, Decorator, Loader, Meta, PreactRenderer, 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.13",
3
+ "version": "7.0.0-beta.14",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -51,10 +51,10 @@
51
51
  "prep": "../../../scripts/prepare/bundle.ts"
52
52
  },
53
53
  "dependencies": {
54
- "@storybook/core-client": "7.0.0-beta.13",
54
+ "@storybook/core-client": "7.0.0-beta.14",
55
55
  "@storybook/global": "^5.0.0",
56
- "@storybook/preview-api": "7.0.0-beta.13",
57
- "@storybook/types": "7.0.0-beta.13",
56
+ "@storybook/preview-api": "7.0.0-beta.14",
57
+ "@storybook/types": "7.0.0-beta.14",
58
58
  "ts-dedent": "^2.0.0"
59
59
  },
60
60
  "devDependencies": {
@@ -77,5 +77,5 @@
77
77
  ],
78
78
  "platform": "browser"
79
79
  },
80
- "gitHead": "ddf86bd126ede0c019d7c9494f99f24a5cad9908"
80
+ "gitHead": "c3b2e8fe2517ba2d7630e260de0fd1ad86cafeb6"
81
81
  }
@@ -4,7 +4,7 @@ import { Button } from './Button';
4
4
  export default {
5
5
  title: 'Example/Button',
6
6
  component: Button,
7
- tags: ['docsPage'],
7
+ tags: ['autodocs'],
8
8
  argTypes: {
9
9
  backgroundColor: { control: 'color' },
10
10
  onClick: { action: 'onClick' },
@@ -3,8 +3,8 @@ import { Header } from './Header';
3
3
  export default {
4
4
  title: 'Example/Header',
5
5
  component: Header,
6
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/preact/writing-docs/docs-page
7
- tags: ['docsPage'],
6
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/preact/writing-docs/docs-page
7
+ tags: ['autodocs'],
8
8
  parameters: {
9
9
  // More on how to position stories at: https://storybook.js.org/docs/7.0/preact/configure/story-layout
10
10
  layout: 'fullscreen',