@industry-theme/github-panels 0.1.33 → 0.1.34
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;AAsCrD,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,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;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;IAC3C,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC/C,mBAAmB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACzC,iBAAiB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAA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AM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0MpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -4122,98 +4122,6 @@ function parseGitHubInput(input) {
|
|
|
4122
4122
|
}
|
|
4123
4123
|
return null;
|
|
4124
4124
|
}
|
|
4125
|
-
const FeatureCard = ({ icon, title, description, theme, link, linkLabel }) => {
|
|
4126
|
-
const words = title.split(" ");
|
|
4127
|
-
const firstWord = words[0];
|
|
4128
|
-
const restWords = words.slice(1).join(" ");
|
|
4129
|
-
return /* @__PURE__ */ jsxs(
|
|
4130
|
-
"div",
|
|
4131
|
-
{
|
|
4132
|
-
style: {
|
|
4133
|
-
padding: "24px",
|
|
4134
|
-
borderRadius: "12px",
|
|
4135
|
-
backgroundColor: theme.colors.surface,
|
|
4136
|
-
border: `1px solid ${theme.colors.border}`,
|
|
4137
|
-
display: "flex",
|
|
4138
|
-
flexDirection: "column",
|
|
4139
|
-
alignItems: "center",
|
|
4140
|
-
gap: "12px",
|
|
4141
|
-
flex: 1,
|
|
4142
|
-
minWidth: "200px",
|
|
4143
|
-
textAlign: "center"
|
|
4144
|
-
},
|
|
4145
|
-
children: [
|
|
4146
|
-
/* @__PURE__ */ jsx(
|
|
4147
|
-
"div",
|
|
4148
|
-
{
|
|
4149
|
-
style: {
|
|
4150
|
-
width: 48,
|
|
4151
|
-
height: 48,
|
|
4152
|
-
borderRadius: "10px",
|
|
4153
|
-
backgroundColor: `${theme.colors.primary}15`,
|
|
4154
|
-
display: "flex",
|
|
4155
|
-
alignItems: "center",
|
|
4156
|
-
justifyContent: "center",
|
|
4157
|
-
color: theme.colors.primary
|
|
4158
|
-
},
|
|
4159
|
-
children: icon
|
|
4160
|
-
}
|
|
4161
|
-
),
|
|
4162
|
-
/* @__PURE__ */ jsxs(
|
|
4163
|
-
"h3",
|
|
4164
|
-
{
|
|
4165
|
-
style: {
|
|
4166
|
-
margin: 0,
|
|
4167
|
-
fontSize: `${theme.fontSizes[3]}px`,
|
|
4168
|
-
fontWeight: theme.fontWeights.semibold,
|
|
4169
|
-
display: "flex",
|
|
4170
|
-
flexDirection: "column",
|
|
4171
|
-
alignItems: "center",
|
|
4172
|
-
lineHeight: 1.3
|
|
4173
|
-
},
|
|
4174
|
-
children: [
|
|
4175
|
-
/* @__PURE__ */ jsx("span", { style: { color: theme.colors.text }, children: firstWord }),
|
|
4176
|
-
restWords && /* @__PURE__ */ jsx("span", { style: { color: theme.colors.primary }, children: restWords })
|
|
4177
|
-
]
|
|
4178
|
-
}
|
|
4179
|
-
),
|
|
4180
|
-
/* @__PURE__ */ jsx(
|
|
4181
|
-
"p",
|
|
4182
|
-
{
|
|
4183
|
-
style: {
|
|
4184
|
-
margin: 0,
|
|
4185
|
-
fontSize: `${theme.fontSizes[2]}px`,
|
|
4186
|
-
color: theme.colors.textSecondary,
|
|
4187
|
-
lineHeight: 1.5
|
|
4188
|
-
},
|
|
4189
|
-
children: description
|
|
4190
|
-
}
|
|
4191
|
-
),
|
|
4192
|
-
link && /* @__PURE__ */ jsxs(
|
|
4193
|
-
"a",
|
|
4194
|
-
{
|
|
4195
|
-
href: link,
|
|
4196
|
-
target: "_blank",
|
|
4197
|
-
rel: "noopener noreferrer",
|
|
4198
|
-
style: {
|
|
4199
|
-
display: "flex",
|
|
4200
|
-
alignItems: "center",
|
|
4201
|
-
gap: "6px",
|
|
4202
|
-
marginTop: "4px",
|
|
4203
|
-
fontSize: `${theme.fontSizes[1]}px`,
|
|
4204
|
-
color: theme.colors.primary,
|
|
4205
|
-
textDecoration: "none"
|
|
4206
|
-
},
|
|
4207
|
-
children: [
|
|
4208
|
-
linkLabel || "Learn more",
|
|
4209
|
-
/* @__PURE__ */ jsx(ExternalLink, { size: 14 })
|
|
4210
|
-
]
|
|
4211
|
-
}
|
|
4212
|
-
)
|
|
4213
|
-
]
|
|
4214
|
-
}
|
|
4215
|
-
);
|
|
4216
|
-
};
|
|
4217
4125
|
const defaultHighlightedProjects = [
|
|
4218
4126
|
{ owner: "facebook", repo: "react" },
|
|
4219
4127
|
{ owner: "vercel", repo: "next.js" }
|
|
@@ -4527,62 +4435,6 @@ const WelcomePanel = ({
|
|
|
4527
4435
|
)
|
|
4528
4436
|
]
|
|
4529
4437
|
}
|
|
4530
|
-
),
|
|
4531
|
-
/* @__PURE__ */ jsx(
|
|
4532
|
-
"div",
|
|
4533
|
-
{
|
|
4534
|
-
style: {
|
|
4535
|
-
padding: "48px 32px",
|
|
4536
|
-
display: "flex",
|
|
4537
|
-
flexDirection: "column",
|
|
4538
|
-
alignItems: "center"
|
|
4539
|
-
},
|
|
4540
|
-
children: /* @__PURE__ */ jsxs(
|
|
4541
|
-
"div",
|
|
4542
|
-
{
|
|
4543
|
-
style: {
|
|
4544
|
-
display: "flex",
|
|
4545
|
-
gap: "20px",
|
|
4546
|
-
flexWrap: "wrap",
|
|
4547
|
-
justifyContent: "center",
|
|
4548
|
-
maxWidth: "900px"
|
|
4549
|
-
},
|
|
4550
|
-
children: [
|
|
4551
|
-
/* @__PURE__ */ jsx(
|
|
4552
|
-
FeatureCard,
|
|
4553
|
-
{
|
|
4554
|
-
icon: /* @__PURE__ */ jsx(BookOpen, { size: 24 }),
|
|
4555
|
-
title: "Reliable Documentation",
|
|
4556
|
-
description: "Always up-to-date documentation generated directly from your codebase, never out of sync.",
|
|
4557
|
-
theme,
|
|
4558
|
-
link: "https://github.com/principal-ai/alexandria-cli",
|
|
4559
|
-
linkLabel: "alexandria-cli"
|
|
4560
|
-
}
|
|
4561
|
-
),
|
|
4562
|
-
/* @__PURE__ */ jsx(
|
|
4563
|
-
FeatureCard,
|
|
4564
|
-
{
|
|
4565
|
-
icon: /* @__PURE__ */ jsx(Network, { size: 24 }),
|
|
4566
|
-
title: "Interactive Diagrams",
|
|
4567
|
-
description: "Visualize repository structure, dependencies, and architecture with auto-generated diagrams you can explore.",
|
|
4568
|
-
theme,
|
|
4569
|
-
link: "https://www.npmjs.com/package/@principal-ai/visual-validation-cli",
|
|
4570
|
-
linkLabel: "visual-validation-cli"
|
|
4571
|
-
}
|
|
4572
|
-
),
|
|
4573
|
-
/* @__PURE__ */ jsx(
|
|
4574
|
-
FeatureCard,
|
|
4575
|
-
{
|
|
4576
|
-
icon: /* @__PURE__ */ jsx(Sparkles, { size: 24 }),
|
|
4577
|
-
title: "Principal Agent",
|
|
4578
|
-
description: "Ask questions about any repository and get instant, context-aware answers powered by AI.",
|
|
4579
|
-
theme
|
|
4580
|
-
}
|
|
4581
|
-
)
|
|
4582
|
-
]
|
|
4583
|
-
}
|
|
4584
|
-
)
|
|
4585
|
-
}
|
|
4586
4438
|
)
|
|
4587
4439
|
]
|
|
4588
4440
|
}
|