fumadocs-ui 12.3.5 → 12.3.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/docs.client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LinkItemType, S as SidebarProps, a as SharedNavProps } from './layout-
|
|
2
|
-
export { b as Sidebar } from './layout-
|
|
1
|
+
import { L as LinkItemType, S as SidebarProps, a as SharedNavProps } from './layout-CyXwmMCy.js';
|
|
2
|
+
export { b as Sidebar } from './layout-CyXwmMCy.js';
|
|
3
3
|
export { T as TreeContextProvider } from './tree-CrKzI9Nz.js';
|
|
4
4
|
import { ButtonHTMLAttributes } from 'react';
|
|
5
5
|
import 'fumadocs-core/server';
|
package/dist/layout.client.d.ts
CHANGED
package/dist/layout.client.js
CHANGED
|
@@ -37,7 +37,9 @@ function Nav({
|
|
|
37
37
|
return /* @__PURE__ */ jsx(NavBox, { id: "nd-nav", className: "h-14", transparentMode, children: /* @__PURE__ */ jsxs("nav", { className: "mx-auto flex size-full max-w-container flex-row items-center gap-6 px-4", children: [
|
|
38
38
|
/* @__PURE__ */ jsx(Title, { title, url }),
|
|
39
39
|
children,
|
|
40
|
-
items.filter(
|
|
40
|
+
items.filter(
|
|
41
|
+
(item) => item.type !== "secondary" && !(item.type === "custom" && item.secondary)
|
|
42
|
+
).map((item, i) => /* @__PURE__ */ jsx(
|
|
41
43
|
LinkItem,
|
|
42
44
|
{
|
|
43
45
|
item,
|
|
@@ -51,7 +53,9 @@ function Nav({
|
|
|
51
53
|
/* @__PURE__ */ jsx(LargeSearchToggle, { className: "w-full max-w-[240px] max-md:hidden" })
|
|
52
54
|
] }) : null,
|
|
53
55
|
/* @__PURE__ */ jsx(ThemeToggle, { className: "max-lg:hidden" }),
|
|
54
|
-
items.filter(
|
|
56
|
+
items.filter(
|
|
57
|
+
(item) => item.type === "secondary" || item.type === "custom" && item.secondary
|
|
58
|
+
).map((item, i) => /* @__PURE__ */ jsx(LinkItem, { item, className: "max-lg:hidden" }, i)),
|
|
55
59
|
/* @__PURE__ */ jsx(
|
|
56
60
|
LinksMenu,
|
|
57
61
|
{
|
package/dist/layout.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'fumadocs-core/server';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { B as BaseLayoutProps, d as DocsLayout, D as DocsLayoutProps, c as Layout, L as LinkItemType, a as SharedNavProps } from './layout-
|
|
3
|
+
export { B as BaseLayoutProps, d as DocsLayout, D as DocsLayoutProps, c as Layout, L as LinkItemType, a as SharedNavProps } from './layout-CyXwmMCy.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "12.3.
|
|
3
|
+
"version": "12.3.6",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"next-themes": "^0.3.0",
|
|
96
96
|
"react-medium-image-zoom": "^5.2.5",
|
|
97
97
|
"tailwind-merge": "^2.3.0",
|
|
98
|
-
"fumadocs-core": "12.3.
|
|
98
|
+
"fumadocs-core": "12.3.6"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@algolia/client-search": "^4.24.0",
|