@epam/ai-dial-conversation-input 0.0.0-dev.0

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 (59) hide show
  1. package/components/AddAttachmentButton/AddAttachmentButton.d.ts +39 -0
  2. package/components/AddAttachmentButton/AddAttachmentButton.d.ts.map +1 -0
  3. package/components/BottomSheet/BottomSheet.d.ts +45 -0
  4. package/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  5. package/components/BottomSheetShell/BottomSheetShell.d.ts +39 -0
  6. package/components/BottomSheetShell/BottomSheetShell.d.ts.map +1 -0
  7. package/components/ChatSettingsBottomSheet/ChatSettingsBottomSheet.d.ts +58 -0
  8. package/components/ChatSettingsBottomSheet/ChatSettingsBottomSheet.d.ts.map +1 -0
  9. package/components/ChatSettingsFields/ChatSettingsFields.d.ts +40 -0
  10. package/components/ChatSettingsFields/ChatSettingsFields.d.ts.map +1 -0
  11. package/components/ChatSettingsModal/ChatSettingsModal.d.ts +46 -0
  12. package/components/ChatSettingsModal/ChatSettingsModal.d.ts.map +1 -0
  13. package/components/ConversationInput/ConversationInput.d.ts +4 -0
  14. package/components/ConversationInput/ConversationInput.d.ts.map +1 -0
  15. package/components/EditMessageInput/EditMessageInput.d.ts +4 -0
  16. package/components/EditMessageInput/EditMessageInput.d.ts.map +1 -0
  17. package/components/Input/Buttons/SendButton.d.ts +12 -0
  18. package/components/Input/Buttons/SendButton.d.ts.map +1 -0
  19. package/components/Input/Buttons/StopButton.d.ts +9 -0
  20. package/components/Input/Buttons/StopButton.d.ts.map +1 -0
  21. package/components/Input/Input.d.ts +4 -0
  22. package/components/Input/Input.d.ts.map +1 -0
  23. package/components/Input/ModelSelectorControl.d.ts +25 -0
  24. package/components/Input/ModelSelectorControl.d.ts.map +1 -0
  25. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts +40 -0
  26. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts.map +1 -0
  27. package/components/ModelSelectorSkeleton/ModelSelectorSkeleton.d.ts +16 -0
  28. package/components/ModelSelectorSkeleton/ModelSelectorSkeleton.d.ts.map +1 -0
  29. package/components/VoiceBar/VoiceBar.d.ts +36 -0
  30. package/components/VoiceBar/VoiceBar.d.ts.map +1 -0
  31. package/hooks/useAttachments.d.ts +55 -0
  32. package/hooks/useAttachments.d.ts.map +1 -0
  33. package/hooks/useBottomSheet.d.ts +6 -0
  34. package/hooks/useBottomSheet.d.ts.map +1 -0
  35. package/hooks/useChatSettingsForm.d.ts +30 -0
  36. package/hooks/useChatSettingsForm.d.ts.map +1 -0
  37. package/hooks/useInputHistoryNavigation.d.ts +18 -0
  38. package/hooks/useInputHistoryNavigation.d.ts.map +1 -0
  39. package/hooks/useMessageState.d.ts +24 -0
  40. package/hooks/useMessageState.d.ts.map +1 -0
  41. package/hooks/useModelSelector.d.ts +35 -0
  42. package/hooks/useModelSelector.d.ts.map +1 -0
  43. package/hooks/useVoiceRecorder.d.ts +48 -0
  44. package/hooks/useVoiceRecorder.d.ts.map +1 -0
  45. package/index.css +2 -0
  46. package/index.d.ts +12 -0
  47. package/index.d.ts.map +1 -0
  48. package/index.js +83660 -0
  49. package/models/ConversationInput.d.ts +204 -0
  50. package/models/ConversationInput.d.ts.map +1 -0
  51. package/models/Input.d.ts +283 -0
  52. package/models/Input.d.ts.map +1 -0
  53. package/package.json +30 -0
  54. package/test-setup.d.ts +6 -0
  55. package/test-setup.d.ts.map +1 -0
  56. package/utils/concurrency.d.ts +17 -0
  57. package/utils/concurrency.d.ts.map +1 -0
  58. package/utils/deployment.d.ts +15 -0
  59. package/utils/deployment.d.ts.map +1 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Manages keyboard-driven Up/Down navigation through a list of previously
