Skip to content

Commit 1fd31c5

Browse files
author
Factory Bot
committed
fix: correct import casing for Cortex components
1 parent dd5628b commit 1fd31c5

File tree

8 files changed

+50
-50
lines changed

8 files changed

+50
-50
lines changed

cortex-gui/src/components/cortex/CortexDesktopLayout.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ import { open as openDialog } from "@tauri-apps/plugin-dialog";
2323
import { invoke } from "@tauri-apps/api/core";
2424

2525
// Figma Components
26-
import CortexTitleBar from "./cortexTitleBar";
27-
import CortexActivityBar from "./cortexActivityBar";
28-
import CortexChatPanel, { ChatPanelState, ChatMessage } from "./cortexChatPanel";
29-
import { CortexAgentSidebar, Agent } from "./cortexAgentSidebar";
30-
import { CortexChangesPanel, FileChange } from "./cortexChangesPanel";
31-
import { CortexConversationView, Message } from "./cortexConversationView";
26+
import CortexTitleBar from "./CortexTitleBar";
27+
import CortexActivityBar from "./CortexActivityBar";
28+
import CortexChatPanel, { ChatPanelState, ChatMessage } from "./CortexChatPanel";
29+
import { CortexAgentSidebar, Agent } from "./CortexAgentSidebar";
30+
import { CortexChangesPanel, FileChange } from "./CortexChangesPanel";
31+
import { CortexConversationView, Message } from "./CortexConversationView";
3232

3333
// Existing Contexts
3434
import { useEditor } from "@/context/EditorContext";
3535
import { useSDK } from "@/context/SDKContext";
3636

37-
// Figma-styled sidebar panels
38-
import { CortexGitPanel } from "./cortexGitPanel";
39-
import { CortexSearchPanel } from "./cortexSearchPanel";
40-
import { CortexDebugPanel } from "./cortexDebugPanel";
41-
import { CortexExtensionsPanel } from "./cortexExtensionsPanel";
37+
// Cortex-styled sidebar panels
38+
import { CortexGitPanel } from "./CortexGitPanel";
39+
import { CortexSearchPanel } from "./CortexSearchPanel";
40+
import { CortexDebugPanel } from "./CortexDebugPanel";
41+
import { CortexExtensionsPanel } from "./CortexExtensionsPanel";
4242

4343
// Lazy load heavy panels
4444
const AgentPanel = lazy(() => import("@/components/ai/AgentPanel").then(m => ({ default: m.AgentPanel })));

cortex-gui/src/components/cortex/CortexLayout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
*/
2727

2828
import { Component, JSX, splitProps, Show } from "solid-js";
29-
import CortexTitleBar from "./cortexTitleBar";
30-
import CortexActivityBar from "./cortexActivityBar";
31-
import CortexFileExplorer from "./cortexFileExplorer";
32-
import CortexCodeEditor from "./cortexCodeEditor";
33-
import CortexChatPanel, { ChatPanelState, ChatMessage } from "./cortexChatPanel";
29+
import CortexTitleBar from "./CortexTitleBar";
30+
import CortexActivityBar from "./CortexActivityBar";
31+
import CortexFileExplorer from "./CortexFileExplorer";
32+
import CortexCodeEditor from "./CortexCodeEditor";
33+
import CortexChatPanel, { ChatPanelState, ChatMessage } from "./CortexChatPanel";
3434
// CortexStatusBar removed
3535
import { TreeItemData } from "./primitives";
3636

cortex-gui/src/components/cortex/index.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,39 @@
99
*/
1010

1111
// Main Layout
12-
export { CortexLayout, default as CortexLayoutDefault } from "./cortexLayout";
13-
export type { CortexLayoutProps } from "./cortexLayout";
12+
export { CortexLayout, default as CortexLayoutDefault } from "./CortexLayout";
13+
export type { CortexLayoutProps } from "./CortexLayout";
1414

1515
// Desktop Layout (production - connected to contexts)
16-
export { CortexDesktopLayout, default as CortexDesktopLayoutDefault } from "./cortexDesktopLayout";
16+
export { CortexDesktopLayout, default as CortexDesktopLayoutDefault } from "./CortexDesktopLayout";
1717

1818
// Core Components
19-
export { CortexTitleBar, default as CortexTitleBarDefault } from "./cortexTitleBar";
20-
export type { CortexTitleBarProps } from "./cortexTitleBar";
19+
export { CortexTitleBar, default as CortexTitleBarDefault } from "./CortexTitleBar";
20+
export type { CortexTitleBarProps } from "./CortexTitleBar";
2121

22-
export { CortexActivityBar, default as CortexActivityBarDefault } from "./cortexActivityBar";
23-
export type { CortexActivityBarProps, ActivityBarItem } from "./cortexActivityBar";
22+
export { CortexActivityBar, default as CortexActivityBarDefault } from "./CortexActivityBar";
23+
export type { CortexActivityBarProps, ActivityBarItem } from "./CortexActivityBar";
2424

25-
export { CortexFileExplorer, default as CortexFileExplorerDefault } from "./cortexFileExplorer";
26-
export type { CortexFileExplorerProps } from "./cortexFileExplorer";
25+
export { CortexFileExplorer, default as CortexFileExplorerDefault } from "./CortexFileExplorer";
26+
export type { CortexFileExplorerProps } from "./CortexFileExplorer";
2727

