veza/apps/web/src/features/tracks/components/TrackSearch.stories.tsx
senke 64fbb81ddf ui(design): Phase 3 - rounded tokens, min-w/min-h, stories, NavigationProgress
- rounded-[var(--radius-xl/md/lg/sm)] → rounded-xl, rounded-md, rounded-lg, rounded-sm
- Timeline: min-w-[200px] → min-w-50
- AddEquipmentView, MetadataForm: min-h-[100px] → min-h-25
- NavigationProgress: shadow-[...] → shadow-button-primary-glow
- Stories: ActivityGraph, StatCard, NotificationBell, LoadingState, ScrollArea, Skeleton, FileUploadZone
- Reduced arbitrary values from ~60+ to 11 (5 files, exceptions documented)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 19:24:07 +01:00

23 lines
745 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { TrackSearch } from './TrackSearch';
const meta: Meta<typeof TrackSearch> = {
title: 'Components/Features/Tracks/TrackSearch',
component: TrackSearch,
parameters: { layout: 'padded' },
tags: ['autodocs'],
decorators: [
(Story) => (
<div className="w-full max-w-4xl p-4 bg-background border border-border rounded-xl min-h-layout-story">
<Story />
</div>
),
],
};
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = { name: 'Par défaut' };
export const WithResults: Story = { name: 'Avec résultats' };
export const NoResults: Story = { name: 'Sans résultats' };