b12fc7411d
- Create useFormFieldNavigation composable for Tab-like Enter behavior - KsTextField: Enter -> next field - KsTextArea: Ctrl+Enter for newline, Enter -> next field - KsSelect: Enter -> next field after selection - Implements standard form navigation pattern across input components
34 lines
791 B
TypeScript
34 lines
791 B
TypeScript
export type StandardScreenState =
|
|
| 'READY' | 'LOADING' | 'EMPTY' | 'WARN' | 'ERROR'
|
|
| 'UNAUTHORIZED' | 'FORBIDDEN' | 'PARTIAL' | 'DIRTY'
|
|
| 'CONFLICT' | 'EXPIRED' | 'READONLY' | 'PROCESSING'
|
|
|
|
export interface ScreenEvidenceContext {
|
|
asOf?: string
|
|
version?: string
|
|
datasetId?: string
|
|
modelVersion?: string
|
|
configVersion?: string
|
|
codeSha?: string
|
|
contractVersion?: string
|
|
evidenceHash?: string
|
|
projectionVersion?: string
|
|
watermark?: string
|
|
stale?: boolean
|
|
correlationId?: string
|
|
permission?: string
|
|
capabilityStatus?: string
|
|
}
|
|
|
|
export interface StandardScreenProps {
|
|
title: string
|
|
subtitle?: string
|
|
state?: StandardScreenState
|
|
evidence?: ScreenEvidenceContext
|
|
warning?: string
|
|
error?: Error | null
|
|
initialRatio?: number
|
|
storageKey?: string
|
|
}
|
|
|