Files
taskpile/frontend/node_modules/next/dist/client/legacy/image.d.ts
Alvis f1d51b8cc8 Add side panels, task selection, graph animation, and project docs
- Foldable left panel (user profile) and right panel (task details)
- Clicking a task in the list or graph node selects it and shows details
- Both views (task list + graph) always mounted via absolute inset-0 for
  correct canvas dimensions; tabs toggle visibility with opacity
- Graph node selection animation: other nodes repel outward (charge -600),
  then selected node smoothly slides to center (500ms cubic ease-out),
  then charge restores to -120 and graph stabilizes
- Graph re-fits on tab switch and panel resize via ResizeObserver
- Fix UUID string IDs throughout (backend returns UUIDs, not integers)
- Add TaskDetailPanel, UserPanel components
- Add CLAUDE.md project documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 11:23:06 +00:00

49 lines
1.9 KiB
TypeScript

import React from 'react';
declare const VALID_LOADING_VALUES: readonly ["lazy", "eager", undefined];
type LoadingValue = (typeof VALID_LOADING_VALUES)[number];
export type ImageLoader = (resolverProps: ImageLoaderProps) => string;
export type ImageLoaderProps = {
src: string;
width: number;
quality?: number;
};
declare const VALID_LAYOUT_VALUES: readonly ["fill", "fixed", "intrinsic", "responsive", undefined];
type LayoutValue = (typeof VALID_LAYOUT_VALUES)[number];
type PlaceholderValue = 'blur' | 'empty';
type OnLoadingComplete = (result: {
naturalWidth: number;
naturalHeight: number;
}) => void;
type ImgElementStyle = NonNullable<JSX.IntrinsicElements['img']['style']>;
export interface StaticImageData {
src: string;
height: number;
width: number;
blurDataURL?: string;
}
interface StaticRequire {
default: StaticImageData;
}
type StaticImport = StaticRequire | StaticImageData;
type SafeNumber = number | `${number}`;
export type ImageProps = Omit<JSX.IntrinsicElements['img'], 'src' | 'srcSet' | 'ref' | 'width' | 'height' | 'loading'> & {
src: string | StaticImport;
width?: SafeNumber;
height?: SafeNumber;
layout?: LayoutValue;
loader?: ImageLoader;
quality?: SafeNumber;
priority?: boolean;
loading?: LoadingValue;
lazyRoot?: React.RefObject<HTMLElement> | null;
lazyBoundary?: string;
placeholder?: PlaceholderValue;
blurDataURL?: string;
unoptimized?: boolean;
objectFit?: ImgElementStyle['objectFit'];
objectPosition?: ImgElementStyle['objectPosition'];
onLoadingComplete?: OnLoadingComplete;
};
export default function Image({ src, sizes, unoptimized, priority, loading, lazyRoot, lazyBoundary, className, quality, width, height, style, objectFit, objectPosition, onLoadingComplete, placeholder, blurDataURL, ...all }: ImageProps): import("react/jsx-runtime").JSX.Element;
export {};