{# @description DaisyUI dropdown: a trigger and a panel. #}
{# @prop valign:select['top','bottom','left','right'] | default:"bottom" | description:"Preferred side of the trigger the panel opens on." #}
{# @prop halign:select['start','center','end'] | default:"start" | description:"Preferred alignment of the panel along that side." #}
{# @prop full:boolean | description:"Stretch the panel to the trigger's width instead of sizing to its content." #}
{# @prop hover:boolean | description:"Open on hover instead of click." #}
{# @prop class:text | description:"Extra classes on the .dropdown wrapper." #}
{# @prop content_class:text | description:"Extra classes on the .dropdown-content panel." #}
{# @slot:button Options — Trigger; falls back to a c-button built from undeclared attributes when omitted. #}
{# @slot Menu markup — The panel's content. #}
{% comment %}
assets/js/dropdown.js upgrades the marked wrapper at runtime, positioning
the panel against available space; the daisyUI classes above are the
fallback for when that script never runs.
{% endcomment %}
{% load mvp %}