@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 +20 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +20 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7945,8 +7945,9 @@ const EditModeSidebar = ({ selectedItem, onSelectItem, endpoints, hasGeneralErro
|
|
|
7945
7945
|
border: "none"
|
|
7946
7946
|
},
|
|
7947
7947
|
children: ep.method
|
|
7948
|
-
}), /* @__PURE__ */ jsx(
|
|
7948
|
+
}), /* @__PURE__ */ jsx(OverflowTooltip, {
|
|
7949
7949
|
className: cx("path"),
|
|
7950
|
+
title: ep.path,
|
|
7950
7951
|
style: { color: selectedItem.type === "endpoint" && selectedItem.key === ep.id ? token.colorPrimary : token.colorText },
|
|
7951
7952
|
children: ep.path
|
|
7952
7953
|
})] })
|
|
@@ -8725,7 +8726,11 @@ const EndpointPage = () => {
|
|
|
8725
8726
|
}), /* @__PURE__ */ jsx(Breadcrumb, { items: [
|
|
8726
8727
|
{
|
|
8727
8728
|
href: "",
|
|
8728
|
-
title: /* @__PURE__ */ jsx(
|
|
8729
|
+
title: /* @__PURE__ */ jsx(OverflowTooltip, {
|
|
8730
|
+
title: selectedApi?.title || "API Name",
|
|
8731
|
+
style: { maxWidth: "200px" },
|
|
8732
|
+
children: selectedApi?.title || "API Name"
|
|
8733
|
+
}),
|
|
8729
8734
|
onClick: (e) => {
|
|
8730
8735
|
e.preventDefault();
|
|
8731
8736
|
setSelectedNodeKey(selectedApi?.id);
|
|
@@ -8748,13 +8753,17 @@ const EndpointPage = () => {
|
|
|
8748
8753
|
color: token.colorTextTertiary,
|
|
8749
8754
|
gap: "0.25rem"
|
|
8750
8755
|
},
|
|
8751
|
-
children: /* @__PURE__ */ jsx(
|
|
8756
|
+
children: /* @__PURE__ */ jsx(OverflowTooltip, {
|
|
8757
|
+
title: selectedEndpoint?.tagName || "default",
|
|
8758
|
+
style: { maxWidth: "200px" },
|
|
8759
|
+
children: selectedEndpoint?.tagName || "default"
|
|
8760
|
+
})
|
|
8752
8761
|
})
|
|
8753
8762
|
},
|
|
8754
8763
|
{ title: /* @__PURE__ */ jsx(OverflowTooltip, {
|
|
8755
8764
|
title: selectedEndpoint?.summary || "Endpoint Name",
|
|
8756
8765
|
style: { maxWidth: "300px" },
|
|
8757
|
-
children:
|
|
8766
|
+
children: selectedEndpoint?.summary || "Endpoint Name"
|
|
8758
8767
|
}) }
|
|
8759
8768
|
] })]
|
|
8760
8769
|
}),
|
|
@@ -8764,7 +8773,8 @@ const EndpointPage = () => {
|
|
|
8764
8773
|
display: "flex",
|
|
8765
8774
|
alignItems: "center",
|
|
8766
8775
|
gap: 12,
|
|
8767
|
-
margin: 0
|
|
8776
|
+
margin: 0,
|
|
8777
|
+
minWidth: 0
|
|
8768
8778
|
},
|
|
8769
8779
|
children: [/* @__PURE__ */ jsx(Tag, {
|
|
8770
8780
|
style: {
|
|
@@ -8779,7 +8789,11 @@ const EndpointPage = () => {
|
|
|
8779
8789
|
children: selectedEndpoint?.method
|
|
8780
8790
|
}), /* @__PURE__ */ jsx(OverflowTooltip, {
|
|
8781
8791
|
title: selectedEndpoint?.summary ?? "--",
|
|
8782
|
-
|
|
8792
|
+
style: {
|
|
8793
|
+
flex: 1,
|
|
8794
|
+
minWidth: 0
|
|
8795
|
+
},
|
|
8796
|
+
children: selectedEndpoint?.summary?.replace(selectedEndpoint?.method, "") ?? "--"
|
|
8783
8797
|
})]
|
|
8784
8798
|
}),
|
|
8785
8799
|
/* @__PURE__ */ jsx(Paragraph, {
|