Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | // Shared building blocks for collection subpages (Inference models, agents,
// skills, workers, tools, MCP servers, knowledge, rules, evaluation, …): a
// stats bar, a search/filter/view toolbar, and a grid/list view with
// skeletons and empty states.
//
// Reach for `ResourceCollection` first — it arranges all three in the
// standard order, so a resource page supplies only its stats, filters and
// renderers. `useCollectionFilters` owns the search/filter/view state that
// feeds it. The individual pieces stay exported for the rare layout that
// genuinely differs.
export { default as StatsBar } from "./StatsBar";
export type { CollectionStat, StatsBarProps } from "./StatsBar";
export {
default as Toolbar,
SearchInput,
ClearFiltersButton,
CreateButton,
GenerateButton,
} from "./Toolbar";
export type {
ToolbarProps,
SearchInputProps,
ClearFiltersButtonProps,
CreateButtonProps,
GenerateButtonProps,
ActionVariant,
} from "./Toolbar";
export {
FilterSelect,
SortSelect,
MultiSelectFilter,
SegmentedFilter,
} from "./filters";
export type {
FilterOption,
FilterSelectProps,
SortSelectProps,
MultiSelectFilterProps,
SegmentedFilterProps,
} from "./filters";
export {
CollectionView,
EmptyState,
SectionHeading,
SkeletonCard,
SkeletonRow,
} from "./CollectionView";
export type {
CollectionViewProps,
EmptyStateProps,
GridVariant,
} from "./CollectionView";
export { default as ResourceCollection } from "./ResourceCollection";
export type { ResourceCollectionProps } from "./ResourceCollection";
export { collectionSection } from "./sections";
export type { ResourceCollectionSection } from "./sections";
export { useCollectionFilters } from "./useCollectionFilters";
export type {
CollectionFilters,
FilterValue,
UseCollectionFiltersOptions,
} from "./useCollectionFilters";
export { default as Pagination } from "./Pagination";
export type { PaginationProps } from "./Pagination";
|