Skip to content
CAI
Software that uses CAICheck a score

storybookjs/storybook

51.2

Adequate · 14 November 2026

343.7k

lines of production code

TypeScript

primary language

6

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Angular DocButton component and CSF 3 story for argTypes documentation

A new Angular component (\DocButtonComponent\) and its corresponding Storybook story have been added to the \code/frameworks/angular/template/stories/argTypes/doc-button\ location. The component serves as a test case for JSDoc handling in Storybook Docs, featuring various input types (strings, numbers, enums, objects), default values, deprecation markers, and ignored properties. The story is written in CSF 3 format and demonstrates how argTypes and default values are rendered in the documentation table, including a template-based render example.

code/frameworks/angular/template/stories/argTypes/doc-button · high confidence

Add Angular basics storybook templates

Added a comprehensive set of Storybook stories and components in the Angular basics template to demonstrate core Angular features, including component inheritance, OnPush change detection, custom pipes, dependency injection, and various styling approaches. The collection also includes examples for Angular forms (ControlValueAccessor), ng-content projection, lifecycle hooks (ngOnDestroy), and NgModule patterns such as forRoot() and custom providers.

code/frameworks/angular/template/stories/basics · high confidence

Add Angular doc-injectable template story

A new Angular template story has been added to demonstrate an injectable service with argument types. The change introduces a \DocInjectableService\ that provides itself at the root level and includes a basic story configuration using module metadata to register the service provider, allowing users to see how injectable services are documented and rendered in Angular stories.

code/frameworks/angular/template/stories/argTypes/doc-injectable, code/frameworks/angular/template/stories/core/decorators/theme-decorator · high confidence

Add Angular doc-pipe template for argTypes documentation

Introduced a new Angular pipe example (\DocPipe\) and its corresponding Storybook story within the \argTypes/doc-pipe\ template directory. This addition provides a concrete demonstration of how to document Angular pipes, including the pipe implementation that transforms strings to uppercase and a story configuration that renders the pipe in a template context, thereby enhancing the available examples for Angular users documenting component arguments.

code/frameworks/angular/template/stories/argTypes/doc-pipe · high confidence

Add Angular stories demonstrating component wrapper decorators

Added new Angular template stories in the \componentWrapperDecorator\ directory that showcase how to use \componentWrapperDecorator\ and \moduleMetadata\ to wrap components with parent wrappers. The entry includes a \ParentComponent\ and \ChildComponent\ to demonstrate passing props and handling events through the decorator chain, providing concrete examples for users implementing similar UI structures in Angular.

code/frameworks/angular/template/stories/core/decorators/componentWrapperDecorator · high confidence

Add Angular story demonstrating APP\_INITIALIZER with useFactory

A new Storybook story has been added for the Angular framework that demonstrates how to configure the APP\_INITIALIZER token using a factory function. This story allows users to visualize and test the Button component within a context where an application initializer is registered via a factory provider, helping to validate integration patterns for app startup logic in Angular applications.

code/frameworks/angular/template/stories/others/app-initializer-use-factory · high confidence

Add Angular story demonstrating preserveWhitespaces parameter

A new story file has been added to the Angular template stories to demonstrate the \preserveWhitespaces\ component parameter. This example defines a standalone Angular component with \standalone: false\ and \preserveWhitespaces: true\, allowing users to see how whitespace preservation affects template rendering in Storybook.

code/frameworks/angular/template/stories/core/parameters · high confidence

Add Angular storybook components demonstrating service injection and tokens

New Angular components have been added to the storybook core module metadata stories to demonstrate dependency injection patterns. These include a custom pipe, a dummy service, a service component that fetches data asynchronously, and a token component that utilizes InjectionTokens for optional and required dependencies. All components are explicitly configured as non-standalone (\standalone: false\) to align with the project's module-based architecture.

code/frameworks/angular/template/stories/core/moduleMetadata/angular-src · high confidence

Add Angular template components for Storybook

New Angular-specific template components (Button, Form, HTML, and Pre) have been added to the codebase to support Storybook integration. The Button component provides primary/secondary styling and size variants, the Form component utilizes Angular signals and FormsModule for validation and submission handling, the HTML component safely renders content via DomSanitizer, and the Pre component displays text or JSON objects. These components are exported via an index file to make them available for use in Angular-based stories.

code/frameworks/angular/template/components, code/frameworks/web-components-vite/template · high confidence

Add Angular template stories for module metadata and story styles

New Storybook stories have been added to demonstrate Angular-specific features: the \moduleMetadata\ directory now includes examples for configuring module metadata via default decorators, per-story metadata, and merging default with story-level metadata, while the \styles\ directory adds stories showing how to apply inline component styles to Angular templates.

code/frameworks/angular/template/stories/core/moduleMetadata, code/frameworks/angular/template/stories/core/styles · high confidence

Add Ember CLI integration test storybook

A new Ember CLI-based test storybook has been added to the \test-storybooks\ suite to validate Storybook's integration with Ember applications. This demo app includes a full Ember project structure (configuration, build output, and components) and is configured to use the \@storybook/ember\ framework with specific addons (a11y, docs, links). The setup enables addon documentation integration and configures Webpack fallbacks for Node.js built-in modules to ensure compatibility in the browser environment.

test-storybooks · high confidence

Add Expo and standard React Native entrypoint templates with Lite UI and AsyncStorage support

The React Native Storybook generator now includes dedicated entrypoint templates for both standard React Native (index.js) and Expo (index.expo.js) projects. These templates integrate the new @storybook/react-native-ui-lite package as the default UI component and configure AsyncStorage for persisting selection state, providing a more robust and modern starting point for users setting up Storybook in their React Native applications.

code/lib/create-storybook/templates/react-native · high confidence

Add HTML template components for Button, Form, Pre, and Html

The HTML renderer now includes a set of template components (Button, Form, Pre, Html) that are registered globally under \\_\_TEMPLATE\COMPONENTS\\_\. The Button component renders a clickable button using the provided label and click handler. The Form component creates a form with an input field, handles submission by preventing the default event, simulates a brief processing delay, and calls the \onSuccess\ callback with the input value. The Pre component displays text or JSON objects with a specific test ID and style. The Html component provides a basic div wrapper. These components are exported via an index file and made available to the HTML storybook renderer.

code/renderers/html/template/components · high confidence

Add HTML/Vite template with Storybook component examples

The HTML/Vite project template now includes a complete set of Storybook examples for both JavaScript and TypeScript. This adds ESLint configuration, component implementations (Button, Header, Page), and corresponding story files that demonstrate component-driven development, including interaction testing for the Page component.

code/frameworks/html-vite/template · high confidence

Add Next.js + Vite TypeScript template files

The Next.js + Vite CLI template now includes the core TypeScript source files and story definitions for the example application. This adds the \Button\, \Header\, and \Page\ components along with their corresponding \.stories.ts\ files, providing a complete, runnable example for users scaffolding a new project with this framework combination.

code/frameworks/nextjs-vite/template/cli/ts · high confidence

Add Next.js 14 Storybook template stories

The Next.js template now includes a comprehensive suite of Storybook stories demonstrating core Next.js 14 features, including dynamic imports, Google and local fonts, image optimization (with Avif and blur placeholders), navigation hooks (app router and legacy router), React Server Components (RSC), and styled JSX. These stories utilize the \@storybook/nextjs\ preset and \storybook/test\ for assertions, providing developers with verified examples of how to integrate and test Next.js-specific components in Storybook.

code/frameworks/nextjs/template/stories · high confidence

Add Next.js Vite template stories for core framework features

The nextjs-vite framework template now includes a comprehensive suite of example stories demonstrating Next.js capabilities, including navigation (Router and App Router), caching, dynamic imports, image optimization, fonts, server components, and server actions. These stories provide interactive examples and automated tests to help users verify their Next.js integration with Storybook.

code/frameworks/nextjs-vite/template/stories · high confidence

Add Next.js image import support to Storybook

The next-image plugin now intercepts imports of \next/image\ and \next/legacy/image\, providing mocked components that render the original Next.js image with a default loader and context. It also handles static image assets (png, jpg, svg, etc.) by resolving them via Vite or Node require, probing their dimensions using probe-image-size, and generating virtual modules to ensure stable, short IDs even in deeply nested monorepo paths. This allows Storybook stories using Next.js image components to load and display correctly without the Next.js server.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-image · high confidence

Add Nuxt generator for Storybook initialization

The Storybook CLI now includes a dedicated generator for Nuxt projects, enabling users to scaffold Storybook configurations specifically for Nuxt applications. This generator automatically configures the Nuxt module (@nuxtjs/storybook), sets up story paths for Vue 3 components and MDX files (conditionally including MDX if the docs feature is enabled), and handles dependency installation requirements unique to Nuxt environments.

code/lib/create-storybook/src/generators/NUXT · high confidence

Add Options API component template with typed props and emits

A new Vue 3 component template using the Options API has been added to the stories renderer. It demonstrates defining props with defaults (number, object, array, and complex function-based defaults) and typed emits with validation logic, providing a concrete example for users generating or inspecting component metadata in a Vite + TypeScript setup.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/options-api · high confidence

Add OrderHistory component with API fetching logic

Added the OrderHistory component which fetches order data from the /api/orders endpoint and displays it in a list, handling loading, error, and empty states.

agent-eval/evals/815-write-stories-for-fetching-component-without-msw · high confidence

Add Preact Storybook template with component stories and interaction tests

The CLI template for Preact now includes a Storybook configuration with ESLint rules tailored for Preact (disabling React-specific scope and prop-type checks). It provides example components (Button, Header, Page) with corresponding stories, including an interaction test on the Page component that simulates a user logging in via the Storybook test utilities.

code/frameworks/preact-vite/template · high confidence

Add Preact template components

The Preact renderer now includes a set of template components (Button, Form, Html, Pre) that are registered globally as \\_\_TEMPLATE\COMPONENTS\\_\. These components provide the basic UI primitives required for the Preact sandbox environment, enabling users to interact with standard form inputs, buttons, and HTML rendering within Preact-based stories.

code/renderers/preact/template/components · high confidence

Add React Native Web Vite generator to create-storybook

The create-storybook tool now includes a dedicated generator for React Native Web projects using the Vite builder. This new generator automatically installs the necessary dependencies (vite, react-native-web, and prop-types for JavaScript projects) and cleans up any existing CSS files in the stories target directory during configuration, enabling users to scaffold React Native Web Storybook configurations more easily.

_code/lib/create-storybook/src/generators/REACT\_NATIVE\WEB · high confidence

Add Reshaped Storybook and Vite app evaluation templates

New template directories for agent evaluation have been added, including a Reshaped Storybook setup and a standard Vite app. The Reshaped Storybook template configures Storybook with the 'slate' theme, integrates MSW for mocking, and sets up Vitest with Playwright for browser-based story testing. Both templates include necessary configuration files such as ESLint, PostCSS, TypeScript, and Vite configs, along with launch configurations for debugging Storybook.

agent-eval/templates · high confidence

Add SOLID framework generator configuration

The create-storybook tool now includes a dedicated generator for the SOLID framework. This new module registers SOLID as a supported project type, renderer, and framework, and configures it to use Vite as the default builder. When users generate a new Storybook configuration for SOLID, the tool will automatically set up the environment with component addition enabled by default.

code/lib/create-storybook/src/generators/SOLID · high confidence

Add Storybook and Vitest configuration for the UI package

The UI package now includes Storybook and Vitest configuration files to support component documentation and testing. This adds a Storybook setup using the React Vite framework with accessibility, documentation, and MCP addons, alongside a Vitest configuration that integrates Storybook tests via the addon-vitest plugin using Playwright for browser-based testing. Additionally, a new Card component is introduced with associated stories and TypeScript types, and a tsconfig.json is added to define the build environment for the package.

agent-eval/templates/monorepo/packages/ui · high confidence

Add Storybook stories and metadata for the demo-wc-card web component

The web-components template now includes Storybook integration for the \demo-wc-card\ component. This adds a story file (\demo-wc-card.stories.js\) demonstrating the card's front/back toggle, header, and prefix slot, along with \custom-elements.json\ and \custom-elements-experimental.json\ manifests that document the component's API (attributes, properties, events, CSS parts/variables) for Storybook's ArgsTable. A \preview.js\ configures Storybook to use the custom elements manifest, and a \script.stories.js\ file is added to demonstrate script rendering scenarios.

code/renderers/web-components/template/stories · high confidence

Add Storybook stories for Angular model() signal component

Added a new Storybook story set for the Angular \model()\ signal feature, including a \ColorPickerComponent\ and its associated CSS and story definitions. The stories demonstrate two-way binding via the synthesized \colorChange\ output, allowing users to interact with the component in the Storybook UI to verify that input updates reach the component and that emitted changes round-trip back to the story args and trigger actions.

_code/frameworks/angular/template/stories\angular-cli-default-ts/model-signal · high confidence

Add Storybook story for ESBuild metafile bundle analysis

A new Storybook story has been added to the bench area that allows users to select and view ESBuild metafiles via a bundle analyzer iframe. The story dynamically loads metafile JSON files from the project, maps directory names to Storybook package names (handling special cases like 'core' mapping to 'storybook'), and provides a dropdown to switch between different package build outputs for inspection.

code/.storybook/bench · high confidence

Add Storybook story for unknown component issue

A new Storybook story has been added for the '12009 unknown component' issue, demonstrating the Button component with the text 'Unknown component'. The story uses the CSF 3 format with explicit type imports and relies on auto-titling rather than a manual title configuration.

code/frameworks/angular/template/stories/others/issues · high confidence

Add Storybook template components for SvelteKit CLI

The JavaScript SvelteKit CLI template now includes Storybook integration with pre-built component stories. New files for Button, Header, and Page components (along with their corresponding .stories.svelte files) are added to the template, providing a starting point for component-driven development and visual testing within the generated project.

code/frameworks/svelte-vite/template/cli · high confidence

Add Storybook template components for SvelteKit CLI

The JavaScript SvelteKit CLI template now includes Storybook integration with pre-built component stories. New files for Button, Header, and Page components (along with their corresponding .stories.svelte files) are added to the template, providing a starting point for component-driven development and visual testing within the generated project.

code/frameworks/sveltekit/template/cli/js · high confidence

Add SvelteKit module stories for environment, forms, navigation, paths, state, and stores

The SvelteKit skeleton template now includes a comprehensive set of Storybook stories demonstrating core framework modules. New \.svelte\ components and corresponding \.stories.js\ files cover \$app/environment\ (browser, dev, building, version), \$app/forms\ (form enhancement), \$app/navigation\ (goto, invalidate, push/replace state, afterNavigate), \$app/paths\ (assets, base), \$app/state\ (page, navigating, updated), and \$app/stores\ (page, navigating, updated via getStores). These stories allow users to visually inspect and interact with SvelteKit's built-in APIs in isolation, with mock parameters provided for deterministic testing of state and store values.

_code/frameworks/sveltekit/template/stories\svelte-kit-skeleton-ts · high confidence

Add TanStack React CLI template with Storybook integration

New template files have been added for the TanStack React CLI framework, providing a complete starter kit that includes React components (Button, Header, Page) and their corresponding Storybook stories. The Page component utilizes @tanstack/react-router for file-based routing, and the stories are configured to work with @storybook/tanstack-react, including interaction tests for user flows like logging in and out.

code/frameworks/tanstack-react/template/cli · high confidence

Add TanStack React generator to Storybook CLI

The Storybook CLI now includes a dedicated generator for TanStack React applications. When initializing a new project with this type, the setup automatically configures the React renderer, Vite builder, and the TanStack React framework, while also installing the @tanstack/react-query and @tanstack/react-router packages to support data fetching and routing out of the box.

code/lib/create-storybook/src/generators/TANSTACK · high confidence

Add TypeScript Vue 3 component template for story metadata generation

A new TypeScript component template has been added to the Vue 3 renderer output for generating story metadata. This template defines a Vue 3 component using the \defineComponent\ API, accepting a required string prop \foo\ and an optional number prop \bar\, and renders these props as a JSON string for inspection.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/ts-component · high confidence

Add Vapor mode support with opt-in interop and demo stories

This location introduces a Vapor-mode component (VaporButton.vue) and a corresponding story set (VaporButton.stories.ts) that demonstrates rendering Vapor components within Storybook's VDOM environment, including named slots, decorators, and reactive globals. To enable this, the preview configuration (preview.ts) now opt-in registers Vue's vaporInteropPlugin via the setup hook, allowing Vapor components to interoperate with the standard VDOM app Storybook creates.

_code/renderers/vue3/template/stories\vue3-vite-prerelease-ts · high confidence

Add Vue 3 component example demonstrating typed event definitions

A new Vue 3 component has been added to the reference-type-events template to demonstrate how to define and emit typed events using TypeScript interfaces and the defineEmits helper. The component exposes three distinct events ('foo', 'bar', and 'baz') with varying payload structures, providing a concrete example for users to understand event typing in Vue 3 with Vite and TypeScript.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/reference-type-events · high confidence

