reachat 2.1.0-alpha.2 → 2.1.0-alpha.21

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 (56) hide show
  1. package/dist/AppBar/AppBar.d.ts +1 -1
  2. package/dist/{CSVFileRenderer-CpB8ngRc.js → CSVFileRenderer-GYEEFRXD.js} +15 -14
  3. package/dist/CSVFileRenderer-GYEEFRXD.js.map +1 -0
  4. package/dist/Chat.d.ts +3 -3
  5. package/dist/ChatBubble/ChatBubble.d.ts +1 -1
  6. package/dist/ChatContext.d.ts +2 -2
  7. package/dist/ChatInput/ChatInput.d.ts +16 -0
  8. package/dist/ChatInput/FileInput.d.ts +5 -1
  9. package/dist/{DefaultFileRenderer-DEgyNAd4.js → DefaultFileRenderer-CUcl0kc2.js} +2 -2
  10. package/dist/DefaultFileRenderer-CUcl0kc2.js.map +1 -0
  11. package/dist/ImageFileRenderer-C8tVW3I8.js.map +1 -1
  12. package/dist/Markdown/CodeHighlighter.d.ts +4 -0
  13. package/dist/Markdown/Markdown.d.ts +5 -0
  14. package/dist/Markdown/Table.d.ts +1 -1
  15. package/dist/Markdown/index.d.ts +2 -2
  16. package/dist/Markdown/plugins/remarkCve.d.ts +2 -1
  17. package/dist/PDFFileRenderer-BBn2EVrV.js +16 -0
  18. package/dist/PDFFileRenderer-BBn2EVrV.js.map +1 -0
  19. package/dist/SessionMessages/SessionEmpty.d.ts +1 -4
  20. package/dist/SessionMessages/SessionMessage/MessageFile/renderers/index.d.ts +1 -1
  21. package/dist/SessionMessages/SessionMessage/MessageFiles.d.ts +1 -1
  22. package/dist/SessionMessages/SessionMessage/MessageQuestion.d.ts +4 -0
  23. package/dist/SessionMessages/SessionMessage/MessageSources.d.ts +1 -1
  24. package/dist/SessionMessages/SessionMessage/SessionMessage.d.ts +4 -0
  25. package/dist/SessionMessages/SessionMessage/index.d.ts +2 -2
  26. package/dist/SessionMessages/SessionMessages.d.ts +14 -1
  27. package/dist/SessionMessages/index.d.ts +2 -2
  28. package/dist/SessionsList/index.d.ts +2 -2
  29. package/dist/docs.json +216 -20
  30. package/dist/{index-DVFyp_Cz.js → index-CwH75cwk.js} +1336 -1269
  31. package/dist/index-CwH75cwk.js.map +1 -0
  32. package/dist/index.css +6358 -727
  33. package/dist/index.d.ts +7 -6
  34. package/dist/index.js +32 -31
  35. package/dist/index.umd.cjs +1321 -1246
  36. package/dist/index.umd.cjs.map +1 -1
  37. package/dist/stories/Changelog.mdx +1 -1
  38. package/dist/stories/Chat.stories.tsx +28 -23
  39. package/dist/stories/ChatBubble.stories.tsx +3 -3
  40. package/dist/stories/Companion.stories.tsx +6 -6
  41. package/dist/stories/Console.stories.tsx +23 -23
  42. package/dist/stories/Integration.stories.tsx +2 -2
  43. package/dist/stories/Intro.mdx +1 -1
  44. package/dist/stories/Markdown.stories.tsx +318 -0
  45. package/dist/stories/assets/logo.svg +38 -19
  46. package/dist/stories/assets/paperclip.svg +4 -1
  47. package/dist/stories/assets/search.svg +5 -1
  48. package/dist/stories/examples.ts +20 -13
  49. package/dist/theme.d.ts +21 -0
  50. package/dist/utils/index.d.ts +1 -0
  51. package/package.json +63 -47
  52. package/dist/CSVFileRenderer-CpB8ngRc.js.map +0 -1
  53. package/dist/DefaultFileRenderer-DEgyNAd4.js.map +0 -1
  54. package/dist/PDFFileRenderer-DQdFS2l6.js +0 -9
  55. package/dist/PDFFileRenderer-DQdFS2l6.js.map +0 -1
  56. package/dist/index-DVFyp_Cz.js.map +0 -1
