@digi-frontend/dgate-api-documentation 2.0.1 → 2.0.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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1268,7 +1268,7 @@ var link_default = SvgLink;
|
|
|
1268
1268
|
//#endregion
|
|
1269
1269
|
//#region src/view/components/ApiPage/components/ApiCard.tsx
|
|
1270
1270
|
const ApiCard = ({ api, viewStyle }) => {
|
|
1271
|
-
const { wrapSSR, cx, token: token$1 } = useStyle("
|
|
1271
|
+
const { wrapSSR, cx, token: token$1 } = useStyle("DocumentationApiCard", (token$2, scope) => ({
|
|
1272
1272
|
[scope("method-chip")]: {
|
|
1273
1273
|
minWidth: "5.375rem",
|
|
1274
1274
|
width: "fit-content",
|
|
@@ -1423,6 +1423,7 @@ const ApiCard = ({ api, viewStyle }) => {
|
|
|
1423
1423
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TooltippedText, { text: api?.summary || "Endpoint Name" })
|
|
1424
1424
|
})]
|
|
1425
1425
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Button, {
|
|
1426
|
+
color: "default",
|
|
1426
1427
|
className: cx("list-see-details"),
|
|
1427
1428
|
onClick: handleOpenEndPointView,
|
|
1428
1429
|
children: "See Details"
|
|
@@ -1497,7 +1498,7 @@ const APIPage = () => {
|
|
|
1497
1498
|
const [copying, setCopying] = (0, react.useState)(false);
|
|
1498
1499
|
const { view: { selectedApi, transformedData, setSelectedApi, setFocusedContent, setSelectedNodeKey } } = store_default();
|
|
1499
1500
|
const [viewStyle, setViewStyle] = (0, react.useState)("grid");
|
|
1500
|
-
const { wrapSSR, cx, token: token$1 } = useStyle("
|
|
1501
|
+
const { wrapSSR, cx, token: token$1 } = useStyle("DocumentationApiPage", () => ({}));
|
|
1501
1502
|
const currentVersion = selectedApi?.relatedVersions?.find((v) => v.apiId === selectedApi?.currentVersion);
|
|
1502
1503
|
const handleVersionChanged = (value) => {
|
|
1503
1504
|
console.log("new value ", value);
|