LibreChat/packages/client/src/components
Danny Avila cb6dbc8f60
refactor: Migrate @librechat/client build to tsdown (#13596)
*  refactor: Migrate @librechat/client build from Rollup to tsdown

Mirrors the data-schemas migration. Replaces Rollup (rpt2 + postcss) with
tsdown (rolldown + oxc); the package build drops from tens of seconds to ~0.3s.

- Emit isolated-declaration .d.ts via oxc (dts.oxc) and enforce
  isolatedDeclarations in tsconfig for editor DX (source made clean: explicit
  export type annotations added across src, no `any`).
- Extract component CSS to dist/style.css so the CJS output stays valid
  CommonJS (the prior postcss runtime-injection produced an ESM import in the
  CJS bundle that breaks jest/require). Imported once in the client app entry;
  Vite bundles it for the app.
- Repoint package.json to dual .mjs/.cjs + .d.mts/.d.cts and add ./style.css
  and ./package.json exports.
- Update CI build-cache keys to hash tsdown.config.mjs; remove rollup.config.js.

* 🔧 chore: address Codex review on client tsdown migration

- Add tsdown.config.mjs to turbo.json build `inputs` so changes to the new
  bundler config invalidate the Turbo cache (the shared inputs only listed the
  rollup configs). Also covers the already-migrated data-schemas.
- Name the memoized default export (ControlComboboxMemo) instead of the
  codefix-generated `_default_1`, for clearer stack traces / grepping.
2026-06-08 11:20:03 -04:00
..
DataTable refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Accordion.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
AlertDialog.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
AnimatedSearchInput.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
AnimatedTabs.css 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
AnimatedTabs.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
AnimatePopover.css 🖌️ feat: add animation styles for popovers and tooltips (#8831) 2025-08-04 14:44:00 -04:00
Avatar.tsx 🎭 refactor: Avatar Loading UX and Fix Initials Rendering Bugs (#9261) 2025-08-25 12:06:00 -04:00
Badge.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Breadcrumb.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Button.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Checkbox.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
CheckboxButton.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Collapsible.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Combobox.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
ControlCombobox.spec.tsx 🩹 fix: Sync ControlCombobox popover width with trigger after layout changes (#12887) 2026-04-30 15:02:16 +09:00
ControlCombobox.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
DataTable.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
DelayedRender.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Dialog.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
DialogTemplate.spec.tsx 🪟 feat: DataTable update + Various UI enhancements (#9698) 2025-12-11 16:39:06 -05:00
DialogTemplate.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Dropdown.css 🪜 fix: Layering Conflicts and UX Polish (#11177) 2026-01-02 11:43:03 -05:00
Dropdown.tsx 🧩 style: Agent Side Panel Layout and Consistency Fixes (#12676) 2026-04-15 14:27:13 -04:00
DropdownMenu.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
DropdownNoState.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
DropdownPopup.tsx 🔖 fix: Announce Bookmark Selection State (#11450) 2026-01-21 13:49:50 -05:00
FileUpload.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
FilterInput.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
FormInput.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
HoverCard.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
index.ts 🔌 refactor: MCP UI with Improved Accessibility and Reusable Components (#11118) 2025-12-28 12:20:15 -05:00
InfoHoverCard.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Input.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
InputCombobox.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
InputNumber.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
InputOTP.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
InputWithDropDown.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Label.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
MultiSearch.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
MultiSelect.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
OGDialogTemplate.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
OriginalDialog.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Pagination.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
PixelCard.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Progress.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
QuestionMark.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Radio.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Resizable.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
SecretInput.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Select.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
SelectDropDown.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Separator.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Skeleton.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Slider.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
SplitText.spec.tsx 🪟 feat: DataTable update + Various UI enhancements (#9698) 2025-12-11 16:39:06 -05:00
SplitText.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
Switch.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Table.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Tabs.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Tag.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Textarea.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
TextareaAutosize.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
ThemeSelector.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Toast.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Tooltip.css 🚧 fix: OriginalDialog Modal Tooltip and Dropdown Menu Regressions from (#10975, #10952, #11008) (#11023) 2025-12-18 09:28:27 -05:00
Tooltip.tsx refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00