package/dist/docs.json CHANGED
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "theme": {
107
107
  "defaultValue": {
108
- "value": "{\n base: 'dark:text-white text-gray-500',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] dark:bg-[#11111F] bg-[#F2F3F7] p-5 rounded-3xl',\n companion: 'w-full h-full',\n group:\n 'text-xs dart:text-gray-400 text-gray-700 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: [\n 'group my-1 rounded-[10px] p-2 text-gray-500 border border-transparent hover:bg-gray-300 hover:border-gray-400 [&_svg]:text-gray-500',\n 'dark:text-typography dark:text-gray-400 dark:hover:bg-gray-800/50 dark:hover:border-gray-700/50 dark:[&_svg]:text-gray-200'\n ].join(' '),\n active: [\n 'border border-gray-300 hover:border-gray-400 text-gray-700 bg-gray-200 hover:bg-gray-300 ',\n 'dark:text-gray-500 dark:bg-gray-800/70 dark:border-gray-700/50 dark:text-white dark:border-gray-700/70 dark:hover:bg-gray-800/50',\n '[&_button]:opacity-100!'\n ].join(' '),\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start p-0 my-2',\n inner: 'flex-1 h-full flex flex-col',\n title: ['text-base font-bold text-gray-500', 'dark:text-gray-200'].join(\n ' '\n ),\n date: 'text-xs whitespace-nowrap text-gray-400',\n content: [\n 'mt-2 flex-1 overflow-auto [&_hr]:bg-gray-200',\n 'dark:[&_hr]:bg-gray-800/60'\n ].join(' '),\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question: [\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-gray-200 border-gray-300 text-gray-900',\n 'dark:bg-gray-900/60 dark:border-gray-700/50 dark:text-gray-100'\n ].join(' '),\n response: [\n 'relative data-[compact=false]:px-4 text-gray-900',\n 'dark:text-gray-100'\n ].join(' '),\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent dark:after:to-gray-900 after:to-gray-200\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-1 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: [\n 'flex items-center gap-2 border border-gray-300 px-3 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n name: ['text-sm text-gray-500', 'dark:text-gray-200'].join(' ')\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: [\n 'flex gap-2 border border-gray-200 px-4 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-blue-400 underline'\n }\n },\n markdown: {\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-blue-400 underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-gray-500',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n toolbar:\n 'text-xs dark:bg-gray-700/50 flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gray-200 ',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal'\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: [\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-200 hover:text-gray-500',\n 'dark:hover:bg-gray-800 dark:hover:text-white text-gray-400'\n ].join(' '),\n upvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload: ['px-5 py-2 text-gray-400 size-10', 'dark:gray-500'].join(' '),\n input: [\n 'w-full border rounded-3xl px-3 py-2 pr-16 text-gray-500 border-gray-200 hover:bg-blue-100 hover:border-blue-500 after:hidden after:mx-10! bg-white [&>textarea]:w-full [&>textarea]:flex-none',\n 'dark:border-gray-700/50 dark:text-gray-200 dark:bg-gray-950 dark:hover:bg-blue-950/40'\n ].join(' '),\n actions: {\n base: 'absolute flex gap-2 items-center right-5 inset-y-1/2 -translate-y-1/2 z-10',\n send: [\n 'px-3 py-3 hover:bg-primary-hover rounded-full bg-gray-200 hover:bg-gray-300 text-gray-500',\n 'dark:text-white light:text-gray-500 dark:bg-gray-800 dark:hover:bg-gray-700'\n ].join(' '),\n stop: 'px-2 py-2 bg-red-500 text-white rounded-full hover:bg-red-700 '\n }\n }\n}"
108
+ "value": "{\n base: 'text-content-text-neutral-base',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] bg-gradient-neutral-200 p-5 rounded-3xl',\n companion: 'w-full h-full',\n group: 'text-xs text-content-text-neutral-3 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: 'group my-1 rounded-[10px] p-2 text-content-text-neutral-1 border border-transparent',\n active:\n 'border-select-menu-items-color-item-stroke-row-hover [&_button]:opacity-100!',\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start pl-0 my-2 ',\n inner: 'flex-1 h-full flex flex-col',\n title: 'text-base font-bold',\n date: 'text-xs whitespace-nowrap text-content-text-neutral-2',\n content: 'mt-2 flex-1 overflow-auto',\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question:\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-(--background-neutral-raised-5) border-(--stroke-neutral-5)',\n response:\n 'relative data-[compact=false]:px-4 text-content-text-neutral-base',\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent after:to-effects-shadows-base-2-xl\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-0 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: 'flex items-center gap-2 border border-stroke-neutral-4 px-3 py-2 rounded-lg cursor-pointer',\n name: 'text-sm text-content-text-neutral-4'\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: 'flex gap-2 border border-stroke-neutral-4 px-4 py-2 rounded-lg cursor-pointer',\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-buttons-colors-link-primary-text-resting underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n inlineCode: 'bg-gradient-neutral-200 p-1 rounded',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal',\n h1: 'text-4xl font-bold mb-4 mt-6',\n h2: 'text-3xl font-bold mb-3 mt-5',\n h3: 'text-2xl font-bold mb-3 mt-4',\n h4: 'text-xl font-bold mb-2 mt-3',\n h5: 'text-lg font-bold mb-2 mt-2',\n h6: 'text-base font-bold mb-2 mt-2'\n },\n csvPreview: {\n base: 'flex flex-col gap-2',\n header: {\n base: 'flex justify-between items-center gap-4',\n icon: 'csv-icon flex items-center',\n actions: 'csv-actions flex items-center gap-6'\n },\n tableContainer: 'flex justify-between',\n dialog: {\n base: 'fixed inset-0 bg-background-neutral-canvas-base/70 flex justify-center items-center z-50',\n container:\n 'bg-background-neutral-canvas-base rounded-md w-11/12 h-5/6 overflow-auto'\n }\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n upvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload:\n 'px-5 py-2 size-10 text-content-text-neutral-2 hover:text-content-text-neutral-base',\n input:\n 'w-full border rounded-3xl px-3 py-2 pr-16 after:hidden after:mx-10! [&>textarea]:w-full [&>textarea]:flex-none [&>textarea]:outline-none [&>textarea]:resize-none',\n actions: {\n base: 'absolute flex gap-2 items-center right-2 inset-y-1/2 -translate-y-1/2 z-10',\n send: 'px-3 py-3 hover:bg-primary-hover rounded-full size-8',\n stop: 'px-2 py-2 bg-content-assets-semantic-error-base text-white rounded-full hover:bg-content-assets-semantic-error-1 size-8'\n }\n }\n}"
109
109
  },
110
110
  "description": "Custom theme for the chat.",
111
111
  "name": "theme",
@@ -142,7 +142,7 @@
142
142
  ],
143
143
  "required": false,
144
144
  "type": {
145
- "name": "Plugin<[], Node, Node>[]"
145
+ "name": "Plugin[]"
146
146
  }
