@fumadocs/ui 16.4.4 → 16.4.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.
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import './index.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-background: hsl(75, 45%, 96%);
|
|
5
|
+
--color-fd-foreground: hsl(75, 35%, 18%);
|
|
6
|
+
--color-fd-primary: hsl(80, 60%, 40%);
|
|
7
|
+
--color-fd-primary-foreground: hsl(80, 100%, 16%);
|
|
8
|
+
--color-fd-border: hsla(80, 35%, 70%, 0.5);
|
|
9
|
+
--color-fd-ring: hsl(80, 60%, 40%);
|
|
10
|
+
--color-fd-accent: hsl(75, 50%, 90%);
|
|
11
|
+
--color-fd-accent-foreground: hsl(80, 60%, 22%);
|
|
12
|
+
--color-fd-muted: hsl(75, 40%, 92%);
|
|
13
|
+
--color-fd-muted-foreground: hsl(75, 25%, 45%);
|
|
14
|
+
--color-fd-secondary: hsl(80, 45%, 88%);
|
|
15
|
+
--color-fd-secondary-foreground: hsl(80, 50%, 18%);
|
|
16
|
+
--color-fd-card: hsl(75, 45%, 94%);
|
|
17
|
+
--color-fd-card-foreground: hsl(75, 35%, 18%);
|
|
18
|
+
--color-fd-popover: hsl(75, 45%, 97%);
|
|
19
|
+
--color-fd-popover-foreground: hsl(75, 35%, 18%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dark {
|
|
23
|
+
--color-fd-background: hsl(80, 25%, 7%);
|
|
24
|
+
--color-fd-foreground: hsl(75, 35%, 88%);
|
|
25
|
+
--color-fd-primary: hsl(80, 60%, 55%);
|
|
26
|
+
--color-fd-primary-foreground: hsl(80, 35%, 8%);
|
|
27
|
+
--color-fd-border: hsla(80, 35%, 35%, 0.35);
|
|
28
|
+
--color-fd-ring: hsl(80, 60%, 55%);
|
|
29
|
+
--color-fd-accent: hsl(80, 25%, 18%);
|
|
30
|
+
--color-fd-accent-foreground: hsl(80, 60%, 75%);
|
|
31
|
+
--color-fd-muted: hsl(80, 25%, 12%);
|
|
32
|
+
--color-fd-muted-foreground: hsl(75, 25%, 65%);
|
|
33
|
+
--color-fd-secondary: hsl(80, 25%, 16%);
|
|
34
|
+
--color-fd-secondary-foreground: hsl(75, 35%, 88%);
|
|
35
|
+
--color-fd-card: hsl(80, 25%, 10%);
|
|
36
|
+
--color-fd-card-foreground: hsl(75, 35%, 88%);
|
|
37
|
+
--color-fd-popover: hsl(80, 25%, 8%);
|
|
38
|
+
--color-fd-popover-foreground: hsl(75, 35%, 88%);
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import './index.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-background: hsl(0, 0%, 98%);
|
|
5
|
+
--color-fd-foreground: hsl(350, 45%, 14%);
|
|
6
|
+
--color-fd-primary: hsl(348, 85%, 45%);
|
|
7
|
+
--color-fd-primary-foreground: hsl(0, 0%, 100%);
|
|
8
|
+
--color-fd-border: hsla(348, 40%, 60%, 0.25);
|
|
9
|
+
--color-fd-ring: hsl(348, 85%, 45%);
|
|
10
|
+
--color-fd-accent: hsl(348, 70%, 95%);
|
|
11
|
+
--color-fd-accent-foreground: hsl(348, 70%, 22%);
|
|
12
|
+
--color-fd-muted: hsl(0, 0%, 94%);
|
|
13
|
+
--color-fd-muted-foreground: hsl(348, 25%, 42%);
|
|
14
|
+
--color-fd-secondary: hsl(348, 55%, 92%);
|
|
15
|
+
--color-fd-secondary-foreground: hsl(348, 50%, 20%);
|
|
16
|
+
--color-fd-card: hsl(0, 0%, 100%);
|
|
17
|
+
--color-fd-card-foreground: hsl(350, 45%, 14%);
|
|
18
|
+
--color-fd-popover: hsl(0, 0%, 100%);
|
|
19
|
+
--color-fd-popover-foreground: hsl(350, 45%, 14%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dark {
|
|
23
|
+
--color-fd-background: hsl(350, 30%, 6%);
|
|
24
|
+
--color-fd-foreground: hsl(350, 30%, 92%);
|
|
25
|
+
--color-fd-primary: hsl(348, 90%, 62%);
|
|
26
|
+
--color-fd-primary-foreground: hsl(350, 30%, 8%);
|
|
27
|
+
--color-fd-border: hsla(348, 40%, 45%, 0.25);
|
|
28
|
+
--color-fd-ring: hsl(348, 90%, 62%);
|
|
29
|
+
--color-fd-accent: hsl(348, 35%, 16%);
|
|
30
|
+
--color-fd-accent-foreground: hsl(348, 70%, 82%);
|
|
31
|
+
--color-fd-muted: hsl(350, 25%, 11%);
|
|
32
|
+
--color-fd-muted-foreground: hsl(348, 25%, 65%);
|
|
33
|
+
--color-fd-secondary: hsl(348, 30%, 14%);
|
|
34
|
+
--color-fd-secondary-foreground: hsl(350, 30%, 92%);
|
|
35
|
+
--color-fd-card: hsl(350, 30%, 9%);
|
|
36
|
+
--color-fd-card-foreground: hsl(350, 30%, 92%);
|
|
37
|
+
--color-fd-popover: hsl(350, 30%, 8%);
|
|
38
|
+
--color-fd-popover-foreground: hsl(350, 30%, 92%);
|
|
39
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, RefObject } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import * as Primitive from "fumadocs-core/toc";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toc/index.d.ts
|
|
@@ -8,19 +8,19 @@ declare function TOCProvider({
|
|
|
8
8
|
toc,
|
|
9
9
|
children,
|
|
10
10
|
...props
|
|
11
|
-
}: ComponentProps<typeof Primitive.AnchorProvider>):
|
|
11
|
+
}: ComponentProps<typeof Primitive.AnchorProvider>): react_jsx_runtime4.JSX.Element;
|
|
12
12
|
declare function TOCScrollArea({
|
|
13
13
|
ref,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: ComponentProps<'div'>):
|
|
16
|
+
}: ComponentProps<'div'>): react_jsx_runtime4.JSX.Element;
|
|
17
17
|
interface RefProps {
|
|
18
18
|
containerRef: RefObject<HTMLElement | null>;
|
|
19
19
|
}
|
|
20
20
|
declare function TocThumb({
|
|
21
21
|
containerRef,
|
|
22
22
|
...props
|
|
23
|
-
}: ComponentProps<'div'> & RefProps):
|
|
23
|
+
}: ComponentProps<'div'> & RefProps): react_jsx_runtime4.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { TOCProvider, TOCScrollArea, TocThumb, useTOCItems };
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/contexts/i18n.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/i18n.d.ts
|
|
5
5
|
interface Translations {
|
|
@@ -54,7 +54,7 @@ declare function I18nProvider({
|
|
|
54
54
|
onLocaleChange,
|
|
55
55
|
children,
|
|
56
56
|
translations
|
|
57
|
-
}: I18nProviderProps):
|
|
57
|
+
}: I18nProviderProps): react_jsx_runtime0.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { I18nLabel, I18nProvider, I18nProviderProps, LocaleItem, Translations, defaultTranslations, useI18n };
|
|
60
60
|
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/search.d.ts
|
|
5
5
|
interface HotKey {
|
|
@@ -60,7 +60,7 @@ declare function SearchProvider({
|
|
|
60
60
|
options,
|
|
61
61
|
hotKey,
|
|
62
62
|
links
|
|
63
|
-
}: SearchProviderProps):
|
|
63
|
+
}: SearchProviderProps): react_jsx_runtime1.JSX.Element;
|
|
64
64
|
/**
|
|
65
65
|
* Show children only when search is enabled via React Context
|
|
66
66
|
*/
|
package/dist/contexts/tree.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/tree.d.ts
|
|
@@ -14,7 +14,7 @@ declare function TreeContextProvider({
|
|
|
14
14
|
}: {
|
|
15
15
|
tree: PageTree.Root;
|
|
16
16
|
children: ReactNode;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
18
18
|
declare function useTreePath(): PageTree.Node[];
|
|
19
19
|
declare function useTreeContext(): TreeContextType;
|
|
20
20
|
//#endregion
|
package/dist/og/next.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
import { ImageResponse } from "next/og";
|
|
4
4
|
import { ImageResponseOptions } from "next/dist/compiled/@vercel/og/types";
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ declare function generate({
|
|
|
17
17
|
primaryColor,
|
|
18
18
|
primaryTextColor,
|
|
19
19
|
...props
|
|
20
|
-
}: GenerateProps):
|
|
20
|
+
}: GenerateProps): react_jsx_runtime7.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { generate, generateOGImage };
|
|
23
23
|
//# sourceMappingURL=next.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/ui",
|
|
3
|
-
"version": "16.4.
|
|
3
|
+
"version": "16.4.6",
|
|
4
4
|
"description": "The low-level primitives for Fumadocs UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"next-themes": "^0.4.6",
|
|
30
30
|
"postcss-selector-parser": "^7.1.1",
|
|
31
|
-
"tailwind-merge": "^3.4.0"
|
|
32
|
-
"fumadocs-core": "16.4.4"
|
|
31
|
+
"tailwind-merge": "^3.4.0"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
34
|
"@types/bun": "^1.3.5",
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
"tsdown": "^0.18.4",
|
|
45
44
|
"@fumadocs/cli": "1.2.2",
|
|
46
45
|
"eslint-config-custom": "0.0.0",
|
|
47
|
-
"fumadocs-core": "16.4.
|
|
46
|
+
"fumadocs-core": "16.4.6",
|
|
48
47
|
"tsconfig": "0.0.0"
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
|
@@ -52,7 +51,8 @@
|
|
|
52
51
|
"next": "16.x.x",
|
|
53
52
|
"react": "^19.2.0",
|
|
54
53
|
"react-dom": "^19.2.0",
|
|
55
|
-
"tailwindcss": "^4.0.0"
|
|
54
|
+
"tailwindcss": "^4.0.0",
|
|
55
|
+
"fumadocs-core": "16.4.6"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"next": {
|