2026-02-03 08:56:11 +00:00
|
|
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
|
import { AuthLayout } from './AuthLayout';
|
|
|
|
|
|
|
|
|
|
const meta: Meta<typeof AuthLayout> = {
|
2026-02-05 13:20:06 +00:00
|
|
|
title: 'Components/Features/Auth/AuthLayout',
|
2026-02-03 08:56:11 +00:00
|
|
|
component: AuthLayout,
|
|
|
|
|
parameters: {
|
|
|
|
|
layout: 'fullscreen',
|
|
|
|
|
},
|
|
|
|
|
tags: ['autodocs'],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default meta;
|
|
|
|
|
type Story = StoryObj<typeof AuthLayout>;
|
|
|
|
|
|
|
|
|
|
export const Default: Story = {
|
|
|
|
|
args: {
|
|
|
|
|
title: 'Welcome Back',
|
|
|
|
|
subtitle: 'Please sign in to continue',
|
|
|
|
|
children: (
|
|
|
|
|
<div className="space-y-4">
|
refactor: Phase 6 — Migrate feature modules to SUMI tokens
- auth: Replace gray-* with muted/border tokens, text-foreground
- settings: TwoFactorSettings + NotificationSettings text-foreground
- chat: ChatInput, ConversationItem, ChatPage — text-foreground,
remove kodo references
- player: PlayerExpanded, PlayerQueue, PlayerControls — text-foreground,
remove cyan/magenta gradients
- playlists: All components — text-foreground for badges/headings
- tracks: TrackCard, TrackListRow — text-foreground, remove glow effects
- studio: FileGridCard — text-foreground
- library: LibraryPageGrid — remove hover-glow-cyan, shadow-card-glow-cyan
- profile: UserProfilePageHeader — text-foreground
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 01:06:28 +00:00
|
|
|
<div className="h-10 bg-muted rounded w-full border border-border flex items-center px-3 text-muted-foreground">Email</div>
|
|
|
|
|
<div className="h-10 bg-muted rounded w-full border border-border flex items-center px-3 text-muted-foreground">Password</div>
|
|
|
|
|
<div className="h-10 bg-primary rounded w-full flex items-center justify-center text-foreground">Sign In</div>
|
2026-02-03 08:56:11 +00:00
|
|
|
</div>
|
|
|
|
|
),
|
|
|
|
|
footerLinks: [
|
|
|
|
|
{ label: 'Forgot Password?', to: '/forgot-password' },
|
|
|
|
|
{ label: "Don't have an account? Sign up", to: '/register' }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
};
|