147
147
  },
148
148
  "isLoading": {
@@ -327,7 +327,7 @@
327
327
  },
328
328
  "theme": {
329
329
  "defaultValue": {
330
- "value": "{\n base: 'dark:text-white text-gray-500',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] dark:bg-[#11111F] bg-[#F2F3F7] p-5 rounded-3xl',\n companion: 'w-full h-full',\n group:\n 'text-xs dart:text-gray-400 text-gray-700 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: [\n 'group my-1 rounded-[10px] p-2 text-gray-500 border border-transparent hover:bg-gray-300 hover:border-gray-400 [&_svg]:text-gray-500',\n 'dark:text-typography dark:text-gray-400 dark:hover:bg-gray-800/50 dark:hover:border-gray-700/50 dark:[&_svg]:text-gray-200'\n ].join(' '),\n active: [\n 'border border-gray-300 hover:border-gray-400 text-gray-700 bg-gray-200 hover:bg-gray-300 ',\n 'dark:text-gray-500 dark:bg-gray-800/70 dark:border-gray-700/50 dark:text-white dark:border-gray-700/70 dark:hover:bg-gray-800/50',\n '[&_button]:opacity-100!'\n ].join(' '),\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start p-0 my-2',\n inner: 'flex-1 h-full flex flex-col',\n title: ['text-base font-bold text-gray-500', 'dark:text-gray-200'].join(\n ' '\n ),\n date: 'text-xs whitespace-nowrap text-gray-400',\n content: [\n 'mt-2 flex-1 overflow-auto [&_hr]:bg-gray-200',\n 'dark:[&_hr]:bg-gray-800/60'\n ].join(' '),\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question: [\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-gray-200 border-gray-300 text-gray-900',\n 'dark:bg-gray-900/60 dark:border-gray-700/50 dark:text-gray-100'\n ].join(' '),\n response: [\n 'relative data-[compact=false]:px-4 text-gray-900',\n 'dark:text-gray-100'\n ].join(' '),\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent dark:after:to-gray-900 after:to-gray-200\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-1 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: [\n 'flex items-center gap-2 border border-gray-300 px-3 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n name: ['text-sm text-gray-500', 'dark:text-gray-200'].join(' ')\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: [\n 'flex gap-2 border border-gray-200 px-4 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-blue-400 underline'\n }\n },\n markdown: {\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-blue-400 underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-gray-500',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n toolbar:\n 'text-xs dark:bg-gray-700/50 flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gray-200 ',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal'\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: [\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-200 hover:text-gray-500',\n 'dark:hover:bg-gray-800 dark:hover:text-white text-gray-400'\n ].join(' '),\n upvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload: ['px-5 py-2 text-gray-400 size-10', 'dark:gray-500'].join(' '),\n input: [\n 'w-full border rounded-3xl px-3 py-2 pr-16 text-gray-500 border-gray-200 hover:bg-blue-100 hover:border-blue-500 after:hidden after:mx-10! bg-white [&>textarea]:w-full [&>textarea]:flex-none',\n 'dark:border-gray-700/50 dark:text-gray-200 dark:bg-gray-950 dark:hover:bg-blue-950/40'\n ].join(' '),\n actions: {\n base: 'absolute flex gap-2 items-center right-5 inset-y-1/2 -translate-y-1/2 z-10',\n send: [\n 'px-3 py-3 hover:bg-primary-hover rounded-full bg-gray-200 hover:bg-gray-300 text-gray-500',\n 'dark:text-white light:text-gray-500 dark:bg-gray-800 dark:hover:bg-gray-700'\n ].join(' '),\n stop: 'px-2 py-2 bg-red-500 text-white rounded-full hover:bg-red-700 '\n }\n }\n}"
330
+ "value": "{\n base: 'text-content-text-neutral-base',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] bg-gradient-neutral-200 p-5 rounded-3xl',\n companion: 'w-full h-full',\n group: 'text-xs text-content-text-neutral-3 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: 'group my-1 rounded-[10px] p-2 text-content-text-neutral-1 border border-transparent',\n active:\n 'border-select-menu-items-color-item-stroke-row-hover [&_button]:opacity-100!',\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start pl-0 my-2 ',\n inner: 'flex-1 h-full flex flex-col',\n title: 'text-base font-bold',\n date: 'text-xs whitespace-nowrap text-content-text-neutral-2',\n content: 'mt-2 flex-1 overflow-auto',\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question:\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-(--background-neutral-raised-5) border-(--stroke-neutral-5)',\n response:\n 'relative data-[compact=false]:px-4 text-content-text-neutral-base',\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent after:to-effects-shadows-base-2-xl\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-0 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: 'flex items-center gap-2 border border-stroke-neutral-4 px-3 py-2 rounded-lg cursor-pointer',\n name: 'text-sm text-content-text-neutral-4'\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: 'flex gap-2 border border-stroke-neutral-4 px-4 py-2 rounded-lg cursor-pointer',\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-buttons-colors-link-primary-text-resting underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n inlineCode: 'bg-gradient-neutral-200 p-1 rounded',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal',\n h1: 'text-4xl font-bold mb-4 mt-6',\n h2: 'text-3xl font-bold mb-3 mt-5',\n h3: 'text-2xl font-bold mb-3 mt-4',\n h4: 'text-xl font-bold mb-2 mt-3',\n h5: 'text-lg font-bold mb-2 mt-2',\n h6: 'text-base font-bold mb-2 mt-2'\n },\n csvPreview: {\n base: 'flex flex-col gap-2',\n header: {\n base: 'flex justify-between items-center gap-4',\n icon: 'csv-icon flex items-center',\n actions: 'csv-actions flex items-center gap-6'\n },\n tableContainer: 'flex justify-between',\n dialog: {\n base: 'fixed inset-0 bg-background-neutral-canvas-base/70 flex justify-center items-center z-50',\n container:\n 'bg-background-neutral-canvas-base rounded-md w-11/12 h-5/6 overflow-auto'\n }\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n upvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload:\n 'px-5 py-2 size-10 text-content-text-neutral-2 hover:text-content-text-neutral-base',\n input:\n 'w-full border rounded-3xl px-3 py-2 pr-16 after:hidden after:mx-10! [&>textarea]:w-full [&>textarea]:flex-none [&>textarea]:outline-none [&>textarea]:resize-none',\n actions: {\n base: 'absolute flex gap-2 items-center right-2 inset-y-1/2 -translate-y-1/2 z-10',\n send: 'px-3 py-3 hover:bg-primary-hover rounded-full size-8',\n stop: 'px-2 py-2 bg-content-assets-semantic-error-base text-white rounded-full hover:bg-content-assets-semantic-error-1 size-8'\n }\n }\n}"
331
331
  },
332
332
  "description": "Custom theme for the appbar",
333
333
  "name": "theme",
@@ -501,6 +501,27 @@
501
501
  "name": "string[]"
502
502
  }
