1858 Commits

Author SHA1 Message Date
Jeppe Reinhold
d8778f872a Merge branch 'next' of github.com:storybookjs/storybook into jeppe/status-store 2025-03-14 22:09:40 +01:00
storybook-bot
25ec4e90e0 Bump version from "9.0.0-alpha.3" to "9.0.0-alpha.4" [skip ci] 2025-03-14 14:59:06 +00:00
Jeppe Reinhold
78d167d437 fix useStatusStore types, add type tests 2025-03-14 10:46:59 +01:00
Jeppe Reinhold
87e2fcdaab status-value:warn -> status-value:warning 2025-03-13 22:01:08 +01:00
Jeppe Reinhold
db25baa577 fix lint 2025-03-13 21:55:11 +01:00
Jeppe Reinhold
affcc151c9 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/status-store 2025-03-13 20:50:00 +01:00
Jeppe Reinhold
bb8f88dfb7 fix type check 2025-03-13 20:29:14 +01:00
Jeppe Reinhold
1b1e4113e1 replace enum-like StatusValue with 'status-value:VAL' literal string 2025-03-13 20:12:51 +01:00
Jeppe Reinhold
bd0ffbfc24 add comment explaining why we don't create status store in vitest subprocess. 2025-03-13 19:53:46 +01:00
Jeppe Reinhold
ec335256c7 iterate over passed storyIds instead of all 2025-03-13 19:49:14 +01:00
Jeppe Reinhold
754bfeae86 rename StatusValueType > StatusValue 2025-03-13 13:20:09 +01:00
Norbert de Langen
91ba424783 Merge branch 'next' into valentin/move-addon-actions-into-core 2025-03-13 12:46:38 +01:00
Jeppe Reinhold
e99b0279bf Revert "Revert "Merge branch 'next' of github.com:storybookjs/storybook into next""
This reverts commit ff3bf48b238d0ea8abbdf62232b492a0cbc44345.
2025-03-13 11:04:26 +01:00
Jeppe Reinhold
ff3bf48b23 Revert "Merge branch 'next' of github.com:storybookjs/storybook into next"
This reverts commit 5332dae94857c6d1ee70dc8298233b293b6d9e9f, reversing
changes made to 2d3d220d80a1e71a13a6828a584078e36c72beaa.
2025-03-13 11:00:27 +01:00
Norbert de Langen
869ac194dd Merge branch 'valentin/move-addon-actions-into-core' into norbert/temp-public-api 2025-03-13 09:38:23 +01:00
Valentin Palkovic
c4c9049c24 Prebundling testing-library and use a patch to avoid issues in test-runner 2025-03-12 22:13:50 +01:00
Valentin Palkovic
c6fb85260b Fix hanging chromatic sandbox 2025-03-12 21:19:41 +01:00
Jeppe Reinhold
6688aa252a disable UniversalStores in preview 2025-03-12 20:07:02 +01:00
Valentin Palkovic
c783f40bbc Final fixes 2025-03-12 16:15:54 +01:00
Jeppe Reinhold
81ac34a9bb handle allStatuses being undefined in refs 2025-03-12 14:45:03 +01:00
Norbert de Langen
ea8673a42d
Merge branch 'valentin/move-addon-actions-into-core' into norbert/temp-public-api 2025-03-12 14:07:32 +01:00
Norbert de Langen
1f560a9aa6 Fix global variable naming in typings files
Corrects the naming of global variables related to Storybook testing and actions by removing extra underscores. This ensures consistent and correct global variable declarations across core and manager typings files.
2025-03-12 14:04:04 +01:00
Norbert de Langen
8ee15f6cff Add internal package exports for compatibility and future-proofing
This commit updates the package.json and package generation script to:
- Add internal package exports alongside public exports
- Ensure backward compatibility for existing references
- Prepare for potential API changes in future Storybook versions

