@industry-theme/repository-composition-panels 0.7.23 → 0.7.25
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-6MT3m5a1.js → browserAll-BM_t45Ek.js} +3 -3
- package/dist/{browserAll-6MT3m5a1.js.map → browserAll-BM_t45Ek.js.map} +1 -1
- package/dist/{index-Ckze1Emy.js → index-BxddM8lM.js} +112 -68
- package/dist/{index-Ckze1Emy.js.map → index-BxddM8lM.js.map} +1 -1
- package/dist/{init-Drxfx9_O.js → init-B7PWGH3z.js} +2 -2
- package/dist/{init-Drxfx9_O.js.map → init-B7PWGH3z.js.map} +1 -1
- package/dist/panels/overworld-map/components/IsometricRenderer.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoCard.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +2 -0
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/licenseSignSprites.d.ts +5 -0
- package/dist/panels/overworld-map/components/licenseSignSprites.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-DpyaP0Cp.js +3 -0
- package/dist/webworkerAll-DpyaP0Cp.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-XH8wWWkO.js +0 -3
- package/dist/webworkerAll-XH8wWWkO.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-BxddM8lM.js";
|
|
2
|
+
import "./init-B7PWGH3z.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-BM_t45Ek.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAll-
|
|
1
|
+
{"version":3,"file":"browserAll-BM_t45Ek.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-BM_t45Ek.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-DpyaP0Cp.js");
|
|
106222
106222
|
}
|
|
106223
106223
|
};
|
|
106224
106224
|
class ObservablePoint {
|
|
@@ -148732,6 +148732,43 @@ function generateCobblestoneGround(sizeMultiplier) {
|
|
|
148732
148732
|
}
|
|
148733
148733
|
return ground;
|
|
148734
148734
|
}
|
|
148735
|
+
function generateNeutralGround(sizeMultiplier) {
|
|
148736
|
+
const footprint = calculateFootprint(sizeMultiplier);
|
|
148737
|
+
const ground = new Graphics();
|
|
148738
|
+
const halfW = footprint.width;
|
|
148739
|
+
const halfH = footprint.height;
|
|
148740
|
+
const stoneBase = 9143160;
|
|
148741
|
+
const stoneDark = 7037784;
|
|
148742
|
+
const stoneLight = 10195848;
|
|
148743
|
+
ground.moveTo(0, -halfH);
|
|
148744
|
+
ground.lineTo(halfW, 0);
|
|
148745
|
+
ground.lineTo(0, halfH);
|
|
148746
|
+
ground.lineTo(-halfW, 0);
|
|
148747
|
+
ground.closePath();
|
|
148748
|
+
ground.fill(stoneBase);
|
|
148749
|
+
const textureCount = Math.max(5, Math.floor(7 * sizeMultiplier));
|
|
148750
|
+
for (let i2 = 0; i2 < textureCount; i2++) {
|
|
148751
|
+
const angle = i2 / textureCount * Math.PI * 2;
|
|
148752
|
+
const radius = 0.25 + i2 % 3 * 0.15;
|
|
148753
|
+
const x2 = Math.cos(angle) * halfW * radius;
|
|
148754
|
+
const y2 = Math.sin(angle) * halfH * radius;
|
|
148755
|
+
const dotSize = Math.max(2, 3 * sizeMultiplier);
|
|
148756
|
+
ground.circle(x2, y2, dotSize);
|
|
148757
|
+
ground.fill(i2 % 2 === 0 ? stoneLight : stoneDark);
|
|
148758
|
+
}
|
|
148759
|
+
const pebbleSize = Math.max(1.5, 2 * sizeMultiplier);
|
|
148760
|
+
const pebbleSpots = [
|
|
148761
|
+
{ x: -halfW * 0.3, y: -halfH * 0.15 },
|
|
148762
|
+
{ x: halfW * 0.25, y: halfH * 0.2 },
|
|
148763
|
+
{ x: -halfW * 0.15, y: halfH * 0.35 },
|
|
148764
|
+
{ x: halfW * 0.35, y: -halfH * 0.25 }
|
|
148765
|
+
];
|
|
148766
|
+
for (const spot of pebbleSpots) {
|
|
148767
|
+
ground.circle(spot.x, spot.y, pebbleSize);
|
|
148768
|
+
ground.fill(stoneDark);
|
|
148769
|
+
}
|
|
148770
|
+
return ground;
|
|
148771
|
+
}
|
|
148735
148772
|
function generateLicenseSign(license, config) {
|
|
148736
148773
|
switch (license) {
|
|
148737
148774
|
case "MIT":
|
|
@@ -149309,13 +149346,10 @@ class IsometricRenderer {
|
|
|
149309
149346
|
}
|
|
149310
149347
|
let licenseGround;
|
|
149311
149348
|
let licenseSign;
|
|
149349
|
+
const footprint = calculateFootprint(sizeMultiplier);
|
|
149312
149350
|
if (node2.license) {
|
|
149313
149351
|
const licenseType = node2.license;
|
|
149314
|
-
const footprint = calculateFootprint(sizeMultiplier);
|
|
149315
149352
|
licenseGround = generateLicenseGround(licenseType, sizeMultiplier);
|
|
149316
|
-
licenseGround.x = screenX;
|
|
149317
|
-
licenseGround.y = screenY;
|
|
149318
|
-
licenseGround.zIndex = screenY;
|
|
149319
149353
|
licenseSign = generateLicenseSign(licenseType, {
|
|
149320
149354
|
name: node2.label,
|
|
149321
149355
|
sizeMultiplier
|
|
@@ -149324,7 +149358,12 @@ class IsometricRenderer {
|
|
|
149324
149358
|
licenseSign.y = screenY + footprint.height * 0.75;
|
|
149325
149359
|
licenseSign.zIndex = container.zIndex + 0.15;
|
|
149326
149360
|
label.visible = false;
|
|
149361
|
+
} else {
|
|
149362
|
+
licenseGround = generateNeutralGround(sizeMultiplier);
|
|
149327
149363
|
}
|
|
149364
|
+
licenseGround.x = screenX;
|
|
149365
|
+
licenseGround.y = screenY;
|
|
149366
|
+
licenseGround.zIndex = screenY;
|
|
149328
149367
|
const instance = {
|
|
149329
149368
|
sprite: container,
|
|
149330
149369
|
// Container acts as the sprite
|
|
@@ -149370,9 +149409,9 @@ class IsometricRenderer {
|
|
|
149370
149409
|
licenseGround.zIndex = pos.screenY;
|
|
149371
149410
|
}
|
|
149372
149411
|
if (licenseSign) {
|
|
149373
|
-
const
|
|
149412
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149374
149413
|
licenseSign.x = pos.screenX;
|
|
149375
|
-
licenseSign.y = pos.screenY +
|
|
149414
|
+
licenseSign.y = pos.screenY + footprint2.height * 0.75;
|
|
149376
149415
|
licenseSign.zIndex = getIsometricZIndex(gridX, gridY) + 0.15;
|
|
149377
149416
|
}
|
|
149378
149417
|
instance.gridPosition = { gridX, gridY };
|
|
@@ -149460,13 +149499,10 @@ class IsometricRenderer {
|
|
|
149460
149499
|
label.zIndex = sprite.zIndex + 0.2;
|
|
149461
149500
|
let licenseGround;
|
|
149462
149501
|
let licenseSign;
|
|
149502
|
+
const footprint = calculateFootprint(sizeMultiplier);
|
|
149463
149503
|
if (node2.license) {
|
|
149464
149504
|
const licenseType = node2.license;
|
|
149465
|
-
const footprint = calculateFootprint(sizeMultiplier);
|
|
149466
149505
|
licenseGround = generateLicenseGround(licenseType, sizeMultiplier);
|
|
149467
|
-
licenseGround.x = screenX;
|
|
149468
|
-
licenseGround.y = screenY;
|
|
149469
|
-
licenseGround.zIndex = screenY;
|
|
149470
149506
|
licenseSign = generateLicenseSign(licenseType, {
|
|
149471
149507
|
name: node2.label,
|
|
149472
149508
|
sizeMultiplier
|
|
@@ -149475,11 +149511,16 @@ class IsometricRenderer {
|
|
|
149475
149511
|
licenseSign.y = screenY + footprint.height * 0.75;
|
|
149476
149512
|
licenseSign.zIndex = sprite.zIndex + 0.15;
|
|
149477
149513
|
label.visible = false;
|
|
149514
|
+
} else {
|
|
149515
|
+
licenseGround = generateNeutralGround(sizeMultiplier);
|
|
149478
149516
|
}
|
|
149517
|
+
licenseGround.x = screenX;
|
|
149518
|
+
licenseGround.y = screenY;
|
|
149519
|
+
licenseGround.zIndex = screenY;
|
|
149479
149520
|
let ownerAvatar;
|
|
149480
149521
|
if (node2.ownerAvatar) {
|
|
149481
149522
|
try {
|
|
149482
|
-
const
|
|
149523
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149483
149524
|
const avatarSize = 24;
|
|
149484
149525
|
ownerAvatar = new Container();
|
|
149485
149526
|
const background = new Graphics();
|
|
@@ -149509,7 +149550,7 @@ class IsometricRenderer {
|
|
|
149509
149550
|
ownerAvatar.addChild(avatar);
|
|
149510
149551
|
}
|
|
149511
149552
|
ownerAvatar.x = screenX;
|
|
149512
|
-
ownerAvatar.y = screenY +
|
|
149553
|
+
ownerAvatar.y = screenY + footprint2.height - avatarSize / 2;
|
|
149513
149554
|
ownerAvatar.zIndex = sprite.zIndex + 0.12;
|
|
149514
149555
|
} catch {
|
|
149515
149556
|
ownerAvatar = void 0;
|
|
@@ -149519,7 +149560,7 @@ class IsometricRenderer {
|
|
|
149519
149560
|
if (node2.stars && node2.stars > 0) {
|
|
149520
149561
|
const tier = getStarTier(node2.stars);
|
|
149521
149562
|
if (tier) {
|
|
149522
|
-
const
|
|
149563
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149523
149564
|
starDecoration = new Container();
|
|
149524
149565
|
let decoration;
|
|
149525
149566
|
switch (tier.decorationType) {
|
|
@@ -149570,7 +149611,7 @@ class IsometricRenderer {
|
|
|
149570
149611
|
countText.visible = false;
|
|
149571
149612
|
});
|
|
149572
149613
|
starDecoration.addChild(countText);
|
|
149573
|
-
starDecoration.x = screenX -
|
|
149614
|
+
starDecoration.x = screenX - footprint2.width / 2;
|
|
149574
149615
|
starDecoration.y = screenY;
|
|
149575
149616
|
starDecoration.zIndex = sprite.zIndex + 0.11;
|
|
149576
149617
|
}
|
|
@@ -149579,7 +149620,7 @@ class IsometricRenderer {
|
|
|
149579
149620
|
if (node2.collaborators && node2.collaborators > 0) {
|
|
149580
149621
|
const tier = getCollaboratorTier(node2.collaborators);
|
|
149581
149622
|
if (tier) {
|
|
149582
|
-
const
|
|
149623
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149583
149624
|
collaboratorDecoration = new Container();
|
|
149584
149625
|
let decoration;
|
|
149585
149626
|
switch (tier.decorationType) {
|
|
@@ -149634,7 +149675,7 @@ class IsometricRenderer {
|
|
|
149634
149675
|
countText.visible = false;
|
|
149635
149676
|
});
|
|
149636
149677
|
collaboratorDecoration.addChild(countText);
|
|
149637
|
-
collaboratorDecoration.x = screenX +
|
|
149678
|
+
collaboratorDecoration.x = screenX + footprint2.width / 2;
|
|
149638
149679
|
collaboratorDecoration.y = screenY;
|
|
149639
149680
|
collaboratorDecoration.zIndex = sprite.zIndex + 0.11;
|
|
149640
149681
|
}
|
|
@@ -149683,26 +149724,26 @@ class IsometricRenderer {
|
|
|
149683
149724
|
licenseGround.zIndex = pos.screenY;
|
|
149684
149725
|
}
|
|
149685
149726
|
if (licenseSign) {
|
|
149686
|
-
const
|
|
149727
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149687
149728
|
licenseSign.x = pos.screenX;
|
|
149688
|
-
licenseSign.y = pos.screenY +
|
|
149729
|
+
licenseSign.y = pos.screenY + footprint2.height * 0.75;
|
|
149689
149730
|
licenseSign.zIndex = getIsometricZIndex(gridX, gridY) + 0.15;
|
|
149690
149731
|
}
|
|
149691
149732
|
if (ownerAvatar) {
|
|
149692
|
-
const
|
|
149733
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149693
149734
|
ownerAvatar.x = pos.screenX;
|
|
149694
|
-
ownerAvatar.y = pos.screenY +
|
|
149735
|
+
ownerAvatar.y = pos.screenY + footprint2.height - 12;
|
|
149695
149736
|
ownerAvatar.zIndex = getIsometricZIndex(gridX, gridY) + 0.12;
|
|
149696
149737
|
}
|
|
149697
149738
|
if (starDecoration) {
|
|
149698
|
-
const
|
|
149699
|
-
starDecoration.x = pos.screenX -
|
|
149739
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149740
|
+
starDecoration.x = pos.screenX - footprint2.width / 2;
|
|
149700
149741
|
starDecoration.y = pos.screenY;
|
|
149701
149742
|
starDecoration.zIndex = getIsometricZIndex(gridX, gridY) + 0.11;
|
|
149702
149743
|
}
|
|
149703
149744
|
if (collaboratorDecoration) {
|
|
149704
|
-
const
|
|
149705
|
-
collaboratorDecoration.x = pos.screenX +
|
|
149745
|
+
const footprint2 = calculateFootprint(sizeMultiplier);
|
|
149746
|
+
collaboratorDecoration.x = pos.screenX + footprint2.width / 2;
|
|
149706
149747
|
collaboratorDecoration.y = pos.screenY;
|
|
149707
149748
|
collaboratorDecoration.zIndex = getIsometricZIndex(gridX, gridY) + 0.11;
|
|
149708
149749
|
}
|
|
@@ -154020,6 +154061,7 @@ const RepoSprite = ({
|
|
|
154020
154061
|
collaborators,
|
|
154021
154062
|
license,
|
|
154022
154063
|
label,
|
|
154064
|
+
owner,
|
|
154023
154065
|
variant = "default",
|
|
154024
154066
|
cardTheme = "blue",
|
|
154025
154067
|
width = 200,
|
|
@@ -154076,13 +154118,8 @@ const RepoSprite = ({
|
|
|
154076
154118
|
boundary.stroke();
|
|
154077
154119
|
mainContainer.addChild(boundary);
|
|
154078
154120
|
}
|
|
154079
|
-
|
|
154080
|
-
|
|
154081
|
-
license,
|
|
154082
|
-
size
|
|
154083
|
-
);
|
|
154084
|
-
mainContainer.addChild(licenseGround);
|
|
154085
|
-
}
|
|
154121
|
+
const ground = license ? generateLicenseGround(license, size) : generateNeutralGround(size);
|
|
154122
|
+
mainContainer.addChild(ground);
|
|
154086
154123
|
if (packages && packages.length > 1) {
|
|
154087
154124
|
const positions = getPackagePositions$1(
|
|
154088
154125
|
packages.length,
|
|
@@ -154233,7 +154270,7 @@ const RepoSprite = ({
|
|
|
154233
154270
|
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
154234
154271
|
},
|
|
154235
154272
|
children: [
|
|
154236
|
-
|
|
154273
|
+
owner && /* @__PURE__ */ jsxs(
|
|
154237
154274
|
"div",
|
|
154238
154275
|
{
|
|
154239
154276
|
style: {
|
|
@@ -154247,29 +154284,33 @@ const RepoSprite = ({
|
|
|
154247
154284
|
},
|
|
154248
154285
|
children: [
|
|
154249
154286
|
/* @__PURE__ */ jsx(
|
|
154250
|
-
"
|
|
154287
|
+
"img",
|
|
154251
154288
|
{
|
|
154289
|
+
src: `https://github.com/${owner}.png?size=40`,
|
|
154290
|
+
alt: owner,
|
|
154252
154291
|
style: {
|
|
154253
|
-
|
|
154254
|
-
|
|
154255
|
-
|
|
154256
|
-
|
|
154257
|
-
|
|
154258
|
-
},
|
|
154259
|
-
children: "Monorepo"
|
|
154292
|
+
width: "18px",
|
|
154293
|
+
height: "18px",
|
|
154294
|
+
borderRadius: "50%",
|
|
154295
|
+
border: "1px solid rgba(255,255,255,0.3)"
|
|
154296
|
+
}
|
|
154260
154297
|
}
|
|
154261
154298
|
),
|
|
154262
154299
|
/* @__PURE__ */ jsx(
|
|
154263
154300
|
"span",
|
|
154264
154301
|
{
|
|
154265
154302
|
style: {
|
|
154266
|
-
fontSize: "
|
|
154267
|
-
fontWeight: theme2.fontWeights.
|
|
154268
|
-
color: "#
|
|
154303
|
+
fontSize: "12px",
|
|
154304
|
+
fontWeight: theme2.fontWeights.medium,
|
|
154305
|
+
color: "#e0e0e0",
|
|
154269
154306
|
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
154270
|
-
fontFamily: theme2.fonts.body
|
|
154307
|
+
fontFamily: theme2.fonts.body,
|
|
154308
|
+
maxWidth: "80px",
|
|
154309
|
+
overflow: "hidden",
|
|
154310
|
+
textOverflow: "ellipsis",
|
|
154311
|
+
whiteSpace: "nowrap"
|
|
154271
154312
|
},
|
|
154272
|
-
children:
|
|
154313
|
+
children: owner
|
|
154273
154314
|
}
|
|
154274
154315
|
)
|
|
154275
154316
|
]
|
|
@@ -154610,7 +154651,7 @@ const RepoCard = ({
|
|
|
154610
154651
|
onPackageHover,
|
|
154611
154652
|
onPackageHoverEnd
|
|
154612
154653
|
}) => {
|
|
154613
|
-
var _a, _b, _c, _d;
|
|
154654
|
+
var _a, _b, _c, _d, _e2;
|
|
154614
154655
|
const size = sizeOverride ?? calculateRepositorySize(repository.metrics);
|
|
154615
154656
|
const color2 = colorOverride ?? getRepositoryColor$1(repository);
|
|
154616
154657
|
const packages = transformPackages(repository.packages);
|
|
@@ -154623,6 +154664,7 @@ const RepoCard = ({
|
|
|
154623
154664
|
collaborators: (_c = repository.metrics) == null ? void 0 : _c.contributors,
|
|
154624
154665
|
license: (_d = repository.github) == null ? void 0 : _d.license,
|
|
154625
154666
|
label: repository.name,
|
|
154667
|
+
owner: (_e2 = repository.github) == null ? void 0 : _e2.owner,
|
|
154626
154668
|
variant,
|
|
154627
154669
|
cardTheme,
|
|
154628
154670
|
width,
|
|
@@ -154763,10 +154805,8 @@ async function renderSpriteInternal(options) {
|
|
|
154763
154805
|
boundary.stroke();
|
|
154764
154806
|
mainContainer.addChild(boundary);
|
|
154765
154807
|
}
|
|
154766
|
-
|
|
154767
|
-
|
|
154768
|
-
mainContainer.addChild(licenseGround);
|
|
154769
|
-
}
|
|
154808
|
+
const ground = license ? generateLicenseGround(license, size) : generateNeutralGround(size);
|
|
154809
|
+
mainContainer.addChild(ground);
|
|
154770
154810
|
if (packages && packages.length > 1) {
|
|
154771
154811
|
const positions = getPackagePositions(
|
|
154772
154812
|
packages.length,
|
|
@@ -154978,7 +155018,7 @@ const RepoCardStatic = ({
|
|
|
154978
155018
|
height = 280,
|
|
154979
155019
|
spriteSize = 160
|
|
154980
155020
|
}) => {
|
|
154981
|
-
var _a, _b, _c;
|
|
155021
|
+
var _a, _b, _c, _d;
|
|
154982
155022
|
const { theme: theme2 } = useTheme();
|
|
154983
155023
|
const [spriteDataUrl, setSpriteDataUrl] = useState(null);
|
|
154984
155024
|
const [isLoading, setIsLoading] = useState(true);
|
|
@@ -155038,7 +155078,7 @@ const RepoCardStatic = ({
|
|
|
155038
155078
|
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
155039
155079
|
},
|
|
155040
155080
|
children: [
|
|
155041
|
-
|
|
155081
|
+
((_d = repository.github) == null ? void 0 : _d.owner) && /* @__PURE__ */ jsxs(
|
|
155042
155082
|
"div",
|
|
155043
155083
|
{
|
|
155044
155084
|
style: {
|
|
@@ -155052,29 +155092,33 @@ const RepoCardStatic = ({
|
|
|
155052
155092
|
},
|
|
155053
155093
|
children: [
|
|
155054
155094
|
/* @__PURE__ */ jsx(
|
|
155055
|
-
"
|
|
155095
|
+
"img",
|
|
155056
155096
|
{
|
|
155097
|
+
src: `https://github.com/${repository.github.owner}.png?size=40`,
|
|
155098
|
+
alt: repository.github.owner,
|
|
155057
155099
|
style: {
|
|
155058
|
-
|
|
155059
|
-
|
|
155060
|
-
|
|
155061
|
-
|
|
155062
|
-
|
|
155063
|
-
},
|
|
155064
|
-
children: "Monorepo"
|
|
155100
|
+
width: "18px",
|
|
155101
|
+
height: "18px",
|
|
155102
|
+
borderRadius: "50%",
|
|
155103
|
+
border: "1px solid rgba(255,255,255,0.3)"
|
|
155104
|
+
}
|
|
155065
155105
|
}
|
|
155066
155106
|
),
|
|
155067
155107
|
/* @__PURE__ */ jsx(
|
|
155068
155108
|
"span",
|
|
155069
155109
|
{
|
|
155070
155110
|
style: {
|
|
155071
|
-
fontSize: "
|
|
155072
|
-
fontWeight: theme2.fontWeights.
|
|
155073
|
-
color: "#
|
|
155111
|
+
fontSize: "12px",
|
|
155112
|
+
fontWeight: theme2.fontWeights.medium,
|
|
155113
|
+
color: "#e0e0e0",
|
|
155074
155114
|
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155075
|
-
fontFamily: theme2.fonts.body
|
|
155115
|
+
fontFamily: theme2.fonts.body,
|
|
155116
|
+
maxWidth: "80px",
|
|
155117
|
+
overflow: "hidden",
|
|
155118
|
+
textOverflow: "ellipsis",
|
|
155119
|
+
whiteSpace: "nowrap"
|
|
155076
155120
|
},
|
|
155077
|
-
children:
|
|
155121
|
+
children: repository.github.owner
|
|
155078
155122
|
}
|
|
155079
155123
|
)
|
|
155080
155124
|
]
|
|
@@ -155502,4 +155546,4 @@ export {
|
|
|
155502
155546
|
RepoCardStatic as y,
|
|
155503
155547
|
renderSpriteToDataUrl as z
|
|
155504
155548
|
};
|
|
155505
|
-
//# sourceMappingURL=index-
|
|
155549
|
+
//# sourceMappingURL=index-BxddM8lM.js.map
|