fix(webui): toasts above sheets; drop unreachable alias helpers

Stack the toast viewport on perfect-design's --z-toast token so it sits
above Sheet overlays, and add a harness check that the toast is the
topmost element at its centre while a sheet is open.

Delete useAliasNames, lib/alias and its spec, which nothing imports
since the shadcn migration removed AliasBadge.
This commit is contained in:
2026-11-25 11:52:38 +00:00
parent ff58b03e21
commit 62817af834
5 changed files with 19 additions and 36 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ function onDismiss(toast: Toast): void {
<template>
<div
class="pointer-events-none fixed inset-x-0 bottom-0 z-50 flex flex-col-reverse gap-2 p-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-96"
class="pointer-events-none fixed inset-x-0 bottom-0 z-(--z-toast) flex flex-col-reverse gap-2 p-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-96"
>
<div aria-live="assertive" class="flex flex-col-reverse gap-2">
<TransitionGroup