87 Commits

Author SHA1 Message Date
Ian VanSchooten
62a3dea944 Rename ts and ts-legacy 2023-01-25 17:55:50 -05:00
Ethan Mick
6d29300a5e
fix: Change deprecated React.VFC to React.FC
The type `VFC` (VoidFunctionComponent) is deprecated and is equivalent
to `FC` (FunctionalComponent).

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L531

This commit updates the generated files from an installation to use the
non-deprecated React type.
2023-01-13 13:12:51 -05:00
Michael Shilman
32ccd8230a CLI: Fix missing autodocs tags 2023-01-10 14:43:48 +08:00
Ian VanSchooten
af349c8b8e Add extension to all lodash imports 2022-12-30 12:15:08 -05:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
Norbert de Langen
a033d29a3c
Merge branch 'next' into norbert/sb-1063-vite-in-dev-mode-with-storystorev6 2022-12-13 19:19:57 +01:00
Norbert de Langen
fe9b5d6cee
Merge branch 'next' into norbert/sb-1063-vite-in-dev-mode-with-storystorev6 2022-12-13 09:14:33 +01:00
Ian VanSchooten
128ae3ae54 Re-enable react-mdx stories 2022-12-12 23:40:34 -05:00
Jeppe Reinhold
c5f0937120 ignore react MDX stories in sandbox 2022-12-12 21:20:29 +01:00
Norbert de Langen
3342776320
fix references to global in template dirs 2022-12-09 22:03:35 +01:00
Norbert de Langen
f5260920ca
fixing typings issues 2022-12-09 20:44:55 +01:00
Norbert de Langen
43813ca634
fix snapshot, bit of a mystery this one 2022-11-30 11:17:09 +01:00
Kasper Peulen
09dd5d7f73 Update CLI templates to TS 4.9 2022-11-29 17:03:55 +01:00
Norbert de Langen
8d627d3079
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-18 16:17:40 +01:00
Kasper Peulen
a80620f38d Remove todos 2022-11-17 16:55:37 +01:00
Kasper Peulen
fb2cc54f0a Update layout comment 2022-11-17 16:55:37 +01:00
Kasper Peulen
da9433f91c Update Page stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
6f1588ff8e Update Header stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
b3e708b45d Update Button stories template for 7 docs 2022-11-17 16:55:37 +01:00
Norbert de Langen
455e9ef08d
wip 2022-11-11 14:57:01 +01:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Kasper Peulen
123322c07d Rename tsx to ts as we don't use jsx anymore in stories 2022-10-31 11:57:39 +01:00
Kasper Peulen
f40508e47e Fix deepscan 2022-10-31 11:57:39 +01:00
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
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Tom Coleman
824c6821b9 Replace use of CSF in template stories 2022-10-27 19:30:11 +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
be6fb1ffb6 Fix usage of changed types 2022-10-26 12:05:38 +02:00
Norbert de Langen
6534b72c8f
fix snapshot 2022-10-24 15:47:52 +02:00
Norbert de Langen
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Norbert de Langen
b0112d7853
final final final fix, I swear 2022-10-13 00:35:44 +02:00
Norbert de Langen
850e9336f6
fix broken mdx story for react 2022-10-13 00:20:05 +02:00
Norbert de Langen
764697fc93
change every button in lib/cli/renderassets and renderer/*/template to use the label prop 2022-10-12 12:02:30 +02:00
Norbert de Langen
f98993446b
fix snapshots 2022-10-11 13:27:32 +02:00
Norbert de Langen
71904dbd30
Merge branch 'next' into norbert/sb-702-migrate-stories-and-delete-official 2022-10-11 10:04:07 +02:00
Tom Coleman
bc3831f145
Merge pull request #19255 from storybookjs/shilman/upgrade-test-runner
CI: Fix test-runner build step
2022-10-10 16:52:46 +11:00
Michael Shilman
d1ce644221 Fix react-mdx title 2022-10-10 08:26:20 +08:00
Michael Shilman
42158d631a Fix implicit type 2022-10-09 18:47:56 +08:00
Michael Shilman
5054605a9a Skip error stories in the test runner only 2022-10-08 10:59:23 +08:00
Norbert de Langen
17a3e2c6fd
Merge branch 'next' into shilman/generic-mdx-stories 2022-10-05 16:13:54 +02:00
Norbert de Langen
6ba8ad35ea
cleanup 2022-10-05 14:27:06 +02:00
Norbert de Langen
dfd0c6085e
fix tests 2022-10-05 13:43:14 +02:00
Norbert de Langen
e8b3da8955
fix linting 2022-10-05 13:20:07 +02:00
Tom Coleman
0a3599b17f Update snapshot 2022-09-30 15:59:20 +10:00
Tom Coleman
469b569311 Argh got comment naming off 2022-09-30 14:36:30 +10:00
Michael Shilman
bcb4722860 Refactor MDX examples to sandboxes 2022-09-30 11:45:16 +08:00
Tom Coleman
9cf3aa2514 Update snapshots and fix tests 2022-09-30 12:49:45 +10:00
Tom Coleman
a27504e7bc Deepscan 2022-09-30 12:07:35 +10:00