@industry-theme/repository-composition-panels 0.7.17 → 0.7.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,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-BsDrFty7.js";
2
- import "./init-BViSvzO2.js";
1
+ import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-DT3TCpPt.js";
2
+ import "./init-Bl0dzRfB.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-BWR83R0-.js.map
7
+ //# sourceMappingURL=browserAll-BUMR0fG_.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browserAll-BWR83R0-.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]}
1
+ {"version":3,"file":"browserAll-BUMR0fG_.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-BWR83R0-.js");
106210
+ await import("./browserAll-BUMR0fG_.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-DkB5mV_6.js");
106221
+ await import("./webworkerAll-5PoCpT2p.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,299 @@ 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: theme2.colors.backgroundSecondary,
154154
- padding: "16px",
154155
- border: `2px solid ${theme2.colors.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: [
154161
- /* @__PURE__ */ jsx(
154236
+ packages && packages.length > 1 && /* @__PURE__ */ jsxs(
154237
+ "div",
154238
+ {
154239
+ style: {
154240
+ position: "absolute",
154241
+ top: "6px",
154242
+ left: "8px",
154243
+ display: "flex",
154244
+ alignItems: "center",
154245
+ gap: "6px",
154246
+ zIndex: 10
154247
+ },
154248
+ children: [
154249
+ /* @__PURE__ */ jsx(
154250
+ "span",
154251
+ {
154252
+ style: {
154253
+ fontSize: "14px",
154254
+ fontWeight: theme2.fontWeights.bold,
154255
+ color: "#a78bfa",
154256
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154257
+ fontFamily: theme2.fonts.body
154258
+ },
154259
+ children: "Monorepo"
154260
+ }
154261
+ ),
154262
+ /* @__PURE__ */ jsx(
154263
+ "span",
154264
+ {
154265
+ style: {
154266
+ fontSize: "14px",
154267
+ fontWeight: theme2.fontWeights.bold,
154268
+ color: "#ffffff",
154269
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154270
+ fontFamily: theme2.fonts.body
154271
+ },
154272
+ children: packages.length
154273
+ }
154274
+ )
154275
+ ]
154276
+ }
154277
+ ),
154278
+ stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
154279
+ "div",
154280
+ {
154281
+ style: {
154282
+ position: "absolute",
154283
+ top: "6px",
154284
+ right: "8px",
154285
+ display: "flex",
154286
+ alignItems: "center",
154287
+ gap: "4px",
154288
+ zIndex: 10
154289
+ },
154290
+ children: [
154291
+ /* @__PURE__ */ jsx(
154292
+ "span",
154293
+ {
154294
+ style: {
154295
+ fontSize: "10px",
154296
+ fontWeight: theme2.fontWeights.bold,
154297
+ color: "#fbbf24",
154298
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)"
154299
+ },
154300
+ children: "★"
154301
+ }
154302
+ ),
154303
+ /* @__PURE__ */ jsx(
154304
+ "span",
154305
+ {
154306
+ style: {
154307
+ fontSize: "16px",
154308
+ fontWeight: theme2.fontWeights.bold,
154309
+ color: "#ffffff",
154310
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154311
+ fontFamily: theme2.fonts.body
154312
+ },
154313
+ children: formatCount(stars)
154314
+ }
154315
+ )
154316
+ ]
154317
+ }
154318
+ ),
154319
+ /* @__PURE__ */ jsxs(
154162
154320
  "div",
154163
154321
  {
154164
- ref: containerRef,
154165
154322
  style: {
154166
154323
  flex: 1,
154167
- minHeight: height,
154324
+ minHeight: 0,
154325
+ position: "relative",
154326
+ background: `linear-gradient(180deg, ${colors.windowGradient[0]} 0%, ${colors.windowGradient[1]} 100%)`,
154327
+ border: `2px solid ${colors.cardHighlight}`,
154328
+ boxShadow: "inset 0 2px 4px rgba(0,0,0,0.3)",
154329
+ overflow: "hidden",
154168
154330
  display: "flex",
154169
154331
  alignItems: "center",
154170
154332
  justifyContent: "center"
154171
- }
154333
+ },
154334
+ children: [
154335
+ /* @__PURE__ */ jsx(
154336
+ "div",
154337
+ {
154338
+ style: {
154339
+ position: "absolute",
154340
+ inset: 0,
154341
+ pointerEvents: "none",
154342
+ backgroundImage: `
154343
+ radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 50%, transparent 50%),
154344
+ radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 50%, transparent 50%),
154345
+ radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.35) 50%, transparent 50%),
154346
+ radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.25) 50%, transparent 50%),
154347
+ radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
154348
+ radial-gradient(1px 1px at 85% 40%, rgba(255,255,255,0.3) 50%, transparent 50%),
154349
+ radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.35) 50%, transparent 50%),
154350
+ radial-gradient(1px 1px at 35% 70%, rgba(255,255,255,0.25) 50%, transparent 50%),
154351
+ radial-gradient(1px 1px at 50% 85%, rgba(255,255,255,0.4) 50%, transparent 50%),
154352
+ radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
154353
+ radial-gradient(1px 1px at 80% 75%, rgba(255,255,255,0.35) 50%, transparent 50%),
154354
+ radial-gradient(1px 1px at 95% 90%, rgba(255,255,255,0.25) 50%, transparent 50%),
154355
+ radial-gradient(1.5px 1.5px at 20% 25%, rgba(255,255,255,0.5) 50%, transparent 50%),
154356
+ radial-gradient(1.5px 1.5px at 60% 30%, rgba(200,220,255,0.45) 50%, transparent 50%),
154357
+ radial-gradient(1.5px 1.5px at 45% 65%, rgba(255,255,255,0.5) 50%, transparent 50%),
154358
+ radial-gradient(1.5px 1.5px at 75% 80%, rgba(220,200,255,0.45) 50%, transparent 50%),
154359
+ radial-gradient(2px 2px at 30% 50%, rgba(255,255,255,0.6) 50%, transparent 50%),
154360
+ radial-gradient(2px 2px at 70% 55%, rgba(200,220,255,0.55) 50%, transparent 50%),
154361
+ radial-gradient(2px 2px at 90% 15%, rgba(255,255,255,0.6) 50%, transparent 50%)
154362
+ `,
154363
+ backgroundSize: "100% 100%"
154364
+ }
154365
+ }
154366
+ ),
154367
+ /* @__PURE__ */ jsx(
154368
+ "div",
154369
+ {
154370
+ ref: containerRef,
154371
+ style: {
154372
+ width: "100%",
154373
+ height: "100%",
154374
+ display: "flex",
154375
+ alignItems: "center",
154376
+ justifyContent: "center"
154377
+ }
154378
+ }
154379
+ )
154380
+ ]
154172
154381
  }
154173
154382
  ),
154174
- /* @__PURE__ */ jsxs("div", { style: { marginTop: "12px", textAlign: "center" }, children: [
154175
- label && /* @__PURE__ */ jsx(
154176
- "div",
154177
- {
154178
- style: {
154179
- fontSize: theme2.fontSizes[2],
154180
- fontWeight: theme2.fontWeights.semibold,
154181
- color: theme2.colors.text,
154182
- marginBottom: "8px",
154183
- fontFamily: theme2.fonts.body
154184
- },
154185
- children: label
154186
- }
154187
- ),
154188
- /* @__PURE__ */ jsxs(
154189
- "div",
154190
- {
154191
- style: {
154192
- display: "flex",
154193
- justifyContent: "center",
154194
- gap: "16px",
154195
- fontSize: theme2.fontSizes[1],
154196
- color: theme2.colors.textSecondary,
154197
- fontFamily: theme2.fonts.body
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(
154383
+ /* @__PURE__ */ jsxs(
154384
+ "div",
154385
+ {
154386
+ style: {
154387
+ marginTop: "8px",
154388
+ padding: "8px",
154389
+ background: `linear-gradient(180deg, ${colors.panelGradient[0]} 0%, ${colors.panelGradient[1]} 100%)`,
154390
+ border: `1px solid ${colors.panelBorder}`,
154391
+ flexShrink: 0
154392
+ },
154393
+ children: [
154394
+ label && /* @__PURE__ */ jsx(
154395
+ "div",
154396
+ {
154397
+ style: {
154398
+ fontSize: theme2.fontSizes[2],
154399
+ fontWeight: theme2.fontWeights.bold,
154400
+ color: "#ffffff",
154401
+ marginBottom: "6px",
154402
+ fontFamily: theme2.fonts.body,
154403
+ whiteSpace: "nowrap",
154404
+ overflow: "hidden",
154405
+ textOverflow: "ellipsis",
154406
+ textShadow: "0 1px 2px rgba(0,0,0,0.3)",
154407
+ textAlign: "center"
154408
+ },
154409
+ children: label
154410
+ }
154411
+ ),
154412
+ /* @__PURE__ */ jsx(
154413
+ "div",
154414
+ {
154415
+ style: {
154416
+ display: "flex",
154417
+ justifyContent: "center",
154418
+ flexWrap: "wrap",
154419
+ gap: "10px",
154420
+ fontSize: theme2.fontSizes[1],
154421
+ color: "#e0e0e0",
154422
+ fontFamily: theme2.fonts.body
154423
+ },
154424
+ children: files !== void 0 && files > 0 && /* @__PURE__ */ jsxs(
154425
+ "span",
154426
+ {
154427
+ style: { display: "flex", alignItems: "center", gap: "4px" },
154428
+ children: [
154429
+ /* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#94a3b8", children: /* @__PURE__ */ jsx(
154233
154430
  "path",
154234
154431
  {
154235
- d: "M8 8v7M8 8l6-3M8 8L2 5",
154236
- stroke: "#8b5cf6",
154237
- strokeWidth: "1"
154432
+ d: "M3 1h7l3 3v11H3V1zm7 0v3h3M5 8h6M5 11h6",
154433
+ stroke: "#94a3b8",
154434
+ strokeWidth: "1",
154435
+ fill: "none"
154238
154436
  }
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
154437
+ ) }),
154438
+ formatCount(files)
154439
+ ]
154440
+ }
154441
+ )
154442
+ }
154443
+ ),
154444
+ packages && packages.length > 1 && /* @__PURE__ */ jsxs(
154445
+ "div",
154446
+ {
154447
+ style: {
154448
+ marginTop: "6px",
154449
+ display: "flex",
154450
+ flexWrap: "wrap",
154451
+ justifyContent: "center",
154452
+ gap: "4px"
154307
154453
  },
154308
- i2
154309
- )),
154310
- packages.length > 6 && /* @__PURE__ */ jsxs(
154311
- "span",
154312
- {
154313
- style: {
154314
- fontSize: theme2.fontSizes[0],
154315
- color: theme2.colors.textSecondary,
154316
- fontFamily: theme2.fonts.body
154317
- },
154318
- children: [
154319
- "+",
154320
- packages.length - 6,
154321
- " more"
154322
- ]
154323
- }
154324
- )
154325
- ]
154326
- }
154327
- )
154328
- ] })
154454
+ children: [
154455
+ packages.slice(0, 6).map((pkg, i2) => /* @__PURE__ */ jsx(
154456
+ "span",
154457
+ {
154458
+ style: {
154459
+ fontSize: theme2.fontSizes[0],
154460
+ color: "#e0e0e0",
154461
+ backgroundColor: "rgba(0,0,0,0.2)",
154462
+ padding: "2px 6px",
154463
+ borderRadius: "3px",
154464
+ fontFamily: theme2.fonts.body,
154465
+ borderLeft: `2px solid ${typeof pkg.color === "string" ? pkg.color : `#${(pkg.color || 8947848).toString(16).padStart(6, "0")}`}`
154466
+ },
154467
+ children: pkg.name
154468
+ },
154469
+ i2
154470
+ )),
154471
+ packages.length > 6 && /* @__PURE__ */ jsxs(
154472
+ "span",
154473
+ {
154474
+ style: {
154475
+ fontSize: theme2.fontSizes[0],
154476
+ color: "#a0a0a0",
154477
+ fontFamily: theme2.fonts.body
154478
+ },
154479
+ children: [
154480
+ "+",
154481
+ packages.length - 6,
154482
+ " more"
154483
+ ]
154484
+ }
154485
+ )
154486
+ ]
154487
+ }
154488
+ )
154489
+ ]
154490
+ }
154491
+ ),
154492
+ license && /* @__PURE__ */ jsx(
154493
+ "div",
154494
+ {
154495
+ style: {
154496
+ position: "absolute",
154497
+ bottom: "-3px",
154498
+ right: "-3px",
154499
+ backgroundColor: licenseBorder || colors.cardHighlight,
154500
+ padding: "3px 10px",
154501
+ borderRadius: "3px 0 0 0",
154502
+ fontSize: theme2.fontSizes[0],
154503
+ fontWeight: theme2.fontWeights.bold,
154504
+ color: "#ffffff",
154505
+ textShadow: "0 1px 1px rgba(0,0,0,0.3)"
154506
+ },
154507
+ children: license
154508
+ }
154509
+ )
154329
154510
  ]
154330
154511
  }
154331
154512
  );
@@ -154505,4 +154686,4 @@ export {
154505
154686
  TelemetryCoveragePanelPreview as y,
154506
154687
  CollectionMapPanel as z
154507
154688
  };
154508
- //# sourceMappingURL=index-BsDrFty7.js.map
154689
+ //# sourceMappingURL=index-DT3TCpPt.js.map