fumadocs-ui 14.6.2 → 14.6.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.
@@ -14,7 +14,7 @@ export function Toc(props) {
14
14
  return (_jsx("div", { id: "nd-toc", ...props, className: cn('sticky top-fd-layout-top h-[var(--fd-toc-height)] pb-2 pt-12', toc, props.className), style: {
15
15
  ...props.style,
16
16
  '--fd-toc-height': 'calc(100dvh - var(--fd-banner-height) - var(--fd-nav-height))',
17
- }, children: _jsx("div", { className: "flex h-full w-[var(--fd-toc-width)] max-w-full flex-col gap-3 pe-2", children: props.children }) }));
17
+ }, children: _jsx("div", { className: "flex h-full w-[var(--fd-toc-width)] max-w-full flex-col gap-3 pe-4", children: props.children }) }));
18
18
  }
19
19
  export function TocItemsEmpty() {
20
20
  const { text } = useI18n();
@@ -85,7 +85,7 @@ export function SidebarItem({ icon, ...props }) {
85
85
  const pathname = usePathname();
86
86
  const active = props.href !== undefined && isActive(props.href, pathname, false);
87
87
  const { prefetch } = useInternalContext();
88
- return (_jsxs(Link, { ...props, "data-active": active, className: cn(itemVariants({ active })), prefetch: prefetch, children: [icon ?? (props.external ? _jsx(ExternalLink, {}) : null), props.children] }));
88
+ return (_jsxs(Link, { ...props, "data-active": active, className: cn(itemVariants({ active }), props.className), prefetch: prefetch, children: [icon ?? (props.external ? _jsx(ExternalLink, {}) : null), props.children] }));
89
89
  }
90
90
  export function SidebarFolder({ defaultOpen = false, ...props }) {
91
91
  const [open, setOpen] = useState(defaultOpen);
package/dist/style.css CHANGED
@@ -1662,8 +1662,8 @@ body {
1662
1662
  .pb-6 {
1663
1663
  padding-bottom: 1.5rem;
1664
1664
  }
1665
- .pe-2 {
1666
- padding-inline-end: 0.5rem;
1665
+ .pe-4 {
1666
+ padding-inline-end: 1rem;
1667
1667
  }
1668
1668
  .pe-\[var\(--fd-layout-offset\)\] {
1669
1669
  padding-inline-end: var(--fd-layout-offset);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "14.6.2",
3
+ "version": "14.6.3",
4
4
  "description": "The framework for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -63,20 +63,20 @@
63
63
  "@radix-ui/react-tabs": "^1.1.2",
64
64
  "class-variance-authority": "^0.7.1",
65
65
  "lodash.merge": "^4.6.2",
66
- "lucide-react": "^0.468.0",
66
+ "lucide-react": "^0.469.0",
67
67
  "next-themes": "^0.4.4",
68
68
  "postcss-selector-parser": "^7.0.0",
69
69
  "react-medium-image-zoom": "^5.2.12",
70
70
  "tailwind-merge": "^2.5.5",
71
- "fumadocs-core": "14.6.2"
71
+ "fumadocs-core": "14.6.3"
72
72
  },
73
73
  "devDependencies": {
74
- "@next/eslint-plugin-next": "^15.1.1",
74
+ "@next/eslint-plugin-next": "^15.1.2",
75
75
  "@types/lodash.merge": "^4.6.9",
76
- "@types/react": "^19.0.1",
76
+ "@types/react": "^19.0.2",
77
77
  "@types/react-dom": "^19.0.2",
78
78
  "autoprefixer": "^10.4.20",
79
- "next": "15.1.1",
79
+ "next": "15.1.2",
80
80
  "postcss": "^8.4.49",
81
81
  "postcss-cli": "^11.0.0",
82
82
  "tailwindcss": "^3.4.17",