Add Vue 3 component-meta story templates for slots, enums, and model bindings

The Vue 3 Vite TypeScript template now includes a set of story files under \component-meta\ that demonstrate how the \vue-component-meta\ docgen plugin handles specific Vue 3 features. New stories cover \defineModel\ bindings, slot bindings (including named and v-bind slots), TypeScript enum props (both imported and local enums), and named TypeScript exports. These additions ensure that the generated documentation correctly reflects control types and metadata for these modern Vue patterns.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta · high confidence

Add Vue 3 template components to the renderer

The Vue 3 renderer now includes a set of template components (Button, Form, Html, and Pre) that are registered globally for use in generated projects. The Button component supports primary/secondary styles, three sizes (small, medium, large), and custom background colors. The Form component provides a basic input with submission handling and a completion state. The Html component renders raw HTML content, and the Pre component displays text or JSON objects with optional styling. These components are exported via an index file that assigns them to a global template registry.

code/renderers/vue3/template/components · high confidence

Add agent-eval templates for monorepo and Vite applications

The agent-eval directory now includes starter templates for two project structures: a Vite-based single-package app and a monorepo setup. The Vite template provides a basic application with custom Button and Tag components, while the monorepo template defines a shared UI package (exporting a Card component) and an app package that consumes it. These templates serve as reference implementations for evaluating agent capabilities in scaffolding and structuring React projects.

(repo-wide) · high confidence

Add class-slots component template with typed slot definitions

A new Vue 3 component template has been added to the stories renderer for the 'class-slots' component-meta scenario. This template defines a component with two typed slots ('default' accepting a number and 'foo' accepting a string) using TypeScript, ensuring type safety for slot content in generated stories.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/class-slots · high confidence

Add intent survey to onboarding checklist

The onboarding flow now includes a guided intent survey, accessible via the checklist, which collects user preferences regarding their building focus, areas of interest, and discovery source. The survey is implemented as a controlled modal component that validates required selections before submission and sends the collected data as a new telemetry event upon completion.

code/addons/onboarding/src/features/IntentSurvey · high confidence

Add local esbuild bundle analyzer for Storybook benchmarks

A local, self-contained bundle size analyzer (HTML, CSS, and JavaScript) has been added to the Storybook benchmarking tool. This standalone interface allows users to visualize esbuild metafiles directly within the Storybook environment, supporting treemap, sunburst, and flame chart views, as well as dark mode and large file handling.

code/.storybook/bench/bundle-analyzer · high confidence

Add ngx-translate Storybook configuration guide

Added a README.mdx file to the Angular ngx-translate template that provides documentation and code examples for configuring ngx-translate within Storybook, including setup via decorators and provider injection.

code/frameworks/angular/template/stories/others/ngx-translate · high confidence

Add renderer-agnostic accessibility template stories

The accessibility addon now includes a new set of renderer-agnostic stories located in \addons/a11y/template/stories\. These stories demonstrate how to configure and test accessibility rules using the \Html\ template component, covering scenarios such as violation detection, passing checks, context scoping (including Shadow DOM and iframe contexts), and configuration options like disabling specific checks or snapshots.

code/addons/a11y/template · high confidence

Add signal-based Angular button component and stories

New signal-based button components and corresponding Storybook stories have been added to the Angular CLI templates (both default and prerelease sandboxes). These templates demonstrate how to use Angular's new \input\ and \output\ signals for component properties and events, providing a modern alternative to traditional decorators for users adopting the latest Angular APIs.

_code/frameworks/angular/template/stories\angular-cli-default-ts/signal · high confidence

Add storybook-addon-pseudo-states for testing CSS pseudo states

The \storybook-addon-pseudo-states\ package has been added to the monorepo, enabling users to force and toggle CSS pseudo states (such as \:hover\, \:focus\, and \:active\) within Storybook. The addon works by rewriting document stylesheets to inject alternative class-based selectors (e.g., \.pseudo-hover\) and applying these classes to the story container or specific elements via the \pseudo\ parameter. It includes a manager toolbar for interactive toggling, supports targeting specific elements via CSS selectors, handles nested CSS rules and \@layer\ at-rules, and correctly manages Shadow DOM boundaries and portal elements.

code/addons/pseudo-states · high confidence

Add template stories for the Themes addon

Added template story files (decorators, globals, parameters) to the Themes addon that demonstrate how to apply themes using class names, data attributes, and JSX providers. These stories utilize the internal \sb\theme\ global and the \\\_TEMPLATE\COMPONENTS\\_\ placeholder to showcase theme configuration via Storybook globals and parameters.

code/addons/themes/template · high confidence

Add web-components template components (Button, Form, Html, Pre)

The web-components renderer now includes a set of template components—Button, Form, Html, and Pre—registered in the global \\_\_TEMPLATE\COMPONENTS\\_\ object. These components render into the light DOM (via \createRenderRoot\ returning \this\) to facilitate testing and interaction, with the Button component supporting primary/secondary modes and sizes, the Form component handling submission events, the Html component injecting raw content, and the Pre component displaying text or JSON objects.

code/renderers/web-components/template/components · high confidence

Added DemoWcCard web component for flipping card interactions

A new demo web component, \demo-wc-card\, has been added to the web-components template stories. This component implements a flip-card UI pattern with front and back sides, allowing users to toggle between views via a button click. It supports customizable headers, data rows, and CSS properties for styling the header font size and front/back text colors, exposing \front\ and \back\ parts for further customization.

code/renderers/web-components/template/stories/demo-wc-card · high confidence

Added React compatibility demo for Preact renderer

The Preact renderer template now includes a new story demonstrating React compatibility. A new \React.jsx\ file defines functional and class components using the React API, and \react-compat.stories.jsx\ renders these components to show how Preact handles React-style code.

code/renderers/preact/template/stories · high confidence

Added Storybook documentation for core template examples

A new README.mdx file has been added to the core Angular template stories directory to document Storybook's native features. This file serves as a landing page for examples that highlight Storybook's built-in functionality without requiring additional addons.

code/frameworks/angular/template/stories/core · high confidence

Added TypeScript component template for named exports in Vue 3

A new Vue 3 component template has been added to the \ts-named-export\ location, demonstrating how to define components with named exports using TypeScript. The template includes two example components (\ComponentA\ and \ComponentB\) that utilize Vue's \defineComponent\ and \h\ function, showcasing prop definitions with JSDoc annotations for metadata like default values, control types, and groups. This serves as a reference implementation for generating stories from components that export their definitions by name rather than as default exports.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/ts-named-export · high confidence

Added Vue 3 component templates for defineModel and defineSlots meta testing

New component templates have been added to the Vue 3 renderer storybook to support testing of component metadata extraction for the new \defineModel\ API and the \defineSlots\ type declaration. The \define-model\ template demonstrates a basic v-model binding using \defineModel\<string\>()\, while the \define-slots\ template showcases various slot definitions including typed props, named slots, and different binding patterns (default, named, and v-bind), enabling better validation of how these Vue 3.4+ features are reflected in component metadata.

_code/renderers/vue3/template/stories\_vue3-vite-default-ts/component-meta/define-model, code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/define-slots · high confidence

Added docgen test stories for Svelte component prop types

The Svelte-Vite template now includes a new set of docgen test stories (under \docgen/\) for both JavaScript and TypeScript variants. These stories introduce components that exercise a wide range of prop types—including literals, unions, intersections, enums, records, and Svelte snippets—and pass the inferred \argTypes\ to the UI, allowing users to verify that Storybook correctly documents and displays these complex type definitions in the autodocs interface.

_code/frameworks/svelte-vite/template/stories\svelte-vite-default-ts · high confidence

Added example Button component and Storybook stories

The onboarding example-stories location now includes a new Button component (Button.tsx), its associated styles (button.css), and Storybook stories (Button.stories.tsx). This provides users with a concrete, customizable UI example demonstrating how to structure components and define stories within the onboarding addon context.

code/addons/onboarding/example-stories · high confidence

Added reference-type-exposed component template for Vue 3

A new Vue 3 component template has been added to the storybook renderer configuration to demonstrate exposing specific reactive properties. The component uses \defineExpose\ to make a string label and a numeric count available to parent components, providing a concrete example for testing component metadata and exposed API reflection in the Vue 3 Vite default TypeScript template.

_code/renderers/vue3/template/stories\vue3-vite-default-ts/component-meta/reference-type-exposed · high confidence

Added sample UI components for agent evaluation scenarios

New React components have been added to the agent-eval directory to support specific evaluation scenarios. This includes a ReviewCard component (used across scenarios 803, 804, 805, and 806) that displays author, rating, and comment data, and an AlertBanner component (scenario 804) that supports multiple variants and dismissible actions. Scenario 805 also introduces utility functions for rating formatting and clamping. These components serve as test fixtures for evaluating agent capabilities in editing, story writing, refactoring, and browsing tasks.

(repo-wide) · high confidence

Added sample UI components for agent-eval test scenarios

The agent-eval directory now includes reusable React component implementations (PlanCard, Button, StatusPill) used as fixtures for various evaluation scenarios. These components provide the visual elements required for testing story previews, accessibility checks, and test execution within the agent-eval framework.

(repo-wide) · high confidence

Configure global Vue components and plugins in Storybook preview

The Storybook preview configuration for Vue 3 now automatically registers a global \GlobalButton\ component and installs a custom plugin that provides a \$greetingMessage\ method, along with providing a \someColor\ token, making these resources available across all stories without manual setup.

code/renderers/vue3/template/stories · high confidence

Demo counter component with comprehensive Storybook coverage

A new \demo-wc-counter\ web component has been added to the default Lit/Vite/TypeScript template, exposing a full range of Custom Elements Manifest categories including attributes, properties, slots, CSS parts, CSS states, and CSS custom properties. This component is accompanied by a detailed Storybook story file that demonstrates and tests each binding category, along with a \custom-elements.json\ manifest that documents the component's public API for tooling and documentation purposes.

_code/renderers/web-components/template/stories\lit-vite-default-ts · high confidence

ESLint plugin exposes meta information and provides a Storybook-aware rule tester

The ESLint plugin now explicitly exposes package metadata (name and version) via a \meta\ object on both the default export and the namespace export, ensuring consumers can programmatically identify the plugin version. Additionally, a new \test-utils\ module introduces a \StorybookRuleTester\ that extends \@typescript-eslint/rule-tester\ to automatically inject a default filename (\MyComponent.stories.js\) into test cases, simplifying the process of writing and running tests for Storybook-specific ESLint rules.

code/lib/eslint-plugin/src · high confidence

ESLint plugin now provides flat config presets

The ESLint plugin now ships with native support for ESLint's new flat configuration format. New TypeScript files have been added in the \src/configs/flat\ directory to export pre-configured rule sets, including \recommended\, \csf\ (Component Story Format), \csf-strict\, and \addon-interactions\. These configs allow users to easily adopt Storybook linting rules by importing the flat config objects directly, replacing the need for the older \.eslintrc\-based setup.

code/lib/eslint-plugin/src/configs/flat · high confidence

ESLint plugin now supports ESLint v9 flat config and bundles CSF helpers

The ESLint plugin for Storybook now supports ESLint v9's flat configuration style (eslint.config.js) in addition to the legacy .eslintrc format, allowing users to integrate the plugin using the modern configuration approach. The plugin bundles its own CSF helpers, meaning users no longer need to install the full Storybook package just to load the ESLint plugin in shared monorepo presets. The plugin also adds support for running via oxlint and includes updated documentation and contributing guides.

code/lib/eslint-plugin · high confidence

Expanded Next.js API mocks for Storybook and Vitest

The \vite-plugin-storybook-nextjs\ plugin now provides comprehensive mocks for several Next.js modules, allowing components using these APIs to run in Storybook and Vitest environments. New mocks include \next/cache\ (supporting \cacheLife\, \cacheTag\, and related utilities), \next/headers\ (mocking \headers()\ and \cookies()\), \next/dynamic\ (with support for \ssr: false\), \next/link\ (including \useLinkStatus\ and trailing slash normalization), and \next/navigation\/\next/router\ (mocking navigation actions and hooks). The plugin also aliases \server-only\ and \safe-stable-stringify\ to prevent runtime errors, and includes compatibility handling for Next.js versions prior to 15.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-mocks · high confidence

HTML renderer now supports dynamic source code extraction for docs

The HTML renderer now includes a \sourceDecorator\ that automatically extracts and displays the source code of stories in the documentation panel. This feature is enabled by default for args stories, using dynamic source generation (\SourceType.DYNAMIC\) to capture the rendered HTML. The renderer also introduces a \setProjectAnnotations\ API for configuring global preview settings and enhances \argTypes\ by default. Additionally, the renderer supports rendering stories from string templates, DOM elements, or component functions, and uses \happy-dom\ for testing.

code/renderers/html · high confidence

Initial SvelteKit framework integration for Storybook

This change introduces the \@storybook/sveltekit\ framework, providing a dedicated integration for SvelteKit applications. It includes a preset that configures the Vite builder, disables incompatible SvelteKit plugins (such as \vite-plugin-sveltekit-guard\ and \vite-plugin-sveltekit-compile\), and applies configuration overrides to ensure SSR is disabled during the Storybook build process. The integration provides comprehensive mocks for SvelteKit's internal modules (\$app/navigation\, \$app/stores\, \$app/forms\, \$app/state\) to allow components using these features to render in Storybook. It also exposes a \setProjectAnnotations\ API for configuring global story settings and a \MockProvider\ decorator to manage SvelteKit context and state within stories.

code/frameworks/sveltekit · high confidence

Initial release of the Preact + Vite framework integration

Storybook now supports Preact with Vite as a first-class framework. This change introduces the \@storybook/preact-vite\ package, which provides the necessary preset and configuration to integrate Preact components with the Vite builder. Users can now develop, document, and test Preact UI components in isolation using the Vite build tool, leveraging the existing Storybook Preact renderer and Vite builder infrastructure.

code/frameworks/preact-vite · high confidence

Initial release of the Vite plugin for Next.js integration in Storybook

This change introduces the \vite-plugin-storybook-nextjs\ package, which enables Storybook to work with Next.js applications by providing a Vite plugin that handles Next.js-specific configuration. The plugin automatically detects Next.js and Vite versions to apply appropriate compatibility layers, such as using native \tsconfigPaths\ on Vite 8+ or falling back to the \vite-tsconfig-paths\ plugin on earlier versions. It configures module resolution aliases for React and React DOM to use Next.js's compiled versions, ensures critical Next.js internal modules are pre-bundled via \optimizeDeps.include\ to prevent resolution errors in development, and supports Next.js features like \next/font\, \next/image\, \next/dynamic\, and environment variable injection. The implementation includes dedicated plugins for Next.js environment variables, SWC transformation, dynamic imports, image handling, and mocking, along with type definitions and tests to ensure stability across different Next.js and Vite versions.

code/lib/vite-plugin-storybook-nextjs/src · high confidence

Introduce @storybook/addon-themes for preview theme switching

Adds the new @storybook/addon-themes package, enabling users to switch between multiple themes (e.g., light/dark) for components in the Storybook preview. The addon provides decorators like withThemeByClassName, withThemeByDataAttribute, and withThemeFromJSXProvider to apply themes via CSS classes, data attributes, or JSX context. It includes a manager-side ThemeSwitcher tool for interactive switching and supports configuration via globals and parameters, with specific integration guides for libraries like MUI, Tailwind, and Bootstrap.

code/addons/themes · high confidence

Introduce @storybook/addon-vitest for integrated Storybook testing

Adds the new @storybook/addon-vitest package, which integrates Vitest test results directly into the Storybook UI. This includes a manager-side testing widget (TestProviderRender) that displays test statuses, progress, and error details, along with a GlobalErrorModal for handling fatal errors and unhandled exceptions. The addon also provides a postinstall script to automatically configure Vitest for Storybook projects, including specific auto-wiring logic for Angular projects via the storybookAngularVitest bridge, and exposes configuration options such as initialGlobals and coverage settings.

code/addons/vitest · high confidence

Introduce @storybook/mcp package for hosted Storybook documentation

This change introduces the \@storybook/mcp\ package, providing a standalone, hosted runtime for Storybook's documentation tools. It exposes an MCP handler (\createStorybookMcpHandler\) that serves documentation tools (\docs-list\, \docs-show\, \docs-show-story\) via HTTP, allowing external agents to query component and story documentation without requiring a full Storybook installation. The package supports multi-source composition, enabling agents to fetch manifests from multiple Storybook instances (local and remote) through a unified interface, and includes server-level instructions to guide agent behavior.

code/lib/mcp/src · high confidence

Introduce @storybook/tanstack-react framework with routing and server-side mocks

Storybook now includes a dedicated framework for TanStack React, enabling developers to develop, document, and test UI components in isolation with built-in support for TanStack Router and TanStack Start. This release adds a new \@storybook/tanstack-react\ package that provides mocks for TanStack Router (including \Link\, \Navigate\, and hooks like \useNavigate\) to allow navigation testing without side effects, and mocks for TanStack Start server functions and server-only modules to ensure browser compatibility. The framework includes Vite plugins for module interception and server-code elimination, a custom \createFileRoute\ implementation to handle pathless file routes correctly, and a preset configuration that filters out incompatible plugins like Cloudflare's Vite plugin.

code/frameworks/tanstack-react · high confidence

Introduce @storybook/vue3-vite framework with vue-component-meta support

A new \@storybook/vue3-vite\ framework package is added, providing a dedicated Vite-based builder for Vue 3 projects. This framework introduces support for \vue-component-meta\ (Volar) as a modern docgen engine, offering improved type documentation for props, events, and slots compared to the legacy \vue-docgen-api\. The \vue-docgen-api\ engine is now deprecated in favor of \vue-component-meta\ or the upcoming server-side docgen, and users can explicitly configure the docgen plugin via the framework options in \main.ts\.

code/frameworks/vue3-vite · high confidence

Introduce HTML Vite framework support

Added a new \html-vite\ framework package that enables Storybook for HTML projects to use Vite as the build tool. This includes a preset configuration that wires up \@storybook/builder-vite\ and \@storybook/html/preset\, TypeScript definitions for the Vite-specific configuration schema, and a \defineMain\ helper for Node.js environments to streamline setup.

code/frameworks/html-vite · high confidence

Introduce React Native Web Vite framework integration

This change adds a new Storybook framework for React Native Web that uses Vite as its build tool. It integrates the \vite-plugin-rnw\ to handle React Native Web compilation and \vite-tsconfig-paths\ for path alias resolution. Users can configure the framework via \main.ts\, specifying options such as \modulesToTranspile\ to ensure specific libraries (like \react-native\ or \expo\) are transpiled for the web, and \pluginReactOptions\ to customize the JSX runtime (defaulting to automatic) and Babel settings. The package exposes entry points for the preset, Vite plugin, and node-side configuration helpers.

code/frameworks/react-native-web-vite · high confidence

Introduce Storybook CLI wrapper package

A new \code/lib/cli-sb\ package has been added to the repository, serving as a wrapper for the \@storybook/cli\ npm package. The package exposes an entry point (\index.js\) that dynamically imports the internal dispatcher, and includes configuration files for the NX build system (\project.json\) and Vitest testing (\vitest.config.ts\).

code/lib/cli-sb · high confidence

Introduce Storybook Claude Code plugin with skills and marketplace descriptors

This change adds the Storybook plugin for Claude Code (and Claude Desktop), enabling agents to build, preview, and test UI components. It includes marketplace and plugin manifests, a set of agent skills (init, setup, upgrade, component-docs, and ui-workflow) that guide agents through Storybook workflows, and a build script that renders these skills for the Codex plugin. The plugin requires Storybook 11.0 or later and connects agents to the Storybook MCP server via the \storybook tools\ CLI.

code/lib/claude-plugin · high confidence

Introduce Storybook Preact renderer

Adds a new Preact renderer to Storybook, enabling developers to build, document, and test Preact components in isolation. This change introduces the core rendering logic via \renderToCanvas\ and \render\ functions, a preset configuration that aliases React to Preact/compat, and entry points for preview and documentation modes. It also provides TypeScript definitions for \Meta\, \StoryObj\, and \Decorator\ types to ensure type safety for Preact component props and story arguments, along with a \setProjectAnnotations\ API for configuring global preview settings.

code/renderers/preact · high confidence

Introduce Storybook for React & Vite framework

This change introduces the new \@storybook/react-vite\ framework, providing a Vite-based builder for React projects. It includes a preset that configures the Vite builder and renderer, and integrates \react-docgen\ (with support for \react-docgen-typescript\) to generate component metadata. The implementation features a custom docgen resolver to handle TypeScript path aliases and ESM module resolution, along with a \defineMain\ helper for configuration. Tests are included to verify docgen behavior with and without project Babel configurations.

code/frameworks/react-vite, code/frameworks/svelte-vite · high confidence

Introduce Storybook framework for Next.js with Vite

This change introduces the \@storybook/nextjs-vite\ framework, providing a new way to integrate Storybook with Next.js applications using the Vite builder. It includes a preset that configures Vite, handles PostCSS normalization for Next.js compatibility, and sets up aliases for \styled-jsx\. The framework provides comprehensive mocks for Next.js APIs, including \next/link\ (with trailing slash and \as\ prop support), \next/navigation\ (supporting catch-all routes and array parameters), \next/router\, \next/headers\, and \next/cache\. It also features decorators for Head Manager, Image handling, and routing (both App Router and Page Router), along with utilities for portable stories to reuse components outside of Storybook.

code/frameworks/nextjs-vite · high confidence

Introduce Webpack5 builder with module mocking and change detection

The \@storybook/builder-webpack5\ package is now available to build the Storybook preview iframe using Webpack 5. This builder includes a new change detection adapter that accurately tracks file additions, changes, and deletions during watch mode, and a module mocking system (via \WebpackMockPlugin\ and related loaders) that allows \sb.mock()\ calls in the preview config to replace modules with mocks or automocks. It also provides default Webpack configuration for CSS and static assets, and handles long chunk filenames to prevent filesystem issues.

code/builders/builder-webpack5 · high confidence

Introduce agentic-reference comparison pipeline with cell-based analysis and HTML reporting

The \agent-eval/lib/agentic-reference/comparison\ module now provides a complete comparison workflow for agentic-reference experiments. It builds comparison cells by pooling runs across batches, explicitly handling superseded, unanalyzed, and infra-failure states to identify data gaps. The pipeline emits a structured manifest and CSV dataset, which feeds a Python statistics stage (compare\_stats.py) for aggregate and single-workflow statistical fitting. Finally, an HTML report renders the results, including ECDF curves, statistical estimates, and a new design-system misuse panel, with stable, hand-assigned colors for each experiment arm.

agent-eval/lib/agentic-reference/comparison · high confidence

Introduce agentic-reference evaluation framework and test coverage

This change introduces the \agent-eval/lib/agentic-reference\ module, which provides the infrastructure for running and analyzing agentic evaluation experiments. It includes a declarative registry of evaluation cases (\cases.ts\) that define how agents interact with design-system documentation (via Storybook MCPs) and specific application fixtures (Mealdrop). The module adds utilities for managing evaluation runs (\collected-runs.ts\), comparing results across different measurement versions (\comparability.ts\), and defining the metrics used for analysis (\comparison-metrics.ts\). Additionally, it adds a catalog of known issues (\KNOWN-ISSUES.md\) to serve as a baseline for LLM judges, and comprehensive test suites (\collected-runs.test.ts\, \comparability.test.ts\, \comparison-metrics.test.ts\) to ensure the reliability of the evaluation harness.

agent-eval/lib/agentic-reference · high confidence

Introduce dedicated automigration codemod runner and multi-project support

The \automigrate\ module now includes a dedicated \runCodemod\ utility that safely applies transformations to story files using parallel processing, real-path resolution for symbolic links, and configurable dry-run and formatting options. Additionally, multi-project automigrations are now supported, allowing fixes to be collected, deduplicated, and prompted across multiple Storybook configurations in a monorepo, with improved error handling and telemetry reporting.

code/lib/cli-storybook/src/automigrate · high confidence

Introduce dedicated create-storybook library package

A new \create-storybook\ library has been added to the monorepo, providing the core logic and CLI entry points for initializing Storybook in user projects. This change includes the necessary build configuration (\build-config.ts\) to expose the main library and binary, a project definition (\project.json\) for the build system, and a \tsconfig.json\ configured with \moduleResolution: bundler\ to support modern module resolution. The package also includes a \README.md\ with installation instructions and a \vitest.config.ts\ to enable local testing, effectively splitting out the CLI initialization functionality into its own distinct package.

code/lib/create-storybook · high confidence

Introduce modular initialization services for Storybook setup

The \create-storybook\ CLI now uses a set of dedicated services to manage the initialization process, replacing the previous monolithic approach. \AddonService\ handles the automatic selection and configuration of Storybook addons (such as Vitest, Docs, Onboarding, A11y, and MCP) based on the features selected by the user, including logic for webpack compiler addons. \FeatureCompatibilityService\ validates whether specific features like AI setup or testing are compatible with the detected project configuration. \FrameworkDetectionService\ identifies the correct framework and builder (Vite, Webpack 5, or Rsbuild) by inspecting config files and dependencies, prompting the user if multiple builders are found. \ProjectTypeService\ detects the project framework (e.g., React, Next.js, Vue, Angular) from package.json dependencies and peer dependencies. \TelemetryService\ tracks initialization steps, feature selections, and process ancestry for analytics. \VersionService\ manages version checks and CLI integration detection. Comprehensive tests have been added for all these services to ensure robust behavior.

code/lib/create-storybook/src/services · high confidence

Introduce new Storybook React & Webpack5 framework package

This change adds the \@storybook/react-webpack5\ framework package, providing a dedicated entry point for React projects using Webpack 5. The package includes a preset that configures the Webpack 5 builder and React renderer, re-exports core Storybook React functionality, and exposes a \defineMain\ helper for Node-side configuration. It also introduces a \developmentModeForBuild\ feature flag that injects a \WebpackDefinePlugin\ to set \NODE\_ENV\ to 'development' during builds, and establishes the project structure with ESM exports, TypeScript types, and Vitest configuration.

code/frameworks/react-webpack5 · high confidence

Introduce new web-components-vite framework integration

Adds a new \@storybook/web-components-vite\ framework package, enabling users to configure Storybook for web components using the Vite builder. This entry point provides the necessary preset configuration (pointing to \@storybook/builder-vite\ and \@storybook/web-components/preset\), TypeScript types for the \main.ts\ configuration, and a \defineMain\ helper for Node.js environments, effectively bridging the web-components renderer with the Vite build system.

code/frameworks/web-components-vite · high confidence

Introduce server renderer with JSON/YAML indexer and server-side rendering support

The server renderer now supports indexing stories defined in JSON and YAML files via a new experimental indexer in the preset, allowing users to define story metadata and tags in these formats. Additionally, the renderer provides a \renderToCanvas\ function that fetches HTML content from a server URL and injects it into the canvas, enabling server-side rendering workflows where story HTML is retrieved via fetch rather than client-side component mounting.

code/renderers/server · high confidence

Introduce server-webpack5 framework for server-side rendered UI components

This change adds the \@storybook/server-webpack5\ framework, enabling Storybook to develop and visualize UI components that are rendered by a backend server. Users can now configure Storybook to fetch HTML from a specified server URL, supporting both static parameters via query strings and dynamic parameters using args and controls. The package includes a preset that wires up the Webpack 5 builder and the server renderer, along with TypeScript definitions for the main configuration and a \defineMain\ helper for Node.js environments.

code/frameworks/server-webpack5 · high confidence

Introduce shared docgen performance harness infrastructure

This change adds the shared foundation for the new docgen performance benchmarking suite within the \docgen-harness\ package. It introduces a robust argument parsing system with strict validation and Zod-based schemas, a version pinning mechanism to isolate specific package versions (including aliases), and a standardized series execution engine that measures cold/warm extraction times and memory metrics (RSS, heap, retained heap) across simulated saves. The suite also includes a configurable budget model to gate performance regressions on timing ratios and memory ceilings for supported engines (React legacy, React OSA, Vue docgen API, Vue component meta, and Compodoc), along with comprehensive test coverage for the parsing, statistics, and resolution logic.

code/lib/docgen-harness/src/perf/docgen-shared · high confidence

Introduce stdio-based development harness for @storybook/mcp

A new \bin.ts\ entry point and accompanying integration tests (\bin.test.ts\) provide a local stdio-based MCP server for the \@storybook/mcp\ package, allowing developers to run and test the docs tools directly via the command line (e.g., \node bin.ts --manifestsDir ./fixtures/default\). This complements the existing HTTP handler (\serve.ts\) by offering a simpler, interactive transport for manual driving and debugging of the documentation toolset without requiring a full web server setup.

code/lib/mcp · high confidence

Introduce the agent-eval suite and results playground

The \agent-eval\ directory now contains the full Agent Evaluation Suite, which runs coding agents (Claude Code and Codex) against fixture projects in sandboxes to assert that they follow Storybook workflows. The suite includes a Next.js-based results playground (\app/\) for viewing eval outcomes, a tree-diff engine (\lib/agentic-reference/tree/\) to measure source-line changes, and a configuration file (\eval-conditions.json\) to manage CI labels. It supports running experiments via the direct Anthropic and OpenAI APIs using Vercel Sandbox or local Docker, with environment setup documented in \.env.example\.

agent-eval · high confidence

Introduce vite-plugin-storybook-nextjs for Next.js integration in Vite and Vitest

A new Vite plugin, \vite-plugin-storybook-nextjs\, is introduced to enable Next.js features within Vite-based environments, serving as the foundation for the \@storybook/nextjs-vite\ framework and supporting portable stories in Vitest. The plugin allows developers to seamlessly integrate Next.js capabilities into Vite projects, with specific support for Next.js v14.1.0+ and Storybook 10+. It includes configuration options for handling Next.js images (with include/exclude patterns) and provides mocks for Next.js modules like navigation, router, and image components to ensure accurate testing in Vitest. The plugin also addresses limitations compared to the Webpack5-based integration, such as the removal of \next/font\ staticDir mapping and the requirement for SWC mode in Next.js.

code/lib/vite-plugin-storybook-nextjs · high confidence

New 'open-pr' agent skill for creating Storybook pull requests

Added a new internal agent skill, \open-pr\, that automates the creation of draft pull requests following Storybook conventions. The skill includes a script to intelligently detect the base branch by checking tracked upstreams, reflog history, and scanning all remote branches for the closest ancestor, with tie-breaking logic that prefers feature branches over trunk branches and \next\ over \main\. It guides the user through gathering context, selecting appropriate labels (QA and type), and generating a PR body from the standard template, while also offering to trigger a canary release upon creation.

.agents/skills/open-pr · high confidence

New CLI commands for adding addons, upgrading projects, and generating sandboxes

The CLI now includes dedicated commands to install and configure Storybook addons (\sb add\), upgrade existing projects to newer Storybook versions (\sb upgrade\), and generate isolated reproduction environments (\sb sandbox\). The \add\ command automatically resolves the correct addon version, updates the main configuration file, and runs any necessary post-installation setup scripts. The \upgrade\ command handles dependency updates, runs automigrations, and warns about deprecated packages like \@storybook/nextjs\. The \sandbox\ command allows users to quickly scaffold new projects using a variety of framework-specific templates (e.g., Next.js, Angular, Vue) to test compatibility or reproduce issues.

code/lib/cli-storybook/src · high confidence

New CSF Factories codemod for migrating Storybook configurations

A new codemod named 'csf-factories' has been added to the Storybook CLI to automate the migration of existing Storybook projects to the CSF Factories format. This tool updates story files, main configuration, and preview configuration files to use the new format. It also offers users the option to configure subpath imports in package.json for cleaner import paths in story files, with relative imports as the default fallback. The codemod includes logic to handle glob patterns for story discovery and synchronizes Storybook addons between main and preview configurations.

code/lib/cli-storybook/src/codemod · high confidence

New ESLint configuration presets for Storybook integration

The ESLint plugin now provides dedicated configuration presets (\recommended\, \csf\, \csf-strict\, and \addon-interactions\) to enforce Storybook-specific coding standards. These configs automatically apply rules such as \storybook/await-interactions\, \storybook/no-stories-of\, and \storybook/default-exports\ to story files and Storybook configuration files, helping developers catch common mistakes and maintain consistency in their component libraries.

code/lib/eslint-plugin/src/configs · high confidence

New LLM agent drivers and evaluation grading system for Storybook trials

The eval scripts now include dedicated drivers for the Claude and Codex agents, which execute prompts via their respective SDKs, enforce non-interactive approval policies, and disable Storybook telemetry. The evaluation harness has been updated to grade these trials by measuring the normalized gain in story-render success rates, while also recording build status, TypeScript errors, and ghost-story coverage. To keep logs readable, the system now truncates large tool outputs and command results to show line counts instead of full content.

scripts/eval · high confidence

New MCP documentation tools for listing and retrieving Storybook content

This change introduces three new Model Context Protocol (MCP) tools—\docs.list\, \docs.show\, and \docs.showStory\—registered in the \register.ts\ module, enabling agents to programmatically discover and retrieve Storybook component and story documentation. The \docs.list\ tool provides a summary of available components and can optionally include specific story IDs via the \withStoryIds\ parameter. The \docs.show\ tool retrieves full documentation for a specific component, while \docs.showStory\ fetches details for a single story, accepting either a \storyId\ or a \componentId\/\storyName\ pair. These tools support multi-source compositions, allowing documentation to be aggregated from multiple Storybook instances, and include robust error handling for missing components or manifest fetch failures.

code/lib/mcp/src/tools · high confidence

New React Native generator scaffolds entrypoints, scripts, and Metro config