The changes include adding `/internal/` prefixed exports for various modules while maintaining existing public exports.
2025-03-12 14:01:23 +01:00
Norbert de Langen
cc46e12102 Add global variables for Storybook testing and actions
This commit adds new global variable declarations for Storybook testing and actions in the typings files, and updates the globals runtime to use globalThis instead of global
2025-03-12 13:48:17 +01:00
Valentin Palkovic
c4e638dbdb Fix test runner 2025-03-12 13:29:34 +01:00
Norbert de Langen
4358145251 Merge branch 'valentin/move-addon-actions-into-core' into norbert/temp-public-api 2025-03-12 13:24:34 +01:00
Valentin Palkovic
4ad1929968 Merge remote-tracking branch 'origin/next' into valentin/move-addon-actions-into-core 2025-03-12 12:38:45 +01:00
Jeppe Reinhold
4ff2541fb0 fix mock types 2025-03-12 11:54:10 +01:00
Norbert de Langen
a2246f91fb Remove deprecated action-related module exports from globals
This commit removes deprecated action-related module exports from the globals map, including:
- Removing 'storybook/actions/preview', 'storybook/actions/manager', and 'storybook/actions/decorator' exports
- Reorganizing the order of module exports
- Adding a deprecated TODO comment for 'storybook/internal/preview-api'
2025-03-12 11:49:54 +01:00
Norbert de Langen
396977d1b7 Reorganize Storybook globals and exports
This commit updates the globals and exports for Storybook modules, including:
- Removing deprecated action-related exports
- Adding deprecated internal module mappings
- Reorganizing the order of module exports and globals
- Preparing for future module consolidation and cleanup
2025-03-12 11:37:36 +01:00
Jeppe Reinhold
034cf2ec52 revert previous change to core package.json 2025-03-12 11:25:58 +01:00
Jeppe Reinhold
2468be8b59 only expose cjs of core-server, as the esm version is unusable. 2025-03-12 10:33:07 +01:00
Norbert de Langen
be94ab1c10 Update import paths for actions and preview modules
This commit adjusts import paths for actions and preview modules across multiple files, including:
- Updating the import path for definePreview in preview and test modules
- Modifying the import path for action annotations in core-annotations
- Removing some unused exports from the manager globals
- Adjusting the mapping of 'storybook/actions' in the prep script
2025-03-12 09:57:02 +01:00
Norbert de Langen
d246bf2017 Merge branch 'valentin/move-addon-actions-into-core' into norbert/temp-public-api 2025-03-12 09:09:27 +01:00
Valentin Palkovic
8e30709c30 Further cleanup and adjustments to fix portable stories 2025-03-11 23:44:13 +01:00
Valentin Palkovic
7135a942c4 Refactor instrumenter to await channel setup 2025-03-11 21:44:23 +01:00
Jeppe Reinhold
87c4b2a194
Merge branch 'next' into jeppe/status-store 2025-03-11 21:35:18 +01:00
Jeppe Reinhold
306b04a513 fix dts generation in core 2025-03-11 21:07:15 +01:00
Norbert de Langen
91daf73aac Update import paths for internal modules in manager components
This commit updates import paths for manager-api and theming modules across multiple manager components, replacing 'storybook/internal/manager-api' and 'storybook/internal/theming' with 'storybook/manager-api' and 'storybook/theming' respectively.
2025-03-11 17:11:43 +01:00
Norbert de Langen
4b66ca5d70 Update import paths for manager-api and theming modules 2025-03-11 17:04:37 +01:00
storybook-bot
b748af8a71 Bump version from "9.0.0-alpha.2" to "9.0.0-alpha.3" [skip ci] 2025-03-11 15:41:18 +00:00
Norbert de Langen
92f6a922d6 Remove 'storybook/test' and 'storybook/actions' from globals map 2025-03-11 16:34:26 +01:00
Norbert de Langen
4a010fe791 Preview API: Update import path for definePreview 2025-03-11 16:17:43 +01:00
Norbert de Langen
fcc734091e Merge branch 'valentin/move-addon-actions-into-core' into norbert/temp-public-api 2025-03-11 16:15:39 +01:00
Kasper Peulen
8a6b6ecf8b Adjust test 2025-03-11 15:39:55 +01:00
Norbert de Langen
536dc2a631 Remove unnecessary import lines in story files 2025-03-11 15:39:48 +01:00
Norbert de Langen
c21b4d4688 Preview API: Update import path for getComposedCoreAnnotations 2025-03-11 15:25:14 +01:00
Norbert de Langen
539207781b Add 'storybook/actions' module to globals and runtime 2025-03-11 15:18:04 +01:00
Norbert de Langen
085c34da4f Remove duplicate 'storybook/test' path in module resolution 2025-03-11 15:16:38 +01:00
Jeppe Reinhold
68ac392558 fix useUniversalStore not re-rendering when the selector/universalStore changes 2025-03-11 15:15:35 +01:00