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