186 Commits

Author SHA1 Message Date
Tom Coleman
6d96f7b9a7 Update deprecate 2022-11-04 13:50:57 +11:00
Tom Coleman
a29323d722 Update to renderToCanvas + canvasElement
Update from https://github.com/ComponentDriven/csf/pull/53
2022-11-04 13:48:56 +11:00
Michael Shilman
b00748bff3 Fix linting 2022-11-03 01:42:48 +08:00
Tom Coleman
95da68c93e Drop second parameter, and read root element type off framework 2022-11-02 12:57:34 +11:00
Tom Coleman
a7f29b71de Add rootElement to Framework and add Framework 2022-11-02 12:48:26 +11:00
Tom Coleman
816930c28a Fix various missed types 2022-11-01 14:03:55 +11:00
Tom Coleman
16559308b1 Shadow CSF's ProjectAnnotations with our own.
Also clean up sub types
2022-11-01 13:37:05 +11:00
Tom Coleman
2c92e6e02b Rename renderToDOM -> renderToRoot 2022-10-31 12:52:10 +11:00
Tom Coleman
b976e0b398 Merge remote-tracking branch 'origin/next' into tom/sb-850-allow-passing-webview-and-urlstore-to 2022-10-31 12:40:34 +11:00
Tom Coleman
8bcf78db52
Merge pull request #19668 from storybookjs/tom/sb-889-disable-keyboard-shortcuts-during-the
Disable keyboard shortcuts during (docs) play functions and add tests
2022-10-31 12:39:11 +11:00
Michael Shilman
a2174e328c Update git head to 7.0.0-alpha.46, update yarn.lock [ci skip] 2022-10-28 21:32:45 +08:00
Michael Shilman
c64b5be851 v7.0.0-alpha.46 2022-10-28 21:28:37 +08:00
Tom Coleman
e50db9fc26
Update code/lib/preview-web/src/PreviewWeb.tsx 2022-10-28 23:50:22 +11:00
Tom Coleman
ebc28fc898 Add E2E test for keyboard shortcut behaviour 2022-10-28 23:30:52 +11:00
Norbert de Langen
4b63eec847
cleanup 2022-10-28 14:17:59 +02:00
Norbert de Langen
4bc93cef89
cleanup 2022-10-28 14:17:02 +02:00
Norbert de Langen
582f3bc477
fix the unit test
Co-authored-by: Tom Coleman <tom@chromatic.com>
2022-10-28 14:16:20 +02:00
Tom Coleman
6e2b837a88 Add stories to check shortcuts aren't called from play 2022-10-28 22:34:25 +11:00
Norbert de Langen
2a970630b6
Merge branch 'next' into tech/bundle-preview-web 2022-10-28 11:41:48 +02:00
Tom Coleman
0d1ce628e0 Don't emit key strokes if *any* play function is in progress 2022-10-28 16:52:37 +11:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Michael Shilman
b60bd552fe Update git head to 7.0.0-alpha.45, update yarn.lock [ci skip] 2022-10-28 05:58:51 +08:00
Michael Shilman
3ef1436611 v7.0.0-alpha.45 2022-10-28 05:55:09 +08:00
Norbert de Langen
e95559ca26
fixes 2022-10-27 23:45:10 +02:00
Norbert de Langen
ffb04a295f
migrate preview-web to tsup 2022-10-27 23:11:18 +02:00
Michael Shilman
323d1271e5 Update git head to 7.0.0-alpha.44, update yarn.lock [ci skip] 2022-10-27 21:57:47 +08:00
Michael Shilman
d4965bd328 v7.0.0-alpha.44 2022-10-27 21:52:14 +08:00
Tom Coleman
c3c059af53 Merge remote-tracking branch 'origin/next' into tom/sb-829-add-story-tags-to-the-index-index 2022-10-26 21:21:58 +11:00
Tom Coleman
fcb52e1e96 Update snapshots 2022-10-26 21:20:40 +11:00
Tom Coleman
e88e270af6 Fix StoryRender typing issue 2022-10-26 20:24:57 +11:00
Norbert de Langen
8bc4b24f3b
fixing linting 2022-10-26 10:02:19 +02:00
Norbert de Langen
9e60c3428f
Merge branch 'next' into ugrades/eslint 2022-10-26 08:51:41 +02:00
Tom Coleman
3b962082a6 Fix test 2022-10-26 13:16:12 +11:00
Tom Coleman
f286554cbd One more fix 2022-10-26 12:31:08 +11:00
Tom Coleman
5ffdac21a5 Fix typing problems 2022-10-26 12:28:03 +11:00
Tom Coleman
0f04209d86 Default PreviewWeb 2022-10-26 12:23:59 +11:00
Tom Coleman
c4a69ab177 Create super classes for Selection/View 2022-10-26 10:56:03 +11:00
Tom Coleman
69981986a8 Allow overriding WebView and UrlStore 2022-10-26 10:26:09 +11:00
Norbert de Langen
a6a0452ffd
sorting imports 2022-10-25 19:38:31 +02:00
Norbert de Langen
bc197113d1
Merge branch 'next' into norbert/sb-799-create-a-storybooktypes 2022-10-25 17:06:52 +02:00
Norbert de Langen
019468091d
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-25 16:31:27 +02:00
Norbert de Langen
ec0f15fbe1
Merge pull request #19553 from storybookjs/deprecate/remaining-lib-cli
final few deprecations removal in a batch
2022-10-25 17:30:37 +03:00
Norbert de Langen
876eef5c71
fixes, revert throwing an error after consulting with shilman 2022-10-25 14:56:09 +02:00
Michael Shilman
90bd0961ce Update git head to 7.0.0-alpha.43, update yarn.lock [ci skip] 2022-10-25 20:15:11 +08:00
Michael Shilman
f801c26f7b v7.0.0-alpha.43 2022-10-25 20:10:01 +08:00
Norbert de Langen
8e3e508af4
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-25 13:49:02 +02:00
Norbert de Langen
90b39777cb
Merge branch 'next' into deprecate/remaining-lib-cli 2022-10-25 13:15:35 +02:00
Tom Coleman
39662b1419
Merge pull request #19595 from storybookjs/tom/sb-849-cant-run-the-v6-store-in-sandboxes-2
Add `renderer` field to frameworks, and use to drive v6 store entrypoints
2022-10-25 16:18:53 +11:00
Norbert de Langen
037620f6af
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-24 15:28:19 +02:00
Norbert de Langen
e874a2ea54
Merge branch 'next' into deprecate/remaining-lib-cli 2022-10-24 15:19:12 +02:00