PackageTrack

npm · #3977

@storybook/types

8.6.18storybookjs/storybook

Core Storybook TS Types

Release timeline

1058 releases since 2022
2023202420252026

Releases

  1. 8.5.0-alpha.2213 Dec 2024pre-release

    Nothing published for this version

  2. 8.5.0-alpha.2112 Dec 2024pre-release

    Nothing published for this version

  3. 8.5.0-alpha.2011 Dec 2024pre-release

    Nothing published for this version

  4. 8.5.0-alpha.1910 Dec 2024pre-release

    Nothing published for this version

  5. 8.5.0-alpha.185 Dec 2024pre-release

    Nothing published for this version

  6. 8.5.0-alpha.174 Dec 2024pre-release

    Nothing published for this version

  7. 8.5.0-alpha.163 Dec 2024pre-release

    Nothing published for this version

  8. 8.5.0-alpha.153 Dec 2024pre-release

    Nothing published for this version

  9. 8.5.0-alpha.1430 Nov 2024pre-release

    Nothing published for this version

  10. 8.5.0-alpha.1329 Nov 2024pre-release

    Nothing published for this version

  11. 8.5.0-alpha.1229 Nov 2024pre-release

    Nothing published for this version

  12. 8.5.0-alpha.1127 Nov 2024pre-release

    Nothing published for this version

  13. 8.5.0-alpha.1023 Nov 2024pre-release

    Nothing published for this version

  14. 8.5.0-alpha.920 Nov 2024pre-release

    Nothing published for this version

  15. 8.5.0-alpha.819 Nov 2024pre-release

    Nothing published for this version

  16. 8.5.0-alpha.719 Nov 2024pre-release

    Nothing published for this version

  17. 8.5.0-alpha.618 Nov 2024pre-release

    Nothing published for this version

  18. 8.5.0-alpha.516 Nov 2024pre-release

    Nothing published for this version

  19. 8.5.0-alpha.412 Nov 2024pre-release

    Nothing published for this version

  20. 8.5.0-alpha.35 Nov 2024pre-release

    Nothing published for this version

  21. 8.5.0-alpha.22 Nov 2024pre-release

    Nothing published for this version

  22. 8.5.0-alpha.131 Oct 2024pre-release

    Nothing published for this version

  23. 8.5.0-alpha.031 Oct 2024pre-release

    Nothing published for this version

  24. 8.4.75 Dec 2024
    Release notes
    • Telemetry: Improve anonymous id calculation - #29736, thanks @tmeasday!
    • Vue: Properly resolve Vite plugin - #29795, thanks @tobiasdiez!
    Open source →
  25. 8.4.629 Nov 2024
    Release notes
    • Addon Test: Use pathe for better windows support - #29676, thanks @yannbf!
    • Angular: Default to standalone components in Angular v19 - #29677, thanks @ingowagner!
    • Frameworks: Add Vite 6 support - #29710, thanks @yannbf!
    • Portable stories: Support multiple annotation notations from preview - #29733, thanks @yannbf!
    • React: Upgrade react-docgen-typescript to support Vite 6 - #29724, thanks @yannbf!
    • Svelte: Support @sveltejs/vite-plugin-svelte v5 - #29731, thanks @JReinhold!
    Open source →
  26. 8.4.520 Nov 2024
    Release notes
    • Angular: Support v19 - #29659, thanks @leosvelperez!
    • CLI: Disable corepack auto pin behavior - #29627, thanks @yannbf!
    • CLI: Fix qwik init - #29632, thanks @shilman!
    • Nextjs-Vite: Add Next.js 15 support - #29640, thanks @yannbf!
    Open source →
  27. 8.4.414 Nov 2024
    Release notes
    • Addon Test: Only optimize react deps if applicable in vitest-plugin - #29617, thanks @yannbf!
    Open source →
  28. 8.4.313 Nov 2024
    Release notes
    • Addon Test: Optimize internal dependencies - #29595, thanks @yannbf!
    • Next.js: Add support for Next 15 - #29587, thanks @yannbf!
    Open source →
  29. 8.4.25 Nov 2024
    Release notes
    • Addon Test: Fix post-install logic for Next.js Vite framework support - #29524, thanks @valentinpalkovic!
    • Addon Test: Only render the TestingModule component in development mode - #29501, thanks @yannbf!
    • CLI: Fix Solid init by installing @storybook/test - #29514, thanks @shilman!
    • Core: Shim CJS-only globals in ESM output - #29157, thanks @valentinpalkovic!
    • Next.js: Fix bundled react and react-dom in monorepos - #29444, thanks @sentience!
    Open source →
  30. 8.4.11 Nov 2024
    Release notes
    • Core: Relax peer dep constraint of shim packages - #29503, thanks @kasperpeulen!
    Open source →
  31. 8.4.031 Oct 2024
    Release notes

    Storybook 8.4 comes with a ton of exciting new features designed to give you the best experience developing, testing, and debugging tests in the browser!

    • ▶️ Unified UI for component testing
    • 5️⃣ Svelte 5 and Svelte CSF support
    • ⚛️ React Native Storybook 8 release
    • 🏷️ Tags-based filtering to organize your Storybook
    • 🫧 Dependency cleanup to reduce install footprint
    • 💯 Hundreds more improvements

    <details> <summary>List of all updates</summary>

    • Addon Test: Adjust file exports to be ESM/CJS compatible - #29471, thanks @valentinpalkovic!
    • Addon Test: Error when addon interactions exists - #29434, thanks @valentinpalkovic!
    • Addon Test: Escape XML when converting ANSI to HTML in test errors - #29446, thanks @ghengeveld!
    • Addon Test: Fix hiding stacktrace for assertion errors in test panel - #29458, thanks @ghengeveld!
    • Addon Test: Improve Error Handling - #29476, thanks @valentinpalkovic!
    • Addon Test: Improve postinstall script - #29479, thanks @yannbf!
    • Addon Test: Improve unsupported vitest message - #29486, thanks @valentinpalkovic!
    • Addon Test: Only register testing module in Vite projects - #29472, thanks @yannbf!
    • Addon Test: Throttle Vitest progress updates more heavily - #29482, thanks @ghengeveld!
    • Addon-docs, blocks: Prebundle dependencies - #29301, thanks @JReinhold!
    • Addon-Test: Support for @vitest/browser v2.1.2 - #29407, thanks @strozw!
    • Blocks: Prebundle es-toolkit - #29259, thanks @JReinhold!
    • Builder-vite: Replace .at() call with [] in codegen - #29048, thanks @Chudesnov!
    • CLI: Don't add @storybook/addon-links by default - #29177, thanks @tobiasdiez!
    • CLI: Ensure .gitignore updated via CLI ends with a newline - #29124, thanks @3w36zj6!
    • CLI: Fix yarn detection - #29448, thanks @ndelangen!
    • CLI: Migrate from chalk to picocolors - #28262, thanks @43081j!
    • CLI: Refactor NPMProxy error parsing logic - #29459, thanks @yannbf!
    • ConfigFile: Fix export { X } parsing - #29344, thanks @vctqs1!
    • Core: Add unified UI Testing Module - #29241, thanks @yannbf!
    • Core: Close story status menu when selecting an item - #29455, thanks @ghengeveld!
    • Core: Fix building Storybook deleting project root files - #29371, thanks @JReinhold!
    • Core: Fix race condition during empty folder init - #29490, thanks @valentinpalkovic!
    • Core: Make prettier an optional peer dependency - #29223, thanks @JReinhold!
    • Core: Migrate from express to polka - #29230, thanks @43081j!
    • Core: Migrate from qs to picoquery - #28315, thanks @43081j!
    • Core: Open 'Component tests' addon panel when clicking a story status - #29456, thanks @ghengeveld!
    • Core: Remove handlebars usage - #29208, thanks @ndelangen!
    • Core: Remove dependence on file-system-cache - #29256, thanks @ndelangen!
    • Core: Replace fs-extra with the native APIs - #29126, thanks @ziebam!
    • Core: Replace lodash with es-toolkit - #28981, thanks @ndelangen!
    • Core: Show checkmark icon in story status dropdown and update status label for component tests - #29451, thanks @ghengeveld!
    • Core: Show tooltip on filter toggles to clarify their purpose - #29447, thanks @ghengeveld!
    • Core: Track test provider state in sessionStorage - #29450, thanks @ghengeveld!
    • Core: Upgrade esbuild, broadening version range - #29254, thanks @ndelangen!
    • Dependencies: Upgrade VTA to v3.1.0 - #29449, thanks @ghengeveld!
    • Dependencies: Upgrade VTA to v3.2.0 to resolve peerDep conflict - #29461, thanks @ghengeveld!
    • Interactions: Escape xml of interactions errors - #29414, thanks @kasperpeulen!
    • Maintenance: Fix broken and outdated documentation links - #29412, thanks @jonniebigodes!
    • Manager: Add tags property to ComponentEntry objects - #29343, thanks @Sidnioulz!
    • React: Prebundle all of renderers/react's dependencies - #29298, thanks @ndelangen!
    • Svelte: Improve argTypes inference with svelte2tsx - support runes - #29423, thanks @JReinhold!
    • Test: Remove unused util dependency - #29310, thanks @JReinhold!
    • UI: Brand image css class conflict causes image to resize on hot reloads - #29129, thanks @ShreySinha02!
    • UI: Fix RefIndicator to use CheckIcon instead of string - #29209, thanks @JSMike!
    • UI: Simple tag filtering - #29333, thanks @shilman!
    • UI: Use production-mode react in manager - #29197, thanks @ndelangen!
    • Viewport-addon: Add InitialViewportKeys type to viewport addon - #29182, thanks @hyeongrok7874!
    • Vite: Add jsdoc-type-pratt-parser to optimizeDeps - #29179, thanks @tobiasdiez!
    • Vite: Cleanup and prebundle dependencies - #29302, thanks @JReinhold!
    • Webpack: Fix export 'act' (imported as 'React4') was not found in 'react' errors in webpack - #29235, thanks @kasperpeulen!

    </details>

    Open source →
  32. 8.4.0-beta.530 Oct 2024pre-release

    Nothing published for this version

  33. 8.4.0-beta.430 Oct 2024pre-release

    Nothing published for this version

  34. 8.4.0-beta.329 Oct 2024pre-release

    Nothing published for this version

  35. 8.4.0-beta.229 Oct 2024pre-release

    Nothing published for this version

  36. 8.4.0-beta.128 Oct 2024pre-release

    Nothing published for this version

  37. 8.4.0-beta.024 Oct 2024pre-release

    Nothing published for this version

  38. 8.4.0-alpha.821 Oct 2024pre-release

    Nothing published for this version

  39. 8.4.0-alpha.712 Oct 2024pre-release

    Nothing published for this version

  40. 8.4.0-alpha.69 Oct 2024pre-release

    Nothing published for this version

  41. 8.4.0-alpha.58 Oct 2024pre-release

    Nothing published for this version

  42. 8.4.0-alpha.44 Oct 2024pre-release

    Nothing published for this version

  43. 8.4.0-alpha.32 Oct 2024pre-release

    Nothing published for this version

  44. 8.4.0-alpha.228 Sept 2024pre-release

    Nothing published for this version

  45. 8.4.0-alpha.124 Sept 2024pre-release

    Nothing published for this version

  46. 8.4.0-alpha.011 Sept 2024pre-release

    Nothing published for this version

  47. 8.3.74 Nov 2024

    Nothing published for this version

  48. 8.3.618 Oct 2024
    Release notes
    • CLI: Install Svelte CSF v5 in Svelte5 projects - #29323, thanks @shilman!
    • Svelte: Add v5 stories to CLI templates - #29382, thanks @JReinhold!
    Open source →
  49. 8.3.54 Oct 2024
    Release notes
    • CLI: Update the React Native init to include v8 dependencies - #29273, thanks @dannyhw!
    • Vitest plugin: Fix renamed export stories - #29250, thanks @shilman!
    Open source →
  50. 8.3.428 Sept 2024
    Release notes
    • Addon Test: Support story name as test description - #29147, thanks @InfiniteXyy!
    • Addon-Interactions: Use ansi-to-html for colored test errors - #29110, thanks @kasperpeulen!
    Open source →
  51. 8.3.324 Sept 2024
    Release notes
    • CLI: Show constraints in error when getting depndencies - #29187, thanks @andrasczeh!
    • React-Vite: Downgrade react-docgen-typescript plugin - #29184, thanks @shilman!
    • UI: Fix composed storybook TooltipLinkList bug where href isn't passed forward - #29175, thanks @JSMike!
    Open source →
  52. 8.3.219 Sept 2024
    Release notes
    • CLI: Fix skip-install for stable latest releases - #29133, thanks @valentinpalkovic!
    • Core: Do not add packageManager field to package.json during storybook dev - #29152, thanks @valentinpalkovic!
    Open source →
  53. 8.3.116 Sept 2024
    Release notes
    • Angular: Fix sourceDecorator to apply excludeDecorators flag - #29069, thanks @JSMike!
    • Core: Do not prebundle better-opn - #29137, thanks @valentinpalkovic!
    • Core: Do not prebundle jsdoc-type-pratt-parser - #29134, thanks @valentinpalkovic!
    • Next.js: Upgrade sass-loader from ^12 to ^13 - #29040, thanks @HoncharenkoZhenya!
    Open source →
  54. 8.3.011 Sept 2024
    Release notes

    Fresh out of the oven! Storybook 8.3 brings you:

    • ⚡️ First-class Vitest integration to run stories as component tests
    • 🔼 Next.js-Vite framework for Vitest compatibility and better DX
    • 🗜️ Further reduced bundle size for a smaller install footprint
    • 🌐 Experimental Story globals to standardize stories for themes, viewports, and locales
    • 💯 Hundreds more improvements

    <details> <summary>List of all updates</summary>

    • Addon Test: Improve messages and post install script handling - #29036, thanks @yannbf!
    • Addon Viewport: Add default options via parameters - #28944, thanks @ndelangen!
    • Addon Test: Add experimental vitest integration - #28768, thanks @kasperpeulen!
    • Addon Test: Fix error message logic in set up file - #28906, thanks @yannbf!
    • Addon Test: Fix indentation of 'vitePluginNext' in generated Vitest config file - #29011, thanks @ghengeveld!
    • Addon Test: Fix postinstall file types - #28978, thanks @shilman!
    • Addon Test: Fix tests potentially not existing in non-isolate mode - #28993, thanks @yannbf!
    • Addon Test: Improve transformation logic to avoid duplicate tests - #28929, thanks @yannbf!
    • Addon Test: Set default viewport if applicable - #28905, thanks @yannbf!
    • Addon Test: Set screenshotFailures to false by default - #28908, thanks @yannbf!
    • Addon Docs: Remove babel dependency - #28915, thanks @shilman!
    • Addon Interactions: Fix status in panel tab - #28580, thanks @yannbf!
    • Angular: Fix Angular template error for props with a circular reference - #28498, thanks @Marklb!
    • Angular: Fix template props not able to use dot notation - #28588, thanks @Marklb!
    • Backgrounds/Viewports: Make defaults overridable in StoryGlobals-mode - #29025, thanks @JReinhold!
    • Blocks: Fix scroll to non-ascii anchors - #28826, thanks @SkReD!
    • Build: Remove external overrides, use package.json as source of truth - #28632, thanks @kasperpeulen!
    • Builder-Vite: Add null character prefix to virtual file IDs - #28863, thanks @valentinpalkovic!
    • Builder-Vite: Fix 'condition node never be used' warning - #28989, thanks @valentinpalkovic!
    • CLI: Add conditional logging for manager and preview start - #28603, thanks @tobiasdiez!
    • CLI: Fix dedent import in package managers - #28980, thanks @shilman!
    • CLI: Fix the initialization of Storybook in workspaces - #28699, thanks @valentinpalkovic!
    • CLI: Handle Yarn PnP wrapper scenario when adding an addon - #29027, thanks @yannbf!
    • CLI: Make PackageJson optional for starting a dev server - #28594, thanks @tobiasdiez!
    • CLI: Update spawn options in proxy.ts to support Windows - #28990, thanks @valentinpalkovic!
    • Components: Remove external overrides - #28632, thanks @kasperpeulen!
    • ConfigFile: Fix as const satisfies modifiers - #29000, thanks @shilman!
    • Controls: Add disableSave parameter - #28734, thanks @valentinpalkovic!
    • Core: Add Rsbuild frameworks to known frameworks - #28694, thanks @fi3ework!
    • Core: De-duplicate babel use in core - #28972, thanks @ndelangen!
    • Core: Fix header for MountMustBeDestructuredError message - #28590, thanks @0916dhkim!
    • Core: Fix manager-builder tsconfig to emit react-jsx - #28541, thanks @williamhelmrath!
    • Core: Introduce setProjectAnnotations API to more renderers and frameworks - #28907, thanks @yannbf!
    • Core: Make sure CJS build always has lowest prio - #28829, thanks @kasperpeulen!
    • Core: Move util to regular dependency - #29008, thanks @ndelangen!
    • Core: Split Storybook CLI - #28519, thanks @kasperpeulen!
    • Core: Upgrade docs-mdx for smaller install - #28552, thanks @shilman!
    • CPC: Add ESM export to docs-tools & node-logger packages - #28539, thanks @ndelangen!
    • CPC: Fix missing dependency in @storybook/addon-interactions - #28518, thanks @ndelangen!
    • CPC: Fix type generation - #28507, thanks @ndelangen!
    • CPC: Revert renames of panels, addon_ids - #28524, thanks @ndelangen!
    • CSF: Allow overridding globals at the story level - #26654, thanks @tmeasday!
    • Dependencies: Upgrade commander - #28857, thanks @43081j!
    • Fix: Add header for MountMustBeDestructuredError message - #28590, thanks @0916dhkim!
    • Fix: Prevent iframe from capturing mouse events in composed Storybooks - #28568, thanks @Vincentdevreede!
    • Maintenance: Add node:-prefix to node core-modules - #28860, thanks @ndelangen!
    • Maintenance: Rename addon-vitest to addon-test - #29014, thanks @yannbf!
    • Next.js-Vite: Fix vite plugin exports - #29046, thanks @valentinpalkovic!
    • Next.js-Vite: Streamline Next.js dir option - #28995, thanks @valentinpalkovic!
    • Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies - #28994, thanks @valentinpalkovic!
    • Next.js: Add @storybook/nextjs-vite package - #28800, thanks @valentinpalkovic!
    • Next.js: Fix wrong Next.js framework reference - #28992, thanks @valentinpalkovic!
    • Next.js: Make RSC portable-stories compatible - #28756, thanks @valentinpalkovic!
    • Next.js: Update dependencies - #29052, thanks @valentinpalkovic!
    • Nextjs-Vite: Re-export vite-plugin-storybook-nextjs - #29012, thanks @valentinpalkovic!
    • Portable Stories: Improve Handling of React Updates and Errors - #29044, thanks @valentinpalkovic!
    • React: Avoid 'Dynamic require of react is not possible' issue - #28730, thanks @valentinpalkovic!
    • React: Bundle in lodash - #28609, thanks @ndelangen!
    • Svelte: Fix events not being logged in Actions when a story has decorators - #28247, thanks @JReinhold!
    • SvelteKit: Introduce portable stories support - #28918, thanks @yannbf!
    • SvelteKit/Vue3: Refactor plugin export paths - #29016, thanks @yannbf!
    • Telemetry: Add globals stats - #28822, thanks @shilman!
    • Telemetry: Add portable stories - #26764, thanks @shilman!
    • Test: Fix support for TS < 4.7 - #28887, thanks @ndelangen!
    • Test: Rename vitest plugin entrypoint - #29067, thanks @yannbf!
    • Test: Upgrade Vitest to v2 - #28788, thanks @yannbf!
    • Types: Adjust beforeAll to be non-nullable in NormalizedProjectAnnotations - #28671, thanks @kasperpeulen!
    • Types: Update type signatures of objects and functions - #28503, thanks @valentinpalkovic!
    • UI: Fix collapse/expand all functionality - #28582, thanks @filipemelo2002!
    • UI: Fix conditional hooks usage in sidebar - #28979, thanks @JReinhold!
    • UI: Fix sidebar not wrapping - #29055, thanks @JReinhold!
    • Vite: Fix HMR - #28876, thanks @ndelangen!
    • Vite: Fix missing source map warning - #28984, thanks @valentinpalkovic!
    • Vitest: Fix add command - #28975, thanks @ghengeveld!
    • Vitest: Fix default viewport - #28943, thanks @kasperpeulen!
    • Vitest: Implement add command for vitest addon - #28920, thanks @kasperpeulen!
    • Vue: Add missing prop controls when using vue-component-meta docgen plugin - #28760, thanks @larsrickert!
    • Vue: Improve generated code snippets - #27194, thanks @larsrickert!
    • Vue3: Add vite plugin for portable stories - #29004, thanks @yannbf!

    </details>

    Open source →
  55. 8.3.0-beta.511 Sept 2024pre-release

    Nothing published for this version

  56. 8.3.0-beta.49 Sept 2024pre-release

    Nothing published for this version

  57. 8.3.0-beta.35 Sept 2024pre-release

    Nothing published for this version

  58. 8.3.0-beta.22 Sept 2024pre-release

    Nothing published for this version

  59. 8.3.0-beta.130 Aug 2024pre-release

    Nothing published for this version

  60. 8.3.0-beta.029 Aug 2024pre-release

    Nothing published for this version