fumadocs-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'>>;
@@ -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
@@ -2964,7 +2964,6 @@
2964
2964
  }
2965
2965
  .highlighted {
2966
2966
  --fd-counter-color: var(--color-fd-primary);
2967
- padding-left: calc(var(--padding-left) - 2px);
2968
2967
  background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);
2969
2968
  @supports (color: color-mix(in lab, red, red)) {
2970
2969
  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-ui",
3
- "version": "16.7.5",
3
+ "version": "16.7.6",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -134,7 +134,7 @@
134
134
  "@radix-ui/react-slot": "^1.2.4",
135
135
  "@radix-ui/react-tabs": "^1.1.13",
136
136
  "class-variance-authority": "^0.7.1",
137
- "lucide-react": "^0.577.0",
137
+ "lucide-react": "^1.6.0",
138
138
  "motion": "^12.38.0",
139
139
  "next-themes": "^0.4.6",
140
140
  "react-medium-image-zoom": "^5.4.1",
@@ -147,7 +147,7 @@
147
147
  },
148
148
  "devDependencies": {
149
149
  "@tailwindcss/cli": "^4.2.2",
150
- "@tsdown/css": "^0.21.4",
150
+ "@tsdown/css": "^0.21.5",
151
151
  "@types/hast": "^3.0.4",
152
152
  "@types/mdx": "^2.0.13",
153
153
  "@types/node": "^25.5.0",
@@ -155,11 +155,11 @@
155
155
  "@types/react-dom": "^19.2.3",
156
156
  "shiki": "^4.0.2",
157
157
  "tailwindcss": "^4.2.2",
158
- "tsdown": "0.21.4",
158
+ "tsdown": "0.21.5",
159
159
  "unified": "^11.0.5",
160
160
  "@fumadocs/cli": "1.3.2",
161
161
  "eslint-config-custom": "0.0.0",
162
- "fumadocs-core": "16.7.5",
162
+ "fumadocs-core": "16.7.6",
163
163
  "tsconfig": "0.0.0"
164
164
  },
165
165
  "peerDependencies": {
@@ -170,7 +170,7 @@
170
170
  "react": "^19.2.0",
171
171
  "react-dom": "^19.2.0",
172
172
  "shiki": "*",
173
- "fumadocs-core": "16.7.5"
173
+ "fumadocs-core": "16.7.6"
174
174
  },
175
175
  "peerDependenciesMeta": {
176
176
  "next": {