2102 Commits

Author SHA1 Message Date
Valentin Palkovic
1e4a79a430 Merge remote-tracking branch 'origin/next' into norbert/remove-addon-essentials 2025-03-30 21:40:07 +02:00
Valentin Palkovic
9649d370f8 Add __STORYBOOK_TEST_SPY_LISTENERS__ to global scope and update listener initialization 2025-03-30 21:13:04 +02:00
storybook-bot
5ca883c16a Bump version from "9.0.0-alpha.11" to "9.0.0-alpha.12" [skip ci] 2025-03-30 18:27:03 +00:00
Valentin Palkovic
34fa6eeabc Merge remote-tracking branch 'origin/next' into norbert/remove-addon-essentials 2025-03-30 12:31:31 +02:00
Valentin Palkovic
ef77fd6414 Refactor Storybook manager imports by removing unused entries and adding outline manager for improved organization and functionality. 2025-03-30 12:19:22 +02:00
Valentin Palkovic
f866aa6726
Merge branch 'next' into norbert/remove-addon-essentials 2025-03-30 11:36:05 +02:00
Valentin Palkovic
67bc48f493 Fix unit test 2025-03-30 11:32:42 +02:00
Norbert de Langen
098ae3e15c Add highlight annotations to csf4.ts and update e2e tests for a11y panel visibility 2025-03-28 23:24:56 +01:00
Norbert de Langen
9bacc23477 Refactor highlight logic in preview.ts to ensure addons are defined before usage and update import path for userOrAutoTitleFromSpecifier in get-story-id.ts for better module organization. 2025-03-28 22:47:58 +01:00
Norbert de Langen
3349a89ff7 Remove 'experimental-nextjs-vite' from SupportedFrameworks type in frameworks.ts to streamline framework options. 2025-03-28 22:23:54 +01:00
Norbert de Langen
a4466c2717 do not use preview-api in node 2025-03-28 22:13:23 +01:00
Valentin Palkovic
fe9c6399a5 Merge remote-tracking branch 'origin/next' into valentin/remove-vue3-webpack-support 2025-03-28 18:52:36 +01:00
Norbert de Langen
4cbe36587b Merge branch 'next' into norbert/remove-addon-essentials 2025-03-28 16:21:53 +01:00
Valentin Palkovic
4740a15e69 Merge remote-tracking branch 'origin/next' into valentin/remove-preact-webpack-support 2025-03-28 16:17:29 +01:00
Valentin Palkovic
c20fee7666
Merge pull request #30956 from storybookjs/valentin/stabilize-experimental-nextjs-vite
Next.js-Vite: Stabilize @storybook/experimental-nextjs-vite
2025-03-28 16:15:25 +01:00
Valentin Palkovic
c001e4b035
Merge pull request #30940 from storybookjs/valentin/drop-tooling-support
Maintenance: Drop tooling support
2025-03-28 16:14:56 +01:00
Norbert de Langen
d756565db3 Enhance import organization in common-manager.ts by enforcing import order and temporarily disabling prettier formatting for clarity. 2025-03-28 16:14:17 +01:00
Norbert de Langen
585b6d642e Remove unused viewport and backgrounds configurations from preview.ts to simplify story parameters. 2025-03-28 15:55:22 +01:00
Norbert de Langen
78f6b56e12 Remove unused imports from the setup function in runtime.ts to streamline module loading. 2025-03-28 15:53:37 +01:00
Norbert de Langen
9d1967910d Merge branch 'next' into norbert/remove-addon-essentials 2025-03-28 15:44:03 +01:00
Valentin Palkovic
a1ca43679b Refactor core annotations handling by removing getComposedCoreAnnotations function and updating related imports. Simplify allowed global names in GlobalsStore and adjust project annotations composition in StoryStore. Enhance prepareStory function by directly utilizing core annotations without intermediate variables. 2025-03-28 15:42:20 +01:00
Valentin Palkovic
93e802184b
Update code/core/src/core-server/presets/common-manager.ts 2025-03-28 14:17:37 +01:00
Valentin Palkovic
9de3387fdd
Merge branch 'valentin/drop-tooling-support' into valentin/remove-preact-webpack-support 2025-03-28 14:04:18 +01:00
Valentin Palkovic
8c556d699f
Merge branch 'next' into valentin/drop-tooling-support 2025-03-28 14:03:58 +01:00
Jeppe Reinhold
f06c64795e fix missing global in globals-runtime 2025-03-28 13:43:07 +01:00
Jeppe Reinhold
5dbf08eba6
Merge pull request #30963 from storybookjs/jeppe/fix-store-flake
Core: Fix flaky unit tests related to stores
2025-03-28 13:25:53 +01:00
Norbert de Langen
3189b2f119 Refactor document access in utils.ts to use globalThis and improve null checks for document operations 2025-03-28 12:42:33 +01:00
Norbert de Langen
dc8b4f2d82 Merge branch 'next' into norbert/remove-addon-essentials 2025-03-28 12:36:31 +01:00
Valentin Palkovic
dbfd054d07
Merge branch 'valentin/drop-tooling-support' into valentin/remove-preact-webpack-support 2025-03-28 12:32:29 +01:00
Valentin Palkovic
dd6edc6897
Merge branch 'next' into valentin/drop-tooling-support 2025-03-28 12:32:15 +01:00
Valentin Palkovic
8bced72523 Update Node.js version requirement in index.cjs to 20 or higher for Storybook compatibility. 2025-03-28 12:31:42 +01:00
Valentin Palkovic
b0d805409f
Merge pull request #30926 from storybookjs/valentin/api-removals
Maintenance: Remove deprecated APIs
2025-03-28 12:28:46 +01:00
Valentin Palkovic
adf2703a3d Refactor Button component to remove unnecessary local variables for variant and size, directly using props instead. 2025-03-28 12:26:57 +01:00
Jeppe Reinhold
8aec1a5e09 use separate VITEST_CHILD_PROCESS env var to determine store leadership
so that our internal unit tests which also has VITEST and TEST env vars doesn't make the store get created as followers, but only the actual vitest child process does.
2025-03-28 11:44:46 +01:00
Valentin Palkovic
8323d2c405
Update code/core/src/cli/dirs.ts
Co-authored-by: Norbert de Langen <ndelangen@me.com>
2025-03-28 11:15:51 +01:00
Valentin Palkovic
0de69a61ba Preact: Remove support for Preact Webpack 5
Deleting related packages and updating migration documentation.
Users are now directed to use the Vite builder for Preact projects.
2025-03-28 10:57:12 +01:00
Valentin Palkovic
4f1fbc2ede Vue3: Remove support for Webpack 5
Deleted related packages and updated migration documentation.
Users are now directed to use the Vite builder for Vue3 projects.
2025-03-28 10:56:19 +01:00
Valentin Palkovic
4f7cc51d25 Preact: Remove support for Preact Webpack 5
Deleting related packages and updating migration documentation.
Users are now directed to use the Vite builder for Preact projects.
2025-03-28 10:46:09 +01:00
Valentin Palkovic
f79e8b2c98 Next.js-Vite: Stabilizing @storybook/experimental-nextjs-vite 2025-03-28 09:28:48 +01:00
Gert Hengeveld
a85a1e3902 Visual tweaks to badges and improved layout for a11y panel 2025-03-28 00:08:43 +01:00
Norbert de Langen
d88aaea78a Update globals handling in measure and outline components to prevent potential errors when accessing properties. Change references from '@storybook/addon-essentials' to '@storybook/addon-docs' in compatibility tests. 2025-03-27 16:40:13 +01:00
Norbert de Langen
5e684dc651 Refactor preview export to use an arrow function for defining the preview configuration 2025-03-27 16:05:59 +01:00
Norbert de Langen
5357a9ce63 Clean up CODEOWNERS by removing unused addon entries and fix minor formatting issues in preview.ts and index.ts 2025-03-27 15:58:04 +01:00
Norbert de Langen
7a37f8bd17 remove addon-essentials 2025-03-27 15:51:04 +01:00
Norbert de Langen
fc2981c6e8 merge addon-outline into core 2025-03-27 15:37:52 +01:00
Norbert de Langen
e3c962c18f move addon measure into core 2025-03-27 15:18:20 +01:00
Norbert de Langen
3afb52ada0 Merge branch 'norbert/remove-addon-essentials' of https://github.com/storybookjs/storybook into norbert/remove-addon-essentials 2025-03-27 14:43:34 +01:00
Norbert de Langen
5641e24aa5 Move addon-highlight into the core 2025-03-27 14:43:20 +01:00
Norbert de Langen
0de762ab9e
Merge branch 'next' into norbert/remove-addon-essentials 2025-03-27 14:38:34 +01:00
Norbert de Langen
025375d44e Merge branch 'norbert/remove-addon-essentials' of https://github.com/storybookjs/storybook into norbert/remove-addon-essentials 2025-03-27 14:31:31 +01:00