{{-- Livewire's paginator, drawn in M3. The package puts this in front of Livewire's own `livewire::tailwind` (config `livewire-material.pagination`), whose gray and blue classes do not exist in an M3 theme. The file keeps Livewire's view name; nothing in it is Tailwind — the drawing is resources/css/components/pagination.css. The wiring is Livewire's, unchanged: `previousPage`, `nextPage` and `gotoPage` with the page name, and the scroll back to the top of whatever `scrollTo` names. A page number is drawn as a 40px state layer and catches presses over M3's 48px target; the current one is the selected state, secondary-container, never the action colour — it is where you are, not what to do next. Below `medium` (600px) the numbers give way to "Page 2 of 7". --}} @php if (! isset($scrollTo)) { $scrollTo = 'body'; } $scrollIntoViewJsSnippet = ($scrollTo !== false) ? << @if ($paginator->hasPages()) @endif