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
1239
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 0.0.0-pr-29256-sha-cd1d83f5 to 0.0.0-pr-29267-sha-d499768c

7

dist/cli/index.d.ts

@@ -138,2 +138,7 @@ import * as _storybook_core_common from '@storybook/core/common';

declare const frameworkToDefaultBuilder: Record<SupportedFrameworks, CoreBuilder | CommunityBuilder>;
/**
* Return the installed version of a package, or the coerced version specifier from package.json if
* it's a dependency but not installed (e.g. in a fresh project)
*/
declare function getVersionSafe(packageManager: JsPackageManager, packageName: string): Promise<string | undefined>;
declare function copyTemplateFiles({ packageManager, renderer, language, destination, commonAssetsDir, }: CopyTemplateFilesOptions): Promise<void>;

@@ -203,2 +208,2 @@ declare function adjustTemplate(templatePath: string, templateData: Record<string, any>): Promise<void>;

export { ANGULAR_JSON_PATH, AngularJSON, type Builder, CommunityBuilder, CoreBuilder, CoreWebpackCompilers, type ExternalFramework, type NpmOptions, ProjectType, SUPPORTED_ESLINT_EXTENSIONS, SUPPORTED_RENDERERS, SupportedLanguage, type SupportedRenderers, type TemplateConfiguration, type TemplateMatcher, addToDevDependenciesIfNotPresent, adjustTemplate, builderNameToCoreBuilder, coerceSemver, compilerNameToCoreCompiler, compoDocPreviewPrefix, configureEslintPlugin, copyTemplate, copyTemplateFiles, detect, detectBuilder, detectFrameworkPreset, detectLanguage, detectPnp, externalFrameworks, extractEslintInfo, findEslintFile, frameworkToDefaultBuilder, frameworkToRenderer, getBabelDependencies, getRendererDir, getStorybookVersionSpecifier, hasStorybookDependencies, installableProjectTypes, isNxProject, isStorybookInstantiated, normalizeExtends, promptForCompoDocs, readFileAsJson, suggestESLintPlugin, supportedTemplates, unsupportedTemplate, writeFileAsJson };
export { ANGULAR_JSON_PATH, AngularJSON, type Builder, CommunityBuilder, CoreBuilder, CoreWebpackCompilers, type ExternalFramework, type NpmOptions, ProjectType, SUPPORTED_ESLINT_EXTENSIONS, SUPPORTED_RENDERERS, SupportedLanguage, type SupportedRenderers, type TemplateConfiguration, type TemplateMatcher, addToDevDependenciesIfNotPresent, adjustTemplate, builderNameToCoreBuilder, coerceSemver, compilerNameToCoreCompiler, compoDocPreviewPrefix, configureEslintPlugin, copyTemplate, copyTemplateFiles, detect, detectBuilder, detectFrameworkPreset, detectLanguage, detectPnp, externalFrameworks, extractEslintInfo, findEslintFile, frameworkToDefaultBuilder, frameworkToRenderer, getBabelDependencies, getRendererDir, getStorybookVersionSpecifier, getVersionSafe, hasStorybookDependencies, installableProjectTypes, isNxProject, isStorybookInstantiated, normalizeExtends, promptForCompoDocs, readFileAsJson, suggestESLintPlugin, supportedTemplates, unsupportedTemplate, writeFileAsJson };

5

dist/common/index.d.ts

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

