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

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.1",
38
+ version: "0.7.2",
39
39
  description: "Industry-themed xterm.js terminal components with panel framework integration",
40
40
  type: "module",
41
41
  main: "dist/index.js",
@@ -3084,26 +3084,26 @@ var TabbedTerminalPanelInner = ({
3084
3084
  if (customContent === null && tab.contentType === "terminal") {
3085
3085
  const association = associations?.[tab.id];
3086
3086
  return /* @__PURE__ */ jsx9("div", {
3087
+ inert: !isActive,
3087
3088
  style: {
3088
3089
  position: "absolute",
3089
3090
  inset: 0,
3090
3091
  display: "flex",
3091
3092
  flexDirection: "column",
3092
- visibility: isActive ? "visible" : "hidden",
3093
- pointerEvents: isActive ? "auto" : "none"
3093
+ opacity: isActive ? 1 : 0
3094
3094
  },
3095
3095
  children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
3096
3096
  }, tab.id);
3097
3097
  }
3098
3098
  const hasBeenActivated = activatedTabs.has(tab.id);
3099
3099
  return /* @__PURE__ */ jsx9("div", {
3100
+ inert: !isActive,
3100
3101
  style: {
3101
3102
  position: "absolute",
3102
3103
  inset: 0,
3103
3104
  display: "flex",
3104
3105
  flexDirection: "column",
3105
- visibility: isActive ? "visible" : "hidden",
3106
- pointerEvents: isActive ? "auto" : "none"
3106
+ opacity: isActive ? 1 : 0
3107
3107
  },
3108
3108
  children: hasBeenActivated && customContent
3109
3109
  }, tab.id);
@@ -3111,26 +3111,26 @@ var TabbedTerminalPanelInner = ({
3111
3111
  if (tab.contentType === "terminal") {
3112
3112
  const association = associations?.[tab.id];
3113
3113
  return /* @__PURE__ */ jsx9("div", {
3114
+ inert: !isActive,
3114
3115
  style: {
3115
3116
  position: "absolute",
3116
3117
  inset: 0,
3117
3118
  display: "flex",
3118
3119
  flexDirection: "column",
3119
- visibility: isActive ? "visible" : "hidden",
3120
- pointerEvents: isActive ? "auto" : "none"
3120
+ opacity: isActive ? 1 : 0
3121
3121
  },
3122
3122
  children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
3123
3123
  }, tab.id);
3124
3124
  }
3125
3125
  return /* @__PURE__ */ jsxs7("div", {
3126
+ inert: !isActive,
3126
3127
  style: {
3127
3128
  position: "absolute",
3128
3129
  inset: 0,
3129
3130
  display: "flex",
3130
3131
  alignItems: "center",
3131
3132
  justifyContent: "center",
3132
- visibility: isActive ? "visible" : "hidden",
3133
- pointerEvents: isActive ? "auto" : "none",
3133
+ opacity: isActive ? 1 : 0,
3134
3134
  color: theme.colors.textSecondary
3135
3135
  },
3136
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;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"}
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;AA6wCD,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.1",
3
+ "version": "0.7.2",
4
4
  "description": "Industry-themed xterm.js terminal components with panel framework integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",