/** * @suphark/ui/next — component ที่ต้องรันใน Next.js (ใช้ next/navigation หรือ next/link) * แยกจาก barrel หลักเพื่อให้ `@suphark/ui` ใช้ได้ในสภาพแวดล้อมที่ไม่มี next (vitest, Vite, Storybook) */ // ---------- app shell (sidebar + header + เนื้อหา) ---------- export { APP_MAIN_ID, AppBrand, type AppBrandProps, AppNav, type AppNavGroup, AppNavGroupMenu, type AppNavItem, type AppNavPinProps, AppShell, type AppShellProps, AppShellSkeleton, BreadcrumbLabel, BreadcrumbLabelsProvider, CommandPalette, type CommandPaletteItem, type CommandPaletteSection, type CommandPaletteSectionItem, type CommandPaletteText, filterNav, flattenNav, HeaderBreadcrumbs, type HeaderBreadcrumbsProps, HeaderCrumb, HeaderCrumbs, isNavActive, isTabActive, MatchText, MobileTabBar, type MobileTabItem, NavLink, type OrganizationOption, OrganizationSwitcher, type OrganizationSwitcherProps, type PinnedLinkItem, PinnedLinks, SubNav, searchNav, TopTabs, topLevelTabs, UserMenu, type UserMenuProps, type UserMenuUser, } from "./components/app-shell"; export { BulkEditDialog, type BulkEditDialogProps, type BulkEditField, } from "./components/shared/bulk-edit-dialog"; export { LinkButton, type LinkButtonProps } from "./components/shared/button/base/link-button"; export { ConfirmActionButton } from "./components/shared/button/confirm-action-button"; export { RefreshButton } from "./components/shared/button/refresh-button"; export { FormDialog } from "./components/shared/form-dialog"; export { PageShell } from "./components/shared/layout/page-shell"; export { TransitionLink } from "./components/shared/link/transition-link"; export { PageBreadcrumb, type PageBreadcrumbItem, } from "./components/shared/navigation/page-breadcrumb"; export { SectionNav, type SectionNavProps, type SectionNavTab, } from "./components/shared/navigation/section-nav"; export { Stepper, type StepperStep, type StepStatus } from "./components/shared/navigation/stepper"; export { type RowAction, type RowActionItem, RowActions } from "./components/shared/row-actions"; export { RowMenu, type RowMenuDialog, type RowMenuItem } from "./components/shared/row-menu"; export { UnsavedChangesGuard, useUnsavedChangesGuard, } from "./components/shared/unsaved-changes-guard"; export { TABLE_PARAM, type TableSearchState, useTableSearchParams, } from "./hooks/use-table-search-params";