@industry-theme/xterm-terminal-panel 0.3.5 → 0.3.6

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/index.js CHANGED
@@ -1714,9 +1714,7 @@ var TabbedTerminalPanelInner = ({
1714
1714
  const tabToActivateRef = useRef3(null);
1715
1715
  useEffect4(() => {
1716
1716
  const customTabsFromProp = initialTabs.filter((tab) => tab.contentType !== "terminal");
1717
- console.log("[TabbedTerminalPanel] Sync effect triggered. Custom tabs from prop:", customTabsFromProp.length, customTabsFromProp.map((t) => ({ id: t.id, type: t.contentType })));
1718
1717
  setOwnedTabs((prevTabs) => {
1719
- console.log("[TabbedTerminalPanel] Previous owned tabs:", prevTabs.length, prevTabs.map((t) => ({ id: t.id, type: t.contentType })));
1720
1718
  const existingTerminalTabs = prevTabs.filter((tab) => tab.contentType === "terminal");
1721
1719
  const customTabIds = new Set(customTabsFromProp.map((t) => t.id));
1722
1720
  const existingCustomTabs = prevTabs.filter((tab) => tab.contentType !== "terminal" && !customTabIds.has(tab.id));
@@ -1730,17 +1728,9 @@ var TabbedTerminalPanelInner = ({
1730
1728
  const prev = prevCustomTabs.find((p) => p.id === tab.id);
1731
1729
  if (!prev)
1732
1730
  return false;
1733
- const isEqual = JSON.stringify(tab) === JSON.stringify(prev);
1734
- if (!isEqual) {
1735
- console.log("[TabbedTerminalPanel] Tab changed:", tab.id);
1736
- console.log("[TabbedTerminalPanel] Previous:", prev);
1737
- console.log("[TabbedTerminalPanel] New:", tab);
1738
- }
1739
- return isEqual;
1731
+ return JSON.stringify(tab) === JSON.stringify(prev);
1740
1732
  });
1741
- console.log("[TabbedTerminalPanel] Custom tabs changed?", customTabsChanged);
1742
1733
  if (!customTabsChanged) {
1743
- console.log("[TabbedTerminalPanel] No changes detected, returning prevTabs");
1744
1734
  return prevTabs;
1745
1735
  }
1746
1736
  const prevCustomTabIds = new Set(prevCustomTabs.map((t) => t.id));
@@ -1 +1 @@
1
- {"version":3,"file":"TabbedTerminalPanel.d.ts","sourceRoot":"","sources":["../../../src/panels/TabbedTerminalPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAKN,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAyBxB,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAuoCD,eAAO,MAAM,mBAAmB,EAAkC,CAAC,IAAI,SAAS,OAAO,cAAc,EAAE,OAAO,GAAG,WAAW,EAC1H,KAAK,EAAE,wBAAwB,CAAC,IAAI,CAAC,KAClC,KAAK,CAAC,YAAY,CAAC"}
1
+ {"version":3,"file":"TabbedTerminalPanel.d.ts","sourceRoot":"","sources":["../../../src/panels/TabbedTerminalPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAKN,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAyBxB,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AA4nCD,eAAO,MAAM,mBAAmB,EAAkC,CAAC,IAAI,SAAS,OAAO,cAAc,EAAE,OAAO,GAAG,WAAW,EAC1H,KAAK,EAAE,wBAAwB,CAAC,IAAI,CAAC,KAClC,KAAK,CAAC,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@industry-theme/xterm-terminal-panel",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Industry-themed xterm.js terminal components with panel framework integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",