@industry-theme/repository-composition-panels 0.6.32 → 0.6.34

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.
Files changed (28) hide show
  1. package/dist/{BufferResource-Dski1EZQ.js → BufferResource-mzBIhgw1.js} +2 -2
  2. package/dist/{BufferResource-Dski1EZQ.js.map → BufferResource-mzBIhgw1.js.map} +1 -1
  3. package/dist/{CanvasRenderer--e2h72qI.js → CanvasRenderer-D4giVlw_.js} +3 -3
  4. package/dist/{CanvasRenderer--e2h72qI.js.map → CanvasRenderer-D4giVlw_.js.map} +1 -1
  5. package/dist/{Filter-BZX7p5SC.js → Filter-CS3DdPah.js} +2 -2
  6. package/dist/{Filter-BZX7p5SC.js.map → Filter-CS3DdPah.js.map} +1 -1
  7. package/dist/{RenderTargetSystem-CTgCs7jw.js → RenderTargetSystem-g5tJchpY.js} +3 -3
  8. package/dist/{RenderTargetSystem-CTgCs7jw.js.map → RenderTargetSystem-g5tJchpY.js.map} +1 -1
  9. package/dist/{WebGLRenderer-BSys64oZ.js → WebGLRenderer-CQCm4mBz.js} +4 -4
  10. package/dist/{WebGLRenderer-BSys64oZ.js.map → WebGLRenderer-CQCm4mBz.js.map} +1 -1
  11. package/dist/{WebGPURenderer-BcDZvCNz.js → WebGPURenderer-HXlJ-pks.js} +4 -4
  12. package/dist/{WebGPURenderer-BcDZvCNz.js.map → WebGPURenderer-HXlJ-pks.js.map} +1 -1
  13. package/dist/{browserAll-DI7lMMAJ.js → browserAll-C4GwI3ax.js} +3 -3
  14. package/dist/{browserAll-DI7lMMAJ.js.map → browserAll-C4GwI3ax.js.map} +1 -1
  15. package/dist/{index-CBrdpzxz.js → index-IWPV2XCJ.js} +105 -380
  16. package/dist/{index-CBrdpzxz.js.map → index-IWPV2XCJ.js.map} +1 -1
  17. package/dist/{init-DzaJL8I_.js → init-2QlpqDhj.js} +3 -3
  18. package/dist/{init-DzaJL8I_.js.map → init-2QlpqDhj.js.map} +1 -1
  19. package/dist/panels/PackageCompositionPanel.d.ts.map +1 -1
  20. package/dist/panels/components/PackageDetailCard.d.ts +2 -0
  21. package/dist/panels/components/PackageDetailCard.d.ts.map +1 -1
  22. package/dist/panels/components/PackageSummaryCard.d.ts.map +1 -1
  23. package/dist/panels.bundle.js +1 -1
  24. package/dist/webworkerAll-vHNhL1AY.js +3 -0
  25. package/dist/webworkerAll-vHNhL1AY.js.map +1 -0
  26. package/package.json +1 -1
  27. package/dist/webworkerAll-BDQrDn0n.js +0 -3
  28. package/dist/webworkerAll-BDQrDn0n.js.map +0 -1
