436 Commits

Author SHA1 Message Date
Kasper Peulen
c907472849 Migrate TS templates to CSF3 2022-10-31 11:57:34 +01: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
419e83b000 Un-ignore .d.ts files from eslint 2022-10-28 09:18:02 -04:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Michael Shilman
8009143dd9
Merge pull request #19004 from zhyd1997/fix/support-profiler-use-in-component
Addon-docs: Fix React Profiler in source snippets
2022-10-28 06:13:19 +08: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
Tom Coleman
824c6821b9 Replace use of CSF in template stories 2022-10-27 19:30:11 +11:00
Tom Coleman
baafde35c9 Remove incorrect import from renderers type tests 2022-10-27 19:28:33 +11: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
Kasper Peulen
be6fb1ffb6 Fix usage of changed types 2022-10-26 12:05:38 +02:00
Kasper Peulen
eed8bdcdf4 Adopt T prefix for generics in all renderers 2022-10-26 11:40:15 +02:00
Kasper Peulen
0d3b8280d5 Deprecate Story for all frameworks
And deprecate ComponentX variants for react
2022-10-26 11:34:48 +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
a6a0452ffd
sorting imports 2022-10-25 19:38:31 +02:00
Norbert de Langen
113ee5019a
Merge branch 'next' into norbert/sb-799-create-a-storybooktypes 2022-10-25 17:32:50 +02:00
Kasper Peulen
065bd82410
Merge pull request #19603 from storybookjs/future/CSF3-vue2
Vue2: Improve CSF3 types
2022-10-25 17:08:02 +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
Kasper Peulen
4e6ed750ee Merge remote-tracking branch 'origin/next' into future/CSF3-vue2 2022-10-25 16:29:41 +02:00
Kasper Peulen
7bcf944bbd
Merge pull request #19602 from storybookjs/future/CSF3-vue3
Vue3: Improve CSF3 types
2022-10-25 14:40:09 +02:00
Kasper Peulen
5f1e77c4e5 fix deepscan 2022-10-25 14:39:02 +02:00
Kasper Peulen
68f9bd7604 Rollback vue.extends for safety 2022-10-25 14:32:36 +02:00
Kasper Peulen
1e84fd0bdc Format vue files with prettier 2022-10-25 14:17:10 +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
Kasper Peulen
c9aa816b23 use prettier on vue files 2022-10-25 14:10:56 +02:00
Michael Shilman
f801c26f7b v7.0.0-alpha.43 2022-10-25 20:10:01 +08:00
Kasper Peulen
863cadfb0b Merge remote-tracking branch 'origin/next' into future/CSF3-vue2
# Conflicts:
#	code/yarn.lock
2022-10-25 10:45:00 +02:00
Kasper Peulen
94599372e3 fix more tests 2022-10-25 10:41:34 +02:00
Kasper Peulen
37c92c647c fix tests 2022-10-25 09:52:39 +02:00
Kasper Peulen
6f1e8b7bd1 fix deepscan 2022-10-24 16:53:08 +02:00
Kasper Peulen
65e9534a93 implement sound CSF3 types for Vue2 2022-10-24 16:14:58 +02:00
Norbert de Langen
6534b72c8f
fix snapshot 2022-10-24 15:47:52 +02:00
Kasper Peulen
d0899eaad4 implement sound CSF3 types for Vue3 2022-10-24 15:35:56 +02: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