73 Commits

Author SHA1 Message Date
Norbert de Langen
ff91517bea improve 2024-06-04 11:49:51 +02:00
Norbert de Langen
d3616d9402 move sb/test 2024-06-04 11:42:42 +02:00
Norbert de Langen
a8a287e773 Merge branch 'next' into norbert/cpc 2024-05-07 10:24:28 +02:00
Norbert de Langen
f2218fa40f wip 2024-05-06 17:14:44 +02:00
Jeppe Reinhold
88253e458b add react 19 types resolutions, allow peer dep problems in prereleases. 2024-05-03 23:49:36 +02:00
Jeppe Reinhold
bc44d82de5 disable snapshots for ResolvedReact stories 2024-04-26 10:03:37 +02:00
Yann Braga
031f47a775 fix resolved react mdx docs page 2024-03-22 12:41:36 +01:00
Jeppe Reinhold
384aa80ca6 don't define React when it is already (implicitly) defined in Webpack 2024-03-21 23:25:18 +01:00
Jeppe Reinhold
2a38e0eeb6 support react-dom/server version not being available in preact 2024-03-21 22:53:59 +01:00
Yann Braga
e93a31fabc fix preact stories 2024-03-21 17:47:13 +01:00
Jeppe Reinhold
02b800d1c9 typo 2024-03-21 08:50:25 +01:00
Jeppe Reinhold
c75c98f0fa account for version mismatch in react-dom 2024-03-21 08:47:02 +01:00
Jeppe Reinhold
8699394358 add stories and autodocs for resolved react in addon-docs templates 2024-03-20 13:38:50 +01:00
Jeppe Reinhold
7290a2c2d8 add explicit react-dom/server alias for vite 2024-03-18 16:09:29 +01:00
Norbert de Langen
e4a47f577b replace testing-library with test in monorepo 2024-03-06 14:55:23 +01:00
Jeppe Reinhold
68c535031d Add E2E test for multiple CSF files with same title in autodocs 2024-02-27 09:16:29 +01:00
Jeppe Reinhold
686df3f3f5 remove subcomponents deprecation warning 2024-01-16 13:32:46 +01:00
Valentin Palkovic
595c32dca1 Replace @storybook/jest by @storybook/test 2024-01-12 15:43:42 +01:00
Kasper Peulen
9ff64bc57e
Merge pull request #25238 from storybookjs/kasper/remove-ts-magic
Core: Error on explicit actions while rendering or playing
2024-01-04 09:38:15 +01:00
Yann Braga
9a4a44a760 fix mdx loader and cleanup 2023-12-28 17:12:57 -03:00
Kasper Peulen
093ef7d490 Adjust tests 2023-12-27 16:13:00 +01:00
Jeppe Reinhold
f81a3971d3 fix ResolvedReactVersion tsx 2023-12-13 14:46:23 +01:00
Jeppe Reinhold
171493e7a2 add e2e test for resolved react version 2023-12-13 13:35:44 +01:00
Michael Shilman
02c2765fc0 Fixed linting & added test doc 2023-12-11 23:12:58 +08:00
Norbert de Langen
0b644643e5
Revert "Docs: Raw support for mjs, jsx, and tsx files" 2023-11-28 17:02:20 +01:00
Norbert de Langen
eedfeedcd2
fixes 2023-11-28 15:28:00 +01:00
Michael Shilman
8d873b6e64 Build: Fix TOC stories for cra/default-js 2023-07-07 17:37:10 +08:00
Michael Shilman
3756a92637
Revert "Revert "Addon-docs: Add opt-in table of contents"" 2023-07-06 17:58:20 +08:00
Michael Shilman
deeac77377
Revert "Addon-docs: Add opt-in table of contents" 2023-07-06 17:54:03 +08:00
Michael Shilman
76ca248055 Cleanup 2023-07-06 00:27:53 +08:00
Michael Shilman
e09f436a8a Addon-docs: Add TOC stories 2023-07-06 00:14:55 +08:00
Valentin Palkovic
6a5c2e5377 Add e2e tests to verify parameters.docs.source.type === 'code' behaviour 2023-04-12 16:02:14 +02:00
Jeppe Reinhold
680fdfbf3c pass story context to source transformer 2023-03-24 09:58:21 +01:00
Jeppe Reinhold
b36ad4d239 update source template stories 2023-03-23 11:49:04 +01:00
Tom Coleman
7bbc0e644f Add an intentionally failing MDX file
This reverts commit e7558619dd0121af19fc79ade7cf860cc054993c.
2023-03-03 13:03:06 +11:00
Tom Coleman
e7558619dd Revert "Add an intentionally failing MDX file"
This reverts commit 018ea7a304780d53955c4488e22a8171e5eeec72.
2023-03-03 13:01:36 +11:00
Tom Coleman
018ea7a304 Add an intentionally failing MDX file 2023-03-03 13:01:16 +11:00
Tom Coleman
445873f6c5 Throw differently to avoid frameworks that always call render 2023-02-24 09:40:37 +11:00
Tom Coleman
a6b5b5d704 Render something in TR 2023-02-23 21:30:38 +11:00
Tom Coleman
feb05af13a Disable error story in storyshots 2023-02-23 19:45:37 +11:00
Tom Coleman
c476261ac8 Add a story that throws 2023-02-23 16:04:43 +11:00
Tom Coleman
78c0d6e7cc Rename csf-in-mdx stories file to not trigger error 2023-02-16 17:25:53 +11:00
Tom Coleman
58a48317b1 Tweak sandbox stories 2023-02-01 16:50:16 +11:00
Tom Coleman
98d4ba12f3 Turn on autodocs for CSF with attached meta.
For https://github.com/storybookjs/storybook/issues/20864
2023-02-01 15:53:30 +11:00
Tom Coleman
ba5f3f166b Allow "declaring" stories with story={} 2023-01-20 17:50:38 +11:00
Tom Coleman
9107ba6422 Resolve issue with unattached .mdx files 2023-01-18 10:27:39 +11:00
Tom Coleman
695a158e8c Update parameter in autoplay story 2023-01-16 11:35:59 +11:00
Tom Coleman
dfcda80d64 Fixed a couple I missed 2023-01-10 17:00:24 +11:00
Tom Coleman
c577b43648 Update everything to use story.inline and story.height parameters 2023-01-10 16:32:24 +11:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00