Commit b478255
authored
chore(deps): update react-storybook to v10.4.0 (#126)
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[@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))
| devDependencies | minor | [`10.3.6` ->
`10.4.0`](https://renovatebot.com/diffs/npm/@storybook%2freact-vite/10.3.6/10.4.0)
| `10.4.1` |
|
[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))
| devDependencies | minor | [`10.3.6` ->
`10.4.0`](https://renovatebot.com/diffs/npm/eslint-plugin-storybook/10.3.6/10.4.0)
| `10.4.1` |
| [storybook](https://storybook.js.org)
([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/core))
| devDependencies | minor | [`10.3.6` ->
`10.4.0`](https://renovatebot.com/diffs/npm/storybook/10.3.6/10.4.0) |
`10.4.1` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>storybookjs/storybook (@​storybook/react-vite)</summary>
###
[`v10.4.0`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#1040)
[Compare
Source](https://redirect.github.com/storybookjs/storybook/compare/v10.3.6...v10.4.0)
> *AI-assisted setup, change-aware review, and stronger framework
support*
Storybook 10.4 contains hundreds of fixes and improvements including:
- 🤖 Agentic Setup: New CLI workflow for AI-assisted Storybook setup and
onboarding
- 🔍 Change review: Sidebar filtering to highlight new, modified, and
related stories based on git changes
- 🧭 Sidebar review tools: Status filtering, URL-persisted filters, and
clearer review signals in the sidebar
- ⚛️ TanStack React: New `@storybook/tanstack-react` framework with
routing and server function support
- 🧩 React MCP: Faster, more accurate component docgen powered by the
TypeScript Language Server
- 📱 React Native: Zero config RN project initialization
- 🤝 Sharing: Easily publish and share your local Storybook with
teammates, powered by Chromatic
<details>
<summary>List of all updates</summary>
- A11y: Add aria-live announcements via
[@​react-aria/live-announcer](https://redirect.github.com/react-aria/live-announcer)
-
[#​33970](https://redirect.github.com/storybookjs/storybook/pull/33970),
thanks
[@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)!
- A11y: Improve boolean control contrast in forced colors mode -
[#​34204](https://redirect.github.com/storybookjs/storybook/pull/34204),
thanks [@​anchmelev](https://redirect.github.com/anchmelev)!
- Actions: Fix state mutation and keep newest actions when limit reached
-
[#​34286](https://redirect.github.com/storybookjs/storybook/pull/34286),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Addon-Docs: Add Reset story button to re-render stories in docs -
[#​34086](https://redirect.github.com/storybookjs/storybook/pull/34086),
thanks [@​6810779s](https://redirect.github.com/6810779s)!
- Addon-Docs: Avoid rerendering static Source blocks -
[#​34206](https://redirect.github.com/storybookjs/storybook/pull/34206),
thanks [@​anchmelev](https://redirect.github.com/anchmelev)!
- Addon-Vitest: Use Vitest's provide-API for injecting values -
[#​34518](https://redirect.github.com/storybookjs/storybook/pull/34518),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Agentic Setup: Add --extensive for an extra prompt -
[#​34730](https://redirect.github.com/storybookjs/storybook/pull/34730),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Agentic Setup: Allow failed stories to persist -
[#​34717](https://redirect.github.com/storybookjs/storybook/pull/34717),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Agentic Setup: Keep sample content if users want onboarding -
[#​34704](https://redirect.github.com/storybookjs/storybook/pull/34704),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Agentic Setup: Rework ai-init-opt-in logic -
[#​34739](https://redirect.github.com/storybookjs/storybook/pull/34739),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Angular: Use Story ID for renderer IDs (including standalone stories)
-
[#​33982](https://redirect.github.com/storybookjs/storybook/pull/33982),
thanks [@​ValentinFunk](https://redirect.github.com/ValentinFunk)!
- Automigration: Move RN on-device addons to `deviceAddons` -
[#​34659](https://redirect.github.com/storybookjs/storybook/pull/34659),
thanks [@​ndelangen](https://redirect.github.com/ndelangen)!
- Builder-Vite: Add onModuleGraphChange method -
[#​34323](https://redirect.github.com/storybookjs/storybook/pull/34323),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- CLI: Add automigrate check for 'storybook' package name conflict -
[#​34290](https://redirect.github.com/storybookjs/storybook/pull/34290),
thanks [@​whdjh](https://redirect.github.com/whdjh)!
- CLI: Add react-vite to tanstack-react automigration -
[#​34718](https://redirect.github.com/storybookjs/storybook/pull/34718),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- CLI: Change mock event detection -
[#​34586](https://redirect.github.com/storybookjs/storybook/pull/34586),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- CLI: Explicitly tell whether smoke tests passed or failed -
[#​34419](https://redirect.github.com/storybookjs/storybook/pull/34419),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- CLI: Fix Next.js Vite automigration corrupting configs already using
`@storybook/nextjs-vite` -
[#​34249](https://redirect.github.com/storybookjs/storybook/pull/34249),
thanks [@​nathanjessen](https://redirect.github.com/nathanjessen)!
- CLI: Fix agentic check -
[#​34678](https://redirect.github.com/storybookjs/storybook/pull/34678),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- CLI: Handle minimumReleaseAge conflicts across package managers -
[#​34769](https://redirect.github.com/storybookjs/storybook/pull/34769),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- CLI: Improve package incompatibility detection and warning -
[#​34559](https://redirect.github.com/storybookjs/storybook/pull/34559),
thanks
[@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)!
- CLI: Improve self-healing scoring observability -
[#​34699](https://redirect.github.com/storybookjs/storybook/pull/34699),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- CLI: Introduce Agentic Setup workflow -
[#​34297](https://redirect.github.com/storybookjs/storybook/pull/34297),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- CLI: Remove extensive prompt option -
[#​34740](https://redirect.github.com/storybookjs/storybook/pull/34740),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- CLI: Streamline Node.js version detection code -
[#​34440](https://redirect.github.com/storybookjs/storybook/pull/34440),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Change-Detection: Set GIT_OPTIONAL_LOCKS=0 to avoid blocking commits -
[#​34726](https://redirect.github.com/storybookjs/storybook/pull/34726),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Cli: Set ai prompt to yes if yes flag for react-vite to tanstack
migration -
[#​34743](https://redirect.github.com/storybookjs/storybook/pull/34743),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- Code: Fix inline code blocks inside links removing link affordance -
[#​33903](https://redirect.github.com/storybookjs/storybook/pull/33903),
thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)!
- Controls: Add maxPresetColors option to ColorControl -
[#​33998](https://redirect.github.com/storybookjs/storybook/pull/33998),
thanks [@​mixelburg](https://redirect.github.com/mixelburg)!
- Core: Add `ChangeDetectionService` and wire up builder-vite -
[#​34369](https://redirect.github.com/storybookjs/storybook/pull/34369),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Core: Add changeDetection feature flag -
[#​34314](https://redirect.github.com/storybookjs/storybook/pull/34314),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Core: Barrel-aware named import resolution for change detection -
[#​34675](https://redirect.github.com/storybookjs/storybook/pull/34675),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Core: Ensure process termination on SIGINT when telemetry is disabled
-
[#​34585](https://redirect.github.com/storybookjs/storybook/pull/34585),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Core: Fix "Open In Editor" support for VSCode -
[#​34747](https://redirect.github.com/storybookjs/storybook/pull/34747),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Core: Fix telemetry not handling canceling of prompts -
[#​34680](https://redirect.github.com/storybookjs/storybook/pull/34680),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Core: Implement Git change detection -
[#​34420](https://redirect.github.com/storybookjs/storybook/pull/34420),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Core: Improve startup performance by deferring change detection
initialization -
[#​34498](https://redirect.github.com/storybookjs/storybook/pull/34498),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Core: Normalize file paths in ChangeDetectionService and trace-changed
for Windows support -
[#​34445](https://redirect.github.com/storybookjs/storybook/pull/34445),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Core: Quiet change-detection regex warning and swap clear icon -
[#​34758](https://redirect.github.com/storybookjs/storybook/pull/34758),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Core: Rename preview.ts to preview.tsx in generated projects -
[#​34396](https://redirect.github.com/storybookjs/storybook/pull/34396),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- Core: Show "new" status on newly added individual stories -
[#​34504](https://redirect.github.com/storybookjs/storybook/pull/34504),
thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)!
- Dependencies: Update `vite-plugin-storybook-nextjs` to ^3.2.4 -
[#​34280](https://redirect.github.com/storybookjs/storybook/pull/34280),
thanks [@​k35o](https://redirect.github.com/k35o)!
- Docs: Ensure unique control id attributes across multiple Controls
blocks -
[#​34021](https://redirect.github.com/storybookjs/storybook/pull/34021),
thanks
[@​TheSeydiCharyyev](https://redirect.github.com/TheSeydiCharyyev)!
- Fix ArgsTable borders not visible in Windows High Contrast Mode -
[#​34264](https://redirect.github.com/storybookjs/storybook/pull/34264),
thanks
[@​TheSeydiCharyyev](https://redirect.github.com/TheSeydiCharyyev)!
- Fix: Add vite-plus vendored libraries version detection -
[#​34509](https://redirect.github.com/storybookjs/storybook/pull/34509),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- MDX: Replace `@storybook/docs-mdx` with inline implementation -
[#​34611](https://redirect.github.com/storybookjs/storybook/pull/34611),
thanks
[@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)!
- Maintenance: Add assertions outside step incorrectly nested in
interactions panel -
[#​34296](https://redirect.github.com/storybookjs/storybook/pull/34296),
thanks [@​majiayu000](https://redirect.github.com/majiayu000)!
- Maintenance: Enhance ghost stories internal tests -
[#​34707](https://redirect.github.com/storybookjs/storybook/pull/34707),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- Maintenance: Extract getBuilderOptions helper across framewo… -
[#​34260](https://redirect.github.com/storybookjs/storybook/pull/34260),
thanks [@​alex-js-ltd](https://redirect.github.com/alex-js-ltd)!
- Maintenance: Extract parseFilterParam shared helper from tags and
statuses modules -
[#​34436](https://redirect.github.com/storybookjs/storybook/pull/34436),
thanks [@​mixelburg](https://redirect.github.com/mixelburg)!
- Maintenance: Fix self healing payload -
[#​34782](https://redirect.github.com/storybookjs/storybook/pull/34782),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- Maintenance: Remove dead-code copy of wrap-getAbsolutePath-utils -
[#​34168](https://redirect.github.com/storybookjs/storybook/pull/34168),
thanks [@​mixelburg](https://redirect.github.com/mixelburg)!
- Maintenance: Use errorToErrorLike in boot-test-runner for consistent
stack deduplication -
[#​34385](https://redirect.github.com/storybookjs/storybook/pull/34385),
thanks [@​mixelburg](https://redirect.github.com/mixelburg)!
- Manager: URL-based tag filter state + filter-aware initial story
selection -
[#​34283](https://redirect.github.com/storybookjs/storybook/pull/34283),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Nextjs: Handle node builtin webpack imports -
[#​34494](https://redirect.github.com/storybookjs/storybook/pull/34494),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Onboarding: Fix checklist MDX instructions -
[#​33193](https://redirect.github.com/storybookjs/storybook/pull/33193),
thanks [@​kylegach](https://redirect.github.com/kylegach)!
- Prompt: Run vitest fewer times, improve play functions -
[#​34651](https://redirect.github.com/storybookjs/storybook/pull/34651),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- React-Docgen: Add tsconfig fallback chain and warning for monorepos -
[#​34353](https://redirect.github.com/storybookjs/storybook/pull/34353),
thanks
[@​viditkbhatnagar](https://redirect.github.com/viditkbhatnagar)!
- React: Add component metadata extraction via Volar-style
LanguageService -
[#​33914](https://redirect.github.com/storybookjs/storybook/pull/33914),
thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)!
- React: Add subcomponents to component manifests -
[#​34428](https://redirect.github.com/storybookjs/storybook/pull/34428),
thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)!
- ReactNative: Add Metro config AST codemod for init -
[#​34660](https://redirect.github.com/storybookjs/storybook/pull/34660),
thanks [@​ndelangen](https://redirect.github.com/ndelangen)!
- ReactNative: Add true entrypoint generation -
[#​34663](https://redirect.github.com/storybookjs/storybook/pull/34663),
thanks [@​ndelangen](https://redirect.github.com/ndelangen)!
- ReactNative: AppRegistry component name in template -
[#​34742](https://redirect.github.com/storybookjs/storybook/pull/34742),
thanks [@​ndelangen](https://redirect.github.com/ndelangen)!
- ReactNative: New init setup -
[#​34665](https://redirect.github.com/storybookjs/storybook/pull/34665),
thanks [@​ndelangen](https://redirect.github.com/ndelangen)!
- Refactor: Extract shared `PseudoStateGrid` component in pseudo-states
stories -
[#​34334](https://redirect.github.com/storybookjs/storybook/pull/34334),
thanks
[@​copilot-swe-agent](https://redirect.github.com/copilot-swe-agent)!
- Security: Makes sure `serialize-javascript` is at latest version -
[#​34034](https://redirect.github.com/storybookjs/storybook/pull/34034),
thanks [@​50bbx](https://redirect.github.com/50bbx)!
- Sidebar: Add dual-slot status icons for change detection and test
results -
[#​34346](https://redirect.github.com/storybookjs/storybook/pull/34346),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Sidebar: Add status-based filtering with refactored status
architecture -
[#​34339](https://redirect.github.com/storybookjs/storybook/pull/34339),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Sidebar: Fix clear filter button not refreshing story list -
[#​34737](https://redirect.github.com/storybookjs/storybook/pull/34737),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Sidebar: Fix clear status button to only clear test statuses -
[#​34478](https://redirect.github.com/storybookjs/storybook/pull/34478),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Sidebar: Show same status icon at story and group level -
[#​34702](https://redirect.github.com/storybookjs/storybook/pull/34702),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Sidebar: Soften change-detection signals + add Review CTA -
[#​34701](https://redirect.github.com/storybookjs/storybook/pull/34701),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- StatusValue: Add 'status-value:\<new|modified|affected>' -
[#​34305](https://redirect.github.com/storybookjs/storybook/pull/34305),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Svelte: Fix Vite 8 + Vitest breaking rolldown deps scanner -
[#​34783](https://redirect.github.com/storybookjs/storybook/pull/34783),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Tanstack: Add `@storybook/tanstack-react` package -
[#​34403](https://redirect.github.com/storybookjs/storybook/pull/34403),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- Tanstack: Optimize tanstack react-store -
[#​34731](https://redirect.github.com/storybookjs/storybook/pull/34731),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- Tanstack: Treeshake top-level unused functions -
[#​34760](https://redirect.github.com/storybookjs/storybook/pull/34760),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- Telemetry: Add sidebar filter telemetry for change detection -
[#​34533](https://redirect.github.com/storybookjs/storybook/pull/34533),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Telemetry: Centralize disable logic with module-level flag -
[#​34485](https://redirect.github.com/storybookjs/storybook/pull/34485),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- Telemetry: Fix delayed init events -
[#​34670](https://redirect.github.com/storybookjs/storybook/pull/34670),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Telemetry: Refactor init tracking -
[#​34629](https://redirect.github.com/storybookjs/storybook/pull/34629),
thanks
[@​Programer1804](https://redirect.github.com/Programer1804)!
- UI: Add Share section to onboarding checklist and redesign share tool
-
[#​34413](https://redirect.github.com/storybookjs/storybook/pull/34413),
thanks
[@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)!
- UI: Ensure Controls panel can scroll horizontally for now -
[#​34248](https://redirect.github.com/storybookjs/storybook/pull/34248),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- UI: Fix global shortcuts not showing region focus indicator -
[#​34201](https://redirect.github.com/storybookjs/storybook/pull/34201),
thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)!
- UI: Fix mobile navigation when renderLabel returns a React node -
[#​34262](https://redirect.github.com/storybookjs/storybook/pull/34262),
thanks
[@​Nathan54Villaume](https://redirect.github.com/Nathan54Villaume)!
- UI: Fix showing and hiding copy prompt in the correct scenarios -
[#​34706](https://redirect.github.com/storybookjs/storybook/pull/34706),
thanks [@​yannbf](https://redirect.github.com/yannbf)!
- UI: Improve interactions panel accessibility -
[#​34110](https://redirect.github.com/storybookjs/storybook/pull/34110),
thanks [@​anchmelev](https://redirect.github.com/anchmelev)!
- Vite: Use vite hook filter for performance improvements -
[#​34022](https://redirect.github.com/storybookjs/storybook/pull/34022),
thanks [@​huang-julien](https://redirect.github.com/huang-julien)!
- Vitest: Fix agent detection breaking runs -
[#​34681](https://redirect.github.com/storybookjs/storybook/pull/34681),
thanks [@​JReinhold](https://redirect.github.com/JReinhold)!
- Vue3: Clear stale args/globals when nextArgs is empty in updateArgs -
[#​34409](https://redirect.github.com/storybookjs/storybook/pull/34409),
thanks [@​whdjh](https://redirect.github.com/whdjh)!
</details>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* * * * 1" in timezone Etc/UTC,
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>1 parent c16092e commit b478255
2 files changed
Lines changed: 318 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments