storybook

Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

MIT License

Downloads
357.1M
Stars
83.3K
Committers
2.1K

Bot releases are hidden (Show)

storybook -

Published by shilman over 1 year ago

Bug Fixes

  • CLI: Fix sb add / mdx-gfm for addons with non-serializable values #21731
  • CSF-plugin: Fix sourcemaps #21704
  • React: Fix TS docgen for Functional Components #21693
  • TypeScript: Add previewMainTemplate option to StorybookConfig #21620
  • UI: Fix titles for addons/controls/panel tabs to support render fns and JSX elements #21650
  • UI: Fix active state for menu iconbutton #21666
  • CLI: Update renderer templates to provide correct typescript examples #21647
  • Composition: Fix various CORS issues #21682
  • Composition: Fix version switcher #21621

Dependency Upgrades

  • Pin rollup version to 3.19.1 #21723
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • UI: Fix IconButton to be in active state when corresponding menu is open #21622
  • Angular: Fix sb init library support #21675
  • CLI: Fix Vue3 template CSS #21674
  • Core: fix storySort not reading from .mjs & .cjs files #21637
  • Core: Fix cts/mts file extensions for config files #21465
  • Core: Fix conflicting staticDirs case when -s flag is used #21591
  • Angular: Fix source preview for angular stories #21609
storybook -

Published by shilman over 1 year ago

Features

  • Angular: Add "assets" build option #21116

Bug Fixes

  • React: Fix missing framework options in shim #21644
  • Docs: Update MDX Link component to be more user friendly #21570
  • Links: Update LinkTo component #21569
  • Vite: Allow vue files in importfn #21550
  • Controls: Fix glitchy range control #21459
  • CLI: Fix styling regression on CLI starter Introduction.mdx file #21466
  • Addon-docs: Fix csf-plugin for Angular #21629
  • Vite: Fix alias array converted incorrectly to an object #21480
  • UI: Default white preview background #21593
  • Vite: Fix dev and yarn pnp by adding lodash files to optimizeDeps.include #21535
  • Composition: Fix blank page when ref is missing but specified in url #21598
  • Core: Disable cache in dev-mode #21574
  • Vite: Fix react-vite and projects with absolute path preview entries on Windows #21545
  • UI: Change the way of preloading fonts #21599
  • Core: Add preload and prefetch links for runtime.mjs and related files #21594
  • React: Fix type inconsistencies in composeStories #21575
  • UI: Fix WithTooltip to use visible prop instead of defaultVisible #21589

Maintenance

  • Blocks: Iprove error messages #21615

Build

  • Build: Regen lockfiles #21576
  • Build: Fix coverage job in CircleCI #21633
  • Vite: Update sandbox template for vue2 script #20750
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Revert "CLI: Upgrade non-core storybook packages better" #21583
  • CLI: Fix loading main.cjs files in automigration #21582
  • Outline: Fixed a typo #21515

Maintenance

  • CLI: Improve MDX codemod message regarding Story.id deprecation #21541
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • CLI: Fix MDX codemod to update imports even when no stories are extracted #21549
  • NextJS: Support next/font in Next v13.2.4 #21560

Build

  • Fix 'yarn build' command on windows systems #21531
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Revert "Merge pull request #21486 from storybookjs/norbert/wrap-for-pnp" #21532
  • Revert "Merge pull request #21497 from storybookjs/tom/21432-replace-… #21526
  • Csf-tools: Update babelParse to use legacy decorator syntax #21506
storybook -

Published by shilman over 1 year ago

Storybook 7.0 is in RC!! 🎉🎉🎉

Upgrade today: Migration guide

Existing projects

If you're already using Storybook, upgrade using this command:

npx storybook@next upgrade --prerelease

That will perform the following actions:

  1. Upgrade your project to the latest prerelease version of Storybook
  2. Suggest auto-migrations related to that upgrade
  3. One of those auto-migrations will install and configure this framework

New projects

To bootstrap a new Storybook project with 7.0, run: npx storybook@next init


Hundreds of improvements and fixes, including:

Track the release in the Github: Storybook 7.0 burndown 🛠

Bug Fixes

  • CLI: Upgrade non-core storybook packages better #21508
  • Svelte: Pass all arguments to configure through to fix StoryStoreV6 #21491
  • Core: Fix project root detection in yarn PnP without git #21461
  • Telemetry: Replace isomorphic-unfetch with node-fetch #21497
  • Core: Fix builders/renderer PnP support #21486
  • CLI: Require main.js without cache in automigrations #21498

Maintenance

  • CLI: Filter out internal static dir logging #21137
  • Docs: Error if you try to index an MDX file in ssv6 #21495

Build

  • Build: add slash to fix windows test #21518
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Vite: Fix HMR of preview.js #21485
  • Vite: Make sure we update the vite import map when .mdx is added #21490
  • Docs: Don't allow passing of={} with undefined prop #21452
  • Composition: Restore support for v2 stories.json #21354
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Story Index: Fix storySort parsing for parameters variable #21481
  • React/Vite: Add some missing types #21449
  • Docs: Cleanup with Promise instead of setTimeout #21476
  • Docs: Re-render MDX files when you fix a thrown error #21454
  • CLI: Fix mdx-to-csf codemod blocks imports #21448

