@prorobotech/openapi-k8s-toolkit 1.2.1-alpha.12 → 1.2.1-alpha.13

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.
@@ -82883,6 +82883,7 @@ var addonFit = {exports: {}};
82883
82883
  var addonFitExports = addonFit.exports;
82884
82884
 
82885
82885
  const CustomCard$4 = styled.div`
82886
+ display: ${({ $hasError }) => $hasError ? "none" : "block"};
82886
82887
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
82887
82888
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
82888
82889
 
@@ -82985,7 +82986,7 @@ const XTerminal$2 = ({ endpoint, namespace, podName, container, substractHeight
82985
82986
  };
82986
82987
  }, [terminal, endpoint, namespace, podName, container]);
82987
82988
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
82988
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$c.CustomCard, { $isVisible: !isLoading && !error, $substractHeight: substractHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$c.FullWidthDiv, { $substractHeight: substractHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: terminalRef, style: { width: "100%", height: "100%" } }) }) }),
82989
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$c.CustomCard, { $isVisible: !isLoading && !error, $hasError: !!error, $substractHeight: substractHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$c.FullWidthDiv, { $substractHeight: substractHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: terminalRef, style: { width: "100%", height: "100%" } }) }) }),
82989
82990
  isLoading && !error && /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}),
82990
82991
  error && /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status: "error", title: "Error", subTitle: error })
82991
82992
  ] });