diff --git a/frontend/src/components/index.ts b/frontend/src/components/index.ts index 361752d5f2..aa5da8cf2d 100644 --- a/frontend/src/components/index.ts +++ b/frontend/src/components/index.ts @@ -7,5 +7,5 @@ import("./not-found"); import("./screencast"); import("./beta-badges"); import("./detail-page-title"); -import("./notification-stack"); +import("./toast-stack"); import("./verified-badge"); diff --git a/frontend/src/components/notification-stack.ts b/frontend/src/components/toast-stack.ts similarity index 94% rename from frontend/src/components/notification-stack.ts rename to frontend/src/components/toast-stack.ts index 731b0e6c99..54e2f3da2c 100644 --- a/frontend/src/components/notification-stack.ts +++ b/frontend/src/components/toast-stack.ts @@ -19,7 +19,7 @@ import { import { tw } from "@/utils/tailwind"; /** - * Global notifications to stack in bottom end of the viewport. + * Global toast notifications to stack in bottom end of the viewport. * * This component reuses `.sl-toast-stack` styles instead of using Shoelace's * `SlAlert.toast()` to reactively render the toast state of a notification @@ -27,7 +27,7 @@ import { tw } from "@/utils/tailwind"; * * @fires btrix-remove-notification */ -@customElement("btrix-notification-stack") +@customElement("btrix-toast-stack") export class NotificationStack extends BtrixElement { @consume({ context: notificationsContext, subscribe: true }) @state() @@ -57,7 +57,7 @@ export class NotificationStack extends BtrixElement {