LibreChat/packages/chat/test
Marco Beretta 1b857e46cb
🌿 refactor: Move Leaf Content Parts Into the Chat Package (#17756)
* refactor: Move Leaf Content Parts Into the Chat Package

Container, ToolAuthWarning, ToolPreparation, the failed-reveal pill, the fold
rail, the background task guidance keys, MemoryInfo, PendingSkillCall,
ResumeAuthorHeader, DialogImage and ToolCallLimitNotice move from
client/src/components/Chat/Messages/Content to packages/chat/src/components/parts
and export from @librechat/chat/components. Their specs move with them.
Client importers and mocks point at the package entry. Design-lint
suppressions follow the moved files.

* fix: Ship the Tool Row Type Scale With the Component Library

The progress-text rules move from the SPA stylesheet to packages/client/src/theme/parts.css, which ThemeProvider loads into @librechat/client/style.css, so the package's PendingSkillCall row keeps its type size without the app's CSS. The two class names join the no-unknown-classes allow list, and PendingSkillCall needs no suppression.

* test: Check the Tool Row Label Keeps the Chat Type Scale

* test: Find the Tool Row Label Around Its Toggle

* test: Capture the Staged Skill Row in Its Loading State

* fix: End the Tool Row Type Chain in a Length for Standalone Consumers

--font-size-base and --markdown-font-size are declared only in the app's
stylesheet, so the .progress-text-wrapper font-size and line-height were invalid
for a consumer that loads the published theme alone. The chain now ends in
var(--font-size-base, 1rem), and the consumer spec reads the published
stylesheet for it.

* test: Cover the Memory Limit Alert in Both Themes and Modes
2026-11-05 22:32:18 +01:00
..
consumer.spec.tsx 🌿 refactor: Move Leaf Content Parts Into the Chat Package (#17756) 2026-11-05 22:32:18 +01:00
tsconfig.json 🧪 test: Prove the @librechat/chat Public Entries With a Consumer Spec (#17522) 2026-10-29 09:54:20 +01:00