Kasper Peulen
e15a431231
Merge branch 'next' into kasper/act-fix
2024-10-29 11:34:48 +01:00
jonniebigodes
3c53875965
Maintenance: Fix broken and outdated documentation links
2024-10-20 19:40:28 +01:00
Norbert de Langen
cd8b7d47b8
fix
2024-10-08 12:42:29 +02:00
Norbert de Langen
7a31e6d7fa
prebundle all of renderer-react
2024-10-08 11:06:01 +02:00
Norbert de Langen
d00ba27050
fix snapshots
2024-09-30 17:48:15 +02:00
Kasper Peulen
1c4cd916e8
Fix export 'act' (imported as 'React4') was not found in 'react' errors in webpack
2024-09-27 16:47:24 +02:00
Norbert de Langen
7590b49ad0
Merge branch 'next' into norbert/lodash-es
2024-09-23 12:34:59 +02:00
Norbert de Langen
43399b4b0a
Update migration to es-toolkit
2024-09-23 12:32:05 +02:00
Kasper Peulen
e693dcd926
Fix check
2024-09-13 11:11:18 +02:00
Kasper Peulen
ceb8387e24
Add comment explaining asyncWrapper
2024-09-11 11:25:00 +02:00
Valentin Palkovic
c24f22182e
Remove console.log
2024-09-06 15:21:04 +02:00
Valentin Palkovic
ea1a533a4b
Fix Webpack aliasing
2024-09-06 14:46:21 +02:00
Valentin Palkovic
714913d644
Next.js: Fix react-dom/test-utils aliasing
2024-09-05 16:11:50 +02:00
Valentin Palkovic
483325a656
Portable Stories: Improve Handling of React Updates and Errors
...
Co-authored-by: Yann Braga <yannbf@gmail.com>
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2024-09-04 10:48:34 +02:00
Yann Braga
1738902fbf
minor change in jsdoc
2024-08-16 12:47:36 +02:00
Norbert de Langen
1fdd2d6c67
more fixes
2024-08-15 10:00:59 +02:00
Norbert de Langen
7d08994a74
jsdoc linting fixes
2024-08-15 09:49:25 +02:00
Norbert de Langen
81f3a63ab0
lint css
2024-08-14 22:27:30 +02:00
Norbert de Langen
1f5a0abac3
apply consistent bracket style
2024-08-14 21:54:29 +02:00
Yann Braga
659994daad
fix typescript issue
2024-08-14 14:33:48 +02:00
Yann Braga
7798169d3c
Merge branch 'next' into vitest-integration
2024-08-12 20:42:15 +02:00
Kasper Peulen
be894e9d78
Merge pull request #28865 from storybookjs/kasper/refactor-rsc-support
...
Core: Enable RSC support when parameters.react is set to true
2024-08-12 16:50:43 +02:00
Kasper Peulen
603ea16fa7
Fix eslint
2024-08-12 16:26:48 +02:00
Kasper Peulen
f74794378c
Fix eslint
2024-08-12 16:14:54 +02:00
Kasper Peulen
14e18d956f
Only set the parameter when the experimentalRSC feature is set
2024-08-12 10:46:16 +02:00
Kasper Peulen
b617eb0b92
Merge remote-tracking branch 'refs/remotes/origin/vitest-integration' into beforeall
...
# Conflicts:
# code/.storybook/preview.tsx
# code/frameworks/nextjs/src/portable-stories.ts
# code/renderers/react/src/portable-stories.tsx
# code/renderers/svelte/src/portable-stories.ts
# code/renderers/vue3/src/portable-stories.ts
2024-08-12 10:29:01 +02:00
Norbert de Langen
3aa0c2aa5b
add node: prefix to node core modules
2024-08-10 20:44:33 +02:00
Yann Braga
ee56cca587
Merge branch 'next' into vitest-integration
2024-08-10 11:36:50 +02:00
Norbert de Langen
c064c112b7
apply more changes to code
2024-08-08 14:18:47 +02:00
Norbert de Langen
513bb66bb9
apply sorting to code
2024-08-08 13:00:19 +02:00
Kasper Peulen
d5995e3e10
Fix beforeAll type
2024-08-07 17:35:07 +02:00
Yann Braga
c748186d20
Merge branch 'next' into vitest-integration
2024-08-06 13:42:21 +02:00
Kasper Peulen
fb56f61c7e
Fix check errors
2024-08-06 12:53:48 +02:00
Kasper Peulen
2224dadabf
Upgrade to vitest 2.0
2024-08-05 12:52:09 +02:00
Kasper Peulen
257a9457af
Allow vitest plugin to use composeStories from preview-api
2024-08-02 11:36:30 +02:00
Kasper Peulen
e30bfcc606
Fix tests
2024-08-01 16:09:40 +02:00
Kasper Peulen
07babfeb4d
Fix act errors
2024-08-01 14:31:45 +02:00
Kasper Peulen
64a9fa39e2
Fix build
2024-08-01 13:14:18 +02:00
Kasper Peulen
2996b7f00a
Fix tests
2024-08-01 13:02:28 +02:00
Kasper Peulen
afd11a8fb9
Merge branch 'next' into kasper/render-agnostic
2024-07-31 16:34:10 +02:00
Kasper Peulen
3b65e7267e
Merge pull request #28764 from storybookjs/kasper/introduce-run
...
Core: Introduce run over play in portable stories, and revert back play changes of 8.2
2024-07-31 16:33:13 +02:00
Kasper Peulen
8f2c88dd6b
Use internal renderToCanvas method if testingLibaryRender is not specified
2024-07-31 16:30:19 +02:00
Kasper Peulen
d85f877294
Merge remote-tracking branch 'refs/remotes/origin/portable-stories-play-to-run' into kasper/introduce-run
2024-07-31 13:37:04 +02:00
Kasper Peulen
653324dca7
Introduce run over play in portable stories, and revert back play changes of 8.2
2024-07-31 13:32:15 +02:00
Valentin Palkovic
d271575cc2
Next.js: Make RSC portable-stories compatible
2024-07-30 15:45:12 +02:00
Norbert de Langen
54b4af3781
Merge pull request #28745 from storybookjs/norbert/cpc-fix-types-usage
...
CPC: Fix type usage in renderers
2024-07-29 15:54:02 +02:00
Norbert de Langen
adf42a7670
fix type usage in renderers
2024-07-29 13:17:03 +02:00
Valentin Palkovic
11f43ccbd7
Revert dynamic import of react-dom-shim
2024-07-29 12:47:58 +02:00
Valentin Palkovic
8f30c5c8bf
React: Update react-dom-shim to make it compatible with vitest
2024-07-29 10:36:22 +02:00
Valentin Palkovic
8be78f2828
Types: Update type signatures of objects and functions
...
Our bundler tsup sometimes doesn't seem to create type definition imports properly for inferred types. Instead of importing types from `storybook/internal/*` or `@storybook/core/*`, it would import types from `core/dist/*`. Explicitly defining types for the return type of functions or for objects will resolve this issue.
2024-07-10 11:36:35 +02:00