cortex-react-components 2.0.0 → 2.0.1

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.
Files changed (87) hide show
  1. package/dist/components/.archive/ai-chat-interface.d.ts +70 -0
  2. package/dist/components/{dc-temp → AdvancedComponents}/app-header.d.ts +10 -2
  3. package/dist/components/AdvancedComponents/index.d.ts +3 -0
  4. package/dist/components/{dc-temp → AdvancedComponents}/notifications-panel.d.ts +3 -3
  5. package/dist/components/AdvancedComponents/sidebar.d.ts +16 -0
  6. package/dist/components/AdvancedComponents/user-selection.d.ts +9 -0
  7. package/dist/components/Chat/CopilotInterface.d.ts +96 -0
  8. package/dist/components/Chat/EnhancedChatInterface.d.ts +24 -0
  9. package/dist/components/Chat/ai-chat-interface.d.ts +70 -0
  10. package/dist/components/{dc-temp → Chat}/capability-menu.d.ts +2 -1
  11. package/dist/components/{dc-temp → Chat}/chat-session-sidebar.d.ts +1 -1
  12. package/dist/components/Chat/index.d.ts +4 -0
  13. package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +26 -0
  14. package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +1 -1
  15. package/dist/components/{dc-temp → DigitalColleagues}/Pages/dashboardpage.d.ts +1 -1
  16. package/dist/components/{dc-temp → DigitalColleagues}/Views/ColleaguesView.d.ts +1 -2
  17. package/dist/components/{dc-temp → DigitalColleagues}/Views/KnowledgeView.d.ts +1 -1
  18. package/dist/components/{dc-temp → DigitalColleagues}/Views/TeamsIndexView.d.ts +1 -1
  19. package/dist/components/DigitalColleagues/Views/index.d.ts +6 -0
  20. package/dist/components/{dc-temp → DigitalColleagues}/colleague-card.d.ts +1 -1
  21. package/dist/components/{dc-temp → DigitalColleagues}/colleague-form.d.ts +1 -1
  22. package/dist/components/{dc-temp → DigitalColleagues}/digital-colleague-clone.d.ts +1 -1
  23. package/dist/components/DigitalColleagues/test-data.d.ts +7 -1
  24. package/dist/components/DigitalColleagues/types.d.ts +40 -0
  25. package/dist/components/{dc-temp/hero-section.d.ts → Heros/DashboardHero/DashboardHero.d.ts} +1 -1
  26. package/dist/components/Heros/DashboardHero/index.d.ts +1 -0
  27. package/dist/components/Heros/index.d.ts +1 -0
  28. package/dist/components/{DigitalColleagues → Projects}/AddEpicModal.d.ts +1 -1
  29. package/dist/components/{DigitalColleagues → Projects}/AddSprintModal.d.ts +1 -1
  30. package/dist/components/{DigitalColleagues → Projects}/AddTaskModal.d.ts +2 -1
  31. package/dist/components/{DigitalColleagues → Projects}/EpicFilter.d.ts +1 -1
  32. package/dist/components/{DigitalColleagues → Projects}/EpicsView.d.ts +1 -1
  33. package/dist/components/{dc-temp/Views → Projects}/FileView.d.ts +1 -1
  34. package/dist/components/{dc-temp/Views/KanbanBoard.d.ts → Projects/KanbanBoardView.d.ts} +2 -2
  35. package/dist/components/{DigitalColleagues → Projects}/KanbanColumn.d.ts +1 -1
  36. package/dist/components/{DigitalColleagues → Projects}/PlanningView.d.ts +1 -1
  37. package/dist/components/{dc-temp/Pages → Projects}/ProjectPage.d.ts +2 -2
  38. package/dist/components/{dc-temp/Views → Projects}/ProjectView.d.ts +1 -1
  39. package/dist/components/{dc-temp/Views → Projects}/ProjectsIndexView.d.ts +1 -1
  40. package/dist/components/{DigitalColleagues → Projects}/TaskCard.d.ts +1 -1
  41. package/dist/components/{DigitalColleagues → Projects}/TaskSidebar.d.ts +1 -1
  42. package/dist/components/Projects/TasksView.d.ts +11 -0
  43. package/dist/components/Projects/business-unit-switcher.d.ts +9 -0
  44. package/dist/components/Projects/business-units.d.ts +4 -0
  45. package/dist/components/{dc-temp → Projects}/team-switcher-bar.d.ts +1 -1
  46. package/dist/components/Projects/test-data.d.ts +105 -0
  47. package/dist/components/dc-temp/index.d.ts +5 -5
  48. package/dist/components/dc-temp/mock-data.d.ts +1 -3
  49. package/dist/components/dc-temp/sidebar.d.ts +5 -3
  50. package/dist/index.js +14 -13
  51. package/dist/index.mjs +14 -13
  52. package/dist/metafile-cjs.json +1 -1
  53. package/dist/metafile-esm.json +1 -1
  54. package/dist/test-data/capabilities.d.ts +48 -0
  55. package/package.json +1 -1
  56. package/dist/components/DigitalColleagues/ChatInterface.d.ts +0 -6
  57. package/dist/components/DigitalColleagues/DocumentationView.d.ts +0 -2
  58. package/dist/components/DigitalColleagues/TasksView.d.ts +0 -36
  59. package/dist/components/dc-temp/AssistantInterface.d.ts +0 -1
  60. package/dist/components/dc-temp/Views/index.d.ts +0 -6
  61. package/dist/components/dc-temp/ai-assistants.d.ts +0 -2
  62. package/dist/components/dc-temp/ai-chat-interface.d.ts +0 -23
  63. package/dist/components/dc-temp/ai-chat.d.ts +0 -21
  64. package/dist/components/dc-temp/business-unit-switcher.d.ts +0 -8
  65. package/dist/components/dc-temp/business-units.d.ts +0 -13
  66. package/dist/components/dc-temp/creative-layout.d.ts +0 -19
  67. package/dist/components/dc-temp/document-sidebar.d.ts +0 -9
  68. package/dist/components/dc-temp/documents.d.ts +0 -27
  69. package/dist/components/dc-temp/landingpage.d.ts +0 -10
  70. package/dist/components/dc-temp/user-selection.d.ts +0 -21
  71. /package/dist/components/{dc-temp → .archive}/app-card.d.ts +0 -0
  72. /package/dist/components/{DigitalColleagues → AdvancedComponents}/CommentSection.d.ts +0 -0
  73. /package/dist/components/{DigitalColleagues → AdvancedComponents}/EditableField.d.ts +0 -0
  74. /package/dist/components/{dc-temp → AdvancedComponents}/theme-provider.d.ts +0 -0
  75. /package/dist/components/{dc-temp → AdvancedComponents}/theme-toggle.d.ts +0 -0
  76. /package/dist/components/{dc-temp → Chat}/capabilities-config.d.ts +0 -0
  77. /package/dist/components/{dc-temp → Chat}/capabilities-data.d.ts +0 -0
  78. /package/dist/components/{dc-temp → Chat}/capabilities.d.ts +0 -0
  79. /package/dist/components/{dc-temp → DigitalColleagues}/colleague-type-selection.d.ts +0 -0
  80. /package/dist/components/{dc-temp → DigitalColleagues}/digital-colleague-options.d.ts +0 -0
  81. /package/dist/components/{DigitalColleagues → Projects}/TaskDetailsModal.d.ts +0 -0
  82. /package/dist/components/{DigitalColleagues → Projects}/TaskSelect.d.ts +0 -0
  83. /package/dist/components/{DigitalColleagues → Projects}/TeamSwitcher.d.ts +0 -0
  84. /package/dist/components/{dc-temp → Projects}/file-list.d.ts +0 -0
  85. /package/dist/components/{dc-temp → Projects}/project-card.d.ts +0 -0
  86. /package/dist/components/{dc-temp → Projects}/project-form.d.ts +0 -0
  87. /package/dist/components/{dc-temp → Projects}/team-card.d.ts +0 -0
