@epam/ai-dial-conversation-input 1.2.0-dev.28 → 1.2.0-dev.282

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 (44) hide show
  1. package/components/AddAttachmentButton/AddAttachmentButton.d.ts +6 -0
  2. package/components/AddAttachmentButton/AddAttachmentButton.d.ts.map +1 -1
  3. package/components/BottomSheetShell/BottomSheetShell.d.ts +2 -2
  4. package/components/BottomSheetShell/BottomSheetShell.d.ts.map +1 -1
  5. package/components/ChatSettingsModal/ChatSettingsModal.d.ts.map +1 -1
  6. package/components/ConversationInput/ConversationInput.d.ts.map +1 -1
  7. package/components/EditMessageInput/EditMessageInput.d.ts.map +1 -1
  8. package/components/Input/Input.d.ts +2 -3
  9. package/components/Input/Input.d.ts.map +1 -1
  10. package/components/Input/ModelSelectorControl.d.ts +3 -1
  11. package/components/Input/ModelSelectorControl.d.ts.map +1 -1
  12. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts +3 -0
  13. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts.map +1 -1
  14. package/components/ToolsChips/ToolsChips.d.ts +11 -0
  15. package/components/ToolsChips/ToolsChips.d.ts.map +1 -1
  16. package/components/VoiceBar/VoiceBar.d.ts +1 -3
  17. package/components/VoiceBar/VoiceBar.d.ts.map +1 -1
  18. package/constants/public-class-names.d.ts +41 -0
  19. package/constants/public-class-names.d.ts.map +1 -0
  20. package/hooks/useAttachments.d.ts.map +1 -1
  21. package/hooks/useCommandMenu/useCommandMenu.d.ts +35 -5
  22. package/hooks/useCommandMenu/useCommandMenu.d.ts.map +1 -1
  23. package/hooks/useComposerSeed.d.ts +32 -0
  24. package/hooks/useComposerSeed.d.ts.map +1 -0
  25. package/hooks/useMentionSelectionMirror.d.ts +22 -0
  26. package/hooks/useMentionSelectionMirror.d.ts.map +1 -0
  27. package/hooks/useModelSelector.d.ts +7 -13
  28. package/hooks/useModelSelector.d.ts.map +1 -1
  29. package/hooks/useTextInsertion.d.ts +24 -2
  30. package/hooks/useTextInsertion.d.ts.map +1 -1
  31. package/hooks/useVoiceRecorder.d.ts.map +1 -1
  32. package/index.css +2 -2
  33. package/index.d.ts +5 -2
  34. package/index.d.ts.map +1 -1
  35. package/index.js +1549 -1257
  36. package/models/ConversationInput.d.ts +99 -16
  37. package/models/ConversationInput.d.ts.map +1 -1
  38. package/models/Input.d.ts +207 -32
  39. package/models/Input.d.ts.map +1 -1
  40. package/package.json +4 -5
  41. package/utils/highlight-mirror.d.ts +17 -0
  42. package/utils/highlight-mirror.d.ts.map +1 -0
  43. package/hooks/useBottomSheet.d.ts +0 -9
  44. package/hooks/useBottomSheet.d.ts.map +0 -1
@@ -1,6 +1,7 @@
1
+ import { AttachmentTrayStyles } from '@epam/ai-dial-attachment-input';
1
2
  import { Attachment, AttachmentErrorReason, DeploymentItem, DisplayAttachment, ToolMenuItem, UploadedAttachmentResult } from '@epam/ai-dial-chat-shared';
2
3
  import { ReactNode } from 'react';
3
- import { ChatSettingsConfig, CommandMenuConfig, InputColors, InputTypography, MenuOverlayConfig, ModelSelectorLabels, SendOnEnter, TextInsertion, ToolsChipLabels } from './Input';
4
+ import { ActionRowLayout, ChatSettingsConfig, CommandMenuConfig, HighlightedTextRange, InputColors, InputTypography, MenuOverlayConfig, ModelMenuStyles, ModelSelectorLabels, SendOnEnter, TextInsertion, ToolsChipLabels } from './Input';
4
5
  import { TranscribeAudio } from './Voice';
5
6
  /** CSS custom-property overrides for the `ConversationInput` component. */
