Files
smoothschedule/frontend/src/components/ui/index.ts
poduck 8c52d6a275 refactor: Extract reusable UI components and add TDD documentation
- Add comprehensive TDD documentation to CLAUDE.md with coverage requirements and examples
- Extract reusable UI components to frontend/src/components/ui/ (Modal, FormInput, Button, Alert, etc.)
- Add shared constants (schedulePresets) and utility hooks (useCrudMutation, useFormValidation)
- Update frontend/CLAUDE.md with component documentation and usage examples
- Refactor CreateTaskModal to use shared components and constants
- Fix test assertions to be more robust and accurate across all test files

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 15:27:27 -05:00

29 lines
972 B
TypeScript

// Modal components
export { Modal, type ModalSize } from './Modal';
export { ModalFooter } from './ModalFooter';
// Form components
export { FormInput } from './FormInput';
export { FormSelect, type SelectOption } from './FormSelect';
export { FormTextarea } from './FormTextarea';
export { FormCurrencyInput } from './FormCurrencyInput';
export { default as CurrencyInput } from './CurrencyInput';
// Button components
export { Button, SubmitButton } from './Button';
// Alert/Message components
export { Alert, ErrorMessage, SuccessMessage, WarningMessage, InfoMessage } from './Alert';
// Navigation components
export { TabGroup } from './TabGroup';
export { StepIndicator } from './StepIndicator';
// Loading components
export { LoadingSpinner, PageLoading, InlineLoading } from './LoadingSpinner';
// Layout components
export { Card, CardHeader, CardBody, CardFooter } from './Card';
export { EmptyState } from './EmptyState';
export { Badge } from './Badge';