type PackageManagerName = 'npm' | 'yarn1' | 'yarn2' | 'pnpm';
type PackageManagerName = 'npm' | 'yarn1' | 'yarn2' | 'pnpm' | 'bun';
/**

@@ -515,2 +515,3 @@ * Extract package name and version from input

abstract getRunCommand(command: string): string;
abstract getRemoteRunCommand(): string;
readonly cwd?: string;

@@ -914,2 +915,4 @@ abstract getPackageJSON(packageName: string, basePath?: string): Promise<PackageJson | null>;

packageManager?: PackageManagerName;
cwd?: string;
configDir?: string;
}): Promise<void>;

@@ -916,0 +919,0 @@

import { ArgTypes } from '@storybook/csf';
import { Addon_TestProviderType, Addon_TestProviderState } from '@storybook/core/types';

@@ -90,2 +91,69 @@ interface CreateNewStoryRequestPayload {

type DateNow = number;
type TestProviderId = Addon_TestProviderType['id'];
type TestProviderConfig = Addon_TestProviderType;
type TestProviderState = Addon_TestProviderState;
type TestProviders = Record<TestProviderId, TestProviderConfig & TestProviderState>;
type TestingModuleRunRequestStories = {
id: string;
name: string;
};
type TestingModuleRunRequestPayload = {
providerId: TestProviderId;
payload: {
stories: TestingModuleRunRequestStories[];
importPath: string;
componentPath: string;
}[];
};
type TestingModuleRunAllRequestPayload = {
providerId: TestProviderId;
};
type TestingModuleProgressReportPayload = {
providerId: TestProviderId;
status: 'success' | 'pending' | 'cancelled';
cancellable?: boolean;
progress?: TestingModuleProgressReportProgress;
details?: {
[key: string]: any;
};
} | {
providerId: TestProviderId;
status: 'failed';
error: {
name: string;
message: string;
stack?: string;
};
};
type TestingModuleCrashReportPayload = {
providerId: TestProviderId;
error: {
message: string;
};
};
type TestingModuleProgressReportProgress = {
startedAt: DateNow;
finishedAt?: DateNow;
numTotalTests?: number;
numPassedTests?: number;
numFailedTests?: number;
numPendingTests?: number;
percentageCompleted?: number;
};
type Status = 'success' | 'failed' | 'pending';
type TestingModuleCancelTestRunRequestPayload = {
providerId: TestProviderId;
};
type TestingModuleCancelTestRunResponsePayload = {
status: 'success';
} | {
status: 'failed';
message: string;
};
type TestingModuleWatchModeRequestPayload = {
providerId: TestProviderId;
watchMode: boolean;
};
declare enum events {

@@ -146,3 +214,10 @@ CHANNEL_WS_DISCONNECT = "channelWSDisconnect",

CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest",
CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse"
CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse",
TESTING_MODULE_CRASH_REPORT = "testingModuleCrashReport",
TESTING_MODULE_PROGRESS_REPORT = "testingModuleProgressReport",
TESTING_MODULE_RUN_REQUEST = "testingModuleRunRequest",
TESTING_MODULE_RUN_ALL_REQUEST = "testingModuleRunAllRequest",
TESTING_MODULE_CANCEL_TEST_RUN_REQUEST = "testingModuleCancelTestRunRequest",
TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE = "testingModuleCancelTestRunResponse",
TESTING_MODULE_WATCH_MODE_REQUEST = "testingModuleWatchModeRequest"
}

@@ -205,3 +280,10 @@

declare const ARGTYPES_INFO_RESPONSE: events;
declare const TESTING_MODULE_CRASH_REPORT: events;
declare const TESTING_MODULE_PROGRESS_REPORT: events;
declare const TESTING_MODULE_RUN_REQUEST: events;
declare const TESTING_MODULE_RUN_ALL_REQUEST: events;
declare const TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: events;
declare const TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: events;
declare const TESTING_MODULE_WATCH_MODE_REQUEST: events;
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, TELEMETRY_ERROR, TOGGLE_WHATS_NEW_NOTIFICATIONS, 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 TestingModuleRunRequestStories, type TestingModuleWatchModeRequestPayload, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, type WhatsNewCache, type WhatsNewData, events as default };
// src/core-events/index.ts
var R = /* @__PURE__ */ ((E) => (E.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", E.CHANNEL_CREATED = "channelCreated", E.CONFIG_ERROR = "co\
var _ = /* @__PURE__ */ ((E) => (E.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", E.CHANNEL_CREATED = "channelCreated", E.CONFIG_ERROR = "co\
nfigError", E.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", E.STORY_SPECIFIED = "storySpecified", E.SET_CONFIG = "setConfig", E.SET_STORIES =

@@ -18,8 +18,11 @@ "setStories", E.SET_INDEX = "setIndex", E.SET_CURRENT_STORY = "setCurrentStory", E.CURRENT_STORY_WAS_SET = "currentStoryWasSet", E.FORCE_RE_RENDER =

"saveStoryResponse", E.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", E.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", E.CREATE_NEW_STORYFILE_REQUEST =
"createNewStoryfileRequest", E.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", E))(R || {}), S = R, {
CHANNEL_WS_DISCONNECT: _,
"createNewStoryfileRequest", E.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", E.TESTING_MODULE_CRASH_REPORT = "testingModuleC\
rashReport", E.TESTING_MODULE_PROGRESS_REPORT = "testingModuleProgressReport", E.TESTING_MODULE_RUN_REQUEST = "testingModuleRunRequest", E.TESTING_MODULE_RUN_ALL_REQUEST =
"testingModuleRunAllRequest", E.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST = "testingModuleCancelTestRunRequest", E.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE =
"testingModuleCancelTestRunResponse", E.TESTING_MODULE_WATCH_MODE_REQUEST = "testingModuleWatchModeRequest", E))(_ || {}), R = _, {
CHANNEL_WS_DISCONNECT: S,
CHANNEL_CREATED: T,
CONFIG_ERROR: A,
CONFIG_ERROR: N,
CREATE_NEW_STORYFILE_REQUEST: O,
CREATE_NEW_STORYFILE_RESPONSE: N,
CREATE_NEW_STORYFILE_RESPONSE: A,
CURRENT_STORY_WAS_SET: r,

@@ -30,27 +33,27 @@ DOCS_PREPARED: D,

FILE_COMPONENT_SEARCH_RESPONSE: o,
FORCE_RE_RENDER: P,
FORCE_REMOUNT: L,
GLOBALS_UPDATED: a,
NAVIGATE_URL: Y,
PLAY_FUNCTION_THREW_EXCEPTION: U,
UNHANDLED_ERRORS_WHILE_PLAYING: G,
PRELOAD_ENTRIES: W,
PREVIEW_BUILDER_PROGRESS: H,
PREVIEW_KEYDOWN: d,
REGISTER_SUBSCRIPTION: t,
RESET_STORY_ARGS: p,
SELECT_STORY: i,
SET_CONFIG: l,
SET_CURRENT_STORY: F,
SET_FILTER: e,
SET_GLOBALS: y,
SET_INDEX: c,
SET_STORIES: h,
SHARED_STATE_CHANGED: f,
FORCE_RE_RENDER: L,
FORCE_REMOUNT: P,
GLOBALS_UPDATED: U,
NAVIGATE_URL: G,
PLAY_FUNCTION_THREW_EXCEPTION: a,
UNHANDLED_ERRORS_WHILE_PLAYING: Y,
PRELOAD_ENTRIES: t,
PREVIEW_BUILDER_PROGRESS: e,
PREVIEW_KEYDOWN: W,
REGISTER_SUBSCRIPTION: d,
RESET_STORY_ARGS: H,
SELECT_STORY: l,
SET_CONFIG: i,
SET_CURRENT_STORY: p,
SET_FILTER: M,
SET_GLOBALS: u,
SET_INDEX: F,
SET_STORIES: s,
SHARED_STATE_CHANGED: c,
SHARED_STATE_SET: g,
STORIES_COLLAPSE_ALL: u,
STORIES_EXPAND_ALL: s,
STORY_ARGS_UPDATED: x,
STORY_CHANGED: M,
STORY_ERRORED: Q,
STORIES_COLLAPSE_ALL: y,
STORIES_EXPAND_ALL: h,
STORY_ARGS_UPDATED: Q,
STORY_CHANGED: f,
STORY_ERRORED: x,
STORY_INDEX_INVALIDATED: m,

@@ -61,26 +64,33 @@ STORY_MISSING: V,

STORY_RENDERED: X,
STORY_SPECIFIED: b,
STORY_THREW_EXCEPTION: q,
STORY_SPECIFIED: q,
STORY_THREW_EXCEPTION: b,
STORY_UNCHANGED: K,
UPDATE_GLOBALS: j,
UPDATE_QUERY_PARAMS: k,
UPDATE_STORY_ARGS: z,
REQUEST_WHATS_NEW_DATA: J,
RESULT_WHATS_NEW_DATA: Z,
SET_WHATS_NEW_CACHE: $,
TOGGLE_WHATS_NEW_NOTIFICATIONS: n,
UPDATE_STORY_ARGS: n,
REQUEST_WHATS_NEW_DATA: z,
RESULT_WHATS_NEW_DATA: J,
SET_WHATS_NEW_CACHE: Z,
TOGGLE_WHATS_NEW_NOTIFICATIONS: $,
TELEMETRY_ERROR: v,
SAVE_STORY_REQUEST: EE,
SAVE_STORY_RESPONSE: RE,
ARGTYPES_INFO_REQUEST: SE,
ARGTYPES_INFO_RESPONSE: _E
} = R;
SAVE_STORY_RESPONSE: _E,
ARGTYPES_INFO_REQUEST: RE,
ARGTYPES_INFO_RESPONSE: SE,
TESTING_MODULE_CRASH_REPORT: TE,
TESTING_MODULE_PROGRESS_REPORT: NE,
TESTING_MODULE_RUN_REQUEST: OE,
TESTING_MODULE_RUN_ALL_REQUEST: AE,
TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: rE,
TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: DE,
TESTING_MODULE_WATCH_MODE_REQUEST: IE
} = _;
export {
SE as ARGTYPES_INFO_REQUEST,
_E as ARGTYPES_INFO_RESPONSE,
RE as ARGTYPES_INFO_REQUEST,
SE as ARGTYPES_INFO_RESPONSE,
T as CHANNEL_CREATED,
_ as CHANNEL_WS_DISCONNECT,
A as CONFIG_ERROR,
S as CHANNEL_WS_DISCONNECT,
N as CONFIG_ERROR,
O as CREATE_NEW_STORYFILE_REQUEST,
N as CREATE_NEW_STORYFILE_RESPONSE,
A as CREATE_NEW_STORYFILE_RESPONSE,
r as CURRENT_STORY_WAS_SET,

@@ -91,31 +101,31 @@ D as DOCS_PREPARED,

o as FILE_COMPONENT_SEARCH_RESPONSE,
L as FORCE_REMOUNT,
P as FORCE_RE_RENDER,
a as GLOBALS_UPDATED,
Y as NAVIGATE_URL,
U as PLAY_FUNCTION_THREW_EXCEPTION,
W as PRELOAD_ENTRIES,
H as PREVIEW_BUILDER_PROGRESS,
d as PREVIEW_KEYDOWN,
t as REGISTER_SUBSCRIPTION,
J as REQUEST_WHATS_NEW_DATA,
p as RESET_STORY_ARGS,
Z as RESULT_WHATS_NEW_DATA,
P as FORCE_REMOUNT,
L as FORCE_RE_RENDER,
U as GLOBALS_UPDATED,
G as NAVIGATE_URL,
a as PLAY_FUNCTION_THREW_EXCEPTION,
t as PRELOAD_ENTRIES,
e as PREVIEW_BUILDER_PROGRESS,
W as PREVIEW_KEYDOWN,
d as REGISTER_SUBSCRIPTION,
z as REQUEST_WHATS_NEW_DATA,
H as RESET_STORY_ARGS,
J as RESULT_WHATS_NEW_DATA,
EE as SAVE_STORY_REQUEST,
RE as SAVE_STORY_RESPONSE,
i as SELECT_STORY,
l as SET_CONFIG,
F as SET_CURRENT_STORY,
e as SET_FILTER,
y as SET_GLOBALS,
c as SET_INDEX,
h as SET_STORIES,
$ as SET_WHATS_NEW_CACHE,
f as SHARED_STATE_CHANGED,
_E as SAVE_STORY_RESPONSE,
l as SELECT_STORY,
i as SET_CONFIG,
p as SET_CURRENT_STORY,
M as SET_FILTER,
u as SET_GLOBALS,
F as SET_INDEX,
s as SET_STORIES,
Z as SET_WHATS_NEW_CACHE,
c as SHARED_STATE_CHANGED,
g as SHARED_STATE_SET,
u as STORIES_COLLAPSE_ALL,
s as STORIES_EXPAND_ALL,
x as STORY_ARGS_UPDATED,
M as STORY_CHANGED,
Q as STORY_ERRORED,
y as STORIES_COLLAPSE_ALL,
h as STORIES_EXPAND_ALL,
Q as STORY_ARGS_UPDATED,
f as STORY_CHANGED,
x as STORY_ERRORED,
m as STORY_INDEX_INVALIDATED,

@@ -126,12 +136,19 @@ V as STORY_MISSING,

B as STORY_RENDER_PHASE_CHANGED,
b as STORY_SPECIFIED,
q as STORY_THREW_EXCEPTION,
q as STORY_SPECIFIED,
b as STORY_THREW_EXCEPTION,
K as STORY_UNCHANGED,
v as TELEMETRY_ERROR,
n as TOGGLE_WHATS_NEW_NOTIFICATIONS,
G as UNHANDLED_ERRORS_WHILE_PLAYING,
rE as TESTING_MODULE_CANCEL_TEST_RUN_REQUEST,
DE as TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE,
TE as TESTING_MODULE_CRASH_REPORT,
NE as TESTING_MODULE_PROGRESS_REPORT,
AE as TESTING_MODULE_RUN_ALL_REQUEST,
OE as TESTING_MODULE_RUN_REQUEST,
IE as TESTING_MODULE_WATCH_MODE_REQUEST,
$ as TOGGLE_WHATS_NEW_NOTIFICATIONS,
Y as UNHANDLED_ERRORS_WHILE_PLAYING,
j as UPDATE_GLOBALS,
k as UPDATE_QUERY_PARAMS,
z as UPDATE_STORY_ARGS,
S as default
n as UPDATE_STORY_ARGS,
R as default
};
// ../node_modules/@storybook/global/dist/index.mjs
var n = (() => {
var l = (() => {
let e;

@@ -9,19 +9,19 @@ return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ?

// src/core-server/presets/common-manager.ts
import { addons as d } from "@storybook/core/manager-api";
var s = "static-filter";
d.register(s, (e) => {
let i = Object.entries(n.TAGS_OPTIONS ?? {}).reduce(
import { addons as r } from "@storybook/core/manager-api";
var a = "tag-filters", d = "static-filter";
r.register(a, (e) => {
let i = Object.entries(l.TAGS_OPTIONS ?? {}).reduce(
(t, o) => {
let [l, r] = o;
return r.excludeFromSidebar && (t[l] = !0), t;
let [s, n] = o;
return n.excludeFromSidebar && (t[s] = !0), t;
},
{}
);
e.experimental_setFilter(s, (t) => {
e.experimental_setFilter(d, (t) => {
let o = t.tags ?? [];
return (
// we can filter out the primary story, but we still want to show autodocs
(o.includes("dev") || t.type === "docs") && o.filter((l) => i[l]).length === 0
(o.includes("dev") || t.type === "docs") && o.filter((s) => i[s]).length === 0
);
});
});

@@ -168,3 +168,3 @@ import ESM_COMPAT_Module from "node:module";

More info: https://storybook.js.org/docs/react/writing-stories#default-export
More info: https://storybook.js.org/docs/writing-stories#default-export
`), this.name = this.constructor.name;

@@ -591,3 +591,3 @@ }

let { name: a } = r.local, { name: n } = r.exported, l = xe(a, t);
e._exports[n] = l.init, e._exportDecls[n] = l;
l && (e._exports[n] = l.init, e._exportDecls[n] = l);
}

@@ -594,0 +594,0 @@ }) : z.warn(

@@ -99,4 +99,4 @@ var De = Object.defineProperty;

try {
let l = t.split("|").map((m) => JSON.parse(m));
return { ...i, name: "enum", value: l };
let u = t.split("|").map((m) => JSON.parse(m));
return { ...i, name: "enum", value: u };
} catch {

@@ -271,8 +271,8 @@ }

p] = y(p)), c) {
let l = p.trimRight();
a.end = p.slice(l.length - t.end.length), p = l.slice(0, -t.end.length);
let u = p.trimRight();
a.end = p.slice(u.length - t.end.length), p = u.slice(0, -t.end.length);
}
if (a.description = p, r.push({ number: n, source: i, tokens: a }), n++, c) {
let l = r.slice();
return r = null, l;
let u = r.slice();
return r = null, u;
}

@@ -317,9 +317,9 @@ return null;

for (let [a, { tokens: c }] of r.source.entries()) {
let l = "";
let u = "";
if (a === 0 && c.description[0] !== "{")
return r;
for (let m of c.description)
if (m === "{" && n++, m === "}" && n--, l += m, n === 0)
if (m === "{" && n++, m === "}" && n--, u += m, n === 0)
break;
if (s.push([c, l]), n === 0)
if (s.push([c, u]), n === 0)
break;

@@ -335,5 +335,5 @@ }

let i = [], p = s[0][0].postDelimiter.length;
for (let [a, [c, l]] of s.entries())
c.type = l, a > 0 && (c.type = c.postDelimiter.slice(p) + l, c.postDelimiter = c.postDelimiter.slice(0, p)), [c.postType, c.description] =
y(c.description.slice(l.length)), i.push(c.type);
for (let [a, [c, u]] of s.entries())
c.type = u, a > 0 && (c.type = c.postDelimiter.slice(p) + u, c.postDelimiter = c.postDelimiter.slice(0, p)), [c.postType, c.description] =
y(c.description.slice(u.length)), i.push(c.type);
return i[0] = i[0].slice(1), i[i.length - 1] = i[i.length - 1].slice(0, -1), r.type = t(i), r;

@@ -371,3 +371,3 @@ };

}), t;
let l = p;
let u = p;
if (p[0] === "[" && p[p.length - 1] === "]") {

@@ -398,3 +398,3 @@ a = !0, p = p.slice(1, -1);

}
return t.optional = a, t.name = p, r.name = l, c !== void 0 && (t.default = c), [r.postName, r.description] = y(n.slice(r.name.length)),
return t.optional = a, t.name = p, r.name = u, c !== void 0 && (t.default = c), [r.postName, r.description] = y(n.slice(r.name.length)),
t;

@@ -442,5 +442,5 @@ };

let i = N({ startLine: e, markers: n }), p = J({ fence: t }), a = R({ tokenizers: s }), c = A(r);
return function(l) {
return function(u) {
let m = [];
for (let ge of K(l)) {
for (let ge of K(u)) {
let E = i(ge);

@@ -497,3 +497,3 @@ if (E === null)

o(H, "parse");
var uo = C();
var lo = C();

@@ -651,6 +651,6 @@ // src/docs-tools/argTypes/jsdocParser.ts

o(oe, "isTooLongForDefaultValueSummary");
function u(e, t) {
function l(e, t) {
return e === t ? { summary: e } : { summary: e, detail: t };
}
o(u, "createSummaryValue");
o(l, "createSummaryValue");
var Po = /* @__PURE__ */ o((e) => e.replace(/\\r\\n/g, "\\n"), "normalizeNewlines");

@@ -663,3 +663,3 @@

if (!T(r))
return oe(r) ? u(t?.name, r) : u(r);
return oe(r) ? l(t?.name, r) : l(r);
}

@@ -676,11 +676,11 @@ return null;

function Ze({ name: e, raw: t, elements: r }) {
return r != null ? u(r.map(se).join(" | ")) : t != null ? u(t.replace(/^\|\s*/, "")) : u(e);
return r != null ? l(r.map(se).join(" | ")) : t != null ? l(t.replace(/^\|\s*/, "")) : l(e);
}
o(Ze, "generateUnion");
function et({ type: e, raw: t }) {
return t != null ? u(t) : u(e);
return t != null ? l(t) : l(e);
}
o(et, "generateFuncSignature");
function tt({ type: e, raw: t }) {
return t != null ? B(t) ? u(e, t) : u(t) : u(e);
return t != null ? B(t) ? l(e, t) : l(t) : l(e);
}

@@ -694,3 +694,3 @@ o(tt, "generateObjectSignature");

function ot({ name: e, raw: t }) {
return t != null ? B(t) ? u(e, t) : u(t) : u(e);
return t != null ? B(t) ? l(e, t) : l(t) : l(e);
}

@@ -729,3 +729,3 @@ o(ot, "generateDefault");

if (!T(t))
return u(t);
return l(t);
}

@@ -741,3 +741,3 @@ return null;

let r = e.name;
return t || (r = r.replace(" | undefined", "")), u(
return t || (r = r.replace(" | undefined", "")), l(
["Array", "Record", "signature"].includes(e.name) ? e.raw : r

@@ -749,3 +749,3 @@ );

// src/docs-tools/argTypes/docgen/typeScript/createPropDef.ts
var ue = /* @__PURE__ */ o((e, t) => {
var le = /* @__PURE__ */ o((e, t) => {
let { description: r, required: n } = t;

@@ -763,3 +763,3 @@ return {

function nt(e) {
return e != null ? u(e.name) : null;
return e != null ? l(e.name) : null;
}

@@ -782,3 +782,3 @@ o(nt, "createType");

if (!T(r))
return st(e) && it(t) ? u(JSON.stringify(r)) : u(r);
return st(e) && it(t) ? l(JSON.stringify(r)) : l(r);
}

@@ -788,3 +788,3 @@ return null;

o(pt, "createDefaultValue");
function le(e, t, r) {
function ue(e, t, r) {
let { description: n, required: s, defaultValue: i } = r;

@@ -799,3 +799,3 @@ return {

}
o(le, "createBasicPropDef");
o(ue, "createBasicPropDef");
function w(e, t) {

@@ -820,12 +820,12 @@ if (t?.includesJsDoc) {

var at = /* @__PURE__ */ o((e, t, r) => {
let n = le(e, t.type, t);
let n = ue(e, t.type, t);
return n.sbType = b(t), w(n, r);
}, "javaScriptFactory"), ct = /* @__PURE__ */ o((e, t, r) => {
let n = ue(e, t);
let n = le(e, t);
return n.sbType = b(t), w(n, r);
}, "tsFactory"), ut = /* @__PURE__ */ o((e, t, r) => {
}, "tsFactory"), lt = /* @__PURE__ */ o((e, t, r) => {
let n = pe(e, t);
return n.sbType = b(t), w(n, r);
}, "flowFactory"), lt = /* @__PURE__ */ o((e, t, r) => {
let n = le(e, { name: "unknown" }, t);
}, "flowFactory"), ut = /* @__PURE__ */ o((e, t, r) => {
let n = ue(e, { name: "unknown" }, t);
return w(n, r);

@@ -839,5 +839,5 @@ }, "unknownFactory"), I = /* @__PURE__ */ o((e) => {

case "Flow":
return lt;
default:
return ut;
default:
return lt;
}

@@ -913,3 +913,3 @@ }, "getPropDefFactory");

b as convert,
u as createSummaryValue,
l as createSummaryValue,
cn as enhanceArgTypes,

@@ -916,0 +916,0 @@ nn as extractComponentDescription,

@@ -5,3 +5,3 @@ 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_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, 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';
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';

@@ -26,3 +26,3 @@ import { ThemeVars } from '@storybook/core/theming';

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

@@ -35,3 +35,3 @@ * Adds an addon to the addon store.

*/
add(id: string, addon: Addon_BaseType | Omit<Addon_SidebarTopType, 'id'> | Omit<Addon_SidebarBottomType, 'id'> | Omit<Addon_PageType, 'id'> | Omit<Addon_WrapperType, 'id'>): void;
add(id: string, addon: Addon_BaseType | Omit<Addon_SidebarTopType, 'id'> | Omit<Addon_SidebarBottomType, 'id'> | Omit<Addon_TestProviderType, 'id'> | Omit<Addon_PageType, 'id'> | Omit<Addon_WrapperType, 'id'>): void;
setConfig: (value: Addon_Config) => void;

@@ -758,5 +758,6 @@ getConfig: () => Addon_Config;

* @param {QueryParams} input - An object containing the query parameters to set.
* @param {NavigateOptions} options - Options for the navigation.
* @returns {void}
*/
applyQueryParams: (input: QueryParams) => void;
applyQueryParams: (input: QueryParams, options?: NavigateOptions) => void;
}

@@ -763,0 +764,0 @@

@@ -221,3 +221,5 @@ import ESM_COMPAT_Module from "node:module";

"PinIcon",
"PlayAllHollowIcon",
"PlayBackIcon",
"PlayHollowIcon",
"PlayIcon",

@@ -243,2 +245,3 @@ "PlayNextIcon",

"RulerIcon",
"SaveIcon",
"SearchIcon",

@@ -261,2 +264,3 @@ "ShareAltIcon",

"StickerIcon",
"StopAltHollowIcon",
"StopAltIcon",

@@ -813,2 +817,9 @@ "StopIcon",

"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",

@@ -871,2 +882,9 @@ "UNHANDLED_ERRORS_WHILE_PLAYING",

"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",

@@ -929,2 +947,9 @@ "UNHANDLED_ERRORS_WHILE_PLAYING",

"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",

@@ -931,0 +956,0 @@ "UNHANDLED_ERRORS_WHILE_PLAYING",

@@ -20,3 +20,3 @@ var $t = Object.create;

};
var Ie = (e, t, r) => (r = e != null ? $t(Jt(e)) : {}, Yt(
var Me = (e, t, r) => (r = e != null ? $t(Jt(e)) : {}, Yt(
// If the importer is in node compatibility mode or this is not an ESM

@@ -842,10 +842,10 @@ // file that has been converted to a CommonJS file using a Babel-

// ../node_modules/picoquery/lib/parse.js
var vt = V((M) => {
var vt = V((I) => {
"use strict";
var pr = M && M.__importDefault || function(e) {
var pr = I && I.__importDefault || function(e) {
return e && e.__esModule ? e : { default: e };
};
Object.defineProperty(M, "__esModule", { value: !0 });
M.numberValueDeserializer = M.numberKeyDeserializer = void 0;
M.parse = mr;
Object.defineProperty(I, "__esModule", { value: !0 });
I.numberValueDeserializer = I.numberKeyDeserializer = void 0;
I.parse = mr;
var se = Ne(), F = ae(), mt = pr(dt()), hr = /* @__PURE__ */ a((e) => {

@@ -855,3 +855,3 @@ let t = Number(e);

}, "numberKeyDeserializer");
M.numberKeyDeserializer = hr;
I.numberKeyDeserializer = hr;
var dr = /* @__PURE__ */ a((e) => {

@@ -861,3 +861,3 @@ let t = Number(e);

}, "numberValueDeserializer");
M.numberValueDeserializer = dr;
I.numberValueDeserializer = dr;
var gt = /\+/g, yt = /* @__PURE__ */ a(function() {

@@ -967,3 +967,3 @@ }, "Empty");

// ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
var Me = "[object RegExp]", Ve = "[object String]", Be = "[object Number]", ze = "[object Boolean]", ve = "[object Arguments]", We = "[objec\
var Ie = "[object RegExp]", Ve = "[object String]", Be = "[object Number]", ze = "[object Boolean]", ve = "[object Arguments]", We = "[objec\
t Symbol]", Fe = "[object Date]", qe = "[object Map]", Ue = "[object Set]", $e = "[object Array]", He = "[object Function]", Ke = "[object A\

@@ -1001,8 +1001,8 @@ rrayBuffer]", oe = "[object Object]", Je = "[object Error]", Qe = "[object DataView]", Ye = "[object Uint8Array]", Xe = "[object Uint8Clampe\

case "object":
return I(e, t);
return M(e, t);
}
return I(e, t);
return M(e, t);
}
a(Oe, "isEqual");
function I(e, t, r) {
function M(e, t, r) {
if (Object.is(e, t))

@@ -1024,3 +1024,3 @@ return !0;

return Object.is(e.valueOf(), t.valueOf());
case Me:
case Ie:
return e.source === t.source && e.flags === t.flags;

@@ -1041,3 +1041,3 @@ case He:

for (let [s, l] of e.entries())
if (!t.has(s) || !I(l, t.get(s), r))
if (!t.has(s) || !M(l, t.get(s), r))
return !1;

@@ -1051,3 +1051,3 @@ return !0;

for (let f = 0; f < s.length; f++) {
let u = s[f], p = l.findIndex((h) => I(u, h, r));
let u = s[f], p = l.findIndex((h) => M(u, h, r));
if (p === -1)

@@ -1074,3 +1074,3 @@ return !1;

for (let s = 0; s < e.length; s++)
if (!I(e[s], t[s], r))
if (!M(e[s], t[s], r))
return !1;

@@ -1080,9 +1080,9 @@ return !0;

case Ke:
return e.byteLength !== t.byteLength ? !1 : I(new Uint8Array(e), new Uint8Array(t), r);
return e.byteLength !== t.byteLength ? !1 : M(new Uint8Array(e), new Uint8Array(t), r);
case Qe:
return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : I(e.buffer, t.buffer, r);
return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : M(e.buffer, t.buffer, r);
case Je:
return e.name === t.name && e.message === t.message;
case oe: {
if (!(I(e.constructor, t.constructor, r) || k(e) && k(t)))
if (!(M(e.constructor, t.constructor, r) || k(e) && k(t)))
return !1;

@@ -1097,3 +1097,3 @@ let l = [...Object.keys(e), ...xe(e)], f = [...Object.keys(t), ...xe(t)];

let m = t[p];
if (!I(h, m, r))
if (!M(h, m, r))
return !1;

@@ -1110,6 +1110,6 @@ }

}
a(I, "areObjectsEqual");
a(M, "areObjectsEqual");
// src/router/utils.ts
var ue = Ie(lt(), 1), J = Ie(bt(), 1);
var ue = Me(lt(), 1), J = Me(bt(), 1);

@@ -1212,3 +1212,3 @@ // ../node_modules/ts-dedent/esm/index.js

More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
`), o), {});

@@ -1513,3 +1513,3 @@ return (0, J.stringify)(De(n), {

Z() && pe(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = Mr(t), l = Te(() => ({
let s = Ir(t), l = Te(() => ({
basename: s,

@@ -1527,3 +1527,3 @@ navigator: i,

} = n, g = Te(() => {
let d = Ir(f, s);
let d = Mr(f, s);
return d == null ? null : {

@@ -1612,3 +1612,3 @@ pathname: d,

}
let f = Mt(s, JSON.parse(o), n);
let f = It(s, JSON.parse(o), n);
e !== "/" && (f.pathname = Vt([e, f.pathname])), (l.replace ? t.replace : t.push)(f, l.state);

@@ -1624,6 +1624,6 @@ }, [e, t, o, n]);

} = z(), n = JSON.stringify(t.map((o) => o.pathnameBase));
return Te(() => Mt(e, JSON.parse(n), r), [e, n, r]);
return Te(() => It(e, JSON.parse(n), r), [e, n, r]);
}
a(te, "useResolvedPath");
function It(e, t) {
function Mt(e, t) {
t === void 0 && (t = "/");

@@ -1641,3 +1641,3 @@ let {

}
a(It, "resolvePath");
a(Mt, "resolvePath");
function Cr(e, t) {

@@ -1650,3 +1650,3 @@ let r = t.replace(/\/+$/, "").split("/");

a(Cr, "resolvePathname");
function Mt(e, t, r) {
function It(e, t, r) {
let n = typeof e == "string" ? U(e) : e, o = e === "" || n.pathname === "" ? "/" : n.pathname, i;

@@ -1665,6 +1665,6 @@ if (o == null)

}
let c = It(n, i);
let c = Mt(n, i);
return o && o !== "/" && o.endsWith("/") && !c.pathname.endsWith("/") && (c.pathname += "/"), c;
}
a(Mt, "resolveTo");
a(It, "resolveTo");
function kr(e) {

@@ -1674,3 +1674,3 @@ return e === "" || e.pathname === "" ? "/" : typeof e == "string" ? U(e).pathname : e.pathname;

a(kr, "getToPathname");
function Ir(e, t) {
function Mr(e, t) {
if (t === "/") return e;

@@ -1682,4 +1682,4 @@ if (!e.toLowerCase().startsWith(t.toLowerCase()))

}
a(Ir, "stripBasename");
var Vt = /* @__PURE__ */ a((e) => e.join("/").replace(/\/\/+/g, "/"), "joinPaths"), Mr = /* @__PURE__ */ a((e) => e.replace(/\/+$/, "").replace(
a(Mr, "stripBasename");
var Vt = /* @__PURE__ */ a((e) => e.join("/").replace(/\/\/+/g, "/"), "joinPaths"), Ir = /* @__PURE__ */ a((e) => e.replace(/\/+$/, "").replace(
/^\/*/, "/"), "normalizePathname"), Vr = /* @__PURE__ */ a((e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, "normalizeSearch"),

@@ -1686,0 +1686,0 @@ Br = /* @__PURE__ */ a((e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, "normalizeHash");

@@ -275,3 +275,3 @@ import ESM_COMPAT_Module from "node:module";

code: 1,
documentation: "https://storybook.js.org/docs/react/configure/images-and-assets#serving-static-files-via-storybook-configuration",
documentation: "https://storybook.js.org/docs/configure/integration/images-and-assets#serving-static-files-via-storybook-configuration",
message: i.dedent`

@@ -293,3 +293,3 @@ Storybook encountered a conflict when trying to serve statics. You have configured both:

code: 4,
documentation: "https://storybook.js.org/docs/react/faq#can-i-have-a-storybook-with-no-local-stories",
documentation: "https://storybook.js.org/docs/faq#can-i-have-a-storybook-with-no-local-stories",
message: i.dedent`

@@ -312,3 +312,3 @@ Storybook could not index your stories.

"https://webpack.js.org/configuration/stats/",
"https://storybook.js.org/docs/react/builders/webpack#configure"
"https://storybook.js.org/docs/builders/webpack#configure"
],

@@ -364,3 +364,3 @@ message: i.dedent`

code: 2,
documentation: "https://storybook.js.org/docs/angular/faq#error-no-angularjson-file-found",
documentation: "https://storybook.js.org/docs/faq#error-no-angularjson-file-found",
message: i.dedent`

@@ -367,0 +367,0 @@ An angular.json file was not found in the current working directory: ${o.path}

@@ -15,3 +15,3 @@ import { TypescriptOptions, StorybookConfig, PackageJson } from '@storybook/core/types';

type EventType = 'boot' | 'dev' | 'build' | 'upgrade' | 'init' | 'scaffolded-empty' | 'browser' | 'canceled' | 'error' | 'error-metadata' | 'version-update' | 'core-config' | 'remove' | 'save-story' | 'create-new-story-file' | 'create-new-story-file-search';
type EventType = 'boot' | 'dev' | 'build' | 'upgrade' | 'init' | 'scaffolded-empty' | 'browser' | 'canceled' | 'error' | 'error-metadata' | 'version-update' | 'core-config' | 'remove' | 'save-story' | 'create-new-story-file' | 'create-new-story-file-search' | 'testing-module-watch-mode' | 'testing-module-completed-report' | 'testing-module-crash-report';
interface Dependency {

@@ -18,0 +18,0 @@ version: string | undefined;

// src/types/modules/addons.ts
var r = /* @__PURE__ */ ((e) => (e.TAB = "tab", e.PANEL = "panel", e.TOOL = "tool", e.TOOLEXTRA = "toolextra", e.PREVIEW = "preview", e.experimental_PAGE =
"page", e.experimental_SIDEBAR_BOTTOM = "sidebar-bottom", e.experimental_SIDEBAR_TOP = "sidebar-top", e))(r || {});
"page", e.experimental_SIDEBAR_BOTTOM = "sidebar-bottom", e.experimental_SIDEBAR_TOP = "sidebar-top", e.experimental_TEST_PROVIDER = "test-p\
rovider", e))(r || {});
export {
r as Addon_TypesEnum
};
{
"name": "@storybook/core",
"version": "0.0.0-pr-29256-sha-cd1d83f5",
"version": "0.0.0-pr-29267-sha-d499768c",
"description": "Storybook framework-agnostic API",

@@ -281,3 +281,2 @@ "keywords": [

"@storybook/csf": "^0.1.11",
"@types/express": "^4.17.21",
"better-opn": "^3.0.2",

@@ -287,3 +286,2 @@ "browser-assert": "^1.2.1",

"esbuild-register": "^3.5.0",
"express": "^4.19.2",
"jsdoc-type-pratt-parser": "^4.0.0",

@@ -312,2 +310,3 @@ "process": "^0.11.10",

"@ndelangen/get-tarball": "^3.0.7",
"@polka/compression": "^1.0.0-next.28",
"@popperjs/core": "^2.6.0",

@@ -319,6 +318,5 @@ "@radix-ui/react-dialog": "^1.0.5",

"@storybook/global": "^5.0.0",
"@storybook/icons": "^1.2.10",
"@storybook/icons": "^1.2.12",
"@tanstack/react-virtual": "^3.3.0",
"@testing-library/react": "^14.0.0",
"@types/compression": "^1.7.0",
"@types/cross-spawn": "^6.0.2",

@@ -349,7 +347,5 @@ "@types/detect-port": "^1.3.0",

"camelcase": "^8.0.0",
"chai": "^4.4.1",
"cli-table3": "^0.6.1",
"commander": "^12.1.0",
"comment-parser": "^1.4.1",
"compression": "^1.7.4",
"copy-to-clipboard": "^3.3.1",

@@ -366,7 +362,6 @@ "cross-spawn": "^7.0.3",

"ejs": "^3.1.10",
"es-toolkit": "^1.21.0",
"es-toolkit": "^1.22.0",
"esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0",
"esbuild-plugin-alias": "^0.2.1",
"execa": "^8.0.1",
"express": "^4.19.2",
"fd-package-json": "^1.2.0",

@@ -395,2 +390,3 @@ "fetch-retry": "^6.0.0",

"polished": "^4.2.2",
"polka": "^1.0.0-next.28",
"prettier": "^3.2.5",

@@ -411,2 +407,3 @@ "pretty-hrtime": "^1.0.3",

"resolve-from": "^5.0.0",
"sirv": "^2.0.4",
"slash": "^5.0.0",

@@ -413,0 +410,0 @@ "source-map": "^0.7.4",

Sorry, the diff of this file is not supported yet

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 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 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 not supported yet

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 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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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