storybook 10.1.0-alpha.1 → 10.1.0-alpha.3

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.
Files changed (74) hide show
  1. package/dist/_browser-chunks/{chunk-I74EUU5O.js → chunk-B3S3ROIP.js} +2 -1
  2. package/dist/_node-chunks/{builder-manager-6UBDPV7P.js → builder-manager-GBWCUYRR.js} +12 -12
  3. package/dist/_node-chunks/camelcase-2N6MD2HZ.js +18 -0
  4. package/dist/_node-chunks/{chunk-QNUGJO6L.js → chunk-2JHIUWIN.js} +7 -7
  5. package/dist/_node-chunks/{chunk-TXHNWNH4.js → chunk-5KDXQR2J.js} +7 -7
  6. package/dist/_node-chunks/{chunk-WNOSTIYP.js → chunk-5X7FGASE.js} +7 -7
  7. package/dist/_node-chunks/{chunk-BYVQZ2HU.js → chunk-6U2QTN2E.js} +7 -7
  8. package/dist/_node-chunks/{chunk-X67VGZN4.js → chunk-APKZWRTX.js} +7 -7
  9. package/dist/_node-chunks/{chunk-3FPF5Y2F.js → chunk-AX2PCJZ2.js} +6 -6
  10. package/dist/_node-chunks/{chunk-7TNUMFKR.js → chunk-B63HGQAB.js} +9 -9
  11. package/dist/_node-chunks/{chunk-6GD23U64.js → chunk-BNO5FB6B.js} +8 -8
  12. package/dist/_node-chunks/{chunk-3JCSHYSU.js → chunk-C4UVY6FF.js} +7 -7
  13. package/dist/_node-chunks/{chunk-J7N7PD5Q.js → chunk-CKXP5RYA.js} +9 -9
  14. package/dist/_node-chunks/chunk-D3NGJQDZ.js +18 -0
  15. package/dist/_node-chunks/{chunk-5SEHHENC.js → chunk-FJWQKOXX.js} +10 -10
  16. package/dist/_node-chunks/{chunk-HORWITP7.js → chunk-GMO24NTJ.js} +7 -7
  17. package/dist/_node-chunks/{chunk-BCDHUXAJ.js → chunk-HH57J4TX.js} +8 -8
  18. package/dist/_node-chunks/{chunk-VYRFXLRO.js → chunk-JKWP2FKQ.js} +7 -7
  19. package/dist/_node-chunks/chunk-LPNJ7PJY.js +61 -0
  20. package/dist/_node-chunks/{chunk-ULWNTI6M.js → chunk-MDXYV4OF.js} +15 -15
  21. package/dist/_node-chunks/{chunk-II4AFH3V.js → chunk-MPUDYIDW.js} +7 -7
  22. package/dist/_node-chunks/{chunk-GD2FXWDF.js → chunk-N7XYNLCJ.js} +7 -7
  23. package/dist/_node-chunks/{chunk-SCTKVDWR.js → chunk-NCHBSJG3.js} +1467 -148
  24. package/dist/_node-chunks/{chunk-RVE4UTVQ.js → chunk-NTH76OZA.js} +12 -12
  25. package/dist/_node-chunks/{chunk-DAMVKHAC.js → chunk-NTX43F34.js} +7 -7
  26. package/dist/_node-chunks/{chunk-MF2PUEWG.js → chunk-NYXHMPY4.js} +7 -7
  27. package/dist/_node-chunks/{chunk-FEOC7OX2.js → chunk-RLMJDF6S.js} +8 -8
  28. package/dist/_node-chunks/{chunk-TUFWZUTO.js → chunk-S32G4TCP.js} +7 -7
  29. package/dist/_node-chunks/{chunk-XW7YMR7I.js → chunk-SQAKXWVV.js} +7 -7
  30. package/dist/_node-chunks/{chunk-XCEBYOA4.js → chunk-T7KB265F.js} +6 -6
  31. package/dist/_node-chunks/{chunk-LAU7VVPC.js → chunk-TDLKTACT.js} +7 -7
  32. package/dist/_node-chunks/{chunk-6OAXYS5T.js → chunk-TSKLBMF3.js} +8 -8
  33. package/dist/_node-chunks/{chunk-4GE6Q4MX.js → chunk-TZ7GUTJ4.js} +7 -7
  34. package/dist/_node-chunks/{chunk-CJHAP7SE.js → chunk-YFBIEJ33.js} +7 -7
  35. package/dist/_node-chunks/{chunk-FY7XZPLY.js → chunk-YJJWZPL7.js} +39 -24
  36. package/dist/_node-chunks/{chunk-2RIKHYCS.js → chunk-ZQY3BNST.js} +12 -12
  37. package/dist/_node-chunks/{dist-APCKHSY3.js → dist-SQENNWFY.js} +9 -9
  38. package/dist/_node-chunks/{globby-TSGXGDA2.js → globby-CVPDLQ5Z.js} +9 -9
  39. package/dist/_node-chunks/{lib-DZ5TVIU5.js → lib-4BTTMYE2.js} +7 -7
  40. package/dist/_node-chunks/{mdx-N42X6CFJ-Z6BYQCPN.js → mdx-N42X6CFJ-ENVHI6CC.js} +8 -8
  41. package/dist/_node-chunks/{p-limit-MLJNGG2K.js → p-limit-I2XW6GST.js} +7 -7
  42. package/dist/_node-chunks/{plugin-J3JI3ZKJ.js → plugin-4NIE24IO.js} +10 -10
  43. package/dist/_node-chunks/{plugin-HJLCLGNT.js → plugin-O5PHZ367.js} +10 -10
  44. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-3QHNTM5B.js → webpack-inject-mocker-runtime-plugin-SVBN7WFH.js} +10 -10
  45. package/dist/_node-chunks/{webpack-mock-plugin-4Y3MWPJ6.js → webpack-mock-plugin-XBV3VXVD.js} +9 -9
  46. package/dist/babel/index.js +11 -11
  47. package/dist/bin/core.js +11 -11
  48. package/dist/bin/dispatcher.js +11 -11
  49. package/dist/bin/loader.js +9 -9
  50. package/dist/cli/index.js +21 -21
  51. package/dist/common/index.d.ts +210 -3
  52. package/dist/common/index.js +28 -20
  53. package/dist/components/index.js +1 -1
  54. package/dist/core-server/index.js +766 -52
  55. package/dist/core-server/presets/common-manager.js +1 -1
  56. package/dist/core-server/presets/common-override-preset.js +9 -9
  57. package/dist/core-server/presets/common-preset.js +23 -23
  58. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  59. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  60. package/dist/csf-tools/index.d.ts +8 -4
  61. package/dist/csf-tools/index.js +9 -9
  62. package/dist/manager/globals-runtime.js +5 -4
  63. package/dist/manager-api/index.js +1 -1
  64. package/dist/node-logger/index.js +14 -14
  65. package/dist/preview/runtime.js +2 -2
  66. package/dist/preview-api/index.d.ts +67 -68
  67. package/dist/server-errors.js +10 -10
  68. package/dist/telemetry/index.js +24 -24
  69. package/dist/test/index.js +2 -2
  70. package/dist/types/index.d.ts +47 -5
  71. package/package.json +2 -1
  72. package/dist/_node-chunks/camelcase-WKJOVNPM.js +0 -18
  73. package/dist/_node-chunks/chunk-HM6B7FE5.js +0 -18
  74. package/dist/_node-chunks/chunk-ZRFYQ46H.js +0 -61
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_in4hyfgp7kn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_in4hyfgp7kn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_in4hyfgp7kn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_in4hyfgp7kn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_in4hyfgp7kn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_in4hyfgp7kn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -39,10 +39,10 @@ import {
39
39
  WebpackCompilationError,
40
40
  WebpackInvocationError,
41
41
  WebpackMissingStatsError
42
- } from "./_node-chunks/chunk-J7N7PD5Q.js";
43
- import "./_node-chunks/chunk-TUFWZUTO.js";
44
- import "./_node-chunks/chunk-QNUGJO6L.js";
45
- import "./_node-chunks/chunk-XCEBYOA4.js";
42
+ } from "./_node-chunks/chunk-CKXP5RYA.js";
43
+ import "./_node-chunks/chunk-S32G4TCP.js";
44
+ import "./_node-chunks/chunk-2JHIUWIN.js";
45
+ import "./_node-chunks/chunk-T7KB265F.js";
46
46
  export {
47
47
  AngularLegacyBuildOptionsError,
48
48
  Category,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_in4hyfgp7kn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_in4hyfgp7kn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_in4hyfgp7kn from "node:module";
1
+ import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_in4hyfgp7kn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_in4hyfgp7kn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_in4hyfgp7kn.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -21,26 +21,26 @@ import {
21
21
  sanitizeAddonName,
22
22
  sanitizeError,
23
23
  telemetry
24
- } from "../_node-chunks/chunk-ULWNTI6M.js";
25
- import "../_node-chunks/chunk-HM6B7FE5.js";
26
- import "../_node-chunks/chunk-SCTKVDWR.js";
27
- import "../_node-chunks/chunk-4GE6Q4MX.js";
28
- import "../_node-chunks/chunk-ZRFYQ46H.js";
29
- import "../_node-chunks/chunk-BCDHUXAJ.js";
30
- import "../_node-chunks/chunk-7TNUMFKR.js";
31
- import "../_node-chunks/chunk-TXHNWNH4.js";
24
+ } from "../_node-chunks/chunk-MDXYV4OF.js";
25
+ import "../_node-chunks/chunk-D3NGJQDZ.js";
26
+ import "../_node-chunks/chunk-NCHBSJG3.js";
27
+ import "../_node-chunks/chunk-TZ7GUTJ4.js";
28
+ import "../_node-chunks/chunk-LPNJ7PJY.js";
29
+ import "../_node-chunks/chunk-HH57J4TX.js";
30
+ import "../_node-chunks/chunk-B63HGQAB.js";
31
+ import "../_node-chunks/chunk-5KDXQR2J.js";
32
32
  import {
33
33
  getPrecedingUpgrade
34
- } from "../_node-chunks/chunk-XW7YMR7I.js";
35
- import "../_node-chunks/chunk-WNOSTIYP.js";
36
- import "../_node-chunks/chunk-6OAXYS5T.js";
37
- import "../_node-chunks/chunk-BYVQZ2HU.js";
38
- import "../_node-chunks/chunk-MF2PUEWG.js";
39
- import "../_node-chunks/chunk-VYRFXLRO.js";
40
- import "../_node-chunks/chunk-II4AFH3V.js";
41
- import "../_node-chunks/chunk-TUFWZUTO.js";
42
- import "../_node-chunks/chunk-QNUGJO6L.js";
43
- import "../_node-chunks/chunk-XCEBYOA4.js";
34
+ } from "../_node-chunks/chunk-SQAKXWVV.js";
35
+ import "../_node-chunks/chunk-5X7FGASE.js";
36
+ import "../_node-chunks/chunk-TSKLBMF3.js";
37
+ import "../_node-chunks/chunk-6U2QTN2E.js";
38
+ import "../_node-chunks/chunk-NYXHMPY4.js";
39
+ import "../_node-chunks/chunk-JKWP2FKQ.js";
40
+ import "../_node-chunks/chunk-MPUDYIDW.js";
41
+ import "../_node-chunks/chunk-S32G4TCP.js";
42
+ import "../_node-chunks/chunk-2JHIUWIN.js";
43
+ import "../_node-chunks/chunk-T7KB265F.js";
44
44
  export {
45
45
  addToGlobalContext,
46
46
  cleanPaths,
@@ -37,9 +37,9 @@ var require_min_indent = __commonJS({
37
37
  }
38
38
  });
