Cesar Mendivil e43686e36d feat(modal-parts): add modular components for modal UI
- Introduced ModalDestinationButton for destination selection with customizable icons and labels.
- Added ModalInput for text input with optional character counter.
- Implemented ModalLink for reusable links styled as underlined text.
- Created ModalPlatformCard for platform selection with badges.
- Developed ModalRadioGroup for radio button groups with custom styling.
- Added ModalSection for grouping modal content with optional labels.
- Implemented ModalSelect for dropdown selections with custom styling.
- Created ModalShareButtons for sharing options via Gmail, Email, and Messenger.
- Developed ModalTextarea for multi-line text input with character counter.
- Introduced ModalToggle for toggle switches with optional help text and links.
- Updated README.md with component descriptions, usage examples, and design guidelines.
- Added index.ts for centralized exports of modal components.
2025-11-06 00:32:08 -07:00

26 lines
1.3 KiB
TypeScript

// Export all shared components
export { LanguageSelector } from './LanguageSelector';
export { AuthButton } from './AuthButton';
export { Modal } from './Modal';
export type { ModalProps } from './Modal';
// Modal parts - reusable components
export { ModalLink } from './modal-parts/ModalLink';
export { ModalCopyInput } from './modal-parts/ModalCopyInput';
export { ModalShareButtons } from './modal-parts/ModalShareButtons';
export { ModalToggle } from './modal-parts/ModalToggle';
export { default as ModalRadioGroup } from './modal-parts/ModalRadioGroup';
export { default as ModalDestinationButton } from './modal-parts/ModalDestinationButton';
export { default as ModalSection } from './modal-parts/ModalSection';
export { default as ModalInput } from './modal-parts/ModalInput';
export { default as ModalTextarea } from './modal-parts/ModalTextarea';
export { default as ModalSelect } from './modal-parts/ModalSelect';
export { default as ModalCheckbox } from './modal-parts/ModalCheckbox';
export { default as ModalDateTimeGroup } from './modal-parts/ModalDateTimeGroup';
export { default as ModalButton } from './modal-parts/ModalButton';
export { default as ModalButtonGroup } from './modal-parts/ModalButtonGroup';
export { default as ModalPlatformCard } from './modal-parts/ModalPlatformCard';