The React Native generator in create-storybook now automatically scaffolds the Storybook configuration for React Native projects. It generates an entrypoint file (index.ts or index.js) inside the .rnstorybook directory, tailored for either standard React Native or Expo projects, and includes the LiteUI component. It also derives and adds platform-specific scripts (storybook:ios, storybook:android) that inject the STORYBOOK\_ENABLED environment variable, and applies a codemod to the metro.config file to wrap the configuration with withStorybook. For Expo projects, it additionally runs npx expo install --fix post-install to align native module versions.

_code/lib/create-storybook/src/generators/REACT\NATIVE · high confidence

New agent-eval library for parsing, scoring, and managing Storybook agent workflows

This change introduces the \agent-eval/lib\ module, providing the core infrastructure for evaluating AI agents interacting with Storybook. It includes a shell-command parser (\shell-parse.ts\) to identify and score \storybook tools\ and \skills\ invocations from agent transcripts, and a template manager (\templates.ts\) to configure sandbox environments with the correct MCP addon, browser mocks, and checkout packages. The library also defines the experiment configuration (\experiment.ts\) that selects which evals (8xx core, 82x lifecycle, or 9xx ported) run based on the agent integration (MCP vs. plugin) and environment flags, while \test-utils.ts\ offers assertion helpers for validating workflow outcomes like test runs and reviews. Comprehensive test coverage (\\*.test.ts\) ensures the parser correctly handles complex shell syntax, the template setup respects workspace dependencies, and usage scoring accurately calculates costs for Claude and Codex models.

agent-eval/lib · high confidence

New animated splash screen for onboarding addon

The onboarding addon now displays a visually rich splash screen featuring animated radial gradients, slide-in text, and a progress circle that counts down before dismissing. This component replaces the previous welcome modal, providing a more engaging entry point for users, with specific Storybook story configurations to handle its visual nature.

code/addons/onboarding/src/features/SplashScreen · high confidence

New automated skill for generating minor and major release changelog entries

A new internal agent skill named 'minor-release' has been added to automate the creation of changelog entries for Storybook minor (X.Y.0) and major releases. This skill includes two helper scripts: one that aggregates unique changes from prereleases while filtering out patch-backported items, and another that assembles and writes the final changelog section (including highlights and a collapsible full list) to CHANGELOG.md. The skill is marked as internal so the skills CLI skips it during normal discovery.

.agents/skills/minor-release · high confidence

New code quality metrics for agent evals: churn, complexity, and JSX analysis

The agent-eval metrics library now includes three new capabilities to assess code quality: file churn tracking (churn.ts) which counts structured edits and shell writes while handling renames and workspace prefixes; cognitive and cyclomatic complexity analysis (complexity-cognitive.ts, complexity-cyclomatic.ts) which score decision points per function, with fixes for generic arrow parsing in .ts files and proper handling of constructors/accessors; and JSX-aware complexity metrics (complexity-jsx.ts) which price render flow and markup depth for .tsx/.jsx files. All metrics include comprehensive test coverage (churn.test.ts, complexity-cognitive.test.ts, complexity-cyclomatic.test.ts, complexity-jsx.test.ts, complexity.test.ts) and are designed to be strict supersets of their classic counterparts for JSX-free source.

agent-eval/lib/agentic-reference/metrics · high confidence

New codemod helpers for migrating Storybook configs and stories to CSF Factories

This change introduces a suite of new codemod helper utilities in \code/lib/cli-storybook/src/codemod/helpers\ to automate the migration of Storybook configuration and story files to the CSF Factories pattern. The \config-to-csf-factory\ helper transforms \main\ and \preview\ config files by wrapping default exports in \defineMain\ or \definePreview\ calls, handling mixed named/default exports, and preserving existing imports. The \story-to-csf-factory\ helper migrates standard CSF stories by wrapping meta objects in \preview.meta()\ and story exports in \meta.story()\, while also supporting cross-file story imports and Svelte CSF files via \svelte-csf-to-csf-factory\. Additional utilities like \custom-args-type\ and \remove-unused-types\ ensure that TypeScript type annotations are correctly preserved or cleaned up during these transformations.

code/lib/cli-storybook/src/codemod/helpers · high confidence

New contextual rules for Cursor Cloud agent and Vitest spy mocking

Added two new Cursor rules to guide AI behavior: \cursor-cloud.mdc\ provides setup notes for the Cursor Cloud agent VM, including Node version handling and compilation steps, while \spy-mocking.mdc\ enforces consistent, type-safe mocking patterns in Vitest tests using \vi.mock()\ with the \spy: true\ option.

.cursor/rules · high confidence

New docgen performance harness for Compodoc, React, and Vue engines

The docgen performance suite now includes dedicated harnesses for Compodoc, React (legacy react-docgen and react-docgen-typescript), and Vue (vue-docgen-api and vue-component-meta). The Compodoc engine measures cold and warm run times, peak RSS, and documentation counts while explicitly excluding inherited members to match Storybook's reading behavior. The React harnesses support 'whole-index' and 'first-story' extraction shapes with configurable component counts and scope (all vs. changed). The Vue harnesses support flat, workspace, and base-type-touch scenarios to measure performance across different project layouts and invalidation patterns. A crash-control engine is included as a negative control for the performance gate.

code/lib/docgen-harness/src/perf/docgen-perf/engines · high confidence

New performance regression gates for docgen memory and engine metrics

The docgen harness now includes two new CI regression gates: a memory gate that validates the OOM fix by asserting heap stability and crash-survival under tight caps, and a performance gate that enforces budgets on warm/cold extraction ratios and memory metrics across React, Vue, and Angular scenarios.

code/lib/docgen-harness/src/perf/docgen-perf · high confidence

New preview API hooks and decorator utilities

The preview API now exposes \useStoryContext\ and \useParameter\ hooks, allowing addons to access the current story context and parameters within decorators and story functions. It also introduces \makeDecorator\, a utility for creating custom decorators that can wrap stories with additional functionality and accept configuration via parameters or options. These changes provide a more robust and flexible way to extend Storybook's preview behavior.

code/core/src/preview-api/modules/addons · high confidence

New structured evaluation plans and analysis scripts for agent performance

The agent-eval workspace now includes a comprehensive set of structured evaluation plans (plans/1-levels-create.plan.ts through 6-a11y.plan.ts) that define specific experimental arms—such as varying content levels, documentation types, and story kinds—to systematically measure their impact on UI creation and editing workflows. These plans are supported by new scripts (analyze-results.ts, compare-results.ts, check-playground-routes.mjs) and a Python-based statistics engine (compare\_stats.py) that enable offline analysis, statistical comparison of control vs. treatment cases, and automated route validation for the evaluation playground.

agent-eval/scripts · high confidence

New utility modules for agent-eval

Added new utility modules to agent-eval/lib/utils: math.ts and its tests provide arithmetic helpers (mean, sum, round, finiteNumbers, share) that handle nulls and edge cases for metrics; shell-segments.ts and its tests introduce a parser that splits shell commands into segments, correctly handling pipes, redirects, heredocs, and line continuations to improve command classification; table.ts and its tests replace console.table with a custom formatter that renders box-drawn tables with proper alignment, quoting, and ANSI styling; files.ts adds a safe readJson helper; and type.ts provides an isRecord type guard.

agent-eval/lib/utils · high confidence

Next.js template stories now demonstrate Server Actions, headers/cookies, and image art direction

The Next.js template stories have been expanded to showcase modern Next.js capabilities. A new NextHeader story demonstrates reading and writing cookies and headers via Server Components, utilizing the new @storybook/nextjs/headers.mock entrypoint for testing. A ServerActions story illustrates login, logout, and protected-route flows using 'use server' functions, revalidation, and navigation mocks. Additionally, a Redirect story validates state invalidation after navigation, and a GetImageProps story provides an example of responsive image art direction using picture elements.

_code/frameworks/nextjs/template/stories\nextjs-default-ts · high confidence

Next.js-Vite template now includes interactive component stories and interaction tests

The JavaScript template for the Next.js-Vite framework now ships with a complete set of example UI components (Button, Header, Page) and their corresponding Storybook stories. Users will see pre-configured stories demonstrating component variations, automatic documentation generation via autodocs, and an interactive interaction test on the Page component that validates user login/logout flows using Storybook's testing utilities.

code/frameworks/nextjs-vite/template/cli/js · high confidence

React template components now expose Button, Form, Html, and Pre via global registry

The React renderer template now includes a set of new UI components (Button, Form, Html, Pre) that are registered globally under \\_\_TEMPLATE\COMPONENTS\\_\. This allows users to leverage these pre-built components for rendering content and handling interactions, such as form submissions, directly within the Storybook React environment.

code/renderers/react/template/components · high confidence

Server-webpack preset now supports YAML story files

The server-webpack preset has been updated to handle .yaml and .yml story files in addition to JSON. It now includes a webpack loader and compiler that parse these YAML files and convert them into CSF (Component Story Format) modules, allowing users to define stories using YAML syntax.

code/presets/server-webpack · high confidence

Storybook MCP Addon 0.7.0 introduces review workflow, multi-source composition, and new discovery tools

The addon adds a new \display-review\ tool that pushes curated reviews of current changes and returns the review-page URL, and introduces \get-stories-by-component\ to map source files to stories via the reverse dependency graph, alongside \get-changed-stories\ for retrieving metadata on new or modified stories. The review workflow is now enabled by default for the \storybook ai\ CLI channel (via the trusted local-client header) while remaining opt-in for direct MCP clients via the \experimentalReview\ feature flag. It also supports multi-source composition with OAuth for private Storybooks, exposes serverless Storybook AI metadata from presets, and supports both v0 (inline) and v1 (split/ref) Storybook manifest formats. The addon now supports Storybook 10.5 prerelease packages and allows configuring a custom MCP endpoint path.

code/addons/mcp · high confidence

Support for next/dynamic SSR=false via Vite plugin

The \vite-plugin-storybook-nextjs\ now includes a new plugin that transforms Next.js dynamic imports using \require.resolveWeak\ into standard dynamic imports compatible with Vite. This change enables Storybook to correctly handle components utilizing \next/dynamic\ with \ssr=false\, ensuring that server-side rendering configurations are properly adapted for the Vite-based Storybook environment.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-dynamic · high confidence

Svelte 5 template components for sandbox rendering

The Svelte renderer now provides a set of template components (Button, Form, Html, Pre) rewritten for Svelte 5, exposing them via the global \\_\_TEMPLATE\COMPONENTS\\_\ object for use in sandboxes and documentation. These components utilize Svelte 5 runes ($props, $state, $derived) to handle props, local state, and reactive logic, enabling features like the Button's style derivation, the Form's submission handling, and the Pre component's object-to-JSON formatting.

code/renderers/svelte/template/components · high confidence

Svelte renderer adds template stories for async handling, decorators, and arg resetting

The Svelte renderer now includes a set of template stories in the \code/renderers/svelte/template/stories\ directory to demonstrate and verify key rendering behaviors. These include \AsyncComponent.svelte\ and \settled.stories.ts\ to showcase support for async component mounting and the use of \tick()\ after mount, \decorators.stories.js\ to illustrate various decorator patterns (including props and args-based decorators), and \args.stories.js\ to verify that story args reset correctly by remounting the component. Additionally, \mount-in-play.stories.ts\ demonstrates programmatic mounting within play functions, and \Button.svelte\ serves as a wrapper for testing slot behavior and state updates.

code/renderers/svelte/template/stories · high confidence

Vite builder now includes dedicated module mocking plugin

The Vite builder now ships with a new \vite-mock\ plugin that scans the Storybook preview configuration for \sb.mock()\ calls and automatically intercepts or transforms those module imports during the build and development server phases. This allows developers to define mock implementations in their preview config that are seamlessly applied to the Vite dev server and production builds without manual setup. Also in this area: Fix source map handling for sb.mock transformations in Vite and Webpack builders.

code/builders/builder-vite/src/plugins/vite-mock · high confidence

Vue 3 CLI template now uses TypeScript and Composition API

The Vue 3 CLI template has been updated to use TypeScript and the Composition API (setup script syntax) for its core components (Button, Header, Page) and their corresponding Storybook stories. This change replaces the previous JavaScript-based templates, providing type safety and modern Vue 3 patterns out of the box for new projects generated via the CLI.

code/renderers/vue3/template/cli/ts · high confidence

Vue 3 renderer now supports portable stories and enhanced docgen

The Vue 3 renderer now includes a portable-stories implementation, allowing users to compose and render stories outside the Storybook environment using \composeStories\ and \composeStory\. This feature supports CSF2 and CSF3 story formats, including loaders, play functions, and decorators. Additionally, the renderer has integrated \vue-component-meta\ for internal docgen extraction, enabling more accurate type inference for props, events, slots, and exposed members in the generated API documentation.

code/renderers/vue3 · high confidence

Vue 3 template now includes comprehensive reactive story examples

The Vue 3 Vite TypeScript template has been expanded with a suite of new story files demonstrating advanced Vue 3 capabilities. These include \ReactiveArgs\ and \ReactiveDecorators\ stories that verify args and slot content update reactively without losing component state, \ReactiveSlots\ and \ScopedSlots\ stories showing reactive slot content, and \CustomRender\ stories illustrating functional and options-API render functions. Additionally, \GlobalSetup\ and \GlobalUsage\ stories demonstrate global component injection and property access, while \mount-in-play\ shows programmatic mounting in play functions.

_code/renderers/vue3/template/stories\vue3-vite-default-ts · high confidence

Architecture

Angular: Extract Compodoc parsing into a standalone package

The logic for parsing Compodoc documentation JSON and extracting component arg types has been extracted into a new, environment-agnostic package at \code/lib/angular-compodoc/src\. This change introduces a browser adapter (\browser.ts\) that bridges the shared parsing logic with the browser environment (handling global state and HTML unwrapping) and a Node-safe HTML-to-text utility (\html-to-text.ts\) to replace \DOMParser\ in server-side workers. The package exposes a unified API for extracting arg types, descriptions, and component data, ensuring consistent behavior across Storybook's preview and docgen worker contexts.

code/lib/angular-compodoc/src · high confidence

Introduce centralized GeneratorRegistry for framework scaffolding

The \create-storybook\ initialization process now uses a centralized \GeneratorRegistry\ to manage framework-specific generators. This new architecture replaces the previous monolithic \baseGenerator\ approach with a modular system where each framework (React, Vue, Angular, Svelte, etc.) is defined as a distinct \GeneratorModule\ containing metadata and configuration logic. The registry handles registration and retrieval of these modules, allowing the CLI to dynamically select and execute the correct generator based on the detected project type. This change improves maintainability and extensibility by decoupling framework-specific setup logic from the core initialization flow.

code/lib/create-storybook/src/generators · high confidence

Preview API restructured with new initialization and selection flow

The preview initialization and story selection logic has been restructured into a new class hierarchy (Preview, PreviewWithSelection, PreviewWeb) to improve modularity and testability. This change introduces a dedicated UrlStore for parsing URL parameters (id, viewMode, args, globals) and a SelectionStore to manage the current story context, replacing the previous monolithic initialization approach. The WebView component now handles layout application and HTML lang attribute injection based on story parameters, while the new architecture supports better separation of concerns for core annotations, story rendering, and docs rendering.

code/core/src/preview-api/modules/preview-web · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 5 files: “CLI: Classify Astro as CSF4 and typecheck init templates”.

(repo-wide) · low confidence · unverified

1 commit (0 fixes) modifying .yarn/releases

A change to existing behaviour in .yarn/releases — 1 commit, 1 file: “Build: Update to yarn v4.18.0”.

.yarn/releases · medium confidence · unverified

11 commits (1 fix) modifying code/frameworks/react-webpack5/template/cli/js

A change to existing behaviour in code/frameworks/react-webpack5/template/cli/js — 11 commits (1 fix), 6 files: “CLI: JSDoc types in react-webpack5 JS templates”; “CLI: Describe Header props in the JS init templates”; “Restructure testing section”; and 7 more.

code/frameworks/react-webpack5/template/cli/js · medium confidence · unverified

11 commits (1 fix) modifying code/lib/create-storybook/src/generators/REACT\_NATIVE\_AND\_RNW

A change to existing behaviour in code/lib/create-storybook/src/generators/REACT\_NATIVE\_AND\_RNW — 11 commits (1 fix), 2 files: “CLI: Run \npx expo install --fix\ after init for Expo projects”; “Cleanup”; “fix(cli): point dual preview imports at the React preview file”; and 8 more.

_code/lib/create-storybook/src/generators/REACT\_NATIVE\_AND\RNW · medium confidence · unverified

11 commits (1 fix) modifying code/lib/docgen-harness/src/svelte/\_\_testfixtures\_\_

A change to existing behaviour in code/lib/docgen-harness/src/svelte/\_\testfixtures\\_ — 11 commits (1 fix), 241 files: “Svelte: Setup docgen harness”; “fix(svelte): print a string arg in a story template as a quoted attribute”; “feat: add jsdoc analysis to defineMeta, replace relative imports to @storybbok/svelte, multiline @compoent capture”; and 8 more.

