From 14aba51320320d6898eeab1bea7ec1367a1079bd Mon Sep 17 00:00:00 2001
From: Marco Beretta <81851188+berry-13@users.noreply.github.com>
Date: Mon, 26 Oct 2026 00:55:16 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20refactor:=20Remove=20Unused=20Co?=
=?UTF-8?q?mponents=20from=20the=20Client=20Package=20(#17437)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Accordion, Breadcrumb, CheckboxButton, FormInput, QuestionMark,
InputWithDropdown and the Radix DropdownMenu had no users in the app or
the package. The account menu's dividers were the DropdownMenu's
separator inside an Ariakit menu; they are now the Ariakit menu's own
separators and draw the same.
---
client/src/components/Nav/AccountSettings.tsx | 10 +-
.../scenarios/account-menu-separators.spec.ts | 34 +++
packages/client/src/components/Accordion.tsx | 62 -----
packages/client/src/components/Breadcrumb.tsx | 127 ---------
.../src/components/CheckboxButton.spec.tsx | 18 --
.../client/src/components/CheckboxButton.tsx | 87 -------
.../client/src/components/DropdownMenu.tsx | 242 ------------------
packages/client/src/components/FormInput.tsx | 68 -----
.../src/components/InputWithDropDown.tsx | 159 ------------
.../client/src/components/QuestionMark.tsx | 21 --
packages/client/src/components/focus.spec.tsx | 20 --
packages/client/src/components/index.ts | 7 -
packages/client/src/theme/highContrast.css | 2 +-
13 files changed, 41 insertions(+), 816 deletions(-)
create mode 100644 e2e/specs/mock/scenarios/account-menu-separators.spec.ts
delete mode 100644 packages/client/src/components/Accordion.tsx
delete mode 100644 packages/client/src/components/Breadcrumb.tsx
delete mode 100644 packages/client/src/components/CheckboxButton.spec.tsx
delete mode 100644 packages/client/src/components/CheckboxButton.tsx
delete mode 100644 packages/client/src/components/DropdownMenu.tsx
delete mode 100644 packages/client/src/components/FormInput.tsx
delete mode 100644 packages/client/src/components/InputWithDropDown.tsx
delete mode 100644 packages/client/src/components/QuestionMark.tsx
diff --git a/client/src/components/Nav/AccountSettings.tsx b/client/src/components/Nav/AccountSettings.tsx
index a0a2121c8c..8907a15af9 100644
--- a/client/src/components/Nav/AccountSettings.tsx
+++ b/client/src/components/Nav/AccountSettings.tsx
@@ -2,7 +2,7 @@ import { useState, memo, useRef } from 'react';
import { useSetAtom } from 'jotai';
import { useSetRecoilState } from 'recoil';
import * as Menu from '@ariakit/react/menu';
-import { GearIcon, DropdownMenuSeparator, Avatar } from '@librechat/client';
+import { GearIcon, Avatar } from '@librechat/client';
import {
Archive,
ChevronRight,
@@ -72,7 +72,9 @@ function HelpSubmenu({
{localize('com_shortcut_keyboard_shortcuts')}
- {showLegalDivider && (hasTos || hasPrivacy) && }
+ {showLegalDivider && (hasTos || hasPrivacy) && (
+
+ )}
{hasTos && (
openInNewTab(termsOfServiceURL)}
@@ -146,7 +148,7 @@ function AccountSettings({ collapsed = false }: { collapsed?: boolean }) {
{user?.email ?? localize('com_nav_user')}
-
+
{localize('com_nav_settings')}
-
+
logout()} className="select-item text-sm">
{localize('com_nav_log_out')}
diff --git a/e2e/specs/mock/scenarios/account-menu-separators.spec.ts b/e2e/specs/mock/scenarios/account-menu-separators.spec.ts
new file mode 100644
index 0000000000..cb04fbfc59
--- /dev/null
+++ b/e2e/specs/mock/scenarios/account-menu-separators.spec.ts
@@ -0,0 +1,34 @@
+import { expect, test } from '@playwright/test';
+import { NEW_CHAT_PATH } from '../helpers';
+import { openSidebar } from './sidebar';
+
+/**
+ * The account menu is an Ariakit menu, and its dividers are that menu's own separators: exposed
+ * as separators inside the menu, drawn as a 1px rule, and skipped by the arrow keys.
+ */
+test('the account menu draws its dividers as menu separators @scenario:account-menu-separators', async ({
+ page,
+}) => {
+ await page.goto(NEW_CHAT_PATH, { timeout: 15000 });
+ /** Mobile keeps the account menu in the drawer. */
+ await openSidebar(page);
+ await page.getByTestId('nav-user').filter({ visible: true }).first().click();
+
+ const menu = page.getByRole('menu');
+ await expect(menu).toBeVisible();
+ const separators = menu.getByRole('separator');
+ await expect(separators.first()).toBeVisible();
+ expect(await separators.count()).toBeGreaterThanOrEqual(2);
+ for (const separator of await separators.all()) {
+ const box = await separator.boundingBox();
+ expect(box?.height).toBeCloseTo(1, 0);
+ }
+
+ const items = menu.getByRole('menuitem');
+ await items.first().focus();
+ const count = await items.count();
+ for (let step = 1; step < count; step++) {
+ await page.keyboard.press('ArrowDown');
+ await expect(menu.locator(':focus')).toHaveRole('menuitem');
+ }
+});
diff --git a/packages/client/src/components/Accordion.tsx b/packages/client/src/components/Accordion.tsx
deleted file mode 100644
index 112752b7a3..0000000000
--- a/packages/client/src/components/Accordion.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import * as React from 'react';
-import { ChevronDownIcon } from '@radix-ui/react-icons';
-import * as AccordionPrimitive from '@radix-ui/react-accordion';
-import { cn } from '~/utils';
-
-const Accordion: React.ForwardRefExoticComponent<
- (AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) &
- React.RefAttributes
-> = AccordionPrimitive.Root;
-
-const AccordionItem: React.ForwardRefExoticComponent<
- Omit, 'ref'> &
- React.RefAttributes
-> = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className = '', ...props }, ref) => (
-
-));
-AccordionItem.displayName = 'AccordionItem';
-
-const AccordionTrigger: React.ForwardRefExoticComponent<
- Omit, 'ref'> &
- React.RefAttributes
-> = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className = '', children, ...props }, ref) => (
-
- svg]:rotate-180',
- className,
- )}
- {...props}
- >
- {children}
-
-
-
-));
-AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
-
-const AccordionContent: React.ForwardRefExoticComponent<
- Omit, 'ref'> &
- React.RefAttributes
-> = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className = '', children, ...props }, ref) => (
-
- {children}
-
-));
-AccordionContent.displayName = AccordionPrimitive.Content.displayName;
-
-export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
diff --git a/packages/client/src/components/Breadcrumb.tsx b/packages/client/src/components/Breadcrumb.tsx
deleted file mode 100644
index 6405686024..0000000000
--- a/packages/client/src/components/Breadcrumb.tsx
+++ /dev/null
@@ -1,127 +0,0 @@
-import * as React from 'react';
-import { JSX } from 'react/jsx-runtime';
-import { Slot } from '@radix-ui/react-slot';
-import { ChevronRight, MoreHorizontal } from 'lucide-react';
-import { cn } from '~/utils';
-
-const Breadcrumb: React.ForwardRefExoticComponent<
- Omit, HTMLElement>, 'ref'> & {
- separator?: React.ReactNode;
- } & React.RefAttributes
-> = React.forwardRef<
- HTMLElement,
- React.ComponentPropsWithoutRef<'nav'> & {
- separator?: React.ReactNode;
- }
->(({ ...props }, ref) => );
-Breadcrumb.displayName = 'Breadcrumb';
-
-const BreadcrumbList: React.ForwardRefExoticComponent<
- Omit, HTMLOListElement>, 'ref'> &
- React.RefAttributes
-> = React.forwardRef>(
- ({ className, ...props }, ref) => (
-
- ),
-);
-BreadcrumbList.displayName = 'BreadcrumbList';
-
-const BreadcrumbItem: React.ForwardRefExoticComponent<
- Omit, HTMLLIElement>, 'ref'> &
- React.RefAttributes
-> = React.forwardRef>(
- ({ className, ...props }, ref) => (
-
- ),
-);
-BreadcrumbItem.displayName = 'BreadcrumbItem';
-
-const BreadcrumbLink: React.ForwardRefExoticComponent<
- Omit<
- React.DetailedHTMLProps, HTMLAnchorElement>,
- 'ref'
- > & {
- asChild?: boolean;
- } & React.RefAttributes
-> = React.forwardRef<
- HTMLAnchorElement,
- React.ComponentPropsWithoutRef<'a'> & {
- asChild?: boolean;
- }
->(({ asChild, className, ...props }, ref) => {
- const Comp = asChild ? Slot : 'a';
-
- return (
-
- );
-});
-BreadcrumbLink.displayName = 'BreadcrumbLink';
-
-const BreadcrumbPage: React.ForwardRefExoticComponent<
- Omit, HTMLSpanElement>, 'ref'> &
- React.RefAttributes
-> = React.forwardRef>(
- ({ className, ...props }, ref) => (
-
- ),
-);
-BreadcrumbPage.displayName = 'BreadcrumbPage';
-
-const BreadcrumbSeparator: {
- ({ children, className, ...props }: React.ComponentProps<'li'>): JSX.Element;
- displayName: string;
-} = ({ children, className, ...props }: React.ComponentProps<'li'>): JSX.Element => (
- svg]:size-3.5', className)}
- {...props}
- >
- {children ?? }
-
-);
-BreadcrumbSeparator.displayName = 'BreadcrumbSeparator';
-
-const BreadcrumbEllipsis: {
- ({ className, ...props }: React.ComponentProps<'span'>): JSX.Element;
- displayName: string;
-} = ({ className, ...props }: React.ComponentProps<'span'>): JSX.Element => (
-
-
- More
-
-);
-BreadcrumbEllipsis.displayName = 'BreadcrumbElipssis';
-
-export {
- Breadcrumb,
- BreadcrumbList,
- BreadcrumbItem,
- BreadcrumbLink,
- BreadcrumbPage,
- BreadcrumbSeparator,
- BreadcrumbEllipsis,
-};
diff --git a/packages/client/src/components/CheckboxButton.spec.tsx b/packages/client/src/components/CheckboxButton.spec.tsx
deleted file mode 100644
index 5f3c1e53c8..0000000000
--- a/packages/client/src/components/CheckboxButton.spec.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import '@testing-library/jest-dom';
-import { render, screen } from '@testing-library/react';
-import CheckboxButton from './CheckboxButton';
-
-describe('CheckboxButton', () => {
- it('uses theme-owned control geometry', () => {
- render(icon} />);
-
- expect(screen.getByRole('checkbox', { name: 'Tools' })).toHaveClass(
- 'h-theme-control',
- 'w-theme-control',
- 'rounded-theme-control-round',
- 'gap-theme-control-gap',
- 'p-theme-compact',
- 'md:px-theme-control-x',
- );
- });
-});
diff --git a/packages/client/src/components/CheckboxButton.tsx b/packages/client/src/components/CheckboxButton.tsx
deleted file mode 100644
index a49547fedc..0000000000
--- a/packages/client/src/components/CheckboxButton.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import * as React from 'react';
-import { useEffect } from 'react';
-import { Checkbox, useStoreState, useCheckboxStore } from '@ariakit/react';
-import { composerControlClasses } from '~/utils/composer';
-import { cn } from '~/utils';
-
-const CheckboxButton: React.ForwardRefExoticComponent<
- {
- icon?: React.ReactNode;
- label: string;
- className?: string;
- checked?: boolean;
- defaultChecked?: boolean;
- isCheckedClassName?: string;
- setValue?: (values: {
- e?: React.ChangeEvent;
- value: boolean | string;
- }) => void;
- } & React.RefAttributes
-> = React.forwardRef<
- HTMLInputElement,
- {
- icon?: React.ReactNode;
- label: string;
- className?: string;
- checked?: boolean;
- defaultChecked?: boolean;
- isCheckedClassName?: string;
- setValue?: (values: {
- e?: React.ChangeEvent;
- value: boolean | string;
- }) => void;
- }
->(({ icon, label, setValue, className, checked, defaultChecked, isCheckedClassName }, ref) => {
- const checkbox = useCheckboxStore();
- const isChecked = useStoreState(checkbox, (state) => state?.value);
- const onChange = (e: React.ChangeEvent) => {
- e.stopPropagation();
- if (typeof isChecked !== 'boolean') {
- return;
- }
- setValue?.({ e, value: !isChecked });
- };
-
- // Sync with controlled checked prop
- useEffect(() => {
- if (checked !== undefined) {
- checkbox.setValue(checked);
- }
- }, [checked, checkbox]);
-
- // Set initial value from defaultChecked
- useEffect(() => {
- if (defaultChecked !== undefined && checked === undefined) {
- checkbox.setValue(defaultChecked);
- }
- }, [defaultChecked, checked, checkbox]);
-
- return (
- }
- >
- {/* Icon if provided */}
- {icon && {icon as React.JSX.Element} }
-
- {/* Show the label on larger screens */}
- {label}
-
- );
-});
-
-CheckboxButton.displayName = 'CheckboxButton';
-
-export default CheckboxButton;
diff --git a/packages/client/src/components/DropdownMenu.tsx b/packages/client/src/components/DropdownMenu.tsx
deleted file mode 100644
index 4e3ed859ef..0000000000
--- a/packages/client/src/components/DropdownMenu.tsx
+++ /dev/null
@@ -1,242 +0,0 @@
-import * as React from 'react';
-import { JSX } from 'react/jsx-runtime';
-import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
-import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';
-import { usePopoverZIndex } from './OriginalDialog';
-import { cn, disabledInkClasses } from '~/utils';
-
-function DropdownMenu({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuPortal({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuTrigger({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuContent({
- className,
- sideOffset = 4,
- style,
- ...props
-}: React.ComponentProps): JSX.Element {
- const zIndex = usePopoverZIndex();
- return (
-
-
-
- );
-}
-
-function DropdownMenuGroup({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuItem({
- className,
- inset,
- variant = 'default',
- ...props
-}: React.ComponentProps & {
- inset?: boolean;
- variant?: 'default' | 'destructive';
-}): JSX.Element {
- return (
-
- );
-}
-
-function DropdownMenuCheckboxItem({
- className,
- children,
- checked,
- ...props
-}: React.ComponentProps): JSX.Element {
- return (
-
-
-
-
-
-
- {children}
-
- );
-}
-
-function DropdownMenuRadioGroup({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuRadioItem({
- className,
- children,
- ...props
-}: React.ComponentProps): JSX.Element {
- return (
-
-
-
-
-
-
- {children}
-
- );
-}
-
-function DropdownMenuLabel({
- className,
- inset,
- ...props
-}: React.ComponentProps & {
- inset?: boolean;
-}): JSX.Element {
- return (
-
- );
-}
-
-function DropdownMenuSeparator({
- className,
- ...props
-}: React.ComponentProps): JSX.Element {
- return (
-
- );
-}
-
-function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): JSX.Element {
- return (
-
- );
-}
-
-function DropdownMenuSub({
- ...props
-}: React.ComponentProps): JSX.Element {
- return ;
-}
-
-function DropdownMenuSubTrigger({
- className,
- inset,
- children,
- ...props
-}: React.ComponentProps & {
- inset?: boolean;
-}): JSX.Element {
- return (
-
- {children}
-
-
- );
-}
-
-function DropdownMenuSubContent({
- className,
- style,
- ...props
-}: React.ComponentProps): JSX.Element {
- const zIndex = usePopoverZIndex();
- return (
-
- );
-}
-
-export {
- DropdownMenu,
- DropdownMenuPortal,
- DropdownMenuTrigger,
- DropdownMenuContent,
- DropdownMenuGroup,
- DropdownMenuLabel,
- DropdownMenuItem,
- DropdownMenuCheckboxItem,
- DropdownMenuRadioGroup,
- DropdownMenuRadioItem,
- DropdownMenuSeparator,
- DropdownMenuShortcut,
- DropdownMenuSub,
- DropdownMenuSubTrigger,
- DropdownMenuSubContent,
-};
diff --git a/packages/client/src/components/FormInput.tsx b/packages/client/src/components/FormInput.tsx
deleted file mode 100644
index 7ac1b466c7..0000000000
--- a/packages/client/src/components/FormInput.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import React from 'react';
-import { JSX } from 'react/jsx-runtime';
-import type { ControllerRenderProps, FieldValues, FieldPath } from 'react-hook-form';
-import { Label } from './Label';
-import { Input } from './Input';
-import { cn } from '~/utils';
-
-export default function FormInput<
- TFieldValues extends FieldValues = FieldValues,
- TName extends FieldPath = FieldPath,
->({
- field,
- label,
- labelClass,
- inputClass,
- containerClass,
- labelAdjacent,
- placeholder = '',
- type = 'string',
-}: {
- field: ControllerRenderProps;
- label: string;
- labelClass?: string;
- inputClass?: string;
- placeholder?: string;
- containerClass?: string;
- type?: 'string' | 'number';
- labelAdjacent?: React.ReactNode;
-}): JSX.Element {
- const handleChange = (e: React.ChangeEvent) => {
- const value = e.target.value;
-
- if (type !== 'number') {
- field.onChange(value);
- return;
- }
-
- if (value === '') {
- field.onChange(value);
- } else if (!isNaN(Number(value))) {
- field.onChange(Number(value));
- }
- };
-
- return (
-
-
-
- {label}
-
- {labelAdjacent}
-
-
-
- );
-}
diff --git a/packages/client/src/components/InputWithDropDown.tsx b/packages/client/src/components/InputWithDropDown.tsx
deleted file mode 100644
index e91f6e12d8..0000000000
--- a/packages/client/src/components/InputWithDropDown.tsx
+++ /dev/null
@@ -1,159 +0,0 @@
-import * as React from 'react';
-import { Input } from './Input';
-import { cn } from '~/utils';
-
-export type InputWithDropdownProps = React.InputHTMLAttributes & {
- options: string[];
- onSelect?: (value: string) => void;
-};
-
-const InputWithDropdown: React.ForwardRefExoticComponent<
- React.InputHTMLAttributes & {
- options: string[];
- onSelect?: (value: string) => void;
- } & React.RefAttributes
-> = React.forwardRef(
- ({ className, options, onSelect, ...props }, ref) => {
- const [isOpen, setIsOpen] = React.useState(false);
- const [inputValue, setInputValue] = React.useState((props.value as string) || '');
- const [highlightedIndex, setHighlightedIndex] = React.useState(-1);
- const inputRef = React.useRef(null);
-
- const handleSelect = (value: string) => {
- setInputValue(value);
- setIsOpen(false);
- setHighlightedIndex(-1);
- if (onSelect) {
- onSelect(value);
- }
- if (props.onChange) {
- props.onChange({ target: { value } } as React.ChangeEvent);
- }
- };
-
- const handleInputChange = (e: React.ChangeEvent) => {
- setInputValue(e.target.value);
- if (props.onChange) {
- props.onChange(e);
- }
- };
-
- const handleKeyDown = (e: React.KeyboardEvent) => {
- switch (e.key) {
- case 'ArrowDown':
- e.preventDefault();
- if (!isOpen) {
- setIsOpen(true);
- } else {
- setHighlightedIndex((prevIndex) =>
- prevIndex < options.length - 1 ? prevIndex + 1 : prevIndex,
- );
- }
- break;
- case 'ArrowUp':
- e.preventDefault();
- setHighlightedIndex((prevIndex) => (prevIndex > 0 ? prevIndex - 1 : 0));
- break;
- case 'Enter':
- e.preventDefault();
- if (isOpen && highlightedIndex !== -1) {
- handleSelect(options[highlightedIndex]);
- }
- setIsOpen(false);
- break;
- case 'Escape':
- setIsOpen(false);
- setHighlightedIndex(-1);
- break;
- }
- };
-
- React.useEffect(() => {
- const handleClickOutside = (event: MouseEvent) => {
- if (inputRef.current && !inputRef.current.contains(event.target as Node)) {
- setIsOpen(false);
- setHighlightedIndex(-1);
- }
- };
-
- document.addEventListener('mousedown', handleClickOutside);
- return () => {
- document.removeEventListener('mousedown', handleClickOutside);
- };
- }, []);
-
- return (
-
-
-
-
setIsOpen(!isOpen)}
- aria-label={isOpen ? 'Close dropdown' : 'Open dropdown'}
- >
-
-
-
-
-
- {isOpen && (
-
- {options.map((option, index) => (
- handleSelect(option)}
- onKeyDown={(e) => {
- if (e.key === 'Enter' || e.key === ' ') {
- e.preventDefault();
- handleSelect(option);
- }
- }}
- tabIndex={0}
- >
- {option}
-
- ))}
-
- )}
-
- );
- },
-);
-
-InputWithDropdown.displayName = 'InputWithDropdown';
-
-export default InputWithDropdown;
diff --git a/packages/client/src/components/QuestionMark.tsx b/packages/client/src/components/QuestionMark.tsx
deleted file mode 100644
index 4f64151773..0000000000
--- a/packages/client/src/components/QuestionMark.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import { JSX } from 'react/jsx-runtime';
-import { cn } from '~/utils';
-
-export const QuestionMark = ({
- className = '',
-}: {
- className?: string | undefined;
-}): JSX.Element => {
- return (
-
-
- ?
-
-
- );
-};
diff --git a/packages/client/src/components/focus.spec.tsx b/packages/client/src/components/focus.spec.tsx
index 1342378564..d56724ceeb 100644
--- a/packages/client/src/components/focus.spec.tsx
+++ b/packages/client/src/components/focus.spec.tsx
@@ -4,7 +4,6 @@ import userEvent from '@testing-library/user-event';
import { render, screen } from '@testing-library/react';
import { Table, TableBody, TableCell, TableRow } from './Table';
import { Tabs, TabsList, TabsTrigger } from './Tabs';
-import InputWithDropdown from './InputWithDropDown';
import { InputCombobox } from './InputCombobox';
import { SecretInput } from './SecretInput';
import Dropdown from './Dropdown';
@@ -50,25 +49,6 @@ describe('shared control keyboard focus', () => {
});
});
- it('rings the dropdown toggle and its options in the focus role', async () => {
- const user = userEvent.setup();
- render( );
-
- await user.tab();
- await user.tab();
- const toggle = screen.getByRole('button', { name: 'Open dropdown' });
- expect(toggle).toHaveFocus();
- expect(toggle).toHaveClass('focus-visible:ring-1', 'focus-visible:ring-focus-control');
-
- await user.keyboard('{Enter}');
- expect(screen.getByRole('listbox')).toHaveClass('focus:ring-focus-control');
-
- await user.tab();
- const [first] = screen.getAllByRole('option');
- expect(first).toHaveFocus();
- expect(first).toHaveClass('focus:ring-1', 'focus:ring-focus-control');
- });
-
it('rings the combobox only while it holds keyboard focus', async () => {
const user = userEvent.setup();
render(
diff --git a/packages/client/src/components/index.ts b/packages/client/src/components/index.ts
index 4d1c51b4a5..312145a2ec 100644
--- a/packages/client/src/components/index.ts
+++ b/packages/client/src/components/index.ts
@@ -1,14 +1,11 @@
-export * from './Accordion';
export * from './AnimatedTabs';
export * from './Alert';
export * from './AlertDialog';
-export * from './Breadcrumb';
export * from './Button';
export * from './Chip';
export * from './SeriesLabel';
export * from './Checkbox';
export * from './DisclosureChevron';
-export * from './DropdownMenu';
export * from './HoverCard';
export * from './Field';
export * from './Focus';
@@ -20,7 +17,6 @@ export * from './FieldMessage';
export * from './Label';
export * from './MorphIcon';
export * from './OriginalDialog';
-export * from './QuestionMark';
export * from './Slider';
export * from './Separator';
export * from './InputCombobox';
@@ -55,7 +51,6 @@ export type {
export { default as Dropdown } from './Dropdown';
export { default as DataTable } from './DataTable';
export { default as SplitText } from './SplitText';
-export { default as FormInput } from './FormInput';
export { default as PixelCard } from './PixelCard';
export { default as FileUpload } from './FileUpload';
export { default as MultiSelect } from './MultiSelect';
@@ -63,7 +58,6 @@ export { default as DropdownPopup } from './DropdownPopup';
export { default as DelayedRender } from './DelayedRender';
export { default as ThemeSelector } from './ThemeSelector';
export { default as InfoHoverCard } from './InfoHoverCard';
-export { default as CheckboxButton } from './CheckboxButton';
export { default as ControlCombobox } from './ControlCombobox';
export { default as EmptyState } from './EmptyState';
export type { EmptyStateProps } from './EmptyState';
@@ -79,7 +73,6 @@ export type {
TimeColumnProps,
} from './TimePicker';
export { default as OGDialogTemplate } from './OGDialogTemplate';
-export { default as InputWithDropdown } from './InputWithDropDown';
export { default as AnimatedSearchInput } from './AnimatedSearchInput';
export { default as VirtualizedDataTable } from './DataTable/DataTable';
export type {
diff --git a/packages/client/src/theme/highContrast.css b/packages/client/src/theme/highContrast.css
index 02dd3a79cd..716e88570f 100644
--- a/packages/client/src/theme/highContrast.css
+++ b/packages/client/src/theme/highContrast.css
@@ -10,7 +10,7 @@
* only works because selection is marked by a perimeter; and `::placeholder`
* has no token at all, so it falls through to Tailwind preflight's raw
* `gray-400`. Both defects reach package primitives — `TimePicker`,
- * `MultiSelect`, `InputWithDropDown`, `Badge`, `DataTable`,
+ * `MultiSelect`, `Badge`, `DataTable`,
* `Input`, `Textarea` — so shipping the palette without these rules ships a
* broken palette.
*