decent
This commit is contained in:
83
web-components/src/index.ts
Normal file
83
web-components/src/index.ts
Normal file
@ -0,0 +1,83 @@
|
||||
// Components
|
||||
export { default as FormSidebar } from './components/FormSidebar/FormSidebar';
|
||||
export { default as DataTable } from './components/DataTable/DataTable';
|
||||
|
||||
// Types
|
||||
export * from './types';
|
||||
|
||||
// Hooks
|
||||
export { useApiService } from './hooks/useApiService';
|
||||
export { useDataFilter } from './hooks/useDataFilter';
|
||||
|
||||
// Utils
|
||||
export * from './utils/notifications';
|
||||
export * from './utils/validation';
|
||||
|
||||
// Re-export common Mantine components and utilities for consistency
|
||||
export {
|
||||
// Core components that are commonly used
|
||||
Paper,
|
||||
Stack,
|
||||
Group,
|
||||
Button,
|
||||
TextInput,
|
||||
Select,
|
||||
MultiSelect,
|
||||
NumberInput,
|
||||
Textarea,
|
||||
JsonInput,
|
||||
ActionIcon,
|
||||
Menu,
|
||||
Text,
|
||||
Title,
|
||||
Badge,
|
||||
Table,
|
||||
Pagination,
|
||||
LoadingOverlay,
|
||||
Center,
|
||||
Box,
|
||||
ScrollArea,
|
||||
Divider,
|
||||
|
||||
|
||||
} from '@mantine/core';
|
||||
|
||||
// Re-export common hooks
|
||||
export {
|
||||
useDisclosure,
|
||||
useToggle,
|
||||
useLocalStorage,
|
||||
} from '@mantine/hooks';
|
||||
|
||||
// Re-export form utilities
|
||||
export { useForm } from '@mantine/form';
|
||||
|
||||
// Re-export notifications
|
||||
export { notifications } from '@mantine/notifications';
|
||||
|
||||
// Re-export modals
|
||||
export { modals } from '@mantine/modals';
|
||||
|
||||
// Re-export common icons
|
||||
export {
|
||||
IconPlus,
|
||||
IconEdit,
|
||||
IconTrash,
|
||||
IconSearch,
|
||||
IconFilter,
|
||||
IconRefresh,
|
||||
IconX,
|
||||
IconDots,
|
||||
IconChevronDown,
|
||||
IconChevronRight,
|
||||
IconUser,
|
||||
IconUsers,
|
||||
IconKey,
|
||||
IconSettings,
|
||||
IconEye,
|
||||
IconEyeOff,
|
||||
IconCopy,
|
||||
IconCheck,
|
||||
IconAlertCircle,
|
||||
IconInfoCircle,
|
||||
} from '@tabler/icons-react';
|
||||
Reference in New Issue
Block a user