diff --git a/ee/tabby-ui/app/search/components/search.css b/ee/tabby-ui/app/search/components/search.css index 1cbc0bd0ca46..8ae3228ba942 100644 --- a/ee/tabby-ui/app/search/components/search.css +++ b/ee/tabby-ui/app/search/components/search.css @@ -13,6 +13,6 @@ } } -.spark-animation { +.sparkle-animation { animation: sparkle 2s infinite; } \ No newline at end of file diff --git a/ee/tabby-ui/app/search/components/search.tsx b/ee/tabby-ui/app/search/components/search.tsx index e4644ddd4661..641b4a17bc94 100644 --- a/ee/tabby-ui/app/search/components/search.tsx +++ b/ee/tabby-ui/app/search/components/search.tsx @@ -458,7 +458,7 @@ function AnswerBlock({

Answer

diff --git a/ee/tabby-ui/components/ui/dialog.tsx b/ee/tabby-ui/components/ui/dialog.tsx index 849798504b3b..5509e2ddbfca 100644 --- a/ee/tabby-ui/components/ui/dialog.tsx +++ b/ee/tabby-ui/components/ui/dialog.tsx @@ -2,26 +2,17 @@ import * as React from 'react' import * as DialogPrimitive from '@radix-ui/react-dialog' +import { X } from 'lucide-react' import { cn } from '@/lib/utils' -import { IconClose } from '@/components/ui/icons' const Dialog = DialogPrimitive.Root const DialogTrigger = DialogPrimitive.Trigger -const DialogPortal = ({ - className, - children, - ...props -}: DialogPrimitive.DialogPortalProps) => ( - -
- {children} -
-
-) -DialogPortal.displayName = DialogPrimitive.Portal.displayName +const DialogPortal = DialogPrimitive.Portal + +const DialogClose = DialogPrimitive.Close const DialogOverlay = React.forwardRef< React.ElementRef, @@ -30,7 +21,7 @@ const DialogOverlay = React.forwardRef< {children} - + Close @@ -119,6 +110,9 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName export { Dialog, + DialogPortal, + DialogOverlay, + DialogClose, DialogTrigger, DialogContent, DialogHeader,