code/lib/docgen-harness/src/svelte/\\testfixtures\\_ · medium confidence · unverified_

11 commits (3 fixes) modifying code/lib/eslint-plugin/src/utils

A change to existing behaviour in code/lib/eslint-plugin/src/utils — 11 commits (3 fixs), 5 files: “fix: avoid eslint unstable api load in plugin”; “Address review findings in the eslint plugin”; “ESLint Plugin: Import CSF export helpers from a narrow module”; and 8 more.

code/lib/eslint-plugin/src/utils · medium confidence · unverified

12 commits (1 fix) modifying code/frameworks/react-vite/template/cli/js

A change to existing behaviour in code/frameworks/react-vite/template/cli/js — 12 commits (1 fix), 6 files: “CLI: Describe Header props in the JS init templates”; “Add Storybook template components for React Vite CLI”; “Restructure testing section”; and 8 more.

code/frameworks/react-vite/template/cli/js · medium confidence · unverified

12 commits (5 fixes) modifying code/lib/docgen-harness/src/web-components/story-docs/\_\_testfixtures\_\_

A change to existing behaviour in code/lib/docgen-harness/src/web-components/story-docs/\_\testfixtures\\_ — 12 commits (5 fixs), 91 files: “Web Components: give a render that reads the args as a whole no template”; “Web Components: fill each arg a render reads in as its value's code”; “fix(web-components): print code for a changed arg where the snippet froze”; and 9 more.

code/lib/docgen-harness/src/web-components/story-docs/\\testfixtures\\_ · medium confidence · unverified_

13 commits (1 fix) modifying code/lib/component-meta-typescript

A change to existing behaviour in code/lib/component-meta-typescript — 13 commits (1 fix), 19 files: “test: the node accessors on both TypeScript backends, and the lint rule”; “test(core): the test cases to review for TypeScript 7.1 in core and the shared native layer”; “refactor(component-meta-typescript): choose a component-meta manager's backend in one place”; and 10 more.

code/lib/component-meta-typescript · medium confidence · unverified

16 commits (2 fixes) modifying code/lib/docgen-harness/src/svelte

A change to existing behaviour in code/lib/docgen-harness/src/svelte — 16 commits (2 fixs), 6 files: “Svelte: Setup docgen harness”; “Core: Remove argTypes from the story context of loaders, beforeEach, play and afterEach”; “fix(svelte): print a string arg in a story template as a quoted attribute”; and 13 more.

code/lib/docgen-harness/src/svelte · medium confidence · unverified

16 commits (3 fixes) modifying agent-eval/lib/mcp

A change to existing behaviour in agent-eval/lib/mcp — 16 commits (3 fixs), 2 files: “Address review findings: tighten comments, empty-log fallback, README consistency”; “feat(skills): stop requiring addon-mcp”; “Eval: Move agent-eval back to the repository root”; and 13 more.

agent-eval/lib/mcp · medium confidence · unverified

16 commits (4 fixes) modifying code/frameworks/react-native-web-vite/template/cli/js

