@industry-theme/xterm-terminal-panel 0.7.0 → 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.
|
|
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",
|
|
@@ -2337,7 +2337,7 @@ function TerminalTabContentInner(props, ref) {
|
|
|
2337
2337
|
}), []);
|
|
2338
2338
|
return /* @__PURE__ */ jsx9("div", {
|
|
2339
2339
|
style: {
|
|
2340
|
-
display:
|
|
2340
|
+
display: "flex",
|
|
2341
2341
|
flexDirection: "column",
|
|
2342
2342
|
height: "100%",
|
|
2343
2343
|
width: "100%"
|
|
@@ -3084,22 +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",
|
|
3090
|
+
inset: 0,
|
|
3091
|
+
display: "flex",
|
|
3089
3092
|
flexDirection: "column",
|
|
3090
|
-
|
|
3091
|
-
width: "100%"
|
|
3093
|
+
opacity: isActive ? 1 : 0
|
|
3092
3094
|
},
|
|
3093
3095
|
children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
|
|
3094
3096
|
}, tab.id);
|
|
3095
3097
|
}
|
|
3096
3098
|
const hasBeenActivated = activatedTabs.has(tab.id);
|
|
3097
3099
|
return /* @__PURE__ */ jsx9("div", {
|
|
3100
|
+
inert: !isActive,
|
|
3098
3101
|
style: {
|
|
3099
|
-
|
|
3102
|
+
position: "absolute",
|
|
3103
|
+
inset: 0,
|
|
3104
|
+
display: "flex",
|
|
3100
3105
|
flexDirection: "column",
|
|
3101
|
-
|
|
3102
|
-
width: "100%"
|
|
3106
|
+
opacity: isActive ? 1 : 0
|
|
3103
3107
|
},
|
|
3104
3108
|
children: hasBeenActivated && customContent
|
|
3105
3109
|
}, tab.id);
|
|
@@ -3107,21 +3111,26 @@ var TabbedTerminalPanelInner = ({
|
|
|
3107
3111
|
if (tab.contentType === "terminal") {
|
|
3108
3112
|
const association = associations?.[tab.id];
|
|
3109
3113
|
return /* @__PURE__ */ jsx9("div", {
|
|
3114
|
+
inert: !isActive,
|
|
3110
3115
|
style: {
|
|
3111
|
-
|
|
3116
|
+
position: "absolute",
|
|
3117
|
+
inset: 0,
|
|
3118
|
+
display: "flex",
|
|
3112
3119
|
flexDirection: "column",
|
|
3113
|
-
|
|
3114
|
-
width: "100%"
|
|
3120
|
+
opacity: isActive ? 1 : 0
|
|
3115
3121
|
},
|
|
3116
3122
|
children: renderTerminalWithAssociation(tab, isActive, sessionId, association)
|
|
3117
3123
|
}, tab.id);
|
|
3118
3124
|
}
|
|
3119
3125
|
return /* @__PURE__ */ jsxs7("div", {
|
|
3126
|
+
inert: !isActive,
|
|
3120
3127
|
style: {
|
|
3121
|
-
|
|
3128
|
+
position: "absolute",
|
|
3129
|
+
inset: 0,
|
|
3130
|
+
display: "flex",
|
|
3122
3131
|
alignItems: "center",
|
|
3123
3132
|
justifyContent: "center",
|
|
3124
|
-
|
|
3133
|
+
opacity: isActive ? 1 : 0,
|
|
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;
|
|
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