@industry-theme/github-panels 0.1.19 → 0.1.21
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WelcomePanel.d.ts","sourceRoot":"","sources":["../../src/panels/WelcomePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WelcomePanel.d.ts","sourceRoot":"","sources":["../../src/panels/WelcomePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAYrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC5C;AA4HD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyQpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -329,53 +329,56 @@ const LogIn = createLucideIcon("log-in", __iconNode$8);
|
|
|
329
329
|
* See the LICENSE file in the root directory of this source tree.
|
|
330
330
|
*/
|
|
331
331
|
const __iconNode$7 = [
|
|
332
|
-
[
|
|
333
|
-
"path",
|
|
334
|
-
{
|
|
335
|
-
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
336
|
-
key: "18887p"
|
|
337
|
-
}
|
|
338
|
-
]
|
|
339
|
-
];
|
|
340
|
-
const MessageSquare = createLucideIcon("message-square", __iconNode$7);
|
|
341
|
-
/**
|
|
342
|
-
* @license lucide-react v0.552.0 - ISC
|
|
343
|
-
*
|
|
344
|
-
* This source code is licensed under the ISC license.
|
|
345
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
-
*/
|
|
347
|
-
const __iconNode$6 = [
|
|
348
332
|
["rect", { x: "16", y: "16", width: "6", height: "6", rx: "1", key: "4q2zg0" }],
|
|
349
333
|
["rect", { x: "2", y: "16", width: "6", height: "6", rx: "1", key: "8cvhb9" }],
|
|
350
334
|
["rect", { x: "9", y: "2", width: "6", height: "6", rx: "1", key: "1egb70" }],
|
|
351
335
|
["path", { d: "M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3", key: "1jsf9p" }],
|
|
352
336
|
["path", { d: "M12 12V8", key: "2874zd" }]
|
|
353
337
|
];
|
|
354
|
-
const Network = createLucideIcon("network", __iconNode$
|
|
338
|
+
const Network = createLucideIcon("network", __iconNode$7);
|
|
355
339
|
/**
|
|
356
340
|
* @license lucide-react v0.552.0 - ISC
|
|
357
341
|
*
|
|
358
342
|
* This source code is licensed under the ISC license.
|
|
359
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
360
344
|
*/
|
|
361
|
-
const __iconNode$
|
|
345
|
+
const __iconNode$6 = [
|
|
362
346
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
363
347
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
364
348
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
365
349
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
366
350
|
];
|
|
367
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
351
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$6);
|
|
368
352
|
/**
|
|
369
353
|
* @license lucide-react v0.552.0 - ISC
|
|
370
354
|
*
|
|
371
355
|
* This source code is licensed under the ISC license.
|
|
372
356
|
* See the LICENSE file in the root directory of this source tree.
|
|
373
357
|
*/
|
|
374
|
-
const __iconNode$
|
|
358
|
+
const __iconNode$5 = [
|
|
375
359
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
376
360
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
377
361
|
];
|
|
378
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
362
|
+
const Search = createLucideIcon("search", __iconNode$5);
|
|
363
|
+
/**
|
|
364
|
+
* @license lucide-react v0.552.0 - ISC
|
|
365
|
+
*
|
|
366
|
+
* This source code is licensed under the ISC license.
|
|
367
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
368
|
+
*/
|
|
369
|
+
const __iconNode$4 = [
|
|
370
|
+
[
|
|
371
|
+
"path",
|
|
372
|
+
{
|
|
373
|
+
d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
|
|
374
|
+
key: "1s2grr"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
["path", { d: "M20 2v4", key: "1rf3ol" }],
|
|
378
|
+
["path", { d: "M22 4h-4", key: "gwowj6" }],
|
|
379
|
+
["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
|
|
380
|
+
];
|
|
381
|
+
const Sparkles = createLucideIcon("sparkles", __iconNode$4);
|
|
379
382
|
/**
|
|
380
383
|
* @license lucide-react v0.552.0 - ISC
|
|
381
384
|
*
|
|
@@ -2999,7 +3002,7 @@ function parseGitHubInput(input) {
|
|
|
2999
3002
|
}
|
|
3000
3003
|
return null;
|
|
3001
3004
|
}
|
|
3002
|
-
const FeatureCard = ({ icon, title, description, theme }) => {
|
|
3005
|
+
const FeatureCard = ({ icon, title, description, theme, link, linkLabel }) => {
|
|
3003
3006
|
const words = title.split(" ");
|
|
3004
3007
|
const firstWord = words[0];
|
|
3005
3008
|
const restWords = words.slice(1).join(" ");
|
|
@@ -3042,14 +3045,15 @@ const FeatureCard = ({ icon, title, description, theme }) => {
|
|
|
3042
3045
|
style: {
|
|
3043
3046
|
margin: 0,
|
|
3044
3047
|
fontSize: `${theme.fontSizes[3]}px`,
|
|
3045
|
-
fontWeight: theme.fontWeights.semibold
|
|
3048
|
+
fontWeight: theme.fontWeights.semibold,
|
|
3049
|
+
display: "flex",
|
|
3050
|
+
flexDirection: "column",
|
|
3051
|
+
alignItems: "center",
|
|
3052
|
+
lineHeight: 1.3
|
|
3046
3053
|
},
|
|
3047
3054
|
children: [
|
|
3048
3055
|
/* @__PURE__ */ jsx("span", { style: { color: theme.colors.text }, children: firstWord }),
|
|
3049
|
-
restWords && /* @__PURE__ */
|
|
3050
|
-
" ",
|
|
3051
|
-
/* @__PURE__ */ jsx("span", { style: { color: theme.colors.primary }, children: restWords })
|
|
3052
|
-
] })
|
|
3056
|
+
restWords && /* @__PURE__ */ jsx("span", { style: { color: theme.colors.primary }, children: restWords })
|
|
3053
3057
|
]
|
|
3054
3058
|
}
|
|
3055
3059
|
),
|
|
@@ -3064,6 +3068,27 @@ const FeatureCard = ({ icon, title, description, theme }) => {
|
|
|
3064
3068
|
},
|
|
3065
3069
|
children: description
|
|
3066
3070
|
}
|
|
3071
|
+
),
|
|
3072
|
+
link && /* @__PURE__ */ jsxs(
|
|
3073
|
+
"a",
|
|
3074
|
+
{
|
|
3075
|
+
href: link,
|
|
3076
|
+
target: "_blank",
|
|
3077
|
+
rel: "noopener noreferrer",
|
|
3078
|
+
style: {
|
|
3079
|
+
display: "flex",
|
|
3080
|
+
alignItems: "center",
|
|
3081
|
+
gap: "6px",
|
|
3082
|
+
marginTop: "4px",
|
|
3083
|
+
fontSize: `${theme.fontSizes[1]}px`,
|
|
3084
|
+
color: theme.colors.primary,
|
|
3085
|
+
textDecoration: "none"
|
|
3086
|
+
},
|
|
3087
|
+
children: [
|
|
3088
|
+
linkLabel || "Learn more",
|
|
3089
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 14 })
|
|
3090
|
+
]
|
|
3091
|
+
}
|
|
3067
3092
|
)
|
|
3068
3093
|
]
|
|
3069
3094
|
}
|
|
@@ -3304,7 +3329,9 @@ const WelcomePanel = ({
|
|
|
3304
3329
|
icon: /* @__PURE__ */ jsx(BookOpen, { size: 24 }),
|
|
3305
3330
|
title: "Reliable Documentation",
|
|
3306
3331
|
description: "Always up-to-date documentation generated directly from your codebase, never out of sync.",
|
|
3307
|
-
theme
|
|
3332
|
+
theme,
|
|
3333
|
+
link: "https://github.com/principal-ai/alexandria-cli",
|
|
3334
|
+
linkLabel: "alexandria-cli"
|
|
3308
3335
|
}
|
|
3309
3336
|
),
|
|
3310
3337
|
/* @__PURE__ */ jsx(
|
|
@@ -3313,13 +3340,15 @@ const WelcomePanel = ({
|
|
|
3313
3340
|
icon: /* @__PURE__ */ jsx(Network, { size: 24 }),
|
|
3314
3341
|
title: "Interactive Diagrams",
|
|
3315
3342
|
description: "Visualize repository structure, dependencies, and architecture with auto-generated diagrams you can explore.",
|
|
3316
|
-
theme
|
|
3343
|
+
theme,
|
|
3344
|
+
link: "https://www.npmjs.com/package/@principal-ai/visual-validation-cli",
|
|
3345
|
+
linkLabel: "visual-validation-cli"
|
|
3317
3346
|
}
|
|
3318
3347
|
),
|
|
3319
3348
|
/* @__PURE__ */ jsx(
|
|
3320
3349
|
FeatureCard,
|
|
3321
3350
|
{
|
|
3322
|
-
icon: /* @__PURE__ */ jsx(
|
|
3351
|
+
icon: /* @__PURE__ */ jsx(Sparkles, { size: 24 }),
|
|
3323
3352
|
title: "Principal Agent",
|
|
3324
3353
|
description: "Ask questions about any repository and get instant, context-aware answers powered by AI.",
|
|
3325
3354
|
theme
|