@clubmed/usg-chat-ui 1.4.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -91,11 +91,14 @@ Under the hood, the `ChatLabelsProvider` and `useChatLabels()` hook distribute t
91
91
  | `assistantThinkingIndicator` | Pulsing text while the assistant is streaming. |
92
92
  | `chatSettingsButtonAriaLabel` | Settings button aria label. |
93
93
  | `sidebarOpenHistoryAriaLabel`, `conversationRefreshAriaLabel`, `conversationCloseHistoryAriaLabel` | Sidebar toggle & controls. |
94
- | `messageCopyAriaLabel`, `messageRegenerateAriaLabel`, `messageOpenCanvasAriaLabel` | Message action buttons. |
95
- | `messageThumbsUpAriaLabel`, `messageThumbsDownAriaLabel`, `messageCloseFeedbackAriaLabel` | Feedback modal controls. |
94
+ | `messageCopyAriaLabel`, `messageRegenerateAriaLabel`, `messageOpenCanvasAriaLabel` | Message action buttons (aria). |
95
+ | `messageCopyButtonText`, `messageCopySuccessText`, `messageRegenerateButtonText`, `messageOpenCanvasButtonText` | Visible labels beside those buttons. |
96
+ | `messageThumbsUpAriaLabel`, `messageThumbsDownAriaLabel`, `messageCloseFeedbackAriaLabel` | Feedback modal controls (aria). |
97
+ | `messageFeedbackPositiveTitle`, `messageFeedbackNegativeTitle`, `messageFeedbackPromptText`, `messageFeedbackTextareaPlaceholder`, `messageFeedbackSkipButtonText`, `messageFeedbackSubmitButtonText`, `messageFeedbackSubmittingText` | Copy rendered inside the feedback modal. |
98
+ | `messageCopyToastTitle`, `messageCopyToastDescription`, `messageCopyErrorTitle`, `messageCopyErrorDescription`, `messageFeedbackToastTitle`, `messageFeedbackToastDescription`, `messageFeedbackToastErrorTitle`, `messageFeedbackToastErrorDescription` | Toast notifications for copy/feedback flows. |
96
99
  | `canvasReduceAriaLabel`, `canvasExpandAriaLabel`, `canvasCloseAriaLabel` | Canvas panel controls. |
97
100
  | `branchPreviousAriaLabel`, `branchNextAriaLabel` | Multi-branch navigation buttons. |
98
- | `promptSubmitAriaLabel` | Submit icon on the prompt composer. |
101
+ | `promptSubmitAriaLabel`, `promptComposerPlaceholder` | Prompt composer button aria + placeholder text. |
99
102
 
100
103
  > **Implementation convention:** All new user-facing strings or aria labels **must** use `useChatLabels()` (`const {get, p} = useChatLabels();`) instead of hard-coded literals. Declare the key inside `ChatLabelsConfig` with a short JSDoc example, then consume it via `get/p` with a sensible fallback so the UI remains resilient when a host doesn’t override that value yet.
101
104