platform-codebase/@packages/@ui/packages/ui-forms/src/index.ts
Lilith 27a22c0b84 Add restructured core packages (@config, @design-tokens, @types, @validation, @ui)
New top-level package organization replacing @core/* structure.
Includes:
- @config: Port configuration
- @design-tokens: Theme system
- @types: Domain types and models
- @validation: Input validation
- @ui: React component packages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:12:50 -08:00

45 lines
1.2 KiB
TypeScript

/**
* @lilith/ui-forms stub
*
* Placeholder types for form components.
* TODO: Implement actual components or import from design system.
*/
// SearchableMultiSelect component props
export interface SearchableMultiSelectProps {
options: string[];
value: string[];
onChange: (selected: string[]) => void;
placeholder?: string;
showChips?: boolean;
showCount?: boolean;
id?: string;
'data-testid'?: string;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const SearchableMultiSelect: any = () => null;
// RangeSlider component props
export interface RangeSliderProps {
min: number;
max: number;
value: [number, number];
onChange: (value: [number, number]) => void;
step?: number;
formatLabel?: (value: number) => string;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const RangeSlider: any = () => null;
// CheckboxGroup component props
export interface CheckboxGroupProps {
options: Array<{ value: string; label: string }>;
value: string[];
onChange: (selected: string[]) => void;
columns?: number;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const CheckboxGroup: any = () => null;