Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@storybook/core

Package Overview
Dependencies
Maintainers
11
Versions
1256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/core - npm Package Compare versions

Comparing version 8.5.0-alpha.7 to 8.5.0-alpha.8

2

dist/common/index.d.ts

@@ -813,3 +813,3 @@ import * as _storybook_core_types from '@storybook/core/types';

*/
declare function extractProperRendererNameFromFramework(frameworkName: string): Promise<_storybook_core_types.SupportedRenderers | "vue" | null>;
declare function extractProperRendererNameFromFramework(frameworkName: string): Promise<"vue" | _storybook_core_types.SupportedRenderers | null>;

@@ -816,0 +816,0 @@ declare function getStorybookConfiguration(storybookScript: string, shortName: string, longName: string): string | null;

@@ -8,16 +8,8 @@ import * as React$1 from 'react';

// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
// TypeScript Version: 3.4
// tslint:disable-next-line: no-empty-interface
interface Theme {}
declare const A: _storybook_core_theming.StyledComponent<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
}, {}, {}>;
declare const Blockquote: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -27,3 +19,3 @@ }, React$1.DetailedHTMLProps<React$1.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, {}>;

declare const DefaultCodeBlock: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -34,3 +26,3 @@ }, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;

declare const Div: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -40,3 +32,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const DL: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -46,3 +38,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}>;

declare const H1: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -52,3 +44,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const H2: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -58,3 +50,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const H3: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -64,3 +56,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const H4: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -70,3 +62,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const H5: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -76,3 +68,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const H6: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -82,3 +74,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;

declare const HR: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -88,3 +80,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;

declare const Img: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -94,3 +86,3 @@ }, React$1.DetailedHTMLProps<React$1.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;

declare const LI: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -100,3 +92,3 @@ }, React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;

declare const OL: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -106,3 +98,3 @@ }, React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, {}>;

declare const P: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -112,3 +104,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;

declare const Pre: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -118,3 +110,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, {}>;

declare const Span: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -124,3 +116,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;

declare const Table: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -130,3 +122,3 @@ }, React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;

declare const TT: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -136,3 +128,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, {}>;

declare const UL: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -169,3 +161,3 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;

declare const DocumentWrapper: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -500,7 +492,7 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const Overlay: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
declare const Container: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -513,11 +505,11 @@ } & {

declare const Content: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
declare const Row: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
declare const Col: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -527,13 +519,13 @@ }, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const Title: _storybook_core_theming.StyledComponent<DialogTitleProps & React__default.RefAttributes<HTMLHeadingElement> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
}, {}, {}>;
declare const Description: _storybook_core_theming.StyledComponent<DialogDescriptionProps & React__default.RefAttributes<HTMLParagraphElement> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
}, {}, {}>;
declare const Actions: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
declare const ErrorWrapper: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -658,3 +650,3 @@ }, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const Form: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -669,3 +661,3 @@ }, React$1.DetailedHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}> & {

}, "ref"> & React$1.RefAttributes<any> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
} & Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {

@@ -685,3 +677,3 @@ size?: Sizes | undefined;

} & React$1.RefAttributes<any> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
}, {}, {}> & {

@@ -696,3 +688,3 @@ displayName: string;

} & React$1.RefAttributes<HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<any> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
} & Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {

@@ -938,3 +930,3 @@ size?: Sizes | undefined;

declare const TargetContainer: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -993,3 +985,3 @@ } & {

declare const Item: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -1013,9 +1005,18 @@ } & ItemProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const List: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
interface Link extends Omit<ListItemProps, 'onClick'> {
interface NormalLink extends Omit<ListItemProps, 'onClick'> {
id: string;
onClick?: (event: SyntheticEvent, item: Pick<ListItemProps, 'id' | 'active' | 'disabled' | 'title' | 'href'>) => void;
}
type Link = CustomLink | NormalLink;
/**
* This is a custom link that can be used in the `TooltipLinkList` component. It allows for custom
* content to be rendered in the list; it does not have to be a link.
*/
interface CustomLink {
id: string;
content: ReactNode;
}
interface TooltipLinkListProps extends ComponentProps<typeof List> {

@@ -1028,3 +1029,3 @@ links: Link[] | Link[][];

declare const TabBar: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -1093,3 +1094,3 @@ }, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

declare const TabButton: _storybook_core_theming.StyledComponent<Omit<ButtonProps, "ref"> & RefAttributes<HTMLButtonElement> & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
} & TabButtonProps, {}, {}>;

