@industry-theme/repository-composition-panels 0.7.17 → 0.7.18
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.
- package/dist/{browserAll-BWR83R0-.js → browserAll-Bj2nHo1Q.js} +3 -3
- package/dist/{browserAll-BWR83R0-.js.map → browserAll-Bj2nHo1Q.js.map} +1 -1
- package/dist/{index-BsDrFty7.js → index-BqsaXH0f.js} +331 -164
- package/dist/{index-BsDrFty7.js.map → index-BqsaXH0f.js.map} +1 -1
- package/dist/{init-BViSvzO2.js → init-T4cOxNb3.js} +2 -2
- package/dist/{init-BViSvzO2.js.map → init-T4cOxNb3.js.map} +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +4 -0
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-DlkJrGSQ.js +3 -0
- package/dist/webworkerAll-DlkJrGSQ.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-DkB5mV_6.js +0 -3
- package/dist/webworkerAll-DkB5mV_6.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-
|
|
2
|
-
import "./init-
|
|
1
|
+
import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-BqsaXH0f.js";
|
|
2
|
+
import "./init-T4cOxNb3.js";
|
|
3
3
|
extensions.add(AccessibilitySystem);
|
|
4
4
|
extensions.mixin(Container, accessibilityTarget);
|
|
5
5
|
extensions.add(EventSystem);
|
|
6
6
|
extensions.mixin(Container, FederatedContainer);
|
|
7
|
-
//# sourceMappingURL=browserAll-
|
|
7
|
+
//# sourceMappingURL=browserAll-Bj2nHo1Q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAll-
|
|
1
|
+
{"version":3,"file":"browserAll-Bj2nHo1Q.js","sources":["../node_modules/pixi.js/lib/accessibility/init.mjs","../node_modules/pixi.js/lib/events/init.mjs"],"sourcesContent":["import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { AccessibilitySystem } from './AccessibilitySystem.mjs';\nimport { accessibilityTarget } from './accessibilityTarget.mjs';\n\n\"use strict\";\nextensions.add(AccessibilitySystem);\nextensions.mixin(Container, accessibilityTarget);\n//# sourceMappingURL=init.mjs.map\n","import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { EventSystem } from './EventSystem.mjs';\nimport { FederatedContainer } from './FederatedEventTarget.mjs';\n\n\"use strict\";\nextensions.add(EventSystem);\nextensions.mixin(Container, FederatedContainer);\n//# sourceMappingURL=init.mjs.map\n"],"names":[],"mappings":";;AAMA,WAAW,IAAI,mBAAmB;AAClC,WAAW,MAAM,WAAW,mBAAmB;ACD/C,WAAW,IAAI,WAAW;AAC1B,WAAW,MAAM,WAAW,kBAAkB;","x_google_ignoreList":[0,1]}
|
|
@@ -106207,7 +106207,7 @@ const browserExt = {
|
|
|
106207
106207
|
},
|
|
106208
106208
|
test: () => true,
|
|
106209
106209
|
load: async () => {
|
|
106210
|
-
await import("./browserAll-
|
|
106210
|
+
await import("./browserAll-Bj2nHo1Q.js");
|
|
106211
106211
|
}
|
|
106212
106212
|
};
|
|
106213
106213
|
const webworkerExt = {
|
|
@@ -106218,7 +106218,7 @@ const webworkerExt = {
|
|
|
106218
106218
|
},
|
|
106219
106219
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106220
106220
|
load: async () => {
|
|
106221
|
-
await import("./webworkerAll-
|
|
106221
|
+
await import("./webworkerAll-DlkJrGSQ.js");
|
|
106222
106222
|
}
|
|
106223
106223
|
};
|
|
106224
106224
|
class ObservablePoint {
|
|
@@ -153890,6 +153890,75 @@ const TelemetryCoveragePanel = ({ context: context2, events }) => {
|
|
|
153890
153890
|
};
|
|
153891
153891
|
const ISO_TILE_WIDTH = 64;
|
|
153892
153892
|
const ISO_TILE_HEIGHT = 32;
|
|
153893
|
+
const licenseBorderColors = {
|
|
153894
|
+
"MIT": "#228b22",
|
|
153895
|
+
// Forest green - open/welcoming
|
|
153896
|
+
"BSD": "#228b22",
|
|
153897
|
+
// Same as MIT
|
|
153898
|
+
"BSD-3-Clause": "#228b22",
|
|
153899
|
+
"ISC": "#228b22",
|
|
153900
|
+
"Apache-2.0": "#d97706",
|
|
153901
|
+
// Amber/orange - formal but welcoming
|
|
153902
|
+
"GPL-3.0": "#2255aa",
|
|
153903
|
+
// GNU blue
|
|
153904
|
+
"LGPL-3.0": "#2255aa",
|
|
153905
|
+
"GPL-2.0": "#2255aa",
|
|
153906
|
+
"AGPL-3.0": "#2255aa",
|
|
153907
|
+
"MPL-2.0": "#8b5cf6",
|
|
153908
|
+
// Purple
|
|
153909
|
+
"UNLICENSED": "#dc2626"
|
|
153910
|
+
// Red - restrictive
|
|
153911
|
+
};
|
|
153912
|
+
const cardThemes = {
|
|
153913
|
+
blue: {
|
|
153914
|
+
cardBg: "#3b4a6b",
|
|
153915
|
+
cardBorder: "#2a3654",
|
|
153916
|
+
cardHighlight: "#4a5d8a",
|
|
153917
|
+
windowGradient: ["#1a1a2e", "#16213e"],
|
|
153918
|
+
panelGradient: ["#4a5d8a", "#3b4a6b"],
|
|
153919
|
+
panelBorder: "#5a6d9a"
|
|
153920
|
+
},
|
|
153921
|
+
red: {
|
|
153922
|
+
cardBg: "#6b3b3b",
|
|
153923
|
+
cardBorder: "#542a2a",
|
|
153924
|
+
cardHighlight: "#8a4a4a",
|
|
153925
|
+
windowGradient: ["#2e1a1a", "#3e1616"],
|
|
153926
|
+
panelGradient: ["#8a4a4a", "#6b3b3b"],
|
|
153927
|
+
panelBorder: "#9a5a5a"
|
|
153928
|
+
},
|
|
153929
|
+
green: {
|
|
153930
|
+
cardBg: "#3b6b4a",
|
|
153931
|
+
cardBorder: "#2a5436",
|
|
153932
|
+
cardHighlight: "#4a8a5d",
|
|
153933
|
+
windowGradient: ["#1a2e1f", "#163e21"],
|
|
153934
|
+
panelGradient: ["#4a8a5d", "#3b6b4a"],
|
|
153935
|
+
panelBorder: "#5a9a6d"
|
|
153936
|
+
},
|
|
153937
|
+
purple: {
|
|
153938
|
+
cardBg: "#5b3b6b",
|
|
153939
|
+
cardBorder: "#442a54",
|
|
153940
|
+
cardHighlight: "#7a4a8a",
|
|
153941
|
+
windowGradient: ["#261a2e", "#30163e"],
|
|
153942
|
+
panelGradient: ["#7a4a8a", "#5b3b6b"],
|
|
153943
|
+
panelBorder: "#8a5a9a"
|
|
153944
|
+
},
|
|
153945
|
+
gold: {
|
|
153946
|
+
cardBg: "#6b5a3b",
|
|
153947
|
+
cardBorder: "#54462a",
|
|
153948
|
+
cardHighlight: "#8a754a",
|
|
153949
|
+
windowGradient: ["#2e271a", "#3e3216"],
|
|
153950
|
+
panelGradient: ["#8a754a", "#6b5a3b"],
|
|
153951
|
+
panelBorder: "#9a855a"
|
|
153952
|
+
},
|
|
153953
|
+
dark: {
|
|
153954
|
+
cardBg: "#2a2a2a",
|
|
153955
|
+
cardBorder: "#1a1a1a",
|
|
153956
|
+
cardHighlight: "#3a3a3a",
|
|
153957
|
+
windowGradient: ["#0a0a0a", "#151515"],
|
|
153958
|
+
panelGradient: ["#3a3a3a", "#2a2a2a"],
|
|
153959
|
+
panelBorder: "#4a4a4a"
|
|
153960
|
+
}
|
|
153961
|
+
};
|
|
153893
153962
|
function parseColor(color2) {
|
|
153894
153963
|
if (typeof color2 === "number") return color2;
|
|
153895
153964
|
return parseInt(color2.replace("#", ""), 16);
|
|
@@ -153952,6 +154021,7 @@ const RepoSprite = ({
|
|
|
153952
154021
|
license,
|
|
153953
154022
|
label,
|
|
153954
154023
|
variant = "default",
|
|
154024
|
+
cardTheme = "blue",
|
|
153955
154025
|
width = 200,
|
|
153956
154026
|
height = 200,
|
|
153957
154027
|
backgroundColor,
|
|
@@ -154144,188 +154214,285 @@ const RepoSprite = ({
|
|
|
154144
154214
|
onPackageHoverEnd
|
|
154145
154215
|
]);
|
|
154146
154216
|
if (variant === "card") {
|
|
154217
|
+
const colors = cardThemes[cardTheme];
|
|
154218
|
+
const licenseBorder = license ? licenseBorderColors[license] : null;
|
|
154147
154219
|
return /* @__PURE__ */ jsxs(
|
|
154148
154220
|
"div",
|
|
154149
154221
|
{
|
|
154150
154222
|
style: {
|
|
154223
|
+
position: "relative",
|
|
154151
154224
|
display: "flex",
|
|
154152
154225
|
flexDirection: "column",
|
|
154153
|
-
backgroundColor:
|
|
154154
|
-
padding: "
|
|
154155
|
-
border:
|
|
154226
|
+
backgroundColor: colors.cardBg,
|
|
154227
|
+
padding: "28px 12px 12px 12px",
|
|
154228
|
+
border: `${licenseBorder ? "5px" : "3px"} solid ${licenseBorder || colors.cardBorder}`,
|
|
154156
154229
|
width: "100%",
|
|
154157
154230
|
height: "100%",
|
|
154158
|
-
boxSizing: "border-box"
|
|
154231
|
+
boxSizing: "border-box",
|
|
154232
|
+
overflow: "hidden",
|
|
154233
|
+
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
154159
154234
|
},
|
|
154160
154235
|
children: [
|
|
154236
|
+
collaborators !== void 0 && collaborators > 0 && /* @__PURE__ */ jsxs(
|
|
154237
|
+
"div",
|
|
154238
|
+
{
|
|
154239
|
+
style: {
|
|
154240
|
+
position: "absolute",
|
|
154241
|
+
top: "6px",
|
|
154242
|
+
left: "8px",
|
|
154243
|
+
display: "flex",
|
|
154244
|
+
alignItems: "center",
|
|
154245
|
+
gap: "4px",
|
|
154246
|
+
zIndex: 10
|
|
154247
|
+
},
|
|
154248
|
+
children: [
|
|
154249
|
+
/* @__PURE__ */ jsxs("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "#22c55e", children: [
|
|
154250
|
+
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "5", r: "2.5" }),
|
|
154251
|
+
/* @__PURE__ */ jsx("circle", { cx: "11", cy: "5", r: "2.5" }),
|
|
154252
|
+
/* @__PURE__ */ jsx("path", { d: "M1 14c0-2.5 2-4 4-4s4 1.5 4 4M7 14c0-2.5 2-4 4-4s4 1.5 4 4" })
|
|
154253
|
+
] }),
|
|
154254
|
+
/* @__PURE__ */ jsx(
|
|
154255
|
+
"span",
|
|
154256
|
+
{
|
|
154257
|
+
style: {
|
|
154258
|
+
fontSize: "16px",
|
|
154259
|
+
fontWeight: theme2.fontWeights.bold,
|
|
154260
|
+
color: "#ffffff",
|
|
154261
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
154262
|
+
fontFamily: theme2.fonts.body
|
|
154263
|
+
},
|
|
154264
|
+
children: formatCount(collaborators)
|
|
154265
|
+
}
|
|
154266
|
+
)
|
|
154267
|
+
]
|
|
154268
|
+
}
|
|
154269
|
+
),
|
|
154270
|
+
stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
|
|
154271
|
+
"div",
|
|
154272
|
+
{
|
|
154273
|
+
style: {
|
|
154274
|
+
position: "absolute",
|
|
154275
|
+
top: "6px",
|
|
154276
|
+
right: "8px",
|
|
154277
|
+
display: "flex",
|
|
154278
|
+
alignItems: "center",
|
|
154279
|
+
gap: "4px",
|
|
154280
|
+
zIndex: 10
|
|
154281
|
+
},
|
|
154282
|
+
children: [
|
|
154283
|
+
/* @__PURE__ */ jsx(
|
|
154284
|
+
"span",
|
|
154285
|
+
{
|
|
154286
|
+
style: {
|
|
154287
|
+
fontSize: "10px",
|
|
154288
|
+
fontWeight: theme2.fontWeights.bold,
|
|
154289
|
+
color: "#fbbf24",
|
|
154290
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)"
|
|
154291
|
+
},
|
|
154292
|
+
children: "★"
|
|
154293
|
+
}
|
|
154294
|
+
),
|
|
154295
|
+
/* @__PURE__ */ jsx(
|
|
154296
|
+
"span",
|
|
154297
|
+
{
|
|
154298
|
+
style: {
|
|
154299
|
+
fontSize: "16px",
|
|
154300
|
+
fontWeight: theme2.fontWeights.bold,
|
|
154301
|
+
color: "#ffffff",
|
|
154302
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
154303
|
+
fontFamily: theme2.fonts.body
|
|
154304
|
+
},
|
|
154305
|
+
children: formatCount(stars)
|
|
154306
|
+
}
|
|
154307
|
+
)
|
|
154308
|
+
]
|
|
154309
|
+
}
|
|
154310
|
+
),
|
|
154161
154311
|
/* @__PURE__ */ jsx(
|
|
154162
154312
|
"div",
|
|
154163
154313
|
{
|
|
154164
|
-
ref: containerRef,
|
|
154165
154314
|
style: {
|
|
154166
154315
|
flex: 1,
|
|
154167
|
-
minHeight:
|
|
154316
|
+
minHeight: 0,
|
|
154317
|
+
background: `linear-gradient(180deg, ${colors.windowGradient[0]} 0%, ${colors.windowGradient[1]} 100%)`,
|
|
154318
|
+
border: `2px solid ${colors.cardHighlight}`,
|
|
154319
|
+
boxShadow: "inset 0 2px 4px rgba(0,0,0,0.3)",
|
|
154320
|
+
overflow: "hidden",
|
|
154168
154321
|
display: "flex",
|
|
154169
154322
|
alignItems: "center",
|
|
154170
154323
|
justifyContent: "center"
|
|
154171
|
-
}
|
|
154324
|
+
},
|
|
154325
|
+
children: /* @__PURE__ */ jsx(
|
|
154326
|
+
"div",
|
|
154327
|
+
{
|
|
154328
|
+
ref: containerRef,
|
|
154329
|
+
style: {
|
|
154330
|
+
width: "100%",
|
|
154331
|
+
height: "100%",
|
|
154332
|
+
display: "flex",
|
|
154333
|
+
alignItems: "center",
|
|
154334
|
+
justifyContent: "center"
|
|
154335
|
+
}
|
|
154336
|
+
}
|
|
154337
|
+
)
|
|
154172
154338
|
}
|
|
154173
154339
|
),
|
|
154174
|
-
/* @__PURE__ */ jsxs(
|
|
154175
|
-
|
|
154176
|
-
|
|
154177
|
-
{
|
|
154178
|
-
|
|
154179
|
-
|
|
154180
|
-
|
|
154181
|
-
|
|
154182
|
-
|
|
154183
|
-
|
|
154184
|
-
|
|
154185
|
-
|
|
154186
|
-
|
|
154187
|
-
|
|
154188
|
-
|
|
154189
|
-
|
|
154190
|
-
|
|
154191
|
-
|
|
154192
|
-
|
|
154193
|
-
|
|
154194
|
-
|
|
154195
|
-
|
|
154196
|
-
|
|
154197
|
-
|
|
154198
|
-
|
|
154199
|
-
children: [
|
|
154200
|
-
files !== void 0 && files > 0 && /* @__PURE__ */ jsxs(
|
|
154201
|
-
"span",
|
|
154202
|
-
{
|
|
154203
|
-
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154204
|
-
children: [
|
|
154205
|
-
/* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#64748b", children: /* @__PURE__ */ jsx(
|
|
154206
|
-
"path",
|
|
154207
|
-
{
|
|
154208
|
-
d: "M3 1h7l3 3v11H3V1zm7 0v3h3M5 8h6M5 11h6",
|
|
154209
|
-
stroke: "#64748b",
|
|
154210
|
-
strokeWidth: "1",
|
|
154211
|
-
fill: "none"
|
|
154212
|
-
}
|
|
154213
|
-
) }),
|
|
154214
|
-
formatCount(files)
|
|
154215
|
-
]
|
|
154216
|
-
}
|
|
154217
|
-
),
|
|
154218
|
-
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
154219
|
-
"span",
|
|
154220
|
-
{
|
|
154221
|
-
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154222
|
-
children: [
|
|
154223
|
-
/* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "none", children: [
|
|
154224
|
-
/* @__PURE__ */ jsx(
|
|
154225
|
-
"path",
|
|
154226
|
-
{
|
|
154227
|
-
d: "M8 1L14 4v8l-6 3-6-3V4l6-3z",
|
|
154228
|
-
stroke: "#8b5cf6",
|
|
154229
|
-
strokeWidth: "1.5"
|
|
154230
|
-
}
|
|
154231
|
-
),
|
|
154232
|
-
/* @__PURE__ */ jsx(
|
|
154233
|
-
"path",
|
|
154234
|
-
{
|
|
154235
|
-
d: "M8 8v7M8 8l6-3M8 8L2 5",
|
|
154236
|
-
stroke: "#8b5cf6",
|
|
154237
|
-
strokeWidth: "1"
|
|
154238
|
-
}
|
|
154239
|
-
)
|
|
154240
|
-
] }),
|
|
154241
|
-
packages.length
|
|
154242
|
-
]
|
|
154243
|
-
}
|
|
154244
|
-
),
|
|
154245
|
-
stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
|
|
154246
|
-
"span",
|
|
154247
|
-
{
|
|
154248
|
-
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154249
|
-
children: [
|
|
154250
|
-
/* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#fbbf24", children: /* @__PURE__ */ jsx("path", { d: "M8 1l2.2 4.4 4.8.7-3.5 3.4.8 4.8L8 12l-4.3 2.3.8-4.8L1 6.1l4.8-.7L8 1z" }) }),
|
|
154251
|
-
formatCount(stars)
|
|
154252
|
-
]
|
|
154253
|
-
}
|
|
154254
|
-
),
|
|
154255
|
-
collaborators !== void 0 && collaborators > 0 && /* @__PURE__ */ jsxs(
|
|
154256
|
-
"span",
|
|
154257
|
-
{
|
|
154258
|
-
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154259
|
-
children: [
|
|
154260
|
-
/* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#22c55e", children: [
|
|
154261
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "5", r: "2.5" }),
|
|
154262
|
-
/* @__PURE__ */ jsx("circle", { cx: "11", cy: "5", r: "2.5" }),
|
|
154263
|
-
/* @__PURE__ */ jsx("path", { d: "M1 14c0-2.5 2-4 4-4s4 1.5 4 4M7 14c0-2.5 2-4 4-4s4 1.5 4 4" })
|
|
154264
|
-
] }),
|
|
154265
|
-
formatCount(collaborators)
|
|
154266
|
-
]
|
|
154267
|
-
}
|
|
154268
|
-
),
|
|
154269
|
-
license && /* @__PURE__ */ jsx(
|
|
154270
|
-
"span",
|
|
154271
|
-
{
|
|
154272
|
-
style: {
|
|
154273
|
-
backgroundColor: theme2.colors.backgroundTertiary,
|
|
154274
|
-
padding: "2px 6px",
|
|
154275
|
-
borderRadius: "4px",
|
|
154276
|
-
fontSize: theme2.fontSizes[0]
|
|
154277
|
-
},
|
|
154278
|
-
children: license
|
|
154279
|
-
}
|
|
154280
|
-
)
|
|
154281
|
-
]
|
|
154282
|
-
}
|
|
154283
|
-
),
|
|
154284
|
-
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
154285
|
-
"div",
|
|
154286
|
-
{
|
|
154287
|
-
style: {
|
|
154288
|
-
marginTop: "8px",
|
|
154289
|
-
display: "flex",
|
|
154290
|
-
flexWrap: "wrap",
|
|
154291
|
-
justifyContent: "center",
|
|
154292
|
-
gap: "4px"
|
|
154293
|
-
},
|
|
154294
|
-
children: [
|
|
154295
|
-
packages.slice(0, 6).map((pkg, i2) => /* @__PURE__ */ jsx(
|
|
154296
|
-
"span",
|
|
154297
|
-
{
|
|
154298
|
-
style: {
|
|
154299
|
-
fontSize: theme2.fontSizes[0],
|
|
154300
|
-
color: theme2.colors.textSecondary,
|
|
154301
|
-
backgroundColor: theme2.colors.backgroundTertiary,
|
|
154302
|
-
padding: "2px 6px",
|
|
154303
|
-
fontFamily: theme2.fonts.body,
|
|
154304
|
-
borderLeft: `2px solid ${typeof pkg.color === "string" ? pkg.color : `#${(pkg.color || 8947848).toString(16).padStart(6, "0")}`}`
|
|
154305
|
-
},
|
|
154306
|
-
children: pkg.name
|
|
154340
|
+
/* @__PURE__ */ jsxs(
|
|
154341
|
+
"div",
|
|
154342
|
+
{
|
|
154343
|
+
style: {
|
|
154344
|
+
marginTop: "8px",
|
|
154345
|
+
padding: "8px",
|
|
154346
|
+
background: `linear-gradient(180deg, ${colors.panelGradient[0]} 0%, ${colors.panelGradient[1]} 100%)`,
|
|
154347
|
+
border: `1px solid ${colors.panelBorder}`,
|
|
154348
|
+
flexShrink: 0
|
|
154349
|
+
},
|
|
154350
|
+
children: [
|
|
154351
|
+
label && /* @__PURE__ */ jsx(
|
|
154352
|
+
"div",
|
|
154353
|
+
{
|
|
154354
|
+
style: {
|
|
154355
|
+
fontSize: theme2.fontSizes[2],
|
|
154356
|
+
fontWeight: theme2.fontWeights.bold,
|
|
154357
|
+
color: "#ffffff",
|
|
154358
|
+
marginBottom: "6px",
|
|
154359
|
+
fontFamily: theme2.fonts.body,
|
|
154360
|
+
whiteSpace: "nowrap",
|
|
154361
|
+
overflow: "hidden",
|
|
154362
|
+
textOverflow: "ellipsis",
|
|
154363
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.3)",
|
|
154364
|
+
textAlign: "center"
|
|
154307
154365
|
},
|
|
154308
|
-
|
|
154309
|
-
|
|
154310
|
-
|
|
154311
|
-
|
|
154312
|
-
|
|
154313
|
-
|
|
154314
|
-
|
|
154315
|
-
|
|
154316
|
-
|
|
154317
|
-
|
|
154318
|
-
|
|
154319
|
-
|
|
154320
|
-
|
|
154321
|
-
|
|
154322
|
-
|
|
154323
|
-
|
|
154324
|
-
|
|
154325
|
-
|
|
154326
|
-
|
|
154327
|
-
|
|
154328
|
-
|
|
154366
|
+
children: label
|
|
154367
|
+
}
|
|
154368
|
+
),
|
|
154369
|
+
/* @__PURE__ */ jsxs(
|
|
154370
|
+
"div",
|
|
154371
|
+
{
|
|
154372
|
+
style: {
|
|
154373
|
+
display: "flex",
|
|
154374
|
+
justifyContent: "center",
|
|
154375
|
+
flexWrap: "wrap",
|
|
154376
|
+
gap: "10px",
|
|
154377
|
+
fontSize: theme2.fontSizes[1],
|
|
154378
|
+
color: "#e0e0e0",
|
|
154379
|
+
fontFamily: theme2.fonts.body
|
|
154380
|
+
},
|
|
154381
|
+
children: [
|
|
154382
|
+
files !== void 0 && files > 0 && /* @__PURE__ */ jsxs(
|
|
154383
|
+
"span",
|
|
154384
|
+
{
|
|
154385
|
+
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154386
|
+
children: [
|
|
154387
|
+
/* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#94a3b8", children: /* @__PURE__ */ jsx(
|
|
154388
|
+
"path",
|
|
154389
|
+
{
|
|
154390
|
+
d: "M3 1h7l3 3v11H3V1zm7 0v3h3M5 8h6M5 11h6",
|
|
154391
|
+
stroke: "#94a3b8",
|
|
154392
|
+
strokeWidth: "1",
|
|
154393
|
+
fill: "none"
|
|
154394
|
+
}
|
|
154395
|
+
) }),
|
|
154396
|
+
formatCount(files)
|
|
154397
|
+
]
|
|
154398
|
+
}
|
|
154399
|
+
),
|
|
154400
|
+
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
154401
|
+
"span",
|
|
154402
|
+
{
|
|
154403
|
+
style: { display: "flex", alignItems: "center", gap: "4px" },
|
|
154404
|
+
children: [
|
|
154405
|
+
/* @__PURE__ */ jsxs("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "none", children: [
|
|
154406
|
+
/* @__PURE__ */ jsx(
|
|
154407
|
+
"path",
|
|
154408
|
+
{
|
|
154409
|
+
d: "M8 1L14 4v8l-6 3-6-3V4l6-3z",
|
|
154410
|
+
stroke: "#8b5cf6",
|
|
154411
|
+
strokeWidth: "1.5"
|
|
154412
|
+
}
|
|
154413
|
+
),
|
|
154414
|
+
/* @__PURE__ */ jsx(
|
|
154415
|
+
"path",
|
|
154416
|
+
{
|
|
154417
|
+
d: "M8 8v7M8 8l6-3M8 8L2 5",
|
|
154418
|
+
stroke: "#8b5cf6",
|
|
154419
|
+
strokeWidth: "1"
|
|
154420
|
+
}
|
|
154421
|
+
)
|
|
154422
|
+
] }),
|
|
154423
|
+
packages.length
|
|
154424
|
+
]
|
|
154425
|
+
}
|
|
154426
|
+
)
|
|
154427
|
+
]
|
|
154428
|
+
}
|
|
154429
|
+
),
|
|
154430
|
+
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
154431
|
+
"div",
|
|
154432
|
+
{
|
|
154433
|
+
style: {
|
|
154434
|
+
marginTop: "6px",
|
|
154435
|
+
display: "flex",
|
|
154436
|
+
flexWrap: "wrap",
|
|
154437
|
+
justifyContent: "center",
|
|
154438
|
+
gap: "4px"
|
|
154439
|
+
},
|
|
154440
|
+
children: [
|
|
154441
|
+
packages.slice(0, 6).map((pkg, i2) => /* @__PURE__ */ jsx(
|
|
154442
|
+
"span",
|
|
154443
|
+
{
|
|
154444
|
+
style: {
|
|
154445
|
+
fontSize: theme2.fontSizes[0],
|
|
154446
|
+
color: "#e0e0e0",
|
|
154447
|
+
backgroundColor: "rgba(0,0,0,0.2)",
|
|
154448
|
+
padding: "2px 6px",
|
|
154449
|
+
borderRadius: "3px",
|
|
154450
|
+
fontFamily: theme2.fonts.body,
|
|
154451
|
+
borderLeft: `2px solid ${typeof pkg.color === "string" ? pkg.color : `#${(pkg.color || 8947848).toString(16).padStart(6, "0")}`}`
|
|
154452
|
+
},
|
|
154453
|
+
children: pkg.name
|
|
154454
|
+
},
|
|
154455
|
+
i2
|
|
154456
|
+
)),
|
|
154457
|
+
packages.length > 6 && /* @__PURE__ */ jsxs(
|
|
154458
|
+
"span",
|
|
154459
|
+
{
|
|
154460
|
+
style: {
|
|
154461
|
+
fontSize: theme2.fontSizes[0],
|
|
154462
|
+
color: "#a0a0a0",
|
|
154463
|
+
fontFamily: theme2.fonts.body
|
|
154464
|
+
},
|
|
154465
|
+
children: [
|
|
154466
|
+
"+",
|
|
154467
|
+
packages.length - 6,
|
|
154468
|
+
" more"
|
|
154469
|
+
]
|
|
154470
|
+
}
|
|
154471
|
+
)
|
|
154472
|
+
]
|
|
154473
|
+
}
|
|
154474
|
+
)
|
|
154475
|
+
]
|
|
154476
|
+
}
|
|
154477
|
+
),
|
|
154478
|
+
license && /* @__PURE__ */ jsx(
|
|
154479
|
+
"div",
|
|
154480
|
+
{
|
|
154481
|
+
style: {
|
|
154482
|
+
position: "absolute",
|
|
154483
|
+
bottom: "-3px",
|
|
154484
|
+
right: "-3px",
|
|
154485
|
+
backgroundColor: licenseBorder || colors.cardHighlight,
|
|
154486
|
+
padding: "3px 10px",
|
|
154487
|
+
borderRadius: "3px 0 0 0",
|
|
154488
|
+
fontSize: theme2.fontSizes[0],
|
|
154489
|
+
fontWeight: theme2.fontWeights.bold,
|
|
154490
|
+
color: "#ffffff",
|
|
154491
|
+
textShadow: "0 1px 1px rgba(0,0,0,0.3)"
|
|
154492
|
+
},
|
|
154493
|
+
children: license
|
|
154494
|
+
}
|
|
154495
|
+
)
|
|
154329
154496
|
]
|
|
154330
154497
|
}
|
|
154331
154498
|
);
|
|
@@ -154505,4 +154672,4 @@ export {
|
|
|
154505
154672
|
TelemetryCoveragePanelPreview as y,
|
|
154506
154673
|
CollectionMapPanel as z
|
|
154507
154674
|
};
|
|
154508
|
-
//# sourceMappingURL=index-
|
|
154675
|
+
//# sourceMappingURL=index-BqsaXH0f.js.map
|