28-
export { CortexCodeEditor, default as CortexCodeEditorDefault } from "./cortexCodeEditor";
29-
export type { CortexCodeEditorProps, EditorTab } from "./cortexCodeEditor";
28+
export { CortexCodeEditor, default as CortexCodeEditorDefault } from "./CortexCodeEditor";
29+
export type { CortexCodeEditorProps, EditorTab } from "./CortexCodeEditor";
3030

31-
export { CortexEditorTabs, default as CortexEditorTabsDefault } from "./cortexEditorTabs";
32-
export type { CortexEditorTabsProps, EditorTab as CortexEditorTab } from "./cortexEditorTabs";
31+
export { CortexEditorTabs, default as CortexEditorTabsDefault } from "./CortexEditorTabs";
32+
export type { CortexEditorTabsProps, EditorTab as CortexEditorTab } from "./CortexEditorTabs";
3333

34-
export { CortexChatPanel, default as CortexChatPanelDefault } from "./cortexChatPanel";
34+
export { CortexChatPanel, default as CortexChatPanelDefault } from "./CortexChatPanel";
3535
export type {
3636
CortexChatPanelProps,
3737
ChatPanelState,
3838
ChatMessage,
3939
ChatAction,
4040
ChatProgress,
41-
} from "./cortexChatPanel";
41+
} from "./CortexChatPanel";
4242

43-
export { CortexStatusBar, default as CortexStatusBarDefault } from "./cortexStatusBar";
44-
export type { CortexStatusBarProps, StatusBarItem } from "./cortexStatusBar";
43+
export { CortexStatusBar, default as CortexStatusBarDefault } from "./CortexStatusBar";
44+
export type { CortexStatusBarProps, StatusBarItem } from "./CortexStatusBar";
4545

4646
// Primitives
4747
export {

cortex-gui/src/components/cortex/primitives/CortexButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { Component, JSX, splitProps, Show } from "solid-js";
7-
import { CortexIcon } from "./cortexIcon";
7+
import { CortexIcon } from "./CortexIcon";
88

99
export type CortexButtonVariant = "primary" | "secondary" | "ghost" | "danger";
1010
export type CortexButtonSize = "xs" | "sm" | "md" | "lg";

cortex-gui/src/components/cortex/primitives/CortexInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { Component, JSX, splitProps, createSignal, Show } from "solid-js";
7-
import { CortexIcon } from "./cortexIcon";
7+
import { CortexIcon } from "./CortexIcon";
88

99
export interface CortexInputProps {
1010
value?: string;

cortex-gui/src/components/cortex/primitives/CortexToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { Component, JSX, splitProps } from "solid-js";
7-
import { CortexIcon } from "./cortexIcon";
7+
import { CortexIcon } from "./CortexIcon";
88

99
export interface CortexToggleProps {
1010
checked?: boolean;

cortex-gui/src/components/cortex/primitives/CortexTreeItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { Component, JSX, splitProps, createSignal, Show, For } from "solid-js";
7-
import { CortexIcon } from "./cortexIcon";
7+
import { CortexIcon } from "./CortexIcon";
88

99
export interface TreeItemData {
1010
id: string;
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
/**
2-
* Figma Primitives - Base components for the Cortex UI Design System
2+
* Cortex Primitives - Base components for the Cortex UI Design System
33
*/
44

5-
export { CortexIcon, CORTEX_ICON_SIZES } from "./cortexIcon";
6-
export type { CortexIconProps, CortexIconSize } from "./cortexIcon";
5+
export { CortexIcon, CORTEX_ICON_SIZES } from "./CortexIcon";
6+
export type { CortexIconProps, CortexIconSize } from "./CortexIcon";
77

8-
export { CortexButton } from "./cortexButton";
9-
export type { CortexButtonProps, CortexButtonVariant, CortexButtonSize } from "./cortexButton";
8+
export { CortexButton } from "./CortexButton";
9+
export type { CortexButtonProps, CortexButtonVariant, CortexButtonSize } from "./CortexButton";
1010

11-
export { CortexToggle, CortexThemeToggle, CortexModeToggle } from "./cortexToggle";
12-
export type { CortexToggleProps, CortexThemeToggleProps, CortexModeToggleProps } from "./cortexToggle";
11+
export { CortexToggle, CortexThemeToggle, CortexModeToggle } from "./CortexToggle";
12+
export type { CortexToggleProps, CortexThemeToggleProps, CortexModeToggleProps } from "./CortexToggle";
1313

14-
export { CortexInput, CortexPromptInput } from "./cortexInput";
15-
export type { CortexInputProps, CortexPromptInputProps } from "./cortexInput";
14+
export { CortexInput, CortexPromptInput } from "./CortexInput";
15+
export type { CortexInputProps, CortexPromptInputProps } from "./CortexInput";
1616

17-
export { CortexTooltip } from "./cortexTooltip";
18-
export type { CortexTooltipProps, CortexTooltipPosition } from "./cortexTooltip";
17+
export { CortexTooltip } from "./CortexTooltip";
18+
export type { CortexTooltipProps, CortexTooltipPosition } from "./CortexTooltip";
1919

20-
export { CortexTreeItem, IndentGuide } from "./cortexTreeItem";
21-
export type { CortexTreeItemProps, TreeItemData, IndentGuideProps } from "./cortexTreeItem";
20+
export { CortexTreeItem, IndentGuide } from "./CortexTreeItem";
21+
export type { CortexTreeItemProps, TreeItemData, IndentGuideProps } from "./CortexTreeItem";
2222

2323

0 commit comments

Comments
 (0)