39
39
 
40
- // ../node_modules/strip-indent/index.js
40
+ // ../node_modules/redent/node_modules/strip-indent/index.js
41
41
  var require_strip_indent = __commonJS({
42
- "../node_modules/strip-indent/index.js"(exports, module2) {
42
+ "../node_modules/redent/node_modules/strip-indent/index.js"(exports, module2) {
43
43
  "use strict";
44
44
  var minIndent = require_min_indent();
45
45
  module2.exports = (string) => {
@@ -6,6 +6,8 @@ import { Globals, GlobalTypes, API_Layout as API_Layout$1, API_LayoutCustomisati
6
6
  import { ThemeVars as ThemeVars$1 } from 'storybook/theming';
7
7
  import { WhatsNewData } from 'storybook/internal/core-events';
8
8
  import { FileSystemCache } from 'storybook/internal/common';
9
+ import { StoryIndexGenerator } from 'storybook/internal/core-server';
10
+ import { CsfFile } from 'storybook/internal/csf-tools';
9
11
  import { Server, IncomingMessage, ServerResponse } from 'http';
10
12
  import { Server as Server$1 } from 'net';
11
13
  import { Channel as Channel$1 } from 'storybook/internal/channels';
@@ -2214,6 +2216,8 @@ interface Presets {
2214
2216
  apply(extension: 'typescript', config?: StorybookConfigRaw['typescript'], args?: any): Promise<NonNullable<StorybookConfigRaw['typescript']>>;
2215
2217
  apply(extension: 'build', config?: StorybookConfigRaw['build'], args?: any): Promise<NonNullable<StorybookConfigRaw['build']>>;
2216
2218
  apply(extension: 'staticDirs', config?: StorybookConfigRaw['staticDirs'], args?: any): Promise<StorybookConfigRaw['staticDirs']>;
2219
+ /** The second and third parameter are not needed. And make type inference easier. */
2220
+ apply<T extends keyof StorybookConfigRaw>(extension: T): Promise<StorybookConfigRaw[T]>;
2217
2221
  apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
2218
2222
  }
2219
2223
  interface LoadedPreset {
@@ -2410,10 +2414,33 @@ interface TagOptions {
2410
2414
  excludeFromDocsStories: boolean;
2411
2415
  }
2412
2416
  type TagsOptions = Record<Tag, Partial<TagOptions>>;
2413
- /**
2414
- * The interface for Storybook configuration used internally in presets The difference is that these
2415
- * values are the raw values, AKA, not wrapped with `PresetValue<>`
2416
- */
2417
+ interface ComponentManifest {
2418
+ id: string;
2419
+ path: string;
2420
+ name: string;
2421
+ description?: string;
2422
+ import?: string;
2423
+ summary?: string;
2424
+ examples: {
2425
+ name: string;
2426
+ snippet?: string;
2427
+ error?: {
2428
+ name: string;
2429
+ message: string;
2430
+ };
2431
+ }[];
2432
+ jsDocTags: Record<string, string[]>;
2433
+ error?: {
2434
+ name: string;
2435
+ message: string;
2436
+ };
2437
+ }
2438
+ interface ComponentsManifest {
2439
+ v: number;
2440
+ components: Record<string, ComponentManifest>;
2441
+ }
2442
+ type ComponentManifestGenerator = (storyIndexGenerator: StoryIndexGenerator) => Promise<ComponentsManifest>;
2443
+ type CsfEnricher = (csf: CsfFile, csfSource: CsfFile) => Promise<void>;
2417
2444
  interface StorybookConfigRaw {
2418
2445
  /**
2419
2446
  * Sets the addons you want to use with Storybook.
@@ -2427,6 +2454,8 @@ interface StorybookConfigRaw {
2427
2454
  */
2428
2455
  addons?: Preset[];
2429
2456
  core?: CoreConfig;
2457
+ componentManifestGenerator?: ComponentManifestGenerator;
2458
+ experimental_enrichCsf?: CsfEnricher;
2430
2459
  staticDirs?: (DirectoryMapping | string)[];
2431
2460
  logLevel?: string;
2432
2461
  features?: {
@@ -2512,6 +2541,19 @@ interface StorybookConfigRaw {
2512
2541
  developmentModeForBuild?: boolean;
2513
2542
  /** Only show input controls in Angular */
2514
2543
  angularFilterNonInputControls?: boolean;
2544
+ experimentalComponentsManifest?: boolean;
2545
+ /**
2546
+ * Enables the new code example generation for React components. You can see those examples when
2547
+ * clicking on the "Show code" button in the Storybook UI.
2548
+ *
2549
+ * We refactored the code examples by reading the actual source file. This should make the code
2550
+ * examples a lot faster, more readable and more accurate. They are not dynamic though, it won't
2551
+ * change if you change when using the control panel.
2552
+ *
2553
+ * @default false
2554
+ * @experimental This feature is in early development and may change significantly in future releases.
2555
+ */
2556
+ experimentalCodeExamples?: boolean;
2515
2557
  };
2516
2558
  build?: TestBuildConfig;
2517
2559
  stories: StoriesEntry[];
@@ -3614,4 +3656,4 @@ type SupportedFrameworks = 'angular' | 'ember' | 'html-vite' | 'nextjs' | 'nextj
3614
3656
 
3615
3657
  type SupportedRenderers = 'react' | 'react-native' | 'vue3' | 'angular' | 'ember' | 'preact' | 'svelte' | 'qwik' | 'html' | 'web-components' | 'server' | 'solid' | 'nuxt';
3616
3658
 
3617
- export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LayoutCustomisations, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_TestEntry, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type ServerApp, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type StorybookTypes, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };
3659
+ export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LayoutCustomisations, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_TestEntry, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComponentManifest, type ComponentManifestGenerator, type ComponentsManifest, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type CsfEnricher, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type ServerApp, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type StorybookTypes, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook",
3
- "version": "10.1.0-alpha.1",
3
+ "version": "10.1.0-alpha.3",
4
4
  "description": "Storybook: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -314,6 +314,7 @@
314
314
  "react-textarea-autosize": "^8.3.0",
315
315
  "react-transition-group": "^4.4.5",
316
316
  "require-from-string": "^2.0.2",
317
+ "resolve": "^1.22.11",
317
318
  "resolve.exports": "^2.0.3",
318
319
  "sirv": "^2.0.4",
319
320
  "slash": "^5.0.0",
@@ -1,18 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_in4hyfgp7kn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_in4hyfgp7kn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_in4hyfgp7kn from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_in4hyfgp7kn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_in4hyfgp7kn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_in4hyfgp7kn.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- camelCase
14
- } from "./chunk-DAMVKHAC.js";
15
- import "./chunk-XCEBYOA4.js";
16
- export {
17
- camelCase as default
18
- };
@@ -1,18 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_in4hyfgp7kn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_in4hyfgp7kn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_in4hyfgp7kn from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_in4hyfgp7kn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_in4hyfgp7kn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_in4hyfgp7kn.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // package.json
14
- var version = "10.1.0-alpha.1";
15
-
16
- export {
17
- version
18
- };
@@ -1,61 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_in4hyfgp7kn from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_in4hyfgp7kn from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_in4hyfgp7kn from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_in4hyfgp7kn.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_in4hyfgp7kn.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_in4hyfgp7kn.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/common/versions.ts
14
- var versions_default = {
15
- "@storybook/addon-a11y": "10.1.0-alpha.1",
16
- "@storybook/addon-docs": "10.1.0-alpha.1",
17
- "@storybook/addon-links": "10.1.0-alpha.1",
18
- "@storybook/addon-onboarding": "10.1.0-alpha.1",
19
- "storybook-addon-pseudo-states": "10.1.0-alpha.1",
20
- "@storybook/addon-themes": "10.1.0-alpha.1",
21
- "@storybook/addon-vitest": "10.1.0-alpha.1",
22
- "@storybook/builder-vite": "10.1.0-alpha.1",
23
- "@storybook/builder-webpack5": "10.1.0-alpha.1",
24
- storybook: "10.1.0-alpha.1",
25
- "@storybook/angular": "10.1.0-alpha.1",
26
- "@storybook/ember": "10.1.0-alpha.1",
27
- "@storybook/html-vite": "10.1.0-alpha.1",
28
- "@storybook/nextjs": "10.1.0-alpha.1",
29
- "@storybook/nextjs-vite": "10.1.0-alpha.1",
30
- "@storybook/preact-vite": "10.1.0-alpha.1",
31
- "@storybook/react-native-web-vite": "10.1.0-alpha.1",
32
- "@storybook/react-vite": "10.1.0-alpha.1",
33
- "@storybook/react-webpack5": "10.1.0-alpha.1",
34
- "@storybook/server-webpack5": "10.1.0-alpha.1",
35
- "@storybook/svelte-vite": "10.1.0-alpha.1",
36
- "@storybook/sveltekit": "10.1.0-alpha.1",
37
- "@storybook/vue3-vite": "10.1.0-alpha.1",
38
- "@storybook/web-components-vite": "10.1.0-alpha.1",
39
- sb: "10.1.0-alpha.1",
40
- "@storybook/cli": "10.1.0-alpha.1",
41
- "@storybook/codemod": "10.1.0-alpha.1",
42
- "@storybook/core-webpack": "10.1.0-alpha.1",
43
- "create-storybook": "10.1.0-alpha.1",
44
- "@storybook/csf-plugin": "10.1.0-alpha.1",
45
- "eslint-plugin-storybook": "10.1.0-alpha.1",
46
- "@storybook/react-dom-shim": "10.1.0-alpha.1",
47
- "@storybook/preset-create-react-app": "10.1.0-alpha.1",
48
- "@storybook/preset-react-webpack": "10.1.0-alpha.1",
49
- "@storybook/preset-server-webpack": "10.1.0-alpha.1",
50
- "@storybook/html": "10.1.0-alpha.1",
51
- "@storybook/preact": "10.1.0-alpha.1",
52
- "@storybook/react": "10.1.0-alpha.1",
53
- "@storybook/server": "10.1.0-alpha.1",
54
- "@storybook/svelte": "10.1.0-alpha.1",
55
- "@storybook/vue3": "10.1.0-alpha.1",
56
- "@storybook/web-components": "10.1.0-alpha.1"
57
- };
58
-
59
- export {
60
- versions_default
61
- };