@digi-frontend/dgate-api-documentation 4.2.5 → 4.2.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.cjs CHANGED
@@ -7974,8 +7974,9 @@ const EditModeSidebar = ({ selectedItem, onSelectItem, endpoints, hasGeneralErro
7974
7974
  border: "none"
7975
7975
  },
7976
7976
  children: ep.method
7977
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
7977
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowTooltip, {
7978
7978
  className: cx("path"),
7979
+ title: ep.path,
7979
7980
  style: { color: selectedItem.type === "endpoint" && selectedItem.key === ep.id ? token.colorPrimary : token.colorText },
7980
7981
  children: ep.path
7981
7982
  })] })
@@ -8754,7 +8755,11 @@ const EndpointPage = () => {
8754
8755
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Breadcrumb, { items: [
8755
8756
  {
8756
8757
  href: "",
8757
- title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: selectedApi?.title || "API Name" }),
8758
+ title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowTooltip, {
8759
+ title: selectedApi?.title || "API Name",
8760
+ style: { maxWidth: "200px" },
8761
+ children: selectedApi?.title || "API Name"
8762
+ }),
8758
8763
  onClick: (e) => {
8759
8764
  e.preventDefault();
8760
8765
  setSelectedNodeKey(selectedApi?.id);
@@ -8777,13 +8782,17 @@ const EndpointPage = () => {
8777
8782
  color: token.colorTextTertiary,
8778
8783
  gap: "0.25rem"
8779
8784
  },
8780
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: selectedEndpoint?.tagName || "default" })
8785
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowTooltip, {
8786
+ title: selectedEndpoint?.tagName || "default",
8787
+ style: { maxWidth: "200px" },
8788
+ children: selectedEndpoint?.tagName || "default"
8789
+ })
8781
8790
  })
8782
8791
  },
8783
8792
  { title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowTooltip, {
8784
8793
  title: selectedEndpoint?.summary || "Endpoint Name",
8785
8794
  style: { maxWidth: "300px" },
8786
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: selectedEndpoint?.summary || "Endpoint Name" })
8795
+ children: selectedEndpoint?.summary || "Endpoint Name"
8787
8796
  }) }
8788
8797
  ] })]
8789
8798
  }),
@@ -8793,7 +8802,8 @@ const EndpointPage = () => {
8793
8802
  display: "flex",
8794
8803
  alignItems: "center",
8795
8804
  gap: 12,
8796
- margin: 0
8805
+ margin: 0,
8806
+ minWidth: 0
8797
8807
  },
8798
8808
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Tag, {
8799
8809
  style: {
@@ -8808,7 +8818,11 @@ const EndpointPage = () => {
8808
8818
  children: selectedEndpoint?.method
8809
8819
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowTooltip, {
8810
8820
  title: selectedEndpoint?.summary ?? "--",
8811
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: selectedEndpoint?.summary?.replace(selectedEndpoint?.method, "") ?? "--" })
8821
+ style: {
8822
+ flex: 1,
8823
+ minWidth: 0
8824
+ },
8825
+ children: selectedEndpoint?.summary?.replace(selectedEndpoint?.method, "") ?? "--"
8812
8826
  })]
8813
8827
  }),
8814
8828
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Paragraph, {