503
503
  },
504
+ "allowMultipleFiles": {
505
+ "defaultValue": {
506
+ "value": "false"
507
+ },
508
+ "description": "Allow multiple file uploads.",
509
+ "name": "allowMultipleFiles",
510
+ "parent": {
511
+ "fileName": "src/ChatInput/ChatInput.tsx",
512
+ "name": "ChatInputProps"
513
+ },
514
+ "declarations": [
515
+ {
516
+ "fileName": "src/ChatInput/ChatInput.tsx",
517
+ "name": "ChatInputProps"
518
+ }
519
+ ],
520
+ "required": false,
521
+ "type": {
522
+ "name": "boolean"
523
+ }
524
+ },
504
525
  "placeholder": {
505
526
  "defaultValue": null,
506
527
  "description": "Placeholder text for the input field.",
@@ -600,6 +621,25 @@
600
621
  "name": "string"
601
622
  }
602
623
  },
624
+ "className": {
625
+ "defaultValue": null,
626
+ "description": "Class name to apply to the container.",
627
+ "name": "className",
628
+ "parent": {
629
+ "fileName": "src/ChatInput/ChatInput.tsx",
630
+ "name": "ChatInputProps"
631
+ },
632
+ "declarations": [
633
+ {
634
+ "fileName": "src/ChatInput/ChatInput.tsx",
635
+ "name": "ChatInputProps"
636
+ }
637
+ ],
638
+ "required": false,
639
+ "type": {
640
+ "name": "string"
641
+ }
642
+ },
603
643
  "onMessageChange": {
604
644
  "defaultValue": null,
605
645
  "description": "Callback function to handle message change.",
@@ -647,6 +687,25 @@
647
687
  "name": "string[]"
648
688
  }
649
689
  },
690
+ "multiple": {
691
+ "defaultValue": null,
692
+ "description": "Allow multiple file uploads.",
693
+ "name": "multiple",
694
+ "parent": {
695
+ "fileName": "src/ChatInput/FileInput.tsx",
696
+ "name": "FileInputProps"
697
+ },
698
+ "declarations": [
699
+ {
700
+ "fileName": "src/ChatInput/FileInput.tsx",
701
+ "name": "FileInputProps"
702
+ }
703
+ ],
704
+ "required": true,
705
+ "type": {
706
+ "name": "boolean"
707
+ }
708
+ },
650
709
  "isLoading": {
651
710
  "defaultValue": null,
652
711
  "description": "Indicates whether a file upload is in progress.",
@@ -753,6 +812,25 @@
753
812
  "name": "string"
754
813
  }
755
814
  },
815
+ "inlineClassName": {
816
+ "defaultValue": null,
817
+ "description": "The class name to apply to the inline code.",
818
+ "name": "inlineClassName",
819
+ "parent": {
820
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
821
+ "name": "CodeHighlighterProps"
822
+ },
823
+ "declarations": [
824
+ {
825
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
826
+ "name": "CodeHighlighterProps"
827
+ }
828
+ ],
829
+ "required": false,
830
+ "type": {
831
+ "name": "string"
832
+ }
833
+ },
756
834
  "language": {
757
835
  "defaultValue": null,
758
836
  "description": "The language of the code block.",
@@ -833,7 +911,7 @@
833
911
  },