6
7
  export interface ConversationInputColors {
@@ -26,23 +27,71 @@ export interface ConversationInputStyles {
26
27
  colors?: ConversationInputColors;
27
28
  /** Typography overrides for the welcome heading and input. */
28
29
  typography?: ConversationInputTypography;
30
+ /**
31
+ * Style overrides for the composer's attachment tray. Its `card` slot
32
+ * carries `AttachmentCardStyles` through to every tile, which is how a host
33
+ * sizes a tile or restyles its meta line without a descendant selector on
34
+ * `ATTACHMENT_INPUT_CLASS`.
35
+ */
36
+ attachmentTray?: AttachmentTrayStyles;
37
+ /**
38
+ * Styling hooks for the model menu in both presentations — the desktop
39
+ * dropdown and the mobile sheet — so a host restyles its panel, search row
40
+ * and selected row without a descendant selector on
41
+ * `CONVERSATION_INPUT_CLASS.modelMenu*`.
42
+ */
43
+ modelMenu?: ModelMenuStyles;
29
44
  }
30
45
  /** Props accepted by the `EditMessageInput` component. */
31
46
  export interface EditMessageInputProps {
32
47
  /** Initial message text pre-populated in the textarea. */
33
48
  message?: string;
34
49
  /**
35
- * Host-supplied content rendered inside the text area at its inline-start;
36
- * typed text starts after it on the first line and wraps at full width
37
- * below. Forwarded to the inner `Input`.
50
+ * Optional token that forces the textarea to resync from `message`, even
51
+ * when `message` itself is the same string as before (e.g. the host
52
+ * spliced a mention into its own copy of the draft at a known position and
53
+ * needs the textarea to adopt it). Forwarded to the inner `Input`.
54
+ */
55
+ messageRevision?: number;
56
+ /**
57
+ * Called with the textarea's current value on every change (typing,
58
+ * deleting, pasting, undo/redo) — not only on save. A host tracking live
59
+ * state derived from the draft (e.g. skill-mention anchors that must
60
+ * reconcile as the user edits around them) wires this; omit it to ignore
61
+ * keystrokes between saves.
62
+ */
63
+ onChange?: (message: string) => void;
64
+ /**
65
+ * Ranges of `message` rendered as highlighted runs (e.g. a restored skill
66
+ * mention). Forwarded to the inner `Input`.
38
67
  */
39
- inlineStartSlot?: ReactNode;
68
+ activeMentions?: HighlightedTextRange[];
40
69
  /**
41
- * Called when Backspace is pressed with the caret collapsed at position 0
42
- * while `inlineStartSlot` content is shown (the slot's remove gesture).
70
+ * Called on Backspace with the caret collapsed at some position, to ask
71
+ * whether a tracked range ends exactly there — see `Input`'s prop of the
72
+ * same name. Forwarded to the inner `Input`.
73
+ */
74
+ onBackspaceAtCaret?: (caretPosition: number) => HighlightedTextRange | undefined;
75
+ /**
76
+ * One-shot caret placement applied whenever the internal message resyncs
77
+ * from a new `message` value (e.g. right after inserting a mention).
43
78
  * Forwarded to the inner `Input`.
44
79
  */
45
- onInlineStartRemove?: () => void;
80
+ caretPositionOverride?: number;
81
+ /**
82
+ * Host-injected slash-command menu, forwarded to the inner `Input` — see
83
+ * `Input`'s prop of the same name. Absent disables the mechanism during
84
+ * edit.
85
+ */
86
+ commandMenu?: CommandMenuConfig;
87
+ /**
88
+ * Host-injected overlay entries for the `+` menu. `EditMessageInput` hides
89
+ * the inner `Input`'s own footer (`hideActionBar`) and renders its own
90
+ * external `AddAttachmentButton` instead, so these entries are forwarded to
91
+ * that button, not to `Input`. Absent renders no add-menu overlay entries
92
+ * during edit.
93
+ */
94
+ menuOverlays?: MenuOverlayConfig[];
46
95
  /** Pre-existing attachments from the original message, shown in the attachment tray. */
47
96
  initialAttachments?: DisplayAttachment[];
48
97
  /** Called when the user clicks the Cancel button. */
@@ -149,8 +198,25 @@ export interface EditMessageInputProps {
149
198
  }
150
199
  /** Props accepted by the `ConversationInput` component. */
151
200
  export interface ConversationInputProps {
201
+ /** Changing this token requests textarea focus without altering its value or caret. */
202
+ focusRequestId?: number;
152
203
  /** Placeholder text shown inside the textarea when empty. */
153
204
  placeholder?: string;
205
+ /**
206
+ * How the action row arranges the textarea and the controls around it.
207
+ * Defaults to `ActionRowLayout.Stacked`. `ActionRowLayout.Inline` applies
208
+ * from the desktop breakpoint (1280px) up, unless
209
+ * `isInlineActionRowAllowedBelowDesktop` opts the narrower widths in.
210
+ */
211
+ actionRowLayout?: ActionRowLayout;
212
+ /**
213
+ * When `true`, `ActionRowLayout.Inline` also applies below the desktop
214
+ * breakpoint (1280px). Set it when the embedded composer is wide enough
215
+ * there — a phone-width one is not. Affects the action row alone: the add
216
+ * menu and model picker keep their bottom-sheet presentation. Defaults to
217
+ * `false`.
218
+ */
219
+ isInlineActionRowAllowedBelowDesktop?: boolean;
154
220
  /**
155
221
  * Message value. Sets the initial textarea content on mount and syncs the
156
222
  * textarea whenever the value changes.
@@ -161,6 +227,14 @@ export interface ConversationInputProps {
161
227
  * when `message` itself is the same string as before.
162
228
  */
163
229
  messageRevision?: number;
230
+ /**
231
+ * Called with the textarea's current value on every change (typing,
232
+ * deleting, pasting, undo/redo) — not only on send. A host tracking live
233
+ * state derived from the draft (e.g. skill-mention anchors that must
234
+ * reconcile as the user edits around them) wires this; omit it to ignore
235
+ * keystrokes between sends, as before this prop existed.
236
+ */
237
+ onChange?: (message: string) => void;
164
238
  /**
165
239
  * Text inserted at the caret each time its `revision` changes, leaving the
166
240
  * surrounding draft intact. Unlike `message`, this never replaces what the
@@ -172,6 +246,8 @@ export interface ConversationInputProps {
172
246
  welcomeText?: string;
173
247
  /** Optional description text rendered below the welcome heading. Ignored when `welcomeText` is absent. */
174
248
  descriptionText?: string;
249
+ /** Slot rendered between the welcome heading and the input, e.g. conversation starters. */
250
+ belowWelcomeSlot?: ReactNode;
175
251
  /** Called when the user submits a message (Enter or send button). Receives the current local attachments as the second argument. */
176
252
  onSend?: (message: string, attachments: Attachment[]) => void;
177
253
  /** Called immediately after an attachment is added. Returns the uploaded attachment URL and stored name. */
@@ -220,6 +296,8 @@ export interface ConversationInputProps {
220
296
  sendLabel?: string;
221
297
  /** Tooltip shown on hover over the send button. */
222
298
  sendTooltip?: string;
299
+ /** Tooltip for an empty composer (no text, attachments, or inline-start slot). Defaults to sendTooltip. */
300
+ emptyMessageTooltip?: string;
223
301
  /** Accessible label for the stop button. */
224
302
  stopLabel?: string;
225
303
  /** Accessible label for each attachment card's remove button. Defaults to `'Remove attachment'`. */
@@ -379,17 +457,22 @@ export interface ConversationInputProps {
379
457
  */
380
458
  menuOverlays?: MenuOverlayConfig[];
381
459
  /**
382
- * Host-supplied content rendered inside the text area at its inline-start;
383
- * typed text starts after it on the first line and wraps at full width
384
- * below. Forwarded to the inner `Input`.
460
+ * Ranges of `message` rendered as highlighted runs (e.g. a tracked skill
461
+ * mention). Forwarded to the inner `Input`.
385
462
  */
386
- inlineStartSlot?: ReactNode;
463
+ activeMentions?: HighlightedTextRange[];
387
464
  /**
388
- * Called when Backspace is pressed with the caret collapsed at position 0
389
- * while `inlineStartSlot` is present (the slot's remove gesture). Forwarded
390
- * to the inner `Input`.
465
+ * Called on Backspace with the caret collapsed at some position, to ask
466
+ * whether a tracked range ends exactly there — see `Input`'s prop of the
467
+ * same name. Forwarded to the inner `Input`.
468
+ */
469
+ onBackspaceAtCaret?: (caretPosition: number) => HighlightedTextRange | undefined;
470
+ /**
471
+ * One-shot caret placement applied whenever the internal message resyncs
472
+ * from a new `message` value (e.g. right after inserting a mention).
473
+ * Forwarded to the inner `Input`.
391
474
  */
392
- onInlineStartRemove?: () => void;
475
+ caretPositionOverride?: number;
393
476
  /**
394
477
  * Host-injected slash-command menu: typing `triggerPrefix` as the first
395
478
  * character of an empty textarea — or pasting into an empty textarea a
@@ -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,EACjB,YAAY,EACZ,wBAAwB,EACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gEAAgE;IAChE,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,kEAAkE;AAClE,MAAM,WAAW,2BAA2B;IAC1C,qGAAqG;IACrG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B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C;IACxC;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kGAAkG;IAClG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,4IAA4I;IAC5I,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D"}
1
+ {"version":3,"file":"ConversationInput.d.ts","sourceRoot":"","sources":["../../src/models/ConversationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,wBAAwB,EACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,kCAAkC;IAClC,WAAW,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,eAAe,CAAC;IAClC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC;;;OAGG;IACH,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,CACnB,aAAa,EAAE,MAAM,KAClB,oBAAoB,GAAG,SAAS,CAAC;IACtC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,4IAA4I;IAC5I,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D"}
package/models/Input.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { AttachmentTrayStyles } from '@epam/ai-dial-attachment-input';
1
2
  import { Attachment, AttachmentErrorReason, DeploymentFeatures, DeploymentItem, DisplayAttachment, ResponseFormat, ToolMenuItem, UploadedAttachmentResult } from '@epam/ai-dial-chat-shared';
2
3
  import { ReactNode } from 'react';
3
4
  import { TranscribeAudio } from './Voice';
@@ -8,6 +9,13 @@ export declare enum SendOnEnter {
8
9
  /** ⌘+Enter (macOS) / Ctrl+Enter (Windows/Linux) submits; bare Enter inserts a newline. */
9
10
  MetaEnter = "meta-enter"
10
11
  }
12
+ /** Controls how the `Input` component arranges the textarea and the controls around it. */
13
+ export declare enum ActionRowLayout {
14
+ /** Textarea occupies its own line; the add button, tool chips, and footer actions wrap below it. */
15
+ Stacked = "stacked",
16
+ /** Add button, textarea, and footer actions share one line; tool chips move to their own row above. Applies below the desktop breakpoint only when the host opts in. */
17
+ Inline = "inline"
18
+ }
11
19
  /** CSS custom-property overrides for the `Input` component. */
12
20
  export interface InputColors {
13
21
  /** Input area background color. */
@@ -32,12 +40,18 @@ export interface InputColors {
32
40
  modelSelectorName?: string;
33
41
  /** Model-selector chip version text color (desktop only). Defaults to `--text-secondary`. */
34
42
  modelSelectorVersion?: string;
35
- /** Voice bar error border/icon color. Defaults to `--stroke-error`/`--text-error`. */
36
- voiceError?: string;
37
- /** Voice bar waveform and timer text color. Defaults to `--text-primary`. */
43
+ /** Voice bar waveform color. Defaults to `--text-primary`. */
38
44
  voiceWaveform?: string;
39
- /** Voice bar stop button and recording-dot accent color. Defaults to `--text-error`. */
45
+ /** Voice bar recording-dot color. Defaults to `--text-error`. */
40
46
  voiceAccent?: string;
47
+ /** Background color of a tracked skill mention's highlighted run. Defaults to `--bg-control-accent-alpha`. */
48
+ mentionHighlightBg?: string;
49
+ /** Text color of a tracked skill mention's highlighted run. Defaults to `--text-accent`. */
50
+ mentionHighlightText?: string;
51
+ /** Background color of a tracked skill mention's highlighted run while unsupported. Defaults to `--bg-error`. */
52
+ mentionHighlightUnsupportedBg?: string;
53
+ /** Text color of a tracked skill mention's highlighted run while unsupported. Defaults to `--text-error`. */
54
+ mentionHighlightUnsupportedText?: string;
41
55
  }
42
56
  /** Typography overrides for the `Input` component. */
43
57
  export interface InputTypography {
@@ -61,10 +75,51 @@ export interface ModelSelectorLabels {
61
75
  /** Tooltip shown when the selected deployment is no longer available (e.g. removed from the catalog). Defaults to `'This deployment is no longer available'`. */
62
76
  unavailableTooltip?: string;
63
77
  }
78
+ /** Color overrides for the model menu, applied as CSS custom properties. */
79
+ export interface ModelMenuColors {
80
+ /**
81
+ * Background of the search row above the deployment list. Defaults to
82
+ * `--bg-layer-raised` in the desktop dropdown, where the row is sticky over
83
+ * scrolling items, and to transparent in the mobile sheet.
84
+ */
85
+ searchHeaderBackground?: string;
86
+ /** Label and icon color of every deployment row. Defaults to `--text-primary`. */
87
+ itemText?: string;
88
+ /** Background of a hovered deployment row. Defaults to `--bg-control-accent-alpha-hover` on desktop and `--bg-layer-raised` in the sheet. */
89
+ itemHoverBackground?: string;
90
+ /** Background of the selected deployment row at rest. Defaults to none. */
91
+ selectedItemBackground?: string;
92
+ /** Label color of the selected deployment row. Defaults to `itemText`. */
93
+ selectedItemText?: string;
94
+ /** Color of the check mark on the selected row. Defaults to the row's text color on desktop and `--text-accent` in the sheet. */
95
+ checkIcon?: string;
96
+ }
97
+ /**
98
+ * Styling hooks for the model menu, applied in both presentations: the desktop
99
+ * dropdown and the mobile bottom sheet. Every class is merged after the
100
+ * component's own, so a conflicting utility replaces the default rather than
101
+ * landing beside it.
102
+ */
103
+ export interface ModelMenuStyles {
104
+ /** Class on the menu panel: the dropdown overlay on desktop, the sheet on mobile. Also applied when `modelPickerOverlay` supplies the content. */
105
+ className?: string;
106
+ /** Class on the search row above the deployment list. */
107
+ searchHeaderClassName?: string;
108
+ /** Class on every deployment row. */
109
+ itemClassName?: string;
110
+ /** Class on the currently selected deployment row, additive to `itemClassName`. */
111
+ selectedItemClassName?: string;
112
+ /** Color overrides applied as CSS custom properties. */
113
+ colors?: ModelMenuColors;
114
+ }
64
115
  /** Labels for the tool chips rendered in the conversation input. */
65
116
  export interface ToolsChipLabels {
66
117
  /** Returns the accessible label for a chip's × button, which drops the tool from the input. Receives the tool label. Defaults to `"Remove {toolLabel}"`. */
67
118
  removeLabel?: (toolLabel: string) => string;
119
+ /** Visible state text shown after the tool label while the tool is on, e.g. `"ON"`. Renders only when `stateOffLabel` is also set. */
120
+ stateOnLabel?: string;
121
+ /** Visible state text shown after the tool label while the tool is off, e.g. `"OFF"`. Renders only when `stateOnLabel` is also set. */
122
+ stateOffLabel?: string;
68
123
  }
69
124
  /** A host-injected overlay entry for the `+` menu: a menu item whose submenu renders host-owned content. */
70
125
  export interface MenuOverlayConfig {
@@ -74,8 +129,18 @@ export interface MenuOverlayConfig {
74
129
  title: string;
75
130
  /** Icon node rendered to the left of the menu-item label. */
76
131
  icon: ReactNode;
77
- /** Renders the overlay panel content. Receives a callback the panel calls to close the whole menu once selection is complete. */
78
- renderOverlay: (onClose: () => void) => ReactNode;
132
+ /**
133
+ * Renders the overlay panel content. Receives a callback the panel calls to
134
+ * close the whole menu once selection is complete, and the textarea's
135
+ * caret offset at the moment the overlay opened (0 when it cannot be
136
+ * determined) — e.g. so a selection made here can splice text in at that
137
+ * exact position via `message`/`messageRevision`/`caretPositionOverride`.
138
+ * The content is mounted inside a `role="menu"` container — the desktop
139
+ * submenu panel or the mobile sheet's wrapper — so selectable rows should
140
+ * be `role="menuitem"`: those are the rows the desktop submenu's
141
+ * ArrowUp/ArrowDown/Home/End navigation moves between.
142
+ */
143
+ renderOverlay: (onClose: () => void, caretPosition: number) => ReactNode;
79
144
  /** Accessible label for the back arrow in the mobile stacked bottom sheet. Defaults to `'Back'`. */
80
145
  backLabel?: string;
81
146
  }
@@ -83,18 +148,44 @@ export interface MenuOverlayConfig {
83
148
  export interface CommandMenuContext {
84
149
  /** Current query: the value typed after the trigger prefix, with no whitespace or second prefix character. */
85
150
  query: string;
151
+ /** Character offset where the triggering word (prefix + query) starts in the textarea's current value. */
152
+ caretPosition: number;
86
153
  /**
87
- * Closes the menu. Pass `{ consumeQuery: true }` to also remove the trigger
88
- * prefix and query from the textarea (the selection path — the `/query`
89
- * text is never sent); the default close leaves the text untouched.
154
+ * Closes the menu. `{ consumeQuery: true }` also removes the trigger
155
+ * prefix and query from the textarea; `{ returnFocus: false }` skips
156
+ * refocusing the textarea (see the host's own doc for when to use it).
90
157
  */
91
158
  close: (options?: {
92
159
  consumeQuery?: boolean;
160
+ returnFocus?: boolean;
93
161
  }) => void;
162
+ /**
163
+ * Id the menu puts on its `role="listbox"` element. The textarea references
164
+ * it through `aria-controls` while the menu is open.
165
+ */
166
+ listboxId: string;
167
+ /**
168
+ * Id of the option the keyboard currently has active, or `null` when none
169
+ * is. The textarea moves it through the menu's `role="option"` elements
170
+ * with ArrowDown/ArrowUp (wrapping at the ends) and exposes it through
171
+ * `aria-activedescendant`; the menu marks the matching option with
172
+ * `aria-selected="true"` and a visible highlight. Enter clicks the active
173
+ * option, so an option's `onClick` is its selection path for mouse and
174
+ * keyboard alike. Options must carry unique `id`s; one with
175
+ * `aria-disabled="true"` is skipped. Reset whenever the query changes.
176
+ */
177
+ activeOptionId: string | null;
94
178
  }
95
- /** Host-injected slash-command menu: an overlay opened by entering a trigger prefix into an empty textarea — typed or pasted. */
179
+ /**
180
+ * Host-injected slash-command menu: an overlay opened by entering a trigger
181
+ * prefix as its own word anywhere in the textarea. While it is open the
182
+ * textarea drives it as a list autocomplete: ArrowDown/ArrowUp move the
183
+ * active option (instead of navigating message history), Enter takes the
184
+ * active option and never sends the message, and Escape closes the menu
185
+ * keeping the text.
186
+ */
96
187
  export interface CommandMenuConfig {
97
- /** Prefix that opens the menu when entered into an empty textarea (e.g. `'/'`) — typed as its first character, or arriving in a paste whose result is the prefix alone or with a whitespace-free query. */
188
+ /** Prefix that opens the menu when it starts a whitespace-delimited word (e.g. `'/'`) — typed as the word's first character, or arriving in a paste that produces such a word. */
98
189
  triggerPrefix: string;
99
190
  /** Renders the menu content for the current query. */
100
191
  renderMenu: (ctx: CommandMenuContext) => ReactNode;
@@ -107,6 +198,35 @@ export interface CommandMenuConfig {
107
198
  /** Accessible name for the menu region. When absent, the content is rendered without a labeled wrapper. */
108
199
  menuLabel?: string;
109
200
  }
201
+ /**
202
+ * A range within `Input`'s current `message` text, rendered as a highlighted
203
+ * run (e.g. a skill mention's `/{name}` text). Positional only — beyond
204
+ * placement, `Input` attaches no meaning to what a range represents.
205
+ */
206
+ export interface HighlightedTextRange {
207
+ /** Character offset where the highlighted run starts. */
208
+ start: number;
209
+ /** Length of the highlighted run. */
210
+ length: number;
211
+ /**
212
+ * Renders the run in its error styling instead of the default highlight
213
+ * (e.g. a skill mention selected on a deployment that doesn't support
214
+ * skills). Ignored when `render` is provided — the renderer owns its own
215
+ * error styling. Defaults to `false`.
216
+ */
217
+ isUnsupported?: boolean;
218
+ /**
219
+ * Renders this range as host-owned content (e.g. `ChatSkill`, the same
220
+ * interactive chip a sent message renders it as) instead of the default
221
+ * highlight span. Unlike the rest of the mirror — which duplicates the
222
+ * textarea's own text purely for visual highlighting and stays inert
223
+ * (`pointer-events: none`, `aria-hidden`) — the returned node is rendered
224
+ * with real pointer events and outside `aria-hidden`, so hover/focus/click
225
+ * (a tooltip, a "View details" action) work exactly as they do once the
226
+ * mention is part of sent history.
227
+ */
228
+ render?: () => ReactNode;
229
+ }
110
230
  /** One-shot text hand-off that the `Input` inserts at the caret. */
111
231
  export interface TextInsertion {
112
232
  /** Text inserted at the caret, replacing whatever is selected. */
@@ -114,8 +234,20 @@ export interface TextInsertion {
114
234
  /** Token that performs the insertion; bump it to insert the same text again. */
115
235
  revision: number;
116
236
  }
237
+ /**
238
+ * Imperative handle exposed by `Input` via `ref`. Lets a host that renders
239
+ * its own UI outside `Input` (e.g. `EditMessageInput`'s external add-menu
240
+ * button, which sits alongside `Input` rather than inside it) read the live
241
+ * caret position without owning the textarea itself.
242
+ */
243
+ export interface InputHandle {
244
+ /** The textarea's current caret offset (its `selectionStart`), or the message's length when it cannot be read. */
245
+ getCaretPosition: () => number;
246
+ }
117
247
  /** Props accepted by the `Input` component. */
118
248
  export interface InputProps {
249
+ /** Changing this token requests textarea focus without altering its value or caret. */
250
+ focusRequestId?: number;
119
251
  /**
120
252
  * Message value. Sets the initial textarea content on mount and syncs the
121
253
  * textarea whenever the value changes.
@@ -129,8 +261,9 @@ export interface InputProps {
129
261
  /**
130
262
  * Text inserted at the caret each time its `revision` changes, leaving the
131
263
  * surrounding draft intact. Unlike `message`, this never replaces what the
132
- * user has written, and it is made through the browser's editing pipeline so
133
- * the native undo shortcut reverts it.
264
+ * user has written, and `Ctrl`/`Cmd`+`Z` undoes it. The insert lands one
265
+ * microtask after the render that requests it, and leaves the caret after
266
+ * the inserted text.
134
267
  */
135
268
  textInsertion?: TextInsertion;
136
269
  /** Called on every keystroke with the current textarea value. */
@@ -153,6 +286,13 @@ export interface InputProps {
153
286
  colors?: InputColors;
154
287
  /** Typography overrides applied as CSS custom properties. */
155
288
  typography?: InputTypography;
289
+ /**
290
+ * Style overrides for the attachment tray inside the composer and, through
291
+ * its `card` slot, for every tile in it.
292
+ */
293
+ attachmentTray?: AttachmentTrayStyles;
294
+ /** Styling hooks for the model menu: its panel, search row and deployment rows. */
295
+ modelMenu?: ModelMenuStyles;
156
296
  /** Label for the attach-file menu item. */
157
297
  attachLabel?: string;
158
298
  /**
@@ -175,6 +315,8 @@ export interface InputProps {
175
315
  sendLabel?: string;
176
316
  /** Tooltip shown on hover over the send button. */
177
317
  sendTooltip?: string;
318
+ /** Tooltip for an empty composer (no text, attachments, or inline-start slot). Defaults to sendTooltip. */
319
+ emptyMessageTooltip?: string;
178
320
  /** Accessible label for the stop button. */
179
321
  stopLabel?: string;
180
322
  /** Extra class name(s) merged onto the root wrapper element. */
@@ -253,6 +395,21 @@ export interface InputProps {
253
395
  * `EditMessageInput` where the action row lives outside the bordered box.
254
396
  */
255
397
  hideActionBar?: boolean;
398
+ /**
399
+ * How the action row arranges the textarea and the controls around it.
400
+ * Defaults to `ActionRowLayout.Stacked`. `ActionRowLayout.Inline` applies
401
+ * from the desktop breakpoint (1280px) up, unless
402
+ * `isInlineActionRowAllowedBelowDesktop` opts the narrower widths in.
403
+ */
404
+ actionRowLayout?: ActionRowLayout;
405
+ /**
406
+ * When `true`, `ActionRowLayout.Inline` also applies below the desktop
407
+ * breakpoint (1280px). Set it when the embedded composer is wide enough
408
+ * there — a phone-width one is not. Affects the action row alone: the add
409
+ * menu and model picker keep their bottom-sheet presentation. Defaults to
410
+ * `false`.
411
+ */
412
+ isInlineActionRowAllowedBelowDesktop?: boolean;
256
413
  /**
257
414
  * When provided, replaces the default send/stop/model-selector area with custom content.
258
415
  * Receives `canSend` (textarea has non-empty trimmed content) and `onSend` (triggers the
@@ -339,21 +496,33 @@ export interface InputProps {
339
496
  */
340
497
  menuOverlays?: MenuOverlayConfig[];
341
498
  /**
342
- * Host-supplied content rendered inside the text area at its inline-start;
343
- * typed text starts after it on the first line and wraps at full width
344
- * below. The slot's width is measured and the first text line indents past
345
- * it, and the placeholder is suppressed. Absent renders the text area
346
- * unchanged.
499
+ * Ranges of `message` rendered as highlighted runs — e.g. a host-tracked
500
+ * skill mention's `/{name}` text. The textarea's own text is rendered
501
+ * transparent (its caret stays visible and normally colored) and a
502
+ * non-interactive mirror underneath renders the same text with each range
503
+ * wrapped in a highlight span, so the highlighted text stays pixel-aligned
504
+ * with the real, editable characters underneath it. Carries no semantic
505
+ * meaning to `Input` beyond where to draw a highlight. Absent (or empty)
506
+ * renders the text area unchanged, with normal (non-transparent) text.
507
+ */
508
+ activeMentions?: HighlightedTextRange[];
509
+ /**
510
+ * Called on Backspace with the caret collapsed at some position, to ask the
511
+ * host whether a tracked range ends exactly there. Returning a range makes
512
+ * `Input` delete that whole range in one native edit (preserving undo)
513
+ * instead of the browser's default single-character deletion; returning
514
+ * `undefined` leaves Backspace unhandled. Absent disables the mechanism
515
+ * entirely (ordinary Backspace behavior).
347
516
  */
348
- inlineStartSlot?: ReactNode;
517
+ onBackspaceAtCaret?: (caretPosition: number) => HighlightedTextRange | undefined;
349
518
  /**
350
- * Called when Backspace is pressed with the caret collapsed at position 0
351
- * while `inlineStartSlot` is present — the slot's remove gesture (there is
352
- * nothing to delete backwards at position 0, so the keypress is redirected
353
- * to the slot and suppressed). Absent leaves Backspace with no slot-side
354
- * behavior.
519
+ * One-shot caret placement applied whenever `messageRevision` changes (e.g.
520
+ * right after the host pushes a new `message` that inserted a mention at a
521
+ * known position) — moves the caret there once, after the value updates.
522
+ * Absent leaves the caret wherever the browser puts it after the value
523
+ * change.
355
524
  */
356
- onInlineStartRemove?: () => void;
525
+ caretPositionOverride?: number;
357
526
  /**
358
527
  * Host-injected slash-command menu. When provided, typing `triggerPrefix`
359
528
  * as the first character of an empty textarea — or pasting into an empty
@@ -361,13 +530,19 @@ export interface InputProps {
361
530
  * whitespace-free, prefix-free query — opens an overlay above the input;
362
531
  * it stays open while the value keeps matching the prefix followed by a
363
532
  * query with no whitespace or second prefix character, and closes on
364
- * unmatch, Escape, or an outside click (a dismissed menu reopens only
365
- * after the value stops matching and the trigger is typed or pasted
366
- * again). Any other pasted value, and any paste into a non-empty
367
- * textarea, inserts as a regular paste and opens nothing. Selection
368
- * typically goes through `ctx.close({ consumeQuery: true })`, which
369
- * removes the `/query` text from the textarea. Absent disables the
370
- * mechanism.
533
+ * unmatch, Escape, or an outside click. Escape is the one dismissal that
534
+ * latches: the menu stays closed over that same word until the value stops
535
+ * matching and the trigger is typed or pasted again. An outside click only
536
+ * closes it for the moment — typing/deleting within the same still-matching
537
+ * word, or moving the caret back into it (a click, or refocusing the
538
+ * textarea), reopens it with no need to retype the trigger. A message can
539
+ * hold more than one command-shaped word at once; the menu always tracks
540
+ * whichever one the caret is actually in, re-evaluated on every such caret
541
+ * move rather than assumed from whichever word was active before. Any other
542
+ * pasted value, and any paste into a non-empty textarea, inserts as a
543
+ * regular paste and opens nothing. Selection typically goes through
544
+ * `ctx.close({ consumeQuery: true })`, which removes the `/query` text from
545
+ * the textarea. Absent disables the mechanism.
371
546
  */
372
547
  commandMenu?: CommandMenuConfig;
373
548
  /** When `true`, focuses the textarea on mount. Defaults to `false`. */
@@ -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,EACd,YAAY,EACZ,wBAAwB,EACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,mFAAmF;AACnF,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,CAA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ED,yEAAyE;AACzE,MAAM,WAAW,kBAAkB;IACjC,kEAAkE;IAClE,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,gGAAgG;IAChG,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,MAAM,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7C,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+GAA+G;IAC/G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qEAAqE;IACrE,2BAA2B,CAAC,EAAE,MAAM,CAAC;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.2.0-dev.28",
4
+ "version": "1.2.0-dev.282",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,13 +19,12 @@
19
19
  "dependencies": {
20
20
  "react-window": "^2.2.7",
21
21
  "@tabler/icons-react": "^3.44.0",
22
- "@epam/ai-dial-attachment-input": "1.2.0-dev.28"
22
+ "@epam/ai-dial-attachment-input": "1.2.0-dev.282"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.2.0-dev.28",
25
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.282",
26
26
  "react": "^19.2.8",
27
- "react-dom": "^19.2.8",
28
- "@epam/ai-dial-ui-kit": "^0.14.2"
27
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.36"
29
28
  },
30
29
  "repository": {
31
30
  "type": "git",