A change to existing behaviour in code/frameworks/react-native-web-vite/template/cli/js — 16 commits (4 fixs), 6 files: “CLI: Describe Header props in the JS init templates”; “CLI: Keep React Native Web Header callbacks required, matching Header.tsx”; “CLI: JSDoc types in react-native-web-vite JS templates”; and 12 more (refs \#33845).

code/frameworks/react-native-web-vite/template/cli/js · medium confidence · unverified

17 commits (1 fix) modifying code/addons/mcp/scripts

A change to existing behaviour in code/addons/mcp/scripts — 17 commits (1 fix), 1 file: “M6: align skill builder field names with SkillInputs”; “Add tools-api doc generator script”; “feat(core)!: remove the changeDetection feature flag”; and 14 more (refs \#341).

code/addons/mcp/scripts · medium confidence · unverified

19 commits (3 fixes) modifying agent-eval/experiments

A change to existing behaviour in agent-eval/experiments — 19 commits (3 fixs), 9 files: “refactor(agent-eval): drop the Claude preview browser and check that previews open in the in-app browser”; “test(agent-eval): make Haiku 5.5 low the default Claude Code plugin experiment”; “chore(agent-eval): run the experiments on Opus 5.5 medium and GPT-6-Sol medium”; and 16 more.

agent-eval/experiments · medium confidence · unverified

2 commits (0 fixes) modifying code/lib/docgen-harness/src/svelte/story-docs

A change to existing behaviour in code/lib/docgen-harness/src/svelte/story-docs — 2 commits, 23 files: “Svelte: Story snippets follow the controls”; “test(svelte): the test cases for server docgen and story snippets”.

code/lib/docgen-harness/src/svelte/story-docs · medium confidence · unverified

21 commits (1 fix) modifying code/lib/create-storybook/src/generators/HTML

A change to existing behaviour in code/lib/create-storybook/src/generators/HTML — 21 commits (1 fix), 1 file: “Change imports from @storybook/core to storybook/internal”; “remove dependency on core from create-storybook”; “Detect Remix 3 as the HTML renderer during init”; and 15 more.

code/lib/create-storybook/src/generators/HTML · medium confidence · unverified

261 commits (50 fixes) modifying code/frameworks/angular-vite

A change to existing behaviour in code/frameworks/angular-vite — 261 commits (50 fixs), 203 files: “Angular: Slice story-docs arg source by loc, not recast offsets”; “Angular: Resolve builder styles against the workspace root”; “fix(angular-vite): reapply \_\mocks\\_ redirects after analogjs transform”; and 245 more (refs \#35943).

code/frameworks/angular-vite · medium confidence · unverified

281 commits (72 fixes) modifying code/renderers/web-components

A change to existing behaviour in code/renderers/web-components — 281 commits (72 fixs), 102 files: “Apply updated eslint rules”; “improve”; “fix: correctly scope styles”; and 268 more (refs \#32283).

code/renderers/web-components · medium confidence · unverified

32 commits (10 fixes) modifying code/lib/vite-plugin-storybook-nextjs/src/plugins/next-font

A change to existing behaviour in code/lib/vite-plugin-storybook-nextjs/src/plugins/next-font — 32 commits (10 fixs), 7 files: “Support next/font”; “Fix next-font duplicate style injection guard”; “Cleanup”; and 27 more.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-font · medium confidence · unverified

35 commits (10 fixes) modifying code/lib/eslint-plugin/src/rules

A change to existing behaviour in code/lib/eslint-plugin/src/rules — 35 commits (10 fixs), 32 files: “Add static-csf-properties rule, deprecate meta-inline-properties”; “feat(init): fail fast on Create React App projects”; “Cleanup: Sync no-stories-of test header and README rule row with removed-in-8.0 wording”; and 29 more.

code/lib/eslint-plugin/src/rules · medium confidence · unverified

35 commits (4 fixes) modifying code/lib/core-webpack

A change to existing behaviour in code/lib/core-webpack — 35 commits (4 fixs), 5 files: “fix linting”; “Upgrade NX”; “Refactor root of yarn monorepo from code to the git root. And NX agents experiment”; and 32 more (refs \#32283).

code/lib/core-webpack · medium confidence · unverified

4 commits (0 fixes) modifying .claude

A change to existing behaviour in .claude — 4 commits, 21 files: “Build: Read AGENTS.md directly and symlink skills from .agents”; “docs(agents): vendor Greptile's check-pr skill”; “feat(agents): add the build-it workflow and its review and QA skills”; and 1 more.

.claude · medium confidence · unverified

40 commits (3 fixes) modifying code/lib/docgen-harness/src/sandbox-baselines

A change to existing behaviour in code/lib/docgen-harness/src/sandbox-baselines — 40 commits (3 fixs), 10 files: “feat(docgen-harness): skip components whose docgen failed in sandbox baselines”; “WC: Add tests and stories to cover new types of inputs”; “Angular: Close the docblock that swallowed SANDBOX\_TOKEN”; and 27 more.

code/lib/docgen-harness/src/sandbox-baselines · medium confidence · unverified

5 commits (0 fixes) modifying code/frameworks/vue3-vite/template/cli/ts

A change to existing behaviour in code/frameworks/vue3-vite/template/cli/ts — 5 commits, 6 files: “Restructure testing section”; “Getting rid of ts-4-9 story folders and use ts instead”; “docs: Fix actions links and handle PR comments”; and 2 more.

code/frameworks/vue3-vite/template/cli/ts · medium confidence · unverified

5 commits (0 fixes) modifying code/lib/docgen-harness/src/vue3/subcomponents

A change to existing behaviour in code/lib/docgen-harness/src/vue3/subcomponents — 5 commits, 10 files: “test(vue3): match the formatter's section order in the composed snapshot”; “test(vue): add docgen-harness subcomponent fixtures and snapshots”; “test(vue3): assert subcomponents reach the rendered apiDescription”; and 2 more.

code/lib/docgen-harness/src/vue3/subcomponents · medium confidence · unverified

5 commits (0 fixes) modifying code/renderers/svelte/template/cli/ts

A change to existing behaviour in code/renderers/svelte/template/cli/ts — 5 commits, 6 files: “Svelte: Remove render functions and infer argTypes for CLI templates”; “Getting rid of ts-4-9 story folders and use ts instead”; “Svelte CSF: stop installing and importing the addon”; and 2 more.

code/renderers/svelte/template/cli/ts · medium confidence · unverified

5 commits (1 fix) modifying code/frameworks/angular-vite/template/cli

A change to existing behaviour in code/frameworks/angular-vite/template/cli — 5 commits (1 fix), 10 files: “fix(angular-vite): retarget template stories to @storybook/angular-vite”; “style: apply oxfmt 0.70 formatting”; “style(angular-vite): apply prettier formatting”; and 2 more.

code/frameworks/angular-vite/template/cli · medium confidence · unverified

5 commits (1 fix) modifying code/frameworks/angular-vite/template/stories\_angular-cli-prerelease

A change to existing behaviour in code/frameworks/angular-vite/template/stories\_angular-cli-prerelease — 5 commits (1 fix), 6 files: “fix(angular-vite): retarget template stories to @storybook/angular-vite”; “Angular: Port model() signal detection to @storybook/angular-vite”; “style: apply oxfmt 0.70 formatting”; and 2 more.

_code/frameworks/angular-vite/template/stories\angular-cli-prerelease · medium confidence · unverified

5 commits (1 fix) modifying code/frameworks/react-vite/template/cli/ts, code/frameworks/react-webpack5/template/cli/ts

A change to existing behaviour in code/frameworks/react-vite/template/cli/ts, code/frameworks/react-webpack5/template/cli/ts — 5 commits (1 fix), 12 files: “Restructure testing section”; “fix: update link to arg-types info to fix 404 issue”; “Getting rid of ts-4-9 story folders and use ts instead”; and 2 more.

code/frameworks/react-vite/template/cli/ts, code/frameworks/react-webpack5/template/cli/ts · medium confidence · unverified

54 commits (8 fixes) modifying code/lib/codex-plugin

A change to existing behaviour in code/lib/codex-plugin — 54 commits (8 fixs), 8 files: “Skills: apply review findings”; “fix(cli): name the latest 11.0 alpha as the plugin's minimum”; “feat(cli): require Storybook 11 in the plugin skills and drop the --help fallback”; and 51 more (refs \#34826).

code/lib/codex-plugin · medium confidence · unverified

6 commits (0 fixes) modifying code/frameworks/vue3-vite/template/cli/js

A change to existing behaviour in code/frameworks/vue3-vite/template/cli/js — 6 commits, 6 files: “Restructure testing section”; “Update ESLint configuration and scripts for improved Storybook integration”; “Add Storybook template components for Vue3 Vite CLI with multiple variations”; and 3 more.

code/frameworks/vue3-vite/template/cli/js · medium confidence · unverified

6 commits (0 fixes) modifying code/lib/cli-storybook/src/automigrate/helpers/sveltekit-mocks

A change to existing behaviour in code/lib/cli-storybook/src/automigrate/helpers/sveltekit-mocks — 6 commits, 7 files: “CLI: run the preview, CSF and Svelte CSF migrations through one pipeline in sveltekit-mocking-before-each”; “CLI: keep spread docs, read $lib MDX imports, and report every problem in sveltekit-mocking-before-each”; “CLI: report an inline docs page and a Svelte file without a meta in sveltekit-mocking-before-each”; and 3 more.

code/lib/cli-storybook/src/automigrate/helpers/sveltekit-mocks · medium confidence · unverified

65 commits (7 fixes) modifying code/lib/docgen-harness

A change to existing behaviour in code/lib/docgen-harness — 65 commits (7 fixs), 8 files: “Vue3: Replace the 2024 docgen mock fixtures with a live harness fixture”; “Svelte: Setup docgen harness”; “Test: Bind every declared output in Angular snippet baselines”; and 62 more (refs \#26465).

code/lib/docgen-harness · medium confidence · unverified

7 commits (0 fixes) modifying code/lib/docgen-harness/src/perf/docgen-memory

A change to existing behaviour in code/lib/docgen-harness/src/perf/docgen-memory — 7 commits, 3 files: “Bench: Trim the perf gate's comments to what a maintainer needs”; “Bench: Move the docgen perf suite into the docgen harness”; “Bench: Measure both React docgen shapes, whole-index and first-story”; and 4 more.

code/lib/docgen-harness/src/perf/docgen-memory · medium confidence · unverified

7 commits (1 fix) modifying code/frameworks/angular-vite/template/stories

A change to existing behaviour in code/frameworks/angular-vite/template/stories — 7 commits (1 fix), 81 files: “fix(angular-vite): retarget template stories to @storybook/angular-vite”; “style: apply oxfmt 0.70 formatting”; “Angular: Give agents real input and output docs for Angular components”; and 4 more.

code/frameworks/angular-vite/template/stories · medium confidence · unverified

7 commits (1 fix) modifying code/lib/angular-cm/src/analyzer/\_\_testutils\_\_

A change to existing behaviour in code/lib/angular-cm/src/analyzer/\_\testutils\\_ — 7 commits (1 fix), 1 file: “Angular: Inline the analyzer test sources and delete the fixture directory”; “test(angular): the test cases to review for Angular docgen on the TypeScript 7.1 native API”; “chore: remove the comments this PR adds that only restate the code”; and 4 more.

code/lib/angular-cm/src/analyzer/\\testutils\\_ · medium confidence · unverified_

7 commits (2 fixes) modifying code/frameworks/sveltekit/static

A change to existing behaviour in code/frameworks/sveltekit/static — 7 commits (2 fixs), 2 files: “docs: fix seperator typo and duplicated words”; “SvelteKit: add types for the \$app/state\ mock”; “Build: Fix lint violations reported by oxlint”; and 4 more.

code/frameworks/sveltekit/static · medium confidence · unverified

72 commits (33 fixes) modifying ecosystem-qa

A change to existing behaviour in ecosystem-qa — 72 commits (33 fixs), 48 files: “ci(ecosystem-qa): run the smoke job when the harness's imports change, and document the clone directory”; “fix(ecosystem-qa): clone under the real path of the temp directory”; “fix(ecosystem-qa): match provider keys only at a word boundary”; and 69 more.

ecosystem-qa · medium confidence · unverified

8 commits (1 fix) modifying .yarn/patches

A change to existing behaviour in .yarn/patches — 8 commits (1 fix), 6 files: “fix(react): render boolean props set to false in source snippets”; “Refactor root of yarn monorepo from code to the git root. And NX agents experiment”; “Agent-eval: Strip ANSI colors from captured eval output”; and 5 more.

.yarn/patches · medium confidence · unverified

82 commits (11 fixes) modifying agent-eval/evals

A change to existing behaviour in agent-eval/evals — 82 commits (11 fixs), 109 files: “Only count identifier usages in the 805 rename check”; “Note the review-branching requirement on 813's todo assertions”; “Keep review assertions for Vitest CLI eval”; and 78 more (refs \#350, \#324).

agent-eval/evals · medium confidence · unverified

9 commits (1 fix) modifying code/lib/angular-cm

A change to existing behaviour in code/lib/angular-cm — 9 commits (1 fix), 6 files: “Angular: Add the in-process component meta analyzer”; “fix(angular-cm): keep compiled base IO and read signals from declared types”; “test(angular): the test cases to review for Angular docgen on the TypeScript 7.1 native API”; and 6 more.

code/lib/angular-cm · medium confidence · unverified

Accessibility addon panel and runner refactored for improved reporting and manual testing

The @storybook/addon-a11y addon has been refactored to enhance the user experience of accessibility testing. The A11YPanel now features a redesigned UI with tabs for Violations, Passes, and Inconclusive results, and includes a 'Run accessibility scan' button for manual testing modes. The underlying a11yRunner has been updated to queue axe-core executions to prevent parallel conflicts and automatically excludes internal Storybook elements from scans. Additionally, the addon now provides deep-linking capabilities by augmenting axe results with link paths, allowing users to jump directly to specific violations or passes from the report. The panel also handles discrepancies between CLI and browser test results, displaying specific messages when results differ.

code/addons/a11y · high confidence

Add TypeScript declaration for probe-image-size sync entrypoint

The Next.js Storybook plugin now includes a local TypeScript declaration file for the synchronous, Buffer-only entrypoint of the \probe-image-size\ library. This change ensures type safety for internal code that uses the synchronous probing method, avoiding the need to rely on external or incomplete type definitions for this specific usage pattern.

code/lib/vite-plugin-storybook-nextjs/src/types · high confidence

Angular component metadata extraction replaces Compodoc with a TypeScript-based analyzer

The Angular component metadata pipeline has been rewritten to extract argTypes directly from TypeScript sources using the TypeScript compiler API, removing the dependency on the Compodoc tooling. This change introduces a new in-process analyzer and \AngularComponentMetaManager\ that resolves components, decorators, and inputs via the TypeScript Language Service, ensuring accurate handling of TypeScript-specific features such as signal inputs, generic signatures, and JSDoc extraction. The new \extractArgTypesFromData\ function provides corrected logic for the props table, including proper rendering of function controls, primitive union types, and literal default values, while hiding class internals by default and resolving named-type details for interfaces and enums.

code/lib/angular-cm/src · high confidence

Angular framework restructured to use Angular DevKit builders

The Angular framework integration has been refactored to use Angular DevKit builders (\@storybook/angular:build-storybook\ and \start-storybook\) instead of the previous Webpack-based approach. This change introduces a new build schema with options like \browserTarget\, \tsConfig\, \experimentalZoneless\, and \statsJson\, and updates the client-side rendering to use \bootstrapApplication\ with support for Angular's experimental zoneless change detection. The preset and entry points have been reorganized to align with the new builder architecture, improving compatibility with modern Angular CLI projects.

code/frameworks/angular · high confidence

Angular generator defaults to Vite and updates dependency handling

The Angular Storybook generator now defaults to the Vite builder in non-interactive modes (CI, --yes, or no TTY), while still prompting users to choose between Vite and Webpack in interactive sessions. It installs the @analogjs/vite-plugin-angular for Vite projects and conditionally includes @angular/platform-browser-dynamic only for Webpack setups. The generator also pins @types/node to the minimum supported Node.js major version to ensure type resolution consistency across environments and removes Compodoc integration from Vite-initiated projects.

code/lib/create-storybook/src/generators/ANGULAR · high confidence

Automated linting and conditional Storybook recompilation on git operations

The project now enforces linting via lint-staged on every commit and conditionally recompiles Storybook when switching branches. The pre-commit hook runs lint-staged unless the SKIP\_STORYBOOK\_GIT\_HOOKS environment variable is set. The new post-checkout hook automatically runs yarn install and compiles Storybook only when the STORYBOOK\_COMPILE\_ON\_CHECKOUT environment variable is set to true and SKIP\_STORYBOOK\_GIT\_HOOKS is not set.

.husky · high confidence

Automigrate fixes for Storybook 11 upgrades

The CLI's automigration system now includes a comprehensive suite of fixes to help users upgrade to Storybook 11. Key changes include migrating Angular projects from the Webpack-based \@storybook/angular\ to the Vite-based \@storybook/angular-vite\ (including handling \zone.js\ and \Compodoc\ cleanup), replacing the legacy \@storybook/addon-svelte-csf\ with the built-in Svelte CSF, and removing deprecated \argTypes.defaultValue\ and \componentSubtitle\ parameters. The migration runner also handles workspace configuration updates for Angular/Nx projects and ensures compatibility with the new Storybook 11 configuration structures.

code/lib/cli-storybook/src/automigrate/fixes · high confidence

CLI entry point restructured with enhanced logging and error handling

The CLI entry point has been refactored to split execution into a dedicated index.ts for Node.js version validation and a centralized run.ts for command logic. This change introduces a new --logfile option to write debug logs to a specified file, improves error handling via a centralized failure handler that ensures logs are written before exit, and standardizes logging levels and telemetry integration across all CLI commands.

code/lib/cli-storybook/src/bin · high confidence

Configures global module aliases for React and Next.js internals

The Storybook global setup now explicitly registers aliases for React and Next.js dependencies (including react-dom/server and test-utils) to point to Next.js's compiled versions. This ensures that Storybook components resolve the correct internal implementations of these libraries, preventing mismatches between the Storybook runtime and the Next.js environment.

code/lib/vite-plugin-storybook-nextjs/src/mocks · high confidence

Deprecation of @storybook/nextjs in favor of @storybook/nextjs-vite

The \@storybook/nextjs\ framework is now officially deprecated and scheduled for removal in Storybook 12. Users are advised to migrate to \@storybook/nextjs-vite\ using the provided automigration commands (\storybook upgrade\ or \storybook migrate nextjs-to-nextjs-vite\). The framework package itself remains present in this version, providing the necessary build configuration, Babel plugins, and export mocks (such as \next/link\, \next/image\, and \next/navigation\) to support existing Next.js projects during the transition.

code/frameworks/nextjs · high confidence

Deterministic pre-build source generation with atomic file writes

The pre-build script now generates framework lists, version maps, and export definitions more reliably. It uses rolldown to bundle and analyze global package exports, sorts framework entries to ensure deterministic output, and implements atomic file writes (via temporary files and rename) to prevent race conditions when other build steps read the generated source files concurrently.

code/core/scripts · high confidence

Docgen harness introduces strict argTypes and snippet comparison logic

The docgen harness in the compare directory now enforces stricter validation of documentation snapshots. For argTypes, it detects lost arguments, descriptions, default values, and type fidelity (including specific handling for legacy Angular inventing NaN/false defaults), while ignoring cosmetic changes like description content or added arguments. For snippets, it parses root elements and attributes to ensure structural equality, catching lost attributes or changed root tags. The harness also includes a robust snapshot parser that preserves exact byte-round-trip fidelity, handling edge cases like unescaped quotes and NaN values, and integrates with Vitest to gate recordings against regressions.

code/lib/docgen-harness/src/compare · high confidence

ESLint plugin scripts rewritten in ESM with new code-generation tooling

The build and maintenance scripts for the ESLint plugin have been migrated from CommonJS to ES modules (ESM). This change introduces a new \generate-rule\ CLI that scaffolds new rule implementations, tests, and documentation, and replaces the previous configuration update logic with a suite of ESM scripts (\update-all\, \update-configs\, \update-lib-flat-configs\, etc.) that regenerate plugin configs, the main index, and the README rules list from metadata. Users benefit from a modernized, ESM-native development workflow for extending the plugin.

code/lib/eslint-plugin/scripts · high confidence

Ember framework preset refactored to use Babel for template compilation

The Storybook preset for Ember has been restructured to handle HBS template compilation via Babel plugins (babel-plugin-htmlbars-inline-precompile and babel-plugin-ember-modules-api-polyfill) instead of the previous approach. This change introduces a new server-side preset (framework-preset-babel-ember) that configures the Webpack build to process Ember templates, and updates the client-side preview to render components using a dedicated \renderToCanvas\ function. The framework now also supports injecting polyfills into the template compiler via the \framework.options.polyfills\ configuration in main.js.

code/frameworks/ember · high confidence

Extracted Compodoc parsing logic into a shared library

The logic for parsing Compodoc's \documentation.json\ into Storybook argTypes has been extracted into a new, standalone \@storybook/angular-compodoc\ package. This centralizes the conversion logic previously duplicated in \@storybook/angular\ and \@storybook/angular-vite\, ensuring both call sites remain in sync. The package includes a browser adapter for preview-side usage and explicitly handles Angular's \model()\ quirk (where inputs and outputs share a name) by synthesizing the correct \fooChange\ output. This change is part of a broader refactoring to isolate the analyzer and prepare for the eventual deprecation of the Compodoc pipeline in Storybook 11.

code/lib/angular-compodoc · high confidence

Improved Next.js configuration loading and utility helpers

The plugin now includes robust utilities for handling Next.js configuration, specifically recovering from raw config cache issues and omitting the Turbopack-only Rust React Compiler flag when running under Vite. It also adds helpers for loading environment variables, eagerly initializing SWC bindings, finding Next.js directory structures with fallbacks, and resolving the closest package.json file across parent directories. Additionally, a new base64 URL encoding utility is provided for shared use across font and image plugins.

code/lib/vite-plugin-storybook-nextjs/src/utils · high confidence

Improved React component documentation generation for complex TypeScript and PropTypes patterns

The React renderer's documentation generation (docgen) now correctly handles a wider variety of component patterns, ensuring accurate prop tables and controls in the Docs panel. This update adds support for TypeScript union types (e.g., \React.ReactNode \| string\), imported generic types, and explicit \displayName\ overrides. It also improves parsing of JavaScript PropTypes, including \PropTypes.oneOf\ enums, nested \PropTypes.shape\ structures, and properties defined via static class fields or Higher-Order Components (HOCs). Additionally, \React.forwardRef\ components and default exports are now processed more reliably, providing consistent documentation regardless of how the component is structured.

code/renderers/react/template/stories/docgen-components · high confidence

Improved component name resolution in documentation generation

The documentation generation plugin now correctly identifies the actual name of React components (such as class declarations, function declarations, arrow functions, and forward refs) instead of relying solely on the \displayName\ property. This ensures that the generated documentation is stored and displayed under the component's true identifier, fixing issues where names were incorrectly derived from display names.

code/frameworks/react-vite/src/plugins/docgen-handlers · high confidence

Internal Storybook configuration and open-service debug infrastructure

The internal Storybook instance has been reconfigured to serve as a comprehensive showcase for the framework's core, addons, and renderer capabilities. The main configuration now explicitly imports and registers a wide array of addons—including Vitest, accessibility, themes, onboarding, MCP, and pseudo-states—and organizes stories from core templates, manager/preview APIs, and various addon directories into a structured sidebar. The preview layer has been enhanced to support advanced testing and development workflows: it integrates the Vitest interactivity API for browser-mode testing, registers custom matchers (such as \toHaveLiveRegion\), and implements module auto-mocking for libraries like \lodash-es\ and \uuid\. Additionally, a new open-service debug service has been introduced, which exercises server-side service registration, queries, commands, and static snapshot generation, accessible via the \STORYBOOK\_OPEN\_SERVICE\_DEBUG\ environment flag. The manager UI has also been updated to improve sidebar labeling and include open-service sync test demos.

code/.storybook · high confidence

Introduce Svelte 5 component rendering infrastructure for Storybook

The Svelte renderer now includes new static components and utilities to support Svelte 5's run-time compilation model. This adds a DecoratorHandler to manage component wrapping and filter out internal docgen event props, a PreviewRender component to handle story execution and error boundaries, an AddStorybookIdDecorator for consistent ID assignment, and a createReactiveProps helper to ensure proper reactivity when passing props to Svelte 5 components.

code/renderers/svelte/static · high confidence

Introduce Svelte context modules for story extraction and rendering

The Svelte CSF renderer now includes dedicated context modules (\extractor.svelte.js\ and \renderer.svelte.js\) that manage internal state using Svelte runes. These modules provide \useStoriesExtractor\ to handle story registration during the extraction phase and \useStoryRenderer\ to maintain the active story's arguments, export name, and context during rendering, ensuring proper isolation and access to story data within the component hierarchy.

code/renderers/svelte/static/svelte-csf/contexts · high confidence

The Links addon has been restructured with a new source layout and build configuration, introducing the \hrefToSync\ utility for generating immediate story URLs (enabling native browser link behaviors like middle-click) alongside the existing \hrefTo\ and \linkTo\ functions. The React-specific \LinkTo\ component is now explicitly exported from a dedicated subpath (\@storybook/addon-links/react\), and the addon's test suite has been migrated to Vitest with updated mocks and environment settings.

code/addons/links · high confidence

Migrate sandbox generation to Yarn 4 with an npm age gate

The sandbox generation scripts now use Yarn 4 instead of Yarn 1 or classic Yarn. To prevent installing packages that are too new for the target framework, the generation process enforces a 7-day minimum age gate on npm packages during installation. This ensures that sandboxes are scaffolded with stable, sufficiently aged dependencies.

scripts · high confidence

Modularize Storybook initialization into dedicated command classes

The Storybook initialization workflow has been refactored from a monolithic structure into a series of distinct, modular command classes (AddonConfigurationCommand, DependencyInstallationCommand, FinalizationCommand, FrameworkDetectionCommand, GeneratorExecutionCommand, and PreflightCheckCommand). This change improves maintainability and readability by separating concerns: framework and builder detection, dependency collection and installation, addon configuration (including specific postinstall logic for Vitest and a11y), and finalization steps like .gitignore updates and success messaging are now handled by their own dedicated components. The refactoring also introduces a centralized ErrorCollector for better error handling and telemetry, and updates the user-facing output to provide clearer, more structured feedback during the setup process.

code/lib/create-storybook/src/commands · high confidence

New CLI upgrade safeguards block outdated dependencies and legacy configurations

The Storybook CLI now prevents upgrades when projects use unsupported or deprecated setups, ensuring a smoother migration path. It blocks upgrades if the Node.js version is below 22.12, if major framework dependencies (React, Next.js, Angular, Preact, Svelte, Vue, Vite) are below their new minimums, or if legacy Webpack 5 framework packages are installed. It also specifically blocks Create React App projects, requires Vitest 4 when using the experimental test addon, and prevents upgrades if the deprecated React \legacyRootApi\ option is still present in the configuration. Additionally, the CLI now warns against skipping major versions (e.g., jumping from v8 to v10) and blocks downgrades entirely.

code/lib/cli-storybook/src/autoblock · high confidence

New DependencyCollector and modularized Storybook initialization flow

The Storybook CLI initialization process has been refactored to use a modular, command-based architecture. A new \DependencyCollector\ class now aggregates all dependencies before a single installation step, improving reliability and allowing for conflict detection. The main \initiate\ entry point orchestrates this via distinct execution steps (preflight, project detection, framework detection, user preferences, generator execution, dependency installation, addon configuration, and finalization). Additionally, scaffolding for new empty projects now supports React, Next.js, Vue, Angular, and Lit via Vite, with specific create scripts for npm, yarn, and pnpm.

code/lib/create-storybook/src · high confidence

New Webpack 5 core-webpack utilities and import pipeline

The \core-webpack\ library now includes a new \importPipeline\ mechanism that serializes module imports to prevent Webpack from triggering concurrent compilations, which can cause issues with Hot Module Replacement. It also introduces \checkWebpackVersion\ to warn users if their installed Webpack version does not match the expected specifier, and provides updated \toImportFn\ and \toRequireContext\ utilities that generate import functions with improved path matching and \node\_modules\ exclusion logic. Additionally, \mergeConfigs\ has been refined to handle Webpack configuration merging with specific logic for plugins, rules, and resolve fields, and \loadCustomWebpackConfig\ now supports async loading of custom configuration files.

code/lib/core-webpack/src · high confidence

New automigration helper modules for config parsing and package mapping

The automigration system now includes a set of new helper modules to improve configuration handling and package management during upgrades. The \consolidated-packages.ts\ module provides a mapping of deprecated Storybook packages to their new consolidated locations (e.g., \@storybook/channels\ to \storybook/internal/channels\), enabling the CLI to correctly update import paths. The \mainConfigFile.ts\ module introduces robust helpers for reading and writing the main Storybook configuration, including functions to extract framework, builder, and renderer names from both string and object-based config formats, as well as utilities to detect ESM vs. CommonJS usage and \\_\_dirname\ patterns. Additionally, \config-object.ts\ adds validation for configuration mutations, \logMigrationSummary.ts\ formats and displays migration results to users, \versionBoundary.ts\ handles semver comparisons for upgrade logic, and \testing-helpers.ts\ provides mocks for unit tests. These changes enhance the reliability and clarity of the \storybook automigrate\ command. Also in this area: 7 commits (0 fixes) modifying code/lib/cli-storybook/src/automigrate/helpers.

code/lib/cli-storybook/src/automigrate/helpers · medium confidence · unverified

New in-process Angular component meta analyzer

The Angular component meta analyzer has been rewritten as an in-process TypeScript analysis tool, removing the previous dependency on the external angular-compodoc binary. This change improves reliability and performance by analyzing Angular source files directly using a real TypeScript program, enabling accurate resolution of generic type parameters, input transforms, and decorator aliases (including those re-exported through barrel files). The analyzer now correctly handles complex inheritance scenarios, resolves const-referenced flags, and provides precise metadata for the props table, such as distinguishing required inputs and rendering generic type parameters.

code/lib/angular-cm/src/analyzer · high confidence

New server-side asset templates and configuration for Storybook preview

This change introduces new core server assets that define the HTML structure and configuration for the Storybook preview environment. It adds a TypeScript configuration (\addon.tsconfig.json\) to enforce React JSX settings, an AppleScript (\openBrowser.applescript\) to improve browser launching logic by reusing existing Chrome tabs, and new HTML templates (\base-preview-body.html\, \base-preview-head.html\, \template.ejs\) that establish the default layout, styling, and script loading for the preview iframe. These templates ensure consistent rendering of the preview UI, including error displays and loading states, while the AppleScript enhances the developer experience on macOS.

code/core/assets/server · high confidence

New testing infrastructure and configuration for the code workspace

The code workspace now includes a dedicated Playwright configuration for end-to-end testing, a Vitest setup file with custom matchers and console mocking, and a Storybook-specific Vitest configuration. Additionally, linting rules have been updated via a new .oxlintrc.json file, and TypeScript configuration has been adjusted to support modern module resolution and strict type checking.

code · high confidence

Next.js environment variable handling adapted for version 15.4 and Vitest compatibility

The Next.js environment plugin now dynamically loads the correct environment definition logic based on the installed Next.js version, supporting both pre-15.4 and 15.4+ APIs to ensure compatibility. It also explicitly removes the \\_\_NEXT\_IMAGE\_OPTS\ environment variable from the Vite define configuration to prevent serialization issues when running tests in Vitest, while configuring the test optimizer to include Next.js dependencies.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-env · high confidence

Next.js generator now detects and prompts for Webpack vs Vite builder based on project config

The Next.js generator in create-storybook has been refactored to intelligently detect whether a project uses custom Webpack or Babel configurations. If such configurations are found, the generator now prompts the user to choose between the Vite or Webpack 5 builder, warning that Vite may not be compatible with custom setups. This improves the initialization experience by ensuring the selected builder aligns with the project's existing build tooling.

code/lib/create-storybook/src/generators/NEXTJS · high confidence

Onboarding addon v1.0.11: Fixes for modals, z-index, and Storybook 8 compatibility

This update to the onboarding addon addresses several user-facing issues. It fixes z-index conflicts in modal elements and adds a wrapper to ensure tooltips render correctly without being obscured. The addon is now compatible with Storybook 8 selectors, and the confetti overlay no longer intercepts pointer events, allowing users to interact with underlying UI elements. Additionally, the guided tour logic has been refined to prevent returning to the splash screen and to ensure checklist tasks are not skipped when closing tooltips.

code/addons/onboarding · high confidence

Preact CLI templates updated to Storybook 7 standards

The Preact CLI templates have been updated to align with Storybook 7, featuring a migration to the CSF3 story format and the use of the \storybook/test\ package for interaction testing and action spying. The generated components (Button, Header, Page) now include explicit \autodocs\ tags for automatic documentation generation, and the Page component's interaction test has been refactored to use \userEvent\ and \within\ for more robust component testing. Additionally, the ESLint configuration has been adjusted to disable the React JSX scope rule, which is unnecessary for Preact projects.

code/renderers/preact/template/cli · high confidence

React generator now returns structured configuration metadata

The React generator in create-storybook has been refactored to use a new module definition pattern. It now explicitly declares the project type and renderer via metadata and returns a structured configuration object from its configure function. This object specifies extra packages to install (such as prop-types for JavaScript projects) and defines the webpack compiler strategy (using SWC for Webpack 5 builders), providing a more consistent and explicit configuration interface for React-based Storybook setups.

code/lib/create-storybook/src/generators/REACT · high confidence

Rebuilt create-storybook CLI with modern flag handling and AI agent support

The Storybook initialization CLI has been rewritten to use Commander for argument parsing, introducing a split between modern and legacy command paths based on flag validation. Users now have access to new flags including --features and --no-features to control Storybook capabilities, --agent/--no-agent to force or disable AI agent mode, and --logfile to specify custom debug log output paths. The CLI also enforces a minimum Node.js version check before execution and supports forcing specific package managers and builders via dedicated options.

code/lib/create-storybook/src/bin · high confidence

Refactor ESLint plugin scripts to ESM and integrate oxfmt for documentation generation

The ESLint plugin's build and documentation scripts have been migrated from CommonJS to ES modules, with the source code remaining ESM. This change introduces a new set of utility modules in the scripts/utils directory to manage rule categorization, documentation updates, and configuration formatting. Documentation generation now utilizes the oxfmt library to format Markdown files, automatically updating the main ESLint plugin README and individual rule documentation pages with current rule lists and category inclusions. The scripts also handle the mapping of rules to specific configurations (such as CSF, Recommended, and CSF-Strict) and manage linting configuration for Storybook-related files.

code/lib/eslint-plugin/scripts/utils · high confidence

Refactored Ember and Vue 3 generators to use structured metadata and conditional dependencies

The Ember and Vue 3 project generators have been rewritten to use a new modular structure that explicitly declares framework, renderer, and builder metadata. For Ember, the generator now specifies Webpack 5 as the builder override and returns a static directory configuration. For Vue 3, the generator conditionally includes specific packages (vue-loader and @vue/compiler-sfc) and configures the SWC webpack compiler only when Webpack 5 is selected, ensuring that dependencies and build settings are tailored to the chosen builder.

code/lib/create-storybook/src/generators/EMBER, code/lib/create-storybook/src/generators/VUE3 · high confidence

Refactored framework generators to use structured metadata and internal imports

The Preact, Server, and Web Components generators have been restructured to explicitly declare their project type, renderer, and builder metadata via a new \defineGeneratorModule\ interface. This change replaces previous import patterns with \storybook/internal\ modules and standardizes how configuration details (such as webpack compilers and extra packages) are returned, improving consistency and usability in Storybook configuration generation.

code/lib/create-storybook/src/generators/PREACT, code/lib/create-storybook/src/generators/SERVER, code/lib/create-storybook/src/generators/WEB-COMPONENTS · medium confidence

Refactored preview API store modules for improved args and globals handling

The preview API store modules have been refactored to improve how story arguments and global settings are managed. A new ArgsStore class now handles argument persistence, applying deltas when initial arguments change and ensuring type safety via mapArgsToTypes. GlobalsStore has been updated to filter allowed globals and handle updates from persisted state. StoryIndexStore now uses memoization for import path lookups and includes specific logic to handle story specifiers correctly. Additionally, core annotations are now composed exactly once for CSF4 previews, preventing duplication. These changes enhance the reliability and performance of the preview API's internal state management.

code/core/src/preview-api/modules/store · high confidence

The addon-links template stories have been refactored to be renderer-agnostic, replacing renderer-specific implementations with generic HTML and Button components. The stories now use the \play\ function instead of \render\ for dynamic link generation and consistently apply \disableSnapshot\ for Chromatic configuration. New examples demonstrate the \hrefTo\, \hrefToSync\, and \linkTo\ functions, including support for callback-based navigation and MDX/autodocs linking.

code/addons/links/template · high confidence

Require Node.js 22.12+ for Storybook 11

Storybook 11 now requires Node.js 22.12 or later. This change ensures that consumers of the framework are running on a supported and stable Node.js version, aligning with modern JavaScript features and performance improvements available in the latest LTS releases.

code/core · high confidence

SWC plugin now distinguishes browser and server environments to prevent incorrect constant folding

The Next.js SWC plugin in Storybook now correctly detects whether it is running in a browser context (Storybook preview) or a server context (Vitest). Previously, the plugin could incorrectly treat Storybook's browser environment as a server environment, causing SWC to fold expressions like \typeof window\ to \undefined\. The new logic checks for the presence of a \test\ configuration field to identify Vitest runs; if absent, it defaults to browser mode, ensuring that client-side code is transformed correctly in Storybook previews while server-side code remains appropriate for testing.

code/lib/vite-plugin-storybook-nextjs/src/plugins/next-swc · high confidence

SWC transformation logic aligned with Next.js v16.2

The SWC utility module in the Vite Storybook plugin has been rewritten to mirror Next.js's internal compilation pipeline, introducing support for Next.js v16.2 and Next.js font loaders. This change ensures that Storybook components are transformed using the same compiler options as the Next.js application, including correct handling of CSS-in-JS libraries (Emotion, Styled Components), JSX runtime settings, and module types. It also adds a compatibility layer for the \getSupportedBrowsers\ API, which adapts to the import path changes introduced in Next.js v16.2, ensuring consistent build behavior across supported Next.js versions.

code/lib/vite-plugin-storybook-nextjs/src/utils/swc · high confidence

Storybook 11 requires Node.js 22.12 or higher

Storybook 11 now enforces a minimum Node.js version of 22.12. Users running older Node.js versions will be unable to use this release and must upgrade their runtime environment to proceed.

(repo-wide) · high confidence

Storybook CLI package structure and documentation established

The Storybook CLI package is now structured with dedicated configuration files for the build system (build-config.ts), the NX monorepo workspace (project.json), TypeScript compilation (tsconfig.json), and the Vitest test runner (vitest.config.ts). Additionally, a new README.md has been added to document the CLI commands (init, add, info, upgrade, migrate) and expose core APIs for addon authors, including components, theming utilities, and preview/manager APIs.

code/lib/cli-storybook · high confidence

Storybook Doctor now detects incompatible packages, version mismatches, and duplicated dependencies

The Storybook Doctor diagnostic tool has been expanded to provide more comprehensive health checks for your project. It now identifies incompatible Storybook packages (including those relying on legacy consolidated packages or outdated core dependencies), warns about mismatching versions between the Storybook CLI and framework packages, and flags duplicated dependencies that may cause unexpected behavior. These checks help users proactively resolve configuration issues before they lead to broken installations.

code/lib/cli-storybook/src/doctor · high confidence

Svelte CLI templates updated for Svelte 5 reactivity

The Svelte CLI templates (Button, Header, Page) have been rewritten to use Svelte 5 syntax, replacing legacy reactivity patterns with the new $props() and $state() runes. This change requires Svelte 5 or later; projects using older Svelte versions will need to upgrade to use these generated templates.

code/renderers/svelte/template/cli/js · high confidence

Svelte CSF runtime components moved to static directory

The Svelte CSF runtime components (StoriesExtractor, Story, and StoryRenderer) have been relocated to the static directory and are now imported via package specifiers from @storybook/svelte/internal/svelte-csf. This change removes the legacy pre-transform and runtime, shifting the runtime to be shipped without svelte-package and utilizing the renderer's StoryContext directly.

code/renderers/svelte/static/svelte-csf · high confidence

Svelte CSF template stories now run in Svelte sandboxes

The Svelte Component Story Format (CSF) template stories have been moved into the \code/renderers/svelte/template/stories/svelte-csf\ directory and are now executed within Svelte sandboxes. This change introduces a suite of template-based stories—including \actions\, \decorators\, \interactions\, \layout\, \templating\, and \tags\—along with supporting components like \button\, \text\, and \border-decorator\. These files demonstrate Svelte-specific CSF features such as snippet-based templates, decorator nesting, and local meta handling, ensuring the Svelte renderer's story execution environment is properly validated.

code/renderers/svelte/template/stories/svelte-csf · high confidence

Svelte generator now installs the Svelte CSF addon

The Svelte project generator in create-storybook has been updated to automatically include the @storybook/addon-svelte-csf addon when scaffolding a new Svelte application. This ensures that generated projects are configured with the necessary component-story-format support for Svelte out of the box, replacing previous configuration methods.

code/lib/create-storybook/src/generators/SVELTE · high confidence

Svelte renderer restructured for Svelte 5 and Svelte CSF

The Svelte renderer has been restructured to support Svelte 5 runes syntax and the new Svelte CSF (Component Story Format) addon. This includes migrating test components to use \$props()\ and \@render\, updating the build configuration to export internal Svelte components (like \DecoratorHandler\ and \StoryRenderer\) as static assets, and introducing new entry points for preview and docs. The renderer now uses a new decorator handling mechanism via \DecoratorHandler.svelte\ and updates the source generation to skip Svelte CSF stories, deferring source code generation to the addon. Additionally, the docgen provider and story docs provider have been updated to work with the new Svelte CSF structure, and the \composeStories\ API is now tested with Svelte 5 components. Also in this area: Svelte docgen now reuses TypeScript programs per tsconfig for faster metadata extraction; Svelte renderer adds server-side docgen and story extension support; Svelte renderer now indexes story metadata IDs and nested elements.

code/renderers/svelte · high confidence

SvelteKit generator now uses structured metadata and explicit addon configuration

The SvelteKit generator in create-storybook has been refactored to define its configuration via a structured metadata object (specifying project type, renderer, framework, and builder) and a dedicated configure function. This change explicitly registers the @storybook/addon-svelte-csf addon and defines supported file extensions (js, ts, svelte) for SvelteKit projects, replacing previous implicit or bundled logic with a clearer, modular generator interface.

code/lib/create-storybook/src/generators/SVELTEKIT · high confidence

Update Angular CLI templates to use standalone components and Storybook v8 testing

The Angular CLI-generated templates (button, header, page) now use Angular standalone components instead of NgModules, simplifying the project structure. Additionally, the Storybook story files have been updated to use the new \storybook/test\ package for interaction testing and action spying, replacing the previous \@storybook/test\ import path and aligning with modern Storybook practices.

code/frameworks/angular/template/cli · high confidence

Updated Angular Storybook template configuration

The Angular Storybook templates now include a dedicated \.storybook/tsconfig.json\ that extends the application or library configuration and sets \moduleResolution\ to \bundler\. This change ensures that Storybook correctly resolves module dependencies and includes component sources in the TypeScript compilation context, improving compatibility with modern Angular build setups.

code/lib/create-storybook/templates/angular · high confidence

Updated Ember CLI template to use Storybook 7 module paths

The Ember CLI template has been updated to align with Storybook 7 standards. The generated story file now imports actions and test utilities from the new scoped paths (\storybook/actions\ and \storybook/test\) instead of the legacy \@storybook/addon-actions\ and \@storybook/test\ packages. Additionally, the template includes explicit action handling in the CLI header story and ensures autodocs tags are correctly applied for automatic documentation generation.

code/frameworks/ember/template · high confidence

Updated JavaScript CLI templates to Storybook 7 standards

The JavaScript CLI templates for Button, Header, and Page components have been updated to align with Storybook 7. Stories now use the \storybook/test\ package for utilities like \fn\, \expect\, and \userEvent\, and the \docsPage\ tag has been renamed to \autodocs\ to enable automatic documentation generation. Additionally, the Page component's interaction test has been migrated to the CSF3 \play\ function format, replacing the previous \interaction test\ approach with explicit \await\ calls for better test reliability.

code/renderers/html/template/cli/js · high confidence

Updated Next.js CLI templates to TypeScript 4.9 and Storybook 7 standards

The Next.js CLI templates have been updated to use TypeScript 4.9 and align with Storybook 7 documentation. The generated component stories (Button, Header, Page) now utilize the \satisfies\ operator for type-safe meta definitions and include the \autodocs\ tag for automatic documentation generation. Additionally, the Page template now includes an interaction test using \storybook/test\ to verify user flows, and the configuration documentation has been updated with correct links and UTM tracking parameters.

code/frameworks/nextjs/template/cli/ts · high confidence

Updated Next.js CLI templates with Storybook 7.0 patterns and component tests

The JavaScript CLI templates for Next.js have been updated to align with Storybook 7.0 standards. The generated stories now use the \storybook/test\ package (importing \fn\, \expect\, \userEvent\, and \within\) for interaction testing and action spying, replacing previous testing utilities. The \Button\ component template now utilizes Next.js's built-in \styled-jsx\ for scoped styling instead of external CSS modules or global styles. Additionally, the \Page\ story includes a concrete interaction test (\play\ function) that verifies the login/logout flow, and the \Configure.mdx\ documentation page has been refreshed with updated links and a new \ref=configure\ tracking parameter.

code/frameworks/nextjs/template/cli/js · high confidence

Updated React CLI templates to Storybook 7 autodocs and TypeScript

The React CLI templates have been updated to align with Storybook 7, replacing the legacy \docsPage\ tag with the new \autodocs\ tag to enable automatic documentation generation. The templates now use TypeScript (\.ts\/\.tsx\) instead of TypeScript with JSX (\.tsx\ previously used for stories), and the \React.VFC\ type has been replaced with \React.FC\ to address deprecation warnings. These changes affect the generated Button, Header, and Page components and their corresponding stories, providing a modern, type-safe starting point for new projects.

code/renderers/react/template/cli/ts · high confidence

Updated React CLI templates to use Storybook 7.0 patterns

The React CLI starter templates (Button, Header, Page) have been updated to align with Storybook 7.0 conventions. Component stories now use the \autodocs\ tag for automatic documentation generation, import interaction testing utilities from \storybook/test\ instead of the legacy \@storybook/test\, and utilize the \fn\ helper for mocking actions. Additionally, the Page component includes an interaction test demonstrating user login/logout flows using the modern \userEvent\ and \expect\ APIs.

code/renderers/react/template/cli/js · high confidence

Updated React renderer template with new story examples and CSF4 support

The React renderer's template stories have been refreshed to include comprehensive examples for CSF1, CSF2, and the new CSF4 format (including MDX integration), alongside dedicated stories for decorators, hooks, error handling, and argument types in both JavaScript and TypeScript. The template now demonstrates advanced usage patterns such as using \useArgs\ and \useParameter\ within stories, mounting components in play functions, and running inline tests via the \test\ API, providing users with up-to-date reference implementations for modern Storybook features.

code/renderers/react/template/stories · high confidence

Updated SvelteKit template to use Svelte 5 syntax and Storybook CSF

The SvelteKit CLI template now uses Svelte 5 features, specifically the $props and $state runes, in its core components (Button, Header, Page). Additionally, the Storybook integration has been updated to use the @storybook/addon-svelte-csf format for defining stories, replacing the previous approach.

code/frameworks/sveltekit/template/cli/ts · high confidence

Updated TypeScript CLI templates to Storybook 7 autodocs and CSF3

The TypeScript CLI templates for Button, Header, and Page components have been updated to align with Storybook 7 standards. The story definitions now use the Component Story Format 3 (CSF3) syntax and include the 'autodocs' tag to enable automatic documentation generation. Additionally, the Page template has been enhanced with an interaction test in the 'LoggedIn' story to verify login/logout behavior, and the Header template now supports user state management for displaying logged-in or logged-out UI states.

code/renderers/html/template/cli/ts · high confidence

Updated TypeScript web-components CLI templates to Storybook 7 and Lit 2

The TypeScript templates for the web-components CLI have been migrated to Storybook 7, adopting the Component Story Format (CSF3) and enabling autodocs via the 'autodocs' tag on Button and Header stories. The underlying rendering library has been upgraded from lit-html@2 to lit@2, and the default backgroundColor argument has been removed from the Button component. These changes affect the generated Button, Header, and Page components and their corresponding story files.

code/renderers/web-components/template/cli/ts · high confidence

Updated Web Components CLI templates to use Lit and Storybook 7 conventions

The JavaScript CLI templates for the Web Components renderer have been updated to use the \lit\ library instead of \lit-html\, and the generated Storybook stories now follow Storybook 7 conventions by importing \fn\ from \storybook/test\ and using the \autodocs\ tag. This change affects the default Button, Header, and Page components generated for new projects, ensuring they are compatible with the latest Storybook documentation and testing APIs.

code/renderers/web-components/template/cli/js · high confidence

Updated starter project assets and configuration template

The common renderer assets for new Storybook projects have been refreshed. The Configure.mdx template now includes UTM tracking parameters on all external documentation links to improve analytics, and the starter component styles (button, header, page) have been updated to improve color contrast and accessibility. Additionally, new SVG assets for social links (GitHub, Discord, YouTube) and feature icons (Accessibility, Tutorials) have been added to the common assets folder.

code/lib/create-storybook/rendererAssets/common · high confidence

Vite builder now displays user-friendly error messages when the preview app fails to load

The Vite builder's iframe template has been updated to include a JavaScript error handler that detects when the Storybook preview application fails to load. If the application fails to load and the server is running on a non-localhost hostname in development mode, the user will see a clear error message in the console and on the page itself, along with links to documentation explaining how to configure the \--host\ flag or Vite's \allowedHosts\ to resolve the issue. This improves the debugging experience for users accessing Storybook from remote hosts or specific network configurations.

code/builders/builder-vite/input · high confidence

Vite builder rewritten for Storybook 8 with modern iframe and HMR

The Vite builder has been completely rewritten to support Storybook 8, introducing a modern iframe script generation system that uses virtual modules for story imports and project annotations. This change brings improved Hot Module Replacement (HMR) handling, a new headless change-detection adapter for CLI usage, and stricter enforcement of build output directories to prevent conflicts with third-party plugins. The builder now requires Vite 5.0.0 or higher and drops support for Vite 4.

code/builders/builder-vite · high confidence

Vitest addon template now uses \_\_TEMPLATE\_COMPONENTS\_\_ global and updated test utilities

The Vitest addon template stories have been updated to reference components via the global \\_\_TEMPLATE\COMPONENTS\\\ object (e.g., \\\_TEMPLATE\COMPONENTS\\_.Form\) instead of direct imports, and now import testing utilities like \expect\, \fireEvent\, and \userEvent\ from \storybook/test\. The template also demonstrates explicit \step\ usage for test organization, includes examples for handling async waits and loaders, and configures Chromatic snapshots to be disabled in the unhandled-errors story.

code/addons/vitest/template · high confidence

Vue 3 CLI templates now use Composition API and Storybook 7 testing utilities

The JavaScript CLI templates for Vue 3 have been updated to use the Composition API (via \setup\) instead of the Options API, and the generated Storybook stories now import utilities from \storybook/test\ (such as \fn\, \expect\, and \userEvent\) rather than the legacy \@storybook/addon-interactions\. This change aligns the starter project with modern Vue 3 patterns and Storybook 7's recommended testing approach, providing users with up-to-date examples for component development and interaction testing.

code/renderers/vue3/template/cli/js · high confidence

Webpack5 React preset now uses react-docgen loader by default

The Webpack5 preset for React has replaced the previous Babel-based documentation generation with a dedicated Webpack loader (\react-docgen-loader\). This change makes \react-docgen\ the default engine for extracting component metadata, improving compatibility with TypeScript path aliases and ES module resolution. Users who previously relied on \react-docgen-typescript\ for detailed TypeScript prop extraction can still opt in via the \typescript.reactDocgen\ configuration, while those using the new experimental docgen service will see no build-time injection, allowing the service to handle metadata merging.

code/presets/react-webpack · high confidence

Webpack5 builder templates refactored to use direct imports and embedded fonts

The Webpack5 builder templates have been updated to remove the Handlebars dependency in favor of EJS, embedding Nunito Sans font-face definitions directly into the HTML preview template instead of relying on an external CSS file. Additionally, the JavaScript entry point now imports from 'storybook/preview-api' and 'storybook/internal/channels' directly, and includes logic to handle HMR events for story and annotation updates.

code/builders/builder-webpack5/templates · high confidence

Fixes

Fix Next.js 13.2.0+ type resolution and asset module declarations

The template now includes \next-env.d.ts\ to satisfy Next.js 13.2.0+ requirements for dynamic type references in \next/navigation\, and adds \typings.d.ts\ to declare types for SVG, AVIF, and PNG assets, ensuring the project compiles without type errors on newer Next.js versions.

code/frameworks/nextjs/template · high confidence

Fix mocker script path for non-root production deployments

The Vite builder's mocker-injection plugin now uses a relative path (./vite-inject-mocker-entry.js) for the injected script tag during production builds, while retaining the absolute path (/vite-inject-mocker-entry.js) in development. This change ensures that Storybook artifacts load correctly when hosted at non-root paths, such as GitHub Pages subdirectories, by preventing broken script references caused by absolute URL resolution in production.

code/builders/builder-vite/src/plugins/vite-inject-mocker · high confidence

Fix runtime error in Angular DocDirective by correcting ElementRef import

The Angular DocDirective template now correctly imports ElementRef as a value rather than a type-only import. This change prevents runtime errors caused by TypeScript stripping the type-only import, ensuring that dependency injection works as expected when the directive is used in stories.

code/frameworks/angular/template/stories/argTypes/doc-directive · high confidence

A new post-build script has been added to correct the generated TypeScript declaration files (index.d.ts) for the addon-links package. This script patches incorrect internal import paths (changing 'lib/preview-api' to 'storybook/preview-api') that were causing type resolution issues, ensuring that consumers of the addon receive valid type definitions.

code/addons/links/scripts · high confidence

Updated React Native Web Storybook template with accessibility and linting fixes

The TypeScript Storybook template for React Native Web has been updated to address accessibility and linting issues. The Button component now includes an accessibility role, and the Page component uses semantic roles for headings and links. Additionally, the template files have been standardized to use the .tsx extension, and Storybook story definitions have been aligned with other templates to ensure consistency.

code/frameworks/react-native-web-vite/template/cli/ts · high confidence

Test coverage

Add Angular docgen harness tests for legacy and new extraction paths; Add E2E test suite for Storybook sandboxes; Add Storybook stories for TanStack React Router context injection and layout rendering; Add TSX slot extraction baselines for Vue 3 docgen; Add core template stories and mocks for testing Storybook internals; Add web-component test fixtures for docgen harness; Added Angular component test fixtures; Added mock implementation for Node.js fs/promises API; Added reference-type-props test fixtures for Vue 3 component meta generation; Added regression tests for Vue 3 unicode defaults in component meta; Added snapshot tests for Webpack config merging; Added test fixtures for automigrate dirname handling; Added test helper utilities for CLI integration testing; Added test mocks for file systems, libraries, and Storybook assets; Added tests for Angular story-docs payload generation; Added tests for CLI help and command suggestion output; Added tests for ESLint plugin bundling and compatibility; Added tests for Vue 3 story-docs payload generation; Angular docgen harness adds comprehensive story-shape fixtures and snapshots; Angular docgen harness adds test fixtures for complex component patterns; Angular story-docs snippet generation test fixtures added; Expanded Vue 3 docgen test fixtures for complex prop patterns; New internal E2E test suite for Storybook UI; React renderer integration tests and portable stories support; Vue 3 docgen harness adds live fixtures and new baseline test suites; Vue 3 story-docs harness: expanded test fixtures for snippet generation; Web Components docgen harness adds OSA server-side baseline tests and fixtures.

Dependencies

Routine dependency and version updates across the monorepo

This change updates dependencies and version metadata across 124 manifests in the monorepo. The diffs primarily consist of lockfile regenerations, version bumps for internal packages (e.g., root, peer deps, version.ts/json), and updates to various external dependencies such as Angular, React, ESLint, and build tools. These updates ensure compatibility with newer framework versions and maintain the integrity of the dependency tree.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 53 → 51 (-2.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 65 → 65 (+0.1)
  • Architecture 60 → 59 (-0.7)
  • Maturity 75 → 75 (+0.4)
  • Readiness 47 → 44 (-3.1)
  • Security 60 → 65 (+5.2)
  • Accessibility 56 → 52 (-4.0)
  • Performance 60 → 60 (+0.0)

Resolved (641)

  • Button.Button (cognitive 19) (code/core/src/components/components/Button/Button.tsx)
  • Change coupling: FinalizationCommand.ts ↔ FeatureCompatibilityService.ts (code/lib/create-storybook/src/commands/FinalizationCommand.ts)
  • Change-coupling hub: test-utils.ts → EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts (agent-eval/lib/test-utils.ts)
  • ComponentMetaProject.extractPropsFromStories (cognitive 27) (code/renderers/react/src/componentManifest/componentMeta/ComponentMetaProject.ts)
  • ComponentMetaProject.extractPropsFromStories (cyclomatic 22) (code/renderers/react/src/componentManifest/componentMeta/ComponentMetaProject.ts)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Cross-context type Entry (angular-cm → core) (code/core/src/types/modules/core-common.ts)
  • Cross-context type Feature (core → create-storybook) (code/lib/create-storybook/src/commands/UserPreferencesCommand.ts)
  • Cross-context type Feature (core → create-storybook) (code/lib/create-storybook/src/generators/types.ts)
  • Cross-context type Feature (core → create-storybook) (code/lib/create-storybook/src/services/AddonService.ts)
  • Cross-context type Feature (core → create-storybook) (code/lib/create-storybook/src/services/AddonService.ts)
  • Cross-context type Feature (core → create-storybook) (code/lib/create-storybook/src/services/TelemetryService.ts)
  • Cross-context type IndexEntry (core → docgen-harness) (code/lib/docgen-harness/src/angular/docgen-fixture.ts)
  • Cross-context type IndexEntry (core → docgen-harness) (code/lib/docgen-harness/src/web-components/story-docs/docgen-fixture.ts)
  • Cross-context type IndexEntry (core → react) (code/renderers/react/src/componentManifest/buildReactComponentDocgen.ts)
  • Cross-context type IndexEntry (core → react) (code/renderers/react/src/componentManifest/buildReactComponentDocgen.ts)
  • Cross-context type IndexEntry (core → react) (code/renderers/react/src/componentManifest/buildReactComponentDocgen.ts)
  • Cross-context type IndexEntry (core → svelte) (code/renderers/svelte/src/docgen/component-docgen/resolve-component/resolve-component.ts)
  • Cross-context type IndexEntry (core → svelte) (code/renderers/svelte/src/docgen/component-docgen/resolve-component/resolve-component.ts)
  • …and 621 more

New (312)

  • Banned license: @img/sharp-libvips-darwin-arm64 (yarn.lock)
  • Banned license: @img/sharp-libvips-darwin-x64 (yarn.lock)
  • Banned license: @img/sharp-libvips-linux-arm (yarn.lock)
  • Banned license: @img/sharp-libvips-linux-arm64 (yarn.lock)
  • Banned license: @img/sharp-libvips-linux-x64 (yarn.lock)
  • Banned license: @img/sharp-libvips-linuxmusl-arm64 (yarn.lock)
  • Banned license: @img/sharp-libvips-linuxmusl-x64 (yarn.lock)
  • Banned license: @img/sharp-win32-arm64 (yarn.lock)
  • Banned license: @img/sharp-win32-x64 (yarn.lock)
  • Change coupling: FrameworkDetectionService.ts ↔ ProjectTypeService.ts (code/lib/create-storybook/src/services/FrameworkDetectionService.ts)
  • Change coupling: build-story-docs.ts ↔ print-hole.ts (code/renderers/vue3/src/docgen/story-docs/build-story-docs.ts)
  • Change coupling: print-template.ts ↔ print-hole.ts (code/renderers/svelte/src/docgen/story-docs/print-template.ts)
  • Change coupling: story-docs-args.ts ↔ story-docs-markup.ts (code/frameworks/angular-vite/src/docgen/story-docs-args.ts)
  • Change coupling: transform-template.ts ↔ print-hole.ts (code/renderers/vue3/src/docgen/story-docs/transform-template/transform-template.ts)
  • Change coupling: upgrade.ts ↔ PreflightCheckCommand.ts (code/lib/cli-storybook/src/upgrade.ts)
  • Change-coupling hub: EVAL.ts → EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts (agent-eval/evals/814-write-stories-for-fetching-component/EVAL.ts)
  • Change-coupling hub: test-utils.ts → EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts, EVAL.ts (agent-eval/lib/test-utils.ts)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Deprecated: image-size (yarn.lock)
  • …and 292 more

Changes since last survey

  • 300 commits — 228 feature/other, 72 fixes

By area

  • (repo) — 70 commits
  • code/core — 51 commits
  • code/lib — 43 commits
  • ecosystem-qa/lib — 26 commits
  • ecosystem-qa/checks.ts — 13 commits
  • code/addons — 12 commits
  • code/frameworks — 9 commits
  • code/renderers — 9 commits
  • (root) — 8 commits
  • .github/workflows — 8 commits
  • ecosystem-qa/references — 8 commits
  • ecosystem-qa/README.md — 7 commits
  • test-storybooks/mcp — 5 commits
  • scripts/ci — 4 commits
  • agent-eval/evals — 3 commits
  • code/e2e-sandbox — 3 commits
  • ecosystem-qa/run.ts — 3 commits
  • .agents/skills — 2 commits
  • code/builders — 2 commits
  • docs/_snippets — 2 commits

Notable commits

  • fix: Base sandbox fix on the branch merge base
  • fix: Merge branch 'next' into fix/angular-loglevel-pattern-validation
  • fix: Merge branch 'next' into fix/builder-vite-stats-watch-files
  • fix: Merge branch 'next' into fix/sandbox-init-default
  • fix: Merge branch 'next' into fix/sandbox-publish-hash
  • fix: Merge pull request #37032 from BenjaminMercier19/fix/builder-vite-stats-watch-files
  • fix: Merge pull request #37044 from subhwastaken/fix/angular-loglevel-pattern-validation
  • fix: Merge pull request #37160 from benjavicente/fix/run-all-manager-origin
  • fix: Merge pull request #37289 from lazerg/fix/issue-37284-no-open-migration
  • fix: Merge pull request #37293 from storybookjs/jeppe/ts71-regression-guards
  • fix: Merge pull request #37342 from HarshRajSinghania/fix/sandbox-failed-templates-list
  • fix: Merge pull request #37344 from storybookjs/valentin/fix-webpack-story-globs-on-windows
  • fix: Merge pull request #37348 from Sun-Wukhan/fix/sandbox-init-default
  • fix: Merge pull request #37374 from Sun-Wukhan/fix/sandbox-publish-hash
  • fix: Merge pull request #37380 from imryanthedev/fix/sandbox-csf-factories-glob
  • fix: Merge pull request #37387 from storybookjs/codex/fix-next-image-windows-paths
  • fix: Merge pull request #37400 from storybookjs/fix/watch-story-specifiers-separator-agnostic
  • fix: Merge remote-tracking branch 'origin/next' into fix/watch-story-specifiers-separator-agnostic
  • fix: Rebase sandbox fix onto current next
  • fix: Skills: Fix the review findings on frontmatter, the toolsets header and the eval read check
  • …and 280 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

storybookjs/storybook was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 7c89155f3fae776c903876ecf9b2bc7b25c0f3a4 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.