@@ -0,0 +1,70 @@
1
+ import type React from "react";
2
+ import type { BusinessUnit } from "../DigitalColleagues/types";
3
+ import type { Capability } from "../../test-data/capabilities";
4
+ export interface ChatMessage {
5
+ id: string;
6
+ content: string;
7
+ type: "user" | "ai";
8
+ timestamp: Date;
9
+ }
10
+ export interface EnhancedChatMessage extends ChatMessage {
11
+ role?: "user" | "assistant" | "system";
12
+ messageType?: "text" | "image" | "file" | "card" | "reference" | "menu" | "tool-invocation";
13
+ data?: any;
14
+ image?: {
15
+ url: string;
16
+ alt?: string;
17
+ width?: number;
18
+ height?: number;
19
+ };
20
+ file?: {
21
+ name: string;
22
+ size: number;
23
+ type: string;
24
+ url: string;
25
+ };
26
+ card?: {
27
+ title: string;
28
+ description?: string;
29
+ data: any;
30
+ variant?: 'task' | 'artefact' | 'customer' | 'opportunity' | 'campaign' | 'generic';
31
+ };
32
+ references?: Array<{
33
+ id: string;
34
+ title: string;
35
+ url?: string;
36
+ description?: string;
37
+ type?: 'document' | 'link' | 'internal';
38
+ }>;
39
+ menu?: {
40
+ title: string;
41
+ items: Array<{
42
+ id: string;
43
+ label: string;
44
+ description?: string;
45
+ value: any;
46
+ action?: () => void;
47
+ }>;
48
+ };
49
+ }
50
+ interface AIChatInterfaceProps {
51
+ messages: (ChatMessage | EnhancedChatMessage)[];
52
+ input: string;
53
+ isTyping?: boolean;
54
+ selectedTeam?: BusinessUnit;
55
+ currentSessionTitle?: string;
56
+ capabilities: Capability[];
57
+ showCapabilities?: boolean;
58
+ onInputChange: (value: string) => void;
59
+ onSendMessage: () => void;
60
+ onKeyPress?: (e: React.KeyboardEvent) => void;
61
+ fileUploads?: any[];
62
+ isDragOver?: boolean;
63
+ enableFileUpload?: boolean;
64
+ onFileUpload?: (files: FileList | null) => void;
65
+ onRemoveFile?: (id: string) => void;
66
+ onDragOver?: (isDragOver: boolean) => void;
67
+ className?: string;
68
+ }
69
+ export declare function AIChatInterface({ messages, input, isTyping, selectedTeam, currentSessionTitle, capabilities, showCapabilities, onInputChange, onSendMessage, onKeyPress, fileUploads, isDragOver, enableFileUpload, onFileUpload, onRemoveFile, onDragOver, className, }: AIChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
70
+ export {};
@@ -1,4 +1,4 @@
1
- import { type TabOption } from "../AdvancedComponents/navigation-tabs";
1
+ import { type TabOption } from "./navigation-tabs";
2
2
  import type { Notification } from "./notifications-panel";
3
3
  interface AppHeaderProps {
4
4
  title: string;
@@ -11,6 +11,14 @@ interface AppHeaderProps {
11
11
  onTabChange?: (tab: string) => void;
12
12
  showTabs?: boolean;
13
13
  tabOptions?: TabOption[];
14
+ onActionClick?: () => void;
15
+ actionIcon?: React.ReactNode;
16
+ actionText?: string;
17
+ onNotificationRemove?: (id: string) => void;
18
+ onRemoveAll?: () => void;
19
+ logo?: string;
20
+ appName?: string;
21
+ tagline?: string;
14
22
  }
15
- export declare function AppHeader({ title, notifications, onToggleSidebar, onToggleMobileMenu, sidebarOpen, className, activeTab, onTabChange, showTabs, tabOptions, }: AppHeaderProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function AppHeader({ title, notifications, onToggleSidebar, onToggleMobileMenu, sidebarOpen, className, activeTab, onTabChange, showTabs, tabOptions, onActionClick, actionIcon, actionText, onNotificationRemove, onRemoveAll, logo, appName, tagline, }: AppHeaderProps): import("react/jsx-runtime").JSX.Element;
16
24
  export {};
@@ -1 +1,4 @@
1
1
  export * from './navigation-tabs';
2
+ export * from './switch';
3
+ export * from './CommentSection';
4
+ export * from './EditableField';
@@ -12,9 +12,9 @@ interface NotificationsPanelProps {
12
12
  notifications: Notification[];
13
13
  open: boolean;
14
14
  onClose: () => void;
15
- onMarkAllAsRead: () => void;
16
- onClearAll: () => void;
15
+ onNotificationRemove?: (id: string) => void;
16
+ onRemoveAll?: () => void;
17
17
  className?: string;
18
18
  }
19
- export declare function NotificationsPanel({ notifications, open, onClose, onMarkAllAsRead, onClearAll, className, }: NotificationsPanelProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function NotificationsPanel({ notifications, open, onClose, onNotificationRemove, onRemoveAll, className, }: NotificationsPanelProps): import("react/jsx-runtime").JSX.Element;
20
20
  export {};
@@ -0,0 +1,16 @@
1
+ import type { BusinessUnit, SidebarItem } from "../DigitalColleagues/types";
2
+ interface SidebarProps {
3
+ items: SidebarItem[];
4
+ isOpen: boolean;
5
+ isMobile?: boolean;
6
+ onClose?: () => void;
7
+ currentBusinessUnit?: BusinessUnit;
8
+ onBusinessUnitChange?: (unit: BusinessUnit) => void;
9
+ className?: string;
10
+ logo?: string;
11
+ appName?: string;
12
+ tagline?: string;
13
+ }
14
+ export declare function Sidebar({ items, isOpen, isMobile, onClose, currentBusinessUnit, // Default to Design unit
15
+ onBusinessUnitChange, className, logo, appName, tagline, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,9 @@
1
+ import { type User as UserType } from "../DigitalColleagues/types";
2
+ interface UserSelectionProps {
3
+ users: UserType[];
4
+ onUserSelect: (user: UserType) => void;
5
+ onCancel: () => void;
6
+ selectedUserId?: string;
7
+ }
8
+ export declare function UserSelection({ users, onUserSelect, onCancel, selectedUserId, }: UserSelectionProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,96 @@
1
+ import { type ChatSession } from "./chat-session-sidebar";
2
+ import type { BusinessUnit } from "../DigitalColleagues/types";
3
+ export interface BaseMessage {
4
+ id: string;
5
+ role: 'user' | 'assistant' | 'system';
6
+ timestamp: Date;
7
+ }
8
+ export interface TextMessage extends BaseMessage {
9
+ type: 'text';
10
+ content: string;
11
+ }
12
+ export interface ImageMessage extends BaseMessage {
13
+ type: 'image';
14
+ content: string;
15
+ image: {
16
+ url: string;
17
+ alt?: string;
18
+ width?: number;
19
+ height?: number;
20
+ };
21
+ }
22
+ export interface FileMessage extends BaseMessage {
23
+ type: 'file';
24
+ content: string;
25
+ file: {
26
+ name: string;
27
+ size: number;
28
+ type: string;
29
+ url: string;
30
+ };
31
+ }
32
+ export interface ToolMessage extends BaseMessage {
33
+ type: 'tool-invocation';
34
+ content: string;
35
+ tool: {
36
+ name: string;
37
+ data: any;
38
+ };
39
+ }
40
+ export interface CardMessage extends BaseMessage {
41
+ type: 'card';
42
+ content: string;
43
+ card: {
44
+ title: string;
45
+ description?: string;
46
+ data: any;
47
+ variant?: 'task' | 'artefact' | 'customer' | 'opportunity' | 'campaign' | 'generic';
48
+ };
49
+ }
50
+ export interface ReferenceMessage extends BaseMessage {
51
+ type: 'reference';
52
+ content: string;
53
+ references: Array<{
54
+ id: string;
55
+ title: string;
56
+ url?: string;
57
+ description?: string;
58
+ type?: 'document' | 'link' | 'internal';
59
+ }>;
60
+ }
61
+ export interface MenuMessage extends BaseMessage {
62
+ type: 'menu';
63
+ content: string;
64
+ menu: {
65
+ title: string;
66
+ items: Array<{
67
+ id: string;
68
+ label: string;
69
+ description?: string;
70
+ value: any;
71
+ action?: () => void;
72
+ }>;
73
+ };
74
+ }
75
+ export type EnhancedMessage = TextMessage | ImageMessage | FileMessage | ToolMessage | CardMessage | ReferenceMessage | MenuMessage;
76
+ export interface FileUpload {
77
+ id: string;
78
+ file: File;
79
+ preview?: string;
80
+ status: 'pending' | 'uploading' | 'uploaded' | 'error';
81
+ progress?: number;
82
+ }
83
+ interface CopilotInterfaceProps {
84
+ initialTeam?: string;
85
+ initialMessages?: EnhancedMessage[];
86
+ initialSessions?: ChatSession[];
87
+ showCapabilities?: boolean;
88
+ title?: string;
89
+ businessUnits?: BusinessUnit[];
90
+ enableFileUpload?: boolean;
91
+ maxFileSize?: number;
92
+ allowedFileTypes?: string[];
93
+ }
94
+ export default function CopilotInterface({ initialTeam, initialMessages, initialSessions, showCapabilities, title, businessUnits: businessUnitsProp, enableFileUpload, maxFileSize, // 10MB default
95
+ allowedFileTypes, }?: CopilotInterfaceProps): import("react/jsx-runtime").JSX.Element;
96
+ export {};
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import type { BusinessUnit } from "../DigitalColleagues/types";
3
+ import type { Capability } from "../../test-data/capabilities";
4
+ import type { EnhancedMessage, FileUpload } from "./CopilotInterface";
5
+ interface EnhancedChatInterfaceProps {
6
+ messages: EnhancedMessage[];
7
+ input: string;
8
+ isTyping?: boolean;
9
+ selectedTeam?: BusinessUnit;
10
+ currentSessionTitle?: string;
11
+ capabilities: Capability[];
12
+ fileUploads: FileUpload[];
13
+ isDragOver: boolean;
14
+ enableFileUpload: boolean;
15
+ onInputChange: (value: string) => void;
16
+ onSendMessage: () => void;
17
+ onKeyPress?: (e: React.KeyboardEvent) => void;
18
+ onFileUpload: (files: FileList | null) => void;
19
+ onRemoveFile: (id: string) => void;
20
+ onDragOver: (isDragOver: boolean) => void;
21
+ className?: string;
22
+ }
23
+ export declare function EnhancedChatInterface({ messages, input, isTyping, selectedTeam, currentSessionTitle, capabilities, fileUploads, isDragOver, enableFileUpload, onInputChange, onSendMessage, onKeyPress, onFileUpload, onRemoveFile, onDragOver, className, }: EnhancedChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1,70 @@
1
+ import type React from "react";
2
+ import type { BusinessUnit } from "../DigitalColleagues/types";
3
+ import type { Capability } from "../../test-data/capabilities";
4
+ export interface ChatMessage {
5
+ id: string;
6
+ content: string;
7
+ type: "user" | "ai";
8
+ timestamp: Date;
9
+ }
10
+ export interface EnhancedChatMessage extends ChatMessage {
11
+ role?: "user" | "assistant" | "system";
12
+ messageType?: "text" | "image" | "file" | "card" | "reference" | "menu" | "tool-invocation";
13
+ data?: any;
14
+ image?: {
15
+ url: string;
16
+ alt?: string;
17
+ width?: number;
18
+ height?: number;
19
+ };
20
+ file?: {
21
+ name: string;
22
+ size: number;
23
+ type: string;
24
+ url: string;
25
+ };
26
+ card?: {
27
+ title: string;
28
+ description?: string;
29
+ data: any;
30
+ variant?: 'task' | 'artefact' | 'customer' | 'opportunity' | 'campaign' | 'generic';
31
+ };
32
+ references?: Array<{
33
+ id: string;
34
+ title: string;
35
+ url?: string;
36
+ description?: string;
37
+ type?: 'document' | 'link' | 'internal';
38
+ }>;
39
+ menu?: {
40
+ title: string;
41
+ items: Array<{
42
+ id: string;
43
+ label: string;
44
+ description?: string;
45
+ value: any;
46
+ action?: () => void;
47
+ }>;
48
+ };
49
+ }
50
+ interface AIChatInterfaceProps {
51
+ messages: (ChatMessage | EnhancedChatMessage)[];
52
+ input: string;
53
+ isTyping?: boolean;
54
+ selectedTeam?: BusinessUnit;
55
+ currentSessionTitle?: string;
56
+ capabilities: Capability[];
57
+ showCapabilities?: boolean;
58
+ onInputChange: (value: string) => void;
59
+ onSendMessage: () => void;
60
+ onKeyPress?: (e: React.KeyboardEvent) => void;
61
+ fileUploads?: any[];
62
+ isDragOver?: boolean;
63
+ enableFileUpload?: boolean;
64
+ onFileUpload?: (files: FileList | null) => void;
65
+ onRemoveFile?: (id: string) => void;
66
+ onDragOver?: (isDragOver: boolean) => void;
67
+ className?: string;
68
+ }
69
+ export declare function AIChatInterface({ messages, input, isTyping, selectedTeam, currentSessionTitle, capabilities, showCapabilities, onInputChange, onSendMessage, onKeyPress, fileUploads, isDragOver, enableFileUpload, onFileUpload, onRemoveFile, onDragOver, className, }: AIChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
70
+ export {};
@@ -1,4 +1,5 @@
1
- import type { Capability, CapabilityContext, CapabilityColorScheme } from "./capabilities";
1
+ import type { Capability, CapabilityContext } from "../../test-data/capabilities";
2
+ import type { CapabilityColorScheme } from "../../test-data/capabilities";
2
3
  interface CapabilityMenuProps {
3
4
  capabilities: Capability[];
4
5
  isOpen: boolean;
@@ -1,4 +1,4 @@
1
- import type { BusinessUnit } from "./business-units";
1
+ import type { BusinessUnit } from "../DigitalColleagues/types";
2
2
  export interface ChatSession {
3
3
  id: string;
4
4
  title: string;
@@ -1,3 +1,7 @@
1
1
  export * from "./ChatMessage";
2
2
  export * from "./ChatInterfaceMessages";
3
3
  export * from "./ChatCardTask";
4
+ export * from "../../test-data/capabilities";
5
+ export * from "./ChatCardArtefact";
6
+ export * from "./CopilotInterface";
7
+ export * from "./capability-menu";
@@ -0,0 +1,26 @@
1
+ import type React from "react";
2
+ import type { SidebarItem, BusinessUnit } from "./types";
3
+ import type { Notification } from "../AdvancedComponents/notifications-panel";
4
+ interface DigitalColleageusLayoutProps {
5
+ sidebarItems: SidebarItem[];
6
+ children: React.ReactNode;
7
+ title?: string;
8
+ notifications?: Notification[];
9
+ currentBusinessUnit?: BusinessUnit;
10
+ onBusinessUnitChange?: (unit: BusinessUnit) => void;
11
+ businessUnits?: BusinessUnit[];
12
+ activeTab?: string;
13
+ onTabChange?: (tab: string) => void;
14
+ showTabs?: boolean;
15
+ onActionClick?: () => void;
16
+ actionIcon?: React.ReactNode;
17
+ actionText?: string;
18
+ onNotificationRemove?: (id: string) => void;
19
+ onRemoveAll?: () => void;
20
+ logo?: string;
21
+ appName?: string;
22
+ tagline?: string;
23
+ }
24
+ export declare function DigitalColleageusLayout({ sidebarItems, children, title, notifications, currentBusinessUnit, // Default to Design unit
25
+ onBusinessUnitChange, businessUnits: businessUnitsProp, activeTab, onTabChange, showTabs, onActionClick, actionIcon, actionText, onNotificationRemove, onRemoveAll, logo, appName, tagline, }: DigitalColleageusLayoutProps): import("react/jsx-runtime").JSX.Element;
26
+ export {};
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Epic, Sprint, Project } from '../dc-temp/Views/ProjectView';
2
+ import { Epic, Sprint, Project } from '../Projects/ProjectView';
3
3
  interface ManagementSidebarProps {
4
4
  projects: Project[];
5
5
  epics: Epic[];
@@ -1,4 +1,4 @@
1
- import { type BusinessUnit } from "../business-units";
1
+ import { type BusinessUnit } from "../types";
2
2
  interface HomeProps {
3
3
  title?: string;
4
4
  businessUnits: BusinessUnit[];
@@ -1,5 +1,4 @@
1
- import { type User as UserType } from "./../user-selection";
2
- import { type Colleague, type DigitalColleague } from "../../DigitalColleagues/types";
1
+ import { type Colleague, type DigitalColleague, type User as UserType } from "../types";
3
2
  interface ColleaguesViewProps {
4
3
  initialColleagues?: Colleague[];
5
4
  onColleagueAdd?: (colleague: Colleague) => void;
@@ -1,4 +1,4 @@
1
- import type { KnowledgeDocument, KnowledgeContext } from "../../DigitalColleagues/types";
1
+ import type { KnowledgeDocument, KnowledgeContext } from "../types";
2
2
  interface KnowledgeViewProps {
3
3
  documents?: KnowledgeDocument[];
4
4
  contexts?: KnowledgeContext[];
@@ -1,4 +1,4 @@
1
- import { type TeamSummary } from "../../DigitalColleagues/types";
1
+ import { type TeamSummary } from "../types";
2
2
  interface TeamsIndexViewProps {
3
3
  teams?: TeamSummary[];
4
4
  onCreateTeam?: () => void;
@@ -0,0 +1,6 @@
1
+ export { default as ColleaguesView } from './ColleaguesView';
2
+ export { default as FileView } from '../../Projects/FileView';
3
+ export { default as KnowledgeView } from './KnowledgeView';
4
+ export { default as ProjectView } from '../../Projects/ProjectView';
5
+ export { default as ProjectsIndexView } from '../../Projects/ProjectsIndexView';
6
+ export { default as TeamsIndexView } from './TeamsIndexView';
@@ -1,4 +1,4 @@
1
- import type { Colleague } from "../DigitalColleagues/types";
1
+ import type { Colleague } from "./types";
2
2
  interface ColleagueCardProps {
3
3
  colleague: Colleague;
4
4
  onEdit?: (colleague: Colleague) => void;
@@ -1,4 +1,4 @@
1
- import type { DigitalColleague, KnowledgeDocument } from "../DigitalColleagues/types";
1
+ import type { DigitalColleague, KnowledgeDocument } from "./types";
2
2
  interface ColleagueFormProps {
3
3
  colleague?: DigitalColleague;
4
4
  onSave: (colleague: DigitalColleague) => void;
@@ -1,4 +1,4 @@
1
- import { type DigitalColleague } from "../DigitalColleagues/types";
1
+ import { type DigitalColleague } from "./types";
2
2
  interface DigitalColleagueCloneProps {
3
3
  digitalColleagues: DigitalColleague[];
4
4
  onColleagueClone: (colleague: DigitalColleague) => void;
@@ -1,5 +1,8 @@
1
1
  import { Project, Epic, Sprint, Task } from './types';
2
- import { ProjectSummary, TeamSummary, Colleague } from './types';
2
+ import { ProjectSummary, TeamSummary, Colleague, BusinessUnit, Reminder, RecentFile, DigitalColleague, SidebarItem, Notification } from './types';
3
+ export declare const mockSidebarItems: SidebarItem[];
4
+ export declare const mockNotifications: Notification[];
5
+ export declare const businessUnits: BusinessUnit[];
3
6
  export declare const mockProjects: Project[];
4
7
  export declare const mockProjectSummary: ProjectSummary[];
5
8
  export declare const mockTeamSummary: TeamSummary[];
@@ -104,3 +107,6 @@ export declare const testScenarios: {
104
107
  };
105
108
  };
106
109
  export declare const mockColleagues: Colleague[];
110
+ export declare const mockReminders: Reminder[];
111
+ export declare const mockFiles: RecentFile[];
112
+ export declare const mockDigitalColleagues: DigitalColleague[];
@@ -1,4 +1,44 @@
1
1
  import type React from "react";
2
+ export interface User {
3
+ id: string;
4
+ name: string;
5
+ email: string;
6
+ role: string;
7
+ department: string;
8
+ avatar?: string;
9
+ skills?: string[];
10
+ location?: string;
11
+ phone?: string;
12
+ timezone?: string;
13
+ bio?: string;
14
+ }
15
+ export interface Reminder {
16
+ id: string;
17
+ title: string;
18
+ description: string;
19
+ dueDate: Date;
20
+ dueTime?: string;
21
+ colleague: DigitalColleague;
22
+ isCompleted: boolean;
23
+ isRecurring: boolean;
24
+ recurrencePattern?: 'daily' | 'weekly' | 'monthly' | 'yearly';
25
+ recurrenceInterval?: number;
26
+ recurrenceEndDate?: Date;
27
+ priority: 'low' | 'medium' | 'high';
28
+ reminderEnabled: boolean;
29
+ reminderMinutes?: number;
30
+ createdAt: Date;
31
+ completedAt?: Date;
32
+ tags?: string[];
33
+ }
34
+ export interface BusinessUnit {
35
+ id: string;
36
+ name: string;
37
+ description: string;
38
+ icon: React.ReactNode;
39
+ color: string;
40
+ accentColor: string;
41
+ }
2
42
  export interface Project {
3
43
  id: string;
4
44
  name: string;
@@ -15,5 +15,5 @@ interface HeroSectionProps {
15
15
  children?: React.ReactNode;
16
16
  className?: string;
17
17
  }
18
- export declare function HeroSection({ title, description, badge, primaryAction, secondaryAction, gradient, children, className, }: HeroSectionProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function DashboardHero({ title, description, badge, primaryAction, secondaryAction, gradient, children, className, }: HeroSectionProps): import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -0,0 +1 @@
1
+ export * from "./DashboardHero";
@@ -4,3 +4,4 @@ export * from "./LowImpact";
4
4
  export * from "./PostHero";
5
5
  export * from "./RenderHero";
6
6
  export * from "./SectionHero";
7
+ export * from "./DashboardHero";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Epic } from './types';
2
+ import { Epic } from '../DigitalColleagues/types';
3
3
  interface AddEpicModalProps {
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Sprint } from './types';
2
+ import { Sprint } from '../DigitalColleagues/types';
3
3
  interface AddSprintModalProps {
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
- import { Task, Epic, Sprint } from './types';
2
+ import { Task, Epic, Sprint } from '../DigitalColleagues/types';
3
3
  interface AddTaskModalProps {
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
6
6
  onAddTask: (task: Omit<Task, 'id' | 'createdAt'>) => void;
7
7
  epics: Epic[];
8
8
  sprints: Sprint[];
9
+ defaultEpicId?: string;
9
10
  }
10
11
  export declare const AddTaskModal: React.FC<AddTaskModalProps>;
11
12
  export {};
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Epic } from './types';
2
+ import { Epic } from '../DigitalColleagues/types';
3
3
  interface EpicFilterProps {
4
4
  epics: Epic[];
5
5
  selectedEpics: string[];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Task, Epic, Sprint } from '../dc-temp/Views/ProjectView';
2
+ import { Task, Epic, Sprint } from './ProjectView';
3
3
  interface EpicsViewProps {
4
4
  tasks: Task[];
5
5
  epics: Epic[];
@@ -1,4 +1,4 @@
1
- import { type RecentFile } from "../../DigitalColleagues/types";
1
+ import { type RecentFile } from "../DigitalColleagues/types";
2
2
  interface FileViewProps {
3
3
  initialFiles?: RecentFile[];
4
4
  onFileAdd?: (file: RecentFile) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Project, Epic, Sprint, Task } from '../../DigitalColleagues/types';
2
+ import { Project, Epic, Sprint, Task } from '../DigitalColleagues/types';
3
3
  export interface KanbanBoardProps {
4
4
  initialTasks?: Task[];
5
5
  initialEpics?: Epic[];
@@ -11,4 +11,4 @@ export interface KanbanBoardProps {
11
11
  onTaskClick?: (task: Task) => void;
12
12
  onAddEpic?: (newEpic: Omit<Epic, 'id'>) => void;
13
13
  }
14
- export declare const KanbanBoard: React.FC<KanbanBoardProps>;
14
+ export declare const KanbanBoardView: React.FC<KanbanBoardProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Task } from './types';
2
+ import { Task } from '../DigitalColleagues/types';
3
3
  interface KanbanColumnProps {
4
4
  title: string;
5
5
  status: Task['status'];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Task, Epic, Sprint } from './types';
2
+ import { Task, Epic, Sprint } from '../DigitalColleagues/types';
3
3
  interface PlanningViewProps {
4
4
  tasks: Task[];
5
5
  epics: Epic[];
@@ -1,5 +1,5 @@
1
- import { type BusinessUnit } from "../business-units";
2
- import type { Epic, Sprint, Project, Task } from "@/components/dc-temp/Views/ProjectView";
1
+ import { type BusinessUnit } from "../DigitalColleagues/types";
2
+ import type { Epic, Sprint, Project, Task } from "@/components/Projects/ProjectView";
3
3
  interface HomeProps {
4
4
  title?: string;
5
5
  businessUnits: BusinessUnit[];
@@ -1,4 +1,4 @@
1
- import type { Reminder, DigitalColleague } from "@/components/DigitalColleagues/TasksView";
1
+ import type { Reminder, DigitalColleague } from "../DigitalColleagues/types";
2
2
  import type { RecentFile } from "@/components/DigitalColleagues/types";
3
3
  export interface Project {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import type { ProjectSummary, ProjectFormData } from "../../DigitalColleagues/types";
1
+ import type { ProjectSummary, ProjectFormData } from "../DigitalColleagues/types";
2
2
  interface HomeProps {
3
3
  projects?: ProjectSummary[];
4
4
  onAddProject: (project: ProjectFormData) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Task, Epic } from './types';
2
+ import { Task, Epic } from '../DigitalColleagues/types';
3
3
  interface TaskCardProps {
4
4
  task: Task;
5
5
  epic: Epic;