@epam/ai-dial-conversation-input 1.1.0-dev.8 → 1.1.0-dev.87

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.
Files changed (58) hide show
  1. package/components/AddAttachmentButton/AddAttachmentButton.d.ts +10 -0
  2. package/components/AddAttachmentButton/AddAttachmentButton.d.ts.map +1 -1
  3. package/components/BottomSheet/BottomSheet.d.ts +17 -4
  4. package/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  5. package/components/BottomSheetShell/BottomSheetShell.d.ts +16 -13
  6. package/components/BottomSheetShell/BottomSheetShell.d.ts.map +1 -1
  7. package/components/ChatSettingsBottomSheet/ChatSettingsBottomSheet.d.ts +1 -4
  8. package/components/ChatSettingsBottomSheet/ChatSettingsBottomSheet.d.ts.map +1 -1
  9. package/components/ChatSettingsModal/ChatSettingsModal.d.ts +1 -0
  10. package/components/ChatSettingsModal/ChatSettingsModal.d.ts.map +1 -1
  11. package/components/ConversationInput/ConversationInput.d.ts +1 -0
  12. package/components/ConversationInput/ConversationInput.d.ts.map +1 -1
  13. package/components/EditMessageInput/EditMessageInput.d.ts +1 -0
  14. package/components/EditMessageInput/EditMessageInput.d.ts.map +1 -1
  15. package/components/Input/Buttons/SendButton.d.ts +1 -2
  16. package/components/Input/Buttons/SendButton.d.ts.map +1 -1
  17. package/components/Input/Buttons/StopButton.d.ts +1 -0
  18. package/components/Input/Buttons/StopButton.d.ts.map +1 -1
  19. package/components/Input/Input.d.ts +1 -0
  20. package/components/Input/Input.d.ts.map +1 -1
  21. package/components/Input/ModelSelectorControl.d.ts +9 -10
  22. package/components/Input/ModelSelectorControl.d.ts.map +1 -1
  23. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts +21 -5
  24. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts.map +1 -1
  25. package/components/ModelSelectorSkeleton/ModelSelectorSkeleton.d.ts +4 -0
  26. package/components/ModelSelectorSkeleton/ModelSelectorSkeleton.d.ts.map +1 -1
  27. package/components/SelectedToolsChips/SelectedToolsChips.d.ts +42 -0
  28. package/components/SelectedToolsChips/SelectedToolsChips.d.ts.map +1 -0
  29. package/components/ToolsBottomSheet/ToolsBottomSheet.d.ts +29 -0
  30. package/components/ToolsBottomSheet/ToolsBottomSheet.d.ts.map +1 -0
  31. package/components/VoiceBar/VoiceBar.d.ts +11 -17
  32. package/components/VoiceBar/VoiceBar.d.ts.map +1 -1
  33. package/hooks/useAttachments.d.ts +1 -5
  34. package/hooks/useAttachments.d.ts.map +1 -1
  35. package/hooks/useBottomSheet.d.ts +1 -4
  36. package/hooks/useBottomSheet.d.ts.map +1 -1
  37. package/hooks/useDelayedUnmount.d.ts +3 -12
  38. package/hooks/useDelayedUnmount.d.ts.map +1 -1
  39. package/hooks/useInputHistoryNavigation.d.ts +1 -12
  40. package/hooks/useInputHistoryNavigation.d.ts.map +1 -1
  41. package/hooks/useMessageState.d.ts +1 -4
  42. package/hooks/useMessageState.d.ts.map +1 -1
  43. package/hooks/useModelSelector.d.ts.map +1 -1
  44. package/hooks/useVoiceRecorder.d.ts +16 -24
  45. package/hooks/useVoiceRecorder.d.ts.map +1 -1
  46. package/index.css +1 -1
  47. package/index.d.ts +1 -1
  48. package/index.d.ts.map +1 -1
  49. package/index.js +1047 -864
  50. package/models/ConversationInput.d.ts +67 -32
  51. package/models/ConversationInput.d.ts.map +1 -1
  52. package/models/Input.d.ts +67 -34
  53. package/models/Input.d.ts.map +1 -1
  54. package/package.json +5 -5
  55. package/utils/concurrency.d.ts +3 -12
  56. package/utils/concurrency.d.ts.map +1 -1
  57. package/utils/deployment.d.ts +1 -4
  58. package/utils/deployment.d.ts.map +1 -1
