fumadocs-ui 15.0.11 → 15.0.12
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/components/dynamic-codeblock.d.ts +1 -1
- package/dist/components/dynamic-codeblock.d.ts.map +1 -1
- package/dist/components/dynamic-codeblock.js +5 -9
- package/dist/contexts/tree.d.ts +3 -2
- package/dist/contexts/tree.d.ts.map +1 -1
- package/dist/contexts/tree.js +5 -4
- package/dist/layouts/docs/sidebar.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.js +2 -3
- package/dist/provider.d.ts.map +1 -1
- package/dist/provider.js +2 -2
- package/dist/style.css +2 -2
- package/dist/theme/typography/styles.js +2 -2
- package/package.json +3 -3
|
@@ -3,5 +3,5 @@ export declare function DynamicCodeBlock({ lang, code, options, }: {
|
|
|
3
3
|
lang: string;
|
|
4
4
|
code: string;
|
|
5
5
|
options?: Omit<HighlightOptions, 'lang'>;
|
|
6
|
-
}): import("react
|
|
6
|
+
}): import("react").ReactNode;
|
|
7
7
|
//# sourceMappingURL=dynamic-codeblock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-codeblock.d.ts","sourceRoot":"","sources":["../../src/components/dynamic-codeblock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"dynamic-codeblock.d.ts","sourceRoot":"","sources":["../../src/components/dynamic-codeblock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAc7D,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,IAAI,EACJ,OAAO,GACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;CAC1C,6BAUA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { CodeBlock, Pre } from '../components/codeblock.js';
|
|
4
|
-
import {
|
|
5
|
-
import { useId } from 'react';
|
|
4
|
+
import { useShiki } from 'fumadocs-core/highlight/client';
|
|
6
5
|
import { cn } from '../utils/cn.js';
|
|
7
6
|
const components = {
|
|
8
7
|
pre(props) {
|
|
@@ -10,16 +9,13 @@ const components = {
|
|
|
10
9
|
},
|
|
11
10
|
};
|
|
12
11
|
export function DynamicCodeBlock({ lang, code, options, }) {
|
|
13
|
-
|
|
14
|
-
const shikiOptions = {
|
|
12
|
+
return useShiki(code, {
|
|
15
13
|
lang,
|
|
16
|
-
scriptKey,
|
|
17
14
|
...options,
|
|
18
15
|
components: {
|
|
19
16
|
...components,
|
|
20
17
|
...options?.components,
|
|
21
18
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return (_jsxs(_Fragment, { children: [_jsx(PrerenderScript, { scriptKey: scriptKey, code: code, options: shikiOptions }), children] }));
|
|
19
|
+
withPrerenderScript: true,
|
|
20
|
+
});
|
|
25
21
|
}
|
package/dist/contexts/tree.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { PageTree } from 'fumadocs-core/server';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
+
type MakeRequired<O, K extends keyof O> = Omit<O, K> & Pick<Required<O>, K>;
|
|
3
4
|
interface TreeContextType {
|
|
4
|
-
root: PageTree.Root | PageTree.Folder
|
|
5
|
+
root: MakeRequired<PageTree.Root | PageTree.Folder, '$id'>;
|
|
5
6
|
}
|
|
6
7
|
export declare function TreeContextProvider({ children, tree, }: {
|
|
7
8
|
tree: PageTree.Root;
|
|
8
9
|
children: ReactNode;
|
|
9
|
-
}):
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export declare function useTreePath(): PageTree.Node[];
|
|
11
12
|
export declare function useTreeContext(): TreeContextType;
|
|
12
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/contexts/tree.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/contexts/tree.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAGL,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAGf,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE5E,UAAU,eAAe;IACvB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC5D;AAKD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,IAAI,GACL,EAAE;IACD,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAmBA;AAED,wBAAgB,WAAW,IAAI,QAAQ,CAAC,IAAI,EAAE,CAE7C;AAED,wBAAgB,cAAc,IAAI,eAAe,CAMhD"}
|
package/dist/contexts/tree.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname } from 'next/navigation';
|
|
4
|
-
import { createContext, useContext, useMemo } from 'react';
|
|
4
|
+
import { createContext, useContext, useMemo, useRef, } from 'react';
|
|
5
5
|
import { searchPath } from 'fumadocs-core/breadcrumb';
|
|
6
6
|
const TreeContext = createContext(null);
|
|
7
7
|
const PathContext = createContext([]);
|
|
8
8
|
export function TreeContextProvider({ children, tree, }) {
|
|
9
|
+
const nextIdRef = useRef(0);
|
|
9
10
|
const pathname = usePathname();
|
|
10
11
|
const path = useMemo(() => searchPath(tree.children, pathname) ?? [], [pathname, tree]);
|
|
11
|
-
const root =
|
|
12
|
-
|
|
13
|
-
return (_jsx(TreeContext.Provider, { value: useMemo(() => ({ root }), [root]), children: _jsx(PathContext.Provider, { value: path, children: children }) }));
|
|
12
|
+
const root = path.findLast((item) => item.type === 'folder' && item.root) ?? tree;
|
|
13
|
+
root.$id ?? (root.$id = String(nextIdRef.current++));
|
|
14
|
+
return (_jsx(TreeContext.Provider, { value: useMemo(() => ({ root: root }), [root]), children: _jsx(PathContext.Provider, { value: path, children: children }) }));
|
|
14
15
|
}
|
|
15
16
|
export function useTreePath() {
|
|
16
17
|
return useContext(PathContext);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,oBAAoB,EAGzB,KAAK,cAAc,EAEnB,KAAK,SAAS,EAMf,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,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB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AClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,2CAgBA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAqBlE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,2CAmCjD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAmBlE;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,2CAiB/C;AAgBD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,2CAuDA"}
|
|
@@ -158,7 +158,6 @@ function useInternalContext() {
|
|
|
158
158
|
*/
|
|
159
159
|
export function SidebarPageTree(props) {
|
|
160
160
|
const { root } = useTreeContext();
|
|
161
|
-
const idRef = useRef(0);
|
|
162
161
|
return useMemo(() => {
|
|
163
162
|
const { Separator, Item, Folder } = props.components ?? {};
|
|
164
163
|
function renderSidebarList(items, level) {
|
|
@@ -179,8 +178,8 @@ export function SidebarPageTree(props) {
|
|
|
179
178
|
return (_jsx(SidebarItem, { href: item.url, external: item.external, icon: item.icon, children: item.name }, item.url));
|
|
180
179
|
});
|
|
181
180
|
}
|
|
182
|
-
return (_jsx(Fragment, { children: renderSidebarList(root.children, 1) },
|
|
183
|
-
}, [props.components, root
|
|
181
|
+
return (_jsx(Fragment, { children: renderSidebarList(root.children, 1) }, root.$id));
|
|
182
|
+
}, [props.components, root.$id]);
|
|
184
183
|
}
|
|
185
184
|
function PageTreeFolder({ item, ...props }) {
|
|
186
185
|
const { defaultOpenLevel, level } = useInternalContext();
|
package/dist/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,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,wBAAwB,CAAC,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAC7E;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,CAAC,GAAG;QAChE;;;;WAIG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IAEF,QAAQ,EAAE,SAAS,CAAC;CACrB;AAOD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,GAAW,EACX,KAAK,EAAE,EAAE,OAAc,EAAE,GAAG,KAAK,EAAO,EACxC,MAAM,GACP,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA4BxC;AAED,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,KAAK,mBAAmB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,cAAc,EACd,aAAa,EACb,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC"}
|
package/dist/provider.js
CHANGED
|
@@ -6,13 +6,13 @@ import { DirectionProvider } from '@radix-ui/react-direction';
|
|
|
6
6
|
import { SidebarProvider } from './contexts/sidebar.js';
|
|
7
7
|
import { SearchProvider } from './contexts/search.js';
|
|
8
8
|
const DefaultSearchDialog = dynamic(() => import('./components/dialog/search-default.js'), { ssr: false });
|
|
9
|
-
export function RootProvider({ children, dir, theme: { enabled = true, ...theme } = {}, search, }) {
|
|
9
|
+
export function RootProvider({ children, dir = 'ltr', theme: { enabled = true, ...theme } = {}, search, }) {
|
|
10
10
|
let body = children;
|
|
11
11
|
if (search?.enabled !== false)
|
|
12
12
|
body = (_jsx(SearchProvider, { SearchDialog: DefaultSearchDialog, ...search, children: body }));
|
|
13
13
|
if (enabled)
|
|
14
14
|
body = (_jsx(ThemeProvider, { attribute: "class", defaultTheme: "system", enableSystem: true, disableTransitionOnChange: true, ...theme, children: body }));
|
|
15
|
-
return (_jsx(DirectionProvider, { dir: dir
|
|
15
|
+
return (_jsx(DirectionProvider, { dir: dir, children: _jsx(SidebarProvider, { children: body }) }));
|
|
16
16
|
}
|
|
17
17
|
export { useI18n, I18nLabel } from './contexts/i18n.js';
|
|
18
18
|
export { SearchProvider, SearchOnly, useSearchContext, } from './contexts/search.js';
|
package/dist/style.css
CHANGED
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
}
|
|
1027
1027
|
:where(a:not([data-card])):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1028
1028
|
color: var(--tw-prose-links);
|
|
1029
|
-
transition:
|
|
1029
|
+
transition: opacity .2s;
|
|
1030
1030
|
font-weight: 500;
|
|
1031
1031
|
text-decoration: underline;
|
|
1032
1032
|
text-underline-offset: 3.5px;
|
|
@@ -1034,7 +1034,7 @@
|
|
|
1034
1034
|
text-decoration-thickness: 1.5px;
|
|
1035
1035
|
}
|
|
1036
1036
|
:where(a:not([data-card]):hover):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
1037
|
-
|
|
1037
|
+
opacity: 80%;
|
|
1038
1038
|
}
|
|
1039
1039
|
--tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent);
|
|
1040
1040
|
--tw-prose-headings: var(--color-fd-foreground);
|
|
@@ -408,7 +408,7 @@ export const DEFAULT = {
|
|
|
408
408
|
},
|
|
409
409
|
'a:not([data-card])': {
|
|
410
410
|
color: 'var(--tw-prose-links)',
|
|
411
|
-
transition: '
|
|
411
|
+
transition: 'opacity .2s',
|
|
412
412
|
fontWeight: '500',
|
|
413
413
|
textDecoration: 'underline',
|
|
414
414
|
textUnderlineOffset: '3.5px',
|
|
@@ -416,7 +416,7 @@ export const DEFAULT = {
|
|
|
416
416
|
textDecorationThickness: '1.5px',
|
|
417
417
|
},
|
|
418
418
|
'a:not([data-card]):hover': {
|
|
419
|
-
|
|
419
|
+
opacity: '80%',
|
|
420
420
|
},
|
|
421
421
|
},
|
|
422
422
|
colors,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.12",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"tsc-alias": "^1.8.10",
|
|
82
82
|
"@fumadocs/cli": "0.0.8",
|
|
83
83
|
"eslint-config-custom": "0.0.0",
|
|
84
|
-
"fumadocs-core": "15.0.
|
|
84
|
+
"fumadocs-core": "15.0.12",
|
|
85
85
|
"tsconfig": "0.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"react": "18.x.x || 19.x.x",
|
|
90
90
|
"react-dom": "18.x.x || 19.x.x",
|
|
91
91
|
"tailwindcss": "^3.4.14 || ^4.0.0",
|
|
92
|
-
"fumadocs-core": "15.0.
|
|
92
|
+
"fumadocs-core": "15.0.12"
|
|
93
93
|
},
|
|
94
94
|
"peerDependenciesMeta": {
|
|
95
95
|
"tailwindcss": {
|