34 Commits

Author SHA1 Message Date
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
Kasper Peulen
4d637a5b85 Expose more types in the renderer 2022-11-14 17:12:13 +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
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
a29323d722 Update to renderToCanvas + canvasElement
Update from https://github.com/ComponentDriven/csf/pull/53
2022-11-04 13:48:56 +11:00
Tom Coleman
a7f29b71de Add rootElement to Framework and add Framework 2022-11-02 12:48:26 +11:00
Tom Coleman
2c92e6e02b Rename renderToDOM -> renderToRoot 2022-10-31 12:52:10 +11:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04: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
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
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
Kasper Peulen
c9aa816b23 use prettier on vue files 2022-10-25 14:10:56 +02:00
Kasper Peulen
d0899eaad4 implement sound CSF3 types for Vue3 2022-10-24 15:35:56 +02:00
Norbert de Langen
4a1bb57773
fixes 2022-10-22 15:04:04 +02:00
Norbert de Langen
9b3eeeae15
fixes 2022-10-22 12:48:46 +02:00
Norbert de Langen
5f1551727b
step 1 2022-10-21 22:04:42 +02:00
Norbert de Langen
a899800ec8
import all csf types through types package 2022-10-20 16:21:26 +02:00
Norbert de Langen
285fc6b9b7
cleanup the types that are no longer used 2022-10-17 13:14:40 +02:00
Norbert de Langen
7bf028fe2f
add the global api back because it's used internally
Remove the global api from the public interface in renderers
2022-10-17 13:11:48 +02:00
Norbert de Langen
01337105e5
more removal of deprecations 2022-10-14 12:40:19 +02:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api 2022-10-03 17:42:15 +02:00
Ian VanSchooten
cf7db51915 Remove STORYBOOK_REACT_CLASSES and global/globals.ts 2022-09-29 21:33:02 -04:00
Norbert de Langen
d3eab19d5b
fixes 2022-09-28 09:39:04 +02:00
Ian VanSchooten
6bdfcfad14 Convert @ts-ignore to @ts-expect-error
And remove unused directives
2022-09-06 22:40:59 -04:00
Ian VanSchooten
e4248b0218 Remove unmount parameter
See https://github.com/vuejs/core/pull/2601
2022-08-24 17:04:14 -04:00
Norbert de Langen
c2bbe43d02
stage0 2022-07-21 11:24:07 +02:00