@@ -1555,7 +1555,7 @@ const DependencyRow = ({ dependency }) => {
1555
1555
  const [copied, setCopied] = useState(false);
1556
1556
  const getDependencyTypeBadgeStyle = (type2) => {
1557
1557
  const baseStyle = {
1558
- fontSize: "9px",
1558
+ fontSize: `${theme2.fontSizes[0]}px`,
1559
1559
  fontWeight: theme2.fontWeights.medium,
1560
1560
  fontFamily: theme2.fonts.body,
1561
1561
  lineHeight: 1.2
@@ -1618,7 +1618,7 @@ const DependencyRow = ({ dependency }) => {
1618
1618
  padding: `${theme2.space[2]}px ${theme2.space[3]}px`,
1619
1619
  backgroundColor: theme2.colors.background,
1620
1620
  borderRadius: 0,
1621
- fontSize: `${theme2.fontSizes[1]}px`,
1621
+ fontSize: `${theme2.fontSizes[0]}px`,
1622
1622
  fontFamily: theme2.fonts.body,
1623
1623
  borderBottom: `1px solid ${theme2.colors.border}`,
1624
1624
  transition: "all 0.2s",
@@ -1638,28 +1638,15 @@ const DependencyRow = ({ dependency }) => {
1638
1638
  minWidth: 0
1639
1639
  },
1640
1640
  children: [
1641
- /* @__PURE__ */ jsxs(
1642
- "div",
1641
+ dependency.namespace && /* @__PURE__ */ jsx(
1642
+ "span",
1643
1643
  {
1644
1644
  style: {
1645
- display: "flex",
1646
- alignItems: "center",
1647
- gap: "4px"
1645
+ fontSize: `${theme2.fontSizes[0]}px`,
1646
+ color: theme2.colors.textSecondary,
1647
+ fontFamily: theme2.fonts.body
1648
1648
  },
1649
- children: [
1650
- dependency.namespace && /* @__PURE__ */ jsx(
1651
- "span",
1652
- {
1653
- style: {
1654
- fontSize: "10px",
1655
- color: theme2.colors.textSecondary,
1656
- fontFamily: theme2.fonts.body
1657
- },
1658
- children: dependency.namespace
1659
- }
1660
- ),
1661
- dependency.dependencyTypes.map((type2) => /* @__PURE__ */ jsx("span", { style: getDependencyTypeBadgeStyle(type2), children: typeLabels[type2] }, type2))
1662
- ]
1649
+ children: dependency.namespace
1663
1650
  }
1664
1651
  ),
1665
1652
  /* @__PURE__ */ jsxs(
@@ -1675,6 +1662,7 @@ const DependencyRow = ({ dependency }) => {
1675
1662
  "span",
1676
1663
  {
1677
1664
  style: {
1665
+ fontSize: `${theme2.fontSizes[2]}px`,
1678
1666
  fontWeight: theme2.fontWeights.medium,
1679
1667
  color: theme2.colors.text,
1680
1668
  overflow: "hidden",
@@ -1711,33 +1699,38 @@ const DependencyRow = ({ dependency }) => {
1711
1699
  {
1712
1700
  style: {
1713
1701
  display: "flex",
1714
- alignItems: "center",
1715
- gap: "4px"
1702
+ flexDirection: "column",
1703
+ alignItems: "flex-end",
1704
+ gap: "2px"
1716
1705
  },
1717
1706
  children: [
1718
- /* @__PURE__ */ jsx(
1719
- "button",
1720
- {
1721
- type: "button",
1722
- onClick: handleCopy,
1723
- style: {
1724
- ...actionButtonStyle,
1725
- color: copied ? theme2.colors.success || "#10b981" : theme2.colors.textSecondary
1726
- },
1727
- title: copied ? "Copied!" : `Copy ${dependency.name}@${dependency.version}`,
1728
- children: copied ? /* @__PURE__ */ jsx(Check$1, { size: 12 }) : /* @__PURE__ */ jsx(Copy$1, { size: 12 })
1729
- }
1730
- ),
1731
- /* @__PURE__ */ jsx(
1732
- "span",
1733
- {
1734
- style: {
1735
- color: theme2.colors.textSecondary,
1736
- fontFamily: theme2.fonts.body
1737
- },
1738
- children: dependency.version
1739
- }
1740
- )
1707
+ /* @__PURE__ */ jsx("div", { style: { display: "flex", gap: "4px" }, children: dependency.dependencyTypes.map((type2) => /* @__PURE__ */ jsx("span", { style: getDependencyTypeBadgeStyle(type2), children: typeLabels[type2] }, type2)) }),
1708
+ /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
1709
+ /* @__PURE__ */ jsx(
1710
+ "button",
1711
+ {
1712
+ type: "button",
1713
+ onClick: handleCopy,
1714
+ style: {
1715
+ ...actionButtonStyle,
1716
+ color: copied ? theme2.colors.success || "#10b981" : theme2.colors.textSecondary
1717
+ },
1718
+ title: copied ? "Copied!" : `Copy ${dependency.name}@${dependency.version}`,
1719
+ children: copied ? /* @__PURE__ */ jsx(Check$1, { size: 12 }) : /* @__PURE__ */ jsx(Copy$1, { size: 12 })
1720
+ }
1721
+ ),
1722
+ /* @__PURE__ */ jsx(
1723
+ "span",
1724
+ {
1725
+ style: {
1726
+ fontSize: `${theme2.fontSizes[2]}px`,
1727
+ color: theme2.colors.textSecondary,
1728
+ fontFamily: theme2.fonts.body
1729
+ },
1730
+ children: dependency.version
1731
+ }
1732
+ )
1733
+ ] })
1741
1734
  ]
1742
1735
  }
1743
1736
  )
@@ -1843,7 +1836,7 @@ const FilterBar = ({
1843
1836
  style: {
1844
1837
  flex: 1,
1845
1838
  padding: `${theme2.space[2]}px ${theme2.space[2]}px`,
1846
- fontSize: `${theme2.fontSizes[0]}px`,
1839
+ fontSize: `${theme2.fontSizes[1]}px`,
1847
1840
  fontWeight: theme2.fontWeights.medium,
1848
1841
  fontFamily: theme2.fonts.body,
1849
1842
  borderRadius: 0,
@@ -1876,191 +1869,6 @@ const FilterBar = ({
1876
1869
  }
1877
1870
  );
1878
1871
  };
1879
- const InheritedConfigIndicator = ({
1880
- config,
1881
- onClick
1882
- }) => {
1883
- const { theme: theme2 } = useTheme();
1884
- const isInherited = config.isInherited;
1885
- const isInline = config.isInline;
1886
- return /* @__PURE__ */ jsxs(
1887
- "button",
1888
- {
1889
- onClick: () => onClick == null ? void 0 : onClick(config),
1890
- style: {
1891
- display: "flex",
1892
- alignItems: "center",
1893
- gap: "8px",
1894
- padding: "6px 10px",
1895
- backgroundColor: isInherited ? theme2.colors.primary + "08" : theme2.colors.backgroundTertiary,
1896
- border: `1px solid ${isInherited ? theme2.colors.primary + "30" : theme2.colors.border}`,
1897
- borderRadius: "4px",
1898
- cursor: onClick ? "pointer" : "default",
1899
- width: "100%",
1900
- textAlign: "left",
1901
- transition: "all 0.15s ease"
1902
- },
1903
- onMouseEnter: (e2) => {
1904
- if (onClick) {
1905
- e2.currentTarget.style.borderColor = theme2.colors.primary;
1906
- }
1907
- },
1908
- onMouseLeave: (e2) => {
1909
- e2.currentTarget.style.borderColor = isInherited ? theme2.colors.primary + "30" : theme2.colors.border;
1910
- },
1911
- children: [
1912
- isInherited ? /* @__PURE__ */ jsx(ArrowUp$1, { size: 14, color: theme2.colors.primary }) : /* @__PURE__ */ jsx(FileCode$1, { size: 14, color: theme2.colors.textSecondary }),
1913
- /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
1914
- /* @__PURE__ */ jsxs(
1915
- "div",
1916
- {
1917
- style: {
1918
- fontSize: theme2.fontSizes[1],
1919
- fontWeight: 500,
1920
- color: theme2.colors.text,
1921
- overflow: "hidden",
1922
- textOverflow: "ellipsis",
1923
- whiteSpace: "nowrap"
1924
- },
1925
- children: [
1926
- config.name,
1927
- isInline && /* @__PURE__ */ jsx(
1928
- "span",
1929
- {
1930
- style: {
1931
- marginLeft: "6px",
1932
- padding: "1px 5px",
1933
- backgroundColor: theme2.colors.textSecondary + "20",
1934
- color: theme2.colors.textSecondary,
1935
- borderRadius: "3px",
1936
- fontSize: theme2.fontSizes[0],
1937
- fontWeight: 400
1938
- },
1939
- children: config.inlineField
1940
- }
1941
- )
1942
- ]
1943
- }
1944
- ),
1945
- /* @__PURE__ */ jsx(
1946
- "div",
1947
- {
1948
- style: {
1949
- fontSize: theme2.fontSizes[0],
1950
- color: theme2.colors.textSecondary,
1951
- overflow: "hidden",
1952
- textOverflow: "ellipsis",
1953
- whiteSpace: "nowrap"
1954
- },
1955
- children: isInherited ? /* @__PURE__ */ jsxs(Fragment, { children: [
1956
- /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.primary }, children: "inherited" }),
1957
- config.inheritedFrom && /* @__PURE__ */ jsxs("span", { children: [
1958
- " from ",
1959
- config.inheritedFrom
1960
- ] })
1961
- ] }) : config.path
1962
- }
1963
- )
1964
- ] }),
1965
- /* @__PURE__ */ jsx(
1966
- "span",
1967
- {
1968
- style: {
1969
- padding: "2px 6px",
1970
- backgroundColor: theme2.colors.backgroundSecondary,
1971
- color: theme2.colors.textSecondary,
1972
- borderRadius: "3px",
1973
- fontSize: theme2.fontSizes[0],
1974
- fontWeight: 500,
1975
- textTransform: "uppercase"
1976
- },
1977
- children: config.type
1978
- }
1979
- )
1980
- ]
1981
- }
1982
- );
1983
- };
1984
- const ConfigList = ({
1985
- configs,
1986
- onConfigClick
1987
- }) => {
1988
- const { theme: theme2 } = useTheme();
1989
- const localConfigs = configs.filter((c2) => !c2.isInherited);
1990
- const inheritedConfigs = configs.filter((c2) => c2.isInherited);
1991
- if (configs.length === 0) {
1992
- return /* @__PURE__ */ jsx(
1993
- "div",
1994
- {
1995
- style: {
1996
- padding: "12px",
1997
- color: theme2.colors.textSecondary,
1998
- fontSize: theme2.fontSizes[1],
1999
- textAlign: "center"
2000
- },
2001
- children: "No config files detected"
2002
- }
2003
- );
2004
- }
2005
- return /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "12px" }, children: [
2006
- localConfigs.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
2007
- /* @__PURE__ */ jsxs(
2008
- "div",
2009
- {
2010
- style: {
2011
- fontSize: theme2.fontSizes[0],
2012
- color: theme2.colors.textSecondary,
2013
- marginBottom: "6px",
2014
- fontWeight: 500
2015
- },
2016
- children: [
2017
- "Local (",
2018
- localConfigs.length,
2019
- ")"
2020
- ]
2021
- }
2022
- ),
2023
- /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: localConfigs.map((config) => /* @__PURE__ */ jsx(
2024
- InheritedConfigIndicator,
2025
- {
2026
- config,
2027
- onClick: onConfigClick
2028
- },
2029
- config.path + config.name
2030
- )) })
2031
- ] }),
2032
- inheritedConfigs.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
2033
- /* @__PURE__ */ jsxs(
2034
- "div",
2035
- {
2036
- style: {
2037
- fontSize: theme2.fontSizes[0],
2038
- color: theme2.colors.primary,
2039
- marginBottom: "6px",
2040
- fontWeight: 500,
2041
- display: "flex",
2042
- alignItems: "center",
2043
- gap: "4px"
2044
- },
2045
- children: [
2046
- /* @__PURE__ */ jsx(ArrowUp$1, { size: 12 }),
2047
- "Inherited (",
2048
- inheritedConfigs.length,
2049
- ")"
2050
- ]
2051
- }
2052
- ),
2053
- /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: inheritedConfigs.map((config) => /* @__PURE__ */ jsx(
2054
- InheritedConfigIndicator,
2055
- {
2056
- config,
2057
- onClick: onConfigClick
2058
- },
2059
- config.path + config.name
2060
- )) })
2061
- ] })
2062
- ] });
2063
- };
2064
1872
  const LensRow = ({ lens }) => {
2065
1873
  const { theme: theme2 } = useTheme();
2066
1874
  const [isExpanded, setIsExpanded] = useState(false);
@@ -2997,11 +2805,14 @@ const PackageDetailCard = ({
2997
2805
  onConfigClick,
2998
2806
  onPackageClick,
2999
2807
  standalone = false,
3000
- readFile
2808
+ readFile,
2809
+ onClose
3001
2810
  }) => {
3002
2811
  var _a, _b, _c, _d, _e2, _f, _g, _h, _i;
3003
2812
  const { theme: theme2 } = useTheme();
3004
- const [activeTab, setActiveTab] = useState("dependencies");
2813
+ const [activeTab, setActiveTab] = useState(
2814
+ "dependencies"
2815
+ );
3005
2816
  const [activeFilters, setActiveFilters] = useState(/* @__PURE__ */ new Set());
3006
2817
  const [searchQuery, setSearchQuery] = useState("");
3007
2818
  const [showInfoModal, setShowInfoModal] = useState(false);
@@ -3029,7 +2840,7 @@ const PackageDetailCard = ({
3029
2840
  if (!pkg.configFiles) return [];
3030
2841
  return Object.entries(pkg.configFiles).filter(([, config]) => config == null ? void 0 : config.exists).map(([name2, config]) => ({ name: name2, ...config }));
3031
2842
  }, [pkg.configFiles]);
3032
- const configCounts = useMemo(() => {
2843
+ useMemo(() => {
3033
2844
  const local = configFiles.filter((c2) => !c2.isInherited).length;
3034
2845
  const inherited = configFiles.filter((c2) => c2.isInherited).length;
3035
2846
  return { local, inherited, total: configFiles.length };
@@ -3127,7 +2938,7 @@ const PackageDetailCard = ({
3127
2938
  PackageManagerIcon,
3128
2939
  {
3129
2940
  packageManager: pkg.packageData.packageManager,
3130
- size: 18
2941
+ size: 32
3131
2942
  }
3132
2943
  ),
3133
2944
  /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
@@ -3146,7 +2957,7 @@ const PackageDetailCard = ({
3146
2957
  children: pkg.packageData.name
3147
2958
  }
3148
2959
  ),
3149
- pkg.packageData.version && /* @__PURE__ */ jsxs(
2960
+ /* @__PURE__ */ jsxs(
3150
2961
  "div",
3151
2962
  {
3152
2963
  style: {
@@ -3155,34 +2966,36 @@ const PackageDetailCard = ({
3155
2966
  color: theme2.colors.textSecondary
3156
2967
  },
3157
2968
  children: [
3158
- "v",
3159
- pkg.packageData.version
2969
+ pkg.packageData.path || "root",
2970
+ pkg.packageData.version && ` - v${pkg.packageData.version}`
3160
2971
  ]
3161
2972
  }
3162
2973
  )
3163
2974
  ] }),
3164
- pkg.packageData.path && /* @__PURE__ */ jsxs(
2975
+ onClose && /* @__PURE__ */ jsx(
3165
2976
  "button",
3166
2977
  {
3167
- onClick: () => onPackageClick == null ? void 0 : onPackageClick(pkg.packageData.path),
2978
+ onClick: onClose,
3168
2979
  style: {
3169
2980
  display: "flex",
3170
2981
  alignItems: "center",
3171
- gap: "4px",
3172
- padding: "4px 8px",
3173
- backgroundColor: theme2.colors.backgroundTertiary,
3174
- border: `1px solid ${theme2.colors.border}`,
2982
+ justifyContent: "center",
2983
+ padding: "4px",
2984
+ backgroundColor: "transparent",
2985
+ border: "none",
3175
2986
  borderRadius: "4px",
3176
2987
  color: theme2.colors.textSecondary,
3177
- fontSize: theme2.fontSizes[0],
3178
- fontFamily: theme2.fonts.body,
3179
- cursor: "pointer"
2988
+ cursor: "pointer",
2989
+ transition: "color 0.15s ease"
3180
2990
  },
3181
- title: "Open package folder",
3182
- children: [
3183
- /* @__PURE__ */ jsx(Folder$1, { size: 12 }),
3184
- pkg.packageData.path || "root"
3185
- ]
2991
+ onMouseEnter: (e2) => {
2992
+ e2.currentTarget.style.color = theme2.colors.text;
2993
+ },
2994
+ onMouseLeave: (e2) => {
2995
+ e2.currentTarget.style.color = theme2.colors.textSecondary;
2996
+ },
2997
+ title: "Close",
2998
+ children: /* @__PURE__ */ jsx(X$3, { size: 18 })
3186
2999
  }
3187
3000
  )
3188
3001
  ]
@@ -3277,12 +3090,6 @@ const PackageDetailCard = ({
3277
3090
  count: 1
3278
3091
  }
3279
3092
  ] : [],
3280
- {
3281
- id: "configs",
3282
- label: "Configs",
3283
- count: configCounts.total,
3284
- inherited: configCounts.inherited
3285
- },
3286
3093
  {
3287
3094
  id: "lenses",
3288
3095
  label: "Lenses",
@@ -3322,7 +3129,7 @@ const PackageDetailCard = ({
3322
3129
  fontSize: theme2.fontSizes[0],
3323
3130
  fontFamily: theme2.fonts.body
3324
3131
  },
3325
- children: "total" in tab2 ? `${tab2.count}/${tab2.total}` : "inherited" in tab2 && (tab2.inherited ?? 0) > 0 ? `${tab2.count} (${tab2.inherited}↑)` : tab2.count
3132
+ children: "total" in tab2 ? `${tab2.count}/${tab2.total}` : tab2.count
3326
3133
  }
3327
3134
  )
3328
3135
  ]
@@ -3593,7 +3400,6 @@ const PackageDetailCard = ({
3593
3400
  }
3594
3401
  )
3595
3402
  ] }),
3596
- activeTab === "configs" && /* @__PURE__ */ jsx("div", { style: { padding: "12px" }, children: /* @__PURE__ */ jsx(ConfigList, { configs: configFiles, onConfigClick }) }),
3597
3403
  activeTab === "lenses" && /* @__PURE__ */ jsxs(
3598
3404
  "div",
3599
3405
  {
@@ -3754,7 +3560,7 @@ const PackageDetailCard = ({
3754
3560
  children: pkg.packageData.name
3755
3561
  }
3756
3562
  ),
3757
- pkg.packageData.version && /* @__PURE__ */ jsxs(
3563
+ /* @__PURE__ */ jsxs(
3758
3564
  "div",
3759
3565
  {
3760
3566
  style: {
@@ -3763,8 +3569,8 @@ const PackageDetailCard = ({
3763
3569
  color: theme2.colors.textSecondary
3764
3570
  },
3765
3571
  children: [
3766
- "v",
3767
- pkg.packageData.version
3572
+ pkg.packageData.path || "root",
3573
+ pkg.packageData.version && ` - v${pkg.packageData.version}`
3768
3574
  ]
3769
3575
  }
3770
3576
  )
@@ -3821,12 +3627,6 @@ const PackageDetailCard = ({
3821
3627
  count: 1
3822
3628
  }
3823
3629
  ] : [],
3824
- {
3825
- id: "configs",
3826
- label: "Configs",
3827
- count: configCounts.total,
3828
- inherited: configCounts.inherited
3829
- },
3830
3630
  {
3831
3631
  id: "lenses",
3832
3632
  label: "Lenses",
@@ -3866,7 +3666,7 @@ const PackageDetailCard = ({
3866
3666
  fontSize: theme2.fontSizes[0],
3867
3667
  fontFamily: theme2.fonts.body
3868
3668
  },
3869
- children: "total" in tab2 ? `${tab2.count}/${tab2.total}` : "inherited" in tab2 && (tab2.inherited ?? 0) > 0 ? `${tab2.count} (${tab2.inherited}↑)` : tab2.count
3669
+ children: "total" in tab2 ? `${tab2.count}/${tab2.total}` : tab2.count
3870
3670
  }
3871
3671
  )
3872
3672
  ]
@@ -4137,13 +3937,6 @@ const PackageDetailCard = ({
4137
3937
  }
4138
3938
  )
4139
3939
  ] }),
4140
- activeTab === "configs" && /* @__PURE__ */ jsx("div", { style: { padding: "12px" }, children: /* @__PURE__ */ jsx(
4141
- ConfigList,
4142
- {
4143
- configs: configFiles,
4144
- onConfigClick
4145
- }
4146
- ) }),
4147
3940
  activeTab === "lenses" && /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column" }, children: [
4148
3941
  /* @__PURE__ */ jsx(
4149
3942
  LensReadinessSection,
@@ -4274,17 +4067,12 @@ const PackageSummaryCard = ({
4274
4067
  onClick,
4275
4068
  onHover
4276
4069
  }) => {
4277
- var _a, _b;
4070
+ var _a;
4278
4071
  const { theme: theme2 } = useTheme();
4279
4072
  const deps = pkg.packageData.dependencies || {};
4280
4073
  const devDeps = pkg.packageData.devDependencies || {};
4281
4074
  const peerDeps = pkg.packageData.peerDependencies || {};
4282
4075
  const totalDeps = Object.keys(deps).length + Object.keys(devDeps).length + Object.keys(peerDeps).length;
4283
- const configFilesArray = pkg.configFiles ? Object.values(pkg.configFiles).filter((c2) => c2 == null ? void 0 : c2.exists) : [];
4284
- const inheritedConfigs = configFilesArray.filter(
4285
- (c2) => c2 == null ? void 0 : c2.isInherited
4286
- ).length;
4287
- const commands = ((_a = pkg.packageData.availableCommands) == null ? void 0 : _a.length) || 0;
4288
4076
  const { dependsOn, usedBy } = useMemo(
4289
4077
  () => findInternalDependencies(pkg, allPackages),
4290
4078
  [pkg, allPackages]
@@ -4334,7 +4122,7 @@ const PackageSummaryCard = ({
4334
4122
  PackageManagerIcon,
4335
4123
  {
4336
4124
  packageManager: pkg.packageData.packageManager,
4337
- size: 20
4125
+ size: 32
4338
4126
  }
4339
4127
  ),
4340
4128
  /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
@@ -4353,22 +4141,19 @@ const PackageSummaryCard = ({
4353
4141
  children: pkg.packageData.name
4354
4142
  }
4355
4143
  ),
4356
- /* @__PURE__ */ jsxs(
4144
+ /* @__PURE__ */ jsx(
4357
4145
  "div",
4358
4146
  {
4359
4147
  style: {
4360
- fontSize: theme2.fontSizes[1],
4148
+ fontSize: theme2.fontSizes[0],
4361
4149
  fontFamily: theme2.fonts.body,
4362
4150
  color: theme2.colors.textSecondary
4363
4151
  },
4364
- children: [
4365
- pkg.packageData.path || "root",
4366
- pkg.packageData.version && ` • v${pkg.packageData.version}`
4367
- ]
4152
+ children: pkg.packageData.path || "root"
4368
4153
  }
4369
4154
  )
4370
4155
  ] }),
4371
- pkg.packageData.isMonorepoRoot && ((_b = pkg.packageData.monorepoMetadata) == null ? void 0 : _b.orchestrator) && /* @__PURE__ */ jsx(
4156
+ pkg.packageData.isMonorepoRoot && ((_a = pkg.packageData.monorepoMetadata) == null ? void 0 : _a.orchestrator) && /* @__PURE__ */ jsx(
4372
4157
  OrchestratorBadge,
4373
4158
  {
4374
4159
  orchestrator: pkg.packageData.monorepoMetadata.orchestrator,
@@ -4464,32 +4249,16 @@ const PackageSummaryCard = ({
4464
4249
  color: theme2.colors.textSecondary
4465
4250
  },
4466
4251
  children: [
4252
+ pkg.packageData.version && /* @__PURE__ */ jsxs("span", { children: [
4253
+ "v",
4254
+ pkg.packageData.version
4255
+ ] }),
4467
4256
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
4468
4257
  /* @__PURE__ */ jsx(Package$1, { size: 12 }),
4469
4258
  /* @__PURE__ */ jsxs("span", { children: [
4470
4259
  totalDeps,
4471
4260
  " deps"
4472
4261
  ] })
4473
- ] }),
4474
- /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
4475
- /* @__PURE__ */ jsx(Settings$1, { size: 12 }),
4476
- /* @__PURE__ */ jsxs("span", { children: [
4477
- configFilesArray.length,
4478
- " configs",
4479
- inheritedConfigs > 0 && /* @__PURE__ */ jsxs("span", { style: { color: theme2.colors.primary }, children: [
4480
- " ",
4481
- "(",
4482
- inheritedConfigs,
4483
- "↑)"
4484
- ] })
4485
- ] })
4486
- ] }),
4487
- /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
4488
- /* @__PURE__ */ jsx(Terminal$1, { size: 12 }),
4489
- /* @__PURE__ */ jsxs("span", { children: [
4490
- commands,
4491
- " commands"
4492
- ] })
4493
4262
  ] })
4494
4263
  ]
4495
4264
  }
