35 Commits

Author SHA1 Message Date
Ian VanSchooten
84afa441e7 Merge remote-tracking branch 'origin/next' into typescript-assets
# Conflicts:
#	code/frameworks/nextjs/template/cli/ts-3-8/Introduction.mdx
#	code/frameworks/nextjs/template/cli/ts-3-8/Introduction.stories.mdx
#	code/frameworks/nextjs/template/cli/ts-legacy/Introduction.stories.mdx
2023-02-13 09:29:29 -05:00
Valentin Palkovic
cd3fd02d6b Fix Introduction MDX for Next.js and Typescript 2023-02-07 12:09:13 +01:00
Ian VanSchooten
141ff425aa Merge remote-tracking branch 'origin/next' into typescript-assets 2023-02-03 10:59:42 -05:00
Michael Arestad
c10df2e109 Updated typefaces and removed black typeface in favor of bold 2023-01-31 17:29:20 -07: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
Ian VanSchooten
b8aa8fe0bc Remove unneeded eslint ignores 2022-12-30 14:41:04 -05:00
Valentin Palkovic
8a9e83660f Add next/head support 2022-12-30 13:59:42 +01: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
Yann Braga
57febc0e49 Merge branch 'next' into valentin/next-font 2022-12-20 09:45:05 +01:00
Valentin Palkovic
995f7a6a9e Support ExportNamedDeclaration case 2022-12-19 21:31:17 +01:00
Valentin Palkovic
72acc54e15 Support useSelectedLayoutSegment and useSelectedLayoutSegments in Next.js 2022-12-19 16:09:16 +01:00
Valentin Palkovic
87a2e9d5a1 Add @next/font Storybook loader 2022-12-19 14:59:13 +01:00
Valentin Palkovic
b7a7697b41 Transform @next/font imports via babel and prepare them for webpack loader 2022-12-19 14:59:13 +01:00
Michael Shilman
eb30155853 CLI: Replace addon-docs Meta with blocks and add blocks dep 2022-12-08 00:03:57 +08:00
Valentin Palkovic
1dbaac5521 Rework nextjs parameters 2022-12-06 17:03:15 +01:00
Valentin Palkovic
15bb8f2d8d Document next/dynamic 2022-12-06 08:43:24 +01:00
Valentin Palkovic
240776b7b5 Support next/navigation in Next.js v13 2022-12-06 08:43:24 +01:00
Valentin Palkovic
d4d0e81ab1 Document next/link component and create stories 2022-12-06 08:43:24 +01:00
Valentin Palkovic
c4bfc76fee Fix flaky placeholder 2022-12-02 17:15:46 +01:00
Valentin Palkovic
a501a5d7ae Support next/image component in Next.js 12/13 properly 2022-12-01 13:12:40 +01:00
Kasper Peulen
548de2e1e7 Rollback next TS 4.9 templates as the next babel preset doesn't support satisfies 2022-11-30 14:23:54 +01:00
Kasper Peulen
09dd5d7f73 Update CLI templates to TS 4.9 2022-11-29 17:03:55 +01:00
Tom Coleman
7d4a9157f4 Merge remote-tracking branch 'origin/next' into tom/sb-770-migration-update-default-globs-to-match 2022-11-21 16:54:51 +11:00
Kasper Peulen
119080c89b Fix deepscan 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
c20b58bbdc Change CLI template to use .mdx files 2022-11-10 15:00:48 +11: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
c907472849 Migrate TS templates to CSF3 2022-10-31 11:57:34 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Yann Braga
8d625822af add nextjs specific stories in sandbox 2022-10-19 19:24:11 +02:00