Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | // filepath: /workspaces/blacktrigram/src/components/ui/types.ts /** * Type definitions for ui types * Auto-generated by type migration script */ // UI component imports import type * as PIXI from "pixi.js"; import type { ReactNode } from "react"; import type { KoreanText } from "../../types"; export interface BaseUIProps { readonly x?: number; readonly y?: number; readonly width?: number; readonly height?: number; readonly alpha?: number; readonly visible?: boolean; readonly children?: ReactNode; } export interface UITheme { readonly primary: number; readonly secondary: number; readonly accent: number; readonly background: number; readonly text: number; readonly border: number; } export interface MenuItem { readonly id: string; readonly label: KoreanText; readonly action: () => void; readonly disabled?: boolean; readonly icon?: string; } export interface Notification { readonly id: string; readonly type: "info" | "success" | "warning" | "error"; readonly title: KoreanText; readonly message: KoreanText; readonly duration?: number; readonly timestamp: number; } export interface ScreenNavigation { readonly currentScreen: string; readonly previousScreen?: string; readonly navigate: (screen: string) => void; readonly goBack: () => void; } export interface LoadingState { readonly isLoading: boolean; readonly progress?: number; readonly message?: KoreanText; } export interface ErrorState { readonly hasError: boolean; readonly error?: Error; readonly message?: KoreanText; readonly retry?: () => void; } export interface UIComponentProps { readonly width?: number; readonly height?: number; readonly x?: number; readonly y?: number; readonly visible?: boolean; readonly interactive?: boolean; } export interface ComponentState { readonly visible: boolean; readonly interactive: boolean; readonly loading: boolean; readonly error?: string; } export interface InteractionEvent { readonly type: string; readonly target: string; readonly timestamp: number; readonly data?: any; } export interface BaseComponentProps { readonly x?: number; readonly y?: number; readonly width?: number; readonly height?: number; readonly visible?: boolean; readonly interactive?: boolean; readonly alpha?: number; readonly rotation?: number; readonly scale?: number | { x: number; y: number }; readonly anchor?: number | { x: number; y: number }; readonly pivot?: number | { x: number; y: number }; readonly tint?: number; readonly blendMode?: PIXI.BLEND_MODES; readonly filters?: PIXI.Filter[]; readonly mask?: PIXI.Container; readonly renderable?: boolean; readonly zIndex?: number; readonly name?: string; readonly accessibleTitle?: string; readonly accessibleHint?: string; readonly tabIndex?: number; } |