52 Commits

Author SHA1 Message Date
Tom Coleman
6fea833174 Remove duplicate API_ arg related types
And clean up some code that used them
2022-11-25 15:28:21 +11:00
Norbert de Langen
80fdba5aa8
use preview-api everywhere 2022-11-23 16:55:12 +01:00
Norbert de Langen
c26104d0b9
Merge branch 'next' into tech/introduce-preview-api 2022-11-16 16:16:24 +01: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
Norbert de Langen
f81d873d63
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-14 18:29:32 +01:00
Kasper Peulen
4d637a5b85 Expose more types in the renderer 2022-11-14 17:12:13 +01:00
Norbert de Langen
3fd2261293
all sorts of ts fixes or ignores after enabling ts to function on tests and stories 2022-11-14 17:06:53 +01:00
Norbert de Langen
dbb98764fa
some typings improvements 2022-11-14 14:05:51 +01:00
Norbert de Langen
5372081588
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-14 12:46:54 +01:00
Norbert de Langen
b1a038ec54
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-14 11:53:29 +01:00
Kasper Peulen
dcb3159294 Rename Framework to Renderer 2022-11-13 20:37:10 +01:00
Norbert de Langen
90320c9ebb
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-11 13:58:28 +01:00
Norbert de Langen
b3caece566
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-09 14:04:25 +01:00
Norbert de Langen
ab687a133f
fix the other renderers types 2022-11-08 13:16:06 +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
Norbert de Langen
3a801158ed
step 5 2022-11-03 15:29:51 +01:00
Norbert de Langen
ed3a8ec642
step 4 2022-11-03 14:39:43 +01:00
Norbert de Langen
9a07e8788f
prebundle the preview 2022-11-02 13:50:45 +01: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
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
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
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Norbert de Langen
0aefffea89
fixes 2022-10-22 16:33: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
8450bc2065
fixes 2022-10-14 12:21:09 +02:00
Michael Shilman
4d78b7e3be Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-10-04 10:19:38 +08:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api 2022-10-03 17:42:15 +02:00
Michael Shilman
c58ab71325 Fix linting errors 2022-10-02 23:38:43 +08:00
Michael Shilman
2202fca1c5 Add global typing 2022-10-02 21:12:24 +08:00
Michael Shilman
87bcf3ea80 Web-components: Fix build 2022-09-30 01:45:29 +08:00
Michael Shilman
bb9af7ddf9 Web-components: Add default render function 2022-09-30 01:27:23 +08:00
Norbert de Langen
d3eab19d5b
fixes 2022-09-28 09:39:04 +02:00
Michael Shilman
c01bb7decd Web-components: Attempt default render function 2022-09-18 18:59:43 +08:00
Michael Shilman
ad29ddd2d9 Fix bad imports 2022-09-13 12:09:12 +08:00
Michael Shilman
31d0db99dd Merge branch 'next' into pr/19019 2022-09-07 23:08:49 +08:00
Ian VanSchooten
6bdfcfad14 Convert @ts-ignore to @ts-expect-error
And remove unused directives
2022-09-06 22:40:59 -04:00