17138 Commits

Author SHA1 Message Date
Valentin Palkovic
926ab5476a
Merge pull request #30179 from storybookjs/larsrickert/code-panel-improvements
Addon-docs: Consider custom code snippet in story code panel and update styles
2025-02-12 15:51:18 +01:00
Valentin Palkovic
a019db85eb
Merge pull request #30522 from storybookjs/valentin/fix-turbosnap
Builder-Vite: Fix turbosnap
2025-02-12 15:31:21 +01:00
Kasper Peulen
7da4abdb39
Merge pull request #30197 from storybookjs/kasper/csf-factories
CSF: Add support for CSF factories
2025-02-12 15:24:58 +01:00
Kasper Peulen
a73f65688a Fix type checks 2025-02-12 15:02:42 +01:00
Kasper Peulen
a3e07f6416 Merge remote-tracking branch 'origin/next' into kasper/csf-factories 2025-02-12 14:36:45 +01:00
Jeppe Reinhold
94f64dd1bd Merge branch 'jeppe/universal-store-in-addon-test' of github.com:storybookjs/storybook into jeppe/universal-store-in-addon-test 2025-02-12 14:30:27 +01:00
Jeppe Reinhold
002aef3841 loosen mock testutils types 2025-02-12 14:30:23 +01:00
Jeppe Reinhold
013140e372
Merge branch 'next' into jeppe/universal-store-in-addon-test 2025-02-12 13:54:19 +01:00
Jeppe Reinhold
147aedaf96 don't allow events to be handled when store is still syncing 2025-02-12 13:51:09 +01:00
Valentin Palkovic
473e1b9f73 Builder-Vite: Fix turbosnap 2025-02-12 13:44:55 +01:00
Jeppe Reinhold
9f9254ac23
Merge pull request #30130 from storybookjs/update-23618-fix-toc-onclick
Addon-Docs: Change URL hash when TOC item is clicked, and fix TOC loading bugs
2025-02-12 11:17:18 +01:00
Jeppe Reinhold
5a9c67ccd0 fix state listeners not getting called when store state was synced 2025-02-12 11:08:41 +01:00
Jeppe Reinhold
6271cb6173 Fix presets getting a CJS module of core when core is running in ESM
Co-authored-by: Norbert de Langen <norbert@chromatic.com>
2025-02-12 10:12:21 +01:00
Steve Dodier-Lazaro
0017926dfc
Blocks: Ensure Heading slugs heading IDs to remove spaces 2025-02-12 09:08:28 +01:00
Jeppe Reinhold
270cbb9956 fix types 2025-02-11 20:41:42 +01:00
Jeppe Reinhold
e0154a5263
Merge branch 'next' into next 2025-02-11 20:17:41 +01:00
Jeppe Reinhold
8b8e41cb36
Merge branch 'next' into jeppe/universal-store-in-addon-test 2025-02-11 20:02:09 +01:00
Jeppe Reinhold
3f65a932f8 cleanup 2025-02-11 16:40:51 +01:00
Jeppe Reinhold
7637b3f605 fix type import 2025-02-11 16:32:01 +01:00
Jeppe Reinhold
eeb6dc7b43 dont double-encode heading ids 2025-02-11 14:30:42 +01:00
Jeppe Reinhold
4ce1f90466 prebundle github-slugger 2025-02-11 14:30:28 +01:00
Jeppe Reinhold
3ad9d6c11d Merge branch 'next' of github.com:storybookjs/storybook into update-23618-fix-toc-onclick 2025-02-11 13:46:03 +01:00
Gert Hengeveld
875cd97e68
Merge pull request #30202 from storybookjs/norbert/cli-with-ink
CLI: Add "features" question & auto-install test addon & improve test-addon compatibility
2025-02-11 13:24:27 +01:00
Jeppe Reinhold
1f5205a752
Merge branch 'next' into jeppe/universal-store-in-addon-test 2025-02-11 13:21:00 +01:00
Jeppe Reinhold
2d76e12f5d cleanup 2025-02-11 13:20:45 +01:00
Jeppe Reinhold
24d05c837f add readme 2025-02-11 13:10:07 +01:00
Jeppe Reinhold
7551f2f460 dependency inject store into test-manager 2025-02-11 13:05:49 +01:00
Gert Hengeveld
865a0c021e Disable docs if docs feature is not selected and omit docs entries if autodocs isn't explicitly enabled 2025-02-11 12:17:51 +01:00
Jeppe Reinhold
8a17f461f9 fix mocks in tests 2025-02-11 11:19:26 +01:00
Valentin Palkovic
4b2c5d9fd8
Merge pull request #30511 from storybookjs/valentin/fix-virtual-id-resolution-in-hot-module-calls
Builder-Vite: Fix resolve id warning
2025-02-11 10:52:20 +01:00
Gert Hengeveld
2abf798ec8 Check for project type compatibility with addon-test _after_ prompting for the project type 2025-02-11 10:27:48 +01:00
Kasper Peulen
0e34e4b3e2
Merge pull request #30507 from storybookjs/fix-date-printing
Addon Test: Fix printing Date object in MethodCall for test/interactions log
2025-02-11 10:09:40 +01:00
Valentin Palkovic
42ae0100bd Builder-Vite: Fix resolve id warning
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2025-02-11 10:07:07 +01:00
Norbert de Langen
ad7a5a095e rename intents to features 2025-02-11 09:59:20 +01:00
Jeppe Reinhold
592f6f3294 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/universal-store-in-addon-test 2025-02-11 09:22:01 +01:00
Jeppe Reinhold
6e3cffc61f add MockUniversalStore, use in TestProviderRender.stories 2025-02-10 22:03:59 +01:00
storybook-bot
0ee002b88f Bump version from "8.6.0-alpha.4" to "8.6.0-alpha.5" [skip ci] 2025-02-10 15:40:32 +00:00
storybook-bot
9f70a39131 Write changelog for 8.6.0-alpha.5 [skip ci] 2025-02-10 13:58:27 +00:00
Kasper Peulen
c7beffeee8 Merge conflicts 2025-02-10 14:42:09 +01:00
Kasper Peulen
8746a9a410 Merge remote-tracking branch 'origin/next' into kasper/csf-factories2 2025-02-10 14:27:40 +01:00
Gert Hengeveld
df59f7ea01 Fix printing Date object in MethodCall for component test/interactions log 2025-02-10 12:07:25 +01:00
Norbert de Langen
d564e1a64a cleanup 2025-02-10 11:57:13 +01:00
Norbert de Langen
26847e83bf merge in next 2025-02-10 11:55:24 +01:00
Jeppe Reinhold
80fbe3a52d introduce MockUniversalStore 2025-02-07 21:08:19 +01:00
Jeppe Reinhold
710d623a7f rename universalStore -> store 2025-02-07 21:04:00 +01:00
Jeppe Reinhold
d4b0e419f7 getStore() -> store 2025-02-07 20:10:41 +01:00
Kasper Peulen
43f0399911 Add csf back to svelte, workaround for addon-svelte-csf needing it without listing it as dep 2025-02-07 16:01:05 +01:00
Kasper Peulen
1d5017f345 Merge remote-tracking branch 'origin/next' into kasper/csf-in-monorepo 2025-02-07 14:47:06 +01:00
Kasper Peulen
c71d283f9d Remove @storybook/csf from package.json 2025-02-07 14:02:02 +01:00
Jeppe Reinhold
98a2dbcf80 Merge branch 'jeppe/universal-store-in-addon-test' of github.com:storybookjs/storybook into jeppe/universal-store-in-addon-test 2025-02-07 13:11:51 +01:00