"use client";
import { NotificationBell } from "@/components/notification-bell";
import { PageBreadcrumbTrail } from "@/components/page-breadcrumb-trail";
import { Button } from "@/components/ui/button";
import { utilityBarActionButtonClass } from "@/components/utility-bar-chrome";
import { UtilityBarSchoolSwitcher } from "@/components/utility-bar-school-switcher";
import {
AskLeoUtilityControl,
HelpTrigger,
OnboardingTrigger,
SearchTrigger,
SupportChatTrigger,
UtilityBarBackLeadingCluster,
UtilityBarBreadcrumbLeadingCluster,
UtilityBarLeadingCluster,
UtilityBarMoreMenu,
WorkspaceBrandMark,
} from "@/components/utility-bar-slot";
import {
UtilityBarWhatsNew,
UtilityBarWhatsNewInMore,
} from "@/components/utility-bar-whats-new";
import { WhatsNewProvider } from "@/components/product-home/product-home-parts";
import { WhatsNewSheetProvider } from "@/components/whats-new-sheet-context";
import { UtilityUserMenu } from "@/components/utility-user-menu";
function UtilityBarSurface({
label,
children,
minWidthClassName,
maxWidthClassName,
}: {
label: string;
children: React.ReactNode;
minWidthClassName: string;
/** Caps the bar's width so a long trail has to collapse (catalog only). */
maxWidthClassName?: string;
}) {
return (
);
}
/**
* Where the page breadcrumb lands in the compact shell: between the product
* cluster and the actions (`UtilityBarBreadcrumbSlot` in production). Draws the
* real trail, so the current page carries its active style.
*/
function CompactBreadcrumbSlot({ dense = false }: { dense?: boolean }) {
return (
);
}
/** Sample page actions: in production the `PageHeader` actions port here once the page scrolls. */
function ScrolledPageActions() {
return (
);
}
export function UtilityBarComfortPreview() {
return (
);
}
export function UtilityBarDensePreview() {
return (
);
}
export function UtilityBarDenseContent() {
return (
<>
{({ menuItem, unseenCount }) => (
)}
>
);
}
export function UtilityBarBackPreview() {
return (
` below the bar names the current page. */
export function UtilityBarBreadcrumbPreview() {
return (
);
}
/** Ancestors plus the current page: the last crumb is the active, medium-weight one. */
export function UtilityBarBreadcrumbCurrentPreview() {
return (
);
}
/** Current page as a peer switcher: the chevron and menu replace the plain label. */
export function UtilityBarBreadcrumbSwitcherPreview() {
return (
);
}
/** A deep trail in a tight row: middle crumbs step into More, root and current stay. */
export function UtilityBarBreadcrumbCollapsedPreview() {
return (
);
}
/** A very long current page truncates last; ancestors keep their own width cap. */
export function UtilityBarBreadcrumbLongPreview() {
return (
);
}
/** The comfort bar in the compact shell: product, then the page breadcrumb, then actions. */
export function UtilityBarComfortBreadcrumbPreview() {
return (
);
}
/** Back mode after the page scrolls: the title appears beside the icon, page actions join Ask Leo. */
export function UtilityBarBackScrolledPreview() {
return (
);
}
export function UtilityBarProductlessPreview() {
return (