style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125 insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc (singleQuote:true, semi:true, tabWidth:2, trailingComma:all, printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
* background: linear-gradient(90deg, --color-surface-dim, --color-border-subtle, --color-surface-dim)
|
||||
*/
|
||||
|
||||
type SkeletonVariant = 'month' | 'agenda'
|
||||
type SkeletonVariant = 'month' | 'agenda';
|
||||
|
||||
interface SkeletonCalendarProps {
|
||||
variant?: SkeletonVariant
|
||||
variant?: SkeletonVariant;
|
||||
}
|
||||
|
||||
/** Shimmer inline style — gradient + animation referencing the keyframe in tokens.css */
|
||||
@@ -25,7 +25,7 @@ const shimmerStyle: React.CSSProperties = {
|
||||
backgroundSize: '200% 100%',
|
||||
animation: 'shimmer 1.5s infinite',
|
||||
borderRadius: 'var(--space-1)',
|
||||
}
|
||||
};
|
||||
|
||||
export function SkeletonCalendar({ variant = 'month' }: SkeletonCalendarProps) {
|
||||
return (
|
||||
@@ -40,7 +40,7 @@ export function SkeletonCalendar({ variant = 'month' }: SkeletonCalendarProps) {
|
||||
>
|
||||
{variant === 'month' ? <MonthSkeleton /> : <AgendaSkeleton />}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/** 6×7 month grid of shimmer cells */
|
||||
@@ -87,7 +87,7 @@ function MonthSkeleton() {
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/** 4 date-group blocks, 2–3 event rows each, varying widths */
|
||||
@@ -98,7 +98,7 @@ function AgendaSkeleton() {
|
||||
{ rows: [75, 60] },
|
||||
{ rows: [85, 70, 65] },
|
||||
{ rows: [60, 80] },
|
||||
]
|
||||
];
|
||||
|
||||
return (
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 'var(--space-6)' }}>
|
||||
@@ -129,5 +129,5 @@ function AgendaSkeleton() {
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user