item.getClientRects().length); const edge = $event.shiftKey ? items[0] : items.at(-1); if (!items.length || document.activeElement === edge || !$el.contains(document.activeElement)) { $event.preventDefault(); (items.length ? ($event.shiftKey ? items.at(-1) : items[0]) : $el).focus(); } }"
tabindex="-1"
class="
group/drawer-content fixed z-50 flex h-auto flex-col bg-background
group-data-[direction=top]/drawer:inset-x-0
group-data-[direction=top]/drawer:top-0
group-data-[direction=top]/drawer:mb-24
group-data-[direction=top]/drawer:max-h-[80vh]
group-data-[direction=top]/drawer:rounded-b-lg
group-data-[direction=top]/drawer:border-b
group-data-[direction=bottom]/drawer:inset-x-0
group-data-[direction=bottom]/drawer:bottom-0
group-data-[direction=bottom]/drawer:mt-24
group-data-[direction=bottom]/drawer:max-h-[80vh]
group-data-[direction=bottom]/drawer:rounded-t-lg
group-data-[direction=bottom]/drawer:border-t
group-data-[direction=right]/drawer:inset-y-0
group-data-[direction=right]/drawer:right-0
group-data-[direction=right]/drawer:w-3/4
group-data-[direction=right]/drawer:border-l
group-data-[direction=right]/drawer:sm:max-w-sm
group-data-[direction=left]/drawer:inset-y-0
group-data-[direction=left]/drawer:left-0
group-data-[direction=left]/drawer:w-3/4
group-data-[direction=left]/drawer:border-r
group-data-[direction=left]/drawer:sm:max-w-sm
{% if class %}
{{ class }}
{% endif %}
"
data-slot="drawer-content"
{{ attrs }}
>
{{ slot }}