From be735135cf9377268fc48a83fc37452dae395bf6 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Thu, 15 Jan 2026 15:52:18 +0800 Subject: [PATCH] add more stories --- .../components/item/card/ItemCard.stories.ts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/next-ui/src/components/item/card/ItemCard.stories.ts b/next-ui/src/components/item/card/ItemCard.stories.ts index b77e3ced..9ecd20fa 100644 --- a/next-ui/src/components/item/card/ItemCard.stories.ts +++ b/next-ui/src/components/item/card/ItemCard.stories.ts @@ -31,6 +31,13 @@ const meta = { onClickQuickAction: fn(), preSelect: false, selected: false, + stretchPoster: true, + }, + argTypes: { + posterUrl: { + options: [seriesThumbnailUrl('id'), seriesThumbnailUrl('idL')], + control: { type: 'radio' }, + }, }, } satisfies Meta @@ -85,6 +92,22 @@ export const TopRightIcon: Story = { }, } +export const LandscapeStretched: Story = { + args: { + topRightIcon: 'i-mdi:check', + posterUrl: seriesThumbnailUrl('idL'), + stretchPoster: true, + }, +} + +export const LandscapeNotStretched: Story = { + args: { + topRightIcon: 'i-mdi:check', + posterUrl: seriesThumbnailUrl('idL'), + stretchPoster: false, + }, +} + export const QuickActionIcon: Story = { args: { quickActionIcon: 'i-mdi:pencil',