174 Commits

Author SHA1 Message Date
Tom Coleman
98b4948f8f Fix mistakes 2022-11-04 14:48:02 +11:00
Tom Coleman
5a4698acbc Rename domElement to canvasElement 2022-11-04 14:08:45 +11:00
Tom Coleman
91fa988940 Update renderToCanvas functions to use precise type 2022-11-04 14:08:05 +11:00
Tom Coleman
2becfed339 Merge remote-tracking branch 'origin/next' into tom/sb-850-allow-passing-webview-and-urlstore-to 2022-11-04 14:03:12 +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
Jeppe Reinhold
fcfc9f3ea3 use domElement as key instead of id 2022-11-03 14:21:36 +01:00
Jeppe Reinhold
7cfe0dbb8d ensure storyFn() result is computed at initial render 2022-11-02 13:45:39 +01:00
Jeppe Reinhold
55eff3ba38 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 13:30:52 +01:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Tom Coleman
a7f29b71de Add rootElement to Framework and add Framework 2022-11-02 12:48:26 +11:00
Jeppe Reinhold
12dcacc5d3 dont remount Svelte components on control change, make template stories reactive 2022-11-02 02:20:16 +01:00
Jeppe Reinhold
2e017abaa2 in Svelte templates, make backgroundColor prop optional 2022-11-01 21:53:30 +01:00
Jeppe Reinhold
3a0d764de2 cleanup Svelte components by key 2022-11-01 21:34:26 +01:00
Michael Shilman
93e154bc4d Update git head to 7.0.0-alpha.47, update yarn.lock [ci skip] 2022-11-01 12:18:02 +08:00
Michael Shilman
1c706a4a77 v7.0.0-alpha.47 2022-11-01 12:14:02 +08:00
Kasper Peulen
96e68e4920 Migrate JS templates to CSF3 2022-10-31 11:54:00 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Tom Coleman
2c92e6e02b Rename renderToDOM -> renderToRoot 2022-10-31 12:52:10 +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
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
Jeppe Reinhold
b2c393533b
Merge pull request #19653 from storybookjs/fix-svelte-target 2022-10-27 22:27:54 +02:00
Ian VanSchooten
a1251fae22 Import PreviewRender from @storybook/svelte 2022-10-27 11:48:33 -04:00
Michael Shilman
c3d86a2abe
Merge pull request #19651 from storybookjs/kasper/fix-storyobj-type
CSF: Fix `StoryObj<typeof Cmp>` to work the same as old ComponentStoryObj
2022-10-27 23:40:40 +08: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
Kasper Peulen
4220a44c86 Make StoryObj<typeof Cmp> work the same as ComponentStoryObj did (so non strict) 2022-10-27 15:29:33 +02:00
Kasper Peulen
b476912803
Merge pull request #19596 from storybookjs/shilman/fix-story-migration
Docs: Deprecate Story and ComponentX types
2022-10-26 14:29:59 +02:00
Kasper Peulen
8c439a8e38 Make StoryFn accept Cmp or Props in all frameworks 2022-10-26 14:10:37 +02: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
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
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
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
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
Norbert de Langen
3ab9868cbd
Merge branch 'next' into ugrades/eslint 2022-10-24 15:07:22 +02:00
Norbert de Langen
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Michael Shilman
b63d05ac22 Update git head to 7.0.0-alpha.42, update yarn.lock [ci skip] 2022-10-24 12:22:33 +08:00
Michael Shilman
4ed2e832e3 v7.0.0-alpha.42 2022-10-24 12:18:25 +08:00
Norbert de Langen
2342173213
fixes 2022-10-23 19:35:09 +02:00
Norbert de Langen
f7b78e3a67
cleanup 2022-10-23 19:03:12 +02:00
Norbert de Langen
367cc6924c
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-23 19:02:06 +02:00
Norbert de Langen
ae9b463536
Merge branch 'next' into deprecate/remaining-lib-cli 2022-10-23 18:31:08 +02:00
Norbert de Langen
75d5e18972
moved files 2022-10-23 16:37:26 +02:00
Norbert de Langen
af2aef763f
Merge branch 'next' into future/CSF3-svelte 2022-10-23 15:34:56 +02:00
Norbert de Langen
a5ad96d972
Merge branch 'next' into deprecate/remaining-lib-cli 2022-10-22 23:30:46 +02:00