From 861936c6711ae0b546163d82c57061c43fdd9652 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 12 Jan 2026 16:29:00 +0800 Subject: [PATCH] storybook autodocs --- next-ui/src/components/BuildCommit.stories.ts | 5 +++++ next-ui/src/components/BuildVersion.stories.ts | 5 +++++ next-ui/src/components/FormattedMessage.mdx | 11 ----------- next-ui/src/components/FormattedMessage.stories.ts | 5 +++++ next-ui/src/components/LocaleSelector.stories.ts | 5 +++++ next-ui/src/components/PageSizeSelector.stories.ts | 5 +++++ next-ui/src/components/PresentationSelector.mdx | 11 ----------- .../src/components/PresentationSelector.stories.ts | 6 ++++++ next-ui/src/components/RemoteFileList.stories.ts | 5 +++++ next-ui/src/components/SnackQueue.stories.ts | 5 +++++ next-ui/src/components/ThemeSelector.mdx | 11 ----------- next-ui/src/components/ThemeSelector.stories.ts | 5 +++++ next-ui/src/components/announcement/Card.mdx | 11 ----------- next-ui/src/components/announcement/Card.stories.ts | 12 +++++++++--- .../src/components/apikey/DeletionWarning.stories.ts | 5 +++++ .../components/apikey/ForceSyncWarning.stories.ts | 5 +++++ .../src/components/apikey/GenerateDialog.stories.ts | 5 +++++ next-ui/src/components/apikey/Table.stories.ts | 5 +++++ next-ui/src/components/dialog/BookPicker.stories.ts | 5 +++++ next-ui/src/components/dialog/Confirm.stories.ts | 5 +++++ .../src/components/dialog/FileNamePicker.stories.ts | 5 +++++ .../src/components/dialog/SeriesPicker.stories.ts | 5 +++++ .../src/components/history/HistoryTable.stories.ts | 5 +++++ .../history/expand/BookConverted.stories.ts | 5 +++++ .../history/expand/BookFileDeleted.stories.ts | 5 +++++ .../history/expand/BookImported.stories.ts | 5 +++++ .../history/expand/DuplicatePageDeleted.stories.ts | 5 +++++ .../history/expand/SeriesDirectoryDeleted.stories.ts | 5 +++++ .../import/books/DirectorySelection.stories.ts | 5 +++++ .../import/books/TransientBooksTable.stories.ts | 5 +++++ .../src/components/import/readlist/Table.stories.ts | 5 +++++ .../components/layout/app/drawer/Drawer.stories.ts | 5 +++++ .../layout/app/drawer/ReorderLibraries.stories.ts | 5 +++++ .../layout/app/drawer/menu/Libraries.stories.ts | 5 +++++ .../components/library/BottomNavigation.stories.ts | 5 +++++ .../components/library/DeletionWarning.stories.ts | 5 +++++ .../src/components/library/TabNavigation.stories.ts | 5 +++++ .../components/library/form/CreateEdit.stories.ts | 5 +++++ .../components/library/form/StepGeneral.stories.ts | 5 +++++ .../components/library/form/StepMetadata.stories.ts | 5 +++++ .../components/library/form/StepOptions.stories.ts | 5 +++++ .../components/library/form/StepScanner.stories.ts | 5 +++++ .../src/components/pageHash/KnownTable.stories.ts | 5 +++++ .../src/components/pageHash/MatchTable.stories.ts | 5 +++++ .../src/components/pageHash/UnknownTable.stories.ts | 5 +++++ next-ui/src/components/release/Card.mdx | 11 ----------- next-ui/src/components/release/Card.stories.ts | 5 +++++ next-ui/src/components/server/Settings.stories.ts | 5 +++++ .../user/AuthenticationActivityTable.stories.ts | 5 +++++ .../src/components/user/DeletionWarning.stories.ts | 5 +++++ next-ui/src/components/user/Details.stories.ts | 5 +++++ next-ui/src/components/user/Table.stories.ts | 5 +++++ .../components/user/form/ChangePassword.stories.ts | 5 +++++ .../src/components/user/form/CreateEdit.stories.ts | 5 +++++ 54 files changed, 250 insertions(+), 58 deletions(-) delete mode 100644 next-ui/src/components/FormattedMessage.mdx delete mode 100644 next-ui/src/components/PresentationSelector.mdx delete mode 100644 next-ui/src/components/ThemeSelector.mdx delete mode 100644 next-ui/src/components/announcement/Card.mdx delete mode 100644 next-ui/src/components/release/Card.mdx diff --git a/next-ui/src/components/BuildCommit.stories.ts b/next-ui/src/components/BuildCommit.stories.ts index be0637ec..547dacca 100644 --- a/next-ui/src/components/BuildCommit.stories.ts +++ b/next-ui/src/components/BuildCommit.stories.ts @@ -16,6 +16,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/BuildVersion.stories.ts b/next-ui/src/components/BuildVersion.stories.ts index 37e05bb8..f37978d3 100644 --- a/next-ui/src/components/BuildVersion.stories.ts +++ b/next-ui/src/components/BuildVersion.stories.ts @@ -17,6 +17,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/FormattedMessage.mdx b/next-ui/src/components/FormattedMessage.mdx deleted file mode 100644 index 3c04cf8d..00000000 --- a/next-ui/src/components/FormattedMessage.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import {Canvas, Meta} from '@storybook/addon-docs/blocks'; - -import * as Stories from './FormattedMessage.stories'; - - - -# FormattedMessage - -Component to display formatted `formatjs` messages using dynamic slots. - - diff --git a/next-ui/src/components/FormattedMessage.stories.ts b/next-ui/src/components/FormattedMessage.stories.ts index 62267915..edb950c6 100644 --- a/next-ui/src/components/FormattedMessage.stories.ts +++ b/next-ui/src/components/FormattedMessage.stories.ts @@ -6,6 +6,11 @@ const meta = { component: FormattedMessage, parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: 'Component to display formatted `formatjs` messages using dynamic slots.', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/LocaleSelector.stories.ts b/next-ui/src/components/LocaleSelector.stories.ts index ca8aab99..93042886 100644 --- a/next-ui/src/components/LocaleSelector.stories.ts +++ b/next-ui/src/components/LocaleSelector.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/PageSizeSelector.stories.ts b/next-ui/src/components/PageSizeSelector.stories.ts index 1e4e682a..34750acb 100644 --- a/next-ui/src/components/PageSizeSelector.stories.ts +++ b/next-ui/src/components/PageSizeSelector.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { modelValue: 20, diff --git a/next-ui/src/components/PresentationSelector.mdx b/next-ui/src/components/PresentationSelector.mdx deleted file mode 100644 index 55700384..00000000 --- a/next-ui/src/components/PresentationSelector.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import { Canvas, Meta } from '@storybook/addon-docs/blocks'; - -import * as Stories from './PresentationSelector.stories'; - - - -# PresentationSelector - -A button that will display a list of presentation modes when clicked. - - diff --git a/next-ui/src/components/PresentationSelector.stories.ts b/next-ui/src/components/PresentationSelector.stories.ts index 7a30680b..3861f090 100644 --- a/next-ui/src/components/PresentationSelector.stories.ts +++ b/next-ui/src/components/PresentationSelector.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: 'A button that will display a list of presentation modes when clicked.', + }, + }, }, args: { modelValue: 'grid', @@ -30,6 +35,7 @@ export const Default: Story = { } export const Clicked: Story = { + tags: ['!autodocs'], args: {}, play: async ({ canvas, userEvent }) => { await expect(canvas.getByRole('button')).toBeEnabled() diff --git a/next-ui/src/components/RemoteFileList.stories.ts b/next-ui/src/components/RemoteFileList.stories.ts index 4d52e6cb..a8c81797 100644 --- a/next-ui/src/components/RemoteFileList.stories.ts +++ b/next-ui/src/components/RemoteFileList.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/SnackQueue.stories.ts b/next-ui/src/components/SnackQueue.stories.ts index 034a9e6a..2ce782e1 100644 --- a/next-ui/src/components/SnackQueue.stories.ts +++ b/next-ui/src/components/SnackQueue.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/ThemeSelector.mdx b/next-ui/src/components/ThemeSelector.mdx deleted file mode 100644 index 4afe48ae..00000000 --- a/next-ui/src/components/ThemeSelector.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import { Canvas, Meta } from '@storybook/addon-docs/blocks'; - -import * as Stories from './ThemeSelector.stories'; - - - -# ThemeSelector - -A cycling button to change the theme. - - diff --git a/next-ui/src/components/ThemeSelector.stories.ts b/next-ui/src/components/ThemeSelector.stories.ts index 61ffe170..22fbe23f 100644 --- a/next-ui/src/components/ThemeSelector.stories.ts +++ b/next-ui/src/components/ThemeSelector.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: 'A cycling button to change the theme.', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/announcement/Card.mdx b/next-ui/src/components/announcement/Card.mdx deleted file mode 100644 index b598c570..00000000 --- a/next-ui/src/components/announcement/Card.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import { Canvas, Meta } from '@storybook/addon-docs/blocks'; - -import * as Stories from './Card.stories'; - - - -# AnnouncementCard - -A card showing the details of a Komga announcement. - - diff --git a/next-ui/src/components/announcement/Card.stories.ts b/next-ui/src/components/announcement/Card.stories.ts index 5d206ee4..ac01cf0f 100644 --- a/next-ui/src/components/announcement/Card.stories.ts +++ b/next-ui/src/components/announcement/Card.stories.ts @@ -12,12 +12,18 @@ const meta = { }, template: '', }), - parameters: { - // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout - }, + args: { onMarkRead: fn(), }, + parameters: { + // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: 'A card showing the details of a Komga announcement.', + }, + }, + }, } satisfies Meta export default meta diff --git a/next-ui/src/components/apikey/DeletionWarning.stories.ts b/next-ui/src/components/apikey/DeletionWarning.stories.ts index eed0095e..85d15cdf 100644 --- a/next-ui/src/components/apikey/DeletionWarning.stories.ts +++ b/next-ui/src/components/apikey/DeletionWarning.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/apikey/ForceSyncWarning.stories.ts b/next-ui/src/components/apikey/ForceSyncWarning.stories.ts index f8f45a22..a0217287 100644 --- a/next-ui/src/components/apikey/ForceSyncWarning.stories.ts +++ b/next-ui/src/components/apikey/ForceSyncWarning.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/apikey/GenerateDialog.stories.ts b/next-ui/src/components/apikey/GenerateDialog.stories.ts index 1664ed3f..8a986c79 100644 --- a/next-ui/src/components/apikey/GenerateDialog.stories.ts +++ b/next-ui/src/components/apikey/GenerateDialog.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { dialog: true, diff --git a/next-ui/src/components/apikey/Table.stories.ts b/next-ui/src/components/apikey/Table.stories.ts index 2f112f0c..57627963 100644 --- a/next-ui/src/components/apikey/Table.stories.ts +++ b/next-ui/src/components/apikey/Table.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { onAddApiKey: fn(), diff --git a/next-ui/src/components/dialog/BookPicker.stories.ts b/next-ui/src/components/dialog/BookPicker.stories.ts index 7041156c..3ce595f0 100644 --- a/next-ui/src/components/dialog/BookPicker.stories.ts +++ b/next-ui/src/components/dialog/BookPicker.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { dialog: true, diff --git a/next-ui/src/components/dialog/Confirm.stories.ts b/next-ui/src/components/dialog/Confirm.stories.ts index 8c19c68a..72117cf5 100644 --- a/next-ui/src/components/dialog/Confirm.stories.ts +++ b/next-ui/src/components/dialog/Confirm.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { dialog: true, diff --git a/next-ui/src/components/dialog/FileNamePicker.stories.ts b/next-ui/src/components/dialog/FileNamePicker.stories.ts index ca42cf17..027c42a2 100644 --- a/next-ui/src/components/dialog/FileNamePicker.stories.ts +++ b/next-ui/src/components/dialog/FileNamePicker.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { dialog: true, diff --git a/next-ui/src/components/dialog/SeriesPicker.stories.ts b/next-ui/src/components/dialog/SeriesPicker.stories.ts index fb47b5e8..16205636 100644 --- a/next-ui/src/components/dialog/SeriesPicker.stories.ts +++ b/next-ui/src/components/dialog/SeriesPicker.stories.ts @@ -16,6 +16,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { dialog: true, diff --git a/next-ui/src/components/history/HistoryTable.stories.ts b/next-ui/src/components/history/HistoryTable.stories.ts index 40a637e9..4ed929c8 100644 --- a/next-ui/src/components/history/HistoryTable.stories.ts +++ b/next-ui/src/components/history/HistoryTable.stories.ts @@ -18,6 +18,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/history/expand/BookConverted.stories.ts b/next-ui/src/components/history/expand/BookConverted.stories.ts index f57cec86..39413a18 100644 --- a/next-ui/src/components/history/expand/BookConverted.stories.ts +++ b/next-ui/src/components/history/expand/BookConverted.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/history/expand/BookFileDeleted.stories.ts b/next-ui/src/components/history/expand/BookFileDeleted.stories.ts index 58cb5b54..334b16a0 100644 --- a/next-ui/src/components/history/expand/BookFileDeleted.stories.ts +++ b/next-ui/src/components/history/expand/BookFileDeleted.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/history/expand/BookImported.stories.ts b/next-ui/src/components/history/expand/BookImported.stories.ts index 00acc49e..1402cd9e 100644 --- a/next-ui/src/components/history/expand/BookImported.stories.ts +++ b/next-ui/src/components/history/expand/BookImported.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/history/expand/DuplicatePageDeleted.stories.ts b/next-ui/src/components/history/expand/DuplicatePageDeleted.stories.ts index c805845b..7a1c2d8a 100644 --- a/next-ui/src/components/history/expand/DuplicatePageDeleted.stories.ts +++ b/next-ui/src/components/history/expand/DuplicatePageDeleted.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/history/expand/SeriesDirectoryDeleted.stories.ts b/next-ui/src/components/history/expand/SeriesDirectoryDeleted.stories.ts index 8485506c..b3d6d840 100644 --- a/next-ui/src/components/history/expand/SeriesDirectoryDeleted.stories.ts +++ b/next-ui/src/components/history/expand/SeriesDirectoryDeleted.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/import/books/DirectorySelection.stories.ts b/next-ui/src/components/import/books/DirectorySelection.stories.ts index 1d39cc98..6357983d 100644 --- a/next-ui/src/components/import/books/DirectorySelection.stories.ts +++ b/next-ui/src/components/import/books/DirectorySelection.stories.ts @@ -16,6 +16,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { onScan: fn(), diff --git a/next-ui/src/components/import/books/TransientBooksTable.stories.ts b/next-ui/src/components/import/books/TransientBooksTable.stories.ts index 33e767e8..2a403cb0 100644 --- a/next-ui/src/components/import/books/TransientBooksTable.stories.ts +++ b/next-ui/src/components/import/books/TransientBooksTable.stories.ts @@ -18,6 +18,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/import/readlist/Table.stories.ts b/next-ui/src/components/import/readlist/Table.stories.ts index 453e1590..8b4f9c98 100644 --- a/next-ui/src/components/import/readlist/Table.stories.ts +++ b/next-ui/src/components/import/readlist/Table.stories.ts @@ -19,6 +19,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/layout/app/drawer/Drawer.stories.ts b/next-ui/src/components/layout/app/drawer/Drawer.stories.ts index abb18f45..a1b98ca9 100644 --- a/next-ui/src/components/layout/app/drawer/Drawer.stories.ts +++ b/next-ui/src/components/layout/app/drawer/Drawer.stories.ts @@ -17,6 +17,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/layout/app/drawer/ReorderLibraries.stories.ts b/next-ui/src/components/layout/app/drawer/ReorderLibraries.stories.ts index 051ff856..4e17872f 100644 --- a/next-ui/src/components/layout/app/drawer/ReorderLibraries.stories.ts +++ b/next-ui/src/components/layout/app/drawer/ReorderLibraries.stories.ts @@ -17,6 +17,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/layout/app/drawer/menu/Libraries.stories.ts b/next-ui/src/components/layout/app/drawer/menu/Libraries.stories.ts index a03b8db5..c6cfebed 100644 --- a/next-ui/src/components/layout/app/drawer/menu/Libraries.stories.ts +++ b/next-ui/src/components/layout/app/drawer/menu/Libraries.stories.ts @@ -25,6 +25,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/BottomNavigation.stories.ts b/next-ui/src/components/library/BottomNavigation.stories.ts index c306efe3..7e685ebb 100644 --- a/next-ui/src/components/library/BottomNavigation.stories.ts +++ b/next-ui/src/components/library/BottomNavigation.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/DeletionWarning.stories.ts b/next-ui/src/components/library/DeletionWarning.stories.ts index eed0095e..85d15cdf 100644 --- a/next-ui/src/components/library/DeletionWarning.stories.ts +++ b/next-ui/src/components/library/DeletionWarning.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/TabNavigation.stories.ts b/next-ui/src/components/library/TabNavigation.stories.ts index 4bac6425..afcec306 100644 --- a/next-ui/src/components/library/TabNavigation.stories.ts +++ b/next-ui/src/components/library/TabNavigation.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/form/CreateEdit.stories.ts b/next-ui/src/components/library/form/CreateEdit.stories.ts index 9a070319..839e49d4 100644 --- a/next-ui/src/components/library/form/CreateEdit.stories.ts +++ b/next-ui/src/components/library/form/CreateEdit.stories.ts @@ -16,6 +16,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/form/StepGeneral.stories.ts b/next-ui/src/components/library/form/StepGeneral.stories.ts index 14c411de..1fbe4295 100644 --- a/next-ui/src/components/library/form/StepGeneral.stories.ts +++ b/next-ui/src/components/library/form/StepGeneral.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/form/StepMetadata.stories.ts b/next-ui/src/components/library/form/StepMetadata.stories.ts index c41ca219..fa7a375a 100644 --- a/next-ui/src/components/library/form/StepMetadata.stories.ts +++ b/next-ui/src/components/library/form/StepMetadata.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/form/StepOptions.stories.ts b/next-ui/src/components/library/form/StepOptions.stories.ts index fca51f13..68dcfced 100644 --- a/next-ui/src/components/library/form/StepOptions.stories.ts +++ b/next-ui/src/components/library/form/StepOptions.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/library/form/StepScanner.stories.ts b/next-ui/src/components/library/form/StepScanner.stories.ts index 0234100e..77574378 100644 --- a/next-ui/src/components/library/form/StepScanner.stories.ts +++ b/next-ui/src/components/library/form/StepScanner.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/pageHash/KnownTable.stories.ts b/next-ui/src/components/pageHash/KnownTable.stories.ts index 97d8fa71..8d8ee8be 100644 --- a/next-ui/src/components/pageHash/KnownTable.stories.ts +++ b/next-ui/src/components/pageHash/KnownTable.stories.ts @@ -21,6 +21,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/pageHash/MatchTable.stories.ts b/next-ui/src/components/pageHash/MatchTable.stories.ts index 8b5474f3..280818a0 100644 --- a/next-ui/src/components/pageHash/MatchTable.stories.ts +++ b/next-ui/src/components/pageHash/MatchTable.stories.ts @@ -18,6 +18,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { modelValue: 'hash1', diff --git a/next-ui/src/components/pageHash/UnknownTable.stories.ts b/next-ui/src/components/pageHash/UnknownTable.stories.ts index 577eb425..ed7e2739 100644 --- a/next-ui/src/components/pageHash/UnknownTable.stories.ts +++ b/next-ui/src/components/pageHash/UnknownTable.stories.ts @@ -21,6 +21,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/release/Card.mdx b/next-ui/src/components/release/Card.mdx deleted file mode 100644 index 1e22db22..00000000 --- a/next-ui/src/components/release/Card.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import { Canvas, Meta } from '@storybook/addon-docs/blocks'; - -import * as Stories from './Card.stories'; - - - -# ReleaseCard - -A card showing the details of a Komga release. - - diff --git a/next-ui/src/components/release/Card.stories.ts b/next-ui/src/components/release/Card.stories.ts index cc1e1c05..3eacbe6e 100644 --- a/next-ui/src/components/release/Card.stories.ts +++ b/next-ui/src/components/release/Card.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: 'A card showing the details of a Komga release.', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/server/Settings.stories.ts b/next-ui/src/components/server/Settings.stories.ts index 3e3bb2b3..dcc6f1ab 100644 --- a/next-ui/src/components/server/Settings.stories.ts +++ b/next-ui/src/components/server/Settings.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { settings: { diff --git a/next-ui/src/components/user/AuthenticationActivityTable.stories.ts b/next-ui/src/components/user/AuthenticationActivityTable.stories.ts index fb7e465b..d571258e 100644 --- a/next-ui/src/components/user/AuthenticationActivityTable.stories.ts +++ b/next-ui/src/components/user/AuthenticationActivityTable.stories.ts @@ -18,6 +18,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/user/DeletionWarning.stories.ts b/next-ui/src/components/user/DeletionWarning.stories.ts index eed0095e..85d15cdf 100644 --- a/next-ui/src/components/user/DeletionWarning.stories.ts +++ b/next-ui/src/components/user/DeletionWarning.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/user/Details.stories.ts b/next-ui/src/components/user/Details.stories.ts index 6eb7ade4..f8708a0c 100644 --- a/next-ui/src/components/user/Details.stories.ts +++ b/next-ui/src/components/user/Details.stories.ts @@ -13,6 +13,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { user: { diff --git a/next-ui/src/components/user/Table.stories.ts b/next-ui/src/components/user/Table.stories.ts index 3483d3f8..2ca69bba 100644 --- a/next-ui/src/components/user/Table.stories.ts +++ b/next-ui/src/components/user/Table.stories.ts @@ -15,6 +15,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: { onAddUser: fn(), diff --git a/next-ui/src/components/user/form/ChangePassword.stories.ts b/next-ui/src/components/user/form/ChangePassword.stories.ts index eda22fae..d5e1e533 100644 --- a/next-ui/src/components/user/form/ChangePassword.stories.ts +++ b/next-ui/src/components/user/form/ChangePassword.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta diff --git a/next-ui/src/components/user/form/CreateEdit.stories.ts b/next-ui/src/components/user/form/CreateEdit.stories.ts index 1783085c..c85fad1b 100644 --- a/next-ui/src/components/user/form/CreateEdit.stories.ts +++ b/next-ui/src/components/user/form/CreateEdit.stories.ts @@ -14,6 +14,11 @@ const meta = { }), parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout + docs: { + description: { + component: '', + }, + }, }, args: {}, } satisfies Meta