diff --git a/apps/desktop/src/app/overlays/overlay-chrome.tsx b/apps/desktop/src/app/overlays/overlay-chrome.tsx index 23a57da4eb5..5a28e4fb80e 100644 --- a/apps/desktop/src/app/overlays/overlay-chrome.tsx +++ b/apps/desktop/src/app/overlays/overlay-chrome.tsx @@ -1,26 +1,11 @@ -import type { ButtonHTMLAttributes, ComponentProps, ReactNode } from 'react' +import type { ButtonHTMLAttributes, ReactNode } from 'react' import { cn } from '@/lib/utils' -export const overlayCardClass = - 'rounded-lg border border-[color-mix(in_srgb,var(--dt-border)_52%,transparent)] bg-[color-mix(in_srgb,var(--dt-card)_72%,transparent)] shadow-[inset_0_0.0625rem_0_color-mix(in_srgb,white_34%,transparent)]' - -interface OverlayCardProps extends ComponentProps<'div'> { - children: ReactNode -} - interface OverlayActionButtonProps extends ButtonHTMLAttributes { tone?: 'default' | 'danger' | 'subtle' } -export function OverlayCard({ children, className, ...props }: OverlayCardProps) { - return ( -
- {children} -
- ) -} - export function OverlayActionButton({ children, className, diff --git a/apps/desktop/src/app/overlays/overlay-search-input.tsx b/apps/desktop/src/app/overlays/overlay-search-input.tsx deleted file mode 100644 index 4f82b0918bc..00000000000 --- a/apps/desktop/src/app/overlays/overlay-search-input.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import type { RefObject } from 'react' - -import { SearchField } from '@/components/ui/search-field' - -interface OverlaySearchInputProps { - containerClassName?: string - inputRef?: RefObject - loading?: boolean - onChange: (value: string) => void - placeholder: string - value: string -} - -// Borderless underline search — matches the tools/skills page (PageSearchShell). -export function OverlaySearchInput({ - containerClassName, - inputRef, - loading = false, - onChange, - placeholder, - value -}: OverlaySearchInputProps) { - return ( - - ) -} diff --git a/apps/desktop/src/app/overlays/overlay-split-layout.tsx b/apps/desktop/src/app/overlays/overlay-split-layout.tsx index 7af8e20b42a..6b95e0e4830 100644 --- a/apps/desktop/src/app/overlays/overlay-split-layout.tsx +++ b/apps/desktop/src/app/overlays/overlay-split-layout.tsx @@ -1,7 +1,5 @@ import type { ReactNode } from 'react' -import { Button } from '@/components/ui/button' -import { Codicon } from '@/components/ui/codicon' import type { IconComponent } from '@/lib/icons' import { cn } from '@/lib/utils' @@ -76,31 +74,6 @@ export function OverlayMain({ children, className }: OverlayMainProps) { ) } -// Boxless "+ New …" action that tops an OverlaySidebar list (profiles, cron, …). -// The text variant underlines on hover, which also strokes the icon glyph — so -// we keep the button itself underline-free and underline only the label span. -export function OverlayNewButton({ - icon = 'add', - label, - onClick -}: { - icon?: string - label: string - onClick: () => void -}) { - return ( - - ) -} - export function OverlayNavItem({ active, icon: Icon, label, nested, onClick, trailing }: OverlayNavItemProps) { return (