189 Commits

Author SHA1 Message Date
Ian VanSchooten
c1a49c4c6c Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28 2022-11-16 14:20:48 -05:00
Kasper Peulen
a972ff2470
Merge pull request #19833 from storybookjs/kasper/expose-more-types
Expose more CSF types in all renderers
2022-11-16 10:17:59 +01:00
Ian VanSchooten
25f7141c50 name jest projects using file path 2022-11-14 15:06:11 -05:00
Ian VanSchooten
e1d0790c9f Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/lib/preview-web/src/PreviewWeb.test.ts
#	code/yarn.lock
2022-11-14 13:20:31 -05:00
Kasper Peulen
4d637a5b85 Expose more types in the renderer 2022-11-14 17:12:13 +01:00
Norbert de Langen
8eb96195a5
do not ts ignore test 2022-11-14 14:18:39 +01:00
Norbert de Langen
dbb98764fa
some typings improvements 2022-11-14 14:05:51 +01:00
Kasper Peulen
dcb3159294 Rename Framework to Renderer 2022-11-13 20:37:10 +01:00
Ian VanSchooten
3d3c23e9cd Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/addons/essentials/package.json
#	code/addons/storyshots/storyshots-core/package.json
#	code/lib/api/package.json
#	code/yarn.lock
2022-11-13 11:59:45 -05:00
Michael Shilman
6fc49dd1b2 Update git head to 7.0.0-alpha.49, update yarn.lock [ci skip] 2022-11-13 23:54:31 +08:00
Michael Shilman
d7eb433300 v7.0.0-alpha.49 2022-11-13 23:50:52 +08:00
Ian VanSchooten
d296ad82e9 Add tests for renderers 2022-11-10 14:39:57 -05:00
Norbert de Langen
226f9a4c41
Merge pull request #19623 from storybookjs/tom/sb-850-allow-passing-webview-and-urlstore-to
Core: Allow overriding WebView and UrlStore
2022-11-08 17:18:20 +01:00
Michael Shilman
99fe5792f9 Update git head to 7.0.0-alpha.48, update yarn.lock [ci skip] 2022-11-07 16:00:44 +08:00
Michael Shilman
b58a29b785 v7.0.0-alpha.48 2022-11-07 15:56:24 +08:00
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