@industry-theme/repository-composition-panels 0.7.23 → 0.7.24

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-Ckze1Emy.js";
2
- import "./init-Drxfx9_O.js";
1
+ import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-Du-HFyPY.js";
2
+ import "./init-BU3NCsD0.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-6MT3m5a1.js.map
7
+ //# sourceMappingURL=browserAll-B8SGpKNH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browserAll-6MT3m5a1.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-B8SGpKNH.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-6MT3m5a1.js");
106210
+ await import("./browserAll-B8SGpKNH.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-XH8wWWkO.js");
106221
+ await import("./webworkerAll-C72I_Byi.js");
106222
106222
  }
106223
106223
  };
106224
106224
  class ObservablePoint {
@@ -154020,6 +154020,7 @@ const RepoSprite = ({
154020
154020
  collaborators,
154021
154021
  license,
154022
154022
  label,
154023
+ owner,
154023
154024
  variant = "default",
154024
154025
  cardTheme = "blue",
154025
154026
  width = 200,
@@ -154233,7 +154234,7 @@ const RepoSprite = ({
154233
154234
  boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
154234
154235
  },
154235
154236
  children: [
154236
- packages && packages.length > 1 && /* @__PURE__ */ jsxs(
154237
+ owner && /* @__PURE__ */ jsxs(
154237
154238
  "div",
154238
154239
  {
154239
154240
  style: {
@@ -154247,29 +154248,33 @@ const RepoSprite = ({
154247
154248
  },
154248
154249
  children: [
154249
154250
  /* @__PURE__ */ jsx(
154250
- "span",
154251
+ "img",
154251
154252
  {
154253
+ src: `https://github.com/${owner}.png?size=40`,
154254
+ alt: owner,
154252
154255
  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"
154256
+ width: "18px",
154257
+ height: "18px",
154258
+ borderRadius: "50%",
154259
+ border: "1px solid rgba(255,255,255,0.3)"
154260
+ }
154260
154261
  }
154261
154262
  ),
154262
154263
  /* @__PURE__ */ jsx(
154263
154264
  "span",
154264
154265
  {
154265
154266
  style: {
154266
- fontSize: "14px",
154267
- fontWeight: theme2.fontWeights.bold,
154268
- color: "#ffffff",
154267
+ fontSize: "12px",
154268
+ fontWeight: theme2.fontWeights.medium,
154269
+ color: "#e0e0e0",
154269
154270
  textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154270
- fontFamily: theme2.fonts.body
154271
+ fontFamily: theme2.fonts.body,
154272
+ maxWidth: "80px",
154273
+ overflow: "hidden",
154274
+ textOverflow: "ellipsis",
154275
+ whiteSpace: "nowrap"
154271
154276
  },
154272
- children: packages.length
154277
+ children: owner
154273
154278
  }
154274
154279
  )
154275
154280
  ]
@@ -154610,7 +154615,7 @@ const RepoCard = ({
154610
154615
  onPackageHover,
154611
154616
  onPackageHoverEnd
154612
154617
  }) => {
154613
- var _a, _b, _c, _d;
154618
+ var _a, _b, _c, _d, _e2;
154614
154619
  const size = sizeOverride ?? calculateRepositorySize(repository.metrics);
154615
154620
  const color2 = colorOverride ?? getRepositoryColor$1(repository);
154616
154621
  const packages = transformPackages(repository.packages);
@@ -154623,6 +154628,7 @@ const RepoCard = ({
154623
154628
  collaborators: (_c = repository.metrics) == null ? void 0 : _c.contributors,
154624
154629
  license: (_d = repository.github) == null ? void 0 : _d.license,
154625
154630
  label: repository.name,
154631
+ owner: (_e2 = repository.github) == null ? void 0 : _e2.owner,
154626
154632
  variant,
154627
154633
  cardTheme,
154628
154634
  width,
@@ -154978,7 +154984,7 @@ const RepoCardStatic = ({
154978
154984
  height = 280,
154979
154985
  spriteSize = 160
154980
154986
  }) => {
154981
- var _a, _b, _c;
154987
+ var _a, _b, _c, _d;
154982
154988
  const { theme: theme2 } = useTheme();
154983
154989
  const [spriteDataUrl, setSpriteDataUrl] = useState(null);
154984
154990
  const [isLoading, setIsLoading] = useState(true);
@@ -155038,7 +155044,7 @@ const RepoCardStatic = ({
155038
155044
  boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
155039
155045
  },
155040
155046
  children: [
155041
- packages && packages.length > 1 && /* @__PURE__ */ jsxs(
155047
+ ((_d = repository.github) == null ? void 0 : _d.owner) && /* @__PURE__ */ jsxs(
155042
155048
  "div",
155043
155049
  {
155044
155050
  style: {
@@ -155052,29 +155058,33 @@ const RepoCardStatic = ({
155052
155058
  },
155053
155059
  children: [
155054
155060
  /* @__PURE__ */ jsx(
155055
- "span",
155061
+ "img",
155056
155062
  {
155063
+ src: `https://github.com/${repository.github.owner}.png?size=40`,
155064
+ alt: repository.github.owner,
155057
155065
  style: {
155058
- fontSize: "14px",
155059
- fontWeight: theme2.fontWeights.bold,
155060
- color: "#a78bfa",
155061
- textShadow: "0 1px 2px rgba(0,0,0,0.5)",
155062
- fontFamily: theme2.fonts.body
155063
- },
155064
- children: "Monorepo"
155066
+ width: "18px",
155067
+ height: "18px",
155068
+ borderRadius: "50%",
155069
+ border: "1px solid rgba(255,255,255,0.3)"
155070
+ }
155065
155071
  }
155066
155072
  ),
155067
155073
  /* @__PURE__ */ jsx(
155068
155074
  "span",
155069
155075
  {
155070
155076
  style: {
155071
- fontSize: "14px",
155072
- fontWeight: theme2.fontWeights.bold,
155073
- color: "#ffffff",
155077
+ fontSize: "12px",
155078
+ fontWeight: theme2.fontWeights.medium,
155079
+ color: "#e0e0e0",
155074
155080
  textShadow: "0 1px 2px rgba(0,0,0,0.5)",
155075
- fontFamily: theme2.fonts.body
155081
+ fontFamily: theme2.fonts.body,
155082
+ maxWidth: "80px",
155083
+ overflow: "hidden",
155084
+ textOverflow: "ellipsis",
155085
+ whiteSpace: "nowrap"
155076
155086
  },
155077
- children: packages.length
155087
+ children: repository.github.owner
155078
155088
  }
155079
155089
  )
155080
155090
  ]
@@ -155502,4 +155512,4 @@ export {
155502
155512
  RepoCardStatic as y,
155503
155513
  renderSpriteToDataUrl as z
155504
155514
  };
155505
- //# sourceMappingURL=index-Ckze1Emy.js.map
155515
+ //# sourceMappingURL=index-Du-HFyPY.js.map