/** * Toolbar helpers (MSEP-27): the day tabs (MSEP-3) made the prev/next arrows * redundant for multi-day fairs, so `display_day_nav="false"` hides them — * the filter button then moves to the right edge of the toolbar. */ /** Compose the right-hand toolbar chunk from the enabled controls. */ export function toolbarRightChunk(displayFilter: boolean, displayDayNav: boolean): string { return [displayFilter ? 'filterButton' : '', displayDayNav ? 'prev,next' : ''] .filter(Boolean) .join(' '); }