@storybook/preact 6.5.0-alpha.46 → 6.5.0-alpha.49
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.
@@ -1,9 +1,9 @@
|
|
1
1
|
/// <reference types="webpack-env" />
|
2
2
|
/// <reference types="node" />
|
3
|
-
import { ClientStoryApi, Loadable } from '@storybook/addons';
|
3
|
+
import type { ClientStoryApi, Loadable } from '@storybook/addons';
|
4
4
|
import './globals';
|
5
|
-
import { IStorybookSection } from './types';
|
6
|
-
import { PreactFramework } from './types-6-0';
|
5
|
+
import type { IStorybookSection } from './types';
|
6
|
+
import type { PreactFramework } from './types-6-0';
|
7
7
|
export interface ClientApi extends ClientStoryApi<PreactFramework['storyResult']> {
|
8
8
|
setAddon(addon: any): void;
|
9
9
|
configure(loader: Loadable, module: NodeModule): void;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { AnyComponent } from 'preact';
|
2
|
-
import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
|
3
|
-
import { StoryFnPreactReturnType } from './types';
|
1
|
+
import type { AnyComponent } from 'preact';
|
2
|
+
import type { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
|
3
|
+
import type { StoryFnPreactReturnType } from './types';
|
4
4
|
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
|
5
5
|
export declare type PreactFramework = {
|
6
6
|
component: AnyComponent<any, any>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { TransformOptions } from '@babel/core';
|
2
|
-
import { Configuration } from 'webpack';
|
3
|
-
import { StorybookConfig } from '@storybook/core-common';
|
1
|
+
import type { TransformOptions } from '@babel/core';
|
2
|
+
import type { Configuration } from 'webpack';
|
3
|
+
import type { StorybookConfig } from '@storybook/core-common';
|
4
4
|
export declare function babelDefault(config: TransformOptions): TransformOptions;
|
5
5
|
export declare function webpackFinal(config: Configuration): Configuration;
|
6
6
|
export declare const config: StorybookConfig['config'];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact",
|
3
|
-
"version": "6.5.0-alpha.
|
3
|
+
"version": "6.5.0-alpha.49",
|
4
4
|
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -46,11 +46,11 @@
|
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
48
|
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
49
|
-
"@storybook/addons": "6.5.0-alpha.
|
50
|
-
"@storybook/core": "6.5.0-alpha.
|
51
|
-
"@storybook/core-common": "6.5.0-alpha.
|
49
|
+
"@storybook/addons": "6.5.0-alpha.49",
|
50
|
+
"@storybook/core": "6.5.0-alpha.49",
|
51
|
+
"@storybook/core-common": "6.5.0-alpha.49",
|
52
52
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
53
|
-
"@storybook/store": "6.5.0-alpha.
|
53
|
+
"@storybook/store": "6.5.0-alpha.49",
|
54
54
|
"@types/node": "^14.14.20 || ^16.0.0",
|
55
55
|
"@types/webpack-env": "^1.16.0",
|
56
56
|
"core-js": "^3.8.2",
|
@@ -75,6 +75,6 @@
|
|
75
75
|
"publishConfig": {
|
76
76
|
"access": "public"
|
77
77
|
},
|
78
|
-
"gitHead": "
|
78
|
+
"gitHead": "5cd3cd92ff4ab3dce81726f0d3913d7077926bee",
|
79
79
|
"sbmodern": "dist/modern/client/index.js"
|
80
80
|
}
|