LibreChat/packages
Marco Beretta 687f69e187
🫗 feat: Field Fill and Ink Theme Roles (#16607)
* feat: Field fill and ink theme roles

Fields ink their value in a new field-text role, which follows text-primary, and a theme whose fieldFillStyle appearance role is fill paints them in a new field-fill role, which follows surface-primary. The default transparent style keeps every field clear, read from the nearest themed root through a style-query variant. The ClickHouse theme fills and inks fields with Click UI's field tokens, which empties the not-expressible list.

* fix: Ink the TimePicker value in the field role and type the field colors

* fix: Keep field ink and state fills over the field fill

Field-variant Dropdown triggers no longer swap to the primary ink on hover, and the field fill variant carries a single class's weight so hover, open and disabled fills paint over it.

* test: Count the field roles beside the media overlay roles

* fix: Type the color fallbacks as one object and keep a disabled field's fill under the pointer

resolveTheme spread about twenty fallbacks typed as role-or-empty unions; each union spread doubled the type checker's work, and the field roles pushed the client typecheck past the CI heap. Typing them as IThemeRGB drops its memory from 3.3GB to 0.65GB. A fill theme with the default dim disabled style also keeps a disabled field's fill under the pointer.
2026-10-01 23:14:37 +02:00
..
api 🚷 fix: Stop Reporting Rejected MCP Credentials as Authorized (#16571) 2026-10-01 15:41:55 -04:00
client 🫗 feat: Field Fill and Ink Theme Roles (#16607) 2026-10-01 23:14:37 +02:00
data-provider 🫗 feat: Field Fill and Ink Theme Roles (#16607) 2026-10-01 23:14:37 +02:00
data-schemas 🪟 feat: Undock the Artifacts Pane into Its Own Window (#15911) 2026-10-01 18:41:18 +02:00