@storybook/preact 7.0.0-beta.13 → 7.0.0-beta.15
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.
|
3
|
+
"version": "7.0.0-beta.15",
|
4
4
|
"description": "Storybook Preact renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -21,6 +21,7 @@
|
|
21
21
|
"license": "MIT",
|
22
22
|
"exports": {
|
23
23
|
".": {
|
24
|
+
"node": "./dist/index.js",
|
24
25
|
"require": "./dist/index.js",
|
25
26
|
"import": "./dist/index.mjs",
|
26
27
|
"types": "./dist/index.d.ts"
|
@@ -30,11 +31,7 @@
|
|
30
31
|
"import": "./dist/config.mjs",
|
31
32
|
"types": "./dist/config.d.ts"
|
32
33
|
},
|
33
|
-
"./package.json":
|
34
|
-
"require": "./package.json",
|
35
|
-
"import": "./package.json",
|
36
|
-
"types": "./package.json"
|
37
|
-
}
|
34
|
+
"./package.json": "./package.json"
|
38
35
|
},
|
39
36
|
"main": "dist/index.js",
|
40
37
|
"module": "dist/index.mjs",
|
@@ -51,10 +48,10 @@
|
|
51
48
|
"prep": "../../../scripts/prepare/bundle.ts"
|
52
49
|
},
|
53
50
|
"dependencies": {
|
54
|
-
"@storybook/core-client": "7.0.0-beta.
|
51
|
+
"@storybook/core-client": "7.0.0-beta.15",
|
55
52
|
"@storybook/global": "^5.0.0",
|
56
|
-
"@storybook/preview-api": "7.0.0-beta.
|
57
|
-
"@storybook/types": "7.0.0-beta.
|
53
|
+
"@storybook/preview-api": "7.0.0-beta.15",
|
54
|
+
"@storybook/types": "7.0.0-beta.15",
|
58
55
|
"ts-dedent": "^2.0.0"
|
59
56
|
},
|
60
57
|
"devDependencies": {
|
@@ -77,5 +74,5 @@
|
|
77
74
|
],
|
78
75
|
"platform": "browser"
|
79
76
|
},
|
80
|
-
"gitHead": "
|
77
|
+
"gitHead": "ed794f9d13e2bfe696ed2b230a3da04c203519eb"
|
81
78
|
}
|
@@ -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',
|