fumadocs-ui 16.9.2 → 16.9.3
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.
|
@@ -182,14 +182,14 @@ function ThumbTrack({ computed, thumbBox }) {
|
|
|
182
182
|
}
|
|
183
183
|
const a = 8;
|
|
184
184
|
function getItemOffset(depth) {
|
|
185
|
-
if (depth <= 2) return
|
|
186
|
-
if (depth === 3) return
|
|
187
|
-
return
|
|
185
|
+
if (depth <= 2) return 20;
|
|
186
|
+
if (depth === 3) return 32;
|
|
187
|
+
return 44;
|
|
188
188
|
}
|
|
189
189
|
function getLineOffset(depth) {
|
|
190
190
|
if (depth <= 2) return a;
|
|
191
|
-
if (depth === 3) return
|
|
192
|
-
return
|
|
191
|
+
if (depth === 3) return 16;
|
|
192
|
+
return 24;
|
|
193
193
|
}
|
|
194
194
|
function TOCItem({ item, ...props }) {
|
|
195
195
|
const items = useTOCItems();
|
|
@@ -5,7 +5,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
6
|
variant?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
7
7
|
color?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "icon" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
|
|
9
9
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
type ButtonProps = VariantProps<typeof buttonVariants>;
|
|
11
11
|
//#endregion
|
|
@@ -5,7 +5,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/home/slots/header.d.ts
|
|
7
7
|
declare const navItemVariants: (props?: ({
|
|
8
|
-
variant?: "icon" | "
|
|
8
|
+
variant?: "icon" | "main" | "button" | null | undefined;
|
|
9
9
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined>;
|
|
11
11
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.3",
|
|
4
4
|
"description": "The Radix UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@radix-ui/react-slot": "^1.2.4",
|
|
132
132
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
133
133
|
"class-variance-authority": "^0.7.1",
|
|
134
|
-
"lucide-react": "^1.
|
|
134
|
+
"lucide-react": "^1.17.0",
|
|
135
135
|
"motion": "^12.40.0",
|
|
136
136
|
"next-themes": "^0.4.6",
|
|
137
137
|
"react-remove-scroll": "^2.7.2",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"tsdown": "0.22.0",
|
|
158
158
|
"unified": "^11.0.5",
|
|
159
159
|
"@fumadocs/cli": "1.3.10",
|
|
160
|
-
"fumadocs-core": "16.9.
|
|
160
|
+
"fumadocs-core": "16.9.3",
|
|
161
161
|
"tsconfig": "0.0.0"
|
|
162
162
|
},
|
|
163
163
|
"peerDependencies": {
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"next": "16.x.x",
|
|
168
168
|
"react": "^19.2.0",
|
|
169
169
|
"react-dom": "^19.2.0",
|
|
170
|
-
"fumadocs-core": "16.9.
|
|
170
|
+
"fumadocs-core": "16.9.3"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"next": {
|