fumadocs-ui 15.7.7 → 15.7.9
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/css/neutral.css +1 -1
- package/css/preset.css +8 -11
- package/css/solar.css +48 -0
- package/dist/components/codeblock.js +2 -2
- package/dist/components/image-zoom.css +4 -0
- package/dist/components/layout/sidebar.d.ts.map +1 -1
- package/dist/components/layout/sidebar.js +2 -5
- package/dist/components/type-table.d.ts +18 -10
- package/dist/components/type-table.d.ts.map +1 -1
- package/dist/components/type-table.js +17 -14
- package/dist/layouts/docs/client.js +2 -2
- package/dist/layouts/docs/index.d.ts.map +1 -1
- package/dist/layouts/docs/index.js +3 -5
- package/dist/layouts/docs/page-client.d.ts.map +1 -1
- package/dist/layouts/docs/page-client.js +5 -5
- package/dist/layouts/docs/page.d.ts +0 -4
- package/dist/layouts/docs/page.d.ts.map +1 -1
- package/dist/layouts/docs/page.js +0 -6
- package/dist/layouts/home/index.js +1 -1
- package/dist/layouts/home/menu.d.ts.map +1 -1
- package/dist/layouts/home/menu.js +1 -1
- package/dist/layouts/home/navbar.d.ts.map +1 -1
- package/dist/layouts/home/navbar.js +1 -3
- package/dist/layouts/notebook/client.js +1 -1
- package/dist/layouts/notebook/index.d.ts.map +1 -1
- package/dist/layouts/notebook/index.js +4 -5
- package/dist/layouts/shared/index.d.ts +1 -2
- package/dist/layouts/shared/index.d.ts.map +1 -1
- package/dist/provider/base.js +0 -1
- package/dist/style.css +91 -42
- package/package.json +4 -4
package/css/neutral.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
|
|
8
8
|
--color-fd-card: hsl(0, 0%, 94.7%);
|
|
9
9
|
--color-fd-card-foreground: hsl(0, 0%, 3.9%);
|
|
10
|
-
--color-fd-border: hsla(0, 0%,
|
|
10
|
+
--color-fd-border: hsla(0, 0%, 80%, 50%);
|
|
11
11
|
--color-fd-primary: hsl(0, 0%, 9%);
|
|
12
12
|
--color-fd-primary-foreground: hsl(0, 0%, 98%);
|
|
13
13
|
--color-fd-secondary: hsl(0, 0%, 93.1%);
|
package/css/preset.css
CHANGED
|
@@ -244,22 +244,12 @@
|
|
|
244
244
|
color: var(--color-fd-foreground);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
[data-rmiz-modal-overlay='visible'] {
|
|
248
|
-
background-color: var(--color-fd-background);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
247
|
:root,
|
|
252
248
|
#nd-docs-layout {
|
|
253
249
|
--fd-layout-offset: max(calc(50vw - var(--fd-layout-width) / 2), 0px);
|
|
254
250
|
}
|
|
255
251
|
}
|
|
256
252
|
|
|
257
|
-
@variant max-xl {
|
|
258
|
-
#nd-docs-layout:has([data-toc-popover]) {
|
|
259
|
-
--fd-tocnav-height: calc(var(--spacing) * 10);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
253
|
@utility fd-scroll-container {
|
|
264
254
|
&::-webkit-scrollbar {
|
|
265
255
|
width: 5px;
|
|
@@ -322,7 +312,14 @@
|
|
|
322
312
|
margin-inline: auto;
|
|
323
313
|
padding-inline: 1rem;
|
|
324
314
|
|
|
325
|
-
@apply 2xl:max-w-
|
|
315
|
+
@apply 2xl:max-w-(--spacing-fd-container);
|
|
326
316
|
}
|
|
327
317
|
|
|
328
318
|
@variant dark (&:where(.dark, .dark *));
|
|
319
|
+
|
|
320
|
+
/* Apply styles to :root */
|
|
321
|
+
@custom-variant on-root {
|
|
322
|
+
:root:has(&) {
|
|
323
|
+
@slot;
|
|
324
|
+
}
|
|
325
|
+
}
|
package/css/solar.css
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@import './neutral.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-primary: oklch(0.487 0.083 262.691);
|
|
5
|
+
--color-fd-article: hsl(0, 0%, 97%);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
letter-spacing: -0.25px;
|
|
10
|
+
--fd-layout-width: 1600px;
|
|
11
|
+
--fd-page-width: 1400px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.dark {
|
|
15
|
+
--color-fd-primary: oklch(0.902 0.0461 259.51);
|
|
16
|
+
--color-fd-article: hsl(0, 0%, 7.04%);
|
|
17
|
+
--color-fd-background: hsl(0, 0%, 5.04%);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@variant md {
|
|
21
|
+
#nd-page article {
|
|
22
|
+
@apply bg-fd-article rounded-xl border shadow-xl my-4;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#nd-tocnav,
|
|
26
|
+
#nd-subnav > div {
|
|
27
|
+
border: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fd-default-layout #nd-page article {
|
|
31
|
+
@apply mx-4;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fd-notebook-layout #nd-page article {
|
|
35
|
+
@apply mx-6;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
#nd-sidebar {
|
|
40
|
+
@apply bg-fd-background;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#nd-sidebar[data-collapsed='false'] {
|
|
44
|
+
border: none;
|
|
45
|
+
--color-fd-muted: inherit;
|
|
46
|
+
--color-fd-secondary: inherit;
|
|
47
|
+
--color-fd-muted-foreground: inherit;
|
|
48
|
+
}
|
|
@@ -15,7 +15,7 @@ export function CodeBlock({ ref, title, allowCopy, keepBackground = false, icon,
|
|
|
15
15
|
const inTab = useContext(TabsContext) !== null;
|
|
16
16
|
const areaRef = useRef(null);
|
|
17
17
|
allowCopy ?? (allowCopy = !inTab);
|
|
18
|
-
return (_jsxs("figure", { ref: ref, dir: "ltr", ...props, className: cn(inTab ? 'bg-fd-secondary' : 'my-4 bg-fd-card', keepBackground && 'bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)', 'shiki relative border shadow-
|
|
18
|
+
return (_jsxs("figure", { ref: ref, dir: "ltr", ...props, className: cn(inTab ? 'bg-fd-secondary' : 'my-4 bg-fd-card', keepBackground && 'bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)', 'shiki relative border shadow-sm rounded-xl outline-none not-prose overflow-hidden text-sm', props.className), children: [title ? (_jsxs("div", { className: "flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4", children: [typeof icon === 'string' ? (_jsx("div", { className: "[&_svg]:size-3.5", dangerouslySetInnerHTML: {
|
|
19
19
|
__html: icon,
|
|
20
20
|
} })) : (icon), _jsx("figcaption", { className: "flex-1 truncate", children: title }), Actions({
|
|
21
21
|
className: '-me-2',
|
|
@@ -51,7 +51,7 @@ function CopyButton({ className, containerRef, ...props }) {
|
|
|
51
51
|
export function CodeBlockTabs({ ref, ...props }) {
|
|
52
52
|
const containerRef = useRef(null);
|
|
53
53
|
const nested = useContext(TabsContext) !== null;
|
|
54
|
-
return (_jsx(Tabs, { ref: mergeRefs(containerRef, ref), ...props, className: cn('bg-fd-card rounded-xl border', nested
|
|
54
|
+
return (_jsx(Tabs, { ref: mergeRefs(containerRef, ref), ...props, className: cn('bg-fd-card rounded-xl border', !nested && 'my-4', props.className), children: _jsx(TabsContext.Provider, { value: useMemo(() => ({
|
|
55
55
|
containerRef,
|
|
56
56
|
nested,
|
|
57
57
|
}), [nested]), children: props.children }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/sidebar.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,EAAE,EAEP,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAU1D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAGnE,OAAO,KAAK,EACV,uBAAuB,EACv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AAM,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;IAC1E,SAAS,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAA;KAAE,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,2CAuDA"}
|
|
@@ -14,7 +14,7 @@ import { cva } from 'class-variance-authority';
|
|
|
14
14
|
import { useTreeContext, useTreePath } from '../../contexts/tree.js';
|
|
15
15
|
import { useMediaQuery } from 'fumadocs-core/utils/use-media-query';
|
|
16
16
|
import { Presence } from '@radix-ui/react-presence';
|
|
17
|
-
const itemVariants = cva('relative flex flex-row items-center gap-2 rounded-
|
|
17
|
+
const itemVariants = cva('relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0', {
|
|
18
18
|
variants: {
|
|
19
19
|
active: {
|
|
20
20
|
true: 'bg-fd-primary/10 text-fd-primary',
|
|
@@ -44,13 +44,10 @@ export function SidebarContent(props) {
|
|
|
44
44
|
setHover(false);
|
|
45
45
|
closeTimeRef.current = Date.now() + 150;
|
|
46
46
|
});
|
|
47
|
-
return (_jsx("aside", { id: "nd-sidebar", ...props, "data-collapsed": collapsed, className: cn('fixed
|
|
47
|
+
return (_jsx("aside", { id: "nd-sidebar", ...props, "data-collapsed": collapsed, className: cn('fixed left-0 rtl:left-auto rtl:right-(--removed-body-scroll-bar-size,0) flex flex-col items-end top-(--fd-sidebar-top) bottom-(--fd-sidebar-margin) z-20 bg-fd-card text-sm border-e transition-[top,opacity,translate,width] duration-200 max-md:hidden *:w-(--fd-sidebar-width)', collapsed && [
|
|
48
48
|
'rounded-xl border translate-x-(--fd-sidebar-offset) rtl:-translate-x-(--fd-sidebar-offset)',
|
|
49
49
|
hover ? 'z-50 shadow-lg' : 'opacity-0',
|
|
50
50
|
], props.className), style: {
|
|
51
|
-
transition: ['top', 'opacity', 'translate', 'width']
|
|
52
|
-
.map((v) => `${v} ease 250ms`)
|
|
53
|
-
.join(', '),
|
|
54
51
|
...props.style,
|
|
55
52
|
'--fd-sidebar-offset': hover
|
|
56
53
|
? 'calc(var(--spacing) * 2)'
|
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface ParameterNode {
|
|
3
|
+
name: string;
|
|
4
|
+
description: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export interface TypeNode {
|
|
6
7
|
/**
|
|
7
8
|
* Additional description of the field
|
|
8
9
|
*/
|
|
9
10
|
description?: ReactNode;
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* type signature (short)
|
|
13
|
+
*/
|
|
14
|
+
type: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* type signature (full)
|
|
17
|
+
*/
|
|
11
18
|
typeDescription?: ReactNode;
|
|
12
19
|
/**
|
|
13
|
-
* Optional
|
|
20
|
+
* Optional `href` for the type
|
|
14
21
|
*/
|
|
15
22
|
typeDescriptionLink?: string;
|
|
16
|
-
default?:
|
|
23
|
+
default?: ReactNode;
|
|
17
24
|
required?: boolean;
|
|
18
25
|
deprecated?: boolean;
|
|
26
|
+
parameters?: ParameterNode[];
|
|
27
|
+
returns?: ReactNode;
|
|
19
28
|
}
|
|
20
29
|
export declare function TypeTable({ type }: {
|
|
21
|
-
type: Record<string,
|
|
30
|
+
type: Record<string, TypeNode>;
|
|
22
31
|
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export {};
|
|
24
32
|
//# sourceMappingURL=type-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-table.d.ts","sourceRoot":"","sources":["../../src/components/type-table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type-table.d.ts","sourceRoot":"","sources":["../../src/components/type-table.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAOjD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;IAE7B,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAYD,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;CAAE,2CAYrE"}
|
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { ChevronDown } from '../icons.js';
|
|
4
4
|
import Link from 'fumadocs-core/link';
|
|
5
5
|
import { cva } from 'class-variance-authority';
|
|
6
6
|
import { cn } from '../utils/cn.js';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
const field = cva('inline-flex flex-row items-center gap-1');
|
|
12
|
-
const code = cva('rounded-md bg-fd-secondary p-1 text-fd-secondary-foreground', {
|
|
7
|
+
import { useState } from 'react';
|
|
8
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from '../components/ui/collapsible.js';
|
|
9
|
+
const keyVariants = cva('text-fd-primary', {
|
|
13
10
|
variants: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
deprecated: 'line-through text-fd-primary/50',
|
|
11
|
+
deprecated: {
|
|
12
|
+
true: 'line-through text-fd-primary/50',
|
|
17
13
|
},
|
|
18
14
|
},
|
|
19
15
|
});
|
|
16
|
+
const fieldVariants = cva('text-fd-muted-foreground not-prose');
|
|
20
17
|
export function TypeTable({ type }) {
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
return (_jsxs("div", { className: "@container flex flex-col p-1 bg-fd-card text-fd-card-foreground rounded-2xl border my-6 text-sm overflow-hidden", children: [_jsxs("div", { className: "flex font-medium items-center px-3 py-1 not-prose text-fd-muted-foreground", children: [_jsx("p", { className: "w-[25%]", children: "Prop" }), _jsx("p", { className: "@max-xl:hidden", children: "Type" })] }), Object.entries(type).map(([key, value]) => (_jsx(Item, { name: key, item: value }, key)))] }));
|
|
19
|
+
}
|
|
20
|
+
function Item({ name, item: { parameters = [], description, required = false, deprecated, typeDescription, default: defaultValue, type, typeDescriptionLink, returns, }, }) {
|
|
21
|
+
const [open, setOpen] = useState(false);
|
|
22
|
+
return (_jsxs(Collapsible, { open: open, onOpenChange: setOpen, className: cn('rounded-xl border overflow-hidden transition-all', open
|
|
23
|
+
? 'shadow-sm bg-fd-background not-last:mb-2'
|
|
24
|
+
: 'border-transparent'), children: [_jsxs(CollapsibleTrigger, { className: "relative flex flex-row items-center w-full group text-start px-3 py-2 not-prose hover:bg-fd-accent", children: [_jsx("span", { className: "pe-2 min-w-fit font-medium w-[25%]", children: _jsxs("code", { className: cn(keyVariants({
|
|
25
|
+
deprecated,
|
|
26
|
+
})), children: [name, !required && '?'] }) }), typeDescriptionLink ? (_jsx(Link, { href: typeDescriptionLink, className: "underline @max-xl:hidden", children: type })) : (_jsx("span", { className: "@max-xl:hidden", children: type })), _jsx(ChevronDown, { className: "absolute end-2 size-4 text-fd-muted-foreground transition-transform group-data-[state=open]:rotate-180" })] }), _jsx(CollapsibleContent, { children: _jsxs("div", { className: "grid grid-cols-[1fr_3fr] gap-x-2 gap-y-4 text-sm p-3 overflow-auto fd-scroll-container border-t", children: [_jsx("div", { className: "text-sm prose col-span-full prose-no-margin empty:hidden", children: description }), typeDescription && (_jsxs(_Fragment, { children: [_jsx("p", { className: cn(fieldVariants()), children: "Type" }), _jsx("p", { className: "my-auto not-prose", children: typeDescription })] })), defaultValue && (_jsxs(_Fragment, { children: [_jsx("p", { className: cn(fieldVariants()), children: "Default" }), _jsx("p", { className: "my-auto not-prose", children: defaultValue })] })), parameters.length > 0 && (_jsxs(_Fragment, { children: [_jsx("p", { className: cn(fieldVariants()), children: "Parameters" }), _jsx("div", { className: "flex flex-col gap-2", children: parameters.map((param) => (_jsxs("div", { className: "inline-flex items-center gap-1", children: [_jsxs("p", { className: "font-medium not-prose", children: [param.name, " -"] }), _jsx("div", { className: "text-sm prose prose-no-margin", children: param.description })] }, param.name))) })] })), returns && (_jsxs(_Fragment, { children: [_jsx("p", { className: cn(fieldVariants()), children: "Returns" }), _jsx("div", { className: "my-auto text-sm prose prose-no-margin", children: returns })] }))] }) })] }));
|
|
24
27
|
}
|
|
@@ -9,11 +9,11 @@ import { SidebarCollapseTrigger } from '../../components/layout/sidebar.js';
|
|
|
9
9
|
import { SearchToggle } from '../../components/layout/search-toggle.js';
|
|
10
10
|
export function Navbar(props) {
|
|
11
11
|
const { isTransparent } = useNav();
|
|
12
|
-
return (_jsx("header", { id: "nd-subnav", ...props, className: cn('fixed top-(--fd-banner-height)
|
|
12
|
+
return (_jsx("header", { id: "nd-subnav", ...props, className: cn('fixed top-(--fd-banner-height) left-0 right-(--removed-body-scroll-bar-size,0) z-30 flex items-center ps-4 pe-2.5 border-b transition-colors backdrop-blur-sm', !isTransparent && 'bg-fd-background/80', props.className), children: props.children }));
|
|
13
13
|
}
|
|
14
14
|
export function LayoutBody(props) {
|
|
15
15
|
const { collapsed } = useSidebar();
|
|
16
|
-
return (_jsx("main", { id: "nd-docs-layout", ...props, className: cn('flex flex-1 flex-col pt-(--fd-nav-height) transition-[padding]', !collapsed && 'mx-(--fd-layout-offset)', props.className), style: {
|
|
16
|
+
return (_jsx("main", { id: "nd-docs-layout", ...props, className: cn('flex flex-1 flex-col pt-(--fd-nav-height) transition-[padding] fd-default-layout', !collapsed && 'mx-(--fd-layout-offset)', props.className), style: {
|
|
17
17
|
...props.style,
|
|
18
18
|
paddingInlineStart: collapsed
|
|
19
19
|
? 'min(calc(100vw - var(--fd-page-width)), var(--fd-sidebar-width))'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAIf,OAAO,EAGL,KAAK,iBAAiB,EAWtB,KAAK,YAAY,EACjB,cAAc,EAEf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EACL,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAc,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAU/E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,IAAI,EAAE,QA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Layout({ nav: { transparentMode, ...nav } = {}, sidebar: { t
|
|
|
58
58
|
return (_jsx(Sidebar, { defaultOpenLevel: defaultOpenLevel, prefetch: prefetch, Mobile: mobile, Content: _jsxs(_Fragment, { children: [collapsible && _jsx(CollapsibleControl, {}), content] }) }));
|
|
59
59
|
}
|
|
60
60
|
return (_jsx(TreeContextProvider, { tree: props.tree, children: _jsxs(NavProvider, { transparentMode: transparentMode, children: [nav.enabled !== false &&
|
|
61
|
-
(nav.component ?? (_jsxs(Navbar, { className: "h-
|
|
61
|
+
(nav.component ?? (_jsxs(Navbar, { className: "h-(--fd-nav-height) on-root:[--fd-nav-height:56px] md:on-root:[--fd-nav-height:0px] md:hidden", children: [_jsx(Link, { href: nav.url ?? '/', className: "inline-flex items-center gap-2.5 font-semibold", children: nav.title }), _jsx("div", { className: "flex-1", children: nav.children }), searchToggle.enabled !== false &&
|
|
62
62
|
(searchToggle.components?.sm ?? (_jsx(SearchToggle, { className: "p-2", hideIfDisabled: true }))), sidebarEnabled && (_jsx(SidebarTrigger, { className: cn(buttonVariants({
|
|
63
63
|
color: 'ghost',
|
|
64
64
|
size: 'icon-sm',
|
|
65
65
|
className: 'p-2',
|
|
66
|
-
})), children: _jsx(SidebarIcon, {}) }))] }))), _jsxs(LayoutBody, { ...props.containerProps, className: cn('md:[&_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8', sidebarEnabled && sidebarVariables,
|
|
67
|
-
nav.enabled !== false &&
|
|
68
|
-
'[--fd-nav-height:56px] md:[--fd-nav-height:0px]', props.containerProps?.className), children: [sidebarEnabled && sidebar(), children] })] }) }));
|
|
66
|
+
})), children: _jsx(SidebarIcon, {}) }))] }))), _jsxs(LayoutBody, { ...props.containerProps, className: cn('md:[&_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8', sidebarEnabled && sidebarVariables, props.containerProps?.className), children: [sidebarEnabled && sidebar(), children] })] }) }));
|
|
69
67
|
}
|
|
70
68
|
function SidebarLinkItem({ item, ...props }) {
|
|
71
69
|
if (item.type === 'menu')
|
|
72
|
-
return (_jsxs(SidebarFolder, { ...props, children: [item.url ? (_jsxs(SidebarFolderLink, { href: item.url, children: [item.icon, item.text] })) : (_jsxs(SidebarFolderTrigger, { children: [item.icon, item.text] })), _jsx(SidebarFolderContent, { children: item.items.map((child, i) => (_jsx(SidebarLinkItem, { item: child }, i))) })] }));
|
|
70
|
+
return (_jsxs(SidebarFolder, { ...props, children: [item.url ? (_jsxs(SidebarFolderLink, { href: item.url, external: item.external, children: [item.icon, item.text] })) : (_jsxs(SidebarFolderTrigger, { children: [item.icon, item.text] })), _jsx(SidebarFolderContent, { children: item.items.map((child, i) => (_jsx(SidebarLinkItem, { item: child }, i))) })] }));
|
|
73
71
|
if (item.type === 'custom')
|
|
74
72
|
return _jsx("div", { ...props, children: item.children });
|
|
75
73
|
return (_jsx(SidebarItem, { href: item.url, icon: item.icon, external: item.external, ...props, children: item.text }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-client.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/page-client.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EAMpB,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,0BAA0B,CAAC;AAkBlC,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC,2CAoDpE;AA4DD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CAUjE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"page-client.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/page-client.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAA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) {
|
|
|
70
70
|
return (_jsx(TocPopoverContext.Provider, { value: useMemo(() => ({
|
|
71
71
|
open,
|
|
72
72
|
setOpen,
|
|
73
|
-
}), [setOpen, open]), children: _jsx(Collapsible, { open: open, onOpenChange: setOpen, asChild: true, children: _jsx("header", { ref: ref, id: "nd-tocnav", ...props, className: cn('fixed
|
|
73
|
+
}), [setOpen, open]), children: _jsx(Collapsible, { open: open, onOpenChange: setOpen, asChild: true, children: _jsx("header", { ref: ref, id: "nd-tocnav", ...props, className: cn('fixed pr-(--removed-body-scroll-bar-size,0) z-10 border-b backdrop-blur-sm transition-colors xl:hidden max-xl:on-root:[--fd-tocnav-height:40px]', (!isTransparent || open) && 'bg-fd-background/80', open && 'shadow-lg', props.className), style: {
|
|
74
74
|
...props.style,
|
|
75
75
|
top: 'calc(var(--fd-banner-height) + var(--fd-nav-height))',
|
|
76
76
|
insetInlineStart: collapsed
|
|
77
77
|
? '0px'
|
|
78
78
|
: 'calc(var(--fd-sidebar-width) + var(--fd-layout-offset))',
|
|
79
|
+
insetInlineEnd: 0,
|
|
79
80
|
}, children: props.children }) }) }));
|
|
80
81
|
}
|
|
81
82
|
export function PageLastUpdate({ date: value, ...props }) {
|
|
@@ -147,11 +148,10 @@ export function PageBreadcrumb({ includeRoot = false, includeSeparator, includeP
|
|
|
147
148
|
}
|
|
148
149
|
export function PageTOC(props) {
|
|
149
150
|
const { collapsed } = useSidebar();
|
|
150
|
-
|
|
151
|
+
const offset = collapsed ? '0px' : 'var(--fd-layout-offset)';
|
|
152
|
+
return (_jsx("div", { id: "nd-toc", ...props, className: cn('fixed bottom-0 pt-12 pb-2 pr-(--removed-body-scroll-bar-size,0) max-xl:hidden', props.className), style: {
|
|
151
153
|
...props.style,
|
|
152
154
|
top: 'calc(var(--fd-banner-height) + var(--fd-nav-height))',
|
|
153
|
-
insetInlineEnd:
|
|
154
|
-
? 'max(0px, calc(50vw - var(--fd-sidebar-width)/2 - var(--fd-page-width)/2))'
|
|
155
|
-
: 'max(var(--fd-layout-offset), calc(50vw - var(--fd-sidebar-width)/2 - var(--fd-page-width)/2))',
|
|
155
|
+
insetInlineEnd: `max(${offset}, calc(50vw - var(--fd-sidebar-width)/2 - var(--fd-page-width)/2))`,
|
|
156
156
|
}, children: _jsx("div", { className: "flex h-full w-(--fd-toc-width) max-w-full flex-col pe-4", children: props.children }) }));
|
|
157
157
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { type ComponentProps } from 'react';
|
|
2
2
|
import { type BreadcrumbProps, type FooterProps, PageBreadcrumb, PageFooter, PageLastUpdate, PageTOC, PageTOCPopover, PageTOCPopoverContent, PageTOCPopoverTrigger } from './page-client.js';
|
|
3
3
|
import type { AnchorProviderProps } from 'fumadocs-core/toc';
|
|
4
|
-
/**
|
|
5
|
-
* Apply `prose` on div
|
|
6
|
-
*/
|
|
7
|
-
export declare function PageProse(props: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
8
4
|
export declare function PageTOCTitle(props: ComponentProps<'h2'>): import("react/jsx-runtime").JSX.Element;
|
|
9
5
|
export declare function PageTOCItems({ variant, ...props }: ComponentProps<'div'> & {
|
|
10
6
|
variant?: 'clerk' | 'normal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,cAAc,EACd,UAAU,EACV,cAAc,EACd,OAAO,EACP,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,eAAe,CAAC;AAKvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,cAAc,EACd,UAAU,EACV,cAAc,EACd,OAAO,EACP,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,eAAe,CAAC;AAKvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,2CAavD;AAED,wBAAgB,YAAY,CAAC,EAC3B,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,2CAM1D;AAED,wBAAgB,mBAAmB,CAAC,EAClC,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,2CAM1D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,SAAS,CAAC,2CAY3D;AAED,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC;IACtD,GAAG,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC;CACrD;AAED,wBAAgB,QAAQ,CAAC,EAAE,GAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAgBtE;AAED,OAAO,EACL,cAAc,EACd,UAAU,EACV,cAAc,EACd,OAAO,EACP,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,CAAC"}
|
|
@@ -5,12 +5,6 @@ import { TOCItems, TOCProvider, TOCScrollArea } from '../../components/layout/to
|
|
|
5
5
|
import { Text } from '../../icons.js';
|
|
6
6
|
import { I18nLabel } from '../../contexts/i18n.js';
|
|
7
7
|
import ClerkTOCItems from '../../components/layout/toc-clerk.js';
|
|
8
|
-
/**
|
|
9
|
-
* Apply `prose` on div
|
|
10
|
-
*/
|
|
11
|
-
export function PageProse(props) {
|
|
12
|
-
return (_jsx("div", { ...props, className: cn('prose', props.className), children: props.children }));
|
|
13
|
-
}
|
|
14
8
|
export function PageTOCTitle(props) {
|
|
15
9
|
return (_jsxs("h3", { ...props, className: cn('inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground', props.className), children: [_jsx(Text, { className: "size-4" }), _jsx(I18nLabel, { label: "toc" })] }));
|
|
16
10
|
}
|
|
@@ -44,7 +44,7 @@ function NavbarLinkItem({ item, ...props }) {
|
|
|
44
44
|
const { banner = child.icon ? (_jsx("div", { className: "w-fit rounded-md border bg-fd-muted p-1 [&_svg]:size-4", children: child.icon })) : null, ...rest } = child.menu ?? {};
|
|
45
45
|
return (_jsx(NavbarMenuLink, { href: child.url, external: child.external, ...rest, children: rest.children ?? (_jsxs(_Fragment, { children: [banner, _jsx("p", { className: "text-[15px] font-medium", children: child.text }), _jsx("p", { className: "text-sm text-fd-muted-foreground empty:hidden", children: child.description })] })) }, j));
|
|
46
46
|
});
|
|
47
|
-
return (_jsxs(NavbarMenu, { children: [_jsx(NavbarMenuTrigger, { ...props, children: item.url ? _jsx(Link, { href: item.url, children: item.text }) : item.text }), _jsx(NavbarMenuContent, { children: children })] }));
|
|
47
|
+
return (_jsxs(NavbarMenu, { children: [_jsx(NavbarMenuTrigger, { ...props, children: item.url ? (_jsx(Link, { href: item.url, external: item.external, children: item.text })) : (item.text) }), _jsx(NavbarMenuContent, { children: children })] }));
|
|
48
48
|
}
|
|
49
49
|
return (_jsx(NavbarLink, { ...props, item: item, variant: item.type, "aria-label": item.type === 'icon' ? item.label : undefined, children: item.type === 'icon' ? item.icon : item.text }));
|
|
50
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EACL,qBAAqB,EAGrB,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAqBtD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE;IACD,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EACL,qBAAqB,EAGrB,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAqBtD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE;IACD,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA+CA;AAED,eAAO,MAAM,IAAI,yNAAqB,CAAC;AAEvC,wBAAgB,WAAW,CAAC,EAC1B,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,wBAAwB,CAAC,OAAO,qBAAqB,CAAC,GAAG;IAC1D;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,2CASA;AAED,wBAAgB,WAAW,CACzB,KAAK,EAAE,wBAAwB,CAAC,OAAO,qBAAqB,CAAC,2CAU9D"}
|
|
@@ -29,7 +29,7 @@ export function MenuLinkItem({ item, ...props }) {
|
|
|
29
29
|
return _jsx("div", { className: cn('grid', props.className), children: item.children });
|
|
30
30
|
if (item.type === 'menu') {
|
|
31
31
|
const header = (_jsxs(_Fragment, { children: [item.icon, item.text] }));
|
|
32
|
-
return (_jsxs("div", { className: cn('mb-4 flex flex-col', props.className), children: [_jsx("p", { className: "mb-1 text-sm text-fd-muted-foreground", children: item.url ? (_jsx(NavigationMenuLink, { asChild: true, children: _jsx(Link, { href: item.url, children: header }) })) : (header) }), item.items.map((child, i) => (_jsx(MenuLinkItem, { item: child }, i)))] }));
|
|
32
|
+
return (_jsxs("div", { className: cn('mb-4 flex flex-col', props.className), children: [_jsx("p", { className: "mb-1 text-sm text-fd-muted-foreground", children: item.url ? (_jsx(NavigationMenuLink, { asChild: true, children: _jsx(Link, { href: item.url, external: item.external, children: header }) })) : (header) }), item.items.map((child, i) => (_jsx(MenuLinkItem, { item: child }, i)))] }));
|
|
33
33
|
}
|
|
34
34
|
return (_jsx(NavigationMenuLink, { asChild: true, children: _jsxs(BaseLinkItem, { item: item, className: cn(menuItemVariants({ variant: item.type }), props.className), "aria-label": item.type === 'icon' ? item.label : undefined, children: [item.icon, item.type === 'icon' ? undefined : item.text] }) }));
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/navbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAWhD,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AAOzC,wBAAgB,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/navbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAWhD,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AAOzC,wBAAgB,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CA2BlD;AAED,eAAO,MAAM,UAAU,yNAAqB,CAAC;AAE7C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,0BAA0B,2CAYlE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,0BAA0B,2CASlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,2CAc9C;AAED,QAAA,MAAM,YAAY;;8EAiBhB,CAAC;AAEH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,YAAY,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,2CAczE"}
|
|
@@ -12,9 +12,7 @@ const navItemVariants = cva('inline-flex items-center gap-1 p-2 text-fd-muted-fo
|
|
|
12
12
|
export function Navbar(props) {
|
|
13
13
|
const [value, setValue] = useState('');
|
|
14
14
|
const { isTransparent } = useNav();
|
|
15
|
-
return (_jsx(NavigationMenu, { value: value, onValueChange: setValue, asChild: true, children: _jsxs("header", { id: "nd-nav", ...props, className: cn('fixed top-(--fd-banner-height) z-40 left-0 backdrop-blur-lg border-b transition-colors *:mx-auto *:max-w-fd-container', value.length > 0 && 'max-lg:shadow-lg max-lg:rounded-b-2xl', (!isTransparent || value.length > 0) && 'bg-fd-background/80', props.className),
|
|
16
|
-
right: 'var(--removed-body-scroll-bar-size, 0px)',
|
|
17
|
-
}, children: [_jsx(NavigationMenuList, { className: "flex h-14 w-full items-center px-4", asChild: true, children: _jsx("nav", { children: props.children }) }), _jsx(NavigationMenuViewport, {})] }) }));
|
|
15
|
+
return (_jsx(NavigationMenu, { value: value, onValueChange: setValue, asChild: true, children: _jsxs("header", { id: "nd-nav", ...props, className: cn('fixed top-(--fd-banner-height) z-40 left-0 right-(--removed-body-scroll-bar-size,0) backdrop-blur-lg border-b transition-colors *:mx-auto *:max-w-fd-container', value.length > 0 && 'max-lg:shadow-lg max-lg:rounded-b-2xl', (!isTransparent || value.length > 0) && 'bg-fd-background/80', props.className), children: [_jsx(NavigationMenuList, { className: "flex h-14 w-full items-center px-4", asChild: true, children: _jsx("nav", { children: props.children }) }), _jsx(NavigationMenuViewport, {})] }) }));
|
|
18
16
|
}
|
|
19
17
|
export const NavbarMenu = NavigationMenuItem;
|
|
20
18
|
export function NavbarMenuContent(props) {
|
|
@@ -12,7 +12,7 @@ import { isTabActive } from '../../utils/is-active.js';
|
|
|
12
12
|
export function Navbar({ mode, ...props }) {
|
|
13
13
|
const { open, collapsed } = useSidebar();
|
|
14
14
|
const { isTransparent } = useNav();
|
|
15
|
-
return (_jsx("header", { id: "nd-subnav", ...props, className: cn('fixed flex flex-col
|
|
15
|
+
return (_jsx("header", { id: "nd-subnav", ...props, className: cn('fixed flex flex-col top-(--fd-banner-height) left-0 right-(--removed-body-scroll-bar-size,0) z-10 px-(--fd-layout-offset) h-(--fd-nav-height) backdrop-blur-sm transition-colors', (!isTransparent || open) && 'bg-fd-background/80', mode === 'auto' &&
|
|
16
16
|
!collapsed &&
|
|
17
17
|
'ps-[calc(var(--fd-layout-offset)+var(--fd-sidebar-width))]', props.className), children: props.children }));
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/notebook/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,cAAc,EACnB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AACf,OAAO,EAC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AEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAyNhD;AA8PD,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -32,7 +32,6 @@ export function DocsLayout(props) {
|
|
|
32
32
|
}
|
|
33
33
|
return [];
|
|
34
34
|
}, [tabOptions, props.tree]);
|
|
35
|
-
const variables = cn('[--fd-nav-height:56px] md:[--fd-sidebar-width:286px] md:[--fd-nav-height:64px] xl:[--fd-toc-width:286px]', tabs.length > 0 && tabMode === 'navbar' && 'lg:[--fd-nav-height:104px]');
|
|
36
35
|
function sidebar() {
|
|
37
36
|
const { banner, footer, components, collapsible = true, prefetch, defaultOpenLevel, ...rest } = sidebarProps;
|
|
38
37
|
const iconLinks = links.filter((item) => item.type === 'icon');
|
|
@@ -63,12 +62,12 @@ export function DocsLayout(props) {
|
|
|
63
62
|
(themeSwitch.component ?? (_jsx(ThemeToggle, { mode: themeSwitch.mode ?? 'light-dark-system' }))), footer] })] }));
|
|
64
63
|
return (_jsx(Sidebar, { defaultOpenLevel: defaultOpenLevel, prefetch: prefetch, Content: content, Mobile: mobile }));
|
|
65
64
|
}
|
|
66
|
-
return (_jsx(TreeContextProvider, { tree: props.tree, children: _jsx(NavProvider, { transparentMode: transparentMode, children: _jsxs(LayoutBody, { ...props.containerProps, className: cn(
|
|
65
|
+
return (_jsx(TreeContextProvider, { tree: props.tree, children: _jsx(NavProvider, { transparentMode: transparentMode, children: _jsxs(LayoutBody, { ...props.containerProps, className: cn('md:[--fd-sidebar-width:286px] xl:[--fd-toc-width:286px]', props.containerProps?.className), children: [sidebar(), _jsx(DocsNavbar, { ...props, links: links, tabs: tabMode == 'navbar' ? tabs : [] }), props.children] }) }) }));
|
|
67
66
|
}
|
|
68
67
|
function DocsNavbar({ links, tabs, searchToggle = {}, themeSwitch = {}, nav = {}, ...props }) {
|
|
69
68
|
const navMode = nav.mode ?? 'auto';
|
|
70
69
|
const sidebarCollapsible = props.sidebar?.collapsible ?? true;
|
|
71
|
-
return (_jsxs(Navbar, { mode: navMode, children: [_jsxs("div", { className: cn('flex border-b px-4 gap-2 flex-1 md:px-6', navMode === 'top' && 'ps-7'), children: [_jsxs("div", { className: cn('items-center', navMode === 'top' && 'flex flex-1', navMode === 'auto' && [
|
|
70
|
+
return (_jsxs(Navbar, { mode: navMode, className: cn('on-root:[--fd-nav-height:56px] md:on-root:[--fd-nav-height:64px]', tabs.length > 0 && 'lg:on-root:[--fd-nav-height:104px]'), children: [_jsxs("div", { className: cn('flex border-b px-4 gap-2 flex-1 md:px-6', navMode === 'top' && 'ps-7'), children: [_jsxs("div", { className: cn('items-center', navMode === 'top' && 'flex flex-1', navMode === 'auto' && [
|
|
72
71
|
'hidden max-md:flex',
|
|
73
72
|
sidebarCollapsible && 'has-data-[collapsed=true]:md:flex',
|
|
74
73
|
]), children: [sidebarCollapsible && navMode === 'auto' && (_jsx(SidebarCollapseTrigger, { className: cn(buttonVariants({
|
|
@@ -90,7 +89,7 @@ function DocsNavbar({ links, tabs, searchToggle = {}, themeSwitch = {}, nav = {}
|
|
|
90
89
|
}
|
|
91
90
|
function NavbarLinkItem({ item, ...props }) {
|
|
92
91
|
if (item.type === 'menu') {
|
|
93
|
-
return (_jsxs(Popover, { children: [_jsxs(PopoverTrigger, { ...props, className: cn('inline-flex items-center gap-1.5', props.className), children: [item.text, _jsx(ChevronDown, { className: "size-3" })] }), _jsx(PopoverContent, { className: "flex flex-col", children: item.items.map((child, i) => {
|
|
92
|
+
return (_jsxs(Popover, { children: [_jsxs(PopoverTrigger, { ...props, className: cn('inline-flex items-center gap-1.5 has-data-[active=true]:text-fd-primary', props.className), children: [item.url ? (_jsx(BaseLinkItem, { item: item, children: item.text })) : (item.text), _jsx(ChevronDown, { className: "size-3" })] }), _jsx(PopoverContent, { className: "flex flex-col", children: item.items.map((child, i) => {
|
|
94
93
|
if (child.type === 'custom')
|
|
95
94
|
return _jsx(Fragment, { children: child.children }, i);
|
|
96
95
|
return (_jsxs(BaseLinkItem, { item: child, className: "inline-flex items-center gap-2 rounded-md p-2 text-start hover:bg-fd-accent hover:text-fd-accent-foreground data-[active=true]:text-fd-primary [&_svg]:size-4", children: [child.icon, child.text] }, i));
|
|
@@ -102,7 +101,7 @@ function NavbarLinkItem({ item, ...props }) {
|
|
|
102
101
|
}
|
|
103
102
|
function SidebarLinkItem({ item, ...props }) {
|
|
104
103
|
if (item.type === 'menu')
|
|
105
|
-
return (_jsxs(SidebarFolder, { ...props, children: [item.url ? (_jsxs(SidebarFolderLink, { href: item.url, children: [item.icon, item.text] })) : (_jsxs(SidebarFolderTrigger, { children: [item.icon, item.text] })), _jsx(SidebarFolderContent, { children: item.items.map((child, i) => (_jsx(SidebarLinkItem, { item: child }, i))) })] }));
|
|
104
|
+
return (_jsxs(SidebarFolder, { ...props, children: [item.url ? (_jsxs(SidebarFolderLink, { href: item.url, external: item.external, children: [item.icon, item.text] })) : (_jsxs(SidebarFolderTrigger, { children: [item.icon, item.text] })), _jsx(SidebarFolderContent, { children: item.items.map((child, i) => (_jsx(SidebarLinkItem, { item: child }, i))) })] }));
|
|
106
105
|
if (item.type === 'custom')
|
|
107
106
|
return _jsx("div", { ...props, children: item.children });
|
|
108
107
|
return (_jsx(SidebarItem, { href: item.url, icon: item.icon, external: item.external, ...props, children: item.text }));
|
|
@@ -94,11 +94,10 @@ export interface ButtonItemType extends BaseLinkType {
|
|
|
94
94
|
*/
|
|
95
95
|
secondary?: boolean;
|
|
96
96
|
}
|
|
97
|
-
export interface MenuItemType extends
|
|
97
|
+
export interface MenuItemType extends Partial<BaseLinkType> {
|
|
98
98
|
type: 'menu';
|
|
99
99
|
icon?: ReactNode;
|
|
100
100
|
text: ReactNode;
|
|
101
|
-
url?: string;
|
|
102
101
|
items: ((MainItemType & {
|
|
103
102
|
/**
|
|
104
103
|
* Options when displayed on navigation menu
|
|
@@ -1 +1 @@
|
|
|
1
|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OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/provider/base.js
CHANGED
package/dist/style.css
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
|
|
45
45
|
--color-fd-card: hsl(0, 0%, 94.7%);
|
|
46
46
|
--color-fd-card-foreground: hsl(0, 0%, 3.9%);
|
|
47
|
-
--color-fd-border: hsla(0, 0%,
|
|
47
|
+
--color-fd-border: hsla(0, 0%, 80%, 50%);
|
|
48
48
|
--color-fd-primary: hsl(0, 0%, 9%);
|
|
49
49
|
--color-fd-primary-foreground: hsl(0, 0%, 98%);
|
|
50
50
|
--color-fd-secondary: hsl(0, 0%, 93.1%);
|
|
@@ -358,6 +358,9 @@
|
|
|
358
358
|
.top-14 {
|
|
359
359
|
top: calc(var(--spacing) * 14);
|
|
360
360
|
}
|
|
361
|
+
.right-\(--removed-body-scroll-bar-size\,0\) {
|
|
362
|
+
right: var(--removed-body-scroll-bar-size,0);
|
|
363
|
+
}
|
|
361
364
|
.right-2 {
|
|
362
365
|
right: calc(var(--spacing) * 2);
|
|
363
366
|
}
|
|
@@ -397,6 +400,9 @@
|
|
|
397
400
|
.z-\[-1\] {
|
|
398
401
|
z-index: -1;
|
|
399
402
|
}
|
|
403
|
+
.col-span-full {
|
|
404
|
+
grid-column: 1 / -1;
|
|
405
|
+
}
|
|
400
406
|
.container {
|
|
401
407
|
width: 100%;
|
|
402
408
|
@media (width >= 40rem) {
|
|
@@ -419,7 +425,7 @@
|
|
|
419
425
|
margin-inline: auto;
|
|
420
426
|
padding-inline: 1rem;
|
|
421
427
|
@media (width >= 96rem) {
|
|
422
|
-
max-width:
|
|
428
|
+
max-width: var(--spacing-fd-container);
|
|
423
429
|
}
|
|
424
430
|
}
|
|
425
431
|
.-mx-1 {
|
|
@@ -1006,9 +1012,6 @@
|
|
|
1006
1012
|
.max-h-\[80svh\] {
|
|
1007
1013
|
max-height: 80svh;
|
|
1008
1014
|
}
|
|
1009
|
-
.max-h-\[400px\] {
|
|
1010
|
-
max-height: 400px;
|
|
1011
|
-
}
|
|
1012
1015
|
.max-h-\[460px\] {
|
|
1013
1016
|
max-height: 460px;
|
|
1014
1017
|
}
|
|
@@ -1033,14 +1036,8 @@
|
|
|
1033
1036
|
.w-1\.5 {
|
|
1034
1037
|
width: calc(var(--spacing) * 1.5);
|
|
1035
1038
|
}
|
|
1036
|
-
.w
|
|
1037
|
-
width:
|
|
1038
|
-
}
|
|
1039
|
-
.w-\[30\%\] {
|
|
1040
|
-
width: 30%;
|
|
1041
|
-
}
|
|
1042
|
-
.w-\[45\%\] {
|
|
1043
|
-
width: 45%;
|
|
1039
|
+
.w-\[25\%\] {
|
|
1040
|
+
width: 25%;
|
|
1044
1041
|
}
|
|
1045
1042
|
.w-\[85\%\] {
|
|
1046
1043
|
width: 85%;
|
|
@@ -1075,9 +1072,6 @@
|
|
|
1075
1072
|
.max-w-\[380px\] {
|
|
1076
1073
|
max-width: 380px;
|
|
1077
1074
|
}
|
|
1078
|
-
.max-w-\[400px\] {
|
|
1079
|
-
max-width: 400px;
|
|
1080
|
-
}
|
|
1081
1075
|
.max-w-\[860px\] {
|
|
1082
1076
|
max-width: 860px;
|
|
1083
1077
|
}
|
|
@@ -1093,12 +1087,12 @@
|
|
|
1093
1087
|
.min-w-0 {
|
|
1094
1088
|
min-width: calc(var(--spacing) * 0);
|
|
1095
1089
|
}
|
|
1096
|
-
.min-w-\[220px\] {
|
|
1097
|
-
min-width: 220px;
|
|
1098
|
-
}
|
|
1099
1090
|
.min-w-\[240px\] {
|
|
1100
1091
|
min-width: 240px;
|
|
1101
1092
|
}
|
|
1093
|
+
.min-w-fit {
|
|
1094
|
+
min-width: fit-content;
|
|
1095
|
+
}
|
|
1102
1096
|
.min-w-full {
|
|
1103
1097
|
min-width: 100%;
|
|
1104
1098
|
}
|
|
@@ -1164,6 +1158,9 @@
|
|
|
1164
1158
|
.grid-cols-2 {
|
|
1165
1159
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1166
1160
|
}
|
|
1161
|
+
.grid-cols-\[1fr_3fr\] {
|
|
1162
|
+
grid-template-columns: 1fr 3fr;
|
|
1163
|
+
}
|
|
1167
1164
|
.flex-col {
|
|
1168
1165
|
flex-direction: column;
|
|
1169
1166
|
}
|
|
@@ -1218,6 +1215,12 @@
|
|
|
1218
1215
|
.gap-6 {
|
|
1219
1216
|
gap: calc(var(--spacing) * 6);
|
|
1220
1217
|
}
|
|
1218
|
+
.gap-x-2 {
|
|
1219
|
+
column-gap: calc(var(--spacing) * 2);
|
|
1220
|
+
}
|
|
1221
|
+
.gap-y-4 {
|
|
1222
|
+
row-gap: calc(var(--spacing) * 4);
|
|
1223
|
+
}
|
|
1221
1224
|
.divide-y {
|
|
1222
1225
|
:where(& > :not(:last-child)) {
|
|
1223
1226
|
--tw-divide-y-reverse: 0;
|
|
@@ -1503,6 +1506,9 @@
|
|
|
1503
1506
|
.pe-\(--fd-toc-width\) {
|
|
1504
1507
|
padding-inline-end: var(--fd-toc-width);
|
|
1505
1508
|
}
|
|
1509
|
+
.pe-2 {
|
|
1510
|
+
padding-inline-end: calc(var(--spacing) * 2);
|
|
1511
|
+
}
|
|
1506
1512
|
.pe-2\.5 {
|
|
1507
1513
|
padding-inline-end: calc(var(--spacing) * 2.5);
|
|
1508
1514
|
}
|
|
@@ -1530,6 +1536,9 @@
|
|
|
1530
1536
|
.pt-14 {
|
|
1531
1537
|
padding-top: calc(var(--spacing) * 14);
|
|
1532
1538
|
}
|
|
1539
|
+
.pr-\(--removed-body-scroll-bar-size\,0\) {
|
|
1540
|
+
padding-right: var(--removed-body-scroll-bar-size,0);
|
|
1541
|
+
}
|
|
1533
1542
|
.pb-1\.5 {
|
|
1534
1543
|
padding-bottom: calc(var(--spacing) * 1.5);
|
|
1535
1544
|
}
|
|
@@ -1723,6 +1732,11 @@
|
|
|
1723
1732
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1724
1733
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1725
1734
|
}
|
|
1735
|
+
.transition-\[top\,opacity\,translate\,width\] {
|
|
1736
|
+
transition-property: top,opacity,translate,width;
|
|
1737
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1738
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1739
|
+
}
|
|
1726
1740
|
.transition-\[width\,height\] {
|
|
1727
1741
|
transition-property: width,height;
|
|
1728
1742
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -1830,6 +1844,11 @@
|
|
|
1830
1844
|
border-bottom-width: 1px;
|
|
1831
1845
|
}
|
|
1832
1846
|
}
|
|
1847
|
+
.not-last\:mb-2 {
|
|
1848
|
+
&:not(*:last-child) {
|
|
1849
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1833
1852
|
.group-data-\[state\=active\]\:bg-fd-primary {
|
|
1834
1853
|
&:is(:where(.group)[data-state="active"] *) {
|
|
1835
1854
|
background-color: var(--color-fd-primary);
|
|
@@ -2033,6 +2052,11 @@
|
|
|
2033
2052
|
background-color: var(--color-fd-accent);
|
|
2034
2053
|
}
|
|
2035
2054
|
}
|
|
2055
|
+
.has-data-\[active\=true\]\:text-fd-primary {
|
|
2056
|
+
&:has(*[data-active="true"]) {
|
|
2057
|
+
color: var(--color-fd-primary);
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2036
2060
|
.\*\:has-\[\+\:last-child\[data-empty\=true\]\]\:border-b-0 {
|
|
2037
2061
|
:is(& > *) {
|
|
2038
2062
|
&:has(+:last-child[data-empty=true]) {
|
|
@@ -2423,16 +2447,6 @@
|
|
|
2423
2447
|
padding-inline: calc(var(--spacing) * 6);
|
|
2424
2448
|
}
|
|
2425
2449
|
}
|
|
2426
|
-
.md\:\[--fd-nav-height\:0px\] {
|
|
2427
|
-
@media (width >= 48rem) {
|
|
2428
|
-
--fd-nav-height: 0px;
|
|
2429
|
-
}
|
|
2430
|
-
}
|
|
2431
|
-
.md\:\[--fd-nav-height\:64px\] {
|
|
2432
|
-
@media (width >= 48rem) {
|
|
2433
|
-
--fd-nav-height: 64px;
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
2450
|
.md\:\[--fd-sidebar-width\:268px\] {
|
|
2437
2451
|
@media (width >= 48rem) {
|
|
2438
2452
|
--fd-sidebar-width: 268px;
|
|
@@ -2470,11 +2484,6 @@
|
|
|
2470
2484
|
align-items: center;
|
|
2471
2485
|
}
|
|
2472
2486
|
}
|
|
2473
|
-
.lg\:\[--fd-nav-height\:104px\] {
|
|
2474
|
-
@media (width >= 64rem) {
|
|
2475
|
-
--fd-nav-height: 104px;
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
2487
|
.lg\:\[--fd-sidebar-width\:286px\] {
|
|
2479
2488
|
@media (width >= 64rem) {
|
|
2480
2489
|
--fd-sidebar-width: 286px;
|
|
@@ -2495,11 +2504,26 @@
|
|
|
2495
2504
|
--fd-toc-width: 286px;
|
|
2496
2505
|
}
|
|
2497
2506
|
}
|
|
2507
|
+
.\@max-xl\:hidden {
|
|
2508
|
+
@container (width < 36rem) {
|
|
2509
|
+
display: none;
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2498
2512
|
.\@max-lg\:col-span-full {
|
|
2499
2513
|
@container (width < 32rem) {
|
|
2500
2514
|
grid-column: 1 / -1;
|
|
2501
2515
|
}
|
|
2502
2516
|
}
|
|
2517
|
+
.rtl\:right-\(--removed-body-scroll-bar-size\,0\) {
|
|
2518
|
+
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
2519
|
+
right: var(--removed-body-scroll-bar-size,0);
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
.rtl\:left-auto {
|
|
2523
|
+
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
2524
|
+
left: auto;
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2503
2527
|
.rtl\:-translate-x-\(--fd-sidebar-offset\) {
|
|
2504
2528
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
2505
2529
|
--tw-translate-x: calc(var(--fd-sidebar-offset) * -1);
|
|
@@ -2522,6 +2546,39 @@
|
|
|
2522
2546
|
background-color: var(--shiki-dark-bg);
|
|
2523
2547
|
}
|
|
2524
2548
|
}
|
|
2549
|
+
.on-root\:\[--fd-nav-height\:56px\] {
|
|
2550
|
+
:root:has(&) {
|
|
2551
|
+
--fd-nav-height: 56px;
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
.max-xl\:on-root\:\[--fd-tocnav-height\:40px\] {
|
|
2555
|
+
@media (width < 80rem) {
|
|
2556
|
+
:root:has(&) {
|
|
2557
|
+
--fd-tocnav-height: 40px;
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
.md\:on-root\:\[--fd-nav-height\:0px\] {
|
|
2562
|
+
@media (width >= 48rem) {
|
|
2563
|
+
:root:has(&) {
|
|
2564
|
+
--fd-nav-height: 0px;
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
.md\:on-root\:\[--fd-nav-height\:64px\] {
|
|
2569
|
+
@media (width >= 48rem) {
|
|
2570
|
+
:root:has(&) {
|
|
2571
|
+
--fd-nav-height: 64px;
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
.lg\:on-root\:\[--fd-nav-height\:104px\] {
|
|
2576
|
+
@media (width >= 64rem) {
|
|
2577
|
+
:root:has(&) {
|
|
2578
|
+
--fd-nav-height: 104px;
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2525
2582
|
.md\:\[\&_\#nd-page_article\]\:pt-12 {
|
|
2526
2583
|
@media (width >= 48rem) {
|
|
2527
2584
|
& #nd-page article {
|
|
@@ -2711,18 +2768,10 @@
|
|
|
2711
2768
|
background-color: var(--color-fd-background);
|
|
2712
2769
|
color: var(--color-fd-foreground);
|
|
2713
2770
|
}
|
|
2714
|
-
[data-rmiz-modal-overlay='visible'] {
|
|
2715
|
-
background-color: var(--color-fd-background);
|
|
2716
|
-
}
|
|
2717
2771
|
:root, #nd-docs-layout {
|
|
2718
2772
|
--fd-layout-offset: max(calc(50vw - var(--fd-layout-width) / 2), 0px);
|
|
2719
2773
|
}
|
|
2720
2774
|
}
|
|
2721
|
-
@media (width < 80rem) {
|
|
2722
|
-
#nd-docs-layout:has([data-toc-popover]) {
|
|
2723
|
-
--fd-tocnav-height: calc(var(--spacing) * 10);
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
2775
|
@property --radix-collapsible-content-height {
|
|
2727
2776
|
syntax: '<length>';
|
|
2728
2777
|
inherits: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.7.
|
|
3
|
+
"version": "15.7.9",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"react-medium-image-zoom": "^5.3.0",
|
|
122
122
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
123
123
|
"tailwind-merge": "^3.3.1",
|
|
124
|
-
"fumadocs-core": "15.7.
|
|
124
|
+
"fumadocs-core": "15.7.9"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@next/eslint-plugin-next": "^15.5.2",
|
|
@@ -132,9 +132,9 @@
|
|
|
132
132
|
"next": "15.5.2",
|
|
133
133
|
"tailwindcss": "^4.1.12",
|
|
134
134
|
"tsc-alias": "^1.8.16",
|
|
135
|
-
"eslint-config-custom": "0.0.0",
|
|
136
|
-
"fumadocs-core": "15.7.7",
|
|
137
135
|
"@fumadocs/cli": "1.0.1",
|
|
136
|
+
"eslint-config-custom": "0.0.0",
|
|
137
|
+
"fumadocs-core": "15.7.9",
|
|
138
138
|
"tsconfig": "0.0.0"
|
|
139
139
|
},
|
|
140
140
|
"peerDependencies": {
|