834
912
  "theme": {
835
913
  "defaultValue": {
836
- "value": "{\n 'code[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none'\n },\n 'pre[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none',\n 'padding': '1em',\n 'margin': '0',\n 'overflow': 'auto'\n },\n 'code[class*=\"language-\"]::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"]::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n ':not(pre) > code[class*=\"language-\"]': {\n 'padding': '0.2em 0.3em',\n 'borderRadius': '0.3em',\n 'whiteSpace': 'normal'\n },\n 'comment': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n 'prolog': {\n 'color': '#64748b'\n },\n 'cdata': {\n 'color': '#64748b'\n },\n 'doctype': {\n 'color': '#e2e8f0'\n },\n 'punctuation': {\n 'color': '#e2e8f0'\n },\n 'entity': {\n 'color': '#3b82f6',\n 'cursor': 'help'\n },\n 'attr-name': {\n 'color': '#f59e0b'\n },\n 'class-name': {\n 'color': '#f59e0b'\n },\n 'boolean': {\n 'color': '#3b82f6'\n },\n 'constant': {\n 'color': '#3b82f6'\n },\n 'number': {\n 'color': '#3b82f6'\n },\n 'atrule': {\n 'color': '#f59e0b'\n },\n 'keyword': {\n 'color': '#f472b6'\n },\n 'property': {\n 'color': '#3b82f6'\n },\n 'tag': {\n 'color': '#3b82f6'\n },\n 'symbol': {\n 'color': '#3b82f6'\n },\n 'deleted': {\n 'color': '#ef4444'\n },\n 'important': {\n 'color': '#f472b6'\n },\n 'selector': {\n 'color': '#10b981'\n },\n 'string': {\n 'color': '#10b981'\n },\n 'char': {\n 'color': '#10b981'\n },\n 'builtin': {\n 'color': '#10b981'\n },\n 'inserted': {\n 'color': '#10b981'\n },\n 'regex': {\n 'color': '#10b981'\n },\n 'attr-value': {\n 'color': '#10b981'\n },\n 'attr-value > .token.punctuation': {\n 'color': '#10b981'\n },\n 'variable': {\n 'color': '#60a5fa'\n },\n 'operator': {\n 'color': '#60a5fa'\n },\n 'function': {\n 'color': '#60a5fa'\n },\n 'url': {\n 'color': '#60a5fa'\n },\n 'attr-value > .token.punctuation.attr-equals': {\n 'color': '#e2e8f0'\n },\n 'special-attr > .token.attr-value > .token.value.css': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.selector': {\n 'color': '#3b82f6'\n },\n '.language-css .token.property': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.string.url': {\n 'color': '#10b981'\n },\n '.language-css .token.important': {\n 'color': '#f472b6'\n },\n '.language-css .token.atrule .token.rule': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.operator': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation': {\n 'color': '#ef4444'\n },\n '.language-json .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-json .token.null.keyword': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.url': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url-reference.url > .token.string': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.content': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url > .token.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url-reference.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.blockquote.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.hr.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.code-snippet': {\n 'color': '#10b981'\n },\n '.language-markdown .token.bold .token.content': {\n 'color': '#f59e0b'\n },\n '.language-markdown .token.italic .token.content': {\n 'color': '#f472b6'\n },\n '.language-markdown .token.strike .token.content': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.strike .token.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.list.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.title.important > .token.punctuation': {\n 'color': '#3b82f6'\n },\n 'bold': {\n 'fontWeight': 'bold'\n },\n 'italic': {\n 'fontStyle': 'italic'\n },\n 'namespace': {\n 'Opacity': '0.8'\n },\n 'token.tab:not(:empty):before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.cr:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.lf:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.space:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {\n 'marginRight': '0.4em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n '.line-highlight.line-highlight': {\n 'background': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-highlight.line-highlight:before': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n '.line-highlight.line-highlight[data-end]:after': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before': {\n 'backgroundColor': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-numbers.line-numbers .line-numbers-rows': {\n 'borderRightColor': '#1e293b'\n },\n '.command-line .command-line-prompt': {\n 'borderRightColor': '#1e293b'\n },\n '.line-numbers .line-numbers-rows > span:before': {\n 'color': '#64748b'\n },\n '.command-line .command-line-prompt > span:before': {\n 'color': '#64748b'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-1': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-5': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-9': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-2': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-6': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-10': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-3': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-7': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-11': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-4': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-8': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-12': {\n 'color': '#f472b6'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n '.prism-previewer.prism-previewer:before': {\n 'borderColor': '#11111f'\n },\n '.prism-previewer-gradient.prism-previewer-gradient div': {\n 'borderColor': '#11111f',\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-color.prism-previewer-color:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-easing.prism-previewer-easing:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer.prism-previewer:after': {\n 'borderTopColor': '#11111f'\n },\n '.prism-previewer-flipped.prism-previewer-flipped.after': {\n 'borderBottomColor': '#11111f'\n },\n '.prism-previewer-angle.prism-previewer-angle:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-time.prism-previewer-time:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-easing.prism-previewer-easing': {\n 'background': '#1e293b'\n },\n '.prism-previewer-angle.prism-previewer-angle circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-time.prism-previewer-time circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-easing.prism-previewer-easing circle': {\n 'stroke': '#e2e8f0',\n 'fill': 'transparent'\n },\n '.prism-previewer-easing.prism-previewer-easing path': {\n 'stroke': '#e2e8f0'\n },\n '.prism-previewer-easing.prism-previewer-easing line': {\n 'stroke': '#e2e8f0'\n }\n}"
914
+ "value": "{\n 'code[class*=\"language-\"]': {\n background: '#11111f',\n color: '#e2e8f0',\n textShadow: '0 1px rgba(0, 0, 0, 0.3)',\n fontFamily:\n '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n lineHeight: '1.5',\n MozTabSize: '2',\n OTabSize: '2',\n tabSize: '2',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none'\n },\n 'pre[class*=\"language-\"]': {\n background: '#11111f',\n color: '#e2e8f0',\n textShadow: '0 1px rgba(0, 0, 0, 0.3)',\n fontFamily:\n '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n lineHeight: '1.5',\n MozTabSize: '2',\n OTabSize: '2',\n tabSize: '2',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none',\n padding: '1em',\n margin: '0',\n overflow: 'auto'\n },\n 'code[class*=\"language-\"]::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"] *::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'pre[class*=\"language-\"] *::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"]::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"] *::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'pre[class*=\"language-\"] *::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n ':not(pre) > code[class*=\"language-\"]': {\n padding: '0.2em 0.3em',\n borderRadius: '0.3em',\n whiteSpace: 'normal'\n },\n comment: {\n color: '#64748b',\n fontStyle: 'italic'\n },\n prolog: {\n color: '#64748b'\n },\n cdata: {\n color: '#64748b'\n },\n doctype: {\n color: '#e2e8f0'\n },\n punctuation: {\n color: '#e2e8f0'\n },\n entity: {\n color: '#3b82f6',\n cursor: 'help'\n },\n 'attr-name': {\n color: '#f59e0b'\n },\n 'class-name': {\n color: '#f59e0b'\n },\n boolean: {\n color: '#3b82f6'\n },\n constant: {\n color: '#3b82f6'\n },\n number: {\n color: '#3b82f6'\n },\n atrule: {\n color: '#f59e0b'\n },\n keyword: {\n color: '#f472b6'\n },\n property: {\n color: '#3b82f6'\n },\n tag: {\n color: '#3b82f6'\n },\n symbol: {\n color: '#3b82f6'\n },\n deleted: {\n color: '#ef4444'\n },\n important: {\n color: '#f472b6'\n },\n selector: {\n color: '#10b981'\n },\n string: {\n color: '#10b981'\n },\n char: {\n color: '#10b981'\n },\n builtin: {\n color: '#10b981'\n },\n inserted: {\n color: '#10b981'\n },\n regex: {\n color: '#10b981'\n },\n 'attr-value': {\n color: '#10b981'\n },\n 'attr-value > .token.punctuation': {\n color: '#10b981'\n },\n variable: {\n color: '#60a5fa'\n },\n operator: {\n color: '#60a5fa'\n },\n function: {\n color: '#60a5fa'\n },\n url: {\n color: '#60a5fa'\n },\n 'attr-value > .token.punctuation.attr-equals': {\n color: '#e2e8f0'\n },\n 'special-attr > .token.attr-value > .token.value.css': {\n color: '#e2e8f0'\n },\n '.language-css .token.selector': {\n color: '#3b82f6'\n },\n '.language-css .token.property': {\n color: '#e2e8f0'\n },\n '.language-css .token.function': {\n color: '#60a5fa'\n },\n '.language-css .token.url > .token.function': {\n color: '#60a5fa'\n },\n '.language-css .token.url > .token.string.url': {\n color: '#10b981'\n },\n '.language-css .token.important': {\n color: '#f472b6'\n },\n '.language-css .token.atrule .token.rule': {\n color: '#f472b6'\n },\n '.language-javascript .token.operator': {\n color: '#f472b6'\n },\n '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation':\n {\n color: '#ef4444'\n },\n '.language-json .token.operator': {\n color: '#e2e8f0'\n },\n '.language-json .token.null.keyword': {\n color: '#3b82f6'\n },\n '.language-markdown .token.url': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url > .token.operator': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url-reference.url > .token.string': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url > .token.content': {\n color: '#60a5fa'\n },\n '.language-markdown .token.url > .token.url': {\n color: '#60a5fa'\n },\n '.language-markdown .token.url-reference.url': {\n color: '#60a5fa'\n },\n '.language-markdown .token.blockquote.punctuation': {\n color: '#64748b',\n fontStyle: 'italic'\n },\n '.language-markdown .token.hr.punctuation': {\n color: '#64748b',\n fontStyle: 'italic'\n },\n '.language-markdown .token.code-snippet': {\n color: '#10b981'\n },\n '.language-markdown .token.bold .token.content': {\n color: '#f59e0b'\n },\n '.language-markdown .token.italic .token.content': {\n color: '#f472b6'\n },\n '.language-markdown .token.strike .token.content': {\n color: '#3b82f6'\n },\n '.language-markdown .token.strike .token.punctuation': {\n color: '#3b82f6'\n },\n '.language-markdown .token.list.punctuation': {\n color: '#3b82f6'\n },\n '.language-markdown .token.title.important > .token.punctuation': {\n color: '#3b82f6'\n },\n bold: {\n fontWeight: 'bold'\n },\n italic: {\n fontStyle: 'italic'\n },\n namespace: {\n Opacity: '0.8'\n },\n 'token.tab:not(:empty):before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.cr:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.lf:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.space:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {\n marginRight: '0.4em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n '.line-highlight.line-highlight': {\n background: 'rgba(59, 130, 246, 0.08)'\n },\n '.line-highlight.line-highlight:before': {\n background: '#1e293b',\n color: '#e2e8f0',\n padding: '0.1em 0.6em',\n borderRadius: '0.3em',\n boxShadow: '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n '.line-highlight.line-highlight[data-end]:after': {\n background: '#1e293b',\n color: '#e2e8f0',\n padding: '0.1em 0.6em',\n borderRadius: '0.3em',\n boxShadow: '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before':\n {\n backgroundColor: 'rgba(59, 130, 246, 0.08)'\n },\n '.line-numbers.line-numbers .line-numbers-rows': {\n borderRightColor: '#1e293b'\n },\n '.command-line .command-line-prompt': {\n borderRightColor: '#1e293b'\n },\n '.line-numbers .line-numbers-rows > span:before': {\n color: '#64748b'\n },\n '.command-line .command-line-prompt > span:before': {\n color: '#64748b'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-1': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-5': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-9': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-2': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-6': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-10': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-3': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-7': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-11': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-4': {\n color: '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-8': {\n color: '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-12': {\n color: '#f472b6'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {\n backgroundColor: 'rgba(239, 68, 68, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {\n backgroundColor: 'rgba(239, 68, 68, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {\n backgroundColor: 'rgba(16, 185, 129, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {\n backgroundColor: 'rgba(16, 185, 129, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n '.prism-previewer.prism-previewer:before': {\n borderColor: '#11111f'\n },\n '.prism-previewer-gradient.prism-previewer-gradient div': {\n borderColor: '#11111f',\n borderRadius: '0.3em'\n },\n '.prism-previewer-color.prism-previewer-color:before': {\n borderRadius: '0.3em'\n },\n '.prism-previewer-easing.prism-previewer-easing:before': {\n borderRadius: '0.3em'\n },\n '.prism-previewer.prism-previewer:after': {\n borderTopColor: '#11111f'\n },\n '.prism-previewer-flipped.prism-previewer-flipped.after': {\n borderBottomColor: '#11111f'\n },\n '.prism-previewer-angle.prism-previewer-angle:before': {\n background: '#1e293b'\n },\n '.prism-previewer-time.prism-previewer-time:before': {\n background: '#1e293b'\n },\n '.prism-previewer-easing.prism-previewer-easing': {\n background: '#1e293b'\n },\n '.prism-previewer-angle.prism-previewer-angle circle': {\n stroke: '#e2e8f0',\n strokeOpacity: '1'\n },\n '.prism-previewer-time.prism-previewer-time circle': {\n stroke: '#e2e8f0',\n strokeOpacity: '1'\n },\n '.prism-previewer-easing.prism-previewer-easing circle': {\n stroke: '#e2e8f0',\n fill: 'transparent'\n },\n '.prism-previewer-easing.prism-previewer-easing path': {\n stroke: '#e2e8f0'\n },\n '.prism-previewer-easing.prism-previewer-easing line': {\n stroke: '#e2e8f0'\n }\n}"
837
915
  },