3
+ * sent messages from a chat input textarea.
4
+ *
5
+ * The hook tracks the current history index (-1 = draft mode) and saves the
6
+ * unsent draft when the user first enters history mode. The returned object
7
+ * reference is stable across renders so it does not cause unnecessary
8
+ * re-renders when passed as a dependency.
9
+ *
10
+ * @param messageHistory - Ordered list of previously sent message strings
11
+ * (oldest first). Pass `undefined` or an empty array to disable navigation.
12
+ */
13
+ export declare const useInputHistoryNavigation: (messageHistory: readonly string[] | undefined) => {
14
+ navigate: (direction: "up" | "down", currentValue: string, cursorPos: number) => string | null;
15
+ notifyChange: () => void;
16
+ reset: () => void;
17
+ };
18
+ //# sourceMappingURL=useInputHistoryNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInputHistoryNavigation.d.ts","sourceRoot":"","sources":["../../src/hooks/useInputHistoryNavigation.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,GACpC,gBAAgB,SAAS,MAAM,EAAE,GAAG,SAAS;0BAgB9B,IAAI,GAAG,MAAM,gBACV,MAAM,aACT,MAAM,KAChB,MAAM,GAAG,IAAI;;;CAqDnB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ /** Parameters for the {@link useMessageState} hook. */
3
+ interface UseMessageStateParams {
4
+ /** Controlled message value from the parent. Syncs into local state whenever it changes to a non-empty string. */
5
+ messageProp: string;
6
+ }
7
+ /** Return value of the {@link useMessageState} hook. */
8
+ export interface UseMessageStateResult {
9
+ /** Current textarea value. */
10
+ message: string;
11
+ /** Update the local message value. */
12
+ setMessage: Dispatch<SetStateAction<string>>;
13
+ /** Ref attached to the `<textarea>` element. */
14
+ textareaRef: React.RefObject<HTMLTextAreaElement | null>;
15
+ /** `true` when the textarea content spans more than one visual line. */
16
+ isMultiLine: boolean;
17
+ }
18
+ /**
19
+ * Manages textarea message value, parent-prop sync, and multi-line detection
20
+ * for the `Input` component.
21
+ */
22
+ export declare const useMessageState: ({ messageProp, }: UseMessageStateParams) => UseMessageStateResult;
23
+ export {};
24
+ //# sourceMappingURL=useMessageState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMessageState.d.ts","sourceRoot":"","sources":["../../src/hooks/useMessageState.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EAKf,MAAM,OAAO,CAAC;AAEf,uDAAuD;AACvD,UAAU,qBAAqB;IAC7B,kHAAkH;IAClH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wDAAwD;AACxD,MAAM,WAAW,qBAAqB;IACpC,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,sCAAsC;IACtC,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,gDAAgD;IAChD,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACzD,wEAAwE;IACxE,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,kBAE7B,qBAAqB,KAAG,qBAgC1B,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { DeploymentItem } from '@epam/ai-dial-chat-shared';
2
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
3
+ import { ReactNode } from 'react';
4
+ import { ModelSelectorLabels } from '../models/Input';
5
+ /** Options passed to `useModelSelector`. */
6
+ export interface UseModelSelectorOptions {
7
+ /** Available deployment items. When `undefined`, the selector is hidden. `iconUrl` must already be resolved by the host app. */
8
+ deployments?: DeploymentItem[];
9
+ /** Currently selected deployment ID. */
10
+ selectedDeploymentId?: string | null;
11
+ /** Called when the user picks a different deployment. */
12
+ onDeploymentChange?: (id: string) => void;
13
+ /** Status labels for the selector dropdown. */
14
+ modelSelectorLabels?: ModelSelectorLabels;
15
+ /** Class applied to the sticky search header wrapper for theming. Defaults to `'bg-layer-0'`. */
16
+ searchHeaderClassName?: string;
17
+ }
18
+ /** Values returned by `useModelSelector`. */
19
+ export interface UseModelSelectorResult {
20
+ /** Icon node for the trigger button. */
21
+ selectorIcon: ReactNode;
22
+ /** Accessible label for the trigger button. */
23
+ selectorAriaLabel: string;
24
+ /** Display name of the currently selected deployment, or `undefined` when none is selected or loading. */
25
+ selectedLabel: string | undefined;
26
+ /** Menu items for the deployment dropdown. */
27
+ menuItems: DropdownItem[];
28
+ /** Sticky search header rendered above the menu items. */
29
+ menuHeader: ReactNode;
30
+ /** Should be passed to `DialDropdownIcon.onOpenChange` to reset the search on close. */
31
+ onOpenChange: (isOpen: boolean) => void;
32
+ }
33
+ /** Encapsulates model selector state, filtering, and menu construction. */
34
+ export declare const useModelSelector: ({ deployments, selectedDeploymentId, onDeploymentChange, modelSelectorLabels, searchHeaderClassName, }: UseModelSelectorOptions) => UseModelSelectorResult;
35
+ //# sourceMappingURL=useModelSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useModelSelector.d.ts","sourceRoot":"","sources":["../../src/hooks/useModelSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAIL,YAAY,EAEb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAM1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAO3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,gIAAgI;IAChI,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,wCAAwC;IACxC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,+CAA+C;IAC/C,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,iGAAiG;IACjG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,6CAA6C;AAC7C,MAAM,WAAW,sBAAsB;IACrC,wCAAwC;IACxC,YAAY,EAAE,SAAS,CAAC;IACxB,+CAA+C;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0GAA0G;IAC1G,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,8CAA8C;IAC9C,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,0DAA0D;IAC1D,UAAU,EAAE,SAAS,CAAC;IACtB,wFAAwF;IACxF,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC;AAED,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,GAAI,wGAM9B,uBAAuB,KAAG,sBA2H5B,CAAC"}
@@ -0,0 +1,48 @@
1
+ /** Possible states of the voice recorder lifecycle. */
2
+ export declare enum VoiceRecorderState {
3
+ /** Microphone is not active; no recording in progress. */
4
+ Idle = "idle",
5
+ /** Microphone is open and audio is being captured. */
6
+ Recording = "recording",
7
+ /** Recording has ended; awaiting user confirmation or discard. */
8
+ Stopped = "stopped",
9
+ /** Audio is being uploaded and transcribed. */
10
+ Uploading = "uploading",
11
+ /** An error occurred during recording, upload, or transcription. */
12
+ Error = "error"
13
+ }
14
+ /** Options accepted by `useVoiceRecorder`. */
15
+ export interface UseVoiceRecorderOptions {
16
+ /** Called when the user confirms the recording. Resolves with the DIAL storage URL. */
17
+ onUploadAudio?: (file: File, contentType: string) => Promise<string>;
18
+ /** Called after successful upload. Resolves with the transcript text. */
19
+ onTranscribeAudio?: (audioUrl: string) => Promise<string>;
20
+ /** Called when transcription completes successfully. */
21
+ onTranscript?: (transcript: string) => void;
22
+ }
23
+ /** Return value of `useVoiceRecorder`. */
24
+ export interface UseVoiceRecorderResult {
25
+ /** Current recorder state. */
26
+ state: VoiceRecorderState;
27
+ /** Accumulated RMS amplitude history (one value per ~30 fps frame). `null` when idle. Frozen on stop. */
28
+ waveformData: Float32Array | null;
29
+ /** Human-readable error message in `error` state, otherwise `null`. */
30
+ errorMessage: string | null;
31
+ /** Requests microphone access and starts recording. No-op unless `state === 'idle'`. */
32
+ startRecording: () => void;
33
+ /** Stops the active recording. No-op unless `state === 'recording'`. */
34
+ stopRecording: () => void;
35
+ /** Uploads and transcribes the recorded audio. No-op unless `state === 'stopped' | 'error'`. */
36
+ confirmRecording: () => void;
37
+ /** Discards the current recording and resets to `idle`. Works from any non-idle state. */
38
+ discardRecording: () => void;
39
+ }
40
+ /**
41
+ * Manages the five-state voice recording lifecycle:
42
+ * `idle` → `recording` → `stopped` → `uploading` → `idle` (success) | `error` (failure)
43
+ *
44
+ * Waveform data is sampled via `AnalyserNode` at ~30 fps during recording and
45
+ * frozen on stop. Media resources are released on discard and on unmount.
46
+ */
47
+ export declare const useVoiceRecorder: ({ onUploadAudio, onTranscribeAudio, onTranscript, }: UseVoiceRecorderOptions) => UseVoiceRecorderResult;
48
+ //# sourceMappingURL=useVoiceRecorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useVoiceRecorder.d.ts","sourceRoot":"","sources":["../../src/hooks/useVoiceRecorder.ts"],"names":[],"mappings":"AAEA,uDAAuD;AACvD,oBAAY,kBAAkB;IAC5B,0DAA0D;IAC1D,IAAI,SAAS;IACb,sDAAsD;IACtD,SAAS,cAAc;IACvB,kEAAkE;IAClE,OAAO,YAAY;IACnB,+CAA+C;IAC/C,SAAS,cAAc;IACvB,oEAAoE;IACpE,KAAK,UAAU;CAChB;AAED,8CAA8C;AAC9C,MAAM,WAAW,uBAAuB;IACtC,uFAAuF;IACvF,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC1D,wDAAwD;IACxD,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED,0CAA0C;AAC1C,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,yGAAyG;IACzG,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,uEAAuE;IACvE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,wFAAwF;IACxF,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,wEAAwE;IACxE,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,gGAAgG;IAChG,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0FAA0F;IAC1F,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAYD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,GAAI,qDAI9B,uBAAuB,KAAG,sBAmL5B,CAAC"}
package/index.css ADDED
@@ -0,0 +1,2 @@
1
+ @keyframes _slide-up_3xrn0_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}._backdrop_3xrn0_9{background:var(--ci-background-Backdrop,#0c101db2)}._sheet_3xrn0_13{background:var(--ci-sheet-bg,var(--bg-layer-0,#fcfcfc));animation:.3s cubic-bezier(.32,.72,0,1) _slide-up_3xrn0_1}._title_3xrn0_18{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._divider_3xrn0_22{background:var(--ci-sheet-divider,var(--bg-layer-4,#d1dbea))}._item_vou13_1{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._item_vou13_1:hover{background:var(--ci-sheet-item-hover,var(--bg-layer-3,#fcfcfc))}._item_vou13_1:active{background:var(--ci-sheet-item-active,var(--bg-layer-4,#d1dbea))}._itemIcon_vou13_11{color:var(--ci-sheet-icon,var(--text-secondary,#575f73))}._container_15iwh_1{background:var(--ci-bg,var(--bg-layer-0,#fcfcfc));border-color:var(--ci-border,var(--stroke-secondary,#d1dbea))}._container_15iwh_1._containerError_15iwh_5{border-color:var(--ci-voice-error,var(--error-default,#f04438))}._waveformCanvas_15iwh_9{color:var(--ci-voice-waveform,var(--text-primary,#161b2d))}._recordingDot_15iwh_17{background:var(--ci-voice-accent,var(--error-default,#f04438))}._micRecordingIcon_15iwh_21{color:var(--ci-voice-accent,var(--error-default,#f04438))}._wrapper_1n33j_1{background:var(--ci-bg,var(--bg-layer-0,#fcfcfc));border-color:var(--ci-border,#0000000d);box-shadow:var(--ci-shadow,0 8px 24px #10182814);transition:border-color .15s,box-shadow .15s}._wrapper_1n33j_1:hover:not(:focus-within){border-color:var(--ci-border-hover,#0000001f)}._wrapper_1n33j_1:focus-within{border-color:var(--ci-border-focus,color-mix(in srgb, var(--stroke-accent-primary,#7da4ff) 50%, transparent));box-shadow:var(--ci-shadow-focus,0 8px 24px #10182814)}._wrapper_1n33j_1._wrapperDisabled_1n33j_14{background:var(--ci-bg-disabled,var(--controls-bg-disable,#d1dbea));cursor:not-allowed}._textarea_1n33j_19{color:var(--ci-text,var(--text-primary,#161b2d))}._textarea_1n33j_19::placeholder{color:var(--ci-placeholder,var(--text-secondary,#9fa6bd))}._textarea_1n33j_19:disabled{color:var(--ci-text-disabled,var(--controls-text-primary-disable,#696e7c));cursor:not-allowed}._textarea_1n33j_19:disabled::placeholder{color:var(--ci-placeholder-disabled,var(--controls-text-secondary-disable,#9fa6bd))}._stopIcon_1n33j_33{color:var(--ci-stop-color,var(--text-secondary,#575f73))}._modelSelectorButton_1n33j_37 ._modelSelectorCaret_1n33j_37{color:var(--ci-model-selector-caret-color,var(--text-primary,#161b2d))}._modelSelectorButton_1n33j_37:hover,._modelSelectorButton_1n33j_37:active{background:var(--ci-model-selector-hover-bg,var(--controls-bg-accent-primary-alpha-active,#7da4ff5c))}._modelSelectorButton_1n33j_37:hover ._modelSelectorCaret_1n33j_37,._modelSelectorButton_1n33j_37:active ._modelSelectorCaret_1n33j_37{background:var(--ci-model-selector-caret-hover-bg,var(--bg-accent-primary-alpha,#7da4ff2e))}._modelSelectorButton_1n33j_37:active ._modelSelectorCaret_1n33j_37{background:var(--ci-model-selector-hover-bg,var(--controls-bg-accent-primary-alpha-active,#7da4ff5c))}._modelSelectorButton_1n33j_37._modelSelectorButtonDisabled_1n33j_49{color:var(--ci-model-selector-disabled-color,var(--controls-text-primary-disable,#696e7c))}._modelSelectorButton_1n33j_37._modelSelectorButtonDisabled_1n33j_49 ._modelSelectorCaret_1n33j_37{color:var(--ci-model-selector-disabled-color,var(--controls-text-primary-disable,#696e7c));background:var(--ci-bg-disabled,var(--controls-bg-disable,#d1dbea))}._sendButton_1n33j_57{background:var(--ci-send-bg,var(--controls-bg-accent-primary,#124ace));color:var(--ci-send-text,var(--controls-text-permanent,#fcfcfc))}._sendButton_1n33j_57:hover{background:var(--ci-send-bg-hover,var(--controls-bg-accent-primary-hover,#2656d9))}._sendButton_1n33j_57:active{background:var(--ci-send-bg-active,var(--controls-bg-accent-primary-active,#3664e2))}._sendButton_1n33j_57:disabled{background:var(--ci-send-bg-disabled,var(--controls-bg-disable,#d1dbea));color:var(--ci-send-text-disabled,var(--controls-text-primary-disable,#696e7c))}._divider_3wv6u_1{background:var(--ci-sheet-divider,var(--bg-layer-4,#d1dbea))}._item_3wv6u_5{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._item_3wv6u_5:hover{background:var(--ci-sheet-item-hover,var(--bg-layer-3,#fcfcfc))}._item_3wv6u_5:active{background:var(--ci-sheet-item-active,var(--bg-layer-4,#d1dbea))}._itemIcon_3wv6u_15{color:var(--ci-sheet-icon,var(--text-secondary,#575f73))}._checkIcon_3wv6u_19{color:var(--ci-check-icon,var(--text-accent-primary,#124ace))}._stateLabel_3wv6u_23{color:var(--ci-sheet-text,var(--text-secondary,#575f73))}._welcome_n2ph8_1{color:var(--ci-welcome-color,var(--text-primary,#161b2d))}
2
+ /*$vite$:1*/
package/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export { BottomSheetShell } from './components/BottomSheetShell/BottomSheetShell';
2
+ export type { BottomSheetShellProps } from './components/BottomSheetShell/BottomSheetShell';
3
+ export { ConversationInput } from './components/ConversationInput/ConversationInput';
4
+ export { EditMessageInput } from './components/EditMessageInput/EditMessageInput';
5
+ export { Input } from './components/Input/Input';
6
+ export type { ConversationInputColors, ConversationInputProps, ConversationInputStyles, ConversationInputTypography, EditMessageInputProps, } from './models/ConversationInput';
7
+ export { SendOnEnter } from './models/Input';
8
+ export type { ChatSettingsValues, InputColors, InputProps, InputTypography, } from './models/Input';
9
+ export { AttachmentCard, AttachmentTray, FileDndOverlay, getAttachmentIcon, } from '../../attachment-input/src/index.ts';
10
+ export type { BottomSheetItem } from './components/BottomSheet/BottomSheet';
11
+ export { ChatSettingsModal, type ChatSettingsModalProps, } from './components/ChatSettingsModal/ChatSettingsModal';
12
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,YAAY,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EACd,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AACxC,YAAY,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,kDAAkD,CAAC"}