@storybook/preact 7.0.0-beta.13 → 7.0.0-beta.14
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.
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.
|
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.
|
54
|
+
"@storybook/core-client": "7.0.0-beta.14",
|
55
55
|
"@storybook/global": "^5.0.0",
|
56
|
-
"@storybook/preview-api": "7.0.0-beta.
|
57
|
-
"@storybook/types": "7.0.0-beta.
|
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": "
|
80
|
+
"gitHead": "c3b2e8fe2517ba2d7630e260de0fd1ad86cafeb6"
|
81
81
|
}
|
@@ -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
|
7
|
-
tags: ['
|
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',
|