All files / src/components/ui index.ts

100% Statements 94/94
100% Branches 0/0
0% Functions 0/3
100% Lines 94/94

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 951x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * UI Components - Design System
 *
 * Central export for all UI components and their types.
 * Import components directly from '@/components/ui'.
 *
 * @example
 * ```tsx
 * import { Button, Card, Input, Modal } from '@/components/ui';
 * import type { ButtonProps, CardProps } from '@/types/ui';
 * ```
 *
 * Note: Component prop types are exported from '@/types/ui' for cleaner imports.
 */
 
// =============================================================================
// ICONS
// =============================================================================
export * from './icons';
 
// =============================================================================
// NAVIGATION & LINKS
// =============================================================================
export * from './links';
 
// =============================================================================
// BUTTONS
// =============================================================================
export * from './Button';
export * from './IconButton';
 
// =============================================================================
// DISPLAY COMPONENTS
// =============================================================================
export * from './StarRating';
export * from './PriceDisplay';
export * from './Card';
export * from './Badge';
export * from './Skeleton';
 
// =============================================================================
// FORM COMPONENTS
// =============================================================================
export * from './Input';
export * from './FormField';
export * from './FormInput';
export * from './FormSelect';
export * from './FormTextarea';
export * from './Checkbox';
export * from './RadioGroup';
 
// =============================================================================
// LAYOUT COMPONENTS
// =============================================================================
export * from './layout';
 
// =============================================================================
// OVERLAY COMPONENTS
// =============================================================================
export { default as Pagination } from './Pagination';
export { Modal } from './Modal';
export { Tooltip } from './Tooltip';
 
// =============================================================================
// IMAGE COMPONENTS
// =============================================================================
export * from './Image';
export * from './ProductImage';
export * from './AvatarImage';
export * from './ImageUploader';
 
// =============================================================================
// TYPE RE-EXPORTS (for convenience)
// Note: Full types available from '@/types/ui'
// =============================================================================
export type {
  ButtonProps,
  IconButtonProps,
  CardProps,
  BadgeProps,
  InputProps,
  CheckboxProps,
  RadioGroupProps,
  ModalProps,
  StarRatingProps,
  PriceDisplayProps,
  SkeletonProps,
  SizeVariant,
  ColorVariant,
  StateVariant,
} from '@/types/ui';
 
// TooltipProps is defined in the Tooltip component, not types/ui
export type { TooltipProps } from './Tooltip';