A. Reyes
Signed in on this machine.
data-popover since 0.1.0
A native popover: popovertarget on the button and popover plus data-popover on the panel. The browser opens and closes it; s72.js only decides where it lands.
A. Reyes
Signed in on this machine.
<button popovertarget="account" data-variant="ghost" aria-label="Account: A. Reyes"><span data-avatar="sm">AR</span></button>
<div popover id="account" data-popover>
<p><strong>A. Reyes</strong></p>
<p>Signed in on this machine.</p>
<menu>
<li><button data-toast="Status set to focus" data-toast-tone="go">Set status</button></li>
<li><button data-variant="line">Sign out</button></li>
</menu>
</div>Escape and a click outside close it, because that is what the Popover API already does.