@storybook/preview-api 7.0.0-alpha.54 → 7.0.0-alpha.55
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/{ClientApi-dce2f8f2.d.ts → ClientApi-e986b10e.d.ts} +13 -13
- package/dist/{DocsContext-f03e0d93.d.ts → DocsContext-45b5a5b3.d.ts} +47 -37
- package/dist/StoryStore-d61f3707.d.ts +109 -0
- package/dist/addons.d.ts +2 -2
- package/dist/{chunk-OWLSKH4Q.mjs → chunk-DNPROU3W.mjs} +1 -1
- package/dist/{chunk-Q5H6OXOG.mjs → chunk-OJACDH5G.mjs} +1 -1
- package/dist/{chunk-SVTQV5PN.mjs → chunk-QM3SOF7U.mjs} +1 -1
- package/dist/client-api.d.ts +7 -7
- package/dist/client-api.js +13 -13
- package/dist/client-api.mjs +1 -1
- package/dist/composeConfigs-7f62ebf7.d.ts +9 -0
- package/dist/core-client.d.ts +4 -4
- package/dist/core-client.js +20 -20
- package/dist/core-client.mjs +1 -1
- package/dist/{hooks-a99e1305.d.ts → hooks-0a0ec0e3.d.ts} +3 -3
- package/dist/{hooks-0d0b05c1.d.ts → hooks-dd6bc7a8.d.ts} +0 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +21 -21
- package/dist/index.mjs +1 -1
- package/dist/preview-web.d.ts +4 -4
- package/dist/preview-web.js +15 -15
- package/dist/preview-web.mjs +1 -1
- package/dist/{queryparams-2acc7490.d.ts → queryparams-d12445b8.d.ts} +0 -0
- package/dist/{sortStories-dc945850.d.ts → sortStories-a93f5af2.d.ts} +11 -10
- package/dist/{start-3a1ec032.d.ts → start-6a0f43a9.d.ts} +1 -1
- package/dist/store.d.ts +5 -5
- package/dist/store.js +10 -10
- package/dist/{storybook-channel-mock-e42c60b1.d.ts → storybook-channel-mock-a19cd233.d.ts} +0 -0
- package/package.json +8 -8
- package/dist/StoryStore-8f9ab1c2.d.ts +0 -103
- package/dist/composeConfigs-62cfdf58.d.ts +0 -9
package/dist/core-client.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{start}from"./chunk-
|
|
1
|
+
import{start}from"./chunk-QM3SOF7U.mjs";import{ClientApi}from"./chunk-DNPROU3W.mjs";import"./chunk-OJACDH5G.mjs";import{StoryStore}from"./chunk-CMHHF3W3.mjs";import"./chunk-QSH26RWA.mjs";export{ClientApi,StoryStore,start};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _storybook_types from '@storybook/types';
|
|
2
|
-
import { InputType, StrictInputType, ArgTypes, GlobalTypes, StrictArgTypes, StrictGlobalTypes, Renderer,
|
|
2
|
+
import { InputType, StrictInputType, ArgTypes, GlobalTypes, StrictArgTypes, StrictGlobalTypes, Renderer, ModuleExports, NormalizedComponentAnnotations, ProjectAnnotations, NormalizedProjectAnnotations } from '@storybook/types';
|
|
3
3
|
|
|
4
4
|
declare const normalizeInputType: (inputType: InputType, key: string) => StrictInputType;
|
|
5
5
|
declare const normalizeInputTypes: (inputTypes: ArgTypes | GlobalTypes) => StrictArgTypes | StrictGlobalTypes;
|
|
6
6
|
|
|
7
|
-
declare function normalizeComponentAnnotations<TRenderer extends Renderer>(defaultExport:
|
|
7
|
+
declare function normalizeComponentAnnotations<TRenderer extends Renderer>(defaultExport: ModuleExports['default'], title?: string, importPath?: string): NormalizedComponentAnnotations<TRenderer>;
|
|
8
8
|
|
|
9
|
-
declare function normalizeProjectAnnotations<TRenderer extends Renderer>({ argTypes, globalTypes, argTypesEnhancers, ...annotations }: ProjectAnnotations<TRenderer>):
|
|
9
|
+
declare function normalizeProjectAnnotations<TRenderer extends Renderer>({ argTypes, globalTypes, argTypesEnhancers, ...annotations }: ProjectAnnotations<TRenderer>): NormalizedProjectAnnotations<TRenderer>;
|
|
10
10
|
|
|
11
11
|
declare const getValuesFromArgTypes: (argTypes?: ArgTypes) => ArgTypes<_storybook_types.Args>;
|
|
12
12
|
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { a as addons, m as makeDecorator, b as mockChannel } from './storybook-channel-mock-
|
|
2
|
-
export { H as HooksContext, k as applyHooks, u as useArgs, a as useCallback, b as useChannel, c as useEffect, d as useGlobals, e as useMemo, f as useParameter, g as useReducer, h as useRef, i as useState, j as useStoryContext } from './hooks-
|
|
3
|
-
export { S as StoryStore, p as prepareStory } from './StoryStore-
|
|
4
|
-
export { c as combineArgs, a as combineParameters, b as composeStepRunners, d as composeStories, e as composeStory, f as decorateStory, g as defaultDecorateStory, h as filterArgTypes, j as inferControls, n as normalizeStory, s as sanitizeStoryContextUpdate, i as setProjectAnnotations, k as sortStoriesV7, u as userOrAutoTitleFromSpecifier } from './sortStories-
|
|
5
|
-
export { c as composeConfigs } from './composeConfigs-
|
|
6
|
-
export { D as DocsContext, P as Preview, b as PreviewWeb, a as simulateDOMContentLoaded, s as simulatePageLoad } from './DocsContext-
|
|
7
|
-
export { C as ClientApi, a as addArgTypes, b as addArgTypesEnhancer, c as addArgs, d as addArgsEnhancer, e as addDecorator, f as addLoader, g as addParameters, h as addStepRunner, s as setGlobalRender } from './ClientApi-
|
|
8
|
-
export { g as getQueryParam, a as getQueryParams } from './queryparams-
|
|
9
|
-
export { s as start } from './start-
|
|
1
|
+
export { a as addons, m as makeDecorator, b as mockChannel } from './storybook-channel-mock-a19cd233.js';
|
|
2
|
+
export { H as HooksContext, k as applyHooks, u as useArgs, a as useCallback, b as useChannel, c as useEffect, d as useGlobals, e as useMemo, f as useParameter, g as useReducer, h as useRef, i as useState, j as useStoryContext } from './hooks-dd6bc7a8.js';
|
|
3
|
+
export { S as StoryStore, p as prepareStory } from './StoryStore-d61f3707.js';
|
|
4
|
+
export { P as PropDescriptor, c as combineArgs, a as combineParameters, b as composeStepRunners, d as composeStories, e as composeStory, f as decorateStory, g as defaultDecorateStory, h as filterArgTypes, j as inferControls, n as normalizeStory, s as sanitizeStoryContextUpdate, i as setProjectAnnotations, k as sortStoriesV7, u as userOrAutoTitleFromSpecifier } from './sortStories-a93f5af2.js';
|
|
5
|
+
export { c as composeConfigs } from './composeConfigs-7f62ebf7.js';
|
|
6
|
+
export { D as DocsContext, P as Preview, b as PreviewWeb, a as simulateDOMContentLoaded, s as simulatePageLoad } from './DocsContext-45b5a5b3.js';
|
|
7
|
+
export { C as ClientApi, a as addArgTypes, b as addArgTypesEnhancer, c as addArgs, d as addArgsEnhancer, e as addDecorator, f as addLoader, g as addParameters, h as addStepRunner, s as setGlobalRender } from './ClientApi-e986b10e.js';
|
|
8
|
+
export { g as getQueryParam, a as getQueryParams } from './queryparams-d12445b8.js';
|
|
9
|
+
export { s as start } from './start-6a0f43a9.js';
|
|
10
10
|
import '@storybook/channels';
|
|
11
11
|
import '@storybook/types';
|
|
12
12
|
import 'synchronous-promise';
|