@industry-theme/alexandria-panels 0.1.5 → 0.1.7

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.
@@ -3,7 +3,7 @@
3
3
  try {
4
4
  if (typeof document != "undefined") {
5
5
  var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode("/* Container query for responsive LocalProjectCard */\n.local-projects-panel {\n container-type: inline-size;\n container-name: local-projects;\n height: 100%;\n}\n\n.local-project-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 12px;\n}\n\n.local-project-card__content {\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n min-width: 0;\n}\n\n.local-project-card__info {\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.local-project-card__meta {\n display: flex;\n}\n\n.local-project-card__actions {\n display: flex;\n gap: 4px;\n flex-shrink: 0;\n align-items: center;\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n\n.local-project-card:hover .local-project-card__actions {\n opacity: 1;\n}\n\n.local-project-card__actions--stacked {\n display: none;\n}\n\n/* Compact mode when container is 400px or less */\n@container local-projects (max-width: 400px) {\n .local-projects-panel {\n padding: 8px !important;\n gap: 8px !important;\n }\n\n .local-projects-list {\n gap: 12px !important;\n }\n\n .local-project-card {\n flex-direction: column;\n align-items: stretch;\n gap: 6px;\n padding: 0 !important;\n }\n\n .local-project-card__content {\n gap: 8px;\n }\n\n .local-project-card__meta {\n display: none;\n }\n\n .local-project-card__actions {\n display: none;\n }\n\n .local-project-card__actions--stacked {\n display: flex;\n gap: 4px;\n }\n\n .local-project-card__actions--stacked button {\n flex: 1;\n }\n}"));
6
+ elementStyle.appendChild(document.createTextNode("/* Container query for responsive LocalProjectCard */\n.local-projects-panel {\n container-type: inline-size;\n container-name: local-projects;\n height: 100%;\n}\n\n/* Compact mode when container is 400px or less */\n@container local-projects (max-width: 400px) {\n .local-projects-panel {\n padding: 8px !important;\n gap: 8px !important;\n }\n\n .local-projects-list {\n gap: 8px !important;\n }\n\n .local-project-card {\n padding: 8px !important;\n }\n}"));
7
7
  document.head.appendChild(elementStyle);
8
8
  }
9
9
  } catch (e) {
@@ -11,159 +11,7 @@
11
11
  }
12
12
  })();
13
13
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
14
- import React2, { createContext, useState, useEffect, useContext, forwardRef, createElement, useMemo, useCallback } from "react";
15
- var terminalTheme = {
16
- space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
17
- fonts: {
18
- body: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace',
19
- heading: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace',
20
- monospace: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace'
21
- },
22
- fontSizes: [12, 14, 16, 18, 20, 24, 32, 48, 64, 96],
23
- fontScale: 1,
24
- fontWeights: {
25
- body: 400,
26
- heading: 500,
27
- bold: 600,
28
- light: 300,
29
- medium: 500,
30
- semibold: 600
31
- },
32
- lineHeights: {
33
- body: 1.6,
34
- heading: 1.3,
35
- tight: 1.4,
36
- relaxed: 1.8
37
- },
38
- breakpoints: ["640px", "768px", "1024px", "1280px"],
39
- sizes: [16, 32, 64, 128, 256, 512, 768, 1024, 1536],
40
- radii: [0, 2, 4, 6, 8, 12, 16, 24],
41
- shadows: [
42
- "none",
43
- "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
44
- "0 2px 4px 0 rgba(0, 0, 0, 0.06)",
45
- "0 4px 6px 0 rgba(0, 0, 0, 0.07)",
46
- "0 8px 12px 0 rgba(0, 0, 0, 0.08)",
47
- "0 16px 24px 0 rgba(0, 0, 0, 0.10)"
48
- ],
49
- zIndices: [0, 1, 10, 20, 30, 40, 50],
50
- colors: {
51
- text: "#e4e4e4",
52
- background: "rgba(10, 10, 10, 0.85)",
53
- primary: "#66b3ff",
54
- secondary: "#80c4ff",
55
- accent: "#66ff99",
56
- highlight: "rgba(102, 179, 255, 0.15)",
57
- muted: "rgba(26, 26, 26, 0.8)",
58
- success: "#66ff99",
59
- warning: "#ffcc66",
60
- error: "#ff6666",
61
- info: "#66b3ff",
62
- border: "rgba(255, 255, 255, 0.1)",
63
- backgroundSecondary: "rgba(15, 15, 15, 0.9)",
64
- backgroundTertiary: "rgba(20, 20, 20, 0.9)",
65
- backgroundLight: "rgba(255, 255, 255, 0.05)",
66
- backgroundHover: "rgba(102, 179, 255, 0.08)",
67
- surface: "rgba(15, 15, 15, 0.95)",
68
- textSecondary: "rgba(255, 255, 255, 0.7)",
69
- textTertiary: "rgba(255, 255, 255, 0.5)",
70
- textMuted: "rgba(255, 255, 255, 0.4)",
71
- highlightBg: "rgba(255, 235, 59, 0.25)",
72
- highlightBorder: "rgba(255, 235, 59, 0.5)"
73
- },
74
- modes: {
75
- light: {
76
- text: "#1a1a1a",
77
- background: "rgba(255, 255, 255, 0.9)",
78
- primary: "#0066cc",
79
- secondary: "#0052a3",
80
- accent: "#00cc88",
81
- highlight: "rgba(0, 102, 204, 0.08)",
82
- muted: "rgba(245, 245, 245, 0.8)",
83
- success: "#00cc88",
84
- warning: "#ffaa00",
85
- error: "#ff3333",
86
- info: "#0066cc",
87
- border: "rgba(0, 0, 0, 0.1)",
88
- backgroundSecondary: "rgba(250, 250, 250, 0.9)",
89
- backgroundTertiary: "rgba(245, 245, 245, 0.9)",
90
- backgroundLight: "rgba(0, 0, 0, 0.02)",
91
- backgroundHover: "rgba(0, 102, 204, 0.04)",
92
- surface: "rgba(255, 255, 255, 0.95)",
93
- textSecondary: "rgba(0, 0, 0, 0.6)",
94
- textTertiary: "rgba(0, 0, 0, 0.4)",
95
- textMuted: "rgba(0, 0, 0, 0.3)",
96
- highlightBg: "rgba(255, 235, 59, 0.3)",
97
- highlightBorder: "rgba(255, 235, 59, 0.6)"
98
- }
99
- },
100
- buttons: {
101
- primary: {
102
- color: "white",
103
- bg: "primary",
104
- borderWidth: 0,
105
- "&:hover": {
106
- bg: "secondary"
107
- }
108
- },
109
- secondary: {
110
- color: "primary",
111
- bg: "transparent",
112
- borderWidth: 1,
113
- borderStyle: "solid",
114
- borderColor: "primary",
115
- "&:hover": {
116
- bg: "highlight"
117
- }
118
- },
119
- ghost: {
120
- color: "text",
121
- bg: "transparent",
122
- "&:hover": {
123
- bg: "backgroundHover"
124
- }
125
- }
126
- },
127
- text: {
128
- heading: {
129
- fontFamily: "heading",
130
- fontWeight: "heading",
131
- lineHeight: "heading"
132
- },
133
- body: {
134
- fontFamily: "body",
135
- fontWeight: "body",
136
- lineHeight: "body"
137
- },
138
- caption: {
139
- fontSize: 1,
140
- color: "textSecondary"
141
- }
142
- },
143
- cards: {
144
- primary: {
145
- bg: "surface",
146
- border: "1px solid",
147
- borderColor: "border",
148
- borderRadius: 1
149
- },
150
- secondary: {
151
- bg: "backgroundSecondary",
152
- border: "1px solid",
153
- borderColor: "border",
154
- borderRadius: 1
155
- }
156
- }
157
- };
158
- function getMode(theme2, mode) {
159
- if (!mode || !theme2.modes || !theme2.modes[mode]) {
160
- return theme2.colors;
161
- }
162
- return {
163
- ...theme2.colors,
164
- ...theme2.modes[mode]
165
- };
166
- }
14
+ import React2, { createContext, useContext, forwardRef, createElement, useState, useMemo, useCallback, useEffect } from "react";
167
15
  var ThemeContext;
