@industry-theme/repository-composition-panels 0.7.27 → 0.7.28

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-BYRsapr6.js";
2
- import "./init-BesPwXP3.js";
1
+ import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-BGEfrxLy.js";
2
+ import "./init-CN56qR7Q.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-BQswMcwh.js.map
7
+ //# sourceMappingURL=browserAll-B5ulNvRV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browserAll-BQswMcwh.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-B5ulNvRV.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-BQswMcwh.js");
106210
+ await import("./browserAll-B5ulNvRV.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-DjxrQPF_.js");
106221
+ await import("./webworkerAll-1U-w2f78.js");
106222
106222
  }
106223
106223
  };
106224
106224
  class ObservablePoint {
@@ -154062,6 +154062,7 @@ const CardLayout = ({
154062
154062
  owner,
154063
154063
  stars,
154064
154064
  label,
154065
+ description,
154065
154066
  files,
154066
154067
  language: language2,
154067
154068
  license,
@@ -154072,6 +154073,7 @@ const CardLayout = ({
154072
154073
  const baseColor = parseColor$1(color2);
154073
154074
  const colors = generateCardColors(baseColor);
154074
154075
  const licenseBorder = license ? licenseBorderColors[license] : null;
154076
+ const showHeader = owner || stars !== void 0 && stars > 0;
154075
154077
  return /* @__PURE__ */ jsxs(
154076
154078
  "div",
154077
154079
  {
@@ -154080,7 +154082,7 @@ const CardLayout = ({
154080
154082
  display: "flex",
154081
154083
  flexDirection: "column",
154082
154084
  backgroundColor: colors.cardBg,
154083
- padding: "36px 12px 28px 12px",
154085
+ padding: "8px 12px 28px 12px",
154084
154086
  border: `${licenseBorder ? "5px" : "3px"} solid ${licenseBorder || colors.cardBorder}`,
154085
154087
  width: "100%",
154086
154088
  height: "100%",
@@ -154089,88 +154091,100 @@ const CardLayout = ({
154089
154091
  boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
154090
154092
  },
154091
154093
  children: [
154092
- owner && /* @__PURE__ */ jsxs(
154094
+ showHeader && /* @__PURE__ */ jsxs(
154093
154095
  "div",
154094
154096
  {
154095
154097
  style: {
154096
- position: "absolute",
154097
- top: "10px",
154098
- left: "10px",
154099
- display: "flex",
154100
- alignItems: "center",
154101
- gap: "6px",
154102
- zIndex: 10
154103
- },
154104
- children: [
154105
- /* @__PURE__ */ jsx(
154106
- "img",
154107
- {
154108
- src: `https://github.com/${owner}.png?size=40`,
154109
- alt: owner,
154110
- style: {
154111
- width: "18px",
154112
- height: "18px",
154113
- borderRadius: "50%",
154114
- border: "1px solid rgba(255,255,255,0.3)"
154115
- }
154116
- }
154117
- ),
154118
- /* @__PURE__ */ jsx(
154119
- "span",
154120
- {
154121
- style: {
154122
- fontSize: "12px",
154123
- fontWeight: theme2.fontWeights.medium,
154124
- color: "#e0e0e0",
154125
- textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154126
- fontFamily: theme2.fonts.body,
154127
- maxWidth: "80px",
154128
- overflow: "hidden",
154129
- textOverflow: "ellipsis",
154130
- whiteSpace: "nowrap"
154131
- },
154132
- children: owner
154133
- }
154134
- )
154135
- ]
154136
- }
154137
- ),
154138
- stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
154139
- "div",
154140
- {
154141
- style: {
154142
- position: "absolute",
154143
- top: "10px",
154144
- right: "10px",
154145
154098
  display: "flex",
154099
+ justifyContent: "space-between",
154146
154100
  alignItems: "center",
154147
- gap: "4px",
154148
- zIndex: 10
154101
+ marginBottom: "8px",
154102
+ marginLeft: "-4px",
154103
+ marginRight: "-4px",
154104
+ minHeight: "40px",
154105
+ flexShrink: 0
154149
154106
  },
154150
154107
  children: [
154151
- /* @__PURE__ */ jsx(
154152
- "span",
154108
+ owner ? /* @__PURE__ */ jsxs(
154109
+ "div",
154153
154110
  {
154154
154111
  style: {
154155
- fontSize: "10px",
154156
- fontWeight: theme2.fontWeights.bold,
154157
- color: "#fbbf24",
154158
- textShadow: "0 1px 2px rgba(0,0,0,0.5)"
154112
+ display: "flex",
154113
+ alignItems: "center",
154114
+ gap: "6px",
154115
+ minWidth: 0,
154116
+ flex: 1
154159
154117
  },
154160
- children: "★"
154118
+ children: [
154119
+ /* @__PURE__ */ jsx(
154120
+ "img",
154121
+ {
154122
+ src: `https://github.com/${owner}.png?size=40`,
154123
+ alt: owner,
154124
+ style: {
154125
+ width: "28px",
154126
+ height: "28px",
154127
+ borderRadius: "6px",
154128
+ border: "1px solid rgba(255,255,255,0.3)",
154129
+ flexShrink: 0
154130
+ }
154131
+ }
154132
+ ),
154133
+ /* @__PURE__ */ jsx(
154134
+ "span",
154135
+ {
154136
+ style: {
154137
+ fontSize: theme2.fontSizes[1],
154138
+ fontWeight: theme2.fontWeights.medium,
154139
+ color: "#e0e0e0",
154140
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154141
+ fontFamily: theme2.fonts.body,
154142
+ overflow: "hidden",
154143
+ textOverflow: "ellipsis",
154144
+ whiteSpace: "nowrap"
154145
+ },
154146
+ children: owner
154147
+ }
154148
+ )
154149
+ ]
154161
154150
  }
154162
- ),
154163
- /* @__PURE__ */ jsx(
154164
- "span",
154151
+ ) : /* @__PURE__ */ jsx("div", {}),
154152
+ stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
154153
+ "div",
154165
154154
  {
154166
154155
  style: {
154167
- fontSize: "16px",
154168
- fontWeight: theme2.fontWeights.bold,
154169
- color: "#ffffff",
154170
- textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154171
- fontFamily: theme2.fonts.body
154156
+ display: "flex",
154157
+ alignItems: "center",
154158
+ gap: "4px",
154159
+ flexShrink: 0
154172
154160
  },
154173
- children: formatCount(stars)
154161
+ children: [
154162
+ /* @__PURE__ */ jsx(
154163
+ "span",
154164
+ {
154165
+ style: {
154166
+ fontSize: theme2.fontSizes[1],
154167
+ fontWeight: theme2.fontWeights.bold,
154168
+ color: "#ffffff",
154169
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154170
+ fontFamily: theme2.fonts.body
154171
+ },
154172
+ children: formatCount(stars)
154173
+ }
154174
+ ),
154175
+ /* @__PURE__ */ jsx(
154176
+ "span",
154177
+ {
154178
+ style: {
154179
+ fontSize: theme2.fontSizes[1],
154180
+ fontWeight: theme2.fontWeights.bold,
154181
+ color: "#fbbf24",
154182
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)"
154183
+ },
154184
+ children: "★"
154185
+ }
154186
+ )
154187
+ ]
154174
154188
  }
154175
154189
  )
154176
154190
  ]
@@ -154204,7 +154218,31 @@ const CardLayout = ({
154204
154218
  }
154205
154219
  }
154206
154220
  ),
154207
- children2
154221
+ children2,
154222
+ label && /* @__PURE__ */ jsx(
154223
+ "div",
154224
+ {
154225
+ style: {
154226
+ position: "absolute",
154227
+ bottom: 0,
154228
+ left: 0,
154229
+ right: 0,
154230
+ padding: "6px 8px",
154231
+ background: "linear-gradient(transparent, rgba(0,0,0,0.7))",
154232
+ fontSize: theme2.fontSizes[2],
154233
+ fontWeight: theme2.fontWeights.bold,
154234
+ color: "#ffffff",
154235
+ fontFamily: theme2.fonts.body,
154236
+ whiteSpace: "nowrap",
154237
+ overflow: "hidden",
154238
+ textOverflow: "ellipsis",
154239
+ textShadow: "0 1px 2px rgba(0,0,0,0.5)",
154240
+ textAlign: "center"
154241
+ },
154242
+ title: label,
154243
+ children: label
154244
+ }
154245
+ )
154208
154246
  ]
154209
154247
  }
154210
154248
  ),
@@ -154219,23 +154257,24 @@ const CardLayout = ({
154219
154257
  flexShrink: 0
154220
154258
  },
154221
154259
  children: [
154222
- label && /* @__PURE__ */ jsx(
154260
+ description && /* @__PURE__ */ jsx(
154223
154261
  "div",
154224
154262
  {
154225
154263
  style: {
154226
- fontSize: theme2.fontSizes[2],
154227
- fontWeight: theme2.fontWeights.bold,
154228
- color: "#ffffff",
154264
+ fontSize: theme2.fontSizes[1],
154265
+ color: "#e0e0e0",
154229
154266
  marginBottom: "6px",
154230
154267
  fontFamily: theme2.fonts.body,
154231
- whiteSpace: "nowrap",
154232
154268
  overflow: "hidden",
154233
154269
  textOverflow: "ellipsis",
154270
+ display: "-webkit-box",
154271
+ WebkitLineClamp: 2,
154272
+ WebkitBoxOrient: "vertical",
154234
154273
  textShadow: "0 1px 2px rgba(0,0,0,0.3)",
154235
- textAlign: "center"
154274
+ lineHeight: 1.4
154236
154275
  },
154237
- title: label,
154238
- children: label
154276
+ title: description,
154277
+ children: description
154239
154278
  }
154240
154279
  ),
154241
154280
  /* @__PURE__ */ jsx(
@@ -155236,4 +155275,4 @@ export {
155236
155275
  RepoCardStatic as y,
155237
155276
  renderSpriteToDataUrl as z
155238
155277
  };
155239
- //# sourceMappingURL=index-BYRsapr6.js.map
155278
+ //# sourceMappingURL=index-BGEfrxLy.js.map