@fumadocs/base-ui 16.7.5 → 16.7.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.
package/css/lib/shiki.css CHANGED
@@ -54,7 +54,6 @@
54
54
 
55
55
  .highlighted {
56
56
  --fd-counter-color: var(--color-fd-primary);
57
- padding-left: calc(var(--padding-left) - 2px);
58
57
  @apply bg-fd-primary/10;
59
58
  }
60
59
 
@@ -3,6 +3,7 @@ import { LayoutTab, LinkItemType } from "../shared/index.js";
3
3
  import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js";
4
4
  import { DocsLayoutProps } from "./index.js";
5
5
  import { ComponentProps, FC } from "react";
6
+
6
7
  //#region src/layouts/docs/client.d.ts
7
8
  interface DocsSlots extends BaseSlots {
8
9
  container: FC<ComponentProps<'div'>>;
@@ -4,7 +4,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
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?: "button" | "main" | "icon" | 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
@@ -3,6 +3,7 @@ import { LayoutTab, LinkItemType } from "../shared/index.js";
3
3
  import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js";
4
4
  import { DocsLayoutProps } from "./index.js";
5
5
  import { ComponentProps, FC } from "react";
6
+
6
7
  //#region src/layouts/notebook/client.d.ts
7
8
  interface DocsSlots extends BaseSlots {
8
9
  container: FC<ComponentProps<'div'>>;
package/dist/og.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { ImageResponse } from "next/og";
2
+ import { ImageResponse } from "next/og.js";
3
3
  //#region src/og.tsx
4
4
  function generateOGImage(options) {
5
5
  const { title, description, icon, site, primaryColor, primaryTextColor, ...rest } = options;
package/dist/style.css CHANGED
@@ -3101,7 +3101,6 @@
3101
3101
  }
3102
3102
  .highlighted {
3103
3103
  --fd-counter-color: var(--color-fd-primary);
3104
- padding-left: calc(var(--padding-left) - 2px);
3105
3104
  background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);
3106
3105
  @supports (color: color-mix(in lab, red, red)) {
3107
3106
  background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { useTreeContext } from "../contexts/tree.js";
3
3
  //#region src/utils/use-footer-items.ts
4
- const footerCache = /* @__PURE__ */ new Map();
4
+ const footerCache = /* @__PURE__ */ new WeakMap();
5
5
  /**
6
6
  * @returns a list of page tree items (linear), that you can obtain footer items
7
7
  */
8
8
  function useFooterItems() {
9
9
  const { root } = useTreeContext();
10
- const cached = footerCache.get(root.$id);
10
+ const cached = footerCache.get(root);
11
11
  if (cached) return cached;
12
12
  const list = [];
13
13
  function onNode(node) {
@@ -17,7 +17,7 @@ function useFooterItems() {
17
17
  } else if (node.type === "page" && !node.external) list.push(node);
18
18
  }
19
19
  for (const child of root.children) onNode(child);
20
- footerCache.set(root.$id, list);
20
+ footerCache.set(root, list);
21
21
  return list;
22
22
  }
23
23
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.7.5",
3
+ "version": "16.7.6",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -117,7 +117,7 @@
117
117
  "dependencies": {
118
118
  "@base-ui/react": "^1.3.0",
119
119
  "class-variance-authority": "^0.7.1",
120
- "lucide-react": "^0.577.0",
120
+ "lucide-react": "^1.6.0",
121
121
  "motion": "^12.38.0",
122
122
  "next-themes": "^0.4.6",
123
123
  "react-medium-image-zoom": "^5.4.1",
@@ -130,7 +130,7 @@
130
130
  },
131
131
  "devDependencies": {
132
132
  "@tailwindcss/cli": "^4.2.2",
133
- "@tsdown/css": "^0.21.4",
133
+ "@tsdown/css": "^0.21.5",
134
134
  "@types/hast": "^3.0.4",
135
135
  "@types/mdx": "^2.0.13",
136
136
  "@types/node": "^25.5.0",
@@ -138,11 +138,11 @@
138
138
  "@types/react-dom": "^19.2.3",
139
139
  "shiki": "^4.0.2",
140
140
  "tailwindcss": "^4.2.2",
141
- "tsdown": "0.21.4",
141
+ "tsdown": "0.21.5",
142
142
  "unified": "^11.0.5",
143
143
  "@fumadocs/cli": "1.3.2",
144
144
  "eslint-config-custom": "0.0.0",
145
- "fumadocs-core": "16.7.5",
145
+ "fumadocs-core": "16.7.6",
146
146
  "tsconfig": "0.0.0"
147
147
  },
148
148
  "peerDependencies": {
@@ -153,7 +153,7 @@
153
153
  "react": "^19.2.0",
154
154
  "react-dom": "^19.2.0",
155
155
  "shiki": "*",
156
- "fumadocs-core": "16.7.5"
156
+ "fumadocs-core": "16.7.6"
157
157
  },
158
158
  "peerDependenciesMeta": {
159
159
  "shiki": {