838
916
  "description": "The theme to use for the code block.",
839
917
  "name": "theme",
@@ -877,7 +955,7 @@
877
955
  ],
878
956
  "required": false,
879
957
  "type": {
880
- "name": "Plugin<[], Node, Node>[]"
958
+ "name": "Plugin[]"
881
959
  }
882
960
  },
883
961
  "rehypePlugins": {
@@ -898,7 +976,26 @@
898
976
  ],
899
977
  "required": false,
900
978
  "type": {
901
- "name": "Plugin<[], Node, Node>[]"
979
+ "name": "Plugin[]"
980
+ }
981
+ },
982
+ "theme": {
983
+ "defaultValue": null,
984
+ "description": "Theme to apply to the markdown content.",
985
+ "name": "theme",
986
+ "parent": {
987
+ "fileName": "src/Markdown/Markdown.tsx",
988
+ "name": "MarkdownWrapperProps"
989
+ },
990
+ "declarations": [
991
+ {
992
+ "fileName": "src/Markdown/Markdown.tsx",
993
+ "name": "MarkdownWrapperProps"
994
+ }
995
+ ],
996
+ "required": true,
997
+ "type": {
998
+ "name": "ChatTheme"
902
999
  }
903
1000
  }
904
1001
  }
@@ -972,6 +1069,25 @@
972
1069
  "displayName": "SessionMessages",