@@ -1,10 +1,8 @@
1
- import { Attachment, AttachmentErrorReason, DeploymentItem, DisplayAttachment } from '@epam/ai-dial-chat-shared';
1
+ import { Attachment, AttachmentErrorReason, DeploymentItem, DisplayAttachment, ToolMenuItem } from '@epam/ai-dial-chat-shared';
2
2
  import { ReactNode } from 'react';
3
- import { ChatSettingsConfig, InputColors, InputTypography, ModelSelectorLabels, SendOnEnter } from './Input';
3
+ import { ChatSettingsConfig, InputColors, InputTypography, ModelSelectorLabels, SendOnEnter, ToolsChipLabels } from './Input';
4
4
  /** CSS custom-property overrides for the `ConversationInput` component. */
5
5
  export interface ConversationInputColors {
6
- /** Root container background color. */
7
- background?: string;
8
6
  /** Welcome heading text color. */
9
7
  welcomeText?: string;
10
8
  /** Color overrides forwarded to the inner `Input` component. */
@@ -32,12 +30,7 @@ export interface EditMessageInputProps {
32
30
  initialAttachments?: DisplayAttachment[];
33
31
  /** Called when the user clicks the Cancel button. */
34
32
  onCancel: () => void;
35
- /**
36
- * Called when the user clicks Save & Submit.
37
- * @param message - The edited message text.
38
- * @param keptAttachments - Pre-existing attachments the user did not remove.
39
- * @param newAttachments - New attachments added during editing.
40
- */
33
+ /** Called when the user clicks Save & Submit. */
41
34
  onSave: (message: string, keptAttachments: DisplayAttachment[], newAttachments: Attachment[]) => void;
42
35
  /** Called immediately after a new attachment is added. Returns the uploaded attachment URL. */
43
36
  onUploadAttachment?: (attachment: Attachment) => Promise<string>;
@@ -72,18 +65,16 @@ export interface EditMessageInputProps {
72
65
  */
73
66
  validateAttachment?: (attachment: Attachment) => AttachmentErrorReason | undefined;
74
67
  /**
75
- * Maximum number of kept plus newly added attachments. Undefined, `0`, or
76
- * non-finite values mean there is no count limit.
68
+ * When `false`, long pasted plain text is inserted inline instead of being
69
+ * converted to a text attachment. Set to `false` when the selected model
70
+ * does not support attachments. Defaults to `true`.
77
71
  */
72
+ isAttachmentsEnabled?: boolean;
73
+ /** Maximum total kept-plus-new attachments; unlimited when `undefined`, `0`, or non-finite. */
78
74
  maximumAttachmentsAmount?: number;
79
- /**
80
- * Called when adding a file/drop batch would exceed
81
- * `maximumAttachmentsAmount`.
82
- */
75
+ /** Called when adding a batch would exceed `maximumAttachmentsAmount`. */
83
76
  onAttachmentsLimitExceeded?: (count: number, limit: number) => void;
84
- /**
85
- * When `true`, the "Attach file" button is hidden.
86
- */
77
+ /** When `true`, the "Attach file" button is hidden. */
87
78
  hideAttachFile?: boolean;
88
79
  /**
89
80
  * Value applied verbatim as the `accept` attribute on the native device
@@ -101,6 +92,20 @@ export interface EditMessageInputProps {
101
92
  pendingAttachments?: Attachment[];
102
93
  /** Called after `pendingAttachments` have been inserted into the local tray. */
103
94
  onPendingAttachmentsConsumed?: () => void;
95
+ /**
96
+ * Called when the user clicks or keyboard-activates an attachment card in the tray.
97
+ * Covers both newly-added and pre-existing (kept) attachments.
98
+ * When absent the cards are not rendered as interactive.
99
+ */
100
+ onAttachmentClick?: (attachment: DisplayAttachment) => void;
101
+ /** Character count above which pasted plain-text triggers `onMessageTooLong` when attachments are disabled. Defaults to `4000`. */
102
+ pasteTextThreshold?: number;
103
+ /**
104
+ * Called when the user pastes text whose length is ≥ `pasteTextThreshold` while
105
+ * `isAttachmentsEnabled` is `false`. The text is still inserted inline — the
106
+ * host is responsible for surfacing the error to the user.
107
+ */
108
+ onMessageTooLong?: (length: number, max: number) => void;
104
109
  }
105
110
  /** Props accepted by the `ConversationInput` component. */
106
111
  export interface ConversationInputProps {
@@ -169,24 +174,30 @@ export interface ConversationInputProps {
169
174
  */
170
175
  isModelSelectorDisabled?: boolean;
171
176
  /**
172
- * When `true`, the mic button is rendered and voice recording is enabled.
173
- * The host app derives this from the selected deployment's `inputAttachmentTypes`.
174
- * When `false` or absent, the mic button is hidden and the voice bar is never shown.
177
+ * When `true`, disables the send action without removing or dimming the
178
+ * send button itself. Independent of `isInputDisabled`. Defaults to `false`.
175
179
  */
176
- isTranscriptionSupported?: boolean;
180
+ isSendDisabled?: boolean;
177
181
  /**
178
- * Called when the user confirms a voice recording.
179
- * Receives the recorded `File` and its detected MIME type.
180
- * Should resolve with the DIAL storage URL for the uploaded audio.
182
+ * Extra class name(s) merged onto the inner `Input` wrapper element (the
183
+ * bordered container around the textarea/model-selector/send-button row),
184
+ * distinct from `className` which styles this component's own outer root.
181
185
  */
182
- onUploadAudio?: (file: File, contentType: string) => Promise<string>;
186
+ inputClassName?: string;
183
187
  /**
184
- * Called after successful audio upload with the returned DIAL storage URL.
185
- * Should resolve with the transcript text.
188
+ * When `true`, the mic button is rendered and voice recording is enabled.
189
+ * The host app derives this from the selected deployment's `inputAttachmentTypes`.
190
+ * When `false` or absent, the mic button is hidden and the voice bar is never shown.
186
191
  */
187
- onTranscribeAudio?: (audioUrl: string) => Promise<string>;
192
+ isAudioMessageSupported?: boolean;
188
193
  /** Accessible label for the mic button. Defaults to `'Record voice message'`. */
189
194
  micLabel?: string;
195
+ /** Accessible label for the stop-recording button inside the voice bar. Defaults to `'Stop recording'`. */
196
+ stopRecordingLabel?: string;
197
+ /** Accessible label for the discard / X button inside the voice bar. Defaults to `'Discard recording'`. */
198
+ discardRecordingLabel?: string;
199
+ /** `aria-label` for the elapsed-time region inside the voice bar. Defaults to `'Recording time'`. */
200
+ timerAriaLabel?: string;
190
201
  /**
191
202
  * Controls which key combination submits the message.
192
203
  * - `SendOnEnter.Enter` (default): Enter submits; Shift+Enter inserts a newline.
@@ -228,6 +239,12 @@ export interface ConversationInputProps {
228
239
  * and `onUploadAttachment` is NOT called). Return `undefined` to allow normal upload.
229
240
  */
230
241
  validateAttachment?: (attachment: Attachment) => AttachmentErrorReason | undefined;
242
+ /**
243
+ * When `false`, long pasted plain text is inserted inline instead of being
244
+ * converted to a text attachment. Set to `false` when the selected model
245
+ * does not support attachments. Defaults to `true`.
246
+ */
247
+ isAttachmentsEnabled?: boolean;
231
248
  /**
232
249
  * Maximum number of attachments allowed in the input tray. Undefined, `0`,
233
250
  * or non-finite values mean there is no count limit.
@@ -246,15 +263,33 @@ export interface ConversationInputProps {
246
263
  hideAttachFile?: boolean;
247
264
  /**
248
265
  * Called when the user clicks or keyboard-activates an attachment card.
249
- * Receives the full `Attachment` object (including the local `File`).
266
+ * Receives a `DisplayAttachment` (covers both new and pre-existing attachments).
250
267
  * When absent the card is not rendered as interactive.
251
268
  */
252
- onAttachmentClick?: (attachment: Attachment) => void;
269
+ onAttachmentClick?: (attachment: DisplayAttachment) => void;
253
270
  /**
254
271
  * When provided, the desktop model-selector chip opens this panel instead of
255
272
  * the flat deployment list. Receives `onClose` so the panel can close the
256
273
  * popover after a selection or an explicit dismiss.
257
274
  */
258
275
  modelPickerOverlay?: (onClose: () => void) => ReactNode;
276
+ /** Resolved tool toggle items rendered in a "Tools" submenu. When empty or absent, no Tools item is shown. */
277
+ toolsMenuItems?: ToolMenuItem[];
278
+ /** Called when a tool row is toggled. Receives the tool id. */
279
+ onToolToggle?: (toolId: string) => void;
280
+ /** Label for the "Tools" menu item and mobile sheet title. Defaults to `'Tools'`. */
281
+ toolsMenuTitle?: string;
282
+ /** Accessible label for the back arrow in the mobile tools bottom sheet. Defaults to `'Back'`. */
283
+ toolsBackLabel?: string;
284
+ /** Labels for the selected-tools chip row shown in the input when tools are active. */
285
+ toolsChipLabels?: ToolsChipLabels;
286
+ /** Arbitrary slot rendered in the action row before the model selector. Use to inject app-level controls (e.g. a token-usage indicator). */
287
+ usageLimitsSlot?: ReactNode;
288
+ /**
289
+ * Called when the user pastes text whose length is ≥ `pasteTextThreshold` while
290
+ * `isAttachmentsEnabled` is `false`. The text is still inserted inline — the
291
+ * host is responsible for surfacing the error to the user.
292
+ */
293
+ onMessageTooLong?: (length: number, max: number) => void;
259
294
  }
260
295
  //# sourceMappingURL=ConversationInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationInput.d.ts","sourceRoot":"","sources":["../../src/models/ConversationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,WAAW,EACZ,MAAM,SA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H,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;CACzD"}
1
+ {"version":3,"file":"ConversationInput.d.ts","sourceRoot":"","sources":["../../src/models/ConversationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,kEAAkE;AAClE,MAAM,WAAW,2BAA2B;IAC1C,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED,qFAAqF;AACrF,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,8DAA8D;IAC9D,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wFAAwF;IACxF,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACzC,qDAAqD;IACrD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iDAAiD;IACjD,MAAM,EAAE,CACN,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,iBAAiB,EAAE,EACpC,cAAc,EAAE,UAAU,EAAE,KACzB,IAAI,CAAC;IAC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CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D"}
package/models/Input.d.ts CHANGED
@@ -1,10 +1,6 @@
1
- import { Attachment, AttachmentErrorReason, DeploymentFeatures, DeploymentItem, DisplayAttachment, ResponseFormat } from '@epam/ai-dial-chat-shared';
1
+ import { Attachment, AttachmentErrorReason, DeploymentFeatures, DeploymentItem, DisplayAttachment, ResponseFormat, ToolMenuItem } from '@epam/ai-dial-chat-shared';
2
2
  import { ReactNode } from 'react';
3
- /**
4
- * Controls which key combination submits the message in the `Input` component.
5
- * - `Enter` (default): Enter submits; Shift+Enter inserts a newline.
6
- * - `MetaEnter`: ⌘+Enter (macOS) / Ctrl+Enter (Windows/Linux) submits; bare Enter inserts a newline.
7
- */
3
+ /** Controls which key combination submits the message in the `Input` component. */
8
4
  export declare enum SendOnEnter {
9
5
  /** Enter submits; Shift+Enter inserts a newline. */
10
6
  Enter = "enter",
@@ -19,22 +15,24 @@ export interface InputColors {
19
15
  text?: string;
20
16
  /** Border color in the default (unfocused) state. */
21
17
  border?: string;
22
- /** Border color on hover (unfocused). */
23
- borderHover?: string;
24
18
  /** Border color when the input is focused. */
25
19
  borderFocus?: string;
26
20
  /** Placeholder text color. */
27
21
  placeholder?: string;
28
- /** Box-shadow in the default state (e.g. a subtle inset shadow). */
29
- shadow?: string;
30
- /** Box-shadow when the input is focused. Falls back to `shadow` when unset. */
31
- shadowFocus?: string;
32
- /** Background color of the send button. */
33
- sendBackground?: string;
34
- /** Icon/text color of the send button. */
35
- sendText?: string;
36
- /** Icon color of the stop button. Defaults to `--text-secondary` (`#9fa6bd`). */
37
- stopColor?: string;
22
+ /** text disabled color. */
23
+ textDisabled?: string;
24
+ /** Model-selector chip caret icon color. Defaults to `--text-primary`. */
25
+ modelSelectorCaret?: string;
26
+ /** Model-selector chip hover/active background color. Defaults to `--bg-control-accent-alpha-hover`/`--bg-control-accent-alpha-active`. */
27
+ modelSelectorHoverBg?: string;
28
+ /** Model-selector chip caret color when disabled. Defaults to `--text-control-disable`. */
29
+ modelSelectorDisabled?: string;
30
+ /** Voice bar error border/icon color. Defaults to `--stroke-error`/`--text-error`. */
31
+ voiceError?: string;
32
+ /** Voice bar waveform and timer text color. Defaults to `--text-primary`. */
33
+ voiceWaveform?: string;
34
+ /** Voice bar stop button and recording-dot accent color. Defaults to `--text-error`. */
35
+ voiceAccent?: string;
38
36
  }
39
37
  /** Typography overrides for the `Input` component. */
40
38
  export interface InputTypography {
@@ -56,6 +54,13 @@ export interface ModelSelectorLabels {
56
54
  /** Accessible label for the close button in the mobile bottom-sheet. Defaults to `'Close'`. */
57
55
  closeLabel?: string;
58
56
  }
57
+ /** Labels for the selected-tools chip row that appears in the input when tools are active. */
58
+ export interface ToolsChipLabels {
59
+ /** Formats the consolidated count label for the mobile chip. Receives the number of selected tools. Defaults to English pluralization. */
60
+ countLabel?: (count: number) => string;
61
+ /** Returns the accessible label for the close button on a desktop chip. Receives the tool label. Defaults to `"Remove {toolLabel}"`. */
62
+ removeLabel?: (toolLabel: string) => string;
63
+ }
59
64
  /** Props accepted by the `Input` component. */
60
65
  export interface InputProps {
61
66
  /**
@@ -70,7 +75,7 @@ export interface InputProps {
70
75
  messageRevision?: number;
71
76
  /** Called on every keystroke with the current textarea value. */
72
77
  onChange?: (message: string) => void;
73
- /** Called when the user submits a message (Enter or send button). Receives the current local attachments as the second argument. Returning a rejected promise transitions attachments to Error state. */
78
+ /** Called when the user submits a message. */
74
79
  onSend?: (message: string, attachments: Attachment[]) => Promise<void> | void;
75
80
  /** Called immediately after an attachment is added. Returns the uploaded attachment URL. */
76
81
  onUploadAttachment?: (attachment: Attachment) => Promise<string>;
@@ -122,6 +127,13 @@ export interface InputProps {
122
127
  onPendingAttachmentsConsumed?: () => void;
123
128
  /** Character count above which a pasted plain-text string is converted to an attachment rather than inserted inline. Defaults to `4000`. Pass `Infinity` to disable. */
124
129
  pasteTextThreshold?: number;
130
+ /**
131
+ * When `false`, long pasted plain text is inserted inline instead of being
132
+ * converted to a text attachment. Set to `false` when the selected model
133
+ * does not support attachments so that pasting a long prompt does not
134
+ * trigger an "Attachments not supported" error. Defaults to `true`.
135
+ */
136
+ isAttachmentsEnabled?: boolean;
125
137
  /**
126
138
  * List of deployment items to populate the model selector menu. When `undefined`, the selector is not rendered.
127
139
  * `iconUrl` on each item must already be a fully resolved URL usable in `<img src>` — the host app
@@ -143,7 +155,7 @@ export interface InputProps {
143
155
  /**
144
156
  * When `true`, the textarea always renders on its own row above the action bar
145
157
  * (attach button at the start, footer actions at the end), instead of the
146
- * compact single-row layout used when no attachments are present. Used by the
158
+ * compact single-row layout. Used by the
147
159
  * edit-message UI, which always wants the stacked layout.
148
160
  */
149
161
  isStacked?: boolean;
@@ -186,23 +198,25 @@ export interface InputProps {
186
198
  */
187
199
  isModelSelectorDisabled?: boolean;
188
200
  /**
189
- * When `true`, the mic button is rendered and voice recording is enabled.
190
- * Derived by the host app from the selected deployment's `inputAttachmentTypes`.
201
+ * When `true`, disables the send action without removing or dimming the
202
+ * send button itself. Independent of `isInputDisabled`/`isStreaming`.
203
+ * Defaults to `false`.
191
204
  */
192
- isTranscriptionSupported?: boolean;
205
+ isSendDisabled?: boolean;
193
206
  /**
194
- * Called when the user confirms a voice recording.
195
- * Receives the recorded `File` and its detected MIME type.
196
- * Resolves with the DIAL storage URL for the uploaded audio.
197
- */
198
- onUploadAudio?: (file: File, contentType: string) => Promise<string>;
199
- /**
200
- * Called after successful audio upload with the DIAL storage URL.
201
- * Resolves with the transcript text.
207
+ * When `true`, the mic button is rendered and voice recording is enabled.
208
+ * Derived by the host app from the selected deployment's `inputAttachmentTypes`.
209
+ * When `false` or absent, the mic button is hidden and the voice bar is never shown.
202
210
  */
203
- onTranscribeAudio?: (audioUrl: string) => Promise<string>;
211
+ isAudioMessageSupported?: boolean;
204
212
  /** Accessible label for the mic button. Defaults to `'Record voice message'`. */
205
213
  micLabel?: string;
214
+ /** Accessible label for the stop-recording button inside the voice bar. Defaults to `'Stop recording'`. */
215
+ stopRecordingLabel?: string;
216
+ /** Accessible label for the discard / X button inside the voice bar. Defaults to `'Discard recording'`. */
217
+ discardRecordingLabel?: string;
218
+ /** `aria-label` for the elapsed-time region inside the voice bar. Defaults to `'Recording time'`. */
219
+ timerAriaLabel?: string;
206
220
  /**
207
221
  * Controls which key combination submits the message.
208
222
  * - `SendOnEnter.Enter` (default): Enter submits; Shift+Enter inserts a newline.
@@ -219,6 +233,16 @@ export interface InputProps {
219
233
  * Modal state is managed internally by the component.
220
234
  */
221
235
  chatSettings?: ChatSettingsConfig;
236
+ /** Resolved tool toggle items rendered in a "Tools" submenu. When empty or absent, no Tools item is shown. */
237
+ toolsMenuItems?: ToolMenuItem[];
238
+ /** Called when a tool row is toggled. Receives the tool id. */
239
+ onToolToggle?: (toolId: string) => void;
240
+ /** Label for the "Tools" menu item and mobile sheet title. Defaults to `'Tools'`. */
241
+ toolsMenuTitle?: string;
242
+ /** Accessible label for the back arrow in the mobile tools bottom sheet. Defaults to `'Back'`. */
243
+ toolsBackLabel?: string;
244
+ /** Labels for the selected-tools chip row shown in the input when tools are active. */
245
+ toolsChipLabels?: ToolsChipLabels;
222
246
  /** When `true`, focuses the textarea on mount. Defaults to `false`. */
223
247
  autoFocus?: boolean;
224
248
  /**
@@ -249,16 +273,25 @@ export interface InputProps {
249
273
  onAttachmentsLimitExceeded?: (count: number, limit: number) => void;
250
274
  /**
251
275
  * Called when the user clicks or keyboard-activates an attachment card.
252
- * Receives the full `Attachment` object (including the local `File`).
276
+ * Receives a `DisplayAttachment` covers both newly-added attachments
277
+ * (which carry a local `File`) and pre-existing ones (which only have a URL).
253
278
  * When absent the card is not rendered as interactive.
254
279
  */
255
- onAttachmentClick?: (attachment: Attachment) => void;
280
+ onAttachmentClick?: (attachment: DisplayAttachment) => void;
256
281
  /**
257
282
  * When provided, the desktop model-selector chip opens this panel instead of
258
283
  * the flat deployment list. Receives `onClose` so the panel can close the
259
284
  * popover after a selection or an explicit dismiss.
260
285
  */
261
286
  modelPickerOverlay?: (onClose: () => void) => ReactNode;
287
+ /** Arbitrary slot rendered in the action row before the model selector. Use to inject app-level controls (e.g. a token-usage indicator). */
288
+ usageLimitsSlot?: ReactNode;
289
+ /**
290
+ * Called when the user pastes text whose length is ≥ `pasteTextThreshold` while
291
+ * `isAttachmentsEnabled` is `false`. The text is still inserted inline — the
292
+ * host is responsible for surfacing the error to the user.
293
+ */
294
+ onMessageTooLong?: (length: number, max: number) => void;
262
295
  }
263
296
  /** Values emitted by the chat-settings modal when the user clicks Save. */
264
297
  export interface ChatSettingsValues {
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/models/Input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;GAIG;AACH,oBAAY,WAAW;IACrB,oDAAoD;IACpD,KAAK,UAAU;IACf,0FAA0F;IAC1F,SAAS,eAAe;CACzB;AAED,+DAA+D;AAC/D,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,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IACrC,yEAAyE;IACzE,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gFAAgF;IAChF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4HAA4H;IAC5H,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,qDAAqD;IACrD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+FAA+F;IAC/F,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kGAAkG;IAClG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-input",
3
3
  "description": "Conversation message input with model selection, attachments, voice input, and edit mode",
4
- "version": "1.1.0-dev.8",
4
+ "version": "1.1.0-dev.87",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,13 +17,13 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@epam/ai-dial-attachment-input": "1.1.0-dev.8",
21
- "@epam/ai-dial-chat-shared": "1.1.0-dev.8",
22
- "@epam/ai-dial-ui-kit": "0.12.0-dev.36",
20
+ "@epam/ai-dial-attachment-input": "1.1.0-dev.87",
21
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.87",
23
22
  "@tabler/icons-react": "^3.44.0",
24
23
  "react": "^19.0.0",
25
24
  "react-dom": "^19.2.6",
26
- "@epam/ai-dial-kit": "1.1.0-dev.8"
25
+ "@epam/ai-dial-kit": "1.1.0-dev.87",
26
+ "@epam/ai-dial-ui-kit": "^0.13.0-dev.26"
27
27
  },
28
28
  "dependencies": {
29
29
  "react-window": "^2.2.7"
@@ -1,17 +1,8 @@
1
- /**
2
- * Runs `fn` over every item in `items` with at most `concurrency` calls in flight
3
- * at a time. Items are consumed from a shared queue by N concurrent workers, so
4
- * faster tasks don't leave workers idle waiting for a slow sibling.
5
- */
1
+ /** Runs `fn` over every item in `items` with at most `concurrency` calls in flight at a time. */
6
2
  export declare const runConcurrent: <T>(items: T[], concurrency: number, fn: (item: T) => Promise<void>) => Promise<void>;
7
3
  /**
8
- * Runs `fn` over every item in `items` at a steady rate of `maxPerMinute` calls
9
- * per minute. All calls run concurrently — the rate limit controls when each
10
- * call starts, not how many are in flight. This prevents bursting past a
11
- * server-side throttle window while still parallelising the work.
12
- *
13
- * Example: 200 items at 100/min → one call every 600 ms, all overlapping,
14
- * never more than 100 starts within any 60-second window.
4
+ * Runs `fn` over every item in `items` at a steady rate of `maxPerMinute` calls per minute.
5
+ * All calls run concurrently — the rate limit controls when each call starts, not how many are in flight.
15
6
  */
16
7
  export declare const runAtRate: <T>(items: T[], maxPerMinute: number, fn: (item: T) => Promise<void>) => Promise<void>;
17
8
  //# sourceMappingURL=concurrency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"concurrency.d.ts","sourceRoot":"","sources":["../../src/utils/concurrency.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAU,CAAC,EACnC,OAAO,CAAC,EAAE,EACV,aAAa,MAAM,EACnB,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,KAC7B,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAU,CAAC,EAC/B,OAAO,CAAC,EAAE,EACV,cAAc,MAAM,EACpB,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,KAC7B,OAAO,CAAC,IAAI,CAYd,CAAC"}
1
+ {"version":3,"file":"concurrency.d.ts","sourceRoot":"","sources":["../../src/utils/concurrency.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,eAAO,MAAM,aAAa,GAAU,CAAC,EACnC,OAAO,CAAC,EAAE,EACV,aAAa,MAAM,EACnB,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,KAC7B,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAU,CAAC,EAC/B,OAAO,CAAC,EAAE,EACV,cAAc,MAAM,EACpB,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,KAC7B,OAAO,CAAC,IAAI,CAYd,CAAC"}
@@ -7,9 +7,6 @@ export declare const getDeploymentLabel: (item: DeploymentItem) => string;
7
7
  * An empty/whitespace query returns the list unchanged.
8
8
  */
9
9
  export declare const filterDeployments: (deployments: DeploymentItem[], query: string) => DeploymentItem[];
10
- /**
11
- * Builds the leading icon for a deployment. Uses the resolved image URL when
12
- * available (with an error fallback and lazy loading) and an initials avatar otherwise.
13
- */
10
+ /** Builds the leading icon node for a deployment. */
14
11
  export declare const buildDeploymentIcon: (resolvedIconUrl: string | undefined, type: string | undefined, displayName: string, size?: number, tooltip?: string) => ReactNode;
15
12
  //# sourceMappingURL=deployment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../src/utils/deployment.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,GAAI,MAAM,cAAc,KAAG,MAC7B,CAAC;AAE9B;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,aAAa,cAAc,EAAE,EAC7B,OAAO,MAAM,KACZ,cAAc,EAMhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,iBAAiB,MAAM,GAAG,SAAS,EACnC,MAAM,MAAM,GAAG,SAAS,EACxB,aAAa,MAAM,EACnB,aAAS,EACT,UAAU,MAAM,KACf,SAOF,CAAC"}
1
+ {"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../src/utils/deployment.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,GAAI,MAAM,cAAc,KAAG,MAC7B,CAAC;AAE9B;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,aAAa,cAAc,EAAE,EAC7B,OAAO,MAAM,KACZ,cAAc,EAMhB,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,mBAAmB,GAC9B,iBAAiB,MAAM,GAAG,SAAS,EACnC,MAAM,MAAM,GAAG,SAAS,EACxB,aAAa,MAAM,EACnB,aAAS,EACT,UAAU,MAAM,KACf,SAOF,CAAC"}