{# Context menu — right-click triggered menu (cycle 247 canonical). Contract: ~/.claude/skills/ux-architect/components/parking-lot-primitives.md Parameters: items : list of {label: str, url: str|None, icon: str|None, divider: bool|None} trigger_content : HTML | str — the element that receives the right-click (passed through `| safe`; caller supplies markup) Uses the ``dzContextMenu`` Alpine controller at ``dz-alpine.js:833`` for state. Fires on right-click (`@contextmenu`); the menu is positioned absolutely at cursor coordinates via Alpine `:style`. `@click.outside` closes the menu. #}
{# The trigger area — wraps caller content #} {% block context_trigger %} {{ trigger_content | safe if trigger_content else '' }} {% endblock %} {# Menu panel #}