@industry-theme/xterm-terminal-panel 0.7.0 → 0.7.1

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
@@ -35,7 +35,7 @@ import {
35
35
  // package.json
36
36
  var package_default = {
37
37
  name: "@industry-theme/xterm-terminal-panel",
38
- version: "0.7.0",
38
+ version: "0.7.1",
39
39
  description: "Industry-themed xterm.js terminal components with panel framework integration",
40
40
  type: "module",
41
41
  main: "dist/index.js",
@@ -2337,7 +2337,7 @@ function TerminalTabContentInner(props, ref) {
2337
2337
  }), []);
2338
2338
  return /* @__PURE__ */ jsx9("div", {
2339
2339
  style: {
2340
- display: isActive ? "flex" : "none",
2340
+ display: "flex",
2341
2341
  flexDirection: "column",
2342
2342
  height: "100%",
2343
2343
  width: "100%"
@@ -3085,10 +3085,12 @@ var TabbedTerminalPanelInner = ({
3085
3085
  const association = associations?.[tab.id];
3086
3086
  return /* @__PURE__ */ jsx9("div", {
3087
3087
  style: {
3088
- display: isActive ? "flex" : "none",
3088
+ position: "absolute",
3089
+ inset: 0,
3090
+ display: "flex",
3089
3091
  flexDirection: "column",
3090
- height: "100%",
3091
- width: "100%"
3092
+ visibility: isActive ? "visible" : "hidden",
3093
+ pointerEvents: isActive ? "auto" : "none"
3092
3094
  },
3093
3095
  children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
3094
3096
  }, tab.id);
@@ -3096,10 +3098,12 @@ var TabbedTerminalPanelInner = ({
3096
3098
  const hasBeenActivated = activatedTabs.has(tab.id);
3097
3099
  return /* @__PURE__ */ jsx9("div", {
3098
3100
  style: {
3099
- display: isActive ? "flex" : "none",
3101
+ position: "absolute",
3102
+ inset: 0,
3103
+ display: "flex",
3100
3104
  flexDirection: "column",
3101
- height: "100%",
3102
- width: "100%"
3105
+ visibility: isActive ? "visible" : "hidden",
3106
+ pointerEvents: isActive ? "auto" : "none"
3103
3107
  },
3104
3108
  children: hasBeenActivated && customContent
3105
3109
  }, tab.id);
@@ -3108,20 +3112,25 @@ var TabbedTerminalPanelInner = ({
3108
3112
  const association = associations?.[tab.id];
3109
3113
  return /* @__PURE__ */ jsx9("div", {
3110
3114
  style: {
3111
- display: isActive ? "flex" : "none",
3115
+ position: "absolute",
3116
+ inset: 0,
3117
+ display: "flex",
3112
3118
  flexDirection: "column",
3113
- height: "100%",
3114
- width: "100%"
3119
+ visibility: isActive ? "visible" : "hidden",
3120
+ pointerEvents: isActive ? "auto" : "none"
3115
3121
  },
3116
3122
  children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
3117
3123
  }, tab.id);
3118
3124
  }
3119
3125
  return /* @__PURE__ */ jsxs7("div", {
3120
3126
  style: {
3121
- display: isActive ? "flex" : "none",
3127
+ position: "absolute",
3128
+ inset: 0,
3129
+ display: "flex",
3122
3130
  alignItems: "center",
3123
3131
  justifyContent: "center",
3124
- height: "100%",
3132
+ visibility: isActive ? "visible" : "hidden",
3133
+ pointerEvents: isActive ? "auto" : "none",
3125
3134
  color: theme.colors.textSecondary
3126
3135
  },
3127
3136
  children: [
@@ -1 +1 @@
1
- {"version":3,"file":"TabbedTerminalPanel.d.ts","sourceRoot":"","sources":["../../../src/panels/TabbedTerminalPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAKN,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EAGZ,MAAM,gBAAgB,CAAC;AAkExB,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AA8uCD,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":"AAIA,OAAO,KAKN,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EAGZ,MAAM,gBAAgB,CAAC;AAkExB,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAuwCD,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.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Industry-themed xterm.js terminal components with panel framework integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",