@@ -4690,7 +4459,7 @@ const PackageCompositionPanelContent = ({
4690
4459
  ]
4691
4460
  }
4692
4461
  ),
4693
- /* @__PURE__ */ jsxs(
4462
+ /* @__PURE__ */ jsx(
4694
4463
  "div",
4695
4464
  {
4696
4465
  style: {
@@ -4700,68 +4469,24 @@ const PackageCompositionPanelContent = ({
4700
4469
  flexDirection: "column",
4701
4470
  overflow: "hidden"
4702
4471
  },
4703
- children: [
4704
- /* @__PURE__ */ jsx(
4705
- "div",
4706
- {
4707
- style: {
4708
- padding: "8px 12px",
4709
- borderBottom: `1px solid ${theme2.colors.border}`,
4710
- display: "flex",
4711
- alignItems: "center",
4712
- gap: "8px",
4713
- flexShrink: 0
4714
- },
4715
- children: /* @__PURE__ */ jsxs(
4716
- "button",
4717
- {
4718
- onClick: () => {
4719
- setSelectedPackageId(null);
4720
- onPackageSelect == null ? void 0 : onPackageSelect(null);
4721
- },
4722
- style: {
4723
- display: "flex",
4724
- alignItems: "center",
4725
- gap: "4px",
4726
- padding: "4px 8px",
4727
- backgroundColor: "transparent",
4728
- border: "none",
4729
- borderRadius: "4px",
4730
- color: theme2.colors.accent,
4731
- fontSize: theme2.fontSizes[1],
4732
- fontFamily: theme2.fonts.body,
4733
- cursor: "pointer",
4734
- transition: "background-color 0.15s ease"
4735
- },
4736
- onMouseEnter: (e2) => {
4737
- e2.currentTarget.style.backgroundColor = theme2.colors.backgroundTertiary;
4738
- },
4739
- onMouseLeave: (e2) => {
4740
- e2.currentTarget.style.backgroundColor = "transparent";
4741
- },
4742
- children: [
4743
- /* @__PURE__ */ jsx(ChevronLeft$1, { size: 16 }),
4744
- "All Packages"
4745
- ]
4746
- }
4747
- )
4748
- }
4749
- ),
4750
- /* @__PURE__ */ jsx("div", { style: { flex: 1, overflow: "hidden" }, children: selectedPackage && /* @__PURE__ */ jsx(
4751
- PackageDetailCard,
4752
- {
4753
- pkg: selectedPackage,
4754
- isExpanded: true,
4755
- onToggle: () => {
4756
- },
4757
- onCommandClick,
4758
- onConfigClick,
4759
- onPackageClick,
4760
- standalone: true,
4761
- readFile
4472
+ children: /* @__PURE__ */ jsx("div", { style: { flex: 1, overflow: "hidden" }, children: selectedPackage && /* @__PURE__ */ jsx(
4473
+ PackageDetailCard,
4474
+ {
4475
+ pkg: selectedPackage,
4476
+ isExpanded: true,
4477
+ onToggle: () => {
4478
+ },
4479
+ onCommandClick,
4480
+ onConfigClick,
4481
+ onPackageClick,
4482
+ standalone: true,
4483
+ readFile,
4484
+ onClose: () => {
4485
+ setSelectedPackageId(null);
4486
+ onPackageSelect == null ? void 0 : onPackageSelect(null);
4762
4487
  }
4763
- ) })
4764
- ]
4488
+ }
4489
+ ) })
4765
4490
  }
4766
4491
  )
4767
4492
  ]
@@ -106176,7 +105901,7 @@ const browserExt = {
106176
105901
  },
106177
105902
  test: () => true,
106178
105903
  load: async () => {
106179
- await import("./browserAll-DI7lMMAJ.js");
105904
+ await import("./browserAll-C4GwI3ax.js");
106180
105905
  }
106181
105906
  };
106182
105907
  const webworkerExt = {
@@ -106187,7 +105912,7 @@ const webworkerExt = {
106187
105912
  },
106188
105913
  test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
106189
105914
  load: async () => {
106190
- await import("./webworkerAll-BDQrDn0n.js");
105915
+ await import("./webworkerAll-vHNhL1AY.js");
106191
105916
  }
106192
105917
  };
106193
105918
  class ObservablePoint {
@@ -118430,19 +118155,19 @@ async function autoDetectRenderer(options) {
118430
118155
  for (let i2 = 0; i2 < preferredOrder.length; i2++) {
118431
118156
  const rendererType = preferredOrder[i2];
118432
118157
  if (rendererType === "webgpu" && await isWebGPUSupported()) {
118433
- const { WebGPURenderer } = await import("./WebGPURenderer-BcDZvCNz.js");
118158
+ const { WebGPURenderer } = await import("./WebGPURenderer-HXlJ-pks.js");
118434
118159
  RendererClass = WebGPURenderer;
118435
118160
  finalOptions = { ...options, ...options.webgpu };
118436
118161
  break;
118437
118162
  } else if (rendererType === "webgl" && isWebGLSupported(
118438
118163
  options.failIfMajorPerformanceCaveat ?? AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat
118439
118164
  )) {
118440
- const { WebGLRenderer } = await import("./WebGLRenderer-BSys64oZ.js");
118165
+ const { WebGLRenderer } = await import("./WebGLRenderer-CQCm4mBz.js");
118441
118166
  RendererClass = WebGLRenderer;
118442
118167
  finalOptions = { ...options, ...options.webgl };
118443
118168
  break;
118444
118169
  } else if (rendererType === "canvas") {
118445
- const { CanvasRenderer } = await import("./CanvasRenderer--e2h72qI.js");
118170
+ const { CanvasRenderer } = await import("./CanvasRenderer-D4giVlw_.js");
118446
118171
  RendererClass = CanvasRenderer;
118447
118172
  finalOptions = { ...options, ...options.canvasOptions };
118448
118173
  break;
@@ -138497,4 +138222,4 @@ export {
138497
138222
  UPDATE_PRIORITY as y,
138498
138223
  removeItems as z
138499
138224
  };
138500
- //# sourceMappingURL=index-CBrdpzxz.js.map
138225
+ //# sourceMappingURL=index-IWPV2XCJ.js.map