31 Commits

Author SHA1 Message Date
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
Norbert de Langen
3342776320
fix references to global in template dirs 2022-12-09 22:03:35 +01:00
Michael Shilman
0e99426ee7 Add non-story content to test mdxSource generation 2022-11-07 14:41:24 +08:00
Tom Coleman
8ce29a01ad
Merge pull request #19750 from storybookjs/tom/sb-754-hmr-does-not-detect-addedremoved-stories
Sandboxes: Fix up stories entry to allow HMR
2022-11-07 14:31:24 +11:00
Tom Coleman
55e59e7a0e Remove unnecessary titles 2022-11-04 16:23:21 +11:00
Tom Coleman
08863527cf Merge remote-tracking branch 'origin/next' into tom/sb-882-use-mdx-tag-instead-of-matching-on 2022-11-04 13:22:40 +11:00
Tom Coleman
405a53e003 Fix missing import 2022-11-04 13:20:12 +11:00
Tom Coleman
40e298c14f Merge remote-tracking branch 'origin/next' into tom/sb-888-disable-play-functions-in-docs-if-not 2022-11-04 11:02:15 +11:00
Michael Shilman
2c4c25d692 Added some testcases 2022-10-29 21:31:51 +08:00
Michael Shilman
52fab185a9 Merge branch 'next' into shilman/csf-plugin 2022-10-29 11:15:45 +08:00
Tom Coleman
3da2d94c76 Add e2e spec for autoplay 2022-10-28 16:00:41 +11:00
Tom Coleman
a30ddf0b65 Update autoplay stories to not rely on the console 2022-10-28 15:47:25 +11:00
Tom Coleman
e6c9cf3ed0 Don't run play functions in docs unless parameters.docs.autoplay is set. 2022-10-28 11:29:40 +11:00
Tom Coleman
880739d940 Don't show docspage unless the user opts in 2022-10-26 17:32:44 +11:00
Michael Shilman
7294835489 MDX iframe stories 2022-10-22 23:45:55 +08:00
Michael Shilman
4af38a6b04 Fix broken sandbox MDX 2022-10-15 14:46:48 +08:00
Norbert de Langen
7a18607c20
problem was between keyboard and chair (it was me) 2022-10-12 13:44:50 +02:00
Norbert de Langen
04922dfa67
convert even more children-props to label-props 2022-10-12 12:22:22 +02:00
Norbert de Langen
71904dbd30
Merge branch 'next' into norbert/sb-702-migrate-stories-and-delete-official 2022-10-11 10:04:07 +02:00
Norbert de Langen
17a3e2c6fd
Merge branch 'next' into shilman/generic-mdx-stories 2022-10-05 16:13:54 +02:00
Michael Shilman
bcb4722860 Refactor MDX examples to sandboxes 2022-09-30 11:45:16 +08:00
Michael Shilman
3542152166 Fix deepscan 2022-09-11 22:33:56 +08:00
Michael Shilman
d8dc4291a3 Add auto-description example for docspage 2022-09-11 17:04:40 +08:00
Michael Shilman
fd8607a731 Addon-docs: Generic DocsPage stories to replace examples 2022-09-10 12:15:49 +08:00