@epam/ai-dial-conversation-input 1.2.0-dev.3 → 1.2.0-dev.303

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 (47) 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/Buttons/SendButton.d.ts +2 -0
  9. package/components/Input/Buttons/SendButton.d.ts.map +1 -1
  10. package/components/Input/Input.d.ts +2 -3
  11. package/components/Input/Input.d.ts.map +1 -1
  12. package/components/Input/ModelSelectorControl.d.ts +3 -1
  13. package/components/Input/ModelSelectorControl.d.ts.map +1 -1
  14. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts +3 -0
  15. package/components/ModelSelectorBottomSheet/ModelSelectorBottomSheet.d.ts.map +1 -1
  16. package/components/ToolsChips/ToolsChips.d.ts +11 -0
  17. package/components/ToolsChips/ToolsChips.d.ts.map +1 -1
  18. package/components/VoiceBar/VoiceBar.d.ts +1 -3
  19. package/components/VoiceBar/VoiceBar.d.ts.map +1 -1
  20. package/constants/public-class-names.d.ts +41 -0
  21. package/constants/public-class-names.d.ts.map +1 -0
  22. package/hooks/useAttachments.d.ts +8 -1
  23. package/hooks/useAttachments.d.ts.map +1 -1
  24. package/hooks/useCommandMenu/useCommandMenu.d.ts +35 -5
  25. package/hooks/useCommandMenu/useCommandMenu.d.ts.map +1 -1
  26. package/hooks/useComposerSeed.d.ts +32 -0
  27. package/hooks/useComposerSeed.d.ts.map +1 -0
  28. package/hooks/useMentionSelectionMirror.d.ts +22 -0
  29. package/hooks/useMentionSelectionMirror.d.ts.map +1 -0
  30. package/hooks/useModelSelector.d.ts +7 -13
  31. package/hooks/useModelSelector.d.ts.map +1 -1
  32. package/hooks/useTextInsertion.d.ts +25 -3
  33. package/hooks/useTextInsertion.d.ts.map +1 -1
  34. package/hooks/useVoiceRecorder.d.ts.map +1 -1
  35. package/index.css +2 -2
  36. package/index.d.ts +5 -2
  37. package/index.d.ts.map +1 -1
  38. package/index.js +1606 -1301
  39. package/models/ConversationInput.d.ts +115 -18
  40. package/models/ConversationInput.d.ts.map +1 -1
  41. package/models/Input.d.ts +219 -34
  42. package/models/Input.d.ts.map +1 -1
  43. package/package.json +4 -5
  44. package/utils/highlight-mirror.d.ts +17 -0
  45. package/utils/highlight-mirror.d.ts.map +1 -0
  46. package/hooks/useBottomSheet.d.ts +0 -9
  47. package/hooks/useBottomSheet.d.ts.map +0 -1
package/index.d.ts CHANGED
@@ -1,12 +1,15 @@
1
+ export { CONVERSATION_INPUT_CLASS } from './constants/public-class-names';
1
2
  export { BottomSheetShell } from './components/BottomSheetShell/BottomSheetShell';
2
3
  export type { BottomSheetShellProps } from './components/BottomSheetShell/BottomSheetShell';
3
4
  export { ConversationInput } from './components/ConversationInput/ConversationInput';
4
5
  export { EditMessageInput } from './components/EditMessageInput/EditMessageInput';
5
6
  export { Input } from './components/Input/Input';
6
7
  export type { ConversationInputColors, ConversationInputProps, ConversationInputStyles, ConversationInputTypography, EditMessageInputProps, } from './models/ConversationInput';
7
- export { SendOnEnter } from './models/Input';
8
+ export { ActionRowLayout, SendOnEnter } from './models/Input';
9
+ export { useComposerSeed, useComposerSeedSource, } from './hooks/useComposerSeed';
10
+ export type { UseComposerSeedInitial, UseComposerSeedResult, } from './hooks/useComposerSeed';
8
11
  export type { TranscribeAudio } from './models/Voice';
9
- export type { ChatSettingsValues, CommandMenuConfig, CommandMenuContext, InputColors, InputProps, InputTypography, MenuOverlayConfig, TextInsertion, ToolsChipLabels, } from './models/Input';
12
+ export type { ChatSettingsValues, CommandMenuConfig, CommandMenuContext, HighlightedTextRange, InputColors, InputHandle, InputProps, InputTypography, MenuOverlayConfig, ModelMenuColors, ModelMenuStyles, TextInsertion, ToolsChipLabels, } from './models/Input';
10
13
  export type { BottomSheetColors, BottomSheetItem, } from './components/BottomSheet/BottomSheet';
11
14
  export { ChatSettingsModal, type ChatSettingsModalProps, } from './components/ChatSettingsModal/ChatSettingsModal';
12
15
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +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,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,iBAAiB,EACjB,eAAe,GAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,kDAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,O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