Merge remote-tracking branch 'gitlab/main' into nodenext

This commit is contained in:
Alex Gleason committed 2025-09-02 19:27:44 -05:00
commit 1d58b3939f
109 files changed
+4218 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { useToast } from "@/hooks/useToast.js";
import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "@/components/ui/toast.js";
export function Toaster() {
const { toasts } = useToast();
return (_jsxs(ToastProvider, { children: [toasts.map(function ({ id, title, description, action, ...props }) {
return (_jsxs(Toast, { ...props, children: [_jsxs("div", { className: "grid gap-1", children: [title && _jsx(ToastTitle, { children: title }), description && (_jsx(ToastDescription, { children: description }))] }), action, _jsx(ToastClose, {})] }, id));
}), _jsx(ToastViewport, {})] }));
}