mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
- Create new help module with HelpModal, KeyboardShortcutsPanel, and SyntaxHelpPanel components - Add common shortcuts and syntax constants for reusability - Refactor InputBarHelpModal to use new HelpModal component - Fix ContextMenu event handling with stopPropagation and pointer-events - Fix Modal z-index for proper stacking context - Add CalendarHeaderContextMenu import to WeekView 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
193 lines
3.8 KiB
TypeScript
193 lines
3.8 KiB
TypeScript
// Atoms
|
|
export { Text, Button, Badge, Card } from './atoms';
|
|
|
|
// Molecules
|
|
export { Toggle, Input, Select, Textarea, Checkbox, FilterDropdown } from './molecules';
|
|
export type { SelectOption, FilterDropdownOption } from './molecules';
|
|
|
|
// Stats
|
|
export { GlassCard, StatRow } from './molecules';
|
|
|
|
// Tags
|
|
export {
|
|
TagBadge,
|
|
TagColorPicker,
|
|
TagEditModal,
|
|
TagSelector,
|
|
TagList,
|
|
TAG_COLORS,
|
|
DEFAULT_TAG_COLOR,
|
|
getRandomTagColor,
|
|
getTagColorByName,
|
|
} from './molecules';
|
|
export type { Tag, TagData, TagColorName, TagColorHex } from './molecules';
|
|
|
|
// Media
|
|
export { AudioPlayer } from './molecules';
|
|
|
|
// Loading/Skeletons
|
|
export {
|
|
SkeletonBox,
|
|
SkeletonText,
|
|
SkeletonAvatar,
|
|
SkeletonRow,
|
|
SkeletonList,
|
|
SkeletonCard,
|
|
SkeletonGrid,
|
|
} from './molecules';
|
|
|
|
// Feedback
|
|
export { EmptyState } from './molecules';
|
|
|
|
// Contacts
|
|
export { ContactAvatar, ContactBadge, ContactSelector } from './molecules';
|
|
|
|
// Layout
|
|
export { ModalFooter, DataCard, PageHeader, KeyboardShortcutsPanel } from './molecules';
|
|
|
|
// Confirmation (inline popover)
|
|
export { ConfirmationPopover } from './molecules';
|
|
|
|
// Organisms
|
|
export { Modal, ConfirmationModal, FormModal, AppSlider } from './organisms';
|
|
export type { AppItem } from './organisms';
|
|
|
|
// Network Graph
|
|
export {
|
|
NetworkGraph,
|
|
NetworkControls,
|
|
stringToColor,
|
|
getInitials,
|
|
SIMULATION_CONFIG,
|
|
NODE_CONFIG,
|
|
LABEL_CONFIG,
|
|
} from './organisms';
|
|
export type {
|
|
NetworkNode,
|
|
NetworkLink,
|
|
NetworkTag,
|
|
NetworkTransform,
|
|
NetworkGraphProps,
|
|
NetworkControlsProps,
|
|
NetworkGraphResponse,
|
|
SimulationNode,
|
|
SimulationLink,
|
|
} from './organisms';
|
|
|
|
// Navigation
|
|
export {
|
|
NavLink,
|
|
Navbar,
|
|
Sidebar,
|
|
SidebarSection,
|
|
PillNavigation,
|
|
PillDropdown,
|
|
PillTabGroup,
|
|
PillTimeRangeSelector,
|
|
PillViewSwitcher,
|
|
PillToolbar,
|
|
PillToolbarButton,
|
|
PillToolbarDivider,
|
|
ExpandableToolbar,
|
|
} from './navigation';
|
|
export type {
|
|
NavItem,
|
|
NavbarProps,
|
|
SidebarProps,
|
|
NavLinkProps,
|
|
KeyboardShortcut,
|
|
PillNavItem,
|
|
PillDropdownItem,
|
|
PillNavElement,
|
|
PillNavigationProps,
|
|
PillTabOption,
|
|
ExpandableToolbarProps,
|
|
} from './navigation';
|
|
|
|
// Settings
|
|
export {
|
|
SettingsPage,
|
|
SettingsSection,
|
|
SettingsCard,
|
|
SettingsRow,
|
|
SettingsToggle,
|
|
SettingsSelect,
|
|
SettingsNumberInput,
|
|
SettingsTimeInput,
|
|
SettingsDangerZone,
|
|
SettingsDangerButton,
|
|
GlobalSettingsSection,
|
|
} from './settings';
|
|
|
|
// Command Bar (deprecated - use QuickInputBar)
|
|
export { CommandBar } from './command-bar';
|
|
export type { CommandBarItem } from './command-bar';
|
|
|
|
// Input Bar
|
|
export {
|
|
InputBar,
|
|
QuickInputBar,
|
|
InputBarContextMenu,
|
|
InputBarHelpModal,
|
|
// Recent history
|
|
getRecentTags,
|
|
getRecentReferences,
|
|
addRecentTag,
|
|
addRecentReference,
|
|
extractAndSaveFromInput,
|
|
clearRecentHistory,
|
|
createRecentInputHistoryStore,
|
|
// Settings
|
|
loadInputBarSettings,
|
|
saveInputBarSettings,
|
|
updateInputBarSetting,
|
|
resetInputBarSettings,
|
|
createInputBarSettingsStore,
|
|
getInputBarSettingsStore,
|
|
} from './quick-input';
|
|
export type { QuickInputItem, QuickAction, CreatePreview, InputBarSettings } from './quick-input';
|
|
|
|
// Pages
|
|
export { default as AppsPage } from './pages/AppsPage.svelte';
|
|
|
|
// Charts - Statistics Visualization
|
|
export {
|
|
StatsGrid,
|
|
ActivityHeatmap,
|
|
TrendLineChart,
|
|
DonutChart,
|
|
ProgressBars,
|
|
StatisticsSkeleton,
|
|
STAT_VARIANT_COLORS,
|
|
} from './charts';
|
|
export type {
|
|
StatVariant,
|
|
StatItem,
|
|
HeatmapDataPoint,
|
|
TrendDataPoint,
|
|
DonutSegment,
|
|
ProgressItem,
|
|
} from './charts';
|
|
|
|
// Context Menu
|
|
export { ContextMenu, createContextMenuState } from './context-menu';
|
|
export type { ContextMenuItem, ContextMenuState } from './context-menu';
|
|
|
|
// Help Components
|
|
export {
|
|
HelpModal,
|
|
KeyboardShortcutsPanel as HelpKeyboardShortcutsPanel,
|
|
SyntaxHelpPanel,
|
|
COMMON_SHORTCUTS,
|
|
COMMON_SYNTAX,
|
|
DEFAULT_LIVE_EXAMPLE,
|
|
} from './help';
|
|
export type {
|
|
KeyboardShortcut as HelpKeyboardShortcut,
|
|
ShortcutCategory,
|
|
SyntaxColor,
|
|
SyntaxExample,
|
|
SyntaxPattern,
|
|
SyntaxGroup,
|
|
HelpModalConfig,
|
|
} from './help';
|