@trinityui/design-system 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/Legend.js +1455 -0
- package/dist/accessibility.d.ts +119 -0
- package/dist/accessibility.d.ts.map +1 -0
- package/dist/assets/index.d.ts +234 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/components/AI/AIActions.d.ts +104 -0
- package/dist/components/AI/AIActions.d.ts.map +1 -0
- package/dist/components/AI/AIAvatar.d.ts +32 -0
- package/dist/components/AI/AIAvatar.d.ts.map +1 -0
- package/dist/components/AI/AIChat.d.ts +142 -0
- package/dist/components/AI/AIChat.d.ts.map +1 -0
- package/dist/components/AI/AIContainer.d.ts +97 -0
- package/dist/components/AI/AIContainer.d.ts.map +1 -0
- package/dist/components/AI/AIExplainability.d.ts +46 -0
- package/dist/components/AI/AIExplainability.d.ts.map +1 -0
- package/dist/components/AI/AILabel.d.ts +43 -0
- package/dist/components/AI/AILabel.d.ts.map +1 -0
- package/dist/components/AI/AIMessage.d.ts +93 -0
- package/dist/components/AI/AIMessage.d.ts.map +1 -0
- package/dist/components/AI/AIRelatedQuestions.d.ts +53 -0
- package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -0
- package/dist/components/AI/AIResponseRenderer.d.ts +50 -0
- package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -0
- package/dist/components/AI/AISources.d.ts +66 -0
- package/dist/components/AI/AISources.d.ts.map +1 -0
- package/dist/components/AI/AISourcesPanel.d.ts +84 -0
- package/dist/components/AI/AISourcesPanel.d.ts.map +1 -0
- package/dist/components/AI/AITextBlock.d.ts +56 -0
- package/dist/components/AI/AITextBlock.d.ts.map +1 -0
- package/dist/components/AI/AIVisuals.d.ts +104 -0
- package/dist/components/AI/AIVisuals.d.ts.map +1 -0
- package/dist/components/AI/AIVoiceInput.d.ts +66 -0
- package/dist/components/AI/AIVoiceInput.d.ts.map +1 -0
- package/dist/components/AI/ChatHeader.d.ts +52 -0
- package/dist/components/AI/ChatHeader.d.ts.map +1 -0
- package/dist/components/AI/ChatHistoryList.d.ts +80 -0
- package/dist/components/AI/ChatHistoryList.d.ts.map +1 -0
- package/dist/components/AI/ChatThread.d.ts +74 -0
- package/dist/components/AI/ChatThread.d.ts.map +1 -0
- package/dist/components/AI/InsightEngine.d.ts +147 -0
- package/dist/components/AI/InsightEngine.d.ts.map +1 -0
- package/dist/components/AI/InsightEngineInput.d.ts +94 -0
- package/dist/components/AI/InsightEngineInput.d.ts.map +1 -0
- package/dist/components/AI/QueryInput.d.ts +114 -0
- package/dist/components/AI/QueryInput.d.ts.map +1 -0
- package/dist/components/AI/UserAvatar.d.ts +24 -0
- package/dist/components/AI/UserAvatar.d.ts.map +1 -0
- package/dist/components/AI/UserMessage.d.ts +26 -0
- package/dist/components/AI/UserMessage.d.ts.map +1 -0
- package/dist/components/AI/index.d.ts +39 -0
- package/dist/components/AI/index.d.ts.map +1 -0
- package/dist/components/AI/tokens.d.ts +132 -0
- package/dist/components/AI/tokens.d.ts.map +1 -0
- package/dist/components/AI/types/index.d.ts +6 -0
- package/dist/components/AI/types/index.d.ts.map +1 -0
- package/dist/components/AI/types/response.d.ts +312 -0
- package/dist/components/AI/types/response.d.ts.map +1 -0
- package/dist/components/AppLayout/AIFab.d.ts +50 -0
- package/dist/components/AppLayout/AIFab.d.ts.map +1 -0
- package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts +32 -0
- package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -0
- package/dist/components/AppLayout/AppLayout.d.ts +154 -0
- package/dist/components/AppLayout/AppLayout.d.ts.map +1 -0
- package/dist/components/AppLayout/InsightEnginePanel.d.ts +141 -0
- package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -0
- package/dist/components/AppLayout/ResizablePanel.d.ts +52 -0
- package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -0
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +53 -0
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -0
- package/dist/components/AppLayout/index.d.ts +27 -0
- package/dist/components/AppLayout/index.d.ts.map +1 -0
- package/dist/components/Charts/AreaChart.d.ts +38 -0
- package/dist/components/Charts/AreaChart.d.ts.map +1 -0
- package/dist/components/Charts/BarChart.d.ts +47 -0
- package/dist/components/Charts/BarChart.d.ts.map +1 -0
- package/dist/components/Charts/ChartWrapper.d.ts +48 -0
- package/dist/components/Charts/ChartWrapper.d.ts.map +1 -0
- package/dist/components/Charts/ComposedChart.d.ts +34 -0
- package/dist/components/Charts/ComposedChart.d.ts.map +1 -0
- package/dist/components/Charts/CustomLegend.d.ts +69 -0
- package/dist/components/Charts/CustomLegend.d.ts.map +1 -0
- package/dist/components/Charts/CustomTooltip.d.ts +55 -0
- package/dist/components/Charts/CustomTooltip.d.ts.map +1 -0
- package/dist/components/Charts/LineChart.d.ts +36 -0
- package/dist/components/Charts/LineChart.d.ts.map +1 -0
- package/dist/components/Charts/PieChart.d.ts +52 -0
- package/dist/components/Charts/PieChart.d.ts.map +1 -0
- package/dist/components/Charts/RadialChart.d.ts +51 -0
- package/dist/components/Charts/RadialChart.d.ts.map +1 -0
- package/dist/components/Charts/ScatterChart.d.ts +55 -0
- package/dist/components/Charts/ScatterChart.d.ts.map +1 -0
- package/dist/components/Charts/Sparkline.d.ts +44 -0
- package/dist/components/Charts/Sparkline.d.ts.map +1 -0
- package/dist/components/Charts/index.d.ts +48 -0
- package/dist/components/Charts/index.d.ts.map +1 -0
- package/dist/components/Charts/tokens.d.ts +200 -0
- package/dist/components/Charts/tokens.d.ts.map +1 -0
- package/dist/components/Charts/types.d.ts +595 -0
- package/dist/components/Charts/types.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +99 -0
- package/dist/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/components/Combobox/index.d.ts +3 -0
- package/dist/components/Combobox/index.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +76 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/DataCard/DataCard.d.ts +60 -0
- package/dist/components/DataCard/DataCard.d.ts.map +1 -0
- package/dist/components/DataCard/index.d.ts +2 -0
- package/dist/components/DataCard/index.d.ts.map +1 -0
- package/dist/components/DataTable/CellRenderers.d.ts +78 -0
- package/dist/components/DataTable/CellRenderers.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +36 -0
- package/dist/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/components/DataTable/InlineAddRow.d.ts +27 -0
- package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +6 -0
- package/dist/components/DataTable/index.d.ts.map +1 -0
- package/dist/components/DataTable/tokens.d.ts +132 -0
- package/dist/components/DataTable/tokens.d.ts.map +1 -0
- package/dist/components/DataTable/types.d.ts +334 -0
- package/dist/components/DataTable/types.d.ts.map +1 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts +63 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -0
- package/dist/components/DiffViewer/index.d.ts +3 -0
- package/dist/components/DiffViewer/index.d.ts.map +1 -0
- package/dist/components/DockLayout/DockLayout.d.ts +78 -0
- package/dist/components/DockLayout/DockLayout.d.ts.map +1 -0
- package/dist/components/DockLayout/index.d.ts +3 -0
- package/dist/components/DockLayout/index.d.ts.map +1 -0
- package/dist/components/FileUpload/FileUpload.d.ts +93 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -0
- package/dist/components/FilterBar/FilterBar.d.ts +76 -0
- package/dist/components/FilterBar/FilterBar.d.ts.map +1 -0
- package/dist/components/FilterBar/index.d.ts +2 -0
- package/dist/components/FilterBar/index.d.ts.map +1 -0
- package/dist/components/Footer.d.ts +30 -0
- package/dist/components/Footer.d.ts.map +1 -0
- package/dist/components/Icon.d.ts +67 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/IllustratedMessage.d.ts +99 -0
- package/dist/components/IllustratedMessage.d.ts.map +1 -0
- package/dist/components/LandingPage/FeatureCard.d.ts +89 -0
- package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -0
- package/dist/components/LandingPage/LandingPage.d.ts +126 -0
- package/dist/components/LandingPage/LandingPage.d.ts.map +1 -0
- package/dist/components/LandingPage/index.d.ts +11 -0
- package/dist/components/LandingPage/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +181 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +91 -0
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/components/PageHeader/index.d.ts +2 -0
- package/dist/components/PageHeader/index.d.ts.map +1 -0
- package/dist/components/RichTextEditor/RichTextEditor.d.ts +52 -0
- package/dist/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
- package/dist/components/RichTextEditor/index.d.ts +3 -0
- package/dist/components/RichTextEditor/index.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +66 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/components/SearchInput/index.d.ts +2 -0
- package/dist/components/SearchInput/index.d.ts.map +1 -0
- package/dist/components/SimpleTable/SimpleTable.d.ts +93 -0
- package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -0
- package/dist/components/SimpleTable/index.d.ts +3 -0
- package/dist/components/SimpleTable/index.d.ts.map +1 -0
- package/dist/components/SplitPane/SplitPane.d.ts +52 -0
- package/dist/components/SplitPane/SplitPane.d.ts.map +1 -0
- package/dist/components/SplitPane/index.d.ts +3 -0
- package/dist/components/SplitPane/index.d.ts.map +1 -0
- package/dist/components/StatusIndicator/Badge.d.ts +71 -0
- package/dist/components/StatusIndicator/Badge.d.ts.map +1 -0
- package/dist/components/StatusIndicator/Chip.d.ts +64 -0
- package/dist/components/StatusIndicator/Chip.d.ts.map +1 -0
- package/dist/components/StatusIndicator/Indicators.d.ts +81 -0
- package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -0
- package/dist/components/StatusIndicator/Legend.d.ts +42 -0
- package/dist/components/StatusIndicator/Legend.d.ts.map +1 -0
- package/dist/components/StatusIndicator/Shapes.d.ts +32 -0
- package/dist/components/StatusIndicator/Shapes.d.ts.map +1 -0
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +183 -0
- package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/dist/components/StatusIndicator/index.d.ts +55 -0
- package/dist/components/StatusIndicator/index.d.ts.map +1 -0
- package/dist/components/StatusIndicator/types.d.ts +37 -0
- package/dist/components/StatusIndicator/types.d.ts.map +1 -0
- package/dist/components/Timeline/Timeline.d.ts +89 -0
- package/dist/components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Timeline/index.d.ts +2 -0
- package/dist/components/Timeline/index.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts +124 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/TopNavHeader.d.ts +55 -0
- package/dist/components/TopNavHeader.d.ts.map +1 -0
- package/dist/components/TopNavWithSidebar.d.ts +64 -0
- package/dist/components/TopNavWithSidebar.d.ts.map +1 -0
- package/dist/components/TransferList/TransferList.d.ts +62 -0
- package/dist/components/TransferList/TransferList.d.ts.map +1 -0
- package/dist/components/TransferList/index.d.ts +3 -0
- package/dist/components/TransferList/index.d.ts.map +1 -0
- package/dist/components/TreeView/TreeView.d.ts +89 -0
- package/dist/components/TreeView/TreeView.d.ts.map +1 -0
- package/dist/components/TreeView/index.d.ts +3 -0
- package/dist/components/TreeView/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +119 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/internal/index.d.ts +27 -0
- package/dist/components/internal/index.d.ts.map +1 -0
- package/dist/components/navigation/components.d.ts +85 -0
- package/dist/components/navigation/components.d.ts.map +1 -0
- package/dist/components/navigation/hooks.d.ts +65 -0
- package/dist/components/navigation/hooks.d.ts.map +1 -0
- package/dist/components/navigation/index.d.ts +28 -0
- package/dist/components/navigation/index.d.ts.map +1 -0
- package/dist/components/navigation/styled.d.ts +13 -0
- package/dist/components/navigation/styled.d.ts.map +1 -0
- package/dist/components/navigation/types.d.ts +58 -0
- package/dist/components/navigation/types.d.ts.map +1 -0
- package/dist/components/shared/TrinityLogoSvg.d.ts +29 -0
- package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -0
- package/dist/components/shared.d.ts +92 -0
- package/dist/components/shared.d.ts.map +1 -0
- package/dist/components/templates/Dashboard/DashboardTemplate.d.ts +66 -0
- package/dist/components/templates/Dashboard/DashboardTemplate.d.ts.map +1 -0
- package/dist/components/templates/Dashboard/index.d.ts +2 -0
- package/dist/components/templates/Dashboard/index.d.ts.map +1 -0
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +88 -0
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -0
- package/dist/components/templates/ListDetail/index.d.ts +2 -0
- package/dist/components/templates/ListDetail/index.d.ts.map +1 -0
- package/dist/components/templates/Settings/SettingsTemplate.d.ts +78 -0
- package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -0
- package/dist/components/templates/Settings/index.d.ts +2 -0
- package/dist/components/templates/Settings/index.d.ts.map +1 -0
- package/dist/components/templates/index.d.ts +5 -0
- package/dist/components/templates/index.d.ts.map +1 -0
- package/dist/essentials.d.ts +49 -0
- package/dist/essentials.d.ts.map +1 -0
- package/dist/essentials.js +256 -0
- package/dist/form.d.ts +212 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/hierarchy.d.ts +371 -0
- package/dist/hierarchy.d.ts.map +1 -0
- package/dist/hooks/useTrinityPalette.d.ts +54 -0
- package/dist/hooks/useTrinityPalette.d.ts.map +1 -0
- package/dist/hooks.d.ts +217 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2293 -3731
- package/dist/presets/analytics.d.ts +197 -0
- package/dist/presets/analytics.d.ts.map +1 -0
- package/dist/presets/crm.d.ts +67 -0
- package/dist/presets/crm.d.ts.map +1 -0
- package/dist/presets/index.d.ts +21 -0
- package/dist/presets/index.d.ts.map +1 -0
- package/dist/presets/portal.d.ts +67 -0
- package/dist/presets/portal.d.ts.map +1 -0
- package/dist/theme.d.ts +221 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/tokens.d.ts +4760 -0
- package/dist/tokens.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export { default as TopNavHeader } from './TopNavHeader';
|
|
2
|
+
export { default as TopNavWithSidebar } from './TopNavWithSidebar';
|
|
3
|
+
export { default as Footer } from './Footer';
|
|
4
|
+
export { AppLayout, ResizablePanel, InsightEnginePanel,
|
|
5
|
+
/** @deprecated Use AppLayout with navStyle/aiTrigger props instead */
|
|
6
|
+
AIFabLayout, } from './AppLayout';
|
|
7
|
+
export type { AppLayoutProps, NavStyle, AITrigger, ResizablePanelProps, InsightEnginePanelProps, ChatMessage, } from './AppLayout';
|
|
8
|
+
export { type App, type Client, type NavItem, type UserInfo, type SearchConfig, type BaseNavProps,
|
|
9
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
10
|
+
Search,
|
|
11
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
12
|
+
SearchIconWrapper,
|
|
13
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
14
|
+
StyledInputBase,
|
|
15
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
16
|
+
ClearButton,
|
|
17
|
+
/** @internal Implementation detail - use ClientMenu instead */
|
|
18
|
+
ClientSelector,
|
|
19
|
+
/** @internal Implementation detail */
|
|
20
|
+
HeaderIconButton,
|
|
21
|
+
/** @internal Implementation detail */
|
|
22
|
+
LogoWrapper, useClientSelector, useUserMenu, useAppsMenu, useSearch, useSidebar, type UseClientSelectorOptions, type UseClientSelectorReturn, type UseUserMenuOptions, type UseUserMenuReturn, type UseAppsMenuOptions, type UseAppsMenuReturn, type UseSearchOptions, type UseSearchReturn, type UseSidebarOptions, type UseSidebarReturn, TrinityLogo, SearchBar, ClientMenu, AppsMenu, UserMenu, HeaderActions, type TrinityLogoProps, type SearchBarProps, type ClientMenuProps, type AppsMenuProps, type UserMenuProps, type HeaderActionsProps, } from './navigation';
|
|
23
|
+
export { Icon, IconProvider, IconLibrarySwitcher, useIconLibrary, getAvailableIcons, hasIcon, getIconName, iconSizeMap, iconNameMap, } from './Icon';
|
|
24
|
+
export type { IconLibrary, IconSize, IconContextType, TrinityIconProps, } from './Icon';
|
|
25
|
+
export { createTrinityTheme, lightTheme, darkTheme, generateCssVariables, generateDarkModeCssVariables, injectTrinityCssVariables, injectDarkModeCssVariables, getContrastRatio, validateAccessibility, brandColors, accessibleCombinations, useTrinityTokens, } from '../theme';
|
|
26
|
+
export { tokens, baseTokens, semanticTokens, componentTokens, darkModeTokens, } from '../tokens';
|
|
27
|
+
export type { TrinityTokens, TrinityBaseTokens, TrinitySemanticTokens, TrinityComponentTokens, TrinityDarkModeTokens, TrinityColorShades, TrinityBaseColors, TrinitySpacing, TrinityFontSize, TrinityFontWeight, TrinityBorderRadius, TrinityShadows, TrinitySemanticColors, TrinityTypographyStyle, TrinityButtonTokens, TrinityInputTokens, TrinityCardTokens, TrinityNavigationTokens, } from '../tokens';
|
|
28
|
+
export type { UseTrinityTokensResult } from '../theme';
|
|
29
|
+
export { IllustratedMessage, UploadDropZone, EmptyTableIllustration, EmptyDraftsIllustration, GettingStartedIllustration, EmptyDocumentsIllustration, EmptyInsightsIllustration, NoResultsIllustration, ErrorGenericIllustration, Error404Illustration, Error500Illustration, ErrorPermissionIllustration, UploadIllustration, SuccessIllustration, NoNotificationsIllustration, NoDataIllustration, OfflineIllustration, } from './IllustratedMessage';
|
|
30
|
+
export type { IllustrationType, IllustratedMessageSize, IllustratedMessageProps, UploadDropZoneProps, } from './IllustratedMessage';
|
|
31
|
+
export { StatusIndicator, StatusLegend, getStatusConfig, getAllStatusTypes, getStatusTypesBySeverity, } from './StatusIndicator';
|
|
32
|
+
export type { StatusType, SeverityLevel, StatusShape, StatusSize, StatusConfig, StatusLegendProps, StatusLegendItem, } from './StatusIndicator';
|
|
33
|
+
/** @deprecated Use InsightEngineInput instead */
|
|
34
|
+
export { QueryInput } from './AI/QueryInput';
|
|
35
|
+
/** @deprecated Use InsightEngineInputProps instead */
|
|
36
|
+
export type { QueryInputProps } from './AI/QueryInput';
|
|
37
|
+
export { InsightEngineInput } from './AI/InsightEngineInput';
|
|
38
|
+
export type { InsightEngineInputProps } from './AI/InsightEngineInput';
|
|
39
|
+
export { AIVoiceOverlay, AIListeningIndicator } from './AI/AIVoiceInput';
|
|
40
|
+
export type { AIVoiceOverlayProps, AIListeningIndicatorProps } from './AI/AIVoiceInput';
|
|
41
|
+
export { AIResponseRenderer } from './AI/AIResponseRenderer';
|
|
42
|
+
export type { AIResponseRendererProps } from './AI/AIResponseRenderer';
|
|
43
|
+
export { AITextBlock } from './AI/AITextBlock';
|
|
44
|
+
export type { AITextBlockProps } from './AI/AITextBlock';
|
|
45
|
+
export { AIMessage } from './AI/AIMessage';
|
|
46
|
+
export type { AIMessageProps } from './AI/AIMessage';
|
|
47
|
+
export { UserMessage } from './AI/UserMessage';
|
|
48
|
+
export type { UserMessageProps } from './AI/UserMessage';
|
|
49
|
+
export { UserAvatar } from './AI/UserAvatar';
|
|
50
|
+
export type { UserAvatarProps } from './AI/UserAvatar';
|
|
51
|
+
export { InsightEngine } from './AI/InsightEngine';
|
|
52
|
+
export type { InsightEngineProps } from './AI/InsightEngine';
|
|
53
|
+
export { ChatThread } from './AI/ChatThread';
|
|
54
|
+
export type { ChatThreadProps } from './AI/ChatThread';
|
|
55
|
+
export { ChatHeader } from './AI/ChatHeader';
|
|
56
|
+
export type { ChatHeaderProps, ChatViewMode } from './AI/ChatHeader';
|
|
57
|
+
export { ChatHistoryList } from './AI/ChatHistoryList';
|
|
58
|
+
export type { ChatHistoryListProps, ChatHistoryItem } from './AI/ChatHistoryList';
|
|
59
|
+
export { AILabel } from './AI/AILabel';
|
|
60
|
+
export type { AILabelProps, AILabelSize, AILabelVariant } from './AI/AILabel';
|
|
61
|
+
export { AIAvatar } from './AI/AIAvatar';
|
|
62
|
+
export type { AIAvatarProps } from './AI/AIAvatar';
|
|
63
|
+
export { AIExplainability } from './AI/AIExplainability';
|
|
64
|
+
export type { AIExplainabilityProps } from './AI/AIExplainability';
|
|
65
|
+
export { AISource, AISourcesSection } from './AI/AISources';
|
|
66
|
+
export type { AISourceProps, AISourcesSectionProps } from './AI/AISources';
|
|
67
|
+
export { AISourcesPanel, AISourceCategoryItem } from './AI/AISourcesPanel';
|
|
68
|
+
export type { AISourcesPanelProps, AISourceCategoryItemProps, AISourceCategory, AISourceItem } from './AI/AISourcesPanel';
|
|
69
|
+
export { AIRelatedQuestions } from './AI/AIRelatedQuestions';
|
|
70
|
+
export type { AIRelatedQuestionsProps } from './AI/AIRelatedQuestions';
|
|
71
|
+
export { AISuggestedAction, AICircularAction, AIActionsGroup } from './AI/AIActions';
|
|
72
|
+
export type { AISuggestedActionProps, AICircularActionProps, AIActionsGroupProps } from './AI/AIActions';
|
|
73
|
+
export { AIContainer, AIExpandableSection, AIPersonaCard } from './AI/AIContainer';
|
|
74
|
+
export type { AIContainerProps, AIExpandableSectionProps, AIPersonaCardProps } from './AI/AIContainer';
|
|
75
|
+
export { GradientText, StatCard, GradientIconBadge, AIShimmer } from './AI/AIVisuals';
|
|
76
|
+
export type { GradientTextProps, StatCardProps, GradientIconBadgeProps, AIShimmerProps } from './AI/AIVisuals';
|
|
77
|
+
export { AIChatMessage, AIChatInput, AITypingIndicator, AIQuickReply } from './AI/AIChat';
|
|
78
|
+
export type { AIChatMessageProps, AIChatInputProps, AITypingIndicatorProps, AIQuickReplyProps, MessageRole } from './AI/AIChat';
|
|
79
|
+
export { aiTokens, aiRadius, aiRadiusPx, aiSpacing } from './AI/tokens';
|
|
80
|
+
export { PageHeader } from './PageHeader';
|
|
81
|
+
export type { PageHeaderProps, BreadcrumbItem } from './PageHeader';
|
|
82
|
+
export { ToastProvider, useToast, Toast, } from './Toast';
|
|
83
|
+
export type { ToastProps, ToastSeverity, ToastPosition, ToastProviderProps, ToastOptions, } from './Toast';
|
|
84
|
+
export { SimpleTable } from './SimpleTable';
|
|
85
|
+
export type { SimpleTableProps, SimpleTableColumn, SortDirection, } from './SimpleTable';
|
|
86
|
+
export { DataTable } from './DataTable';
|
|
87
|
+
export type { DataTableProps, TrinityColumnDef, RowAction, } from './DataTable';
|
|
88
|
+
export { FileUpload } from './FileUpload';
|
|
89
|
+
export type { FileUploadProps, UploadFile, FileUploadVariant, } from './FileUpload';
|
|
90
|
+
export { Modal, ConfirmDialog, useConfirmDialog, } from './Modal';
|
|
91
|
+
export type { ModalProps, ConfirmDialogProps, ModalVariant, } from './Modal';
|
|
92
|
+
export { useDebounce, useDebouncedCallback, useClipboard, useLocalStorage, useTrinityBreakpoints, useToggle, usePrevious, useOnClickOutside, useKeyPress, useInterval, } from '../hooks';
|
|
93
|
+
export { LineChart, BarChart, AreaChart, PieChart, DonutChart, ScatterChart, BubbleChart, RadialBarChart, GaugeChart, ComposedChart, Sparkline, ChartWrapper, CustomTooltip, SimpleTooltip, CustomLegend, InteractiveLegend, PieLegend, chartColorsPrimary, chartColorsCategorical, chartColorsSequential, chartColorsDiverging, chartColorsStatus, chartTypography, chartSpacing, chartSizing, chartGridStyles, chartAxisStyles, chartTooltipStyles, chartLegendStyles, chartAnimation, chartTheme, getChartColor, getChartColors, } from './Charts';
|
|
94
|
+
export type { DataPoint, NamedDataPoint, TimeSeriesDataPoint, MultiSeriesDataPoint, PieDataPoint, ScatterDataPoint, SeriesConfig, AxisConfig, LegendConfig, LegendPosition, LegendAlign, TooltipConfig, ReferenceLineConfig, ReferenceAreaConfig, BaseChartProps, LineChartProps, BarChartProps, BarChartLayout, BarChartVariant, AreaChartProps, PieChartProps, ScatterChartProps, ComposedChartProps, ComposedSeriesConfig, ComposedChartReferenceLineConfig, RadialBarChartProps, GaugeChartProps, SparklineProps, } from './Charts';
|
|
95
|
+
export { SearchInput } from './SearchInput';
|
|
96
|
+
export type { SearchInputProps, SearchSuggestion } from './SearchInput';
|
|
97
|
+
export { FilterBar } from './FilterBar';
|
|
98
|
+
export type { FilterBarProps, FilterConfig, FilterValue, FilterPreset } from './FilterBar';
|
|
99
|
+
export { DataCard } from './DataCard';
|
|
100
|
+
export type { DataCardProps, TrendDirection } from './DataCard';
|
|
101
|
+
export { CommandPalette } from './CommandPalette';
|
|
102
|
+
export type { CommandPaletteProps, CommandItem, CommandGroup } from './CommandPalette';
|
|
103
|
+
export { Timeline, TimelineItemComponent } from './Timeline';
|
|
104
|
+
export type { TimelineProps, TimelineItem } from './Timeline';
|
|
105
|
+
export { TreeView } from './TreeView';
|
|
106
|
+
export type { TreeViewProps, TreeNode, TreeNodeRenderProps } from './TreeView';
|
|
107
|
+
export { TransferList } from './TransferList';
|
|
108
|
+
export type { TransferListProps, TransferListItem } from './TransferList';
|
|
109
|
+
export { Combobox } from './Combobox';
|
|
110
|
+
export type { ComboboxProps, ComboboxOption } from './Combobox';
|
|
111
|
+
export { SplitPane } from './SplitPane';
|
|
112
|
+
export type { SplitPaneProps } from './SplitPane';
|
|
113
|
+
export { RichTextEditor } from './RichTextEditor';
|
|
114
|
+
export type { RichTextEditorProps, ToolbarItem, HeadingLevel, TextAlign } from './RichTextEditor';
|
|
115
|
+
export { DiffViewer } from './DiffViewer';
|
|
116
|
+
export type { DiffViewerProps, DiffViewMode, DiffLine, DiffHunk } from './DiffViewer';
|
|
117
|
+
export { DockLayout } from './DockLayout';
|
|
118
|
+
export type { DockLayoutProps, DockPanel, DockZone } from './DockLayout';
|
|
119
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EACL,SAAS,EACT,cAAc,EACd,kBAAkB;AAClB,sEAAsE;AACtE,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,WAAW,GACZ,MAAM,aAAa,CAAC;AAUrB,OAAO,EAEL,KAAK,GAAG,EACR,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,YAAY;AAEjB,8DAA8D;AAC9D,MAAM;AACN,8DAA8D;AAC9D,iBAAiB;AACjB,8DAA8D;AAC9D,eAAe;AACf,8DAA8D;AAC9D,WAAW;AACX,+DAA+D;AAC/D,cAAc;AACd,sCAAsC;AACtC,gBAAgB;AAChB,sCAAsC;AACtC,WAAW,EAEX,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EAEV,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACt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cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlG,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGtF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal Components Module
|
|
3
|
+
*
|
|
4
|
+
* ⚠️ WARNING: These components are internal implementation details.
|
|
5
|
+
* They are NOT part of the public API and may change without notice.
|
|
6
|
+
*
|
|
7
|
+
* For status indicators, use the unified `StatusIndicator` component instead:
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { StatusIndicator } from '@trinityui/design-system';
|
|
11
|
+
*
|
|
12
|
+
* <StatusIndicator variant="badge" status="success" />
|
|
13
|
+
* <StatusIndicator variant="chip" status="warning" />
|
|
14
|
+
* <StatusIndicator variant="dot" status="error" />
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
* @module internal
|
|
19
|
+
*/
|
|
20
|
+
export { BadgeIndicator, DifferentialIndicator } from '../StatusIndicator/Badge';
|
|
21
|
+
export type { BadgeIndicatorProps, DifferentialIndicatorProps } from '../StatusIndicator/Badge';
|
|
22
|
+
export { StatusChip, InlineStatus } from '../StatusIndicator/Chip';
|
|
23
|
+
export type { StatusChipProps, InlineStatusProps } from '../StatusIndicator/Chip';
|
|
24
|
+
export { IconIndicator, ShapeIndicator, StatusDot } from '../StatusIndicator/Indicators';
|
|
25
|
+
export type { IconIndicatorProps, ShapeIndicatorProps, StatusDotProps } from '../StatusIndicator/Indicators';
|
|
26
|
+
export { CircleShape, SquareShape, DiamondShape, TriangleShape, HexagonShape, ShapeComponents, type ShapeProps, } from '../StatusIndicator/Shapes';
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/internal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjF,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAGhG,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACnE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGlF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AACzF,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG7G,OAAO,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,KAAK,UAAU,GAChB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Components component.
|
|
3
|
+
* @module components/navigation/components
|
|
4
|
+
* Navigation - Shared Components
|
|
5
|
+
* Reusable navigation sub-components
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* import { Components } from '@trinityui/design-system';
|
|
9
|
+
*
|
|
10
|
+
* <Components />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
import React from 'react';
|
|
14
|
+
import { Client, App } from './types';
|
|
15
|
+
/**
|
|
16
|
+
* Props for TrinityLogo component.
|
|
17
|
+
*/
|
|
18
|
+
export interface TrinityLogoProps {
|
|
19
|
+
height?: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const TrinityLogo: React.FC<TrinityLogoProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Props for SearchBar component.
|
|
24
|
+
*/
|
|
25
|
+
export interface SearchBarProps {
|
|
26
|
+
value: string;
|
|
27
|
+
isFocused: boolean;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
30
|
+
onKeyPress: (event: React.KeyboardEvent) => void;
|
|
31
|
+
onClear: () => void;
|
|
32
|
+
onFocus: () => void;
|
|
33
|
+
onBlur: () => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const SearchBar: React.FC<SearchBarProps>;
|
|
36
|
+
/**
|
|
37
|
+
* Props for ClientMenu component.
|
|
38
|
+
*/
|
|
39
|
+
export interface ClientMenuProps {
|
|
40
|
+
selectedClient: string;
|
|
41
|
+
clients: Client[];
|
|
42
|
+
anchorEl: HTMLElement | null;
|
|
43
|
+
isOpen: boolean;
|
|
44
|
+
onButtonClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
45
|
+
onClose: () => void;
|
|
46
|
+
onSelect: (client: Client) => void;
|
|
47
|
+
}
|
|
48
|
+
export declare const ClientMenu: React.FC<ClientMenuProps>;
|
|
49
|
+
/**
|
|
50
|
+
* Props for AppsMenu component.
|
|
51
|
+
*/
|
|
52
|
+
export interface AppsMenuProps {
|
|
53
|
+
apps: App[];
|
|
54
|
+
anchorEl: HTMLElement | null;
|
|
55
|
+
isOpen: boolean;
|
|
56
|
+
onButtonClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
57
|
+
onClose: () => void;
|
|
58
|
+
onSelect: (appId: string) => void;
|
|
59
|
+
}
|
|
60
|
+
export declare const AppsMenu: React.FC<AppsMenuProps>;
|
|
61
|
+
/**
|
|
62
|
+
* Props for UserMenu component.
|
|
63
|
+
*/
|
|
64
|
+
export interface UserMenuProps {
|
|
65
|
+
userInitials: string;
|
|
66
|
+
userName: string;
|
|
67
|
+
userEmail: string;
|
|
68
|
+
anchorEl: HTMLElement | null;
|
|
69
|
+
isOpen: boolean;
|
|
70
|
+
onButtonClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
71
|
+
onClose: () => void;
|
|
72
|
+
onAction: (action: string) => void;
|
|
73
|
+
}
|
|
74
|
+
export declare const UserMenu: React.FC<UserMenuProps>;
|
|
75
|
+
/**
|
|
76
|
+
* Props for HeaderActions component.
|
|
77
|
+
*/
|
|
78
|
+
export interface HeaderActionsProps {
|
|
79
|
+
onHelpClick?: () => void;
|
|
80
|
+
onNotificationsClick?: () => void;
|
|
81
|
+
showHelp?: boolean;
|
|
82
|
+
showNotifications?: boolean;
|
|
83
|
+
}
|
|
84
|
+
export declare const HeaderActions: React.FC<HeaderActionsProps>;
|
|
85
|
+
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AA6B1B,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAMtC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAIlD,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,KAAK,IA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;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkF5C,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwBtD,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation - Hooks
|
|
3
|
+
* Custom hooks for navigation state management
|
|
4
|
+
*/
|
|
5
|
+
import { Client } from './types';
|
|
6
|
+
export interface UseClientSelectorOptions {
|
|
7
|
+
initialClient?: string;
|
|
8
|
+
onClientChange?: (clientId: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface UseClientSelectorReturn {
|
|
11
|
+
selectedClient: string;
|
|
12
|
+
anchorEl: HTMLElement | null;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
handleClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
15
|
+
handleClose: () => void;
|
|
16
|
+
handleSelect: (client: Client) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const useClientSelector: ({ initialClient, onClientChange, }: UseClientSelectorOptions) => UseClientSelectorReturn;
|
|
19
|
+
export interface UseUserMenuOptions {
|
|
20
|
+
onUserMenuClick?: (action: string) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface UseUserMenuReturn {
|
|
23
|
+
anchorEl: HTMLElement | null;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
handleClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
26
|
+
handleClose: () => void;
|
|
27
|
+
handleAction: (action: string) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare const useUserMenu: ({ onUserMenuClick, }: UseUserMenuOptions) => UseUserMenuReturn;
|
|
30
|
+
export interface UseAppsMenuOptions {
|
|
31
|
+
onAppsClick?: (appId: string) => void;
|
|
32
|
+
}
|
|
33
|
+
export interface UseAppsMenuReturn {
|
|
34
|
+
anchorEl: HTMLElement | null;
|
|
35
|
+
isOpen: boolean;
|
|
36
|
+
handleClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
37
|
+
handleClose: () => void;
|
|
38
|
+
handleSelect: (appId: string) => void;
|
|
39
|
+
}
|
|
40
|
+
export declare const useAppsMenu: ({ onAppsClick, }: UseAppsMenuOptions) => UseAppsMenuReturn;
|
|
41
|
+
export interface UseSearchOptions {
|
|
42
|
+
onSearch?: (query: string) => void;
|
|
43
|
+
}
|
|
44
|
+
export interface UseSearchReturn {
|
|
45
|
+
value: string;
|
|
46
|
+
isFocused: boolean;
|
|
47
|
+
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
48
|
+
handleKeyPress: (event: React.KeyboardEvent) => void;
|
|
49
|
+
handleClear: () => void;
|
|
50
|
+
handleFocus: () => void;
|
|
51
|
+
handleBlur: () => void;
|
|
52
|
+
}
|
|
53
|
+
export declare const useSearch: ({ onSearch, }: UseSearchOptions) => UseSearchReturn;
|
|
54
|
+
export interface UseSidebarOptions {
|
|
55
|
+
defaultExpanded?: boolean;
|
|
56
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
57
|
+
}
|
|
58
|
+
export interface UseSidebarReturn {
|
|
59
|
+
isExpanded: boolean;
|
|
60
|
+
toggle: () => void;
|
|
61
|
+
expand: () => void;
|
|
62
|
+
collapse: () => void;
|
|
63
|
+
}
|
|
64
|
+
export declare const useSidebar: ({ defaultExpanded, onExpandedChange, }?: UseSidebarOptions) => UseSidebarReturn;
|
|
65
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/hooks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAMjC,MAAM,WAAW,wBAAwB;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC5D,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,iBAAiB,GAAI,oCAG/B,wBAAwB,KAAG,uBA0B7B,CAAC;AAMF,MAAM,WAAW,kBAAkB;IACjC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC5D,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,W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;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,yCAGxB,iBAAsB,KAAG,gBA2B3B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* Navigation Module
|
|
4
|
+
* Internal barrel file for navigation utilities.
|
|
5
|
+
*
|
|
6
|
+
* PUBLIC API: Import from '@trinityui/design-system' instead.
|
|
7
|
+
* This file is for internal workspace use only.
|
|
8
|
+
*
|
|
9
|
+
* @module navigation
|
|
10
|
+
*/
|
|
11
|
+
export type { App, Client, NavItem, UserInfo, SearchConfig, BaseNavProps, } from './types';
|
|
12
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
13
|
+
export { Search } from './styled';
|
|
14
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
15
|
+
export { SearchIconWrapper } from './styled';
|
|
16
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
17
|
+
export { StyledInputBase } from './styled';
|
|
18
|
+
/** @internal Implementation detail - use SearchBar instead */
|
|
19
|
+
export { ClearButton } from './styled';
|
|
20
|
+
/** @internal Implementation detail - use ClientMenu instead */
|
|
21
|
+
export { ClientSelector } from './styled';
|
|
22
|
+
/** @internal Implementation detail */
|
|
23
|
+
export { HeaderIconButton } from './styled';
|
|
24
|
+
/** @internal Implementation detail */
|
|
25
|
+
export { LogoWrapper } from './styled';
|
|
26
|
+
export { useClientSelector, useUserMenu, useAppsMenu, useSearch, useSidebar, type UseClientSelectorOptions, type UseClientSelectorReturn, type UseUserMenuOptions, type UseUserMenuReturn, type UseAppsMenuOptions, type UseAppsMenuReturn, type UseSearchOptions, type UseSearchReturn, type UseSidebarOptions, type UseSidebarReturn, } from './hooks';
|
|
27
|
+
export { TrinityLogo, SearchBar, ClientMenu, AppsMenu, UserMenu, HeaderActions, type TrinityLogoProps, type SearchBarProps, type ClientMenuProps, type AppsMenuProps, type UserMenuProps, type HeaderActionsProps, } from './components';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,YAAY,EACV,GAAG,EACH,MAAM,EACN,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,YAAY,GACb,MAAM,SAAS,CAAC;AAKjB,8DAA8D;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,8DAA8D;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,8DAA8D;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,8DAA8D;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,+DAA+D;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,sCAAsC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,SAAS,CAAC;AAKjB,OAAO,EACL,WAAW,EACX,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation - Styled Components
|
|
3
|
+
* Shared styled components for navigation
|
|
4
|
+
*/
|
|
5
|
+
import type { ElementType } from 'react';
|
|
6
|
+
export declare const Search: ElementType;
|
|
7
|
+
export declare const SearchIconWrapper: ElementType;
|
|
8
|
+
export declare const StyledInputBase: ElementType;
|
|
9
|
+
export declare const ClearButton: ElementType;
|
|
10
|
+
export declare const ClientSelector: ElementType;
|
|
11
|
+
export declare const HeaderIconButton: ElementType;
|
|
12
|
+
export declare const LogoWrapper: ElementType;
|
|
13
|
+
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/styled.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAOzC,eAAO,MAAM,MAAM,EAAE,WAiBlB,CAAC;AAEJ,eAAO,MAAM,iBAAiB,EAAE,WAS7B,CAAC;AAEJ,eAAO,MAAM,eAAe,EAAE,WAc3B,CAAC;AAEJ,eAAO,MAAM,WAAW,EAAE,WAYvB,CAAC;AAMJ,eAAO,MAAM,cAAc,EAAE,WAa1B,CAAC;AAMJ,eAAO,MAAM,gBAAgB,EAAE,WAO5B,CAAC;AAMJ,eAAO,MAAM,WAAW,EAAE,WAGxB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation - Shared Types
|
|
3
|
+
* Common type definitions for navigation components
|
|
4
|
+
*/
|
|
5
|
+
export interface App {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface Client {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface NavItem {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
icon: React.ReactNode;
|
|
18
|
+
isSpecial?: boolean;
|
|
19
|
+
badge?: number;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
href?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface UserInfo {
|
|
24
|
+
initials?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
email?: string;
|
|
27
|
+
avatarUrl?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface SearchConfig {
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
onSearch?: (query: string) => void;
|
|
32
|
+
onClear?: () => void;
|
|
33
|
+
}
|
|
34
|
+
export interface BaseNavProps {
|
|
35
|
+
/** Application name displayed in the header */
|
|
36
|
+
appName?: string;
|
|
37
|
+
/** Current client name */
|
|
38
|
+
clientName?: string;
|
|
39
|
+
/** List of available clients */
|
|
40
|
+
clients?: Client[];
|
|
41
|
+
/** Callback when client changes */
|
|
42
|
+
onClientChange?: (clientId: string) => void;
|
|
43
|
+
/** User initials for avatar fallback */
|
|
44
|
+
userInitials?: string;
|
|
45
|
+
/** User display name */
|
|
46
|
+
userName?: string;
|
|
47
|
+
/** User email */
|
|
48
|
+
userEmail?: string;
|
|
49
|
+
/** Search callback */
|
|
50
|
+
onSearch?: (query: string) => void;
|
|
51
|
+
/** Apps menu click handler */
|
|
52
|
+
onAppsClick?: (appId: string) => void;
|
|
53
|
+
/** User menu action handler */
|
|
54
|
+
onUserMenuClick?: (action: string) => void;
|
|
55
|
+
/** List of available apps */
|
|
56
|
+
apps?: App[];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,GAAG;IAClB,EA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IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,8BAA8B;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,+BAA+B;IAC/B,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,6BAA6B;IAC7B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;CACd"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview TrinityLogoSvg component.
|
|
3
|
+
* @module components/shared/TrinityLogoSvg
|
|
4
|
+
* Inline Trinity Logo SVG Component
|
|
5
|
+
*
|
|
6
|
+
* This is an inline SVG to avoid asset import issues when the package
|
|
7
|
+
* is consumed by other projects. The logo is embedded directly in the
|
|
8
|
+
* JavaScript bundle.
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { TrinityLogoSvg } from '@trinityui/design-system';
|
|
12
|
+
*
|
|
13
|
+
* <TrinityLogoSvg />
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
/**
|
|
18
|
+
* Props for TrinityLogoSvg component.
|
|
19
|
+
*/
|
|
20
|
+
export interface TrinityLogoSvgProps {
|
|
21
|
+
height?: number;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Trinity Logo as inline SVG - no external asset dependencies
|
|
26
|
+
*/
|
|
27
|
+
export declare const TrinityLogoSvg: React.FC<TrinityLogoSvgProps>;
|
|
28
|
+
export default TrinityLogoSvg;
|
|
29
|
+
//# sourceMappingURL=TrinityLogoSvg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrinityLogoSvg.d.ts","sourceRoot":"","sources":["../../../src/components/shared/TrinityLogoSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiExD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Shared utility components for building component demo pages.
|
|
3
|
+
* These components provide consistent styling and structure across all pages.
|
|
4
|
+
* @module components/shared
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* import { Shared } from '@trinityui/design-system';
|
|
8
|
+
*
|
|
9
|
+
* <Shared />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
/**
|
|
14
|
+
* Props for the ComponentPage component.
|
|
15
|
+
*/
|
|
16
|
+
interface ComponentPageProps {
|
|
17
|
+
/** The main title displayed at the top of the page */
|
|
18
|
+
title: string;
|
|
19
|
+
/** A brief description of the component being showcased */
|
|
20
|
+
description: string;
|
|
21
|
+
/** Page content, typically Section components */
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ComponentPage provides the standard layout for component demo pages.
|
|
26
|
+
* It displays a title, description, and wraps child content.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* <ComponentPage
|
|
31
|
+
* title="Button"
|
|
32
|
+
* description="Buttons allow users to take actions with a single tap."
|
|
33
|
+
* >
|
|
34
|
+
* <Section title="Variants">
|
|
35
|
+
* <Showcase>
|
|
36
|
+
* <Button variant="contained">Primary</Button>
|
|
37
|
+
* </Showcase>
|
|
38
|
+
* </Section>
|
|
39
|
+
* </ComponentPage>
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare const ComponentPage: React.FC<ComponentPageProps>;
|
|
43
|
+
/**
|
|
44
|
+
* Props for the Section component.
|
|
45
|
+
*/
|
|
46
|
+
interface SectionProps {
|
|
47
|
+
/** Section heading text */
|
|
48
|
+
title: string;
|
|
49
|
+
/** Section content, typically Showcase components or other demos */
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Section provides a titled, bordered container for grouping related component demos.
|
|
54
|
+
* Each section has a heading and paper background for visual separation.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <Section title="Sizes">
|
|
59
|
+
* <Showcase>
|
|
60
|
+
* <Button size="small">Small</Button>
|
|
61
|
+
* <Button size="medium">Medium</Button>
|
|
62
|
+
* <Button size="large">Large</Button>
|
|
63
|
+
* </Showcase>
|
|
64
|
+
* </Section>
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare const Section: React.FC<SectionProps>;
|
|
68
|
+
/**
|
|
69
|
+
* Props for the Showcase component.
|
|
70
|
+
*/
|
|
71
|
+
interface ShowcaseProps {
|
|
72
|
+
/** Components to display in the showcase */
|
|
73
|
+
children: React.ReactNode;
|
|
74
|
+
/** Layout direction - 'row' for horizontal, 'column' for vertical */
|
|
75
|
+
direction?: 'row' | 'column';
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Showcase is a flex container for displaying components with consistent spacing.
|
|
79
|
+
* Use within Section components to arrange demo elements.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```tsx
|
|
83
|
+
* <Showcase direction="row">
|
|
84
|
+
* <Chip label="Default" />
|
|
85
|
+
* <Chip label="Primary" color="primary" />
|
|
86
|
+
* <Chip label="Secondary" color="secondary" />
|
|
87
|
+
* </Showcase>
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
export declare const Showcase: React.FC<ShowcaseProps>;
|
|
91
|
+
export {};
|
|
92
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/components/shared.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;GAEG;AACH,UAAU,kBAAkB;IAC1B,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAUtD,CAAC;AAEF;;GAEG;AACH,UAAU,YAAY;IACpB,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAS1C,CAAC;AAEF;;GAEG;AACH,UAAU,aAAa;IACrB,4CAA4C;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qEAAqE;IACrE,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC9B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAY5C,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Dashboard Template with KPI cards, charts grid, and activity feed
|
|
3
|
+
* @module components/templates/Dashboard
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { DashboardTemplate } from '@trinityui/design-system';
|
|
7
|
+
*
|
|
8
|
+
* <DashboardTemplate />
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
export interface KpiItem {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
value: string | number;
|
|
16
|
+
unit?: string;
|
|
17
|
+
trend?: 'up' | 'down' | 'flat';
|
|
18
|
+
trendValue?: number;
|
|
19
|
+
icon?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export interface ActivityItem {
|
|
22
|
+
id: string;
|
|
23
|
+
title: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
timestamp: string;
|
|
26
|
+
avatar?: string;
|
|
27
|
+
icon?: React.ReactNode;
|
|
28
|
+
type?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Props for DashboardTemplate component.
|
|
32
|
+
*/
|
|
33
|
+
export interface DashboardTemplateProps {
|
|
34
|
+
/** Page title */
|
|
35
|
+
title?: string;
|
|
36
|
+
/** Page subtitle/description */
|
|
37
|
+
subtitle?: string;
|
|
38
|
+
/** KPI cards data */
|
|
39
|
+
kpis?: KpiItem[];
|
|
40
|
+
/** Main chart content */
|
|
41
|
+
mainChart?: React.ReactNode;
|
|
42
|
+
/** Secondary charts (displayed in grid) */
|
|
43
|
+
secondaryCharts?: React.ReactNode[];
|
|
44
|
+
/** Activity feed items */
|
|
45
|
+
activities?: ActivityItem[];
|
|
46
|
+
/** Custom header actions */
|
|
47
|
+
headerActions?: React.ReactNode;
|
|
48
|
+
/** Callback for refresh action */
|
|
49
|
+
onRefresh?: () => void;
|
|
50
|
+
/** Loading state */
|
|
51
|
+
loading?: boolean;
|
|
52
|
+
/** Last updated timestamp */
|
|
53
|
+
lastUpdated?: string;
|
|
54
|
+
/** Render custom KPI cards */
|
|
55
|
+
renderKpi?: (kpi: KpiItem) => React.ReactNode;
|
|
56
|
+
/** Render custom activity item */
|
|
57
|
+
renderActivity?: (activity: ActivityItem) => React.ReactNode;
|
|
58
|
+
/** Extra sidebar content */
|
|
59
|
+
sidebarContent?: React.ReactNode;
|
|
60
|
+
/** Number of columns for KPI grid */
|
|
61
|
+
kpiColumns?: number;
|
|
62
|
+
/** Show activity feed */
|
|
63
|
+
showActivityFeed?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export declare const DashboardTemplate: React.FC<DashboardTemplateProps>;
|
|
66
|
+
//# sourceMappingURL=DashboardTemplate.d.ts.map
|