@fumadocs/base-ui 16.4.8 → 16.4.10
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/accordion.d.ts +3 -3
- package/dist/components/banner.d.ts +2 -2
- package/dist/components/callout.d.ts +5 -5
- package/dist/components/card.d.ts +3 -3
- package/dist/components/codeblock.d.ts +7 -7
- package/dist/components/dialog/search-algolia.d.ts +2 -2
- package/dist/components/dialog/search-algolia.d.ts.map +1 -1
- package/dist/components/dialog/search-default.d.ts +2 -2
- package/dist/components/dialog/search-default.d.ts.map +1 -1
- package/dist/components/dialog/search-orama.d.ts +2 -2
- package/dist/components/dialog/search-orama.d.ts.map +1 -1
- package/dist/components/dialog/search.d.ts +13 -13
- package/dist/components/dialog/search.d.ts.map +1 -1
- package/dist/components/dynamic-codeblock.d.ts +2 -2
- package/dist/components/github-info.d.ts +2 -2
- package/dist/components/image-zoom.d.ts +2 -2
- package/dist/components/inline-toc.d.ts +2 -2
- package/dist/components/sidebar/base.d.ts +15 -15
- package/dist/components/sidebar/base.d.ts.map +1 -1
- package/dist/components/sidebar/link-item.d.ts +2 -2
- package/dist/components/sidebar/page-tree.d.ts +2 -2
- package/dist/components/sidebar/tabs/dropdown.d.ts +2 -2
- package/dist/components/steps.d.ts +3 -3
- package/dist/components/tabs.d.ts +7 -7
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/type-table.d.ts +2 -2
- package/dist/components/ui/accordion.d.ts +6 -6
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/collapsible.d.ts +6 -6
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -7
- package/dist/components/ui/popover.d.ts +3 -3
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +4 -4
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/layouts/docs/client.d.ts +7 -7
- package/dist/layouts/docs/index.d.ts +2 -2
- package/dist/layouts/docs/index.js +4 -4
- package/dist/layouts/docs/index.js.map +1 -1
- package/dist/layouts/docs/page/client.d.ts +7 -7
- package/dist/layouts/docs/page/index.d.ts +5 -5
- package/dist/layouts/docs/page/index.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.d.ts +17 -17
- package/dist/layouts/home/client.d.ts +3 -3
- package/dist/layouts/home/client.d.ts.map +1 -1
- package/dist/layouts/home/client.js +9 -27
- package/dist/layouts/home/client.js.map +1 -1
- package/dist/layouts/home/index.d.ts +2 -2
- package/dist/layouts/home/index.d.ts.map +1 -1
- package/dist/layouts/home/navbar.d.ts +7 -7
- package/dist/layouts/home/navbar.d.ts.map +1 -1
- package/dist/layouts/notebook/index.js +5 -5
- package/dist/layouts/notebook/index.js.map +1 -1
- package/dist/layouts/notebook/page/client.d.ts +7 -7
- package/dist/layouts/notebook/page/client.d.ts.map +1 -1
- package/dist/layouts/notebook/page/index.d.ts +5 -5
- package/dist/layouts/notebook/page/index.d.ts.map +1 -1
- package/dist/layouts/notebook/sidebar.d.ts +12 -12
- package/dist/layouts/notebook/sidebar.d.ts.map +1 -1
- package/dist/layouts/shared/index.d.ts +12 -4
- package/dist/layouts/shared/index.d.ts.map +1 -1
- package/dist/layouts/shared/index.js +28 -1
- package/dist/layouts/shared/index.js.map +1 -1
- package/dist/layouts/shared/language-toggle.d.ts +2 -2
- package/dist/layouts/shared/language-toggle.d.ts.map +1 -1
- package/dist/layouts/shared/search-toggle.d.ts +3 -3
- package/dist/layouts/shared/search-toggle.d.ts.map +1 -1
- package/dist/layouts/shared/theme-toggle.d.ts +2 -2
- package/dist/layouts/shared/theme-toggle.d.ts.map +1 -1
- package/dist/page.d.ts +3 -3
- package/dist/provider/base.d.ts +2 -2
- package/dist/provider/next.d.ts +2 -2
- package/dist/provider/react-router.d.ts +2 -2
- package/dist/provider/react-router.d.ts.map +1 -1
- package/dist/provider/tanstack.d.ts +2 -2
- package/dist/provider/tanstack.d.ts.map +1 -1
- package/dist/provider/waku.d.ts +2 -2
- package/dist/provider/waku.d.ts.map +1 -1
- package/dist/style.css +47 -37
- package/package.json +7 -7
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Link from "fumadocs-core/link";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
3
4
|
|
|
4
5
|
//#region src/layouts/shared/index.tsx
|
|
5
6
|
/**
|
|
@@ -33,7 +34,33 @@ function renderTitleNav({ title, url = "/" }, props) {
|
|
|
33
34
|
children: title
|
|
34
35
|
});
|
|
35
36
|
}
|
|
37
|
+
function useLinkItems({ githubUrl, links }) {
|
|
38
|
+
return useMemo(() => {
|
|
39
|
+
const all = resolveLinkItems({
|
|
40
|
+
links,
|
|
41
|
+
githubUrl
|
|
42
|
+
});
|
|
43
|
+
const navItems = [];
|
|
44
|
+
const menuItems = [];
|
|
45
|
+
for (const item of all) switch (item.on ?? "all") {
|
|
46
|
+
case "menu":
|
|
47
|
+
menuItems.push(item);
|
|
48
|
+
break;
|
|
49
|
+
case "nav":
|
|
50
|
+
navItems.push(item);
|
|
51
|
+
break;
|
|
52
|
+
default:
|
|
53
|
+
navItems.push(item);
|
|
54
|
+
menuItems.push(item);
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
navItems,
|
|
58
|
+
menuItems,
|
|
59
|
+
all
|
|
60
|
+
};
|
|
61
|
+
}, [links, githubUrl]);
|
|
62
|
+
}
|
|
36
63
|
|
|
37
64
|
//#endregion
|
|
38
|
-
export { renderTitleNav, resolveLinkItems };
|
|
65
|
+
export { renderTitleNav, resolveLinkItems, useLinkItems };
|
|
39
66
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/layouts/shared/index.tsx"],"sourcesContent":["import type
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/layouts/shared/index.tsx"],"sourcesContent":["import { useMemo, type ComponentProps, type ReactNode } from 'react';\nimport type { I18nConfig } from 'fumadocs-core/i18n';\nimport type { LinkItemType } from '@fumadocs/ui/link-item';\nimport Link from 'fumadocs-core/link';\n\nexport interface NavOptions {\n enabled: boolean;\n component: ReactNode;\n\n title?: ReactNode | ((props: ComponentProps<'a'>) => ReactNode);\n\n /**\n * Redirect url of title\n * @defaultValue '/'\n */\n url?: string;\n\n /**\n * Use transparent background\n *\n * @defaultValue none\n */\n transparentMode?: 'always' | 'top' | 'none';\n\n children?: ReactNode;\n}\n\nexport interface BaseLayoutProps {\n themeSwitch?: {\n enabled?: boolean;\n component?: ReactNode;\n mode?: 'light-dark' | 'light-dark-system';\n };\n\n searchToggle?: Partial<{\n enabled: boolean;\n components: Partial<{\n sm: ReactNode;\n lg: ReactNode;\n }>;\n }>;\n\n /**\n * I18n options\n *\n * @defaultValue false\n */\n i18n?: boolean | I18nConfig;\n\n /**\n * GitHub url\n */\n githubUrl?: string;\n\n links?: LinkItemType[];\n /**\n * Replace or disable navbar\n */\n nav?: Partial<NavOptions>;\n\n children?: ReactNode;\n}\n\n/**\n * Get link items with shortcuts\n */\nexport function resolveLinkItems({\n links = [],\n githubUrl,\n}: Pick<BaseLayoutProps, 'links' | 'githubUrl'>): LinkItemType[] {\n const result = [...links];\n\n if (githubUrl)\n result.push({\n type: 'icon',\n url: githubUrl,\n text: 'Github',\n label: 'GitHub',\n icon: (\n <svg role=\"img\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <path d=\"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\" />\n </svg>\n ),\n external: true,\n });\n\n return result;\n}\n\nexport function renderTitleNav(\n { title, url = '/' }: Partial<NavOptions>,\n props: ComponentProps<'a'>,\n) {\n if (typeof title === 'function') return title({ href: url, ...props });\n return (\n <Link href={url} {...props}>\n {title}\n </Link>\n );\n}\n\nexport function useLinkItems({ githubUrl, links }: Pick<BaseLayoutProps, 'links' | 'githubUrl'>) {\n return useMemo(() => {\n const all = resolveLinkItems({ links, githubUrl });\n const navItems: LinkItemType[] = [];\n const menuItems: LinkItemType[] = [];\n\n for (const item of all) {\n switch (item.on ?? 'all') {\n case 'menu':\n menuItems.push(item);\n break;\n case 'nav':\n navItems.push(item);\n break;\n default:\n navItems.push(item);\n menuItems.push(item);\n }\n }\n\n return { navItems, menuItems, all };\n }, [links, githubUrl]);\n}\n\nexport type * from '@fumadocs/ui/link-item';\n"],"mappings":";;;;;;;;AAkEA,SAAgB,iBAAiB,EAC/B,QAAQ,EAAE,EACV,aAC+D;CAC/D,MAAM,SAAS,CAAC,GAAG,MAAM;AAEzB,KAAI,UACF,QAAO,KAAK;EACV,MAAM;EACN,KAAK;EACL,MAAM;EACN,OAAO;EACP,MACE,oBAAC;GAAI,MAAK;GAAM,SAAQ;GAAY,MAAK;aACvC,oBAAC,UAAK,GAAE,6sBAA6sB;IACjtB;EAER,UAAU;EACX,CAAC;AAEJ,QAAO;;AAGT,SAAgB,eACd,EAAE,OAAO,MAAM,OACf,OACA;AACA,KAAI,OAAO,UAAU,WAAY,QAAO,MAAM;EAAE,MAAM;EAAK,GAAG;EAAO,CAAC;AACtE,QACE,oBAAC;EAAK,MAAM;EAAK,GAAI;YAClB;GACI;;AAIX,SAAgB,aAAa,EAAE,WAAW,SAAuD;AAC/F,QAAO,cAAc;EACnB,MAAM,MAAM,iBAAiB;GAAE;GAAO;GAAW,CAAC;EAClD,MAAM,WAA2B,EAAE;EACnC,MAAM,YAA4B,EAAE;AAEpC,OAAK,MAAM,QAAQ,IACjB,SAAQ,KAAK,MAAM,OAAnB;GACE,KAAK;AACH,cAAU,KAAK,KAAK;AACpB;GACF,KAAK;AACH,aAAS,KAAK,KAAK;AACnB;GACF;AACE,aAAS,KAAK,KAAK;AACnB,cAAU,KAAK,KAAK;;AAI1B,SAAO;GAAE;GAAU;GAAW;GAAK;IAClC,CAAC,OAAO,UAAU,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/layouts/shared/language-toggle.d.ts
|
|
5
5
|
type LanguageSelectProps = ComponentProps<'button'>;
|
|
6
6
|
declare function LanguageToggle(props: LanguageSelectProps): React.ReactElement;
|
|
7
|
-
declare function LanguageToggleText(props: ComponentProps<'span'>):
|
|
7
|
+
declare function LanguageToggleText(props: ComponentProps<'span'>): react_jsx_runtime132.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { LanguageSelectProps, LanguageToggle, LanguageToggleText };
|
|
10
10
|
//# sourceMappingURL=language-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/language-toggle.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,mBAAA,GAAsB;iBAElB,cAAA,QAAsB,sBAAsB,KAAA,CAAM;iBA6ClD,kBAAA,QAA0B,yBAAsB,
|
|
1
|
+
{"version":3,"file":"language-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/language-toggle.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,mBAAA,GAAsB;iBAElB,cAAA,QAAsB,sBAAsB,KAAA,CAAM;iBA6ClD,kBAAA,QAA0B,yBAAsB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from "../../components/ui/button.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/layouts/shared/search-toggle.d.ts
|
|
@@ -11,13 +11,13 @@ declare function SearchToggle({
|
|
|
11
11
|
size,
|
|
12
12
|
color,
|
|
13
13
|
...props
|
|
14
|
-
}: SearchToggleProps):
|
|
14
|
+
}: SearchToggleProps): react_jsx_runtime134.JSX.Element | null;
|
|
15
15
|
declare function LargeSearchToggle({
|
|
16
16
|
hideIfDisabled,
|
|
17
17
|
...props
|
|
18
18
|
}: ComponentProps<'button'> & {
|
|
19
19
|
hideIfDisabled?: boolean;
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime134.JSX.Element | null;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { LargeSearchToggle, SearchToggle };
|
|
23
23
|
//# sourceMappingURL=search-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/search-toggle.tsx"],"sourcesContent":[],"mappings":";;;;;UAQU,iBAAA,SAA0B,KAAK,oCAAoC;;;AAAnE,iBAIM,YAAA,CAJY;EAAA,cAAA;EAAA,IAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EASzB,iBATyB,CAAA,EASR,
|
|
1
|
+
{"version":3,"file":"search-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/search-toggle.tsx"],"sourcesContent":[],"mappings":";;;;;UAQU,iBAAA,SAA0B,KAAK,oCAAoC;;;AAAnE,iBAIM,YAAA,CAJY;EAAA,cAAA;EAAA,IAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EASzB,iBATyB,CAAA,EASR,oBAAA,CAAA,GAAA,CAAA,OAAA,GATQ,IAAA;AAAa,iBAkCzB,iBAAA,CAlCyB;EAAA,cAAA;EAAA,GAAA;CAAA,EAqCtC,cArCsC,CAAA,QAAA,CAAA,GAAA;EAAL,cAAA,CAAA,EAAA,OAAA;CAAyC,CAAA,EAuC5E,oBAAA,CAAA,GAAA,CAAA,OAAA,GAvC4E,IAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/layouts/shared/theme-toggle.d.ts
|
|
@@ -8,7 +8,7 @@ declare function ThemeToggle({
|
|
|
8
8
|
...props
|
|
9
9
|
}: ComponentProps<'div'> & {
|
|
10
10
|
mode?: 'light-dark' | 'light-dark-system';
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime133.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ThemeToggle };
|
|
14
14
|
//# sourceMappingURL=theme-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/theme-toggle.tsx"],"sourcesContent":[],"mappings":";;;;iBAkBgB,WAAA;;;;GAIb;;IAEF,
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/theme-toggle.tsx"],"sourcesContent":[],"mappings":";;;;iBAkBgB,WAAA;;;;GAIb;;IAEF,oBAAA,CAAA,GAAA,CAAA"}
|
package/dist/page.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageBreadcrumb, PageLastUpdate } from "./layouts/docs/page/client.js";
|
|
2
2
|
import { DocsBody, DocsDescription, DocsPageProps as DocsPageProps$1, DocsTitle, EditOnGitHub } from "./layouts/docs/page/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/page.d.ts
|
|
@@ -25,13 +25,13 @@ interface DocsPageProps extends DocsPageProps$1 {
|
|
|
25
25
|
/**
|
|
26
26
|
* For separate MDX page
|
|
27
27
|
*/
|
|
28
|
-
declare function withArticle(props: ComponentProps<'main'>):
|
|
28
|
+
declare function withArticle(props: ComponentProps<'main'>): react_jsx_runtime8.JSX.Element;
|
|
29
29
|
declare function DocsPage({
|
|
30
30
|
lastUpdate,
|
|
31
31
|
editOnGithub,
|
|
32
32
|
children,
|
|
33
33
|
...props
|
|
34
|
-
}: DocsPageProps):
|
|
34
|
+
}: DocsPageProps): react_jsx_runtime8.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { DocsBody, DocsDescription, DocsPage, DocsPageProps, DocsTitle, EditOnGitHub, PageBreadcrumb, PageLastUpdate, withArticle };
|
|
37
37
|
//# sourceMappingURL=page.d.ts.map
|
package/dist/provider/base.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefaultSearchDialogProps } from "../components/dialog/search-default.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import { I18nProviderProps } from "@fumadocs/ui/contexts/i18n";
|
|
5
5
|
import { SearchProviderProps } from "@fumadocs/ui/contexts/search";
|
|
@@ -44,7 +44,7 @@ declare function RootProvider({
|
|
|
44
44
|
theme,
|
|
45
45
|
search,
|
|
46
46
|
i18n
|
|
47
|
-
}: RootProviderProps):
|
|
47
|
+
}: RootProviderProps): react_jsx_runtime97.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { RootProvider, RootProviderProps };
|
|
50
50
|
//# sourceMappingURL=base.d.ts.map
|
package/dist/provider/next.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { Framework } from "fumadocs-core/framework";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/next.d.ts
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime98.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=next.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { Framework } from "fumadocs-core/framework";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/react-router.d.ts
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime87.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=react-router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.d.ts","names":[],"sources":["../../src/provider/react-router.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,
|
|
1
|
+
{"version":3,"file":"react-router.d.ts","names":[],"sources":["../../src/provider/react-router.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,mBAAA,CAAA,GAAA,CAAA,OAA5C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { Framework } from "fumadocs-core/framework";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/tanstack.d.ts
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime61.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=tanstack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tanstack.d.ts","names":[],"sources":["../../src/provider/tanstack.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,
|
|
1
|
+
{"version":3,"file":"tanstack.d.ts","names":[],"sources":["../../src/provider/tanstack.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,mBAAA,CAAA,GAAA,CAAA,OAA5C"}
|
package/dist/provider/waku.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { Framework } from "fumadocs-core/framework";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/waku.d.ts
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime62.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=waku.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waku.d.ts","names":[],"sources":["../../src/provider/waku.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,
|
|
1
|
+
{"version":3,"file":"waku.d.ts","names":[],"sources":["../../src/provider/waku.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,sBAAsB;;;AAAjE;EAAiE,UAAA,CAAA,EAAA;IAKtD,IAAA,CAAA,EAAA,SAAA,CAAA,MAAA,CAAA;IACC,KAAA,CAAA,EAAA,SAAA,CAAA,OAAA,CAAA;EAN+B,CAAA;;AAU3B,iBAAA,YAAA,CAAY;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAA2B,iBAA3B,CAAA,EAA4C,mBAAA,CAAA,GAAA,CAAA,OAA5C"}
|
package/dist/style.css
CHANGED
|
@@ -1885,6 +1885,11 @@
|
|
|
1885
1885
|
margin-bottom: calc(var(--spacing) * 2);
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
1888
|
+
.group-data-panel-open\:rotate-180 {
|
|
1889
|
+
&:is(:where(.group)[data-panel-open] *) {
|
|
1890
|
+
rotate: 180deg;
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1888
1893
|
.group-data-\[active\]\:bg-fd-primary {
|
|
1889
1894
|
&:is(:where(.group)[data-active] *) {
|
|
1890
1895
|
background-color: var(--color-fd-primary);
|
|
@@ -1900,11 +1905,6 @@
|
|
|
1900
1905
|
rotate: 90deg;
|
|
1901
1906
|
}
|
|
1902
1907
|
}
|
|
1903
|
-
.group-data-\[panel-open\]\:rotate-180 {
|
|
1904
|
-
&:is(:where(.group)[data-panel-open] *) {
|
|
1905
|
-
rotate: 180deg;
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
1908
|
.peer-hover\:opacity-100 {
|
|
1909
1909
|
&:is(:where(.peer):hover ~ *) {
|
|
1910
1910
|
@media (hover: hover) {
|
|
@@ -2140,6 +2140,48 @@
|
|
|
2140
2140
|
color: var(--color-fd-accent-foreground);
|
|
2141
2141
|
}
|
|
2142
2142
|
}
|
|
2143
|
+
.data-ending-style\:scale-90 {
|
|
2144
|
+
&[data-ending-style] {
|
|
2145
|
+
--tw-scale-x: 90%;
|
|
2146
|
+
--tw-scale-y: 90%;
|
|
2147
|
+
--tw-scale-z: 90%;
|
|
2148
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
.data-ending-style\:opacity-0 {
|
|
2152
|
+
&[data-ending-style] {
|
|
2153
|
+
opacity: 0%;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
.data-ending-style\:duration-150 {
|
|
2157
|
+
&[data-ending-style] {
|
|
2158
|
+
--tw-duration: 150ms;
|
|
2159
|
+
transition-duration: 150ms;
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
.data-instant\:transition-none {
|
|
2163
|
+
&[data-instant] {
|
|
2164
|
+
transition-property: none;
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
.data-popup-open\:text-fd-primary {
|
|
2168
|
+
&[data-popup-open] {
|
|
2169
|
+
color: var(--color-fd-primary);
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
.data-starting-style\:scale-90 {
|
|
2173
|
+
&[data-starting-style] {
|
|
2174
|
+
--tw-scale-x: 90%;
|
|
2175
|
+
--tw-scale-y: 90%;
|
|
2176
|
+
--tw-scale-z: 90%;
|
|
2177
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
.data-starting-style\:opacity-0 {
|
|
2181
|
+
&[data-starting-style] {
|
|
2182
|
+
opacity: 0%;
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2143
2185
|
.data-\[active\]\:border-fd-primary {
|
|
2144
2186
|
&[data-active] {
|
|
2145
2187
|
border-color: var(--color-fd-primary);
|
|
@@ -2261,25 +2303,11 @@
|
|
|
2261
2303
|
height: calc(var(--spacing) * 0);
|
|
2262
2304
|
}
|
|
2263
2305
|
}
|
|
2264
|
-
.data-\[ending-style\]\:scale-90 {
|
|
2265
|
-
&[data-ending-style] {
|
|
2266
|
-
--tw-scale-x: 90%;
|
|
2267
|
-
--tw-scale-y: 90%;
|
|
2268
|
-
--tw-scale-z: 90%;
|
|
2269
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
2306
|
.data-\[ending-style\]\:opacity-0 {
|
|
2273
2307
|
&[data-ending-style] {
|
|
2274
2308
|
opacity: 0%;
|
|
2275
2309
|
}
|
|
2276
2310
|
}
|
|
2277
|
-
.data-\[ending-style\]\:duration-150 {
|
|
2278
|
-
&[data-ending-style] {
|
|
2279
|
-
--tw-duration: 150ms;
|
|
2280
|
-
transition-duration: 150ms;
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
2311
|
.data-\[ending-style\]\:data-\[activation-direction\=left\]\:translate-x-1\/2 {
|
|
2284
2312
|
&[data-ending-style] {
|
|
2285
2313
|
&[data-activation-direction="left"] {
|
|
@@ -2301,11 +2329,6 @@
|
|
|
2301
2329
|
display: none;
|
|
2302
2330
|
}
|
|
2303
2331
|
}
|
|
2304
|
-
.data-\[instant\]\:transition-none {
|
|
2305
|
-
&[data-instant] {
|
|
2306
|
-
transition-property: none;
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
2332
|
.data-\[open\]\:animate-fd-dialog-in {
|
|
2310
2333
|
&[data-open] {
|
|
2311
2334
|
animation: var(--animate-fd-dialog-in);
|
|
@@ -2331,24 +2354,11 @@
|
|
|
2331
2354
|
color: var(--color-fd-accent-foreground);
|
|
2332
2355
|
}
|
|
2333
2356
|
}
|
|
2334
|
-
.data-\[popup-open\]\:text-fd-primary {
|
|
2335
|
-
&[data-popup-open] {
|
|
2336
|
-
color: var(--color-fd-primary);
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
2357
|
.data-\[starting-style\]\:h-0 {
|
|
2340
2358
|
&[data-starting-style] {
|
|
2341
2359
|
height: calc(var(--spacing) * 0);
|
|
2342
2360
|
}
|
|
2343
2361
|
}
|
|
2344
|
-
.data-\[starting-style\]\:scale-90 {
|
|
2345
|
-
&[data-starting-style] {
|
|
2346
|
-
--tw-scale-x: 90%;
|
|
2347
|
-
--tw-scale-y: 90%;
|
|
2348
|
-
--tw-scale-z: 90%;
|
|
2349
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
2362
|
.data-\[starting-style\]\:opacity-0 {
|
|
2353
2363
|
&[data-starting-style] {
|
|
2354
2364
|
opacity: 0%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/base-ui",
|
|
3
|
-
"version": "16.4.
|
|
3
|
+
"version": "16.4.10",
|
|
4
4
|
"description": "The Base UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -92,18 +92,18 @@
|
|
|
92
92
|
"next-themes": "^0.4.6",
|
|
93
93
|
"react-medium-image-zoom": "^5.4.0",
|
|
94
94
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
95
|
-
"@fumadocs/ui": "16.4.
|
|
95
|
+
"@fumadocs/ui": "16.4.10"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@tailwindcss/cli": "^4.1.18",
|
|
99
|
-
"@types/node": "^25.0
|
|
100
|
-
"@types/react": "^19.2.
|
|
99
|
+
"@types/node": "^25.1.0",
|
|
100
|
+
"@types/react": "^19.2.10",
|
|
101
101
|
"@types/react-dom": "^19.2.3",
|
|
102
102
|
"tailwindcss": "^4.1.18",
|
|
103
103
|
"tsdown": "^0.19.0",
|
|
104
|
-
"@fumadocs/cli": "1.2.
|
|
104
|
+
"@fumadocs/cli": "1.2.3",
|
|
105
105
|
"eslint-config-custom": "0.0.0",
|
|
106
|
-
"fumadocs-core": "16.4.
|
|
106
|
+
"fumadocs-core": "16.4.10",
|
|
107
107
|
"tsconfig": "0.0.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"react": "^19.2.0",
|
|
113
113
|
"react-dom": "^19.2.0",
|
|
114
114
|
"tailwindcss": "^4.0.0",
|
|
115
|
-
"fumadocs-core": "16.4.
|
|
115
|
+
"fumadocs-core": "16.4.10"
|
|
116
116
|
},
|
|
117
117
|
"peerDependenciesMeta": {
|
|
118
118
|
"next": {
|