@industry-theme/github-panels 0.1.18 → 0.1.20

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;AAWrD,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;AA0FD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqQpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC"}
1
+ {"version":3,"file":"WelcomePanel.d.ts","sourceRoot":"","sources":["../../src/panels/WelcomePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAWrD,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;AAuGD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqQpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC"}
@@ -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$6);
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$5 = [
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$5);
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$4 = [
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$4);
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,66 +3002,77 @@ function parseGitHubInput(input) {
2999
3002
  }
3000
3003
  return null;
3001
3004
  }
3002
- const FeatureCard = ({ icon, title, description, theme }) => /* @__PURE__ */ jsxs(
3003
- "div",
3004
- {
3005
- style: {
3006
- padding: "24px",
3007
- borderRadius: "12px",
3008
- backgroundColor: theme.colors.surface,
3009
- border: `1px solid ${theme.colors.border}`,
3010
- display: "flex",
3011
- flexDirection: "column",
3012
- alignItems: "center",
3013
- gap: "12px",
3014
- flex: 1,
3015
- minWidth: "200px",
3016
- textAlign: "center"
3017
- },
3018
- children: [
3019
- /* @__PURE__ */ jsx(
3020
- "div",
3021
- {
3022
- style: {
3023
- width: 48,
3024
- height: 48,
3025
- borderRadius: "10px",
3026
- backgroundColor: `${theme.colors.primary}15`,
3027
- display: "flex",
3028
- alignItems: "center",
3029
- justifyContent: "center",
3030
- color: theme.colors.primary
3031
- },
3032
- children: icon
3033
- }
3034
- ),
3035
- /* @__PURE__ */ jsx(
3036
- "h3",
3037
- {
3038
- style: {
3039
- margin: 0,
3040
- fontSize: `${theme.fontSizes[3]}px`,
3041
- fontWeight: theme.fontWeights.semibold,
3042
- color: theme.colors.text
3043
- },
3044
- children: title
3045
- }
3046
- ),
3047
- /* @__PURE__ */ jsx(
3048
- "p",
3049
- {
3050
- style: {
3051
- margin: 0,
3052
- fontSize: `${theme.fontSizes[2]}px`,
3053
- color: theme.colors.textSecondary,
3054
- lineHeight: 1.5
3055
- },
3056
- children: description
3057
- }
3058
- )
3059
- ]
3060
- }
3061
- );
3005
+ const FeatureCard = ({ icon, title, description, theme }) => {
3006
+ const words = title.split(" ");
3007
+ const firstWord = words[0];
3008
+ const restWords = words.slice(1).join(" ");
3009
+ return /* @__PURE__ */ jsxs(
3010
+ "div",
3011
+ {
3012
+ style: {
3013
+ padding: "24px",
3014
+ borderRadius: "12px",
3015
+ backgroundColor: theme.colors.surface,
3016
+ border: `1px solid ${theme.colors.border}`,
3017
+ display: "flex",
3018
+ flexDirection: "column",
3019
+ alignItems: "center",
3020
+ gap: "12px",
3021
+ flex: 1,
3022
+ minWidth: "200px",
3023
+ textAlign: "center"
3024
+ },
3025
+ children: [
3026
+ /* @__PURE__ */ jsx(
3027
+ "div",
3028
+ {
3029
+ style: {
3030
+ width: 48,
3031
+ height: 48,
3032
+ borderRadius: "10px",
3033
+ backgroundColor: `${theme.colors.primary}15`,
3034
+ display: "flex",
3035
+ alignItems: "center",
3036
+ justifyContent: "center",
3037
+ color: theme.colors.primary
3038
+ },
3039
+ children: icon
3040
+ }
3041
+ ),
3042
+ /* @__PURE__ */ jsxs(
3043
+ "h3",
3044
+ {
3045
+ style: {
3046
+ margin: 0,
3047
+ fontSize: `${theme.fontSizes[3]}px`,
3048
+ fontWeight: theme.fontWeights.semibold,
3049
+ display: "flex",
3050
+ flexDirection: "column",
3051
+ alignItems: "center",
3052
+ lineHeight: 1.3
3053
+ },
3054
+ children: [
3055
+ /* @__PURE__ */ jsx("span", { style: { color: theme.colors.text }, children: firstWord }),
3056
+ restWords && /* @__PURE__ */ jsx("span", { style: { color: theme.colors.primary }, children: restWords })
3057
+ ]
3058
+ }
3059
+ ),
3060
+ /* @__PURE__ */ jsx(
3061
+ "p",
3062
+ {
3063
+ style: {
3064
+ margin: 0,
3065
+ fontSize: `${theme.fontSizes[2]}px`,
3066
+ color: theme.colors.textSecondary,
3067
+ lineHeight: 1.5
3068
+ },
3069
+ children: description
3070
+ }
3071
+ )
3072
+ ]
3073
+ }
3074
+ );
3075
+ };
3062
3076
  const defaultHighlightedProjects = [
3063
3077
  { owner: "facebook", repo: "react" },
3064
3078
  { owner: "vercel", repo: "next.js" }
@@ -3309,8 +3323,8 @@ const WelcomePanel = ({
3309
3323
  /* @__PURE__ */ jsx(
3310
3324
  FeatureCard,
3311
3325
  {
3312
- icon: /* @__PURE__ */ jsx(MessageSquare, { size: 24 }),
3313
- title: "Chat with Code",
3326
+ icon: /* @__PURE__ */ jsx(Sparkles, { size: 24 }),
3327
+ title: "Principal Agent",
3314
3328
  description: "Ask questions about any repository and get instant, context-aware answers powered by AI.",
3315
3329
  theme
3316
3330
  }