@industry-theme/repository-composition-panels 0.2.10 → 0.2.11

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 +1 @@
1
- {"version":3,"file":"PackageCompositionPanel.d.ts","sourceRoot":"","sources":["../../src/panels/PackageCompositionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAmBjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAsRrF,MAAM,WAAW,4BAA4B;IAC3C,0CAA0C;IAC1C,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,6CAA6C;IAC7C,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IACjD,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,mEAAmE;IACnE,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,iEAAiE;IACjE,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;CACtD;AAusBD;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqNjF,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAgClD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAA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,14 @@ const PackageSummaryCard = ({ pkg, allPackages, onClick, onHover }) => {
9148
9148
  padding: "12px",
9149
9149
  backgroundColor: theme.colors.backgroundSecondary,
9150
9150
  border: `1px solid ${theme.colors.border}`,
9151
- borderRadius: "8px",
9151
+ borderRadius: "0",
9152
9152
  cursor: "pointer",
9153
9153
  textAlign: "left",
9154
9154
  transition: "all 0.15s ease",
9155
9155
  width: "100%"
9156
9156
  },
9157
9157
  onMouseEnter: (e) => {
9158
- e.currentTarget.style.borderColor = theme.colors.accent;
9158
+ e.currentTarget.style.borderColor = theme.colors.primary;
9159
9159
  e.currentTarget.style.backgroundColor = theme.colors.backgroundTertiary;
9160
9160
  onHover == null ? void 0 : onHover(pkg);
9161
9161
  },
@@ -9239,8 +9239,8 @@ const PackageSummaryCard = ({ pkg, allPackages, onClick, onHover }) => {
9239
9239
  {
9240
9240
  style: {
9241
9241
  padding: "2px 6px",
9242
- backgroundColor: theme.colors.accent + "15",
9243
- color: theme.colors.accent,
9242
+ backgroundColor: theme.colors.primary + "15",
9243
+ color: theme.colors.primary,
9244
9244
  borderRadius: "4px",
9245
9245
  fontWeight: 500
9246
9246
  },
@@ -9280,16 +9280,25 @@ const PackageSummaryCard = ({ pkg, allPackages, onClick, onHover }) => {
9280
9280
  },
9281
9281
  children: [
9282
9282
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
9283
- /* @__PURE__ */ jsx(Terminal, { size: 12 }),
9284
- /* @__PURE__ */ jsx("span", { children: commands })
9283
+ /* @__PURE__ */ jsx(Package, { size: 12 }),
9284
+ /* @__PURE__ */ jsxs("span", { children: [
9285
+ totalDeps,
9286
+ " deps"
9287
+ ] })
9285
9288
  ] }),
9286
9289
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
9287
9290
  /* @__PURE__ */ jsx(Settings, { size: 12 }),
9288
- /* @__PURE__ */ jsx("span", { children: configFiles })
9291
+ /* @__PURE__ */ jsxs("span", { children: [
9292
+ configFiles,
9293
+ " configs"
9294
+ ] })
9289
9295
  ] }),
9290
9296
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
9291
- /* @__PURE__ */ jsx(Package, { size: 12 }),
9292
- /* @__PURE__ */ jsx("span", { children: totalDeps })
9297
+ /* @__PURE__ */ jsx(Terminal, { size: 12 }),
9298
+ /* @__PURE__ */ jsxs("span", { children: [
9299
+ commands,
9300
+ " commands"
9301
+ ] })
9293
9302
  ] })
9294
9303
  ]
9295
9304
  }
@@ -9308,7 +9317,7 @@ const PackageCard = ({
9308
9317
  standalone = false
9309
9318
  }) => {
9310
9319
  const { theme } = useTheme();
9311
- const [activeTab, setActiveTab] = useState("commands");
9320
+ const [activeTab, setActiveTab] = useState("dependencies");
9312
9321
  const [activeFilters, setActiveFilters] = useState(/* @__PURE__ */ new Set());
9313
9322
  const [searchQuery, setSearchQuery] = useState("");
9314
9323
  const [showInfoModal, setShowInfoModal] = useState(false);
@@ -9427,9 +9436,9 @@ const PackageCard = ({
9427
9436
  borderBottom: `1px solid ${theme.colors.border}`
9428
9437
  },
9429
9438
  children: [
9430
- { id: "commands", label: "Commands", count: commands.length },
9439
+ { id: "dependencies", label: "Dependencies", count: dependencyItems.length },
9431
9440
  { id: "configs", label: "Configs", count: configFiles.length },
9432
- { id: "dependencies", label: "Dependencies", count: dependencyItems.length }
9441
+ { id: "commands", label: "Commands", count: commands.length }
9433
9442
  ].map((tab) => /* @__PURE__ */ jsxs(
9434
9443
  "button",
9435
9444
  {
@@ -9744,9 +9753,9 @@ const PackageCard = ({
9744
9753
  borderBottom: `1px solid ${theme.colors.border}`
9745
9754
  },
9746
9755
  children: [
9747
- { id: "commands", label: "Commands", count: commands.length },
9756
+ { id: "dependencies", label: "Deps", count: dependencyItems.length },
9748
9757
  { id: "configs", label: "Configs", count: configFiles.length },
9749
- { id: "dependencies", label: "Deps", count: dependencyItems.length }
9758
+ { id: "commands", label: "Commands", count: commands.length }
9750
9759
  ].map((tab) => /* @__PURE__ */ jsxs(
9751
9760
  "button",
9752
9761
  {
@@ -10068,7 +10077,8 @@ const PackageCompositionPanelContent = ({
10068
10077
  "div",
10069
10078
  {
10070
10079
  style: {
10071
- padding: "12px 16px",
10080
+ height: "40px",
10081
+ padding: "0 16px",
10072
10082
  borderBottom: `1px solid ${theme.colors.border}`,
10073
10083
  display: "flex",
10074
10084
  alignItems: "center",
@@ -10076,7 +10086,7 @@ const PackageCompositionPanelContent = ({
10076
10086
  flexShrink: 0
10077
10087
  },
10078
10088
  children: [
10079
- /* @__PURE__ */ jsx(FileCode, { size: 16, color: theme.colors.accent }),
10089
+ /* @__PURE__ */ jsx(FileCode, { size: 16, color: theme.colors.primary }),
10080
10090
  /* @__PURE__ */ jsxs("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textSecondary }, children: [
10081
10091
  packages.length,
10082
10092
  " packages"
@@ -10090,10 +10100,8 @@ const PackageCompositionPanelContent = ({
10090
10100
  style: {
10091
10101
  flex: 1,
10092
10102
  overflow: "auto",
10093
- padding: "12px",
10094
10103
  display: "flex",
10095
- flexDirection: "column",
10096
- gap: "8px"
10104
+ flexDirection: "column"
10097
10105
  },
10098
10106
  children: sortedPackages.map((pkg) => /* @__PURE__ */ jsx(
10099
10107
  PackageSummaryCard,