fumadocs-ui 16.8.6 → 16.8.7
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/generated/shared.css
CHANGED
|
@@ -1075,8 +1075,12 @@
|
|
|
1075
1075
|
@source inline("wrapInSuspense");
|
|
1076
1076
|
@source inline("wrapped");
|
|
1077
1077
|
@source inline("x");
|
|
1078
|
+
@source inline("x1");
|
|
1079
|
+
@source inline("x2");
|
|
1078
1080
|
@source inline("xmlns");
|
|
1079
1081
|
@source inline("y");
|
|
1082
|
+
@source inline("y1");
|
|
1083
|
+
@source inline("y2");
|
|
1080
1084
|
@source inline("you");
|
|
1081
1085
|
@source inline("your");
|
|
1082
1086
|
@source inline("z-2");
|
|
@@ -208,29 +208,40 @@ function TOCItem({ item, ...props }) {
|
|
|
208
208
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
209
|
className: cn("absolute -top-1.5 inset-s-0 bottom-0 h-[calc(100%+--spacing(1.5))] -z-1 rtl:-scale-x-100", l1 !== l2 && "h-full bottom-1.5"),
|
|
210
210
|
style: { width: Math.max(l0, l1) + 9 },
|
|
211
|
-
children: [
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
211
|
+
children: [
|
|
212
|
+
l0 !== l1 && /* @__PURE__ */ jsx("path", {
|
|
213
|
+
d: `M ${l0 + .5} 0 C ${l0 + .5} 8 ${l1 + .5} 4 ${l1 + .5} 12`,
|
|
214
|
+
stroke: "black",
|
|
215
|
+
strokeWidth: "1",
|
|
216
|
+
fill: "none",
|
|
217
|
+
className: "stroke-fd-foreground/10"
|
|
218
|
+
}),
|
|
219
|
+
/* @__PURE__ */ jsx("line", {
|
|
220
|
+
x1: l1 + .5,
|
|
221
|
+
y1: l0 === l1 ? "6" : "12",
|
|
222
|
+
x2: l1 + .5,
|
|
223
|
+
y2: "100%",
|
|
224
|
+
strokeWidth: "1",
|
|
225
|
+
className: "stroke-fd-foreground/10"
|
|
226
|
+
}),
|
|
227
|
+
item._step !== void 0 && /* @__PURE__ */ jsxs("g", {
|
|
228
|
+
transform: `translate(${l1 + .5}, ${l1 === l2 ? "3" : "6"})`,
|
|
229
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
230
|
+
cx: "0",
|
|
231
|
+
cy: "50%",
|
|
232
|
+
r: "8",
|
|
233
|
+
className: "fill-fd-muted"
|
|
234
|
+
}), /* @__PURE__ */ jsx("text", {
|
|
235
|
+
x: "0",
|
|
236
|
+
y: "50%",
|
|
237
|
+
textAnchor: "middle",
|
|
238
|
+
alignmentBaseline: "central",
|
|
239
|
+
dominantBaseline: "middle",
|
|
240
|
+
className: "fill-fd-muted-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",
|
|
241
|
+
children: item._step
|
|
242
|
+
})]
|
|
243
|
+
})
|
|
244
|
+
]
|
|
234
245
|
})
|
|
235
246
|
};
|
|
236
247
|
}, [items, item]);
|
|
@@ -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?: "sm" | "icon" | "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" | "button" | "main" | 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.8.
|
|
3
|
+
"version": "16.8.7",
|
|
4
4
|
"description": "The Radix UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -156,9 +156,9 @@
|
|
|
156
156
|
"tailwindcss": "^4.2.4",
|
|
157
157
|
"tsdown": "0.21.10",
|
|
158
158
|
"unified": "^11.0.5",
|
|
159
|
-
"fumadocs
|
|
160
|
-
"
|
|
161
|
-
"
|
|
159
|
+
"@fumadocs/cli": "1.3.10",
|
|
160
|
+
"fumadocs-core": "16.8.7",
|
|
161
|
+
"tsconfig": "0.0.0"
|
|
162
162
|
},
|
|
163
163
|
"peerDependencies": {
|
|
164
164
|
"@takumi-rs/image-response": "*",
|
|
@@ -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.8.
|
|
170
|
+
"fumadocs-core": "16.8.7"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"next": {
|