@industry-theme/github-panels 0.1.20 → 0.1.22

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;AAuGD;;;;;;;;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;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"}
@@ -3002,7 +3002,7 @@ function parseGitHubInput(input) {
3002
3002
  }
3003
3003
  return null;
3004
3004
  }
3005
- const FeatureCard = ({ icon, title, description, theme }) => {
3005
+ const FeatureCard = ({ icon, title, description, theme, link, linkLabel }) => {
3006
3006
  const words = title.split(" ");
3007
3007
  const firstWord = words[0];
3008
3008
  const restWords = words.slice(1).join(" ");
@@ -3068,6 +3068,27 @@ const FeatureCard = ({ icon, title, description, theme }) => {
3068
3068
  },
3069
3069
  children: description
3070
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
+ }
3071
3092
  )
3072
3093
  ]
3073
3094
  }
@@ -3308,7 +3329,9 @@ const WelcomePanel = ({
3308
3329
  icon: /* @__PURE__ */ jsx(BookOpen, { size: 24 }),
3309
3330
  title: "Reliable Documentation",
3310
3331
  description: "Always up-to-date documentation generated directly from your codebase, never out of sync.",
3311
- theme
3332
+ theme,
3333
+ link: "https://github.com/principal-ai/alexandria-cli",
3334
+ linkLabel: "alexandria-cli"
3312
3335
  }
3313
3336
  ),
3314
3337
  /* @__PURE__ */ jsx(
@@ -3317,7 +3340,9 @@ const WelcomePanel = ({
3317
3340
  icon: /* @__PURE__ */ jsx(Network, { size: 24 }),
3318
3341
  title: "Interactive Diagrams",
3319
3342
  description: "Visualize repository structure, dependencies, and architecture with auto-generated diagrams you can explore.",
3320
- theme
3343
+ theme,
3344
+ link: "https://www.npmjs.com/package/@principal-ai/visual-validation-cli",
3345
+ linkLabel: "visual-validation-cli"
3321
3346
  }
3322
3347
  ),
3323
3348
  /* @__PURE__ */ jsx(
@@ -3351,7 +3376,7 @@ const WelcomePanel = ({
3351
3376
  color: theme.colors.textSecondary
3352
3377
  },
3353
3378
  children: [
3354
- "Try it with",
3379
+ "Check out our forks of popular repos:",
3355
3380
  " ",
3356
3381
  highlightedProjects.map((project, index) => /* @__PURE__ */ jsxs(React2.Fragment, { children: [
3357
3382
  index > 0 && (index === highlightedProjects.length - 1 ? " or " : ", "),