973
1070
  "methods": [],
974
1071
  "props": {
1072
+ "className": {
1073
+ "defaultValue": null,
1074
+ "description": "Class name to apply to the root element.",
1075
+ "name": "className",
1076
+ "parent": {
1077
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1078
+ "name": "SessionMessagesProps"
1079
+ },
1080
+ "declarations": [
1081
+ {
1082
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1083
+ "name": "SessionMessagesProps"
1084
+ }
1085
+ ],
1086
+ "required": false,
1087
+ "type": {
1088
+ "name": "string"
1089
+ }
1090
+ },
975
1091
  "newSessionContent": {
976
1092
  "defaultValue": null,
977
1093
  "description": "Content to display when there are no sessions selected or a new session is started.",
@@ -1033,6 +1149,27 @@
1033
1149
  "name": "string"
1034
1150
  }
1035
1151
  },
1152
+ "autoScroll": {
1153
+ "defaultValue": {
1154
+ "value": "true"
1155
+ },
1156
+ "description": "Whether to automatically scroll to the bottom of the content.",
1157
+ "name": "autoScroll",
1158
+ "parent": {
1159
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1160
+ "name": "SessionMessagesProps"
1161
+ },
1162
+ "declarations": [
1163
+ {
1164
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1165
+ "name": "SessionMessagesProps"
1166
+ }
1167
+ ],
1168
+ "required": false,
1169
+ "type": {
1170
+ "name": "boolean"
1171
+ }
1172
+ },
1036
1173
  "children": {
1037
1174
  "defaultValue": null,
1038
1175
  "description": "Render function for the session messages.",
@@ -1051,6 +1188,25 @@
1051
1188
  "type": {
1052
1189
  "name": "(conversations: Conversation[]) => ReactNode"
1053
1190
  }
1191
+ },
1192
+ "onScroll": {
1193
+ "defaultValue": null,
1194
+ "description": "Scroll event handler.\n@param e",
1195
+ "name": "onScroll",
1196
+ "parent": {
1197
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1198
+ "name": "SessionMessagesProps"
1199
+ },
1200
+ "declarations": [
1201
+ {
1202
+ "fileName": "src/SessionMessages/SessionMessages.tsx",
1203
+ "name": "SessionMessagesProps"
1204
+ }
1205
+ ],
1206
+ "required": false,
1207
+ "type": {
1208
+ "name": "UIEventHandler<HTMLDivElement>"
1209
+ }
1054
1210
  }
1055
1211
  }
1056
1212
  },
@@ -1522,6 +1678,27 @@
1522
1678
  "displayName": "MessageQuestion",
1523
1679
  "methods": [],