@@ -1103,3 +1104,3 @@ /** @deprecated This component will be removed in Storybook 9.0 */

declare const Separator: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -1116,3 +1117,3 @@ } & SeparatorProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;

declare const Bar: _storybook_core_theming.StyledComponent<UnstyledBarProps & {
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
} & BarProps, {}, {}>;

@@ -1136,3 +1137,3 @@ interface FlexBarProps extends ComponentProps<typeof Bar> {

declare const Svg: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React__default.ElementType<any, keyof React__default.JSX.IntrinsicElements> | undefined;

@@ -1404,3 +1405,3 @@ }, React__default.SVGProps<SVGSVGElement>, {}>;

declare const ResetWrapper: _storybook_core_theming.StyledComponent<{
theme?: Theme | undefined;
theme?: _storybook_core_theming.Theme | undefined;
as?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | undefined;

@@ -1407,0 +1408,0 @@ }, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;

@@ -96,3 +96,3 @@ import { ArgTypes } from '@storybook/csf';

type TestProviders = Record<TestProviderId, TestProviderConfig & TestProviderState>;
type TestingModuleRunRequestStories = {
type TestingModuleRunRequestStory = {
id: string;

@@ -104,5 +104,5 @@ name: string;

payload: {
stories: TestingModuleRunRequestStories[];
importPath: string;
componentPath: string;
stories?: TestingModuleRunRequestStory[];
componentPath?: string;
}[];

@@ -292,2 +292,2 @@ };

export { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, type ArgTypesRequestPayload, type ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CONFIG_ERROR, CREATE_NEW_STORYFILE_REQUEST, CREATE_NEW_STORYFILE_RESPONSE, CURRENT_STORY_WAS_SET, type CreateNewStoryErrorPayload, type CreateNewStoryRequestPayload, type CreateNewStoryResponsePayload, DOCS_PREPARED, DOCS_RENDERED, FILE_COMPONENT_SEARCH_REQUEST, FILE_COMPONENT_SEARCH_RESPONSE, FORCE_REMOUNT, FORCE_RE_RENDER, type FileComponentSearchRequestPayload, type FileComponentSearchResponsePayload, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, PRELOAD_ENTRIES, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, REQUEST_WHATS_NEW_DATA, RESET_STORY_ARGS, RESULT_WHATS_NEW_DATA, type RequestData, type ResponseData, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SET_WHATS_NEW_CACHE, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, type SaveStoryRequestPayload, type SaveStoryResponsePayload, type Status, TELEMETRY_ERROR, TESTING_MODULE_CANCEL_TEST_RUN_REQUEST, TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE, TESTING_MODULE_CRASH_REPORT, TESTING_MODULE_PROGRESS_REPORT, TESTING_MODULE_RUN_ALL_REQUEST, TESTING_MODULE_RUN_REQUEST, TESTING_MODULE_WATCH_MODE_REQUEST, TOGGLE_WHATS_NEW_NOTIFICATIONS, type TestProviderConfig, type TestProviderId, type TestProviderState, type TestProviders, type TestingModuleCancelTestRunRequestPayload, type TestingModuleCancelTestRunResponsePayload, type TestingModuleCrashReportPayload, type TestingModuleProgressReportPayload, type TestingModuleProgressReportProgress, type TestingModuleRunAllRequestPayload, type TestingModuleRunRequestPayload, type TestingModuleRunRequestStories, type TestingModuleWatchModeRequestPayload, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, type WhatsNewCache, type WhatsNewData, events as default };
export { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, type ArgTypesRequestPayload, type ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CONFIG_ERROR, CREATE_NEW_STORYFILE_REQUEST, CREATE_NEW_STORYFILE_RESPONSE, CURRENT_STORY_WAS_SET, type CreateNewStoryErrorPayload, type CreateNewStoryRequestPayload, type CreateNewStoryResponsePayload, DOCS_PREPARED, DOCS_RENDERED, FILE_COMPONENT_SEARCH_REQUEST, FILE_COMPONENT_SEARCH_RESPONSE, FORCE_REMOUNT, FORCE_RE_RENDER, type FileComponentSearchRequestPayload, type FileComponentSearchResponsePayload, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, PRELOAD_ENTRIES, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, REQUEST_WHATS_NEW_DATA, RESET_STORY_ARGS, RESULT_WHATS_NEW_DATA, type RequestData, type ResponseData, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SET_WHATS_NEW_CACHE, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, type SaveStoryRequestPayload, type SaveStoryResponsePayload, type Status, TELEMETRY_ERROR, TESTING_MODULE_CANCEL_TEST_RUN_REQUEST, TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE, TESTING_MODULE_CRASH_REPORT, TESTING_MODULE_PROGRESS_REPORT, TESTING_MODULE_RUN_ALL_REQUEST, TESTING_MODULE_RUN_REQUEST, TESTING_MODULE_WATCH_MODE_REQUEST, TOGGLE_WHATS_NEW_NOTIFICATIONS, type TestProviderConfig, type TestProviderId, type TestProviderState, type TestProviders, type TestingModuleCancelTestRunRequestPayload, type TestingModuleCancelTestRunResponsePayload, type TestingModuleCrashReportPayload, type TestingModuleProgressReportPayload, type TestingModuleProgressReportProgress, type TestingModuleRunAllRequestPayload, type TestingModuleRunRequestPayload, type TestingModuleRunRequestStory, type TestingModuleWatchModeRequestPayload, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, type WhatsNewCache, type WhatsNewData, events as default };

@@ -5,7 +5,7 @@ import React, { ReactNode, FC, Component, ReactElement } from 'react';

import { RouterData, NavigateOptions } from '@storybook/core/router';
import { Addon_Types, Addon_TypesEnum, Addon_Collection, Addon_TypesMapping, Addon_BaseType, Addon_SidebarTopType, Addon_SidebarBottomType, Addon_TestProviderType, Addon_PageType, Addon_WrapperType, Addon_Config, API_ProviderData, API_StateMerger, API_Provider, Globals, GlobalTypes, API_Layout, API_UI, API_PanelPositions, API_Notification, API_IframeRenderer, API_Refs, API_ComposedRef, API_SetRefData, API_ComposedRefUpdate, StoryId, API_Settings, API_LoadedRefData, API_PreparedStoryIndex, API_ViewMode, API_StatusState, API_FilterFunction, API_HashEntry, API_LeafEntry, API_StoryEntry, Args, API_IndexHash, API_StatusUpdate, API_DocsEntry, API_Versions, API_UnknownEntries, API_Version, API_OptionsData, Parameters, ArgTypes } from '@storybook/core/types';
import { Addon_Types, Addon_TypesEnum, Addon_Collection, Addon_TypesMapping, Addon_BaseType, Addon_SidebarTopType, Addon_SidebarBottomType, Addon_TestProviderType, Addon_PageType, Addon_WrapperType, Addon_Config, API_ProviderData, API_StateMerger, API_Provider, StoryId, Globals, GlobalTypes, API_Layout, API_UI, API_PanelPositions, API_Notification, API_IframeRenderer, API_Refs, API_ComposedRef, API_SetRefData, API_ComposedRefUpdate, API_Settings, API_LoadedRefData, API_PreparedStoryIndex, API_ViewMode, API_StatusState, API_FilterFunction, API_HashEntry, API_LeafEntry, API_StoryEntry, Args, API_IndexHash, API_StatusUpdate, API_DocsEntry, API_Versions, API_UnknownEntries, API_Version, API_OptionsData, Parameters, ArgTypes } from '@storybook/core/types';
export { Addon_Type as Addon, API_ComponentEntry as ComponentEntry, API_ComposedRef as ComposedRef, API_DocsEntry as DocsEntry, API_GroupEntry as GroupEntry, API_HashEntry as HashEntry, API_IndexHash as IndexHash, API_LeafEntry as LeafEntry, API_Refs as Refs, API_RootEntry as RootEntry, API_IndexHash as StoriesHash, API_StoryEntry as StoryEntry } from '@storybook/core/types';
import { TestProviders, TestProviderState, TestProviderId, WhatsNewData } from '@storybook/core/core-events';
import { ThemeVars } from '@storybook/core/theming';
import { toId } from '@storybook/csf';
import { WhatsNewData } from '@storybook/core/core-events';

@@ -84,3 +84,3 @@ declare function mockChannel(): Channel;

interface SubAPI$c {
interface SubAPI$d {
/**

@@ -95,3 +95,3 @@ * Returns a collection of elements of a specific type.

*/
getElements: <T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_SIDEBAR_BOTTOM | Addon_TypesEnum.experimental_SIDEBAR_TOP = Addon_Types>(type: T) => Addon_Collection<Addon_TypesMapping[T]>;
getElements: <T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_SIDEBAR_BOTTOM | Addon_TypesEnum.experimental_TEST_PROVIDER | Addon_TypesEnum.experimental_SIDEBAR_TOP = Addon_Types>(type: T) => Addon_Collection<Addon_TypesMapping[T]>;
/**

@@ -133,3 +133,3 @@ * Returns the id of the currently selected panel.

interface SubAPI$b {
interface SubAPI$c {
/**

@@ -177,2 +177,17 @@ * Returns the channel object.

type SubState$a = {
testProviders: TestProviders;
};
interface RunOptions {
entryId?: StoryId;
}
type SubAPI$b = {
getTestProviderState(id: string): TestProviderState | undefined;
updateTestProviderState(id: TestProviderId, update: Partial<TestProviderState>): void;
clearTestProviderState(id: TestProviderId): void;
runTestProvider(id: TestProviderId, options?: RunOptions): () => void;
setTestProviderWatchMode(id: TestProviderId, watchMode: boolean): void;
cancelTestProvider(id: TestProviderId): void;
};
interface SubState$9 {

@@ -384,3 +399,3 @@ globals?: Globals;

declare const controlOrMetaSymbol: () => "⌘" | "ctrl";
declare const controlOrMetaKey: () => "control" | "meta";
declare const controlOrMetaKey: () => "meta" | "control";
declare const optionOrAltSymbol: () => "⌥" | "alt";

@@ -830,4 +845,4 @@ declare const isShortcutTaken: (arr1: string[], arr2: string[]) => boolean;

}>;
type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData & DeprecatedState & Other;
type API = SubAPI$c & SubAPI$b & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$a & SubAPI$9 & SubAPI$8 & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & Other;
type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$a & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData & DeprecatedState & Other;
type API = SubAPI$d & SubAPI$c & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$a & SubAPI$9 & SubAPI$8 & SubAPI$b & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & Other;
interface DeprecatedState {

@@ -834,0 +849,0 @@ /** @deprecated Use index */

{
"name": "@storybook/core",
"version": "8.5.0-alpha.7",
"version": "8.5.0-alpha.8",
"description": "Storybook framework-agnostic API",

@@ -40,2 +40,12 @@ "keywords": [

},
"./theming": {
"types": "./dist/theming/index.d.ts",
"import": "./dist/theming/index.js",
"require": "./dist/theming/index.cjs"
},
"./theming/create": {
"types": "./dist/theming/create.d.ts",
"import": "./dist/theming/create.js",
"require": "./dist/theming/create.cjs"
},
"./core-server": {

@@ -126,12 +136,2 @@ "types": "./dist/core-server/index.d.ts",

},
"./theming": {
"types": "./dist/theming/index.d.ts",
"import": "./dist/theming/index.js",
"require": "./dist/theming/index.cjs"
},
"./theming/create": {
"types": "./dist/theming/create.d.ts",
"import": "./dist/theming/create.js",
"require": "./dist/theming/create.cjs"
},
"./docs-tools": {

@@ -188,2 +188,8 @@ "types": "./dist/docs-tools/index.d.ts",

],
"theming": [
"./dist/theming/index.d.ts"
],
"theming/create": [
"./dist/theming/create.d.ts"
],
"core-server": [

@@ -243,8 +249,2 @@ "./dist/core-server/index.d.ts"

],
"theming": [
"./dist/theming/index.d.ts"
],
"theming/create": [
"./dist/theming/create.d.ts"
],
"docs-tools": [

@@ -251,0 +251,0 @@ "./dist/docs-tools/index.d.ts"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc