@digi-frontend/dgate-api-documentation 2.0.4 → 2.0.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 +15 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1295,7 +1295,7 @@ const ApiCard = ({ api, viewStyle }) => {
|
|
|
1295
1295
|
width: "6.5625rem",
|
|
1296
1296
|
height: "2rem",
|
|
1297
1297
|
borderRadius: token$2.borderRadius,
|
|
1298
|
-
border: `${token$2.lineWidth}
|
|
1298
|
+
border: `${token$2.lineWidth}px solid ${token$2.Button?.defaultBorderColor}`,
|
|
1299
1299
|
paddingRight: token$2.Button?.paddingInline,
|
|
1300
1300
|
paddingLeft: token$2.Button?.paddingInline,
|
|
1301
1301
|
background: token$2.Button?.defaultBg,
|
|
@@ -2361,7 +2361,7 @@ const DocumentationLayout = ({ data }) => {
|
|
|
2361
2361
|
selectedApi,
|
|
2362
2362
|
selectFirstApi
|
|
2363
2363
|
]);
|
|
2364
|
-
const { cx } = useStyle("
|
|
2364
|
+
const { cx } = useStyle("APIDocumentationLayout", (token$1, scope) => ({
|
|
2365
2365
|
[scope("container")]: {
|
|
2366
2366
|
display: "flex",
|
|
2367
2367
|
flexDirection: "column",
|
|
@@ -2379,16 +2379,19 @@ const DocumentationLayout = ({ data }) => {
|
|
|
2379
2379
|
width: "100%"
|
|
2380
2380
|
}
|
|
2381
2381
|
}));
|
|
2382
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ant_design_nextjs_registry.AntdRegistry, { children: /* @__PURE__ */ (0, react_jsx_runtime.
|
|
2383
|
-
|
|
2384
|
-
children:
|
|
2385
|
-
className: cx("
|
|
2386
|
-
children: [
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2382
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ant_design_nextjs_registry.AntdRegistry, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.ConfigProvider, {
|
|
2383
|
+
prefixCls: "isolated",
|
|
2384
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2385
|
+
className: cx("container"),
|
|
2386
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Header, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2387
|
+
className: cx("layout"),
|
|
2388
|
+
children: [
|
|
2389
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Sidebar, {}),
|
|
2390
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MainContent, {}),
|
|
2391
|
+
focusedContent === "ENDPOINT" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CodeboxSidebar_default, {})
|
|
2392
|
+
]
|
|
2393
|
+
})]
|
|
2394
|
+
})
|
|
2392
2395
|
}) });
|
|
2393
2396
|
};
|
|
2394
2397
|
|