Maintenance

  • CLI: Copy tweaks for automigrations #21475
  • CLI: Warn the user when stories glob does not match any file #21392
  • Docs: Use Of type in useOf argument #21442
  • Telemetry: Is interactive shell #21436
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Vite: Add react docgen types #21338
  • Core: Print errors in withTelemetry before prompting #21407
  • Add Angular Builder Codemods #21409
  • Docs: Use async import rather than require in docs #21402
  • Docs: Don't warn if we find the same entry twice #21403
  • Telemetry: Ensure we report errors even when unexpected things happen #21416
  • CLI: Fix versions.ts to install latest prerelease packages #21418
  • Core: Remove pointless module.hot.decline() in addons #21421
  • Docs: Allow ArgTable usage unattached #21371

Maintenance

  • Addon-docs: Polish styling for 7.0 #21255
storybook -

Published by shilman over 1 year ago

Features

  • Docs: Show MDX errors using our error overlay #21369

Bug Fixes

  • Core: Remove state deprecation warnings by default #21367
  • Core: Fix default export storySort handling #21389
  • Vue3: Add slot TS types #21359
  • Docs: Fix issue with referencing non-story files with names similar or equal to docs files #21348

Maintenance

  • Docs: Update invalid <Meta of={}> error to be more helpful. #21365

Dependency Upgrades

  • Upgrade react-docgen-typescript-plugin for TS4.8 #21380
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Core: Fix storySort parsing in preview.js with default export #21353
  • CLI: Remove the workspace root flag from the install command for yarn2 #21356
  • Svelte/Vite: Prevent crash when no svelte.config file #21339
  • Use stable Next.js v13.2.0 next/font #21247

Dependency Upgrades

  • Bump version of get-tarball #21355
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • CLI: Improve yarn/pnpm workspaces support for adding dependencies in CLI #21331
  • Core: Fix manager.js ignored when sideEffects:false in package.json #21335
  • Vite: Fix glob path creation for Windows #21305
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • UI: Fix enableShortcuts, exclude it from being persisted #21291
  • NextJS: Fix type references in Next.js >= 13.2.0 #21304
  • CLI: Fix formatting of autodocs-true automigration #21314
  • Docs: Remove warning when browsing away in React #21214

Maintenance

  • CLI: Fix security report around download-tarball package #21201
  • CSF-Tools/Codemods: Un-bundle babel, limit semver range of babel packages #21326
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • CSF-tools/Codemods: Pre-bundle all babel related packages #21301
  • UI: Fix height adjustment in ZoomElement in Safari #21174
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • Core: Improve framework field validation #21299
  • SvelteKit: Only disable SSR when building, not serving #21290
  • CLI: Account for legacy framework values in automigration #21184
  • TypeScript: Add env type to BuilderOptions #21173
  • Core: Reverse order of project decorators #21182

Maintenance

  • React-webpack: Fix dependencies to remove peerDep warnings #21278

Build

  • Build: Improve sandbox task logs #21296
storybook -

Published by shilman over 1 year ago

Bug Fixes

  • NextJS: Fix next/babel preset #21104
  • CLI: Pass config dir from upgrade to automigration #21270
  • Docs: Show errors when stories throw in docs #21212
  • CLI: Fix performance regression of storybook dev #21269

Build

  • Build: Remove jest_workaround swc package by adding extra jest.mock functions #21249
  • Build: Upgrade playwright & re-enable bench #21241
storybook -

Published by shilman over 1 year ago

Features

  • Core: Add preview.js default export support #21227
  • TypeScript: Add preview type and update CLI template #21205
  • Autodocs: Hide Stories block when only primary story exists #21178
  • CLI: Add automigration for GFM in MDX #21186

Bug Fixes

  • Docs: Remove react-dom@18 warning in docs #21197
  • mdx-to-csf codemod: Fix wrong export referenced in generated mdx #21226
  • Preact: Enable ts plugin by default #21225
  • pnpm: Fix run command for pnpm API #21165
  • Angular: Properly destroy component when switching to another Story #21219
  • CLI: Fix SvelteKit automigration package name #21210
  • Angular: Initialize .storybook without references to root in sub projects #21202

Maintenance

  • CLI: Only run useful automigrations on init #21203

Build

  • Build: Disable broken cra-bench #21238
  • Revert "Remove vue-cli as sandbox template is currently busted" #21237
  • Build: Add mixed exports test case to composeConfigs #21230
  • Build: pass debug option to sandbox generate task #21200
  • Build: add @storybook/bench #21199
  • Build: Fix Playwright to v1.30.0 #21194
storybook -

Published by shilman over 1 year ago

Features

  • Codemod: Convert .stories.mdx to MDX and CSF #21073

Bug Fixes

  • Csf Tools: Fix overriding scalar named export values #21190
  • Csf Tools: Support satisfies and as TS operator with module.exports #21188
  • Core: try harder to resolve .mjs files for the browser entries #21161
  • CLI: Fix jscodeshift error: env: node\r: No such file or directory #21180
  • Angular: Fix NG0800 error #21181
  • Addon-docs: Fix style bleeding #21150
  • CLI: Improve how automigrations read main.js #21168

Build

  • Build: Add check step to ci:daily workflow #21169
storybook -

Published by shilman over 1 year ago

Features

  • Core: Coalesce multiple indexing errors into one #21114
  • Core: Don't crash when there are errors indexing #21112

Bug Fixes

  • CLI: Fix CRA init, ensure the new version of the preset #21166
  • Angular: Fix 'isStandalone' function not available error #21167
  • Angular: Fix constructor dependencies #21059
  • NextJS: Add missing dependencies to fix pnpm #21162