66 Commits

Author SHA1 Message Date
Michael Shilman
d5f01cd46b Upgraded lit-html@2 to lit@2 2023-02-16 09:13:06 +08:00
Tom Coleman
a8166ee56c Update all source decorators to new format 2023-02-06 15:11:21 +11:00
Tom Coleman
fa16ccb518
Merge pull request #20530 from storybookjs/tom/sb-1144-update-api-of-story-block
Docs: Refactor props of Story block
2023-01-18 08:12:19 +11:00
Norbert de Langen
128c2a795c
make changes to typings files to ensure this the check command succeeds 2023-01-13 11:13:24 +01:00
Tom Coleman
3116dd7f35 Merge remote-tracking branch 'origin/next' into tom/sb-1144-update-api-of-story-block 2023-01-13 20:04:02 +11:00
Tom Coleman
c577b43648 Update everything to use story.inline and story.height parameters 2023-01-10 16:32:24 +11:00
Norbert de Langen
e5ca4e1724
fix 2023-01-07 23:50:20 +01:00
Ian VanSchooten
b8aa8fe0bc Remove unneeded eslint ignores 2022-12-30 14:41:04 -05:00
Norbert de Langen
b0977b89c1
remove the window as global definition 2022-12-13 08:57:05 +01:00
Norbert de Langen
f5260920ca
fixing typings issues 2022-12-09 20:44:55 +01:00
Norbert de Langen
3659babd10
fix all the global typings 2022-12-09 17:10:07 +01:00
Norbert de Langen
501dce1f43
strong typing for globals, fix issues resulting from strong global types, enforce clientApi singleton via global 2022-12-09 14:52:46 +01:00
Kasper Peulen
fac2465219 No unused locals in tsconfig to disable deepscan
Deep scan is not compatible with TS 4.9 yet. And the only issues it seems to find that are not covered yet by TS or ESLint are unused imports. TSC can catch those by enabling noUnusedLocals in tsconfig.
2022-11-29 16:28:00 +01:00
Tom Coleman
303e394076 Rename Story types 2022-11-25 15:44:55 +11:00
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