@industry-theme/github-panels 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/panels.bundle.js
CHANGED
|
@@ -1,34 +1,5 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
1
2
|
import React2, { createContext, useState, useEffect, useContext, forwardRef, createElement, useRef, useCallback, useMemo } from "react";
|
|
2
|
-
var jsxDevRuntime = { exports: {} };
|
|
3
|
-
var reactJsxDevRuntime_production = {};
|
|
4
|
-
/**
|
|
5
|
-
* @license React
|
|
6
|
-
* react-jsx-dev-runtime.production.js
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
var hasRequiredReactJsxDevRuntime_production;
|
|
14
|
-
function requireReactJsxDevRuntime_production() {
|
|
15
|
-
if (hasRequiredReactJsxDevRuntime_production) return reactJsxDevRuntime_production;
|
|
16
|
-
hasRequiredReactJsxDevRuntime_production = 1;
|
|
17
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
18
|
-
reactJsxDevRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
19
|
-
reactJsxDevRuntime_production.jsxDEV = void 0;
|
|
20
|
-
return reactJsxDevRuntime_production;
|
|
21
|
-
}
|
|
22
|
-
var hasRequiredJsxDevRuntime;
|
|
23
|
-
function requireJsxDevRuntime() {
|
|
24
|
-
if (hasRequiredJsxDevRuntime) return jsxDevRuntime.exports;
|
|
25
|
-
hasRequiredJsxDevRuntime = 1;
|
|
26
|
-
{
|
|
27
|
-
jsxDevRuntime.exports = requireReactJsxDevRuntime_production();
|
|
28
|
-
}
|
|
29
|
-
return jsxDevRuntime.exports;
|
|
30
|
-
}
|
|
31
|
-
var jsxDevRuntimeExports = requireJsxDevRuntime();
|
|
32
3
|
var terminalTheme = {
|
|
33
4
|
space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
|
|
34
5
|
fonts: {
|
|
@@ -349,7 +320,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
349
320
|
* This source code is licensed under the ISC license.
|
|
350
321
|
* See the LICENSE file in the root directory of this source tree.
|
|
351
322
|
*/
|
|
352
|
-
const __iconNode$
|
|
323
|
+
const __iconNode$a = [
|
|
353
324
|
["path", { d: "M10 12h4", key: "a56b0p" }],
|
|
354
325
|
["path", { d: "M10 8h4", key: "1sr2af" }],
|
|
355
326
|
["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
|
|
@@ -362,35 +333,23 @@ const __iconNode$b = [
|
|
|
362
333
|
],
|
|
363
334
|
["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
|
|
364
335
|
];
|
|
365
|
-
const Building2 = createLucideIcon("building-2", __iconNode$
|
|
336
|
+
const Building2 = createLucideIcon("building-2", __iconNode$a);
|
|
366
337
|
/**
|
|
367
338
|
* @license lucide-react v0.552.0 - ISC
|
|
368
339
|
*
|
|
369
340
|
* This source code is licensed under the ISC license.
|
|
370
341
|
* See the LICENSE file in the root directory of this source tree.
|
|
371
342
|
*/
|
|
372
|
-
const __iconNode$
|
|
373
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
343
|
+
const __iconNode$9 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
344
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$9);
|
|
374
345
|
/**
|
|
375
346
|
* @license lucide-react v0.552.0 - ISC
|
|
376
347
|
*
|
|
377
348
|
* This source code is licensed under the ISC license.
|
|
378
349
|
* See the LICENSE file in the root directory of this source tree.
|
|
379
350
|
*/
|
|
380
|
-
const __iconNode$
|
|
381
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
382
|
-
/**
|
|
383
|
-
* @license lucide-react v0.552.0 - ISC
|
|
384
|
-
*
|
|
385
|
-
* This source code is licensed under the ISC license.
|
|
386
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
387
|
-
*/
|
|
388
|
-
const __iconNode$8 = [
|
|
389
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
390
|
-
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
391
|
-
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
392
|
-
];
|
|
393
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$8);
|
|
351
|
+
const __iconNode$8 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
352
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$8);
|
|
394
353
|
/**
|
|
395
354
|
* @license lucide-react v0.552.0 - ISC
|
|
396
355
|
*
|
|
@@ -556,7 +515,7 @@ const GitHubProjectCard = ({
|
|
|
556
515
|
};
|
|
557
516
|
const starCount = repository.stargazers_count ?? 0;
|
|
558
517
|
const forkCount = repository.forks_count ?? 0;
|
|
559
|
-
return /* @__PURE__ */
|
|
518
|
+
return /* @__PURE__ */ jsxs(
|
|
560
519
|
"div",
|
|
561
520
|
{
|
|
562
521
|
style: {
|
|
@@ -574,7 +533,7 @@ const GitHubProjectCard = ({
|
|
|
574
533
|
onMouseEnter: () => setIsHovered(true),
|
|
575
534
|
onMouseLeave: () => setIsHovered(false),
|
|
576
535
|
children: [
|
|
577
|
-
repository.owner.avatar_url ? /* @__PURE__ */
|
|
536
|
+
repository.owner.avatar_url ? /* @__PURE__ */ jsx(
|
|
578
537
|
"img",
|
|
579
538
|
{
|
|
580
539
|
src: repository.owner.avatar_url,
|
|
@@ -585,16 +544,8 @@ const GitHubProjectCard = ({
|
|
|
585
544
|
borderRadius: "50%",
|
|
586
545
|
flexShrink: 0
|
|
587
546
|
}
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
false,
|
|
591
|
-
{
|
|
592
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
593
|
-
lineNumber: 127,
|
|
594
|
-
columnNumber: 9
|
|
595
|
-
},
|
|
596
|
-
void 0
|
|
597
|
-
) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
547
|
+
}
|
|
548
|
+
) : /* @__PURE__ */ jsx(
|
|
598
549
|
"div",
|
|
599
550
|
{
|
|
600
551
|
style: {
|
|
@@ -611,17 +562,9 @@ const GitHubProjectCard = ({
|
|
|
611
562
|
color: theme2.colors.textSecondary
|
|
612
563
|
},
|
|
613
564
|
children: ((_a = repository.owner.login[0]) == null ? void 0 : _a.toUpperCase()) || "?"
|
|
614
|
-
}
|
|
615
|
-
void 0,
|
|
616
|
-
false,
|
|
617
|
-
{
|
|
618
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
619
|
-
lineNumber: 138,
|
|
620
|
-
columnNumber: 9
|
|
621
|
-
},
|
|
622
|
-
void 0
|
|
565
|
+
}
|
|
623
566
|
),
|
|
624
|
-
/* @__PURE__ */
|
|
567
|
+
/* @__PURE__ */ jsxs(
|
|
625
568
|
"div",
|
|
626
569
|
{
|
|
627
570
|
style: {
|
|
@@ -632,8 +575,8 @@ const GitHubProjectCard = ({
|
|
|
632
575
|
gap: "4px"
|
|
633
576
|
},
|
|
634
577
|
children: [
|
|
635
|
-
/* @__PURE__ */
|
|
636
|
-
/* @__PURE__ */
|
|
578
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
579
|
+
/* @__PURE__ */ jsx(
|
|
637
580
|
"span",
|
|
638
581
|
{
|
|
639
582
|
style: {
|
|
@@ -645,32 +588,12 @@ const GitHubProjectCard = ({
|
|
|
645
588
|
whiteSpace: "nowrap"
|
|
646
589
|
},
|
|
647
590
|
children: repository.name
|
|
648
|
-
}
|
|
649
|
-
void 0,
|
|
650
|
-
false,
|
|
651
|
-
{
|
|
652
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
653
|
-
lineNumber: 169,
|
|
654
|
-
columnNumber: 11
|
|
655
|
-
},
|
|
656
|
-
void 0
|
|
591
|
+
}
|
|
657
592
|
),
|
|
658
|
-
repository.private && /* @__PURE__ */
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}, void 0),
|
|
663
|
-
repository.fork && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(GitFork, { size: 12, color: theme2.colors.textSecondary }, void 0, false, {
|
|
664
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
665
|
-
lineNumber: 185,
|
|
666
|
-
columnNumber: 13
|
|
667
|
-
}, void 0)
|
|
668
|
-
] }, void 0, true, {
|
|
669
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
670
|
-
lineNumber: 168,
|
|
671
|
-
columnNumber: 9
|
|
672
|
-
}, void 0),
|
|
673
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
593
|
+
repository.private && /* @__PURE__ */ jsx(Lock, { size: 12, color: theme2.colors.warning || "#f59e0b" }),
|
|
594
|
+
repository.fork && /* @__PURE__ */ jsx(GitFork, { size: 12, color: theme2.colors.textSecondary })
|
|
595
|
+
] }),
|
|
596
|
+
/* @__PURE__ */ jsxs(
|
|
674
597
|
"div",
|
|
675
598
|
{
|
|
676
599
|
style: {
|
|
@@ -682,8 +605,8 @@ const GitHubProjectCard = ({
|
|
|
682
605
|
flexWrap: "wrap"
|
|
683
606
|
},
|
|
684
607
|
children: [
|
|
685
|
-
repository.language && /* @__PURE__ */
|
|
686
|
-
/* @__PURE__ */
|
|
608
|
+
repository.language && /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
609
|
+
/* @__PURE__ */ jsx(
|
|
687
610
|
"span",
|
|
688
611
|
{
|
|
689
612
|
style: {
|
|
@@ -693,70 +616,22 @@ const GitHubProjectCard = ({
|
|
|
693
616
|
borderRadius: "50%",
|
|
694
617
|
backgroundColor: getLanguageColor(repository.language)
|
|
695
618
|
}
|
|
696
|
-
}
|
|
697
|
-
void 0,
|
|
698
|
-
false,
|
|
699
|
-
{
|
|
700
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
701
|
-
lineNumber: 203,
|
|
702
|
-
columnNumber: 15
|
|
703
|
-
},
|
|
704
|
-
void 0
|
|
619
|
+
}
|
|
705
620
|
),
|
|
706
|
-
/* @__PURE__ */
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
] },
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
717
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Star, { size: 12 }, void 0, false, {
|
|
718
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
719
|
-
lineNumber: 218,
|
|
720
|
-
columnNumber: 13
|
|
721
|
-
}, void 0),
|
|
722
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: formatCount(starCount) }, void 0, false, {
|
|
723
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
724
|
-
lineNumber: 219,
|
|
725
|
-
columnNumber: 13
|
|
726
|
-
}, void 0)
|
|
727
|
-
] }, void 0, true, {
|
|
728
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
729
|
-
lineNumber: 217,
|
|
730
|
-
columnNumber: 11
|
|
731
|
-
}, void 0),
|
|
732
|
-
forkCount > 0 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
733
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(GitFork, { size: 12 }, void 0, false, {
|
|
734
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
735
|
-
lineNumber: 225,
|
|
736
|
-
columnNumber: 15
|
|
737
|
-
}, void 0),
|
|
738
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: formatCount(forkCount) }, void 0, false, {
|
|
739
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
740
|
-
lineNumber: 226,
|
|
741
|
-
columnNumber: 15
|
|
742
|
-
}, void 0)
|
|
743
|
-
] }, void 0, true, {
|
|
744
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
745
|
-
lineNumber: 224,
|
|
746
|
-
columnNumber: 13
|
|
747
|
-
}, void 0)
|
|
621
|
+
/* @__PURE__ */ jsx("span", { children: repository.language })
|
|
622
|
+
] }),
|
|
623
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
624
|
+
/* @__PURE__ */ jsx(Star, { size: 12 }),
|
|
625
|
+
/* @__PURE__ */ jsx("span", { children: formatCount(starCount) })
|
|
626
|
+
] }),
|
|
627
|
+
forkCount > 0 && /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
628
|
+
/* @__PURE__ */ jsx(GitFork, { size: 12 }),
|
|
629
|
+
/* @__PURE__ */ jsx("span", { children: formatCount(forkCount) })
|
|
630
|
+
] })
|
|
748
631
|
]
|
|
749
|
-
}
|
|
750
|
-
void 0,
|
|
751
|
-
true,
|
|
752
|
-
{
|
|
753
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
754
|
-
lineNumber: 190,
|
|
755
|
-
columnNumber: 9
|
|
756
|
-
},
|
|
757
|
-
void 0
|
|
632
|
+
}
|
|
758
633
|
),
|
|
759
|
-
repository.description && /* @__PURE__ */
|
|
634
|
+
repository.description && /* @__PURE__ */ jsx(
|
|
760
635
|
"div",
|
|
761
636
|
{
|
|
762
637
|
style: {
|
|
@@ -767,28 +642,12 @@ const GitHubProjectCard = ({
|
|
|
767
642
|
whiteSpace: "nowrap"
|
|
768
643
|
},
|
|
769
644
|
children: repository.description
|
|
770
|
-
}
|
|
771
|
-
void 0,
|
|
772
|
-
false,
|
|
773
|
-
{
|
|
774
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
775
|
-
lineNumber: 233,
|
|
776
|
-
columnNumber: 11
|
|
777
|
-
},
|
|
778
|
-
void 0
|
|
645
|
+
}
|
|
779
646
|
)
|
|
780
647
|
]
|
|
781
|
-
}
|
|
782
|
-
void 0,
|
|
783
|
-
true,
|
|
784
|
-
{
|
|
785
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
786
|
-
lineNumber: 158,
|
|
787
|
-
columnNumber: 7
|
|
788
|
-
},
|
|
789
|
-
void 0
|
|
648
|
+
}
|
|
790
649
|
),
|
|
791
|
-
/* @__PURE__ */
|
|
650
|
+
/* @__PURE__ */ jsx(
|
|
792
651
|
"button",
|
|
793
652
|
{
|
|
794
653
|
type: "button",
|
|
@@ -815,31 +674,11 @@ const GitHubProjectCard = ({
|
|
|
815
674
|
e.currentTarget.style.backgroundColor = theme2.colors.background;
|
|
816
675
|
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
817
676
|
},
|
|
818
|
-
children: /* @__PURE__ */
|
|
819
|
-
|
|
820
|
-
lineNumber: 275,
|
|
821
|
-
columnNumber: 9
|
|
822
|
-
}, void 0)
|
|
823
|
-
},
|
|
824
|
-
void 0,
|
|
825
|
-
false,
|
|
826
|
-
{
|
|
827
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
828
|
-
lineNumber: 248,
|
|
829
|
-
columnNumber: 7
|
|
830
|
-
},
|
|
831
|
-
void 0
|
|
677
|
+
children: /* @__PURE__ */ jsx(ExternalLink, { size: 14 })
|
|
678
|
+
}
|
|
832
679
|
)
|
|
833
680
|
]
|
|
834
|
-
}
|
|
835
|
-
void 0,
|
|
836
|
-
true,
|
|
837
|
-
{
|
|
838
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/components/GitHubProjectCard.tsx",
|
|
839
|
-
lineNumber: 103,
|
|
840
|
-
columnNumber: 5
|
|
841
|
-
},
|
|
842
|
-
void 0
|
|
681
|
+
}
|
|
843
682
|
);
|
|
844
683
|
};
|
|
845
684
|
const EXPANDED_BREAKPOINT = 600;
|
|
@@ -854,7 +693,7 @@ const Section = ({
|
|
|
854
693
|
}) => {
|
|
855
694
|
const { theme: theme2 } = useTheme();
|
|
856
695
|
const showContent = layoutMode === "expanded" || isExpanded;
|
|
857
|
-
return /* @__PURE__ */
|
|
696
|
+
return /* @__PURE__ */ jsxs(
|
|
858
697
|
"div",
|
|
859
698
|
{
|
|
860
699
|
style: {
|
|
@@ -867,7 +706,7 @@ const Section = ({
|
|
|
867
706
|
overflow: "hidden"
|
|
868
707
|
},
|
|
869
708
|
children: [
|
|
870
|
-
/* @__PURE__ */
|
|
709
|
+
/* @__PURE__ */ jsxs(
|
|
871
710
|
"button",
|
|
872
711
|
{
|
|
873
712
|
type: "button",
|
|
@@ -887,22 +726,10 @@ const Section = ({
|
|
|
887
726
|
borderBottom: layoutMode === "expanded" ? `1px solid ${theme2.colors.border}` : void 0
|
|
888
727
|
},
|
|
889
728
|
children: [
|
|
890
|
-
layoutMode === "compact" && (isExpanded ? /* @__PURE__ */
|
|
891
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
892
|
-
lineNumber: 88,
|
|
893
|
-
columnNumber: 52
|
|
894
|
-
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ChevronRight, { size: 16 }, void 0, false, {
|
|
895
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
896
|
-
lineNumber: 88,
|
|
897
|
-
columnNumber: 80
|
|
898
|
-
}, void 0)),
|
|
729
|
+
layoutMode === "compact" && (isExpanded ? /* @__PURE__ */ jsx(ChevronDown, { size: 16 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 16 })),
|
|
899
730
|
icon,
|
|
900
|
-
/* @__PURE__ */
|
|
901
|
-
|
|
902
|
-
lineNumber: 90,
|
|
903
|
-
columnNumber: 9
|
|
904
|
-
}, void 0),
|
|
905
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
731
|
+
/* @__PURE__ */ jsx("span", { children: title }),
|
|
732
|
+
/* @__PURE__ */ jsx(
|
|
906
733
|
"span",
|
|
907
734
|
{
|
|
908
735
|
style: {
|
|
@@ -914,28 +741,12 @@ const Section = ({
|
|
|
914
741
|
borderRadius: "10px"
|
|
915
742
|
},
|
|
916
743
|
children: count
|
|
917
|
-
}
|
|
918
|
-
void 0,
|
|
919
|
-
false,
|
|
920
|
-
{
|
|
921
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
922
|
-
lineNumber: 91,
|
|
923
|
-
columnNumber: 9
|
|
924
|
-
},
|
|
925
|
-
void 0
|
|
744
|
+
}
|
|
926
745
|
)
|
|
927
746
|
]
|
|
928
|
-
}
|
|
929
|
-
void 0,
|
|
930
|
-
true,
|
|
931
|
-
{
|
|
932
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
933
|
-
lineNumber: 70,
|
|
934
|
-
columnNumber: 7
|
|
935
|
-
},
|
|
936
|
-
void 0
|
|
747
|
+
}
|
|
937
748
|
),
|
|
938
|
-
showContent && /* @__PURE__ */
|
|
749
|
+
showContent && /* @__PURE__ */ jsx(
|
|
939
750
|
"div",
|
|
940
751
|
{
|
|
941
752
|
style: {
|
|
@@ -947,26 +758,10 @@ const Section = ({
|
|
|
947
758
|
overflowY: layoutMode === "expanded" ? "auto" : void 0
|
|
948
759
|
},
|
|
949
760
|
children
|
|
950
|
-
}
|
|
951
|
-
void 0,
|
|
952
|
-
false,
|
|
953
|
-
{
|
|
954
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
955
|
-
lineNumber: 105,
|
|
956
|
-
columnNumber: 9
|
|
957
|
-
},
|
|
958
|
-
void 0
|
|
761
|
+
}
|
|
959
762
|
)
|
|
960
763
|
]
|
|
961
|
-
}
|
|
962
|
-
void 0,
|
|
963
|
-
true,
|
|
964
|
-
{
|
|
965
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
966
|
-
lineNumber: 59,
|
|
967
|
-
columnNumber: 5
|
|
968
|
-
},
|
|
969
|
-
void 0
|
|
764
|
+
}
|
|
970
765
|
);
|
|
971
766
|
};
|
|
972
767
|
const GitHubProjectsPanelContent = ({
|
|
@@ -1039,7 +834,7 @@ const GitHubProjectsPanelContent = ({
|
|
|
1039
834
|
}
|
|
1040
835
|
});
|
|
1041
836
|
};
|
|
1042
|
-
const renderEmptyState = (message) => /* @__PURE__ */
|
|
837
|
+
const renderEmptyState = (message) => /* @__PURE__ */ jsx(
|
|
1043
838
|
"div",
|
|
1044
839
|
{
|
|
1045
840
|
style: {
|
|
@@ -1050,34 +845,19 @@ const GitHubProjectsPanelContent = ({
|
|
|
1050
845
|
gridColumn: layoutMode === "expanded" ? "1 / -1" : void 0
|
|
1051
846
|
},
|
|
1052
847
|
children: message
|
|
1053
|
-
}
|
|
1054
|
-
void 0,
|
|
1055
|
-
false,
|
|
1056
|
-
{
|
|
1057
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1058
|
-
lineNumber: 214,
|
|
1059
|
-
columnNumber: 5
|
|
1060
|
-
},
|
|
1061
|
-
void 0
|
|
848
|
+
}
|
|
1062
849
|
);
|
|
1063
|
-
const renderCards = (repos) => repos.map((repo) => /* @__PURE__ */
|
|
850
|
+
const renderCards = (repos) => repos.map((repo) => /* @__PURE__ */ jsx(
|
|
1064
851
|
GitHubProjectCard,
|
|
1065
852
|
{
|
|
1066
853
|
repository: repo,
|
|
1067
854
|
isSelected: selectedRepoId === repo.id,
|
|
1068
855
|
onSelect: handleSelectRepository
|
|
1069
856
|
},
|
|
1070
|
-
repo.id
|
|
1071
|
-
false,
|
|
1072
|
-
{
|
|
1073
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1074
|
-
lineNumber: 230,
|
|
1075
|
-
columnNumber: 7
|
|
1076
|
-
},
|
|
1077
|
-
void 0
|
|
857
|
+
repo.id
|
|
1078
858
|
));
|
|
1079
859
|
if (hasData && data && !data.isAuthenticated) {
|
|
1080
|
-
return /* @__PURE__ */
|
|
860
|
+
return /* @__PURE__ */ jsxs(
|
|
1081
861
|
"div",
|
|
1082
862
|
{
|
|
1083
863
|
ref: containerRef,
|
|
@@ -1092,12 +872,8 @@ const GitHubProjectsPanelContent = ({
|
|
|
1092
872
|
color: theme2.colors.textSecondary
|
|
1093
873
|
},
|
|
1094
874
|
children: [
|
|
1095
|
-
/* @__PURE__ */
|
|
1096
|
-
|
|
1097
|
-
lineNumber: 254,
|
|
1098
|
-
columnNumber: 9
|
|
1099
|
-
}, void 0),
|
|
1100
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
875
|
+
/* @__PURE__ */ jsx(LogIn, { size: 48, color: theme2.colors.textSecondary }),
|
|
876
|
+
/* @__PURE__ */ jsx(
|
|
1101
877
|
"h3",
|
|
1102
878
|
{
|
|
1103
879
|
style: {
|
|
@@ -1106,22 +882,10 @@ const GitHubProjectsPanelContent = ({
|
|
|
1106
882
|
color: theme2.colors.text
|
|
1107
883
|
},
|
|
1108
884
|
children: "Sign in to GitHub"
|
|
1109
|
-
}
|
|
1110
|
-
void 0,
|
|
1111
|
-
false,
|
|
1112
|
-
{
|
|
1113
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1114
|
-
lineNumber: 255,
|
|
1115
|
-
columnNumber: 9
|
|
1116
|
-
},
|
|
1117
|
-
void 0
|
|
885
|
+
}
|
|
1118
886
|
),
|
|
1119
|
-
/* @__PURE__ */
|
|
1120
|
-
|
|
1121
|
-
lineNumber: 264,
|
|
1122
|
-
columnNumber: 9
|
|
1123
|
-
}, void 0),
|
|
1124
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
887
|
+
/* @__PURE__ */ jsx("p", { style: { margin: 0, textAlign: "center" }, children: "Connect your GitHub account to see your repositories" }),
|
|
888
|
+
/* @__PURE__ */ jsxs(
|
|
1125
889
|
"button",
|
|
1126
890
|
{
|
|
1127
891
|
type: "button",
|
|
@@ -1139,37 +903,17 @@ const GitHubProjectsPanelContent = ({
|
|
|
1139
903
|
cursor: "pointer"
|
|
1140
904
|
},
|
|
1141
905
|
children: [
|
|
1142
|
-
/* @__PURE__ */
|
|
1143
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1144
|
-
lineNumber: 283,
|
|
1145
|
-
columnNumber: 11
|
|
1146
|
-
}, void 0),
|
|
906
|
+
/* @__PURE__ */ jsx(Github, { size: 18 }),
|
|
1147
907
|
"Sign in with GitHub"
|
|
1148
908
|
]
|
|
1149
|
-
}
|
|
1150
|
-
void 0,
|
|
1151
|
-
true,
|
|
1152
|
-
{
|
|
1153
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1154
|
-
lineNumber: 267,
|
|
1155
|
-
columnNumber: 9
|
|
1156
|
-
},
|
|
1157
|
-
void 0
|
|
909
|
+
}
|
|
1158
910
|
)
|
|
1159
911
|
]
|
|
1160
|
-
}
|
|
1161
|
-
void 0,
|
|
1162
|
-
true,
|
|
1163
|
-
{
|
|
1164
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1165
|
-
lineNumber: 241,
|
|
1166
|
-
columnNumber: 7
|
|
1167
|
-
},
|
|
1168
|
-
void 0
|
|
912
|
+
}
|
|
1169
913
|
);
|
|
1170
914
|
}
|
|
1171
915
|
if (isLoading) {
|
|
1172
|
-
return /* @__PURE__ */
|
|
916
|
+
return /* @__PURE__ */ jsx(
|
|
1173
917
|
"div",
|
|
1174
918
|
{
|
|
1175
919
|
ref: containerRef,
|
|
@@ -1181,19 +925,11 @@ const GitHubProjectsPanelContent = ({
|
|
|
1181
925
|
color: theme2.colors.textSecondary
|
|
1182
926
|
},
|
|
1183
927
|
children: "Loading repositories..."
|
|
1184
|
-
}
|
|
1185
|
-
void 0,
|
|
1186
|
-
false,
|
|
1187
|
-
{
|
|
1188
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1189
|
-
lineNumber: 293,
|
|
1190
|
-
columnNumber: 7
|
|
1191
|
-
},
|
|
1192
|
-
void 0
|
|
928
|
+
}
|
|
1193
929
|
);
|
|
1194
930
|
}
|
|
1195
931
|
if (!hasData || !data) {
|
|
1196
|
-
return /* @__PURE__ */
|
|
932
|
+
return /* @__PURE__ */ jsxs(
|
|
1197
933
|
"div",
|
|
1198
934
|
{
|
|
1199
935
|
ref: containerRef,
|
|
@@ -1203,34 +939,52 @@ const GitHubProjectsPanelContent = ({
|
|
|
1203
939
|
flexDirection: "column",
|
|
1204
940
|
alignItems: "center",
|
|
1205
941
|
justifyContent: "center",
|
|
1206
|
-
gap: "
|
|
942
|
+
gap: "16px",
|
|
1207
943
|
padding: "24px",
|
|
1208
944
|
color: theme2.colors.textSecondary
|
|
1209
945
|
},
|
|
1210
946
|
children: [
|
|
1211
|
-
/* @__PURE__ */
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
947
|
+
/* @__PURE__ */ jsx(LogIn, { size: 48, color: theme2.colors.textSecondary }),
|
|
948
|
+
/* @__PURE__ */ jsx(
|
|
949
|
+
"h3",
|
|
950
|
+
{
|
|
951
|
+
style: {
|
|
952
|
+
margin: 0,
|
|
953
|
+
fontSize: `${theme2.fontSizes[3]}px`,
|
|
954
|
+
color: theme2.colors.text
|
|
955
|
+
},
|
|
956
|
+
children: "Sign in to GitHub"
|
|
957
|
+
}
|
|
958
|
+
),
|
|
959
|
+
/* @__PURE__ */ jsx("p", { style: { margin: 0, textAlign: "center" }, children: "Connect your GitHub account to browse your repositories" }),
|
|
960
|
+
/* @__PURE__ */ jsxs(
|
|
961
|
+
"button",
|
|
962
|
+
{
|
|
963
|
+
type: "button",
|
|
964
|
+
style: {
|
|
965
|
+
display: "flex",
|
|
966
|
+
alignItems: "center",
|
|
967
|
+
gap: "8px",
|
|
968
|
+
padding: "10px 20px",
|
|
969
|
+
borderRadius: "6px",
|
|
970
|
+
border: "none",
|
|
971
|
+
backgroundColor: theme2.colors.primary,
|
|
972
|
+
color: theme2.colors.background,
|
|
973
|
+
fontSize: `${theme2.fontSizes[2]}px`,
|
|
974
|
+
fontWeight: theme2.fontWeights.medium,
|
|
975
|
+
cursor: "pointer"
|
|
976
|
+
},
|
|
977
|
+
children: [
|
|
978
|
+
/* @__PURE__ */ jsx(Github, { size: 18 }),
|
|
979
|
+
"Sign in with GitHub"
|
|
980
|
+
]
|
|
981
|
+
}
|
|
982
|
+
)
|
|
1221
983
|
]
|
|
1222
|
-
}
|
|
1223
|
-
void 0,
|
|
1224
|
-
true,
|
|
1225
|
-
{
|
|
1226
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1227
|
-
lineNumber: 311,
|
|
1228
|
-
columnNumber: 7
|
|
1229
|
-
},
|
|
1230
|
-
void 0
|
|
984
|
+
}
|
|
1231
985
|
);
|
|
1232
986
|
}
|
|
1233
|
-
return /* @__PURE__ */
|
|
987
|
+
return /* @__PURE__ */ jsxs(
|
|
1234
988
|
"div",
|
|
1235
989
|
{
|
|
1236
990
|
ref: containerRef,
|
|
@@ -1243,7 +997,7 @@ const GitHubProjectsPanelContent = ({
|
|
|
1243
997
|
fontFamily: theme2.fonts.body
|
|
1244
998
|
},
|
|
1245
999
|
children: [
|
|
1246
|
-
/* @__PURE__ */
|
|
1000
|
+
/* @__PURE__ */ jsxs(
|
|
1247
1001
|
"div",
|
|
1248
1002
|
{
|
|
1249
1003
|
style: {
|
|
@@ -1255,12 +1009,8 @@ const GitHubProjectsPanelContent = ({
|
|
|
1255
1009
|
flexWrap: "wrap"
|
|
1256
1010
|
},
|
|
1257
1011
|
children: [
|
|
1258
|
-
/* @__PURE__ */
|
|
1259
|
-
|
|
1260
|
-
lineNumber: 353,
|
|
1261
|
-
columnNumber: 9
|
|
1262
|
-
}, void 0),
|
|
1263
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
1012
|
+
/* @__PURE__ */ jsx(Github, { size: 20, color: theme2.colors.primary }),
|
|
1013
|
+
/* @__PURE__ */ jsx(
|
|
1264
1014
|
"h2",
|
|
1265
1015
|
{
|
|
1266
1016
|
style: {
|
|
@@ -1269,17 +1019,9 @@ const GitHubProjectsPanelContent = ({
|
|
|
1269
1019
|
fontWeight: theme2.fontWeights.semibold
|
|
1270
1020
|
},
|
|
1271
1021
|
children: "GitHub Projects"
|
|
1272
|
-
}
|
|
1273
|
-
void 0,
|
|
1274
|
-
false,
|
|
1275
|
-
{
|
|
1276
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1277
|
-
lineNumber: 354,
|
|
1278
|
-
columnNumber: 9
|
|
1279
|
-
},
|
|
1280
|
-
void 0
|
|
1022
|
+
}
|
|
1281
1023
|
),
|
|
1282
|
-
data.username && /* @__PURE__ */
|
|
1024
|
+
data.username && /* @__PURE__ */ jsxs(
|
|
1283
1025
|
"span",
|
|
1284
1026
|
{
|
|
1285
1027
|
style: {
|
|
@@ -1290,28 +1032,12 @@ const GitHubProjectsPanelContent = ({
|
|
|
1290
1032
|
"@",
|
|
1291
1033
|
data.username
|
|
1292
1034
|
]
|
|
1293
|
-
}
|
|
1294
|
-
void 0,
|
|
1295
|
-
true,
|
|
1296
|
-
{
|
|
1297
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1298
|
-
lineNumber: 364,
|
|
1299
|
-
columnNumber: 11
|
|
1300
|
-
},
|
|
1301
|
-
void 0
|
|
1035
|
+
}
|
|
1302
1036
|
)
|
|
1303
1037
|
]
|
|
1304
|
-
}
|
|
1305
|
-
void 0,
|
|
1306
|
-
true,
|
|
1307
|
-
{
|
|
1308
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1309
|
-
lineNumber: 343,
|
|
1310
|
-
columnNumber: 7
|
|
1311
|
-
},
|
|
1312
|
-
void 0
|
|
1038
|
+
}
|
|
1313
1039
|
),
|
|
1314
|
-
/* @__PURE__ */
|
|
1040
|
+
/* @__PURE__ */ jsx("div", { style: { padding: "12px 16px" }, children: /* @__PURE__ */ jsxs(
|
|
1315
1041
|
"div",
|
|
1316
1042
|
{
|
|
1317
1043
|
style: {
|
|
@@ -1324,12 +1050,8 @@ const GitHubProjectsPanelContent = ({
|
|
|
1324
1050
|
border: `1px solid ${theme2.colors.border}`
|
|
1325
1051
|
},
|
|
1326
1052
|
children: [
|
|
1327
|
-
/* @__PURE__ */
|
|
1328
|
-
|
|
1329
|
-
lineNumber: 388,
|
|
1330
|
-
columnNumber: 11
|
|
1331
|
-
}, void 0),
|
|
1332
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
1053
|
+
/* @__PURE__ */ jsx(Search, { size: 16, color: theme2.colors.textSecondary }),
|
|
1054
|
+
/* @__PURE__ */ jsx(
|
|
1333
1055
|
"input",
|
|
1334
1056
|
{
|
|
1335
1057
|
type: "text",
|
|
@@ -1344,32 +1066,12 @@ const GitHubProjectsPanelContent = ({
|
|
|
1344
1066
|
fontSize: `${theme2.fontSizes[2]}px`,
|
|
1345
1067
|
color: theme2.colors.text
|
|
1346
1068
|
}
|
|
1347
|
-
}
|
|
1348
|
-
void 0,
|
|
1349
|
-
false,
|
|
1350
|
-
{
|
|
1351
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1352
|
-
lineNumber: 389,
|
|
1353
|
-
columnNumber: 11
|
|
1354
|
-
},
|
|
1355
|
-
void 0
|
|
1069
|
+
}
|
|
1356
1070
|
)
|
|
1357
1071
|
]
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
{
|
|
1362
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1363
|
-
lineNumber: 377,
|
|
1364
|
-
columnNumber: 9
|
|
1365
|
-
},
|
|
1366
|
-
void 0
|
|
1367
|
-
) }, void 0, false, {
|
|
1368
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1369
|
-
lineNumber: 376,
|
|
1370
|
-
columnNumber: 7
|
|
1371
|
-
}, void 0),
|
|
1372
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
1072
|
+
}
|
|
1073
|
+
) }),
|
|
1074
|
+
/* @__PURE__ */ jsxs(
|
|
1373
1075
|
"div",
|
|
1374
1076
|
{
|
|
1375
1077
|
style: {
|
|
@@ -1381,129 +1083,62 @@ const GitHubProjectsPanelContent = ({
|
|
|
1381
1083
|
overflowX: layoutMode === "expanded" ? "auto" : void 0
|
|
1382
1084
|
},
|
|
1383
1085
|
children: [
|
|
1384
|
-
/* @__PURE__ */
|
|
1086
|
+
/* @__PURE__ */ jsx(
|
|
1385
1087
|
Section,
|
|
1386
1088
|
{
|
|
1387
1089
|
id: "owned",
|
|
1388
1090
|
title: "Your Repositories",
|
|
1389
|
-
icon: /* @__PURE__ */
|
|
1390
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1391
|
-
lineNumber: 421,
|
|
1392
|
-
columnNumber: 17
|
|
1393
|
-
}, void 0),
|
|
1091
|
+
icon: /* @__PURE__ */ jsx(Folder, { size: 16, color: theme2.colors.primary }),
|
|
1394
1092
|
count: filteredOwned.length,
|
|
1395
1093
|
isExpanded: expandedSections.has("owned"),
|
|
1396
1094
|
onToggle: () => toggleSection("owned"),
|
|
1397
1095
|
layoutMode,
|
|
1398
1096
|
children: filteredOwned.length === 0 ? renderEmptyState(searchQuery ? "No repositories match your search" : "No repositories found") : renderCards(filteredOwned)
|
|
1399
|
-
}
|
|
1400
|
-
void 0,
|
|
1401
|
-
false,
|
|
1402
|
-
{
|
|
1403
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1404
|
-
lineNumber: 418,
|
|
1405
|
-
columnNumber: 9
|
|
1406
|
-
},
|
|
1407
|
-
void 0
|
|
1097
|
+
}
|
|
1408
1098
|
),
|
|
1409
|
-
filteredOrgs.map((org) => /* @__PURE__ */
|
|
1099
|
+
filteredOrgs.map((org) => /* @__PURE__ */ jsx(
|
|
1410
1100
|
Section,
|
|
1411
1101
|
{
|
|
1412
1102
|
id: `org-${org.id}`,
|
|
1413
1103
|
title: org.login,
|
|
1414
|
-
icon: org.avatar_url ? /* @__PURE__ */
|
|
1104
|
+
icon: org.avatar_url ? /* @__PURE__ */ jsx(
|
|
1415
1105
|
"img",
|
|
1416
1106
|
{
|
|
1417
1107
|
src: org.avatar_url,
|
|
1418
1108
|
alt: org.login,
|
|
1419
1109
|
style: { width: 16, height: 16, borderRadius: 4 }
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
false,
|
|
1423
|
-
{
|
|
1424
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1425
|
-
lineNumber: 440,
|
|
1426
|
-
columnNumber: 17
|
|
1427
|
-
},
|
|
1428
|
-
void 0
|
|
1429
|
-
) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Building2, { size: 16, color: theme2.colors.info || "#3b82f6" }, void 0, false, {
|
|
1430
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1431
|
-
lineNumber: 446,
|
|
1432
|
-
columnNumber: 17
|
|
1433
|
-
}, void 0),
|
|
1110
|
+
}
|
|
1111
|
+
) : /* @__PURE__ */ jsx(Building2, { size: 16, color: theme2.colors.info || "#3b82f6" }),
|
|
1434
1112
|
count: org.repositories.length,
|
|
1435
1113
|
isExpanded: expandedSections.has(`org-${org.id}`),
|
|
1436
1114
|
onToggle: () => toggleSection(`org-${org.id}`),
|
|
1437
1115
|
layoutMode,
|
|
1438
1116
|
children: org.repositories.length === 0 ? renderEmptyState(searchQuery ? "No repositories match your search" : "No repositories") : renderCards(org.repositories)
|
|
1439
1117
|
},
|
|
1440
|
-
org.id
|
|
1441
|
-
false,
|
|
1442
|
-
{
|
|
1443
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1444
|
-
lineNumber: 434,
|
|
1445
|
-
columnNumber: 11
|
|
1446
|
-
},
|
|
1447
|
-
void 0
|
|
1118
|
+
org.id
|
|
1448
1119
|
)),
|
|
1449
|
-
/* @__PURE__ */
|
|
1120
|
+
/* @__PURE__ */ jsx(
|
|
1450
1121
|
Section,
|
|
1451
1122
|
{
|
|
1452
1123
|
id: "starred",
|
|
1453
1124
|
title: "Starred",
|
|
1454
|
-
icon: /* @__PURE__ */
|
|
1455
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1456
|
-
lineNumber: 464,
|
|
1457
|
-
columnNumber: 17
|
|
1458
|
-
}, void 0),
|
|
1125
|
+
icon: /* @__PURE__ */ jsx(Star, { size: 16, color: theme2.colors.warning || "#f59e0b" }),
|
|
1459
1126
|
count: filteredStarred.length,
|
|
1460
1127
|
isExpanded: expandedSections.has("starred"),
|
|
1461
1128
|
onToggle: () => toggleSection("starred"),
|
|
1462
1129
|
layoutMode,
|
|
1463
1130
|
children: filteredStarred.length === 0 ? renderEmptyState(searchQuery ? "No repositories match your search" : "No starred repositories") : renderCards(filteredStarred)
|
|
1464
|
-
}
|
|
1465
|
-
void 0,
|
|
1466
|
-
false,
|
|
1467
|
-
{
|
|
1468
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1469
|
-
lineNumber: 461,
|
|
1470
|
-
columnNumber: 9
|
|
1471
|
-
},
|
|
1472
|
-
void 0
|
|
1131
|
+
}
|
|
1473
1132
|
)
|
|
1474
1133
|
]
|
|
1475
|
-
}
|
|
1476
|
-
void 0,
|
|
1477
|
-
true,
|
|
1478
|
-
{
|
|
1479
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1480
|
-
lineNumber: 407,
|
|
1481
|
-
columnNumber: 7
|
|
1482
|
-
},
|
|
1483
|
-
void 0
|
|
1134
|
+
}
|
|
1484
1135
|
)
|
|
1485
1136
|
]
|
|
1486
|
-
}
|
|
1487
|
-
void 0,
|
|
1488
|
-
true,
|
|
1489
|
-
{
|
|
1490
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1491
|
-
lineNumber: 331,
|
|
1492
|
-
columnNumber: 5
|
|
1493
|
-
},
|
|
1494
|
-
void 0
|
|
1137
|
+
}
|
|
1495
1138
|
);
|
|
1496
1139
|
};
|
|
1497
1140
|
const GitHubProjectsPanel = (props) => {
|
|
1498
|
-
return /* @__PURE__ */
|
|
1499
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1500
|
-
lineNumber: 493,
|
|
1501
|
-
columnNumber: 7
|
|
1502
|
-
}, void 0) }, void 0, false, {
|
|
1503
|
-
fileName: "/Users/griever/Developer/new-panels/industry-themed-github-panels/src/panels/GitHubProjectsPanel.tsx",
|
|
1504
|
-
lineNumber: 492,
|
|
1505
|
-
columnNumber: 5
|
|
1506
|
-
}, void 0);
|
|
1141
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(GitHubProjectsPanelContent, { ...props }) });
|
|
1507
1142
|
};
|
|
1508
1143
|
const GitHubProjectsPanelMetadata = {
|
|
1509
1144
|
id: "github-projects",
|