1524
1680
  "props": {
1681
+ "previewLineClamp": {
1682
+ "defaultValue": {
1683
+ "value": "3"
1684
+ },
1685
+ "description": "Number of lines to show before truncating.",
1686
+ "name": "previewLineClamp",
1687
+ "parent": {
1688
+ "fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
1689
+ "name": "MessageQuestionProps"
1690
+ },
1691
+ "declarations": [
1692
+ {
1693
+ "fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
1694
+ "name": "MessageQuestionProps"
1695
+ }
1696
+ ],
1697
+ "required": false,
1698
+ "type": {
1699
+ "name": "number | boolean"
1700
+ }
1701
+ },
1525
1702
  "question": {
1526
1703
  "defaultValue": null,
1527
1704
  "description": "Question to render.",
@@ -1642,12 +1819,12 @@
1642
1819
  "description": "URL of the source, if applicable",
1643
1820
  "name": "url",
1644
1821
  "parent": {
1645
- "fileName": "src/types.ts",
1822
+ "fileName": "reachat/src/types.ts",
1646
1823
  "name": "ConversationSource"
1647
1824
  },
1648
1825
  "declarations": [
1649
1826
  {
1650
- "fileName": "src/types.ts",
1827
+ "fileName": "reachat/src/types.ts",
1651
1828
  "name": "ConversationSource"
1652
1829
  }
1653
1830
  ],
@@ -1661,12 +1838,12 @@
1661
1838
  "description": "Title or description of the source",
1662
1839
  "name": "title",
1663
1840
  "parent": {
1664
- "fileName": "src/types.ts",
1841
+ "fileName": "reachat/src/types.ts",
1665
1842
  "name": "ConversationSource"
1666
1843
  },
1667
1844
  "declarations": [
1668
1845
  {
1669
- "fileName": "src/types.ts",
1846
+ "fileName": "reachat/src/types.ts",
1670
1847
  "name": "ConversationSource"
1671
1848
  }
1672
1849
  ],
@@ -1680,12 +1857,12 @@
1680
1857
  "description": "Image URL of the source, if applicable.",
1681
1858
  "name": "image",
1682
1859
  "parent": {
1683
- "fileName": "src/types.ts",
1860
+ "fileName": "reachat/src/types.ts",
1684
1861
  "name": "ConversationSource"
1685
1862
  },
1686
1863
  "declarations": [
1687
1864
  {
1688
- "fileName": "src/types.ts",
1865
+ "fileName": "reachat/src/types.ts",
1689
1866
  "name": "ConversationSource"
1690
1867
  }
1691
1868
  ],
@@ -1731,6 +1908,25 @@
1731
1908
  "displayName": "SessionMessage",
1732
1909
  "methods": [],
1733
1910
  "props": {
1911
+ "className": {
1912
+ "defaultValue": null,
1913
+ "description": "Class name to apply to the root element.",
1914
+ "name": "className",
1915
+ "parent": {
1916
+ "fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
1917
+ "name": "SessionMessageProps"
1918
+ },
1919
+ "declarations": [
1920
+ {
1921
+ "fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
1922
+ "name": "SessionMessageProps"
1923
+ }
1924
+ ],
1925
+ "required": false,
1926
+ "type": {
1927
+ "name": "string"
1928
+ }
1929
+ },
1734
1930
  "conversation": {
1735
1931
  "defaultValue": null,
1736
1932
  "description": "Conversation to render.",
@@ -1825,12 +2021,12 @@
1825
2021
  "description": "Name of the file",
1826
2022
  "name": "name",
1827
2023
  "parent": {
1828
- "fileName": "src/types.ts",
2024
+ "fileName": "reachat/src/types.ts",
1829
2025
  "name": "ConversationFile"
1830
2026
  },
1831
2027
  "declarations": [
1832
2028
  {
1833
- "fileName": "src/types.ts",
2029
+ "fileName": "reachat/src/types.ts",
1834
2030
  "name": "ConversationFile"
1835
2031
  }
1836
2032
  ],
@@ -1844,12 +2040,12 @@
1844
2040
  "description": "Type of the file",
1845
2041
  "name": "type",
1846
2042
  "parent": {
1847
- "fileName": "src/types.ts",
2043
+ "fileName": "reachat/src/types.ts",
1848
2044
  "name": "ConversationFile"
1849
2045
  },
1850
2046
  "declarations": [
1851
2047
  {
1852
- "fileName": "src/types.ts",
2048
+ "fileName": "reachat/src/types.ts",
1853
2049
  "name": "ConversationFile"
1854
2050
  }
1855
2051
  ],
@@ -1863,12 +2059,12 @@
1863
2059
  "description": "Size of the file",
1864
2060
  "name": "size",
1865
2061
  "parent": {
1866
- "fileName": "src/types.ts",
2062
+ "fileName": "reachat/src/types.ts",
1867
2063
  "name": "ConversationFile"
1868
2064
  },
1869
2065
  "declarations": [
1870
2066
  {
1871
- "fileName": "src/types.ts",
2067
+ "fileName": "reachat/src/types.ts",
1872
2068
  "name": "ConversationFile"
1873
2069
  }
1874
2070
  ],
@@ -1882,12 +2078,12 @@
1882
2078
  "description": "URL of the file",
1883
2079
  "name": "url",
1884
2080
  "parent": {
1885
- "fileName": "src/types.ts",
2081
+ "fileName": "reachat/src/types.ts",
1886
2082
  "name": "ConversationFile"
1887
2083
  },
1888
2084
  "declarations": [
1889
2085
  {
1890
- "fileName": "src/types.ts",
2086
+ "fileName": "reachat/src/types.ts",
1891
2087
  "name": "ConversationFile"
1892
2088
  }
1893
2089
  ],