github fuma-nama/fumadocs fumadocs-ui@16.2.0

latest releases: fumadocs-openapi@10.1.0, fumadocs-mdx@14.0.4, create-fumadocs-app@16.0.20...
2 hours ago

Minor Changes

  • 80579fd: No longer expose layout components

    This includes Root Toggle, Language Toggle, Theme Toggle etc.

    It allows Fumadocs UI to change these components without introducing breaking changes over existing customizations.

    If you're using the removed components, consider overriding the layout components with yours, or use Fumadocs CLI add/customize command.

  • a9f4eda: Require importing page layout according to your docs layout

    // for docs layout
    import { DocsPage } from 'fumadocs-ui/layouts/docs/page';
    
    // for notebook layout
    import { DocsPage } from 'fumadocs-ui/layouts/notebook/page';

    While the default fumadocs-ui/page will redirect to the correct layout, we highly recommend you to update the import.

  • 5d65002: Remove container styles, this includes --spacing-fd-container as they are no longer used.

  • 9a39883: Move Sidebar context into docs layouts

    fumadocs-ui/contexts/sidebar is removed, you can still reference the context with:

    import { useSidebar } from 'fumadocs-ui/components/sidebar/base';

    Make sure you're only accessing it in <DocsLayout />.

Patch Changes

  • 36eb90a: Fix sidebar items not automatically scrolled
  • 12d3f78: Tabs: always prefer session storage
    • fumadocs-core@16.2.0

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.