@industry-theme/repository-composition-panels 0.7.36 → 0.7.38
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-C6cmVpvb.js → browserAll-DSoZR12x.js} +3 -3
- package/dist/{browserAll-C6cmVpvb.js.map → browserAll-DSoZR12x.js.map} +1 -1
- package/dist/{index-ByuCPpD5.js → index-CriXnjlQ.js} +36 -14
- package/dist/{index-ByuCPpD5.js.map → index-CriXnjlQ.js.map} +1 -1
- package/dist/{init-VjnkF7H_.js → init-Boz-hDuw.js} +2 -2
- package/dist/{init-VjnkF7H_.js.map → init-Boz-hDuw.js.map} +1 -1
- package/dist/panels/overworld-map/components/CardLayout.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-CvGxK488.js +3 -0
- package/dist/webworkerAll-CvGxK488.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-tUMWitmN.js +0 -3
- package/dist/webworkerAll-tUMWitmN.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-CriXnjlQ.js";
|
|
2
|
+
import "./init-Boz-hDuw.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-DSoZR12x.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAll-
|
|
1
|
+
{"version":3,"file":"browserAll-DSoZR12x.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]}
|
|
@@ -106214,7 +106214,7 @@ const browserExt = {
|
|
|
106214
106214
|
},
|
|
106215
106215
|
test: () => true,
|
|
106216
106216
|
load: async () => {
|
|
106217
|
-
await import("./browserAll-
|
|
106217
|
+
await import("./browserAll-DSoZR12x.js");
|
|
106218
106218
|
}
|
|
106219
106219
|
};
|
|
106220
106220
|
const webworkerExt = {
|
|
@@ -106225,7 +106225,7 @@ const webworkerExt = {
|
|
|
106225
106225
|
},
|
|
106226
106226
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106227
106227
|
load: async () => {
|
|
106228
|
-
await import("./webworkerAll-
|
|
106228
|
+
await import("./webworkerAll-CvGxK488.js");
|
|
106229
106229
|
}
|
|
106230
106230
|
};
|
|
106231
106231
|
class ObservablePoint {
|
|
@@ -154043,6 +154043,12 @@ function formatCount(count2) {
|
|
|
154043
154043
|
if (count2 < 1e6) return `${(count2 / 1e3).toFixed(1)}k`;
|
|
154044
154044
|
return `${(count2 / 1e6).toFixed(1)}M`;
|
|
154045
154045
|
}
|
|
154046
|
+
const getStarColor = (count2) => {
|
|
154047
|
+
if (count2 >= 1e5) return "#ffd700";
|
|
154048
|
+
if (count2 >= 1e4) return "#c0c0c0";
|
|
154049
|
+
if (count2 >= 5e3) return "#cd7f32";
|
|
154050
|
+
return "#9ca3af";
|
|
154051
|
+
};
|
|
154046
154052
|
const STARFIELD_BACKGROUND = `
|
|
154047
154053
|
radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
154048
154054
|
radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
@@ -154109,7 +154115,10 @@ const getNamePlateStyles = (style2, highlightColor, bgGradient) => {
|
|
|
154109
154115
|
}
|
|
154110
154116
|
};
|
|
154111
154117
|
}
|
|
154112
|
-
const borderStyle = style2 === "flat" ? {
|
|
154118
|
+
const borderStyle = style2 === "flat" ? {
|
|
154119
|
+
borderTop: `2px solid ${highlightColor}`,
|
|
154120
|
+
borderBottom: `2px solid ${highlightColor}`
|
|
154121
|
+
} : { border: `2px solid ${highlightColor}` };
|
|
154113
154122
|
return {
|
|
154114
154123
|
outer: {
|
|
154115
154124
|
borderRadius: config.borderRadius,
|
|
@@ -154168,7 +154177,7 @@ const CardLayout = ({
|
|
|
154168
154177
|
alignItems: "flex-start",
|
|
154169
154178
|
marginBottom: "0",
|
|
154170
154179
|
marginLeft: "-12px",
|
|
154171
|
-
marginRight: "-
|
|
154180
|
+
marginRight: "-12px",
|
|
154172
154181
|
marginTop: "-8px",
|
|
154173
154182
|
minHeight: "24px",
|
|
154174
154183
|
flexShrink: 0
|
|
@@ -154233,7 +154242,8 @@ const CardLayout = ({
|
|
|
154233
154242
|
alignItems: "center",
|
|
154234
154243
|
gap: "4px",
|
|
154235
154244
|
flexShrink: 0,
|
|
154236
|
-
alignSelf: "flex-end"
|
|
154245
|
+
alignSelf: "flex-end",
|
|
154246
|
+
marginRight: "12px"
|
|
154237
154247
|
},
|
|
154238
154248
|
children: [
|
|
154239
154249
|
/* @__PURE__ */ jsx(
|
|
@@ -154242,7 +154252,7 @@ const CardLayout = ({
|
|
|
154242
154252
|
style: {
|
|
154243
154253
|
fontSize: theme2.fontSizes[2],
|
|
154244
154254
|
fontWeight: theme2.fontWeights.medium,
|
|
154245
|
-
color:
|
|
154255
|
+
color: getStarColor(stars),
|
|
154246
154256
|
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
154247
154257
|
fontFamily: theme2.fonts.body
|
|
154248
154258
|
},
|
|
@@ -154255,7 +154265,7 @@ const CardLayout = ({
|
|
|
154255
154265
|
style: {
|
|
154256
154266
|
fontSize: theme2.fontSizes[2],
|
|
154257
154267
|
fontWeight: theme2.fontWeights.medium,
|
|
154258
|
-
color:
|
|
154268
|
+
color: getStarColor(stars),
|
|
154259
154269
|
textShadow: "0 1px 2px rgba(0,0,0,0.5)"
|
|
154260
154270
|
},
|
|
154261
154271
|
children: "★"
|
|
@@ -154272,10 +154282,11 @@ const CardLayout = ({
|
|
|
154272
154282
|
{
|
|
154273
154283
|
style: {
|
|
154274
154284
|
width: "100%",
|
|
154275
|
-
|
|
154285
|
+
height: "50%",
|
|
154276
154286
|
position: "relative",
|
|
154277
154287
|
background: `linear-gradient(180deg, ${colors.windowGradient[0]} 0%, ${colors.windowGradient[1]} 100%)`,
|
|
154278
154288
|
border: `2px solid ${colors.cardHighlight}`,
|
|
154289
|
+
boxSizing: "border-box",
|
|
154279
154290
|
boxShadow: "inset 0 2px 4px rgba(0,0,0,0.3)",
|
|
154280
154291
|
overflow: "hidden",
|
|
154281
154292
|
display: "flex",
|
|
@@ -154306,10 +154317,17 @@ const CardLayout = ({
|
|
|
154306
154317
|
const charsAtBase = 24;
|
|
154307
154318
|
const fontSize = Math.max(
|
|
154308
154319
|
minFontSize,
|
|
154309
|
-
Math.min(
|
|
154320
|
+
Math.min(
|
|
154321
|
+
baseFontSize,
|
|
154322
|
+
baseFontSize * charsAtBase / Math.max(label.length, 1)
|
|
154323
|
+
)
|
|
154310
154324
|
);
|
|
154311
154325
|
const bgGradient = `linear-gradient(180deg, ${colors.cardBorder} 0%, ${colors.cardBg} 100%)`;
|
|
154312
|
-
const { outer, inner } = getNamePlateStyles(
|
|
154326
|
+
const { outer, inner } = getNamePlateStyles(
|
|
154327
|
+
namePlateStyle,
|
|
154328
|
+
colors.cardHighlight,
|
|
154329
|
+
bgGradient
|
|
154330
|
+
);
|
|
154313
154331
|
const usesWrapper = styleUsesClipPath(namePlateStyle);
|
|
154314
154332
|
const textContent = /* @__PURE__ */ jsx(
|
|
154315
154333
|
"span",
|
|
@@ -154381,11 +154399,15 @@ const CardLayout = ({
|
|
|
154381
154399
|
"div",
|
|
154382
154400
|
{
|
|
154383
154401
|
style: {
|
|
154384
|
-
marginTop: "
|
|
154402
|
+
marginTop: "0",
|
|
154385
154403
|
padding: "8px",
|
|
154386
154404
|
background: `linear-gradient(180deg, ${colors.panelGradient[0]} 0%, ${colors.panelGradient[1]} 100%)`,
|
|
154387
|
-
|
|
154388
|
-
|
|
154405
|
+
borderLeft: `1px solid ${colors.panelBorder}`,
|
|
154406
|
+
borderRight: `1px solid ${colors.panelBorder}`,
|
|
154407
|
+
borderBottom: `1px solid ${colors.panelBorder}`,
|
|
154408
|
+
flex: 1,
|
|
154409
|
+
minHeight: 0,
|
|
154410
|
+
overflow: "hidden"
|
|
154389
154411
|
},
|
|
154390
154412
|
children: [
|
|
154391
154413
|
description && /* @__PURE__ */ jsx(
|
|
@@ -156105,4 +156127,4 @@ export {
|
|
|
156105
156127
|
RepoCardStatic as y,
|
|
156106
156128
|
CardBack as z
|
|
156107
156129
|
};
|
|
156108
|
-
//# sourceMappingURL=index-
|
|
156130
|
+
//# sourceMappingURL=index-CriXnjlQ.js.map
|