43 Commits

Author SHA1 Message Date
Kasper Peulen
a5537ecc2c
Merge branch 'next' into kasper/remove-react-import 2025-03-14 11:17:16 +01:00
Kasper Peulen
4e7a056053 Remove react import 2025-03-05 17:03:50 +01:00
Valentin Palkovic
16dcbb72a0 Apply linting 2025-03-05 15:35:01 +01:00
Valentin Palkovic
11a91f451d Rename @storybook/test to storybook/test 2025-03-05 15:35:00 +01:00
Valentin Palkovic
4407b5ed9d Remove ts-3-8 stories 2025-03-02 12:53:54 +01:00
Kyle Gach
80c12f5d39 Replace interaction test -> component test 2025-01-21 20:32:51 -07:00
Valentin Palkovic
9e94c25f69 Refactor Button and Header components to use not use React's defaultProps 2024-12-20 14:53:51 +01:00
Norbert de Langen
1fdd2d6c67 more fixes 2024-08-15 10:00:59 +02:00
Norbert de Langen
513bb66bb9 apply sorting to code 2024-08-08 13:00:19 +02:00
Valentin Palkovic
fd4d89e6f3 Templates: Export ButtonProps and HeaderProps interfaces
Export the ButtonProps and HeaderProps interfaces to make them accessible to avoid issues with Typescript relying on exported interfaces when declaration files should be created.
2024-07-08 16:47:59 +02:00
Kasper Peulen
dbef8b5881 Add explicit actions to CLI header story 2024-03-06 15:45:00 +01:00
Kasper Peulen
90e96d05b2 Documentation over fn action arg 2024-01-03 10:50:24 +01:00
Kasper Peulen
7a6b26a8de Assign explicit actions to CLI stories 2023-12-28 10:03:39 +01:00
Kasper Peulen
093ef7d490 Adjust tests 2023-12-27 16:13:00 +01:00
Kasper Peulen
146cd79790 Adjust all tests 2023-12-22 16:45:23 +01:00
Kyle Gach
975ad7604b Update TOC to use heading type
- Rename `introduction.md`, `overview.md`, `how-to-contribute.md` pages -> `index.md` pages
- Add all-new `index.md` pages for Sharing and API
- Find/replace `introduction.md`/`overview.md` -> `index.md`
- Find/replace `/introduction`/`/overview` -> `/`
- Add `hideRendererSelector: true` to frontmatter of (some) pages that aren't conditional on renderer
2023-11-27 20:57:51 -07:00
Kyle Gach
1fb8d01e25 Remove /<renderer> from URLs in CLI templates 2023-11-27 20:57:51 -07:00
Kasper Peulen
4647e9f2be Reformat 2023-10-31 10:49:58 +01:00
Kasper Peulen
76c3821987 Remove await from getByX 2023-10-31 08:58:58 +01:00
Yann Braga
11d1e031e5 use @storybook/test in CLI templates 2023-10-27 16:00:46 +02:00
Yann Braga
f9268c5f27 add typescript 4.9 examples to nextjs cli templates
- also add layout centered in Button stories for react starter templates
2023-06-07 10:25:04 +02:00
Yann Braga
5e6db8e6f4 add layout centered in Button stories for react starter templates 2023-06-07 10:23:59 +02:00
Yann Braga
ecbcad7b9d remove unnecessary wrapper css class 2023-04-19 12:20:04 +02:00
Yann Braga
95e96d9911 fix css class assignment in react-like CLI templates 2023-04-19 12:09:39 +02:00
JW
1ae534cfaf Scope page.css 2023-04-19 12:09:24 +02:00
JW
078e3cf2d9 Scope Header.css 2023-04-19 12:07:14 +02:00
jonniebigodes
85adfc2986 Updates code references to 7.0 2023-03-30 21:05:45 +01:00
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
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
Kasper Peulen
09dd5d7f73 Update CLI templates to TS 4.9 2022-11-29 17:03:55 +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
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