Skip to content

Commit edede78

Browse files
chore(deps): update storybook monorepo to v10 (major) (#7943)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@storybook/addon-a11y](https://redirect.github.com/storybookjs/storybook/tree/next/code/addons/a11y) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/addons/a11y)) | [`9.1.16` -> `10.1.6`](https://renovatebot.com/diffs/npm/@storybook%2faddon-a11y/9.1.16/10.1.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-a11y/10.1.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-a11y/9.1.16/10.1.6?slim=true) | | [@storybook/addon-docs](https://redirect.github.com/storybookjs/storybook/tree/next/code/addons/docs) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/addons/docs)) | [`9.1.16` -> `10.1.6`](https://renovatebot.com/diffs/npm/@storybook%2faddon-docs/9.1.16/10.1.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-docs/10.1.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-docs/9.1.16/10.1.6?slim=true) | | [@storybook/react-vite](https://redirect.github.com/storybookjs/storybook/tree/next/code/frameworks/react-vite) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite)) | [`9.1.16` -> `10.1.6`](https://renovatebot.com/diffs/npm/@storybook%2freact-vite/9.1.16/10.1.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2freact-vite/10.1.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2freact-vite/9.1.16/10.1.6?slim=true) | | [eslint-plugin-storybook](https://redirect.github.com/storybookjs/storybook/tree/next/code/lib/eslint-plugin#readme) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/lib/eslint-plugin)) | [`9.1.16` -> `10.1.6`](https://renovatebot.com/diffs/npm/eslint-plugin-storybook/9.1.16/10.1.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-storybook/10.1.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-storybook/9.1.16/10.1.6?slim=true) | | [storybook](https://storybook.js.org) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/core)) | [`9.1.16` -> `10.1.6`](https://renovatebot.com/diffs/npm/storybook/9.1.16/10.1.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/storybook/10.1.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/storybook/9.1.16/10.1.6?slim=true) | --- ### Release Notes <details> <summary>storybookjs/storybook (@&#8203;storybook/addon-a11y)</summary> ### [`v10.1.6`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1016) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.5...v10.1.6) - Manager: Do not display non-existing shortcuts in the settings page - [#&#8203;32711](https://redirect.github.com/storybookjs/storybook/pull/32711), thanks [@&#8203;DKER2](https://redirect.github.com/DKER2)! - Preview: Enforce inert body if manager is focus-trapped - [#&#8203;33186](https://redirect.github.com/storybookjs/storybook/pull/33186), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - Telemetry: Await pending operations in getLastEvents to prevent race conditions - [#&#8203;33285](https://redirect.github.com/storybookjs/storybook/pull/33285), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - UI: Fix keyboard navigation bug for "reset" option in `Select` - [#&#8203;33268](https://redirect.github.com/storybookjs/storybook/pull/33268), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! ### [`v10.1.5`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1015) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.4...v10.1.5) - Addon-Vitest: Isolate error reasons during postinstall - [#&#8203;33295](https://redirect.github.com/storybookjs/storybook/pull/33295), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix react native template not copying in init - [#&#8203;33308](https://redirect.github.com/storybookjs/storybook/pull/33308), thanks [@&#8203;dannyhw](https://redirect.github.com/dannyhw)! - Docs: Support Rolldown bundler module namespace objects - [#&#8203;33280](https://redirect.github.com/storybookjs/storybook/pull/33280), thanks [@&#8203;akornmeier](https://redirect.github.com/akornmeier)! ### [`v10.1.4`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1014) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.3...v10.1.4) - Core: Enhance getPrettier function to provide prettier interface - [#&#8203;33260](https://redirect.github.com/storybookjs/storybook/pull/33260), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - NextJS: Alias image to use fileURLToPath for better resolution - [#&#8203;33256](https://redirect.github.com/storybookjs/storybook/pull/33256), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Telemetry: Cache Storybook metadata by main config content hash - [#&#8203;33247](https://redirect.github.com/storybookjs/storybook/pull/33247), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! ### [`v10.1.3`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1013) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.2...v10.1.3) - Angular: Honor --loglevel and --logfile in dev/build - [#&#8203;33212](https://redirect.github.com/storybookjs/storybook/pull/33212), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Minor UI fixes - [#&#8203;33218](https://redirect.github.com/storybookjs/storybook/pull/33218), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Telemetry: Add playwright-prompt - [#&#8203;33229](https://redirect.github.com/storybookjs/storybook/pull/33229), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! ### [`v10.1.2`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1012) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.1...v10.1.2) - Checklist: Fix how state changes are reported and drop some completion restrictions - [#&#8203;33217](https://redirect.github.com/storybookjs/storybook/pull/33217), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! ### [`v10.1.1`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1011) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.1.0...v10.1.1) - Core: Improve globbing using dynamic CWD (REVERT) - [#&#8203;33201](https://redirect.github.com/storybookjs/storybook/pull/33201), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Solid: Add Solid to the list of supported frameworks for addon-vitest - [#&#8203;33084](https://redirect.github.com/storybookjs/storybook/pull/33084), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - UI: Fix excessive height in TabbedArgsTable - [#&#8203;33205](https://redirect.github.com/storybookjs/storybook/pull/33205), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! ### [`v10.1.0`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1010) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.8...v10.1.0) > *Easier to setup, more accessible to use* Storybook 10.1 focuses on two key improvements: installation and accessibility: - ♿ UI overhaul to fix hundreds of a11y issues - 🧑‍💻 CLI overhaul for faster, more reliable install - ✅ Checklist-based onboarding guide for new users The release also contains compatibility fixes for: - 🅰️ Angular 21 support - 🦀 RSbuild install support in CLI - ⚡️ Preact support for Vitest addon Finally, it contains two highly-requested experimental features: - 📋 Component manifest for Storybook MCP - ⚛️ Improved JSX code snippets for React <details> <summary>List of all updates</summary> - A11y: Add aria-selected attribute to tab buttons - [#&#8203;32656](https://redirect.github.com/storybookjs/storybook/pull/32656), thanks [@&#8203;Nischit-Ekbote](https://redirect.github.com/Nischit-Ekbote)! - A11y: Make search clear button keyboard accessible - [#&#8203;32590](https://redirect.github.com/storybookjs/storybook/pull/32590), thanks [@&#8203;ritoban23](https://redirect.github.com/ritoban23)! - Addon-Vitest: Ensure Storybook starts correctly across platforms by using shell in spawn - [#&#8203;33116](https://redirect.github.com/storybookjs/storybook/pull/33116), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Angular: Add preset entry point for framework - [#&#8203;33154](https://redirect.github.com/storybookjs/storybook/pull/33154), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Angular: Add support for v21 - [#&#8203;33098](https://redirect.github.com/storybookjs/storybook/pull/33098), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Angular: Don't kill dev command by using observables - [#&#8203;33185](https://redirect.github.com/storybookjs/storybook/pull/33185), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Angular: Migrate from RxJS to async/await in command builders and run Compodoc utility as spinner - [#&#8203;33156](https://redirect.github.com/storybookjs/storybook/pull/33156), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Angular: Replace deprecated import of ApplicationConfig - [#&#8203;33125](https://redirect.github.com/storybookjs/storybook/pull/33125), thanks [@&#8203;EtiennePasteur](https://redirect.github.com/EtiennePasteur)! - Automigration: Update description and link for addon-a11y-addon-test - [#&#8203;33133](https://redirect.github.com/storybookjs/storybook/pull/33133), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Build: Add Rsbuild-based sandboxes - [#&#8203;33039](https://redirect.github.com/storybookjs/storybook/pull/33039), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Build: Fix async telemetry event sending - [#&#8203;33115](https://redirect.github.com/storybookjs/storybook/pull/33115), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Build: Update dependencies in yarn.lock and clean up comments - [#&#8203;33089](https://redirect.github.com/storybookjs/storybook/pull/33089), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Checklist: Autocomplete "See what's new" on URL navigation - [#&#8203;33167](https://redirect.github.com/storybookjs/storybook/pull/33167), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Checklist: Data improvements - [#&#8203;33129](https://redirect.github.com/storybookjs/storybook/pull/33129), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - CLI: Change yarn package manager value to yarn1 - [#&#8203;33099](https://redirect.github.com/storybookjs/storybook/pull/33099), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix 'beforeVersion' evaluation for Storybook package - [#&#8203;33141](https://redirect.github.com/storybookjs/storybook/pull/33141), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix access to getOptionValue in postAction hook - [#&#8203;33119](https://redirect.github.com/storybookjs/storybook/pull/33119), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix framework config validation path and messages - [#&#8203;33146](https://redirect.github.com/storybookjs/storybook/pull/33146), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix passing flags for bun users during init - [#&#8203;33166](https://redirect.github.com/storybookjs/storybook/pull/33166), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix Vitest v3 installs and refactor AddonVitestService; align create‑storybook usage - [#&#8203;33131](https://redirect.github.com/storybookjs/storybook/pull/33131), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: In csf-factories codemod only remove types which are unused - [#&#8203;33020](https://redirect.github.com/storybookjs/storybook/pull/33020), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CLI: Minor improvements - [#&#8203;33180](https://redirect.github.com/storybookjs/storybook/pull/33180), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Modernize Storybook CLI with new init workflow, Clack UI, and Generator System - [#&#8203;32717](https://redirect.github.com/storybookjs/storybook/pull/32717), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Standardize debug log messages across the application - [#&#8203;33123](https://redirect.github.com/storybookjs/storybook/pull/33123), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Update clack - [#&#8203;33151](https://redirect.github.com/storybookjs/storybook/pull/33151), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Update compatibility guidance link in summary message - [#&#8203;33117](https://redirect.github.com/storybookjs/storybook/pull/33117), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Update postAction hook to use command parameter for logfile retrieval - [#&#8203;33137](https://redirect.github.com/storybookjs/storybook/pull/33137), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Update upgrade message - [#&#8203;33182](https://redirect.github.com/storybookjs/storybook/pull/33182), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Core: Fix `getDocsUrl` for canary versions - [#&#8203;33128](https://redirect.github.com/storybookjs/storybook/pull/33128), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix testing widget focus outline - [#&#8203;33172](https://redirect.github.com/storybookjs/storybook/pull/33172), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Improve globbing using dynamic CWD - [#&#8203;32990](https://redirect.github.com/storybookjs/storybook/pull/32990), thanks [@&#8203;ia319](https://redirect.github.com/ia319)! - Core: Rename `Listbox` component to `ActionList` and use it in `TagsFilterPanel` - [#&#8203;33140](https://redirect.github.com/storybookjs/storybook/pull/33140), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Significantly improve Storybook's own accessibility - [#&#8203;32458](https://redirect.github.com/storybookjs/storybook/pull/32458), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - Core: Update `getDocsUrl` to add a default `ref` param and set `guide` as ref for links in the Guide - [#&#8203;33111](https://redirect.github.com/storybookjs/storybook/pull/33111), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Guide: Collapse checklist items by default - [#&#8203;33160](https://redirect.github.com/storybookjs/storybook/pull/33160), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Guide: Hide items for which their required feature is disabled (controls, viewport, interactions) - [#&#8203;33113](https://redirect.github.com/storybookjs/storybook/pull/33113), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Maintenance: Enable syntax minification for dead code elimination - [#&#8203;33001](https://redirect.github.com/storybookjs/storybook/pull/33001), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Manager: Added tokens and a dark color scheme for status colors - [#&#8203;33081](https://redirect.github.com/storybookjs/storybook/pull/33081), thanks [@&#8203;MichaelArestad](https://redirect.github.com/MichaelArestad)! - Middleware: Prepend `file://` to middleware `import` for Windows support - [#&#8203;32955](https://redirect.github.com/storybookjs/storybook/pull/32955), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Onboarding: Guided tour checklist - [#&#8203;32795](https://redirect.github.com/storybookjs/storybook/pull/32795), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - React: Add isPackage flag to component imports for better package identification - [#&#8203;33090](https://redirect.github.com/storybookjs/storybook/pull/33090), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Add manifests/components.html page - [#&#8203;32905](https://redirect.github.com/storybookjs/storybook/pull/32905), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Change examples to stories in manifests and show correct examples and prop types - [#&#8203;32908](https://redirect.github.com/storybookjs/storybook/pull/32908), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Experimental code examples - [#&#8203;32813](https://redirect.github.com/storybookjs/storybook/pull/32813), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Implement manifests/component.json for React - [#&#8203;32751](https://redirect.github.com/storybookjs/storybook/pull/32751), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Improve automatic component, automatic imports, support barrel files and enhance story filtering - [#&#8203;32939](https://redirect.github.com/storybookjs/storybook/pull/32939), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Improve error handling of component manifest generation - [#&#8203;32855](https://redirect.github.com/storybookjs/storybook/pull/32855), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Improve error messages in component manifest - [#&#8203;32954](https://redirect.github.com/storybookjs/storybook/pull/32954), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Improve import rewriting when tsconfig paths are used - [#&#8203;33072](https://redirect.github.com/storybookjs/storybook/pull/33072), thanks [@&#8203;kasperpeulen](https://redirect.github.com/kasperpeulen)! - Remove yarn esbuild pnp plugin - [#&#8203;33097](https://redirect.github.com/storybookjs/storybook/pull/33097), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Theming: Set `themes.normal` according to user preference and export `getPreferredColorScheme` - [#&#8203;28721](https://redirect.github.com/storybookjs/storybook/pull/28721), thanks [@&#8203;elisezhg](https://redirect.github.com/elisezhg)! - UI: Add padding for ArgsTable shadow in TabbedArgsTable - [#&#8203;33034](https://redirect.github.com/storybookjs/storybook/pull/33034), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Add VRTs to FileSearchModal in light theme - [#&#8203;33022](https://redirect.github.com/storybookjs/storybook/pull/33022), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Fix crashes in Select when passed falsy non-string options - [#&#8203;33164](https://redirect.github.com/storybookjs/storybook/pull/33164), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Fix regression on addon panel empty content fontsize - [#&#8203;33021](https://redirect.github.com/storybookjs/storybook/pull/33021), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Fix trivial RefBlocks ARIA violations - [#&#8203;33026](https://redirect.github.com/storybookjs/storybook/pull/33026), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Improve status handling in sidebar nodes - [#&#8203;32965](https://redirect.github.com/storybookjs/storybook/pull/32965), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - UI: Increase border contrast of Checkbox, Radio, and Range - [#&#8203;33064](https://redirect.github.com/storybookjs/storybook/pull/33064), thanks [@&#8203;MichaelArestad](https://redirect.github.com/MichaelArestad)! - UI: Refocus search input after clearing it - [#&#8203;33165](https://redirect.github.com/storybookjs/storybook/pull/33165), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Rework default background of Color swatch for dark mode - [#&#8203;33023](https://redirect.github.com/storybookjs/storybook/pull/33023), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - Upgrade: Satellite compatible with 10.1 prerelease - [#&#8203;32877](https://redirect.github.com/storybookjs/storybook/pull/32877), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! </details> ### [`v10.0.8`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1008) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.7...v10.0.8) - React Native Web: Fix react native resuables and nativewind - [#&#8203;33056](https://redirect.github.com/storybookjs/storybook/pull/33056), thanks [@&#8203;dannyhw](https://redirect.github.com/dannyhw)! - React Native Web: Update vite-plugin-rnw for overall improvements - [#&#8203;32991](https://redirect.github.com/storybookjs/storybook/pull/32991), thanks [@&#8203;dannyhw](https://redirect.github.com/dannyhw)! - WebComponents: Fix `custom-elements.json` not being loaded - [#&#8203;33045](https://redirect.github.com/storybookjs/storybook/pull/33045), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! ### [`v10.0.7`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1007) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.6...v10.0.7) - ESLint: Only apply csf-strict rules on stories files - [#&#8203;31963](https://redirect.github.com/storybookjs/storybook/pull/31963), thanks [@&#8203;cylewaitforit](https://redirect.github.com/cylewaitforit)! - Next.js: Update SWC loader to support new wasm detection - [#&#8203;33003](https://redirect.github.com/storybookjs/storybook/pull/33003), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! ### [`v10.0.6`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1006) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.5...v10.0.6) - CSF: Fix export interface declaration for NextPreview - [#&#8203;32914](https://redirect.github.com/storybookjs/storybook/pull/32914), thanks [@&#8203;icopp](https://redirect.github.com/icopp)! - Controls: Add range validation in Number Control - [#&#8203;32539](https://redirect.github.com/storybookjs/storybook/pull/32539), thanks [@&#8203;ia319](https://redirect.github.com/ia319)! - Fix: Export interface declaration for ReactMeta - [#&#8203;32915](https://redirect.github.com/storybookjs/storybook/pull/32915), thanks [@&#8203;icopp](https://redirect.github.com/icopp)! - Vitest Addon: Add support for Preact - [#&#8203;32948](https://redirect.github.com/storybookjs/storybook/pull/32948), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! ### [`v10.0.5`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1005) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.4...v10.0.5) - Core: Add reentry guard to focus patch - [#&#8203;32655](https://redirect.github.com/storybookjs/storybook/pull/32655), thanks [@&#8203;ia319](https://redirect.github.com/ia319)! - Nextjs Vite: Update internal plugin to support `svgr` use cases - [#&#8203;32957](https://redirect.github.com/storybookjs/storybook/pull/32957), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! ### [`v10.0.4`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1004) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.3...v10.0.4) - CLI: Fix issue with running Storybook after being initialized - [#&#8203;32929](https://redirect.github.com/storybookjs/storybook/pull/32929), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CRA: Fix `module` not defined in ESM - [#&#8203;32940](https://redirect.github.com/storybookjs/storybook/pull/32940), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! ### [`v10.0.3`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1003) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.2...v10.0.3) - Core: Better handling for TypeScript satisfies/as syntaxes - [#&#8203;32891](https://redirect.github.com/storybookjs/storybook/pull/32891), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Core: Fix wrong import to fix Yarn PnP support - [#&#8203;32928](https://redirect.github.com/storybookjs/storybook/pull/32928), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - ESlint: Update `@storybook/experimental-nextjs-vite` in `no-renderer-packages` rule - [#&#8203;32909](https://redirect.github.com/storybookjs/storybook/pull/32909), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - React Native: Update withStorybook setup instructions - [#&#8203;32919](https://redirect.github.com/storybookjs/storybook/pull/32919), thanks [@&#8203;dannyhw](https://redirect.github.com/dannyhw)! ### [`v10.0.2`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1002) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.1...v10.0.2) - CLI: Fix glob string formatting in csf-factories codemod - [#&#8203;32880](https://redirect.github.com/storybookjs/storybook/pull/32880), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Core: Improve file path resolution on Windows - [#&#8203;32893](https://redirect.github.com/storybookjs/storybook/pull/32893), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Vite: Update `optimizeViteDeps` for addon-docs and addon-vitest - [#&#8203;32881](https://redirect.github.com/storybookjs/storybook/pull/32881), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! ### [`v10.0.1`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1001) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v10.0.0...v10.0.1) - Presets: Fix incorrect imports - [#&#8203;32875](https://redirect.github.com/storybookjs/storybook/pull/32875), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Upgrade: Satellite compatible with 10.1 prerelease - [#&#8203;32877](https://redirect.github.com/storybookjs/storybook/pull/32877), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! ### [`v10.0.0`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1000) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v9.1.16...v10.0.0) Storybook 10 contains one breaking change: it’s ESM-only. This simplifies our distribution and reduces install size by 29% while simultaneously unminifying dist code for easier debugging. It also includes features to level up your UI development, documentation, and testing workflows: - 🧩 Module automocking for easier testing - 🏭 Typesafe CSF factories Preview for React - 💫 UI editing and sharing optimizations - 🏷️ Tag filtering exclusion and configuration for sidebar management - 🔀 Next 16, Vitest 4, Svelte async components, and more! <details> <summary>List of all updates</summary> - A11Y: Bugfix missing `manager.js` entry-file - [#&#8203;32780](https://redirect.github.com/storybookjs/storybook/pull/32780), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - A11y: Persist tab/highlight across docs navigation - [#&#8203;32762](https://redirect.github.com/storybookjs/storybook/pull/32762), thanks [@&#8203;404Dealer](https://redirect.github.com/404Dealer)! - Addon A11y: Prevent setting highlights for old results - [#&#8203;32178](https://redirect.github.com/storybookjs/storybook/pull/32178), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Addon Docs: Fix Symbol conversion issue in docs page and controls panel - [#&#8203;32220](https://redirect.github.com/storybookjs/storybook/pull/32220), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Addon Vitest: Fix incorrect file modifications during setup - [#&#8203;32844](https://redirect.github.com/storybookjs/storybook/pull/32844), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Addon Vitest: Support modifying mergeConfig on addon setup - [#&#8203;32753](https://redirect.github.com/storybookjs/storybook/pull/32753), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Addon-docs: Add eject button to canvas toolbar - [#&#8203;29825](https://redirect.github.com/storybookjs/storybook/pull/29825), thanks [@&#8203;mihkeleidast](https://redirect.github.com/mihkeleidast)! - AddonA11Y: Fix postinstall - [#&#8203;32309](https://redirect.github.com/storybookjs/storybook/pull/32309), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - AddonViewport: Stricter types - [#&#8203;32324](https://redirect.github.com/storybookjs/storybook/pull/32324), thanks [@&#8203;hpohlmeyer](https://redirect.github.com/hpohlmeyer)! - Angular: Add fileURLToPath for preview annotation paths - [#&#8203;32812](https://redirect.github.com/storybookjs/storybook/pull/32812), thanks [@&#8203;brandonroberts](https://redirect.github.com/brandonroberts)! - Angular: Fix `entry.polyfills` undefined error - [#&#8203;32230](https://redirect.github.com/storybookjs/storybook/pull/32230), thanks [@&#8203;sk-pub](https://redirect.github.com/sk-pub)! - Angular: Inherit options from browserTarget - [#&#8203;32108](https://redirect.github.com/storybookjs/storybook/pull/32108), thanks [@&#8203;gingeekrishna](https://redirect.github.com/gingeekrishna)! - AutoMigration: Fix sb10 migration when main config contains `require` - [#&#8203;32558](https://redirect.github.com/storybookjs/storybook/pull/32558), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Build: Fix dts bundling external detection - [#&#8203;32366](https://redirect.github.com/storybookjs/storybook/pull/32366), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Cleanup: Remove duplicated entrypoints in core - [#&#8203;32507](https://redirect.github.com/storybookjs/storybook/pull/32507), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - CLI: Add addon-console automigration - [#&#8203;32083](https://redirect.github.com/storybookjs/storybook/pull/32083), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - CLI: Avoid mixed CSF in files with unconventional stories - [#&#8203;32716](https://redirect.github.com/storybookjs/storybook/pull/32716), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CLI: Change message in downgrade-blocker - [#&#8203;32745](https://redirect.github.com/storybookjs/storybook/pull/32745), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - CLI: CSF factories codemod - support annotations in npx context - [#&#8203;32741](https://redirect.github.com/storybookjs/storybook/pull/32741), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CLI: Fix CSF factories addon syncing in storybook add command - [#&#8203;32728](https://redirect.github.com/storybookjs/storybook/pull/32728), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CLI: Fix throwing in readonly environments - [#&#8203;31785](https://redirect.github.com/storybookjs/storybook/pull/31785), thanks [@&#8203;JReinhold](https://redirect.github.com/JReinhold)! - CLI: Init not running `dev` when it should fixed - [#&#8203;32457](https://redirect.github.com/storybookjs/storybook/pull/32457), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - CLI: Make relative imports default in csf-factories codemod - [#&#8203;32610](https://redirect.github.com/storybookjs/storybook/pull/32610), thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)! - CLI: Switch over to modern-tar - [#&#8203;32763](https://redirect.github.com/storybookjs/storybook/pull/32763), thanks [@&#8203;ayuhito](https://redirect.github.com/ayuhito)! - Codemod: Replace `globby` with `tinyglobby` - [#&#8203;31407](https://redirect.github.com/storybookjs/storybook/pull/31407), thanks [@&#8203;benmccann](https://redirect.github.com/benmccann)! - Controls: Allow primitive values of ReactNode argType - [#&#8203;31931](https://redirect.github.com/storybookjs/storybook/pull/31931), thanks [@&#8203;alexey-kozlenkov](https://redirect.github.com/alexey-kozlenkov)! - Controls: Fix adding new values to arrays - [#&#8203;32512](https://redirect.github.com/storybookjs/storybook/pull/32512), thanks [@&#8203;takashi-kasajima](https://redirect.github.com/takashi-kasajima)! - Core: Add "open in editor" feature - [#&#8203;32452](https://redirect.github.com/storybookjs/storybook/pull/32452), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Core: Add parameter typings for addon-pseudo-state - [#&#8203;32384](https://redirect.github.com/storybookjs/storybook/pull/32384), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Dedupe aria-query and [@&#8203;testing-library/dom](https://redirect.github.com/testing-library/dom) packages - [#&#8203;32801](https://redirect.github.com/storybookjs/storybook/pull/32801), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Enhance warning for Testing Library's `screen` usage in docs mode - [#&#8203;32851](https://redirect.github.com/storybookjs/storybook/pull/32851), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Core: Ensure valid QR code URL - [#&#8203;32661](https://redirect.github.com/storybookjs/storybook/pull/32661), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix `external-globals-plugin` handle `undefined` cache dir - [#&#8203;32579](https://redirect.github.com/storybookjs/storybook/pull/32579), thanks [@&#8203;walkerburgin](https://redirect.github.com/walkerburgin)! - Core: Fix Node 24 deprecation warning - [#&#8203;32382](https://redirect.github.com/storybookjs/storybook/pull/32382), thanks [@&#8203;JReinhold](https://redirect.github.com/JReinhold)! - Core: Fix staticCopy not copying `index.html` to sub directory - [#&#8203;32259](https://redirect.github.com/storybookjs/storybook/pull/32259), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Core: Fix stepping back through story interactions panel - [#&#8203;32793](https://redirect.github.com/storybookjs/storybook/pull/32793), thanks [@&#8203;ia319](https://redirect.github.com/ia319)! - Core: Improve addon detection in automigrations on windows - [#&#8203;31937](https://redirect.github.com/storybookjs/storybook/pull/31937), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Improve es-toolkit usage for better tree-shaking - [#&#8203;32787](https://redirect.github.com/storybookjs/storybook/pull/32787), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Join framework preset path with slash - [#&#8203;32838](https://redirect.github.com/storybookjs/storybook/pull/32838), thanks [@&#8203;brandonroberts](https://redirect.github.com/brandonroberts)! - Core: Make `subtype` an optional property on an index input - [#&#8203;32602](https://redirect.github.com/storybookjs/storybook/pull/32602), thanks [@&#8203;JReinhold](https://redirect.github.com/JReinhold)! - Core: Mark pnp support as deprecated - [#&#8203;32645](https://redirect.github.com/storybookjs/storybook/pull/32645), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Core: Prevent `BAIL` state from showing in interactions panel when switching stories - [#&#8203;32172](https://redirect.github.com/storybookjs/storybook/pull/32172), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Prevent navigating to hidden (filtered) item - [#&#8203;32715](https://redirect.github.com/storybookjs/storybook/pull/32715), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Remove CJS bundles, only ship ESM - [#&#8203;31819](https://redirect.github.com/storybookjs/storybook/pull/31819), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Core: Replace es-toolkit compat imports with non-compat - [#&#8203;32837](https://redirect.github.com/storybookjs/storybook/pull/32837), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Switch from `mlly` to `exsolve` - [#&#8203;32383](https://redirect.github.com/storybookjs/storybook/pull/32383), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Update tags filter UI - [#&#8203;32343](https://redirect.github.com/storybookjs/storybook/pull/32343), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Use `exsolve` `resolveModulePath` for `safeResolveModule` - [#&#8203;32477](https://redirect.github.com/storybookjs/storybook/pull/32477), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Core: Various QA fixes - [#&#8203;32629](https://redirect.github.com/storybookjs/storybook/pull/32629), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - CoreServer: Fix `Arc can't get every window` - [#&#8203;32508](https://redirect.github.com/storybookjs/storybook/pull/32508), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - CSF: Add Storybook test syntax (Storybook v10) - [#&#8203;32455](https://redirect.github.com/storybookjs/storybook/pull/32455), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - CSF: Enhance config-to-csf-factory to support type wrappers - [#&#8203;32543](https://redirect.github.com/storybookjs/storybook/pull/32543), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Dev: Improve the browser opening experience - [#&#8203;32488](https://redirect.github.com/storybookjs/storybook/pull/32488), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Dts: Ensure `.tsx` files emit `.d.ts` type files - [#&#8203;32461](https://redirect.github.com/storybookjs/storybook/pull/32461), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Fix: Allow proceeding without selecting automigrations in upgrade command - [#&#8203;32597](https://redirect.github.com/storybookjs/storybook/pull/32597), thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)! - Fix: ESLint plugin homepage URL updates - [#&#8203;32445](https://redirect.github.com/storybookjs/storybook/pull/32445), thanks [@&#8203;VivekKavala](https://redirect.github.com/VivekKavala)! - Fix: Incorrect URLS for the upgrade command - [#&#8203;32624](https://redirect.github.com/storybookjs/storybook/pull/32624), thanks [@&#8203;jonniebigodes](https://redirect.github.com/jonniebigodes)! - Maintenance: Fix bundle size bloat caused by `SyntaxHighlighter` (`createElement`) - [#&#8203;32800](https://redirect.github.com/storybookjs/storybook/pull/32800), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Maintenance: Hotfix for missing nextjs dts files, thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Maintenance: Remove globalization for dropped entrypoints - [#&#8203;32491](https://redirect.github.com/storybookjs/storybook/pull/32491), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Mock: Catch errors when transforming preview files - [#&#8203;32216](https://redirect.github.com/storybookjs/storybook/pull/32216), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Modernize: Replace `fs-extra` with native APIs - [#&#8203;32296](https://redirect.github.com/storybookjs/storybook/pull/32296), thanks [@&#8203;y-hsgw](https://redirect.github.com/y-hsgw)! - Move: Addon jest into it's own repository - [#&#8203;32646](https://redirect.github.com/storybookjs/storybook/pull/32646), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Next.js-vite: Use `fileURLToPath` for module resolution in preset - [#&#8203;32386](https://redirect.github.com/storybookjs/storybook/pull/32386), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Next.js: Avoid multiple webpack versions at runtime - [#&#8203;32313](https://redirect.github.com/storybookjs/storybook/pull/32313), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Next.js: Remove next/config usage in Next.js >=v16 projects - [#&#8203;32547](https://redirect.github.com/storybookjs/storybook/pull/32547), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Next.js: Return mocked router instead of actual router in useRouter - [#&#8203;32131](https://redirect.github.com/storybookjs/storybook/pull/32131), thanks [@&#8203;JulioJ11](https://redirect.github.com/JulioJ11)! - Nextjs: Fix config access for Vite - [#&#8203;32759](https://redirect.github.com/storybookjs/storybook/pull/32759), thanks [@&#8203;valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Nextjs: Fix Nextjs version detection with prereleases - [#&#8203;32724](https://redirect.github.com/storybookjs/storybook/pull/32724), thanks [@&#8203;yannbf](https://redirect.github.com/yannbf)! - Onboarding: Prevent confetti overlay from intercepting pointer events - [#&#8203;32660](https://redirect.github.com/storybookjs/storybook/pull/32660), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - Onboarding: Tweak referral wording in survey - [#&#8203;32185](https://redirect.github.com/storybookjs/storybook/pull/32185), thanks [@&#8203;shilman](https://redirect.github.com/shilman)! - PreactVite: Add `node` entry point - [#&#8203;32534](https://redirect.github.com/storybookjs/storybook/pull/32534), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Presets: Support extensionless imports in TS-based presets - [#&#8203;32641](https://redirect.github.com/storybookjs/storybook/pull/32641), thanks [@&#8203;JReinhold](https://redirect.github.com/JReinhold)! - React Native: Fix document reference error in open-in-editor - [#&#8203;32572](https://redirect.github.com/storybookjs/storybook/pull/32572), thanks [@&#8203;dannyhw](https://redirect.github.com/dannyhw)! - React: Simplify version detection - [#&#8203;32802](https://redirect.github.com/storybookjs/storybook/pull/32802), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Replace: Use `empathic` over `find-up` - [#&#8203;31338](https://redirect.github.com/storybookjs/storybook/pull/31338), thanks [@&#8203;beeequeue](https://redirect.github.com/beeequeue)! - Svelte: Improve support for async components - [#&#8203;31476](https://redirect.github.com/storybookjs/storybook/pull/31476), thanks [@&#8203;JReinhold](https://redirect.github.com/JReinhold)! - Svelte: Simplify public types - use modern `Component` - [#&#8203;31394](https://redirect.github.com/storybookjs/storybook/pull/31394), thanks [@&#8203;xeho91](https://redirect.github.com/xeho91)! - SvelteKit: Add support for mocking `$app/state` - [#&#8203;31369](https://redirect.github.com/storybookjs/storybook/pull/31369), thanks [@&#8203;xeho91](https://redirect.github.com/xeho91)! - SvelteKit: Fix `set_context_after_init` error when experimental async is enabled - [#&#8203;32513](https://redirect.github.com/storybookjs/storybook/pull/32513), thanks [@&#8203;Jakeii](https://redirect.github.com/Jakeii)! - Tags: Remove undocumented x-only tags - [#&#8203;32360](https://redirect.github.com/storybookjs/storybook/pull/32360), thanks [@&#8203;shilman](https://redirect.github.com/shilman)! - Telemetry: Improve dev cancellation handling - [#&#8203;32218](https://redirect.github.com/storybookjs/storybook/pull/32218), thanks [@&#8203;shilman](https://redirect.github.com/shilman)! - Telemetry: Send index stats on dev exit - [#&#8203;32168](https://redirect.github.com/storybookjs/storybook/pull/32168), thanks [@&#8203;shilman](https://redirect.github.com/shilman)! - UI: Allow showing or hiding the addon panel - [#&#8203;32348](https://redirect.github.com/storybookjs/storybook/pull/32348), thanks [@&#8203;Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Improve sidebar empty state - [#&#8203;32548](https://redirect.github.com/storybookjs/storybook/pull/32548), thanks [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld)! - UI: Improve syntax-highlighter bundling - [#&#8203;32776](https://redirect.github.com/storybookjs/storybook/pull/32776), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! - Update: Satellite repos after major version bump - [#&#8203;32303](https://redirect.github.com/storybookjs/storybook/pull/32303), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Upgrade: Enhance ESM compatibility checks and banner generation - [#&#8203;32694](https://redirect.github.com/storybookjs/storybook/pull/32694), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Upgrade: Packages `open` - [#&#8203;32484](https://redirect.github.com/storybookjs/storybook/pull/32484), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Upgrades: Packages `boxen` `commander` `giget` - [#&#8203;32469](https://redirect.github.com/storybookjs/storybook/pull/32469), thanks [@&#8203;ndelangen](https://redirect.github.com/ndelangen)! - Vite: Optimize @&#8203;storybook/addon-docs/blocks dependency - [#&#8203;32798](https://redirect.github.com/storybookjs/storybook/pull/32798), thanks [@&#8203;mrginglymus](https://redirect.github.com/mrginglymus)! </details> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/UI5/webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQyLjQyLjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Notheis <[email protected]>
1 parent bfb916d commit edede78

File tree

6 files changed

+514
-1265
lines changed

6 files changed

+514
-1265
lines changed

.storybook/main.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { dirname, join } from 'path';
21
import type { StorybookConfig } from '@storybook/react-vite';
32
import remarkGfm from 'remark-gfm';
43
import type { StoriesEntry } from 'storybook/internal/types';
@@ -52,9 +51,8 @@ const storyList: StoriesEntry[] = isChromatic
5251

5352
const addons = [
5453
'./addons/version-switch',
55-
getAbsolutePath('@storybook/react-vite'),
5654
{
57-
name: getAbsolutePath('@storybook/addon-docs'),
55+
name: '@storybook/addon-docs',
5856
options: {
5957
mdxPluginOptions: {
6058
mdxCompileOptions: {
@@ -70,7 +68,7 @@ if (isDevMode) {
7068

7169
const config: StorybookConfig = {
7270
framework: {
73-
name: getAbsolutePath('@storybook/react-vite'),
71+
name: '@storybook/react-vite',
7472
options: {},
7573
},
7674
stories: storyList,
@@ -88,7 +86,3 @@ const config: StorybookConfig = {
8886
};
8987

9088
export default config;
91-
92-
function getAbsolutePath(value: string): any {
93-
return dirname(require.resolve(join(value, 'package.json')));
94-
}

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const preview: Preview = {
133133
controls: {
134134
sort: 'requiredFirst',
135135
},
136-
backgrounds: { disable: true },
136+
backgrounds: { disabled: true },
137137
options: {
138138
storySort: {
139139
method: 'alphabetical',

.storybook/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "./../tsconfig.base.json",
33
"compilerOptions": {
4-
"allowJs": true
4+
"allowJs": true,
5+
"allowImportingTsExtensions": true
56
},
67
"include": ["./**/*.js", "./**/*.tsx", "./**/*.ts", "../patterns/selection-assistant"]
78
}

.storybook/utils.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
import type * as CEM from '@ui5/webcomponents-tools/lib/cem/types-internal';
1+
import type * as CEM from '@ui5/webcomponents-tools/lib/cem/types-internal.js';
22
import { useEffect, useMemo, useRef, useState, useTransition } from 'react';
3-
// @ts-expect-error: storybook can handle this
4-
import cemAi from './custom-element-manifests/ai.json';
5-
// @ts-expect-error: storybook can handle this
6-
import cemFiori from './custom-element-manifests/fiori.json';
7-
// @ts-expect-error: storybook can handle this
8-
import cemMain from './custom-element-manifests/main.json';
3+
import cemAi from './custom-element-manifests/ai.json' with { type: 'json' };
4+
import cemFiori from './custom-element-manifests/fiori.json' with { type: 'json' };
5+
import cemMain from './custom-element-manifests/main.json' with { type: 'json' };
96

107
export const isChromatic = process.env.STORYBOOK_ENV === 'chromatic';
118

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
},
3838
"dependencies": {
3939
"@stackblitz/sdk": "1.11.0",
40-
"@storybook/addon-a11y": "9.1.16",
41-
"@storybook/addon-docs": "9.1.16",
42-
"@storybook/react-vite": "9.1.16",
40+
"@storybook/addon-a11y": "10.1.6",
41+
"@storybook/addon-docs": "10.1.6",
42+
"@storybook/react-vite": "10.1.6",
4343
"@ui5/webcomponents": "2.17.0",
4444
"@ui5/webcomponents-ai": "2.17.0",
4545
"@ui5/webcomponents-compat": "2.17.0",
@@ -48,7 +48,7 @@
4848
"react": "19.2.1",
4949
"react-dom": "19.2.1",
5050
"remark-gfm": "4.0.1",
51-
"storybook": "9.1.16",
51+
"storybook": "10.1.6",
5252
"tocbot": "4.36.4"
5353
},
5454
"devDependencies": {
@@ -82,7 +82,7 @@
8282
"eslint-plugin-prettier": "5.5.4",
8383
"eslint-plugin-react": "7.37.5",
8484
"eslint-plugin-react-hooks": "6.1.1",
85-
"eslint-plugin-storybook": "9.1.16",
85+
"eslint-plugin-storybook": "10.1.6",
8686
"glob": "13.0.0",
8787
"globals": "16.5.0",
8888
"husky": "9.1.7",

0 commit comments

Comments
 (0)