168
16
  var getThemeContext = () => {
169
17
  if (typeof window !== "undefined") {
@@ -187,46 +35,6 @@ var useTheme = () => {
187
35
  }
188
36
  return context;
189
37
  };
190
- var ThemeProvider = ({
191
- children,
192
- theme: customTheme = theme,
193
- initialMode
194
- }) => {
195
- const [mode, setMode] = useState(initialMode);
196
- const activeTheme = React2.useMemo(() => {
197
- if (!mode || !customTheme.modes || !customTheme.modes[mode]) {
198
- return customTheme;
199
- }
200
- return {
201
- ...customTheme,
202
- colors: getMode(customTheme, mode)
203
- };
204
- }, [customTheme, mode]);
205
- useEffect(() => {
206
- if (!initialMode) {
207
- const savedMode = localStorage.getItem("principlemd-theme-mode");
208
- if (savedMode) {
209
- setMode(savedMode);
210
- }
211
- }
212
- }, [initialMode]);
213
- useEffect(() => {
214
- if (mode) {
215
- localStorage.setItem("principlemd-theme-mode", mode);
216
- } else {
217
- localStorage.removeItem("principlemd-theme-mode");
218
- }
219
- }, [mode]);
220
- const value = {
221
- theme: activeTheme,
222
- mode,
223
- setMode
224
- };
225
- return /* @__PURE__ */ React2.createElement(ThemeContextSingleton.Provider, {
226
- value
227
- }, children);
228
- };
229
- var theme = terminalTheme;
230
38
  /**
231
39
  * @license lucide-react v0.552.0 - ISC
232
40
  *
@@ -673,7 +481,7 @@ const RepositoryAvatar = ({
673
481
  size = 32,
674
482
  fallbackIcon
675
483
  }) => {
676
- const { theme: theme2 } = useTheme();
484
+ const { theme } = useTheme();
677
485
  const borderRadius = `${Math.min(8, size / 4)}px`;
678
486
  const avatarUrl = customAvatarUrl || (owner ? `https://github.com/${owner}.png` : null);
679
487
  const getContent = () => {
@@ -706,7 +514,7 @@ const RepositoryAvatar = ({
706
514
  width: `${size}px`,
707
515
  height: `${size}px`,
708
516
  borderRadius,
709
- backgroundColor: theme2.colors.backgroundTertiary,
517
+ backgroundColor: theme.colors.backgroundTertiary,
710
518
  display: "flex",
711
519
  alignItems: "center",
712
520
  justifyContent: "center",
@@ -756,12 +564,12 @@ const LocalProjectCard = ({
756
564
  compact: _compact = false,
757
565
  isInWorkspaceDirectory
758
566
  }) => {
759
- var _a, _b, _c, _d;
760
- const { theme: theme2 } = useTheme();
567
+ var _a, _b, _c, _d, _e;
568
+ const { theme } = useTheme();
569
+ const [isHovered, setIsHovered] = useState(false);
761
570
  const [copiedPath, setCopiedPath] = useState(false);
762
571
  const [isMoving, setIsMoving] = useState(false);
763
572
  const [isRemoving, setIsRemoving] = useState(false);
764
- const highlightColor = theme2.colors.primary;
765
573
  const avatarUrl = ((_a = entry.github) == null ? void 0 : _a.owner) ? `https://github.com/${entry.github.owner}.png` : null;
766
574
  const handleCardClick = () => {
767
575
  onSelect == null ? void 0 : onSelect(entry);
@@ -809,309 +617,278 @@ const LocalProjectCard = ({
809
617
  console.error("Failed to copy path:", err);
810
618
  }
811
619
  };
812
- const renderActionButtons = (isCompact = false) => {
813
- const buttonFlex = isCompact ? 1 : void 0;
620
+ const actionButtonStyle = {
621
+ display: "flex",
622
+ alignItems: "center",
623
+ justifyContent: "center",
624
+ width: "24px",
625
+ height: "24px",
626
+ padding: 0,
627
+ border: "none",
628
+ borderRadius: "4px",
629
+ backgroundColor: "transparent",
630
+ color: theme.colors.textSecondary,
631
+ cursor: "pointer",
632
+ transition: "all 0.15s ease"
633
+ };
634
+ const handleButtonHover = (e, isDestructive = false) => {
635
+ if (isDestructive) {
636
+ e.currentTarget.style.backgroundColor = `${theme.colors.error || "#ef4444"}15`;
637
+ e.currentTarget.style.color = theme.colors.error || "#ef4444";
638
+ } else {
639
+ e.currentTarget.style.backgroundColor = theme.colors.backgroundTertiary;
640
+ e.currentTarget.style.color = theme.colors.text;
641
+ }
642
+ };
643
+ const handleButtonLeave = (e, defaultColor) => {
644
+ e.currentTarget.style.backgroundColor = "transparent";
645
+ e.currentTarget.style.color = defaultColor || theme.colors.textSecondary;
646
+ };
647
+ const renderActionButtons = () => {
814
648
  if (actionMode === "add-to-workspace") {
815
- return /* @__PURE__ */ jsxs(
649
+ return /* @__PURE__ */ jsx(
816
650
  "button",
817
651
  {
818
652
  type: "button",
819
653
  onClick: handleAddToWorkspaceClick,
820
654
  disabled: isLoading,
821
655
  title: "Add to workspace",
822
- style: {
823
- flex: buttonFlex,
824
- display: "inline-flex",
825
- alignItems: "center",
826
- justifyContent: "center",
827
- padding: "6px 10px",
828
- gap: "4px",
829
- borderRadius: "4px",
830
- border: `1px solid ${theme2.colors.primary || "#3b82f6"}`,
831
- backgroundColor: `${theme2.colors.primary || "#3b82f6"}15`,
832
- color: theme2.colors.primary || "#3b82f6",
833
- fontSize: `${theme2.fontSizes[0]}px`,
834
- fontWeight: theme2.fontWeights.medium,
835
- cursor: isLoading ? "wait" : "pointer",
836
- opacity: isLoading ? 0.6 : 1,
837
- transition: "all 0.15s ease"
838
- },
839
- children: [
840
- isLoading ? /* @__PURE__ */ jsx(LoaderCircle, { size: 12, className: "animate-spin" }) : /* @__PURE__ */ jsx(Plus, { size: 12 }),
841
- isLoading ? "Adding..." : "Add"
842
- ]
656
+ style: actionButtonStyle,
657
+ onMouseEnter: (e) => handleButtonHover(e),
658
+ onMouseLeave: (e) => handleButtonLeave(e),
659
+ children: isLoading ? /* @__PURE__ */ jsx(LoaderCircle, { size: 16, className: "animate-spin" }) : /* @__PURE__ */ jsx(Plus, { size: 16 })
843
660
  }
844
661
  );
845
662
  }
846
- const copyPathButton = /* @__PURE__ */ jsxs(
847
- "button",
848
- {
849
- type: "button",
850
- onClick: handleCopyPath,
851
- title: copiedPath ? "Copied!" : `Copy path: ${entry.path}`,
852
- style: {
853
- flex: buttonFlex,
854
- display: "inline-flex",
855
- alignItems: "center",
856
- justifyContent: "center",
857
- padding: "6px 10px",
858
- gap: "4px",
859
- borderRadius: "4px",
860
- border: `1px solid ${copiedPath ? theme2.colors.success || "#10b981" : theme2.colors.border}`,
861
- backgroundColor: copiedPath ? `${theme2.colors.success || "#10b981"}15` : theme2.colors.backgroundTertiary,
862
- color: copiedPath ? theme2.colors.success || "#10b981" : theme2.colors.textSecondary,
863
- fontSize: `${theme2.fontSizes[0]}px`,
864
- fontWeight: theme2.fontWeights.medium,
865
- cursor: "pointer",
866
- transition: "all 0.15s ease"
867
- },
868
- children: [
869
- copiedPath ? /* @__PURE__ */ jsx(Check, { size: 12 }) : /* @__PURE__ */ jsx(Copy, { size: 12 }),
870
- copiedPath ? "Copied" : "Path"
871
- ]
872
- }
873
- );
874
663
  if (actionMode === "workspace") {
875
664
  return /* @__PURE__ */ jsxs(Fragment, { children: [
876
- isInWorkspaceDirectory === false && onMoveToWorkspace && /* @__PURE__ */ jsxs(
665
+ isInWorkspaceDirectory === false && onMoveToWorkspace && /* @__PURE__ */ jsx(
877
666
  "button",
878
667
  {
879
668
  type: "button",
880
669
  onClick: handleMoveToWorkspaceClick,
881
670
  disabled: isMoving,
882
671
  title: "Move to workspace directory",
672
+ style: actionButtonStyle,
673
+ onMouseEnter: (e) => handleButtonHover(e),
674
+ onMouseLeave: (e) => handleButtonLeave(e),
675
+ children: isMoving ? /* @__PURE__ */ jsx(LoaderCircle, { size: 16, className: "animate-spin" }) : /* @__PURE__ */ jsx(MoveUp, { size: 16 })
676
+ }
677
+ ),
678
+ /* @__PURE__ */ jsx(
679
+ "button",
680
+ {
681
+ type: "button",
682
+ onClick: handleCopyPath,
683
+ title: copiedPath ? "Copied!" : `Copy path: ${entry.path}`,
883
684
  style: {
884
- flex: buttonFlex,
885
- display: "inline-flex",
886
- alignItems: "center",
887
- justifyContent: "center",
888
- padding: "6px 10px",
889
- gap: "4px",
890
- borderRadius: "4px",
891
- border: `1px solid ${theme2.colors.primary || "#3b82f6"}`,
892
- backgroundColor: `${theme2.colors.primary || "#3b82f6"}15`,
893
- color: theme2.colors.primary || "#3b82f6",
894
- fontSize: `${theme2.fontSizes[0]}px`,
895
- fontWeight: theme2.fontWeights.medium,
896
- cursor: isMoving ? "wait" : "pointer",
897
- opacity: isMoving ? 0.6 : 1,
898
- transition: "all 0.15s ease"
685
+ ...actionButtonStyle,
686
+ color: copiedPath ? theme.colors.success || "#10b981" : theme.colors.textSecondary
899
687
  },
900
- children: [
901
- isMoving ? /* @__PURE__ */ jsx(LoaderCircle, { size: 12, className: "animate-spin" }) : /* @__PURE__ */ jsx(MoveUp, { size: 12 }),
902
- isMoving ? "Moving..." : "Move"
903
- ]
688
+ onMouseEnter: (e) => handleButtonHover(e),
689
+ onMouseLeave: (e) => handleButtonLeave(e, copiedPath ? theme.colors.success || "#10b981" : void 0),
690
+ children: copiedPath ? /* @__PURE__ */ jsx(Check, { size: 16 }) : /* @__PURE__ */ jsx(Copy, { size: 16 })
904
691
  }
905
692
  ),
906
- copyPathButton,
907
- /* @__PURE__ */ jsxs(
693
+ /* @__PURE__ */ jsx(
908
694
  "button",
909
695
  {
910
696
  type: "button",
911
697
  onClick: handleOpenClick,
912
698
  title: "Open repository",
913
- style: {
914
- flex: buttonFlex,
915
- display: "inline-flex",
916
- alignItems: "center",
917
- justifyContent: "center",
918
- padding: "6px 10px",
919
- gap: "4px",
920
- borderRadius: "4px",
921
- border: `1px solid ${theme2.colors.success || "#10b981"}`,
922
- backgroundColor: `${theme2.colors.success || "#10b981"}15`,
923
- color: theme2.colors.success || "#10b981",
924
- fontSize: `${theme2.fontSizes[0]}px`,
925
- fontWeight: theme2.fontWeights.medium,
926
- cursor: "pointer",
927
- transition: "all 0.15s ease"
928
- },
929
- children: [
930
- /* @__PURE__ */ jsx(FolderOpen, { size: 12 }),
931
- "Open"
932
- ]
699
+ style: actionButtonStyle,
700
+ onMouseEnter: (e) => handleButtonHover(e),
701
+ onMouseLeave: (e) => handleButtonLeave(e),
702
+ children: /* @__PURE__ */ jsx(FolderOpen, { size: 16 })
933
703
  }
934
704
  ),
935
- onRemoveFromWorkspace && /* @__PURE__ */ jsxs(
705
+ onRemoveFromWorkspace && /* @__PURE__ */ jsx(
936
706
  "button",
937
707
  {
938
708
  type: "button",
939
709
  onClick: handleRemoveFromWorkspaceClick,
940
710
  disabled: isRemoving,
941
711
  title: "Remove from workspace",
942
- style: {
943
- flex: buttonFlex,
944
- display: "inline-flex",
945
- alignItems: "center",
946
- justifyContent: "center",
947
- minWidth: isCompact ? void 0 : "28px",
948
- height: "28px",
949
- padding: isCompact ? "6px 10px" : 0,
950
- gap: "4px",
951
- borderRadius: "4px",
952
- border: isCompact ? `1px solid ${theme2.colors.error || "#ef4444"}` : "none",
953
- backgroundColor: isCompact ? `${theme2.colors.error || "#ef4444"}15` : "transparent",
954
- color: isCompact ? theme2.colors.error || "#ef4444" : theme2.colors.textSecondary,
955
- fontSize: `${theme2.fontSizes[0]}px`,
956
- fontWeight: theme2.fontWeights.medium,
957
- cursor: isRemoving ? "wait" : "pointer",
958
- opacity: isRemoving ? 0.6 : 1,
959
- transition: "all 0.15s ease"
960
- },
961
- children: [
962
- isRemoving ? /* @__PURE__ */ jsx(LoaderCircle, { size: 14, className: "animate-spin" }) : /* @__PURE__ */ jsx(X, { size: 14 }),
963
- isCompact && (isRemoving ? "Removing..." : "Remove")
964
- ]
712
+ style: actionButtonStyle,
713
+ onMouseEnter: (e) => handleButtonHover(e, true),
714
+ onMouseLeave: (e) => handleButtonLeave(e),
715
+ children: isRemoving ? /* @__PURE__ */ jsx(LoaderCircle, { size: 16, className: "animate-spin" }) : /* @__PURE__ */ jsx(X, { size: 16 })
965
716
  }
966
717
  )
967
718
  ] });
968
719
  }
969
720
  return /* @__PURE__ */ jsxs(Fragment, { children: [
970
- copyPathButton,
971
- /* @__PURE__ */ jsxs(
721
+ /* @__PURE__ */ jsx(
722
+ "button",
723
+ {
724
+ type: "button",
725
+ onClick: handleCopyPath,
726
+ title: copiedPath ? "Copied!" : `Copy path: ${entry.path}`,
727
+ style: {
728
+ ...actionButtonStyle,
729
+ color: copiedPath ? theme.colors.success || "#10b981" : theme.colors.textSecondary
730
+ },
731
+ onMouseEnter: (e) => handleButtonHover(e),
732
+ onMouseLeave: (e) => handleButtonLeave(e, copiedPath ? theme.colors.success || "#10b981" : void 0),
733
+ children: copiedPath ? /* @__PURE__ */ jsx(Check, { size: 16 }) : /* @__PURE__ */ jsx(Copy, { size: 16 })
734
+ }
735
+ ),
736
+ /* @__PURE__ */ jsx(
972
737
  "button",
973
738
  {
974
739
  type: "button",
975
740
  onClick: handleOpenClick,
976
741
  title: windowState === "ready" ? "Focus window" : windowState === "opening" ? "Window is opening..." : "Open locally",
977
742
  disabled: windowState === "opening",
978
- style: {
979
- flex: buttonFlex,
980
- display: "inline-flex",
981
- alignItems: "center",
982
- justifyContent: "center",
983
- padding: "6px 10px",
984
- gap: "4px",
985
- borderRadius: "4px",
986
- border: `1px solid ${theme2.colors.success || "#10b981"}`,
987
- backgroundColor: `${theme2.colors.success || "#10b981"}15`,
988
- color: theme2.colors.success || "#10b981",
989
- fontSize: `${theme2.fontSizes[0]}px`,
990
- fontWeight: theme2.fontWeights.medium,
991
- cursor: windowState === "opening" ? "wait" : "pointer",
992
- opacity: windowState === "opening" ? 0.6 : 1,
993
- transition: "all 0.15s ease"
994
- },
995
- children: [
996
- windowState === "ready" ? /* @__PURE__ */ jsx(Focus, { size: 12 }) : windowState === "opening" ? /* @__PURE__ */ jsx(LoaderCircle, { size: 12, className: "animate-spin" }) : /* @__PURE__ */ jsx(FolderOpen, { size: 12 }),
997
- windowState === "ready" ? "Focus" : windowState === "opening" ? "Opening..." : "Open"
998
- ]
743
+ style: actionButtonStyle,
744
+ onMouseEnter: (e) => handleButtonHover(e),
745
+ onMouseLeave: (e) => handleButtonLeave(e),
746
+ children: windowState === "ready" ? /* @__PURE__ */ jsx(Focus, { size: 16 }) : windowState === "opening" ? /* @__PURE__ */ jsx(LoaderCircle, { size: 16, className: "animate-spin" }) : /* @__PURE__ */ jsx(FolderOpen, { size: 16 })
999
747
  }
1000
748
  ),
1001
- actionMode === "default" && onRemove && /* @__PURE__ */ jsxs(
749
+ actionMode === "default" && onRemove && /* @__PURE__ */ jsx(
1002
750
  "button",
1003
751
  {
1004
752
  type: "button",
1005
753
  onClick: handleRemoveClick,
1006
754
  disabled: isLoading,
1007
755
  title: "Remove from local projects",
1008
- style: {
1009
- flex: buttonFlex,
1010
- display: "inline-flex",
1011
- alignItems: "center",
1012
- justifyContent: "center",
1013
- minWidth: isCompact ? void 0 : "28px",
1014
- height: "28px",
1015
- padding: isCompact ? "6px 10px" : 0,
1016
- gap: "4px",
1017
- borderRadius: "4px",
1018
- border: isCompact ? `1px solid ${theme2.colors.error || "#ef4444"}` : "none",
1019
- backgroundColor: isCompact ? `${theme2.colors.error || "#ef4444"}15` : "transparent",
1020
- color: isCompact ? theme2.colors.error || "#ef4444" : theme2.colors.textSecondary,
1021
- fontSize: `${theme2.fontSizes[0]}px`,
1022
- fontWeight: theme2.fontWeights.medium,
1023
- cursor: isLoading ? "wait" : "pointer",
1024
- opacity: isLoading ? 0.6 : 1,
1025
- transition: "all 0.15s ease"
1026
- },
1027
- children: [
1028
- isLoading ? /* @__PURE__ */ jsx(LoaderCircle, { size: 14, className: "animate-spin" }) : /* @__PURE__ */ jsx(X, { size: 14 }),
1029
- isCompact && (isLoading ? "Removing..." : "Remove")
1030
- ]
756
+ style: actionButtonStyle,
757
+ onMouseEnter: (e) => handleButtonHover(e, true),
758
+ onMouseLeave: (e) => handleButtonLeave(e),
759
+ children: isLoading ? /* @__PURE__ */ jsx(LoaderCircle, { size: 16, className: "animate-spin" }) : /* @__PURE__ */ jsx(X, { size: 16 })
1031
760
  }
1032
761
  )
1033
762
  ] });
1034
763
  };
764
+ const cardStyle = {
765
+ display: "flex",
766
+ flexDirection: "row",
767
+ gap: "12px",
768
+ padding: "12px",
769
+ borderRadius: "6px",
770
+ backgroundColor: isSelected ? theme.colors.backgroundTertiary : isHovered ? theme.colors.backgroundTertiary : "transparent",
771
+ border: `1px solid ${isSelected ? theme.colors.primary || theme.colors.border : isHovered ? theme.colors.border : "transparent"}`,
772
+ cursor: "pointer",
773
+ transition: "all 0.15s ease",
774
+ fontFamily: theme.fonts.body
775
+ };
1035
776
  return /* @__PURE__ */ jsxs(
1036
777
  "div",
1037
778
  {
1038
779
  className: "local-project-card",
1039
- style: {
1040
- padding: "8px 12px",
1041
- borderRadius: "4px",
1042
- backgroundColor: isSelected ? `${highlightColor}15` : "transparent",
1043
- border: isSelected ? `1px solid ${highlightColor}40` : "1px solid transparent",
1044
- cursor: "pointer",
1045
- transition: "background-color 0.15s",
1046
- fontFamily: theme2.fonts.body
1047
- },
780
+ style: cardStyle,
1048
781
  onClick: handleCardClick,
1049
782
  onDoubleClick: handleDoubleClick,
783
+ onMouseEnter: () => setIsHovered(true),
784
+ onMouseLeave: () => setIsHovered(false),
1050
785
  children: [
1051
- /* @__PURE__ */ jsxs("div", { className: "local-project-card__content", children: [
1052
- /* @__PURE__ */ jsx(
1053
- RepositoryAvatar,
1054
- {
1055
- customAvatarUrl: avatarUrl,
1056
- size: 32,
1057
- fallbackIcon: /* @__PURE__ */ jsx(
1058
- "div",
1059
- {
1060
- style: {
1061
- color: theme2.colors.textSecondary,
1062
- fontSize: `${theme2.fontSizes[0]}px`,
1063
- fontWeight: theme2.fontWeights.semibold
1064
- },
1065
- children: ((_b = entry.name[0]) == null ? void 0 : _b.toUpperCase()) || "?"
1066
- }
1067
- )
1068
- }
1069
- ),
1070
- /* @__PURE__ */ jsxs("div", { className: "local-project-card__info", children: [
1071
- /* @__PURE__ */ jsx(
1072
- "span",
1073
- {
1074
- style: {
1075
- fontSize: `${theme2.fontSizes[2]}px`,
1076
- fontWeight: theme2.fontWeights.medium,
1077
- color: theme2.colors.text,
1078
- overflow: "hidden",
1079
- textOverflow: "ellipsis",
1080
- whiteSpace: "nowrap",
1081
- textDecoration: "underline",
1082
- textDecorationColor: ((_c = entry.github) == null ? void 0 : _c.primaryLanguage) ? getLanguageColor(entry.github.primaryLanguage) : theme2.colors.textSecondary,
1083
- textUnderlineOffset: "3px"
1084
- },
1085
- children: entry.name
1086
- }
1087
- ),
1088
- ((_d = entry.github) == null ? void 0 : _d.description) && /* @__PURE__ */ jsx(
786
+ /* @__PURE__ */ jsx(
787
+ RepositoryAvatar,
788
+ {
789
+ customAvatarUrl: avatarUrl,
790
+ size: 40,
791
+ fallbackIcon: /* @__PURE__ */ jsx(
1089
792
  "div",
1090
793
  {
1091
- className: "local-project-card__meta",
1092
794
  style: {
1093
- alignItems: "center",
1094
- gap: "12px",
1095
- fontSize: `${theme2.fontSizes[0]}px`,
1096
- color: theme2.colors.textSecondary
795
+ color: theme.colors.textSecondary,
796
+ fontSize: `${theme.fontSizes[1]}px`,
797
+ fontWeight: theme.fontWeights.semibold
1097
798
  },
1098
- children: /* @__PURE__ */ jsx(
1099
- "span",
1100
- {
1101
- style: {
1102
- overflow: "hidden",
1103
- textOverflow: "ellipsis",
1104
- whiteSpace: "nowrap"
1105
- },
1106
- children: entry.github.description
1107
- }
1108
- )
799
+ children: ((_b = entry.name[0]) == null ? void 0 : _b.toUpperCase()) || "?"
1109
800
  }
1110
801
  )
1111
- ] }),
1112
- /* @__PURE__ */ jsx("div", { className: "local-project-card__actions", children: renderActionButtons(false) })
1113
- ] }),
1114
- /* @__PURE__ */ jsx("div", { className: "local-project-card__actions--stacked", children: renderActionButtons(true) })
802
+ }
803
+ ),
804
+ /* @__PURE__ */ jsxs(
805
+ "div",
806
+ {
807
+ style: {
808
+ flex: 1,
809
+ display: "flex",
810
+ flexDirection: "column",
811
+ gap: "4px",
812
+ minWidth: 0
813
+ },
814
+ children: [
815
+ /* @__PURE__ */ jsx(
816
+ "div",
817
+ {
818
+ style: {
819
+ display: "flex",
820
+ alignItems: "center",
821
+ gap: "8px"
822
+ },
823
+ children: /* @__PURE__ */ jsx(
824
+ "span",
825
+ {
826
+ style: {
827
+ flex: 1,
828
+ fontSize: `${theme.fontSizes[2]}px`,
829
+ fontWeight: theme.fontWeights.semibold,
830
+ color: theme.colors.text,
831
+ overflow: "hidden",
832
+ textOverflow: "ellipsis",
833
+ whiteSpace: "nowrap",
834
+ textDecoration: "underline",
835
+ textDecorationColor: ((_c = entry.github) == null ? void 0 : _c.primaryLanguage) ? getLanguageColor(entry.github.primaryLanguage) : theme.colors.textSecondary,
836
+ textUnderlineOffset: "3px"
837
+ },
838
+ children: entry.name
839
+ }
840
+ )
841
+ }
842
+ ),
843
+ /* @__PURE__ */ jsxs(
844
+ "div",
845
+ {
846
+ style: {
847
+ display: "flex",
848
+ alignItems: "center",
849
+ minHeight: "20px"
850
+ },
851
+ children: [
852
+ /* @__PURE__ */ jsx(
853
+ "div",
854
+ {
855
+ style: {
856
+ flex: 1,
857
+ fontSize: `${theme.fontSizes[1]}px`,
858
+ color: theme.colors.textSecondary,
859
+ lineHeight: 1.4,
860
+ whiteSpace: "nowrap",
861
+ overflow: "hidden",
862
+ textOverflow: "ellipsis",
863
+ minWidth: 0
864
+ },
865
+ title: ((_d = entry.github) == null ? void 0 : _d.description) || entry.path,
866
+ children: ((_e = entry.github) == null ? void 0 : _e.description) || entry.path
867
+ }
868
+ ),
869
+ /* @__PURE__ */ jsx(
870
+ "div",
871
+ {
872
+ style: {
873
+ display: "flex",
874
+ alignItems: "center",
875
+ gap: "4px",
876
+ maxWidth: isHovered ? "200px" : 0,
877
+ marginLeft: isHovered ? "8px" : 0,
878
+ overflow: "hidden",
879
+ opacity: isHovered ? 1 : 0,
880
+ flexShrink: 0,
881
+ transition: "max-width 0.2s ease, opacity 0.15s ease, margin-left 0.2s ease"
882
+ },
883
+ children: renderActionButtons()
884
+ }
885
+ )
886
+ ]
887
+ }
888
+ )
889
+ ]
890
+ }
891
+ )
1115
892
  ]
1116
893
  }
1117
894
  );
@@ -1129,7 +906,7 @@ const LocalProjectsPanelContent = ({
1129
906
  events
1130
907
  }) => {
1131
908
  var _a;
1132
- const { theme: theme2 } = useTheme();
909
+ const { theme } = useTheme();
1133
910
  const [filter, setFilter] = useState("");
1134
911
  const [isAdding, setIsAdding] = useState(false);
1135
912
  const [selectedEntry, setSelectedEntry] = useState(null);
@@ -1265,7 +1042,7 @@ const LocalProjectsPanelContent = ({
1265
1042
  display: "flex",
1266
1043
  flexDirection: "column",
1267
1044
  height: "100%",
1268
- backgroundColor: theme2.colors.backgroundSecondary
1045
+ backgroundColor: theme.colors.backgroundSecondary
1269
1046
  };
1270
1047
  const contentContainerStyle = {
1271
1048
  ...baseContainerStyle,
@@ -1299,10 +1076,10 @@ const LocalProjectsPanelContent = ({
1299
1076
  {
1300
1077
  style: {
1301
1078
  margin: 0,
1302
- color: theme2.colors.text,
1303
- fontSize: `${theme2.fontSizes[3]}px`,
1304
- fontWeight: theme2.fontWeights.semibold,
1305
- fontFamily: theme2.fonts.body
1079
+ color: theme.colors.text,
1080
+ fontSize: `${theme.fontSizes[3]}px`,
1081
+ fontWeight: theme.fontWeights.semibold,
1082
+ fontFamily: theme.fonts.body
1306
1083
  },
1307
1084
  children: "Loading local projects..."
1308
1085
  }
@@ -1324,7 +1101,7 @@ const LocalProjectsPanelContent = ({
1324
1101
  top: "50%",
1325
1102
  left: "12px",
1326
1103
  transform: "translateY(-50%)",
1327
- color: theme2.colors.textSecondary,
1104
+ color: theme.colors.textSecondary,
1328
1105
  pointerEvents: "none",
1329
1106
  zIndex: 1
1330
1107
  }
@@ -1342,11 +1119,11 @@ const LocalProjectsPanelContent = ({
1342
1119
  boxSizing: "border-box",
1343
1120
  padding: "8px 12px 8px 36px",
1344
1121
  borderRadius: "6px",
1345
- border: `1px solid ${theme2.colors.border}`,
1346
- backgroundColor: theme2.colors.background,
1347
- color: theme2.colors.text,
1348
- fontSize: `${theme2.fontSizes[1]}px`,
1349
- fontFamily: theme2.fonts.body,
1122
+ border: `1px solid ${theme.colors.border}`,
1123
+ backgroundColor: theme.colors.background,
1124
+ color: theme.colors.text,
1125
+ fontSize: `${theme.fontSizes[1]}px`,
1126
+ fontFamily: theme.fonts.body,
1350
1127
  outline: "none"
1351
1128
  }
1352
1129
  }
@@ -1360,9 +1137,9 @@ const LocalProjectsPanelContent = ({
1360
1137
  style: {
1361
1138
  padding: "8px",
1362
1139
  borderRadius: "6px",
1363
- border: `1px solid ${theme2.colors.border}`,
1364
- backgroundColor: sortByOrg ? `${theme2.colors.primary}20` : theme2.colors.background,
1365
- color: sortByOrg ? theme2.colors.primary : theme2.colors.textSecondary,
1140
+ border: `1px solid ${theme.colors.border}`,
1141
+ backgroundColor: sortByOrg ? `${theme.colors.primary}20` : theme.colors.background,
1142
+ color: sortByOrg ? theme.colors.primary : theme.colors.textSecondary,
1366
1143
  cursor: "pointer",
1367
1144
  display: "flex",
1368
1145
  alignItems: "center",
@@ -1382,9 +1159,9 @@ const LocalProjectsPanelContent = ({
1382
1159
  style: {
1383
1160
  padding: "8px",
1384
1161
  borderRadius: "6px",
1385
- border: `1px solid ${theme2.colors.border}`,
1386
- backgroundColor: theme2.colors.primary,
1387
- color: theme2.colors.background,
1162
+ border: `1px solid ${theme.colors.border}`,
1163
+ backgroundColor: theme.colors.primary,
1164
+ color: theme.colors.background,
1388
1165
  cursor: isAdding ? "default" : "pointer",
1389
1166
  display: "flex",
1390
1167
  alignItems: "center",
@@ -1427,7 +1204,7 @@ const LocalProjectsPanelContent = ({
1427
1204
  style: {
1428
1205
  padding: "32px",
1429
1206
  textAlign: "center",
1430
- color: theme2.colors.textSecondary
1207
+ color: theme.colors.textSecondary
1431
1208
  },
1432
1209
  children: /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: normalizedFilter ? "No local projects match your filter." : "No local projects found." })
1433
1210
  }
@@ -1438,18 +1215,18 @@ const LocalProjectsPanelContent = ({
1438
1215
  ] });
1439
1216
  };
1440
1217
  const LocalProjectsPanel = (props) => {
1441
- return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(LocalProjectsPanelContent, { ...props }) });
1218
+ return /* @__PURE__ */ jsx(LocalProjectsPanelContent, { ...props });
1442
1219
  };
1443
1220
  const LocalProjectsPanelPreview = () => {
1444
- const { theme: theme2 } = useTheme();
1221
+ const { theme } = useTheme();
1445
1222
  return /* @__PURE__ */ jsxs(
1446
1223
  "div",
1447
1224
  {
1448
1225
  style: {
1449
1226
  padding: "12px",
1450
- fontSize: `${theme2.fontSizes[0]}px`,
1451
- fontFamily: theme2.fonts.body,
1452
- color: theme2.colors.text,
1227
+ fontSize: `${theme.fontSizes[0]}px`,
1228
+ fontFamily: theme.fonts.body,
1229
+ color: theme.colors.text,
1453
1230
  display: "flex",
1454
1231
  flexDirection: "column",
1455
1232
  gap: "8px"
@@ -1462,7 +1239,7 @@ const LocalProjectsPanelPreview = () => {
1462
1239
  display: "flex",
1463
1240
  alignItems: "center",
1464
1241
  gap: "6px",
1465
- fontWeight: theme2.fontWeights.semibold
1242
+ fontWeight: theme.fontWeights.semibold
1466
1243
  },
1467
1244
  children: [
1468
1245
  /* @__PURE__ */ jsx(
@@ -1472,7 +1249,7 @@ const LocalProjectsPanelPreview = () => {
1472
1249
  width: "16px",
1473
1250
  height: "16px",
1474
1251
  borderRadius: "2px",
1475
- backgroundColor: `${theme2.colors.success || "#10b981"}40`
1252
+ backgroundColor: `${theme.colors.success || "#10b981"}40`
1476
1253
  }
1477
1254
  }
1478
1255
  ),
@@ -1484,9 +1261,9 @@ const LocalProjectsPanelPreview = () => {
1484
1261
  "div",
1485
1262
  {
1486
1263
  style: {
1487
- fontSize: `${theme2.fontSizes[0]}px`,
1488
- fontFamily: theme2.fonts.body,
1489
- color: theme2.colors.textSecondary,
1264
+ fontSize: `${theme.fontSizes[0]}px`,
1265
+ fontFamily: theme.fonts.body,
1266
+ color: theme.colors.textSecondary,
1490
1267
  marginTop: "4px"
1491
1268
  },
1492
1269
  children: "Browse your cloned repositories sorted by recent activity"
@@ -1508,7 +1285,7 @@ const WorkspaceRepositoriesPanelContent = ({
1508
1285
  actions,
1509
1286
  events
1510
1287
  }) => {
1511
- const { theme: theme2 } = useTheme();
1288
+ const { theme } = useTheme();
1512
1289
  const [repositoryLocations, setRepositoryLocations] = React2.useState(
1513
1290
  /* @__PURE__ */ new Map()
1514
1291
  );
@@ -1643,7 +1420,7 @@ const WorkspaceRepositoriesPanelContent = ({
1643
1420
  display: "flex",
1644
1421
  flexDirection: "column",
1645
1422
  height: "100%",
1646
- backgroundColor: theme2.colors.backgroundSecondary
1423
+ backgroundColor: theme.colors.backgroundSecondary
1647
1424
  };
1648
1425
  const contentContainerStyle = {
1649
1426
  ...baseContainerStyle,
@@ -1678,7 +1455,7 @@ const WorkspaceRepositoriesPanelContent = ({
1678
1455
  {
1679
1456
  size: 48,
1680
1457
  style: {
1681
- color: theme2.colors.textSecondary,
1458
+ color: theme.colors.textSecondary,
1682
1459
  opacity: 0.5
1683
1460
  }
1684
1461
  }
@@ -1689,10 +1466,10 @@ const WorkspaceRepositoriesPanelContent = ({
1689
1466
  {
1690
1467
  style: {
1691
1468
  margin: "0 0 8px 0",
1692
- color: theme2.colors.text,
1693
- fontSize: `${theme2.fontSizes[3]}px`,
1694
- fontWeight: theme2.fontWeights.semibold,
1695
- fontFamily: theme2.fonts.body
1469
+ color: theme.colors.text,
1470
+ fontSize: `${theme.fontSizes[3]}px`,
1471
+ fontWeight: theme.fontWeights.semibold,
1472
+ fontFamily: theme.fonts.body
1696
1473
  },
1697
1474
  children: "No Workspace Selected"
1698
1475
  }
@@ -1702,9 +1479,9 @@ const WorkspaceRepositoriesPanelContent = ({
1702
1479
  {
1703
1480
  style: {
1704
1481
  margin: 0,
1705
- color: theme2.colors.textSecondary,
1706
- fontSize: `${theme2.fontSizes[1]}px`,
1707
- fontFamily: theme2.fonts.body
1482
+ color: theme.colors.textSecondary,
1483
+ fontSize: `${theme.fontSizes[1]}px`,
1484
+ fontFamily: theme.fonts.body
1708
1485
  },
1709
1486
  children: "Select a workspace to see its repositories."
1710
1487
  }
@@ -1743,10 +1520,10 @@ const WorkspaceRepositoriesPanelContent = ({
1743
1520
  {
1744
1521
  style: {
1745
1522
  margin: 0,
1746
- color: theme2.colors.text,
1747
- fontSize: `${theme2.fontSizes[3]}px`,
1748
- fontWeight: theme2.fontWeights.semibold,
1749
- fontFamily: theme2.fonts.body
1523
+ color: theme.colors.text,
1524
+ fontSize: `${theme.fontSizes[3]}px`,
1525
+ fontWeight: theme.fontWeights.semibold,
1526
+ fontFamily: theme.fonts.body
1750
1527
  },
1751
1528
  children: "Loading repositories..."
1752
1529
  }
@@ -1774,10 +1551,10 @@ const WorkspaceRepositoriesPanelContent = ({
1774
1551
  {
1775
1552
  style: {
1776
1553
  margin: 0,
1777
- fontSize: `${theme2.fontSizes[2]}px`,
1778
- fontWeight: theme2.fontWeights.semibold,
1779
- color: theme2.colors.text,
1780
- fontFamily: theme2.fonts.body
1554
+ fontSize: `${theme.fontSizes[2]}px`,
1555
+ fontWeight: theme.fontWeights.semibold,
1556
+ color: theme.colors.text,
1557
+ fontFamily: theme.fonts.body
1781
1558
  },
1782
1559
  children: workspace.name
1783
1560
  }
@@ -1804,9 +1581,9 @@ const WorkspaceRepositoriesPanelContent = ({
1804
1581
  gap: "6px",
1805
1582
  padding: "4px 8px",
1806
1583
  borderRadius: "4px",
1807
- border: `1px solid ${copiedPath ? theme2.colors.success || "#10b981" : theme2.colors.border}`,
1808
- backgroundColor: copiedPath ? `${theme2.colors.success || "#10b981"}15` : theme2.colors.backgroundTertiary,
1809
- color: copiedPath ? theme2.colors.success || "#10b981" : theme2.colors.textSecondary,
1584
+ border: `1px solid ${copiedPath ? theme.colors.success || "#10b981" : theme.colors.border}`,
1585
+ backgroundColor: copiedPath ? `${theme.colors.success || "#10b981"}15` : theme.colors.backgroundTertiary,
1586
+ color: copiedPath ? theme.colors.success || "#10b981" : theme.colors.textSecondary,
1810
1587
  cursor: "pointer",
1811
1588
  transition: "all 0.15s ease",
1812
1589
  minWidth: 0,
@@ -1819,8 +1596,8 @@ const WorkspaceRepositoriesPanelContent = ({
1819
1596
  "span",
1820
1597
  {
1821
1598
  style: {
1822
- fontSize: `${theme2.fontSizes[0]}px`,
1823
- fontFamily: theme2.fonts.monospace,
1599
+ fontSize: `${theme.fontSizes[0]}px`,
1600
+ fontFamily: theme.fonts.monospace,
1824
1601
  whiteSpace: "nowrap",
1825
1602
  overflow: "hidden",
1826
1603
  textOverflow: "ellipsis",
@@ -1842,9 +1619,9 @@ const WorkspaceRepositoriesPanelContent = ({
1842
1619
  {
1843
1620
  style: {
1844
1621
  margin: 0,
1845
- fontSize: `${theme2.fontSizes[1]}px`,
1846
- color: theme2.colors.textSecondary,
1847
- fontFamily: theme2.fonts.body
1622
+ fontSize: `${theme.fontSizes[1]}px`,
1623
+ color: theme.colors.textSecondary,
1624
+ fontFamily: theme.fonts.body
1848
1625
  },
1849
1626
  children: workspace.description
1850
1627
  }
@@ -1867,7 +1644,7 @@ const WorkspaceRepositoriesPanelContent = ({
1867
1644
  style: {
1868
1645
  padding: "32px",
1869
1646
  textAlign: "center",
1870
- color: theme2.colors.textSecondary
1647
+ color: theme.colors.textSecondary
1871
1648
  },
1872
1649
  children: /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: "No repositories in this workspace." })
1873
1650
  }
@@ -1879,10 +1656,10 @@ const WorkspaceRepositoriesPanelContent = ({
1879
1656
  style: {
1880
1657
  margin: 0,
1881
1658
  paddingBottom: "4px",
1882
- fontSize: `${theme2.fontSizes[1]}px`,
1883
- fontWeight: theme2.fontWeights.semibold,
1884
- color: theme2.colors.textSecondary,
1885
- fontFamily: theme2.fonts.body,
1659
+ fontSize: `${theme.fontSizes[1]}px`,
1660
+ fontWeight: theme.fontWeights.semibold,
1661
+ color: theme.colors.textSecondary,
1662
+ fontFamily: theme.fonts.body,
1886
1663
  textTransform: "uppercase",
1887
1664
  letterSpacing: "0.5px"
1888
1665
  },
@@ -1911,10 +1688,10 @@ const WorkspaceRepositoriesPanelContent = ({
1911
1688
  style: {
1912
1689
  margin: 0,
1913
1690
  paddingBottom: "4px",
1914
- fontSize: `${theme2.fontSizes[1]}px`,
1915
- fontWeight: theme2.fontWeights.semibold,
1916
- color: theme2.colors.textSecondary,
1917
- fontFamily: theme2.fonts.body,
1691
+ fontSize: `${theme.fontSizes[1]}px`,
1692
+ fontWeight: theme.fontWeights.semibold,
1693
+ color: theme.colors.textSecondary,
1694
+ fontFamily: theme.fonts.body,
1918
1695
  textTransform: "uppercase",
1919
1696
  letterSpacing: "0.5px"
1920
1697
  },
@@ -1942,7 +1719,7 @@ const WorkspaceRepositoriesPanelContent = ({
1942
1719
  ] });
1943
1720
  };
1944
1721
  const WorkspaceRepositoriesPanel = (props) => {
1945
- return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(WorkspaceRepositoriesPanelContent, { ...props }) });
1722
+ return /* @__PURE__ */ jsx(WorkspaceRepositoriesPanelContent, { ...props });
1946
1723
  };
1947
1724
  const WorkspaceCard = ({
1948
1725
  workspace,
@@ -1954,12 +1731,12 @@ const WorkspaceCard = ({
1954
1731
  onUpdateName,
1955
1732
  themeColor
1956
1733
  }) => {
1957
- const { theme: theme2 } = useTheme();
1734
+ const { theme } = useTheme();
1958
1735
  const [isHovered, setIsHovered] = useState(false);
1959
1736
  const [isEditing, setIsEditing] = useState(false);
1960
1737
  const [editedName, setEditedName] = useState(workspace.name);
1961
1738
  const [isSaving, setIsSaving] = useState(false);
1962
- const iconColor = themeColor || theme2.colors.primary;
1739
+ const iconColor = themeColor || theme.colors.primary;
1963
1740
  const handleStartEdit = (e) => {
1964
1741
  e.stopPropagation();
1965
1742
  setIsEditing(true);
@@ -2026,8 +1803,8 @@ const WorkspaceCard = ({
2026
1803
  gap: "8px",
2027
1804
  padding: "12px",
2028
1805
  borderRadius: "6px",
2029
- backgroundColor: isSelected ? theme2.colors.backgroundTertiary : isHovered ? theme2.colors.backgroundTertiary : "transparent",
2030
- border: `1px solid ${isSelected ? theme2.colors.primary || theme2.colors.border : isHovered ? theme2.colors.border : "transparent"}`,
1806
+ backgroundColor: isSelected ? theme.colors.backgroundTertiary : isHovered ? theme.colors.backgroundTertiary : "transparent",
1807
+ border: `1px solid ${isSelected ? theme.colors.primary || theme.colors.border : isHovered ? theme.colors.border : "transparent"}`,
2031
1808
  cursor: isEditing ? "default" : "pointer",
2032
1809
  transition: "all 0.15s ease"
2033
1810
  };
@@ -2035,10 +1812,10 @@ const WorkspaceCard = ({
2035
1812
  display: "flex",
2036
1813
  alignItems: "center",
2037
1814
  gap: "8px",
2038
- color: theme2.colors.text,
2039
- fontSize: `${theme2.fontSizes[2]}px`,
2040
- fontWeight: theme2.fontWeights.semibold,
2041
- fontFamily: theme2.fonts.body
1815
+ color: theme.colors.text,
1816
+ fontSize: `${theme.fontSizes[2]}px`,
1817
+ fontWeight: theme.fontWeights.semibold,
1818
+ fontFamily: theme.fonts.body
2042
1819
  };
2043
1820
  const actionButtonStyle = {
2044
1821
  display: "flex",
@@ -2050,10 +1827,8 @@ const WorkspaceCard = ({
2050
1827
  border: "none",
2051
1828
  borderRadius: "4px",
2052
1829
  backgroundColor: "transparent",
2053
- color: theme2.colors.textSecondary,
1830
+ color: theme.colors.textSecondary,
2054
1831
  cursor: "pointer",
2055
- opacity: isHovered ? 1 : 0,
2056
- pointerEvents: isHovered ? "auto" : "none",
2057
1832
  transition: "all 0.15s ease"
2058
1833
  };
2059
1834
  return /* @__PURE__ */ jsxs(
@@ -2080,7 +1855,7 @@ const WorkspaceCard = ({
2080
1855
  flexShrink: 0,
2081
1856
  marginTop: "2px"
2082
1857
  },
2083
- children: workspace.icon ? /* @__PURE__ */ jsx("span", { style: { fontSize: `${theme2.fontSizes[3]}px` }, children: workspace.icon }) : /* @__PURE__ */ jsx(DoorClosed, { size: 24 })
1858
+ children: workspace.icon ? /* @__PURE__ */ jsx("span", { style: { fontSize: `${theme.fontSizes[3]}px` }, children: workspace.icon }) : /* @__PURE__ */ jsx(DoorClosed, { size: 24 })
2084
1859
  }
2085
1860
  ),
2086
1861
  /* @__PURE__ */ jsxs(
@@ -2109,12 +1884,12 @@ const WorkspaceCard = ({
2109
1884
  flex: 1,
2110
1885
  padding: "4px 8px",
2111
1886
  borderRadius: "4px",
2112
- border: `1px solid ${theme2.colors.border}`,
2113
- backgroundColor: theme2.colors.background,
2114
- color: theme2.colors.text,
2115
- fontSize: `${theme2.fontSizes[2]}px`,
2116
- fontWeight: theme2.fontWeights.semibold,
2117
- fontFamily: theme2.fonts.body,
1887
+ border: `1px solid ${theme.colors.border}`,
1888
+ backgroundColor: theme.colors.background,
1889
+ color: theme.colors.text,
1890
+ fontSize: `${theme.fontSizes[2]}px`,
1891
+ fontWeight: theme.fontWeights.semibold,
1892
+ fontFamily: theme.fonts.body,
2118
1893
  outline: "none"
2119
1894
  }
2120
1895
  }
@@ -2134,8 +1909,8 @@ const WorkspaceCard = ({
2134
1909
  padding: 0,
2135
1910
  border: "none",
2136
1911
  borderRadius: "4px",
2137
- backgroundColor: theme2.colors.success,
2138
- color: theme2.colors.background,
1912
+ backgroundColor: theme.colors.success,
1913
+ color: theme.colors.background,
2139
1914
  cursor: isSaving ? "not-allowed" : "pointer",
2140
1915
  opacity: isSaving ? 0.6 : 1,
2141
1916
  transition: "opacity 0.15s ease"
@@ -2158,8 +1933,8 @@ const WorkspaceCard = ({
2158
1933
  padding: 0,
2159
1934
  border: "none",
2160
1935
  borderRadius: "4px",
2161
- backgroundColor: theme2.colors.backgroundTertiary,
2162
- color: theme2.colors.text,
1936
+ backgroundColor: theme.colors.backgroundTertiary,
1937
+ color: theme.colors.text,
2163
1938
  cursor: isSaving ? "not-allowed" : "pointer",
2164
1939
  opacity: isSaving ? 0.6 : 1,
2165
1940
  transition: "opacity 0.15s ease"
@@ -2180,63 +1955,12 @@ const WorkspaceCard = ({
2180
1955
  children: workspace.name
2181
1956
  }
2182
1957
  ),
2183
- onOpen && /* @__PURE__ */ jsx(
2184
- "button",
2185
- {
2186
- onClick: handleOpenClick,
2187
- title: "Open workspace",
2188
- style: actionButtonStyle,
2189
- onMouseEnter: (e) => {
2190
- e.currentTarget.style.backgroundColor = theme2.colors.backgroundTertiary;
2191
- e.currentTarget.style.color = theme2.colors.text;
2192
- },
2193
- onMouseLeave: (e) => {
2194
- e.currentTarget.style.backgroundColor = "transparent";
2195
- e.currentTarget.style.color = theme2.colors.textSecondary;
2196
- },
2197
- children: /* @__PURE__ */ jsx(ExternalLink, { size: 16 })
2198
- }
2199
- ),
2200
- onUpdateName && /* @__PURE__ */ jsx(
2201
- "button",
2202
- {
2203
- onClick: handleStartEdit,
2204
- title: "Edit workspace name",
2205
- style: actionButtonStyle,
2206
- onMouseEnter: (e) => {
2207
- e.currentTarget.style.backgroundColor = theme2.colors.backgroundTertiary;
2208
- e.currentTarget.style.color = theme2.colors.text;
2209
- },
2210
- onMouseLeave: (e) => {
2211
- e.currentTarget.style.backgroundColor = "transparent";
2212
- e.currentTarget.style.color = theme2.colors.textSecondary;
2213
- },
2214
- children: /* @__PURE__ */ jsx(Pen, { size: 16 })
2215
- }
2216
- ),
2217
- onDelete && /* @__PURE__ */ jsx(
2218
- "button",
2219
- {
2220
- onClick: handleDeleteClick,
2221
- title: "Delete workspace",
2222
- style: actionButtonStyle,
2223
- onMouseEnter: (e) => {
2224
- e.currentTarget.style.backgroundColor = `${theme2.colors.error}15`;
2225
- e.currentTarget.style.color = theme2.colors.error;
2226
- },
2227
- onMouseLeave: (e) => {
2228
- e.currentTarget.style.backgroundColor = "transparent";
2229
- e.currentTarget.style.color = theme2.colors.textSecondary;
2230
- },
2231
- children: /* @__PURE__ */ jsx(Trash2, { size: 16 })
2232
- }
2233
- ),
2234
1958
  isDefault && /* @__PURE__ */ jsx(
2235
1959
  "span",
2236
1960
  {
2237
1961
  style: {
2238
- fontSize: `${theme2.fontSizes[1]}px`,
2239
- color: theme2.colors.textSecondary,
1962
+ fontSize: `${theme.fontSizes[1]}px`,
1963
+ color: theme.colors.textSecondary,
2240
1964
  fontWeight: 400,
2241
1965
  flexShrink: 0
2242
1966
  },
@@ -2244,20 +1968,103 @@ const WorkspaceCard = ({
2244
1968
  }
2245
1969
  )
2246
1970
  ] }) }),
2247
- workspace.description && !isEditing && /* @__PURE__ */ jsx(
1971
+ !isEditing && /* @__PURE__ */ jsxs(
2248
1972
  "div",
2249
1973
  {
2250
1974
  style: {
2251
- fontSize: `${theme2.fontSizes[1]}px`,
2252
- color: theme2.colors.textSecondary,
2253
- fontFamily: theme2.fonts.body,
2254
- lineHeight: 1.4,
2255
- whiteSpace: "nowrap",
2256
- overflow: "hidden",
2257
- textOverflow: "ellipsis"
1975
+ display: "flex",
1976
+ alignItems: "center",
1977
+ minHeight: "20px"
2258
1978
  },
2259
- title: workspace.description,
2260
- children: workspace.description
1979
+ children: [
1980
+ /* @__PURE__ */ jsx(
1981
+ "div",
1982
+ {
1983
+ style: {
1984
+ flex: 1,
1985
+ fontSize: `${theme.fontSizes[1]}px`,
1986
+ color: theme.colors.textSecondary,
1987
+ fontFamily: theme.fonts.body,
1988
+ lineHeight: 1.4,
1989
+ whiteSpace: "nowrap",
1990
+ overflow: "hidden",
1991
+ textOverflow: "ellipsis",
1992
+ minWidth: 0
1993
+ },
1994
+ title: workspace.description,
1995
+ children: workspace.description || " "
1996
+ }
1997
+ ),
1998
+ /* @__PURE__ */ jsxs(
1999
+ "div",
2000
+ {
2001
+ style: {
2002
+ display: "flex",
2003
+ alignItems: "center",
2004
+ gap: "4px",
2005
+ maxWidth: isHovered ? "200px" : 0,
2006
+ marginLeft: isHovered ? "8px" : 0,
2007
+ overflow: "hidden",
2008
+ opacity: isHovered ? 1 : 0,
2009
+ flexShrink: 0,
2010
+ transition: "max-width 0.2s ease, opacity 0.15s ease, margin-left 0.2s ease"
2011
+ },
2012
+ children: [
2013
+ onOpen && /* @__PURE__ */ jsx(
2014
+ "button",
2015
+ {
2016
+ onClick: handleOpenClick,
2017
+ title: "Open workspace",
2018
+ style: actionButtonStyle,
2019
+ onMouseEnter: (e) => {
2020
+ e.currentTarget.style.backgroundColor = theme.colors.backgroundTertiary;
2021
+ e.currentTarget.style.color = theme.colors.text;
2022
+ },
2023
+ onMouseLeave: (e) => {
2024
+ e.currentTarget.style.backgroundColor = "transparent";
2025
+ e.currentTarget.style.color = theme.colors.textSecondary;
2026
+ },
2027
+ children: /* @__PURE__ */ jsx(ExternalLink, { size: 16 })
2028
+ }
2029
+ ),
2030
+ onUpdateName && /* @__PURE__ */ jsx(
2031
+ "button",
2032
+ {
2033
+ onClick: handleStartEdit,
2034
+ title: "Edit workspace name",
2035
+ style: actionButtonStyle,
2036
+ onMouseEnter: (e) => {
2037
+ e.currentTarget.style.backgroundColor = theme.colors.backgroundTertiary;
2038
+ e.currentTarget.style.color = theme.colors.text;
2039
+ },
2040
+ onMouseLeave: (e) => {
2041
+ e.currentTarget.style.backgroundColor = "transparent";
2042
+ e.currentTarget.style.color = theme.colors.textSecondary;
2043
+ },
2044
+ children: /* @__PURE__ */ jsx(Pen, { size: 16 })
2045
+ }
2046
+ ),
2047
+ onDelete && /* @__PURE__ */ jsx(
2048
+ "button",
2049
+ {
2050
+ onClick: handleDeleteClick,
2051
+ title: "Delete workspace",
2052
+ style: actionButtonStyle,
2053
+ onMouseEnter: (e) => {
2054
+ e.currentTarget.style.backgroundColor = `${theme.colors.error}15`;
2055
+ e.currentTarget.style.color = theme.colors.error;
2056
+ },
2057
+ onMouseLeave: (e) => {
2058
+ e.currentTarget.style.backgroundColor = "transparent";
2059
+ e.currentTarget.style.color = theme.colors.textSecondary;
2060
+ },
2061
+ children: /* @__PURE__ */ jsx(Trash2, { size: 16 })
2062
+ }
2063
+ )
2064
+ ]
2065
+ }
2066
+ )
2067
+ ]
2261
2068
  }
2262
2069
  )
2263
2070
  ]
@@ -2280,7 +2087,7 @@ const WorkspacesListPanelContent = ({
2280
2087
  events
2281
2088
  }) => {
2282
2089
  var _a, _b;
2283
- const { theme: theme2 } = useTheme();
2090
+ const { theme } = useTheme();
2284
2091
  const [searchQuery, setSearchQuery] = useState("");
2285
2092
  const [showSearchBox, setShowSearchBox] = useState(false);
2286
2093
  const [selectedWorkspaceId, setSelectedWorkspaceId] = useState(null);
@@ -2484,7 +2291,7 @@ const WorkspacesListPanelContent = ({
2484
2291
  display: "flex",
2485
2292
  flexDirection: "column",
2486
2293
  height: "100%",
2487
- backgroundColor: theme2.colors.backgroundSecondary
2294
+ backgroundColor: theme.colors.backgroundSecondary
2488
2295
  };
2489
2296
  const contentContainerStyle = {
2490
2297
  ...baseContainerStyle,
@@ -2518,10 +2325,10 @@ const WorkspacesListPanelContent = ({
2518
2325
  {
2519
2326
  style: {
2520
2327
  margin: 0,
2521
- color: theme2.colors.text,
2522
- fontSize: `${theme2.fontSizes[3]}px`,
2523
- fontWeight: theme2.fontWeights.semibold,
2524
- fontFamily: theme2.fonts.body
2328
+ color: theme.colors.text,
2329
+ fontSize: `${theme.fontSizes[3]}px`,
2330
+ fontWeight: theme.fontWeights.semibold,
2331
+ fontFamily: theme.fonts.body
2525
2332
  },
2526
2333
  children: "Loading workspaces..."
2527
2334
  }
@@ -2547,10 +2354,10 @@ const WorkspacesListPanelContent = ({
2547
2354
  {
2548
2355
  style: {
2549
2356
  margin: 0,
2550
- fontSize: `${theme2.fontSizes[2]}px`,
2551
- fontWeight: theme2.fontWeights.semibold,
2552
- color: theme2.colors.text,
2553
- fontFamily: theme2.fonts.body
2357
+ fontSize: `${theme.fontSizes[2]}px`,
2358
+ fontWeight: theme.fontWeights.semibold,
2359
+ color: theme.colors.text,
2360
+ fontFamily: theme.fonts.body
2554
2361
  },
2555
2362
  children: "Workspaces"
2556
2363
  }
@@ -2572,9 +2379,9 @@ const WorkspacesListPanelContent = ({
2572
2379
  width: "28px",
2573
2380
  height: "28px",
2574
2381
  borderRadius: "6px",
2575
- border: `1px solid ${theme2.colors.border}`,
2576
- backgroundColor: showSearchBox ? theme2.colors.primary : theme2.colors.backgroundTertiary,
2577
- color: showSearchBox ? theme2.colors.background : theme2.colors.text,
2382
+ border: `1px solid ${theme.colors.border}`,
2383
+ backgroundColor: showSearchBox ? theme.colors.primary : theme.colors.backgroundTertiary,
2384
+ color: showSearchBox ? theme.colors.background : theme.colors.text,
2578
2385
  cursor: "pointer",
2579
2386
  transition: "all 0.15s ease"
2580
2387
  },
@@ -2594,9 +2401,9 @@ const WorkspacesListPanelContent = ({
2594
2401
  width: "28px",
2595
2402
  height: "28px",
2596
2403
  borderRadius: "6px",
2597
- border: `1px solid ${theme2.colors.border}`,
2598
- backgroundColor: theme2.colors.primary,
2599
- color: theme2.colors.background,
2404
+ border: `1px solid ${theme.colors.border}`,
2405
+ backgroundColor: theme.colors.primary,
2406
+ color: theme.colors.background,
2600
2407
  cursor: isCreating ? "not-allowed" : "pointer",
2601
2408
  opacity: isCreating ? 0.6 : 1,
2602
2409
  transition: "all 0.15s ease"
@@ -2630,11 +2437,11 @@ const WorkspacesListPanelContent = ({
2630
2437
  flex: 1,
2631
2438
  padding: "8px 12px",
2632
2439
  borderRadius: "6px",
2633
- border: `1px solid ${theme2.colors.border}`,
2634
- backgroundColor: theme2.colors.background,
2635
- color: theme2.colors.text,
2636
- fontSize: `${theme2.fontSizes[1]}px`,
2637
- fontFamily: theme2.fonts.body,
2440
+ border: `1px solid ${theme.colors.border}`,
2441
+ backgroundColor: theme.colors.background,
2442
+ color: theme.colors.text,
2443
+ fontSize: `${theme.fontSizes[1]}px`,
2444
+ fontFamily: theme.fonts.body,
2638
2445
  outline: "none"
2639
2446
  }
2640
2447
  }
@@ -2650,9 +2457,9 @@ const WorkspacesListPanelContent = ({
2650
2457
  width: "28px",
2651
2458
  height: "28px",
2652
2459
  borderRadius: "6px",
2653
- border: `1px solid ${theme2.colors.border}`,
2654
- backgroundColor: theme2.colors.backgroundTertiary,
2655
- color: theme2.colors.text,
2460
+ border: `1px solid ${theme.colors.border}`,
2461
+ backgroundColor: theme.colors.backgroundTertiary,
2462
+ color: theme.colors.text,
2656
2463
  cursor: "pointer",
2657
2464
  transition: "all 0.15s ease"
2658
2465
  },
@@ -2693,7 +2500,7 @@ const WorkspacesListPanelContent = ({
2693
2500
  style: {
2694
2501
  padding: "32px",
2695
2502
  textAlign: "center",
2696
- color: theme2.colors.textSecondary
2503
+ color: theme.colors.textSecondary
2697
2504
  },
2698
2505
  children: /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: searchQuery.trim() ? `No workspaces found matching "${searchQuery}"` : "No workspaces found." })
2699
2506
  }
@@ -2704,18 +2511,18 @@ const WorkspacesListPanelContent = ({
2704
2511
  ] });
2705
2512
  };
2706
2513
  const WorkspacesListPanel = (props) => {
2707
- return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(WorkspacesListPanelContent, { ...props }) });
2514
+ return /* @__PURE__ */ jsx(WorkspacesListPanelContent, { ...props });
2708
2515
  };
2709
2516
  const WorkspacesListPanelPreview = () => {
2710
- const { theme: theme2 } = useTheme();
2517
+ const { theme } = useTheme();
2711
2518
  return /* @__PURE__ */ jsxs(
2712
2519
  "div",
2713
2520
  {
2714
2521
  style: {
2715
2522
  padding: "12px",
2716
- fontSize: `${theme2.fontSizes[0]}px`,
2717
- fontFamily: theme2.fonts.body,
2718
- color: theme2.colors.text,
2523
+ fontSize: `${theme.fontSizes[0]}px`,
2524
+ fontFamily: theme.fonts.body,
2525
+ color: theme.colors.text,
2719
2526
  display: "flex",
2720
2527
  flexDirection: "column",
2721
2528
  gap: "8px"
@@ -2728,10 +2535,10 @@ const WorkspacesListPanelPreview = () => {
2728
2535
  display: "flex",
2729
2536
  alignItems: "center",
2730
2537
  gap: "6px",
2731
- fontWeight: theme2.fontWeights.semibold
2538
+ fontWeight: theme.fontWeights.semibold
2732
2539
  },
2733
2540
  children: [
2734
- /* @__PURE__ */ jsx(Layers, { size: 16, style: { color: theme2.colors.primary } }),
2541
+ /* @__PURE__ */ jsx(Layers, { size: 16, style: { color: theme.colors.primary } }),
2735
2542
  /* @__PURE__ */ jsx("span", { children: "Workspaces" })
2736
2543
  ]
2737
2544
  }
@@ -2740,9 +2547,9 @@ const WorkspacesListPanelPreview = () => {
2740
2547
  "div",
2741
2548
  {
2742
2549
  style: {
2743
- fontSize: `${theme2.fontSizes[0]}px`,
2744
- fontFamily: theme2.fonts.body,
2745
- color: theme2.colors.textSecondary,
2550
+ fontSize: `${theme.fontSizes[0]}px`,
2551
+ fontFamily: theme.fonts.body,
2552
+ color: theme.colors.textSecondary,
2746
2553
  marginTop: "4px"
2747
2554
  },
2748
2555
  children: "Browse and manage your workspaces"
@@ -2756,7 +2563,7 @@ const DependencyInfoModal = ({
2756
2563
  isOpen,
2757
2564
  onClose
2758
2565
  }) => {
2759
- const { theme: theme2 } = useTheme();
2566
+ const { theme } = useTheme();
2760
2567
  if (!isOpen) return null;
2761
2568
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
2762
2569
  "div",
@@ -2767,8 +2574,8 @@ const DependencyInfoModal = ({
2767
2574
  left: 0,
2768
2575
  right: 0,
2769
2576
  bottom: 0,
2770
- backgroundColor: theme2.colors.muted,
2771
- zIndex: theme2.zIndices[4],
2577
+ backgroundColor: theme.colors.muted,
2578
+ zIndex: theme.zIndices[4],
2772
2579
  display: "flex",
2773
2580
  alignItems: "center",
2774
2581
  justifyContent: "center"
@@ -2778,15 +2585,15 @@ const DependencyInfoModal = ({
2778
2585
  "div",
2779
2586
  {
2780
2587
  style: {
2781
- backgroundColor: theme2.colors.background,
2782
- borderRadius: `${theme2.radii[3]}px`,
2588
+ backgroundColor: theme.colors.background,
2589
+ borderRadius: `${theme.radii[3]}px`,
2783
2590
  maxWidth: "600px",
2784
2591
  maxHeight: "80vh",
2785
2592
  width: "90%",
2786
2593
  overflow: "hidden",
2787
2594
  display: "flex",
2788
2595
  flexDirection: "column",
2789
- boxShadow: theme2.shadows[3]
2596
+ boxShadow: theme.shadows[3]
2790
2597
  },
2791
2598
  onClick: (e) => e.stopPropagation(),
2792
2599
  children: [
@@ -2794,8 +2601,8 @@ const DependencyInfoModal = ({
2794
2601
  "div",
2795
2602
  {
2796
2603
  style: {
2797
- padding: `${theme2.space[4]}px`,
2798
- borderBottom: `1px solid ${theme2.colors.border}`,
2604
+ padding: `${theme.space[4]}px`,
2605
+ borderBottom: `1px solid ${theme.colors.border}`,
2799
2606
  display: "flex",
2800
2607
  alignItems: "center",
2801
2608
  justifyContent: "space-between"
@@ -2805,12 +2612,12 @@ const DependencyInfoModal = ({
2805
2612
  "h2",
2806
2613
  {
2807
2614
  style: {
2808
- fontSize: `${theme2.fontSizes[4]}px`,
2809
- fontWeight: theme2.fontWeights.semibold,
2810
- color: theme2.colors.text,
2615
+ fontSize: `${theme.fontSizes[4]}px`,
2616
+ fontWeight: theme.fontWeights.semibold,
2617
+ color: theme.colors.text,
2811
2618
  display: "flex",
2812
2619
  alignItems: "center",
2813
- gap: `${theme2.space[2]}px`,
2620
+ gap: `${theme.space[2]}px`,
2814
2621
  margin: 0
2815
2622
  },
2816
2623
  children: [
@@ -2826,9 +2633,9 @@ const DependencyInfoModal = ({
2826
2633
  style: {
2827
2634
  background: "none",
2828
2635
  border: "none",
2829
- color: theme2.colors.textSecondary,
2636
+ color: theme.colors.textSecondary,
2830
2637
  cursor: "pointer",
2831
- padding: `${theme2.space[1]}px`
2638
+ padding: `${theme.space[1]}px`
2832
2639
  },
2833
2640
  children: /* @__PURE__ */ jsx(X, { size: 20 })
2834
2641
  }
@@ -2840,7 +2647,7 @@ const DependencyInfoModal = ({
2840
2647
  "div",
2841
2648
  {
2842
2649
  style: {
2843
- padding: `${theme2.space[4]}px`,
2650
+ padding: `${theme.space[4]}px`,
2844
2651
  overflow: "auto",
2845
2652
  flex: 1
2846
2653
  },
@@ -2850,33 +2657,33 @@ const DependencyInfoModal = ({
2850
2657
  {
2851
2658
  icon: /* @__PURE__ */ jsx(Package, { size: 18 }),
2852
2659
  title: "Dependency Types",
2853
- theme: theme2,
2660
+ theme,
2854
2661
  children: [
2855
2662
  /* @__PURE__ */ jsx(
2856
2663
  InfoItem,
2857
2664
  {
2858
- badge: { text: "prod", color: theme2.colors.primary },
2665
+ badge: { text: "prod", color: theme.colors.primary },
2859
2666
  title: "Production Dependencies",
2860
2667
  description: "Required for your application to run in production. These are bundled with your app and affect its size and security.",
2861
- theme: theme2
2668
+ theme
2862
2669
  }
2863
2670
  ),
2864
2671
  /* @__PURE__ */ jsx(
2865
2672
  InfoItem,
2866
2673
  {
2867
- badge: { text: "dev", color: theme2.colors.secondary },
2674
+ badge: { text: "dev", color: theme.colors.secondary },
2868
2675
  title: "Development Dependencies",
2869
2676
  description: "Only needed during development (build tools, testing, linters). Not included in production builds.",
2870
- theme: theme2
2677
+ theme
2871
2678
  }
2872
2679
  ),
2873
2680
  /* @__PURE__ */ jsx(
2874
2681
  InfoItem,
2875
2682
  {
2876
- badge: { text: "peer", color: theme2.colors.accent },
2683
+ badge: { text: "peer", color: theme.colors.accent },
2877
2684
  title: "Peer Dependencies",
2878
2685
  description: "Expected to be provided by the consumer of your package. Important for library authors to specify compatibility.",
2879
- theme: theme2
2686
+ theme
2880
2687
  }
2881
2688
  )
2882
2689
  ]
@@ -2887,24 +2694,24 @@ const DependencyInfoModal = ({
2887
2694
  {
2888
2695
  icon: /* @__PURE__ */ jsx(Scale, { size: 18 }),
2889
2696
  title: "Common Licenses",
2890
- theme: theme2,
2697
+ theme,
2891
2698
  children: [
2892
2699
  /* @__PURE__ */ jsx(
2893
2700
  InfoItem,
2894
2701
  {
2895
- badge: { text: "MIT", color: theme2.colors.success },
2702
+ badge: { text: "MIT", color: theme.colors.success },
2896
2703
  title: "Permissive Licenses (MIT, Apache, BSD)",
2897
2704
  description: "Few restrictions. Can use in commercial projects. Must include copyright notice.",
2898
- theme: theme2
2705
+ theme
2899
2706
  }
2900
2707
  ),
2901
2708
  /* @__PURE__ */ jsx(
2902
2709
  InfoItem,
2903
2710
  {
2904
- badge: { text: "GPL", color: theme2.colors.warning },
2711
+ badge: { text: "GPL", color: theme.colors.warning },
2905
2712
  title: "Copyleft Licenses (GPL, LGPL, AGPL)",
2906
2713
  description: "Requires sharing source code of derivative works. Can impact your project's licensing.",
2907
- theme: theme2
2714
+ theme
2908
2715
  }
2909
2716
  )
2910
2717
  ]
@@ -2919,18 +2726,18 @@ const DependencyInfoModal = ({
2919
2726
  }
2920
2727
  ) });
2921
2728
  };
2922
- const Section = ({ icon, title, theme: theme2, children }) => /* @__PURE__ */ jsxs("div", { style: { marginBottom: `${theme2.space[5]}px` }, children: [
2729
+ const Section = ({ icon, title, theme, children }) => /* @__PURE__ */ jsxs("div", { style: { marginBottom: `${theme.space[5]}px` }, children: [
2923
2730
  /* @__PURE__ */ jsxs(
2924
2731
  "h3",
2925
2732
  {
2926
2733
  style: {
2927
- fontSize: `${theme2.fontSizes[2]}px`,
2928
- fontWeight: theme2.fontWeights.semibold,
2929
- color: theme2.colors.text,
2930
- marginBottom: `${theme2.space[3]}px`,
2734
+ fontSize: `${theme.fontSizes[2]}px`,
2735
+ fontWeight: theme.fontWeights.semibold,
2736
+ color: theme.colors.text,
2737
+ marginBottom: `${theme.space[3]}px`,
2931
2738
  display: "flex",
2932
2739
  alignItems: "center",
2933
- gap: `${theme2.space[2]}px`
2740
+ gap: `${theme.space[2]}px`
2934
2741
  },
2935
2742
  children: [
2936
2743
  icon,
@@ -2944,20 +2751,20 @@ const Section = ({ icon, title, theme: theme2, children }) => /* @__PURE__ */ js
2944
2751
  style: {
2945
2752
  display: "flex",
2946
2753
  flexDirection: "column",
2947
- gap: `${theme2.space[2]}px`
2754
+ gap: `${theme.space[2]}px`
2948
2755
  },
2949
2756
  children
2950
2757
  }
2951
2758
  )
2952
2759
  ] });
2953
- const InfoItem = ({ badge, title, description, theme: theme2 }) => /* @__PURE__ */ jsxs(
2760
+ const InfoItem = ({ badge, title, description, theme }) => /* @__PURE__ */ jsxs(
2954
2761
  "div",
2955
2762
  {
2956
2763
  style: {
2957
- padding: `${theme2.space[3]}px`,
2958
- backgroundColor: theme2.colors.backgroundSecondary,
2959
- borderRadius: `${theme2.radii[2]}px`,
2960
- border: `1px solid ${theme2.colors.border}`
2764
+ padding: `${theme.space[3]}px`,
2765
+ backgroundColor: theme.colors.backgroundSecondary,
2766
+ borderRadius: `${theme.radii[2]}px`,
2767
+ border: `1px solid ${theme.colors.border}`
2961
2768
  },
2962
2769
  children: [
2963
2770
  /* @__PURE__ */ jsxs(
@@ -2966,18 +2773,18 @@ const InfoItem = ({ badge, title, description, theme: theme2 }) => /* @__PURE__
2966
2773
  style: {
2967
2774
  display: "flex",
2968
2775
  alignItems: "center",
2969
- gap: `${theme2.space[2]}px`,
2970
- marginBottom: `${theme2.space[1]}px`
2776
+ gap: `${theme.space[2]}px`,
2777
+ marginBottom: `${theme.space[1]}px`
2971
2778
  },
2972
2779
  children: [
2973
2780
  /* @__PURE__ */ jsx(
2974
2781
  "span",
2975
2782
  {
2976
2783
  style: {
2977
- padding: `${theme2.space[1]}px ${theme2.space[2]}px`,
2978
- borderRadius: `${theme2.radii[1]}px`,
2979
- fontSize: `${theme2.fontSizes[0]}px`,
2980
- fontWeight: theme2.fontWeights.medium,
2784
+ padding: `${theme.space[1]}px ${theme.space[2]}px`,
2785
+ borderRadius: `${theme.radii[1]}px`,
2786
+ fontSize: `${theme.fontSizes[0]}px`,
2787
+ fontWeight: theme.fontWeights.medium,
2981
2788
  backgroundColor: `${badge.color}20`,
2982
2789
  color: badge.color
2983
2790
  },
@@ -2988,9 +2795,9 @@ const InfoItem = ({ badge, title, description, theme: theme2 }) => /* @__PURE__
2988
2795
  "span",
2989
2796
  {
2990
2797
  style: {
2991
- fontSize: `${theme2.fontSizes[1]}px`,
2992
- fontWeight: theme2.fontWeights.medium,
2993
- color: theme2.colors.text
2798
+ fontSize: `${theme.fontSizes[1]}px`,
2799
+ fontWeight: theme.fontWeights.medium,
2800
+ color: theme.colors.text
2994
2801
  },
2995
2802
  children: title
2996
2803
  }
@@ -3002,9 +2809,9 @@ const InfoItem = ({ badge, title, description, theme: theme2 }) => /* @__PURE__
3002
2809
  "div",
3003
2810
  {
3004
2811
  style: {
3005
- fontSize: `${theme2.fontSizes[1]}px`,
3006
- color: theme2.colors.textSecondary,
3007
- lineHeight: theme2.lineHeights.relaxed
2812
+ fontSize: `${theme.fontSizes[1]}px`,
2813
+ color: theme.colors.textSecondary,
2814
+ lineHeight: theme.lineHeights.relaxed
3008
2815
  },
3009
2816
  children: description
3010
2817
  }
@@ -3013,15 +2820,15 @@ const InfoItem = ({ badge, title, description, theme: theme2 }) => /* @__PURE__
3013
2820
  }
3014
2821
  );
3015
2822
  const DependencyRow = ({ dependency }) => {
3016
- const { theme: theme2 } = useTheme();
2823
+ const { theme } = useTheme();
3017
2824
  const [isHovered, setIsHovered] = useState(false);
3018
2825
  const [copied, setCopied] = useState(false);
3019
2826
  const getDependencyTypeBadgeStyle = (type) => {
3020
2827
  const baseStyle = {
3021
- padding: `${theme2.space[1]}px ${theme2.space[2]}px`,
3022
- borderRadius: `${theme2.radii[1]}px`,
3023
- fontSize: `${theme2.fontSizes[0]}px`,
3024
- fontWeight: theme2.fontWeights.medium,
2828
+ padding: `${theme.space[1]}px ${theme.space[2]}px`,
2829
+ borderRadius: `${theme.radii[1]}px`,
2830
+ fontSize: `${theme.fontSizes[0]}px`,
2831
+ fontWeight: theme.fontWeights.medium,
3025
2832
  minWidth: "36px",
3026
2833
  textAlign: "center"
3027
2834
  };
@@ -3029,26 +2836,26 @@ const DependencyRow = ({ dependency }) => {
3029
2836
  case "production":
3030
2837
  return {
3031
2838
  ...baseStyle,
3032
- backgroundColor: `${theme2.colors.primary}20`,
3033
- color: theme2.colors.primary
2839
+ backgroundColor: `${theme.colors.primary}20`,
2840
+ color: theme.colors.primary
3034
2841
  };
3035
2842
  case "development":
3036
2843
  return {
3037
2844
  ...baseStyle,
3038
- backgroundColor: `${theme2.colors.secondary}20`,
3039
- color: theme2.colors.secondary
2845
+ backgroundColor: `${theme.colors.secondary}20`,
2846
+ color: theme.colors.secondary
3040
2847
  };
3041
2848
  case "peer":
3042
2849
  return {
3043
2850
  ...baseStyle,
3044
- backgroundColor: `${theme2.colors.accent}20`,
3045
- color: theme2.colors.accent
2851
+ backgroundColor: `${theme.colors.accent}20`,
2852
+ color: theme.colors.accent
3046
2853
  };
3047
2854
  default:
3048
2855
  return {
3049
2856
  ...baseStyle,
3050
- backgroundColor: theme2.colors.backgroundLight,
3051
- color: theme2.colors.textSecondary
2857
+ backgroundColor: theme.colors.backgroundLight,
2858
+ color: theme.colors.textSecondary
3052
2859
  };
3053
2860
  }
3054
2861
  };
@@ -3065,8 +2872,8 @@ const DependencyRow = ({ dependency }) => {
3065
2872
  }
3066
2873
  };
3067
2874
  const actionButtonStyle = {
3068
- padding: `${theme2.space[1]}px`,
3069
- borderRadius: `${theme2.radii[1]}px`,
2875
+ padding: `${theme.space[1]}px`,
2876
+ borderRadius: `${theme.radii[1]}px`,
3070
2877
  display: "flex",
3071
2878
  alignItems: "center",
3072
2879
  justifyContent: "center",
@@ -3084,11 +2891,11 @@ const DependencyRow = ({ dependency }) => {
3084
2891
  display: "flex",
3085
2892
  alignItems: "center",
3086
2893
  justifyContent: "space-between",
3087
- padding: `${theme2.space[2]}px ${theme2.space[3]}px`,
3088
- backgroundColor: theme2.colors.background,
3089
- borderRadius: `${theme2.radii[1]}px`,
3090
- fontSize: `${theme2.fontSizes[1]}px`,
3091
- border: `1px solid ${theme2.colors.border}`,
2894
+ padding: `${theme.space[2]}px ${theme.space[3]}px`,
2895
+ backgroundColor: theme.colors.background,
2896
+ borderRadius: `${theme.radii[1]}px`,
2897
+ fontSize: `${theme.fontSizes[1]}px`,
2898
+ border: `1px solid ${theme.colors.border}`,
3092
2899
  transition: "all 0.2s"
3093
2900
  },
3094
2901
  onMouseEnter: () => setIsHovered(true),
@@ -3100,7 +2907,7 @@ const DependencyRow = ({ dependency }) => {
3100
2907
  style: {
3101
2908
  display: "flex",
3102
2909
  alignItems: "center",
3103
- gap: `${theme2.space[2]}px`,
2910
+ gap: `${theme.space[2]}px`,
3104
2911
  flex: 1,
3105
2912
  minWidth: 0
3106
2913
  },
@@ -3110,8 +2917,8 @@ const DependencyRow = ({ dependency }) => {
3110
2917
  "span",
3111
2918
  {
3112
2919
  style: {
3113
- fontWeight: theme2.fontWeights.medium,
3114
- color: theme2.colors.text,
2920
+ fontWeight: theme.fontWeights.medium,
2921
+ color: theme.colors.text,
3115
2922
  overflow: "hidden",
3116
2923
  textOverflow: "ellipsis",
3117
2924
  whiteSpace: "nowrap"
@@ -3127,7 +2934,7 @@ const DependencyRow = ({ dependency }) => {
3127
2934
  rel: "noopener noreferrer",
3128
2935
  style: {
3129
2936
  ...actionButtonStyle,
3130
- color: theme2.colors.textSecondary,
2937
+ color: theme.colors.textSecondary,
3131
2938
  textDecoration: "none",
3132
2939
  flexShrink: 0
3133
2940
  },
@@ -3154,13 +2961,13 @@ const DependencyRow = ({ dependency }) => {
3154
2961
  onClick: handleCopy,
3155
2962
  style: {
3156
2963
  ...actionButtonStyle,
3157
- color: copied ? theme2.colors.success || "#10b981" : theme2.colors.textSecondary
2964
+ color: copied ? theme.colors.success || "#10b981" : theme.colors.textSecondary
3158
2965
  },
3159
2966
  title: copied ? "Copied!" : `Copy ${dependency.name}@${dependency.version}`,
3160
2967
  children: copied ? /* @__PURE__ */ jsx(Check, { size: 12 }) : /* @__PURE__ */ jsx(Copy, { size: 12 })
3161
2968
  }
3162
2969
  ),
3163
- /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: dependency.version })
2970
+ /* @__PURE__ */ jsx("span", { style: { color: theme.colors.textSecondary }, children: dependency.version })
3164
2971
  ]
3165
2972
  }
3166
2973
  )
@@ -3175,7 +2982,7 @@ const FilterBar = ({
3175
2982
  onSearchChange,
3176
2983
  counts
3177
2984
  }) => {
3178
- const { theme: theme2 } = useTheme();
2985
+ const { theme } = useTheme();
3179
2986
  const availableFilters = [
3180
2987
  ...counts.peer > 0 ? ["peer"] : [],
3181
2988
  ...counts.production > 0 ? ["production"] : [],
@@ -3188,7 +2995,7 @@ const FilterBar = ({
3188
2995
  style: {
3189
2996
  display: "flex",
3190
2997
  flexDirection: "column",
3191
- gap: `${theme2.space[2]}px`
2998
+ gap: `${theme.space[2]}px`
3192
2999
  },
3193
3000
  children: [
3194
3001
  /* @__PURE__ */ jsxs(
@@ -3206,8 +3013,8 @@ const FilterBar = ({
3206
3013
  size: 14,
3207
3014
  style: {
3208
3015
  position: "absolute",
3209
- left: `${theme2.space[3]}px`,
3210
- color: theme2.colors.textSecondary,
3016
+ left: `${theme.space[3]}px`,
3017
+ color: theme.colors.textSecondary,
3211
3018
  pointerEvents: "none"
3212
3019
  }
3213
3020
  }
@@ -3221,13 +3028,13 @@ const FilterBar = ({
3221
3028
  onChange: (e) => onSearchChange(e.target.value),
3222
3029
  style: {
3223
3030
  width: "100%",
3224
- padding: `${theme2.space[2]}px ${theme2.space[5]}px`,
3225
- borderRadius: `${theme2.radii[2]}px`,
3226
- border: `1px solid ${theme2.colors.border}`,
3227
- backgroundColor: theme2.colors.backgroundSecondary,
3228
- color: theme2.colors.text,
3229
- fontSize: `${theme2.fontSizes[1]}px`,
3230
- fontFamily: theme2.fonts.body,
3031
+ padding: `${theme.space[2]}px ${theme.space[5]}px`,
3032
+ borderRadius: `${theme.radii[2]}px`,
3033
+ border: `1px solid ${theme.colors.border}`,
3034
+ backgroundColor: theme.colors.backgroundSecondary,
3035
+ color: theme.colors.text,
3036
+ fontSize: `${theme.fontSizes[1]}px`,
3037
+ fontFamily: theme.fonts.body,
3231
3038
  outline: "none",
3232
3039
  transition: "all 0.2s"
3233
3040
  }
@@ -3239,24 +3046,24 @@ const FilterBar = ({
3239
3046
  onClick: () => onSearchChange(""),
3240
3047
  style: {
3241
3048
  position: "absolute",
3242
- right: `${theme2.space[2]}px`,
3243
- padding: `${theme2.space[1]}px`,
3049
+ right: `${theme.space[2]}px`,
3050
+ padding: `${theme.space[1]}px`,
3244
3051
  display: "flex",
3245
3052
  alignItems: "center",
3246
3053
  justifyContent: "center",
3247
3054
  backgroundColor: "transparent",
3248
3055
  border: "none",
3249
3056
  cursor: "pointer",
3250
- borderRadius: `${theme2.radii[1]}px`
3057
+ borderRadius: `${theme.radii[1]}px`
3251
3058
  },
3252
3059
  title: "Clear search",
3253
- children: /* @__PURE__ */ jsx(X, { size: 14, color: theme2.colors.textSecondary })
3060
+ children: /* @__PURE__ */ jsx(X, { size: 14, color: theme.colors.textSecondary })
3254
3061
  }
3255
3062
  )
3256
3063
  ]
3257
3064
  }
3258
3065
  ),
3259
- showFilters && /* @__PURE__ */ jsx("div", { style: { display: "flex", gap: `${theme2.space[1]}px`, width: "100%" }, children: availableFilters.map((type) => {
3066
+ showFilters && /* @__PURE__ */ jsx("div", { style: { display: "flex", gap: `${theme.space[1]}px`, width: "100%" }, children: availableFilters.map((type) => {
3260
3067
  const isActive = activeFilters.has(type);
3261
3068
  return /* @__PURE__ */ jsxs(
3262
3069
  "button",
@@ -3264,14 +3071,14 @@ const FilterBar = ({
3264
3071
  onClick: () => onToggleFilter(type),
3265
3072
  style: {
3266
3073
  flex: 1,
3267
- padding: `${theme2.space[1]}px ${theme2.space[2]}px`,
3268
- fontSize: `${theme2.fontSizes[0]}px`,
3269
- fontWeight: theme2.fontWeights.medium,
3270
- fontFamily: theme2.fonts.body,
3271
- borderRadius: `${theme2.radii[1]}px`,
3272
- border: `1px solid ${isActive ? theme2.colors.primary : theme2.colors.border}`,
3273
- backgroundColor: isActive ? `${theme2.colors.primary}20` : theme2.colors.backgroundSecondary,
3274
- color: isActive ? theme2.colors.primary : theme2.colors.text,
3074
+ padding: `${theme.space[1]}px ${theme.space[2]}px`,
3075
+ fontSize: `${theme.fontSizes[0]}px`,
3076
+ fontWeight: theme.fontWeights.medium,
3077
+ fontFamily: theme.fonts.body,
3078
+ borderRadius: `${theme.radii[1]}px`,
3079
+ border: `1px solid ${isActive ? theme.colors.primary : theme.colors.border}`,
3080
+ backgroundColor: isActive ? `${theme.colors.primary}20` : theme.colors.backgroundSecondary,
3081
+ color: isActive ? theme.colors.primary : theme.colors.text,
3275
3082
  cursor: "pointer",
3276
3083
  transition: "all 0.2s"
3277
3084
  },
@@ -3280,7 +3087,7 @@ const FilterBar = ({
3280
3087
  /* @__PURE__ */ jsxs(
3281
3088
  "span",
3282
3089
  {
3283
- style: { marginLeft: `${theme2.space[1]}px`, opacity: 0.7 },
3090
+ style: { marginLeft: `${theme.space[1]}px`, opacity: 0.7 },
3284
3091
  children: [
3285
3092
  "(",
3286
3093
  counts[type],
@@ -3330,7 +3137,7 @@ const DependenciesPanelContent = ({
3330
3137
  context
3331
3138
  }) => {
3332
3139
  var _a;
3333
- const { theme: theme2 } = useTheme();
3140
+ const { theme } = useTheme();
3334
3141
  const [selectedPackagePath, setSelectedPackagePath] = useState(
3335
3142
  null
3336
3143
  );
@@ -3401,14 +3208,14 @@ const DependenciesPanelContent = ({
3401
3208
  "div",
3402
3209
  {
3403
3210
  style: {
3404
- padding: `${theme2.space[3]}px`,
3211
+ padding: `${theme.space[3]}px`,
3405
3212
  height: "100%",
3406
3213
  display: "flex",
3407
3214
  alignItems: "center",
3408
3215
  justifyContent: "center",
3409
- color: theme2.colors.textSecondary,
3410
- backgroundColor: theme2.colors.background,
3411
- fontFamily: theme2.fonts.body
3216
+ color: theme.colors.textSecondary,
3217
+ backgroundColor: theme.colors.background,
3218
+ fontFamily: theme.fonts.body
3412
3219
  },
3413
3220
  children: "Loading packages..."
3414
3221
  }
@@ -3419,16 +3226,16 @@ const DependenciesPanelContent = ({
3419
3226
  "div",
3420
3227
  {
3421
3228
  style: {
3422
- padding: `${theme2.space[3]}px`,
3229
+ padding: `${theme.space[3]}px`,
3423
3230
  height: "100%",
3424
3231
  display: "flex",
3425
3232
  flexDirection: "column",
3426
3233
  alignItems: "center",
3427
3234
  justifyContent: "center",
3428
- gap: `${theme2.space[2]}px`,
3429
- color: theme2.colors.textSecondary,
3430
- backgroundColor: theme2.colors.background,
3431
- fontFamily: theme2.fonts.body
3235
+ gap: `${theme.space[2]}px`,
3236
+ color: theme.colors.textSecondary,
3237
+ backgroundColor: theme.colors.background,
3238
+ fontFamily: theme.fonts.body
3432
3239
  },
3433
3240
  children: [
3434
3241
  /* @__PURE__ */ jsx(Package, { size: 32 }),
@@ -3444,9 +3251,9 @@ const DependenciesPanelContent = ({
3444
3251
  height: "100%",
3445
3252
  display: "flex",
3446
3253
  flexDirection: "column",
3447
- backgroundColor: theme2.colors.background,
3448
- color: theme2.colors.text,
3449
- fontFamily: theme2.fonts.body,
3254
+ backgroundColor: theme.colors.background,
3255
+ color: theme.colors.text,
3256
+ fontFamily: theme.fonts.body,
3450
3257
  overflow: "hidden"
3451
3258
  },
3452
3259
  children: [
@@ -3455,12 +3262,12 @@ const DependenciesPanelContent = ({
3455
3262
  {
3456
3263
  style: {
3457
3264
  flexShrink: 0,
3458
- padding: `${theme2.space[3]}px`,
3459
- paddingBottom: `${theme2.space[2]}px`,
3265
+ padding: `${theme.space[3]}px`,
3266
+ paddingBottom: `${theme.space[2]}px`,
3460
3267
  display: "flex",
3461
3268
  flexDirection: "column",
3462
- gap: `${theme2.space[2]}px`,
3463
- borderBottom: `1px solid ${theme2.colors.border}`
3269
+ gap: `${theme.space[2]}px`,
3270
+ borderBottom: `1px solid ${theme.colors.border}`
3464
3271
  },
3465
3272
  children: [
3466
3273
  /* @__PURE__ */ jsxs(
@@ -3476,12 +3283,12 @@ const DependenciesPanelContent = ({
3476
3283
  "h3",
3477
3284
  {
3478
3285
  style: {
3479
- fontSize: `${theme2.fontSizes[2]}px`,
3480
- fontWeight: theme2.fontWeights.semibold,
3481
- color: theme2.colors.text,
3286
+ fontSize: `${theme.fontSizes[2]}px`,
3287
+ fontWeight: theme.fontWeights.semibold,
3288
+ color: theme.colors.text,
3482
3289
  display: "flex",
3483
3290
  alignItems: "center",
3484
- gap: `${theme2.space[2]}px`,
3291
+ gap: `${theme.space[2]}px`,
3485
3292
  margin: 0
3486
3293
  },
3487
3294
  children: packages.length > 1 ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -3491,9 +3298,9 @@ const DependenciesPanelContent = ({
3491
3298
  "span",
3492
3299
  {
3493
3300
  style: {
3494
- fontSize: `${theme2.fontSizes[0]}px`,
3495
- fontWeight: theme2.fontWeights.body,
3496
- color: theme2.colors.textSecondary
3301
+ fontSize: `${theme.fontSizes[0]}px`,
3302
+ fontWeight: theme.fontWeights.body,
3303
+ color: theme.colors.textSecondary
3497
3304
  },
3498
3305
  children: [
3499
3306
  "(",
@@ -3513,18 +3320,18 @@ const DependenciesPanelContent = ({
3513
3320
  {
3514
3321
  onClick: () => setShowInfoModal(true),
3515
3322
  style: {
3516
- padding: `${theme2.space[1]}px ${theme2.space[2]}px`,
3517
- fontSize: `${theme2.fontSizes[0]}px`,
3518
- fontWeight: theme2.fontWeights.medium,
3519
- fontFamily: theme2.fonts.body,
3520
- borderRadius: `${theme2.radii[1]}px`,
3521
- border: `1px solid ${theme2.colors.border}`,
3522
- backgroundColor: theme2.colors.backgroundSecondary,
3523
- color: theme2.colors.primary,
3323
+ padding: `${theme.space[1]}px ${theme.space[2]}px`,
3324
+ fontSize: `${theme.fontSizes[0]}px`,
3325
+ fontWeight: theme.fontWeights.medium,
3326
+ fontFamily: theme.fonts.body,
3327
+ borderRadius: `${theme.radii[1]}px`,
3328
+ border: `1px solid ${theme.colors.border}`,
3329
+ backgroundColor: theme.colors.backgroundSecondary,
3330
+ color: theme.colors.primary,
3524
3331
  cursor: "pointer",
3525
3332
  display: "flex",
3526
3333
  alignItems: "center",
3527
- gap: `${theme2.space[1]}px`,
3334
+ gap: `${theme.space[1]}px`,
3528
3335
  transition: "all 0.2s"
3529
3336
  },
3530
3337
  children: [
@@ -3543,13 +3350,13 @@ const DependenciesPanelContent = ({
3543
3350
  onChange: (e) => setSelectedPackagePath(e.target.value === "__none__" ? null : e.target.value),
3544
3351
  style: {
3545
3352
  width: "100%",
3546
- padding: `${theme2.space[2]}px`,
3547
- borderRadius: `${theme2.radii[1]}px`,
3548
- border: `1px solid ${theme2.colors.border}`,
3549
- backgroundColor: theme2.colors.backgroundSecondary,
3550
- color: theme2.colors.text,
3551
- fontSize: `${theme2.fontSizes[1]}px`,
3552
- fontFamily: theme2.fonts.body,
3353
+ padding: `${theme.space[2]}px`,
3354
+ borderRadius: `${theme.radii[1]}px`,
3355
+ border: `1px solid ${theme.colors.border}`,
3356
+ backgroundColor: theme.colors.backgroundSecondary,
3357
+ color: theme.colors.text,
3358
+ fontSize: `${theme.fontSizes[1]}px`,
3359
+ fontFamily: theme.fonts.body,
3553
3360
  cursor: "pointer"
3554
3361
  },
3555
3362
  children: packages.map((pkg) => /* @__PURE__ */ jsxs("option", { value: pkg.packageData.path, children: [
@@ -3564,8 +3371,8 @@ const DependenciesPanelContent = ({
3564
3371
  "div",
3565
3372
  {
3566
3373
  style: {
3567
- fontSize: `${theme2.fontSizes[0]}px`,
3568
- color: theme2.colors.textSecondary
3374
+ fontSize: `${theme.fontSizes[0]}px`,
3375
+ color: theme.colors.textSecondary
3569
3376
  },
3570
3377
  children: [
3571
3378
  selectedPackage.packageData.name,
@@ -3594,16 +3401,16 @@ const DependenciesPanelContent = ({
3594
3401
  style: {
3595
3402
  flex: 1,
3596
3403
  overflow: "auto",
3597
- padding: `${theme2.space[2]}px ${theme2.space[3]}px ${theme2.space[3]}px`
3404
+ padding: `${theme.space[2]}px ${theme.space[3]}px ${theme.space[3]}px`
3598
3405
  },
3599
3406
  children: [
3600
3407
  /* @__PURE__ */ jsxs(
3601
3408
  "div",
3602
3409
  {
3603
3410
  style: {
3604
- fontSize: `${theme2.fontSizes[0]}px`,
3605
- color: theme2.colors.textSecondary,
3606
- marginBottom: `${theme2.space[2]}px`
3411
+ fontSize: `${theme.fontSizes[0]}px`,
3412
+ color: theme.colors.textSecondary,
3413
+ marginBottom: `${theme.space[2]}px`
3607
3414
  },
3608
3415
  children: [
3609
3416
  "Showing ",
@@ -3620,16 +3427,16 @@ const DependenciesPanelContent = ({
3620
3427
  style: {
3621
3428
  display: "flex",
3622
3429
  flexDirection: "column",
3623
- gap: `${theme2.space[1]}px`
3430
+ gap: `${theme.space[1]}px`
3624
3431
  },
3625
3432
  children: filteredDependencies.length === 0 ? /* @__PURE__ */ jsx(
3626
3433
  "div",
3627
3434
  {
3628
3435
  style: {
3629
- padding: `${theme2.space[3]}px`,
3436
+ padding: `${theme.space[3]}px`,
3630
3437
  textAlign: "center",
3631
- color: theme2.colors.textSecondary,
3632
- fontSize: `${theme2.fontSizes[1]}px`
3438
+ color: theme.colors.textSecondary,
3439
+ fontSize: `${theme.fontSizes[1]}px`
3633
3440
  },
3634
3441
  children: "No dependencies match your filters"
3635
3442
  }
@@ -3653,8 +3460,8 @@ const DependenciesPanelContent = ({
3653
3460
  display: "flex",
3654
3461
  alignItems: "center",
3655
3462
  justifyContent: "center",
3656
- color: theme2.colors.textSecondary,
3657
- fontSize: `${theme2.fontSizes[1]}px`
3463
+ color: theme.colors.textSecondary,
3464
+ fontSize: `${theme.fontSizes[1]}px`
3658
3465
  },
3659
3466
  children: "Select a package to view its dependencies"
3660
3467
  }
@@ -3671,7 +3478,7 @@ const DependenciesPanelContent = ({
3671
3478
  );
3672
3479
  };
3673
3480
  const DependenciesPanel = (props) => {
3674
- return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(DependenciesPanelContent, { ...props }) });
3481
+ return /* @__PURE__ */ jsx(DependenciesPanelContent, { ...props });
3675
3482
  };
3676
3483
  const PANEL_ID$3 = "industry-theme.local-projects";
3677
3484
  const filterProjectsTool = {