@fumadocs/base-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.
@@ -1110,8 +1110,12 @@
1110
1110
  @source inline("wrapInSuspense");
1111
1111
  @source inline("wrapped");
1112
1112
  @source inline("x");
1113
+ @source inline("x1");
1114
+ @source inline("x2");
1113
1115
  @source inline("xmlns");
1114
1116
  @source inline("y");
1117
+ @source inline("y1");
1118
+ @source inline("y2");
1115
1119
  @source inline("you");
1116
1120
  @source inline("your");
1117
1121
  @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: [/* @__PURE__ */ jsx("path", {
212
- d: l0 === l1 ? `M ${l0 + .5} 6 L ${l0 + .5} 100%` : `M ${l0 + .5} 0 C ${l0 + .5} 8 ${l1 + .5} 4 ${l1 + .5} 12 L ${l1 + .5} 100%`,
213
- stroke: "black",
214
- strokeWidth: "1",
215
- fill: "none",
216
- className: "stroke-fd-foreground/10"
217
- }), item._step !== void 0 && /* @__PURE__ */ jsxs("g", {
218
- transform: `translate(${l1 + .5}, ${l1 === l2 ? "3" : "6"})`,
219
- children: [/* @__PURE__ */ jsx("circle", {
220
- cx: "0",
221
- cy: "50%",
222
- r: "8",
223
- className: "fill-fd-muted"
224
- }), /* @__PURE__ */ jsx("text", {
225
- x: "0",
226
- y: "50%",
227
- textAnchor: "middle",
228
- alignmentBaseline: "central",
229
- dominantBaseline: "middle",
230
- className: "fill-fd-muted-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",
231
- children: item._step
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?: "icon" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
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
@@ -4,7 +4,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
4
4
 
5
5
  //#region src/layouts/home/slots/header.d.ts
6
6
  declare const navItemVariants: (props?: ({
7
- variant?: "icon" | "main" | "button" | null | undefined;
7
+ variant?: "main" | "icon" | "button" | null | undefined;
8
8
  } & _$class_variance_authority_types0.ClassProp) | undefined) => string;
9
9
  declare function Header(props: ComponentProps<'header'>): _$react_jsx_runtime0.JSX.Element;
10
10
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.8.6",
3
+ "version": "16.8.7",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -144,7 +144,7 @@
144
144
  "tsdown": "0.21.10",
145
145
  "unified": "^11.0.5",
146
146
  "@fumadocs/cli": "1.3.10",
147
- "fumadocs-core": "16.8.6",
147
+ "fumadocs-core": "16.8.7",
148
148
  "tsconfig": "0.0.0"
149
149
  },
150
150
  "peerDependencies": {
@@ -154,7 +154,7 @@
154
154
  "next": "16.x.x",
155
155
  "react": "^19.2.0",
156
156
  "react-dom": "^19.2.0",
157
- "fumadocs-core": "16.8.6"
157
+ "fumadocs-core": "16.8.7"
158
158
  },
159
159
  "peerDependenciesMeta": {
160
160
  "next": {