reachat 2.1.0-alpha.9 → 2.1.1

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 (82) hide show
  1. package/README.md +4 -2
  2. package/dist/AppBar/AppBar.d.ts +1 -1
  3. package/dist/{CSVFileRenderer-CkRKGiCl.js → CSVFileRenderer-DXI8PDqR.js} +14 -15
  4. package/dist/CSVFileRenderer-DXI8PDqR.js.map +1 -0
  5. package/dist/Chat.d.ts +9 -3
  6. package/dist/ChatBubble/ChatBubble.d.ts +1 -1
  7. package/dist/ChatContext.d.ts +4 -2
  8. package/dist/ChatInput/ChatInput.d.ts +23 -13
  9. package/dist/ChatInput/FileInput.d.ts +1 -1
  10. package/dist/ChatInput/MentionList.d.ts +32 -0
  11. package/dist/ChatInput/RichTextInput.d.ts +55 -0
  12. package/dist/ChatInput/index.d.ts +3 -0
  13. package/dist/ChatInput/types.d.ts +104 -0
  14. package/dist/ChatSuggestions/ChatSuggestion.d.ts +9 -0
  15. package/dist/ChatSuggestions/ChatSuggestions.d.ts +22 -0
  16. package/dist/ChatSuggestions/index.d.ts +2 -0
  17. package/dist/{DefaultFileRenderer-C1qZ57tG.js → DefaultFileRenderer-Bi8LNDio.js} +2 -2
  18. package/dist/DefaultFileRenderer-Bi8LNDio.js.map +1 -0
  19. package/dist/ImageFileRenderer-C8tVW3I8.js.map +1 -1
  20. package/dist/Markdown/Markdown.d.ts +4 -3
  21. package/dist/Markdown/Table.d.ts +1 -1
  22. package/dist/Markdown/charts/ChartError.d.ts +21 -0
  23. package/dist/Markdown/charts/ChartPre.d.ts +6 -0
  24. package/dist/Markdown/charts/ChartRenderer.d.ts +13 -0
  25. package/dist/Markdown/charts/chartHelpers.d.ts +40 -0
  26. package/dist/Markdown/charts/chartHelpers.spec.d.ts +1 -0
  27. package/dist/Markdown/charts/index.d.ts +7 -0
  28. package/dist/Markdown/index.d.ts +3 -2
  29. package/dist/Markdown/plugins/index.d.ts +1 -0
  30. package/dist/Markdown/plugins/remarkChart.d.ts +59 -0
  31. package/dist/Markdown/plugins/remarkCve.d.ts +1 -1
  32. package/dist/MessageStatus/MessageStatus.d.ts +44 -0
  33. package/dist/MessageStatus/MessageStatusItem.d.ts +9 -0
  34. package/dist/MessageStatus/StatusIcon.d.ts +17 -0
  35. package/dist/MessageStatus/index.d.ts +3 -0
  36. package/dist/PDFFileRenderer-DQdFS2l6.js +9 -0
  37. package/dist/PDFFileRenderer-DQdFS2l6.js.map +1 -0
  38. package/dist/SessionMessages/SessionEmpty.d.ts +4 -1
  39. package/dist/SessionMessages/SessionMessage/MessageFile/renderers/index.d.ts +1 -1
  40. package/dist/SessionMessages/SessionMessage/MessageFiles.d.ts +1 -1
  41. package/dist/SessionMessages/SessionMessage/MessageSources.d.ts +1 -1
  42. package/dist/SessionMessages/SessionMessage/SessionMessage.d.ts +0 -4
  43. package/dist/SessionMessages/SessionMessage/index.d.ts +2 -2
  44. package/dist/SessionMessages/SessionMessages.d.ts +3 -7
  45. package/dist/SessionMessages/index.d.ts +2 -2
  46. package/dist/SessionsList/index.d.ts +2 -2
  47. package/dist/docs.json +1037 -183
  48. package/dist/index-CBHNcMyR.js +4369 -0
  49. package/dist/index-CBHNcMyR.js.map +1 -0
  50. package/dist/index.css +2129 -6532
  51. package/dist/index.d.ts +8 -7
  52. package/dist/index.js +49 -34
  53. package/dist/index.umd.cjs +3414 -1320
  54. package/dist/index.umd.cjs.map +1 -1
  55. package/dist/stories/Changelog.mdx +1 -1
  56. package/dist/stories/ChartError.stories.tsx +85 -0
  57. package/dist/stories/Charts.stories.tsx +371 -0
  58. package/dist/stories/Chat.stories.tsx +5 -5
  59. package/dist/stories/ChatBubble.stories.tsx +3 -3
  60. package/dist/stories/ChatSuggestions.stories.tsx +541 -0
  61. package/dist/stories/Companion.stories.tsx +6 -6
  62. package/dist/stories/Console.stories.tsx +165 -25
  63. package/dist/stories/EnhancedInput.stories.tsx +322 -0
  64. package/dist/stories/Integration.stories.tsx +2 -2
  65. package/dist/stories/Intro.mdx +1 -1
  66. package/dist/stories/MessageStatus.stories.tsx +314 -0
  67. package/dist/stories/RichTextInput.stories.tsx +198 -0
  68. package/dist/stories/assets/logo.svg +19 -38
  69. package/dist/stories/assets/paperclip.svg +1 -4
  70. package/dist/stories/assets/search.svg +1 -5
  71. package/dist/stories/assets/sparkles.svg +7 -0
  72. package/dist/stories/examples.ts +47 -20
  73. package/dist/theme.d.ts +76 -13
  74. package/dist/types.d.ts +10 -0
  75. package/package.json +69 -66
  76. package/dist/CSVFileRenderer-CkRKGiCl.js.map +0 -1
  77. package/dist/DefaultFileRenderer-C1qZ57tG.js.map +0 -1
  78. package/dist/PDFFileRenderer-BBn2EVrV.js +0 -16
  79. package/dist/PDFFileRenderer-BBn2EVrV.js.map +0 -1
  80. package/dist/index-6CsqxEMx.js +0 -2257
  81. package/dist/index-6CsqxEMx.js.map +0 -1
  82. package/dist/utils/index.d.ts +0 -1
package/dist/docs.json CHANGED
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "theme": {
107
107
  "defaultValue": {
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 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 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 },\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}"
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 status: {\n base: 'py-2 px-3 rounded-lg bg-gray-100/50 dark:bg-gray-800/30',\n header: 'flex items-center gap-2',\n icon: {\n base: 'flex-shrink-0 w-4 h-4',\n loading: 'text-blue-500 dark:text-blue-400',\n complete: 'text-green-500 dark:text-green-400',\n error: 'text-red-500 dark:text-red-400'\n },\n text: {\n base: 'text-sm',\n loading: 'text-gray-600 dark:text-gray-400',\n complete: 'text-gray-600 dark:text-gray-400',\n error: 'text-red-600 dark:text-red-400'\n },\n steps: {\n base: 'mt-1 ml-6 space-y-0.5',\n step: {\n base: 'flex items-center gap-2',\n icon: 'flex-shrink-0 w-3.5 h-3.5',\n text: 'text-sm',\n loading: 'text-gray-500 dark:text-gray-500',\n complete: 'text-gray-500 dark:text-gray-500',\n error: 'text-red-500 dark:text-red-400'\n }\n }\n },\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 min-h-0',\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 scrollToBottom: {\n container: 'absolute bottom-2 left-1/2 transform -translate-x-1/2 z-10',\n button: 'rounded-full p-2 shadow-lg'\n },\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 popup: {\n base: [\n 'bg-white border border-gray-200 rounded-lg shadow-lg overflow-hidden min-w-[200px] max-w-[300px]',\n 'dark:bg-gray-900 dark:border-gray-700'\n ].join(' '),\n content: 'overflow-y-auto max-h-[250px]',\n item: [\n 'flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors',\n 'hover:bg-gray-100 dark:hover:bg-gray-800'\n ].join(' '),\n itemHighlighted: 'bg-gray-100 dark:bg-gray-800',\n itemIcon: [\n 'flex-shrink-0 w-5 h-5 text-gray-500 [&>svg]:w-full [&>svg]:h-full',\n 'dark:text-gray-400'\n ].join(' '),\n itemContent: 'flex flex-col min-w-0 flex-1',\n itemLabel: [\n 'text-sm font-medium text-gray-900 truncate',\n 'dark:text-gray-100'\n ].join(' '),\n itemDescription: 'text-xs text-gray-500 dark:text-gray-400 truncate',\n itemShortcut: 'text-xs text-gray-400 dark:text-gray-500 ml-auto',\n empty: 'px-3 py-4 text-sm text-center text-gray-500 dark:text-gray-400',\n loading: [\n 'flex items-center justify-center gap-2 px-3 py-4 text-gray-500',\n 'dark:text-gray-400'\n ].join(' ')\n },\n tag: {\n base: [\n 'inline-flex items-center px-1.5 py-0.5 mx-0.5 rounded',\n 'font-medium text-sm leading-[1.2] relative top-[1px]'\n ].join(' '),\n mention: [\n 'bg-blue-100 dark:bg-blue-900/30',\n 'text-blue-700 dark:text-blue-300'\n ].join(' '),\n command: [\n 'bg-purple-100 dark:bg-purple-900/30',\n 'text-purple-700 dark:text-purple-300'\n ].join(' ')\n },\n editor: {\n base: [\n 'outline-none w-full overflow-y-auto',\n 'text-inherit font-inherit',\n '[&_.tiptap-paragraph]:m-0'\n ].join(' '),\n container: 'px-3 py-2 pr-16',\n placeholder: [\n '[&_.is-editor-empty]:before:content-[attr(data-placeholder)]',\n '[&_.is-editor-empty]:before:text-gray-400',\n '[&_.is-editor-empty]:before:dark:text-gray-500',\n '[&_.is-editor-empty]:before:float-left',\n '[&_.is-editor-empty]:before:h-0',\n '[&_.is-editor-empty]:before:pointer-events-none'\n ].join(' ')\n }\n },\n suggestions: {\n base: 'flex flex-wrap gap-2 mt-4',\n item: {\n base: [\n 'rounded-full! max-w-full py-2 px-4',\n 'bg-gray-100 border-gray-200 hover:bg-gray-200 hover:border-gray-300 text-gray-700',\n 'dark:bg-gray-800/50 dark:border-gray-700 dark:hover:bg-gray-700/70 dark:hover:border-gray-600 dark:text-gray-200',\n '[&>svg]:w-4 [&>svg]:h-4 [&>svg]:text-blue-500 [&>svg]:dark:text-blue-400 [&>svg]:flex-shrink-0'\n ].join(' '),\n icon: 'w-4 h-4 text-blue-500 dark:text-blue-400 flex-shrink-0',\n text: 'text-sm truncate'\n }\n },\n chart: {\n base: 'my-6',\n title: 'text-sm font-medium mb-2 text-gray-600 dark:text-gray-400',\n content: 'flex items-center justify-center',\n error: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-red-300 bg-red-50 text-red-500',\n 'dark:border-red-700 dark:bg-red-900/20'\n ].join(' '),\n title: 'text-red-600 dark:text-red-400 text-sm font-medium mb-2',\n code: 'text-xs overflow-auto'\n },\n warning: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-yellow-300 bg-yellow-50 text-yellow-600',\n 'dark:border-yellow-700 dark:bg-yellow-900/20 dark:text-yellow-400'\n ].join(' '),\n title: 'text-yellow-600 dark:text-yellow-400 text-sm font-medium mb-2'\n }\n }\n}"
109
109
  },
110
110
  "description": "Custom theme for the chat.",
111
111
  "name": "theme",
@@ -142,7 +142,26 @@
142
142
  ],
143
143
  "required": false,
144
144
  "type": {
145
- "name": "Plugin[]"
145
+ "name": "Plugin<[], Node, Node>[]"
146
+ }
147
+ },
148
+ "markdownComponents": {
149
+ "defaultValue": null,
150
+ "description": "Custom markdown components to override default rendering.\nUse this to add support for custom elements like charts.",
151
+ "name": "markdownComponents",
152
+ "parent": {
153
+ "fileName": "src/Chat.tsx",
154
+ "name": "ChatProps"
155
+ },
156
+ "declarations": [
157
+ {
158
+ "fileName": "src/Chat.tsx",
159
+ "name": "ChatProps"
160
+ }
161
+ ],
162
+ "required": false,
163
+ "type": {
164
+ "name": "Components"
146
165
  }
147
166
  },
148
167
  "isLoading": {
@@ -327,7 +346,7 @@
327
346
  },
328
347
  "theme": {
329
348
  "defaultValue": {
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 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 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 },\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}"
349
+ "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 status: {\n base: 'py-2 px-3 rounded-lg bg-gray-100/50 dark:bg-gray-800/30',\n header: 'flex items-center gap-2',\n icon: {\n base: 'flex-shrink-0 w-4 h-4',\n loading: 'text-blue-500 dark:text-blue-400',\n complete: 'text-green-500 dark:text-green-400',\n error: 'text-red-500 dark:text-red-400'\n },\n text: {\n base: 'text-sm',\n loading: 'text-gray-600 dark:text-gray-400',\n complete: 'text-gray-600 dark:text-gray-400',\n error: 'text-red-600 dark:text-red-400'\n },\n steps: {\n base: 'mt-1 ml-6 space-y-0.5',\n step: {\n base: 'flex items-center gap-2',\n icon: 'flex-shrink-0 w-3.5 h-3.5',\n text: 'text-sm',\n loading: 'text-gray-500 dark:text-gray-500',\n complete: 'text-gray-500 dark:text-gray-500',\n error: 'text-red-500 dark:text-red-400'\n }\n }\n },\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 min-h-0',\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 scrollToBottom: {\n container: 'absolute bottom-2 left-1/2 transform -translate-x-1/2 z-10',\n button: 'rounded-full p-2 shadow-lg'\n },\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 popup: {\n base: [\n 'bg-white border border-gray-200 rounded-lg shadow-lg overflow-hidden min-w-[200px] max-w-[300px]',\n 'dark:bg-gray-900 dark:border-gray-700'\n ].join(' '),\n content: 'overflow-y-auto max-h-[250px]',\n item: [\n 'flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors',\n 'hover:bg-gray-100 dark:hover:bg-gray-800'\n ].join(' '),\n itemHighlighted: 'bg-gray-100 dark:bg-gray-800',\n itemIcon: [\n 'flex-shrink-0 w-5 h-5 text-gray-500 [&>svg]:w-full [&>svg]:h-full',\n 'dark:text-gray-400'\n ].join(' '),\n itemContent: 'flex flex-col min-w-0 flex-1',\n itemLabel: [\n 'text-sm font-medium text-gray-900 truncate',\n 'dark:text-gray-100'\n ].join(' '),\n itemDescription: 'text-xs text-gray-500 dark:text-gray-400 truncate',\n itemShortcut: 'text-xs text-gray-400 dark:text-gray-500 ml-auto',\n empty: 'px-3 py-4 text-sm text-center text-gray-500 dark:text-gray-400',\n loading: [\n 'flex items-center justify-center gap-2 px-3 py-4 text-gray-500',\n 'dark:text-gray-400'\n ].join(' ')\n },\n tag: {\n base: [\n 'inline-flex items-center px-1.5 py-0.5 mx-0.5 rounded',\n 'font-medium text-sm leading-[1.2] relative top-[1px]'\n ].join(' '),\n mention: [\n 'bg-blue-100 dark:bg-blue-900/30',\n 'text-blue-700 dark:text-blue-300'\n ].join(' '),\n command: [\n 'bg-purple-100 dark:bg-purple-900/30',\n 'text-purple-700 dark:text-purple-300'\n ].join(' ')\n },\n editor: {\n base: [\n 'outline-none w-full overflow-y-auto',\n 'text-inherit font-inherit',\n '[&_.tiptap-paragraph]:m-0'\n ].join(' '),\n container: 'px-3 py-2 pr-16',\n placeholder: [\n '[&_.is-editor-empty]:before:content-[attr(data-placeholder)]',\n '[&_.is-editor-empty]:before:text-gray-400',\n '[&_.is-editor-empty]:before:dark:text-gray-500',\n '[&_.is-editor-empty]:before:float-left',\n '[&_.is-editor-empty]:before:h-0',\n '[&_.is-editor-empty]:before:pointer-events-none'\n ].join(' ')\n }\n },\n suggestions: {\n base: 'flex flex-wrap gap-2 mt-4',\n item: {\n base: [\n 'rounded-full! max-w-full py-2 px-4',\n 'bg-gray-100 border-gray-200 hover:bg-gray-200 hover:border-gray-300 text-gray-700',\n 'dark:bg-gray-800/50 dark:border-gray-700 dark:hover:bg-gray-700/70 dark:hover:border-gray-600 dark:text-gray-200',\n '[&>svg]:w-4 [&>svg]:h-4 [&>svg]:text-blue-500 [&>svg]:dark:text-blue-400 [&>svg]:flex-shrink-0'\n ].join(' '),\n icon: 'w-4 h-4 text-blue-500 dark:text-blue-400 flex-shrink-0',\n text: 'text-sm truncate'\n }\n },\n chart: {\n base: 'my-6',\n title: 'text-sm font-medium mb-2 text-gray-600 dark:text-gray-400',\n content: 'flex items-center justify-center',\n error: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-red-300 bg-red-50 text-red-500',\n 'dark:border-red-700 dark:bg-red-900/20'\n ].join(' '),\n title: 'text-red-600 dark:text-red-400 text-sm font-medium mb-2',\n code: 'text-xs overflow-auto'\n },\n warning: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-yellow-300 bg-yellow-50 text-yellow-600',\n 'dark:border-yellow-700 dark:bg-yellow-900/20 dark:text-yellow-400'\n ].join(' '),\n title: 'text-yellow-600 dark:text-yellow-400 text-sm font-medium mb-2'\n }\n }\n}"
331
350
  },
332
351
  "description": "Custom theme for the appbar",
333
352
  "name": "theme",
@@ -502,7 +521,9 @@
502
521
  }
503
522
  },
504
523
  "placeholder": {
505
- "defaultValue": null,
524
+ "defaultValue": {
525
+ "value": "Type a message..."
526
+ },
506
527
  "description": "Placeholder text for the input field.",
507
528
  "name": "placeholder",
508
529
  "parent": {
@@ -581,10 +602,10 @@
581
602
  "name": "ReactElement<any, string | JSXElementConstructor<any>>"
582
603
  }
583
604
  },
584
- "message": {
605
+ "mentions": {
585
606
  "defaultValue": null,
586
- "description": "Message to be displayed in the input field.",
587
- "name": "message",
607
+ "description": "Configuration for mentions (@user).\nProvide items or an onSearch function to enable mentions.",
608
+ "name": "mentions",
588
609
  "parent": {
589
610
  "fileName": "src/ChatInput/ChatInput.tsx",
590
611
  "name": "ChatInputProps"
@@ -597,13 +618,13 @@
597
618
  ],
598
619
  "required": false,
599
620
  "type": {
600
- "name": "string"
621
+ "name": "SuggestionConfig<MentionItem>"
601
622
  }
602
623
  },
603
- "className": {
624
+ "commands": {
604
625
  "defaultValue": null,
605
- "description": "Class name to apply to the container.",
606
- "name": "className",
626
+ "description": "Configuration for commands (/command).\nProvide items or an onSearch function to enable commands.",
627
+ "name": "commands",
607
628
  "parent": {
608
629
  "fileName": "src/ChatInput/ChatInput.tsx",
609
630
  "name": "ChatInputProps"
@@ -616,13 +637,15 @@
616
637
  ],
617
638
  "required": false,
618
639
  "type": {
619
- "name": "string"
640
+ "name": "SuggestionConfig<SlashCommandItem>"
620
641
  }
621
642
  },
622
- "onMessageChange": {
623
- "defaultValue": null,
624
- "description": "Callback function to handle message change.",
625
- "name": "onMessageChange",
643
+ "minHeight": {
644
+ "defaultValue": {
645
+ "value": "24"
646
+ },
647
+ "description": "Minimum height for the input (default: 24px)",
648
+ "name": "minHeight",
626
649
  "parent": {
627
650
  "fileName": "src/ChatInput/ChatInput.tsx",
628
651
  "name": "ChatInputProps"
@@ -635,7 +658,49 @@
635
658
  ],
636
659
  "required": false,
637
660
  "type": {
638
- "name": "(message: string) => void"
661
+ "name": "number"
662
+ }
663
+ },
664
+ "maxHeight": {
665
+ "defaultValue": {
666
+ "value": "200"
667
+ },
668
+ "description": "Maximum height for the input (default: 200px)",
669
+ "name": "maxHeight",
670
+ "parent": {
671
+ "fileName": "src/ChatInput/ChatInput.tsx",
672
+ "name": "ChatInputProps"
673
+ },
674
+ "declarations": [
675
+ {
676
+ "fileName": "src/ChatInput/ChatInput.tsx",
677
+ "name": "ChatInputProps"
678
+ }
679
+ ],
680
+ "required": false,
681
+ "type": {
682
+ "name": "number"
683
+ }
684
+ },
685
+ "autoFocus": {
686
+ "defaultValue": {
687
+ "value": "true"
688
+ },
689
+ "description": "Whether to auto-focus the input on mount (default: true)",
690
+ "name": "autoFocus",
691
+ "parent": {
692
+ "fileName": "src/ChatInput/ChatInput.tsx",
693
+ "name": "ChatInputProps"
694
+ },
695
+ "declarations": [
696
+ {
697
+ "fileName": "src/ChatInput/ChatInput.tsx",
698
+ "name": "ChatInputProps"
699
+ }
700
+ ],
701
+ "required": false,
702
+ "type": {
703
+ "name": "boolean"
639
704
  }
640
705
  }
641
706
  }
@@ -748,23 +813,211 @@
748
813
  },
749
814
  {
750
815
  "tags": {},
751
- "filePath": "src/Markdown/CodeHighlighter.tsx",
816
+ "filePath": "src/ChatInput/MentionList.tsx",
752
817
  "description": "",
753
- "displayName": "CodeHighlighter",
818
+ "displayName": "MentionList",
819
+ "methods": [],
820
+ "props": {
821
+ "items": {
822
+ "defaultValue": null,
823
+ "description": "List of suggestion items to display",
824
+ "name": "items",
825
+ "parent": {
826
+ "fileName": "src/ChatInput/MentionList.tsx",
827
+ "name": "MentionListProps"
828
+ },
829
+ "declarations": [
830
+ {
831
+ "fileName": "src/ChatInput/MentionList.tsx",
832
+ "name": "MentionListProps"
833
+ }
834
+ ],
835
+ "required": true,
836
+ "type": {
837
+ "name": "SuggestionItem[]"
838
+ }
839
+ },
840
+ "command": {
841
+ "defaultValue": null,
842
+ "description": "Callback to execute the selected suggestion command",
843
+ "name": "command",
844
+ "parent": {
845
+ "fileName": "src/ChatInput/MentionList.tsx",
846
+ "name": "MentionListProps"
847
+ },
848
+ "declarations": [
849
+ {
850
+ "fileName": "src/ChatInput/MentionList.tsx",
851
+ "name": "MentionListProps"
852
+ }
853
+ ],
854
+ "required": true,
855
+ "type": {
856
+ "name": "(item: { id: string; label: string; }) => void"
857
+ }
858
+ },
859
+ "triggerChar": {
860
+ "defaultValue": null,
861
+ "description": "The trigger character (e.g., '@' or '/')",
862
+ "name": "triggerChar",
863
+ "parent": {
864
+ "fileName": "src/ChatInput/MentionList.tsx",
865
+ "name": "MentionListProps"
866
+ },
867
+ "declarations": [
868
+ {
869
+ "fileName": "src/ChatInput/MentionList.tsx",
870
+ "name": "MentionListProps"
871
+ }
872
+ ],
873
+ "required": true,
874
+ "type": {
875
+ "name": "string"
876
+ }
877
+ },
878
+ "config": {
879
+ "defaultValue": null,
880
+ "description": "Configuration for the suggestion popup",
881
+ "name": "config",
882
+ "parent": {
883
+ "fileName": "src/ChatInput/MentionList.tsx",
884
+ "name": "MentionListProps"
885
+ },
886
+ "declarations": [
887
+ {
888
+ "fileName": "src/ChatInput/MentionList.tsx",
889
+ "name": "MentionListProps"
890
+ }
891
+ ],
892
+ "required": true,
893
+ "type": {
894
+ "name": "SuggestionConfig<SuggestionItem>"
895
+ }
896
+ },
897
+ "query": {
898
+ "defaultValue": null,
899
+ "description": "Current search query text",
900
+ "name": "query",
901
+ "parent": {
902
+ "fileName": "src/ChatInput/MentionList.tsx",
903
+ "name": "MentionListProps"
904
+ },
905
+ "declarations": [
906
+ {
907
+ "fileName": "src/ChatInput/MentionList.tsx",
908
+ "name": "MentionListProps"
909
+ }
910
+ ],
911
+ "required": false,
912
+ "type": {
913
+ "name": "string"
914
+ }
915
+ }
916
+ }
917
+ },
918
+ {
919
+ "tags": {},
920
+ "filePath": "src/ChatInput/RichTextInput.tsx",
921
+ "description": "",
922
+ "displayName": "RichTextInput",
754
923
  "methods": [],
755
924
  "props": {
925
+ "value": {
926
+ "defaultValue": {
927
+ "value": ""
928
+ },
929
+ "description": "Current value of the input",
930
+ "name": "value",
931
+ "parent": {
932
+ "fileName": "src/ChatInput/RichTextInput.tsx",
933
+ "name": "RichTextInputProps"
934
+ },
935
+ "declarations": [
936
+ {
937
+ "fileName": "src/ChatInput/RichTextInput.tsx",
938
+ "name": "RichTextInputProps"
939
+ }
940
+ ],
941
+ "required": false,
942
+ "type": {
943
+ "name": "string"
944
+ }
945
+ },
946
+ "placeholder": {
947
+ "defaultValue": {
948
+ "value": "Type a message..."
949
+ },
950
+ "description": "Placeholder text when empty",
951
+ "name": "placeholder",
952
+ "parent": {
953
+ "fileName": "src/ChatInput/RichTextInput.tsx",
954
+ "name": "RichTextInputProps"
955
+ },
956
+ "declarations": [
957
+ {
958
+ "fileName": "src/ChatInput/RichTextInput.tsx",
959
+ "name": "RichTextInputProps"
960
+ }
961
+ ],
962
+ "required": false,
963
+ "type": {
964
+ "name": "string"
965
+ }
966
+ },
967
+ "disabled": {
968
+ "defaultValue": {
969
+ "value": "false"
970
+ },
971
+ "description": "Whether the input is disabled",
972
+ "name": "disabled",
973
+ "parent": {
974
+ "fileName": "src/ChatInput/RichTextInput.tsx",
975
+ "name": "RichTextInputProps"
976
+ },
977
+ "declarations": [
978
+ {
979
+ "fileName": "src/ChatInput/RichTextInput.tsx",
980
+ "name": "RichTextInputProps"
981
+ }
982
+ ],
983
+ "required": false,
984
+ "type": {
985
+ "name": "boolean"
986
+ }
987
+ },
988
+ "autoFocus": {
989
+ "defaultValue": {
990
+ "value": "true"
991
+ },
992
+ "description": "Whether to auto-focus on mount (default: true)",
993
+ "name": "autoFocus",
994
+ "parent": {
995
+ "fileName": "src/ChatInput/RichTextInput.tsx",
996
+ "name": "RichTextInputProps"
997
+ },
998
+ "declarations": [
999
+ {
1000
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1001
+ "name": "RichTextInputProps"
1002
+ }
1003
+ ],
1004
+ "required": false,
1005
+ "type": {
1006
+ "name": "boolean"
1007
+ }
1008
+ },
756
1009
  "className": {
757
1010
  "defaultValue": null,
758
- "description": "The class name to apply to the code block.",
1011
+ "description": "Additional CSS classes",
759
1012
  "name": "className",
760
1013
  "parent": {
761
- "fileName": "src/Markdown/CodeHighlighter.tsx",
762
- "name": "CodeHighlighterProps"
1014
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1015
+ "name": "RichTextInputProps"
763
1016
  },
764
1017
  "declarations": [
765
1018
  {
766
- "fileName": "src/Markdown/CodeHighlighter.tsx",
767
- "name": "CodeHighlighterProps"
1019
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1020
+ "name": "RichTextInputProps"
768
1021
  }
769
1022
  ],
770
1023
  "required": false,
@@ -772,199 +1025,696 @@
772
1025
  "name": "string"
773
1026
  }
774
1027
  },
775
- "language": {
1028
+ "minHeight": {
1029
+ "defaultValue": {
1030
+ "value": "24"
1031
+ },
1032
+ "description": "Minimum height in pixels (default: 24)",
1033
+ "name": "minHeight",
1034
+ "parent": {
1035
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1036
+ "name": "RichTextInputProps"
1037
+ },
1038
+ "declarations": [
1039
+ {
1040
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1041
+ "name": "RichTextInputProps"
1042
+ }
1043
+ ],
1044
+ "required": false,
1045
+ "type": {
1046
+ "name": "number"
1047
+ }
1048
+ },
1049
+ "maxHeight": {
1050
+ "defaultValue": {
1051
+ "value": "200"
1052
+ },
1053
+ "description": "Maximum height in pixels (default: 200)",
1054
+ "name": "maxHeight",
1055
+ "parent": {
1056
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1057
+ "name": "RichTextInputProps"
1058
+ },
1059
+ "declarations": [
1060
+ {
1061
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1062
+ "name": "RichTextInputProps"
1063
+ }
1064
+ ],
1065
+ "required": false,
1066
+ "type": {
1067
+ "name": "number"
1068
+ }
1069
+ },
1070
+ "mentions": {
776
1071
  "defaultValue": null,
777
- "description": "The language of the code block.",
778
- "name": "language",
1072
+ "description": "Configuration for @ mentions",
1073
+ "name": "mentions",
779
1074
  "parent": {
780
- "fileName": "src/Markdown/CodeHighlighter.tsx",
781
- "name": "CodeHighlighterProps"
1075
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1076
+ "name": "RichTextInputProps"
782
1077
  },
783
1078
  "declarations": [
784
1079
  {
785
- "fileName": "src/Markdown/CodeHighlighter.tsx",
786
- "name": "CodeHighlighterProps"
1080
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1081
+ "name": "RichTextInputProps"
787
1082
  }
788
1083
  ],
789
1084
  "required": false,
790
1085
  "type": {
791
- "name": "string"
1086
+ "name": "SuggestionConfig<SuggestionItem>"
792
1087
  }
793
1088
  },
794
- "copyClassName": {
1089
+ "commands": {
795
1090
  "defaultValue": null,
796
- "description": "The class name to apply to the copy button.",
797
- "name": "copyClassName",
1091
+ "description": "Configuration for / slash commands",
1092
+ "name": "commands",
798
1093
  "parent": {
799
- "fileName": "src/Markdown/CodeHighlighter.tsx",
800
- "name": "CodeHighlighterProps"
1094
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1095
+ "name": "RichTextInputProps"
1096
+ },
1097
+ "declarations": [
1098
+ {
1099
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1100
+ "name": "RichTextInputProps"
1101
+ }
1102
+ ],
1103
+ "required": false,
1104
+ "type": {
1105
+ "name": "SuggestionConfig<SuggestionItem>"
1106
+ }
1107
+ },
1108
+ "onSubmit": {
1109
+ "defaultValue": null,
1110
+ "description": "Callback when user submits (presses Enter)",
1111
+ "name": "onSubmit",
1112
+ "parent": {
1113
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1114
+ "name": "RichTextInputProps"
1115
+ },
1116
+ "declarations": [
1117
+ {
1118
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1119
+ "name": "RichTextInputProps"
1120
+ }
1121
+ ],
1122
+ "required": false,
1123
+ "type": {
1124
+ "name": "(value: string) => void"
1125
+ }
1126
+ },
1127
+ "onChange": {
1128
+ "defaultValue": null,
1129
+ "description": "Callback when input value changes",
1130
+ "name": "onChange",
1131
+ "parent": {
1132
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1133
+ "name": "RichTextInputProps"
1134
+ },
1135
+ "declarations": [
1136
+ {
1137
+ "fileName": "src/ChatInput/RichTextInput.tsx",
1138
+ "name": "RichTextInputProps"
1139
+ }
1140
+ ],
1141
+ "required": false,
1142
+ "type": {
1143
+ "name": "(value: string) => void"
1144
+ }
1145
+ }
1146
+ }
1147
+ },
1148
+ {
1149
+ "tags": {},
1150
+ "filePath": "src/ChatSuggestions/ChatSuggestion.tsx",
1151
+ "description": "",
1152
+ "displayName": "ChatSuggestion",
1153
+ "methods": [],
1154
+ "props": {
1155
+ "onClick": {
1156
+ "defaultValue": null,
1157
+ "description": "Callback when the suggestion is clicked.",
1158
+ "name": "onClick",
1159
+ "parent": {
1160
+ "fileName": "src/ChatSuggestions/ChatSuggestion.tsx",
1161
+ "name": "ChatSuggestionProps"
1162
+ },
1163
+ "declarations": [
1164
+ {
1165
+ "fileName": "src/ChatSuggestions/ChatSuggestion.tsx",
1166
+ "name": "ChatSuggestionProps"
1167
+ }
1168
+ ],
1169
+ "required": false,
1170
+ "type": {
1171
+ "name": "(suggestion: string) => void"
1172
+ }
1173
+ },
1174
+ "id": {
1175
+ "defaultValue": null,
1176
+ "description": "Unique identifier for the suggestion",
1177
+ "name": "id",
1178
+ "parent": {
1179
+ "fileName": "reachat/src/types.ts",
1180
+ "name": "Suggestion"
1181
+ },
1182
+ "declarations": [
1183
+ {
1184
+ "fileName": "reachat/src/types.ts",
1185
+ "name": "Suggestion"
1186
+ }
1187
+ ],
1188
+ "required": true,
1189
+ "type": {
1190
+ "name": "string"
1191
+ }
1192
+ },
1193
+ "content": {
1194
+ "defaultValue": null,
1195
+ "description": "The display text for the suggestion",
1196
+ "name": "content",
1197
+ "parent": {
1198
+ "fileName": "reachat/src/types.ts",
1199
+ "name": "Suggestion"
1200
+ },
1201
+ "declarations": [
1202
+ {
1203
+ "fileName": "reachat/src/types.ts",
1204
+ "name": "Suggestion"
1205
+ }
1206
+ ],
1207
+ "required": true,
1208
+ "type": {
1209
+ "name": "string"
1210
+ }
1211
+ }
1212
+ }
1213
+ },
1214
+ {
1215
+ "tags": {},
1216
+ "filePath": "src/ChatSuggestions/ChatSuggestions.tsx",
1217
+ "description": "",
1218
+ "displayName": "ChatSuggestions",
1219
+ "methods": [],
1220
+ "props": {
1221
+ "suggestions": {
1222
+ "defaultValue": null,
1223
+ "description": "Array of suggestions to display.",
1224
+ "name": "suggestions",
1225
+ "parent": {
1226
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1227
+ "name": "ChatSuggestionsProps"
1228
+ },
1229
+ "declarations": [
1230
+ {
1231
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1232
+ "name": "ChatSuggestionsProps"
1233
+ }
1234
+ ],
1235
+ "required": true,
1236
+ "type": {
1237
+ "name": "Suggestion[]"
1238
+ }
1239
+ },
1240
+ "className": {
1241
+ "defaultValue": null,
1242
+ "description": "Custom class name to apply to the container.",
1243
+ "name": "className",
1244
+ "parent": {
1245
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1246
+ "name": "ChatSuggestionsProps"
1247
+ },
1248
+ "declarations": [
1249
+ {
1250
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1251
+ "name": "ChatSuggestionsProps"
1252
+ }
1253
+ ],
1254
+ "required": false,
1255
+ "type": {
1256
+ "name": "string"
1257
+ }
1258
+ },
1259
+ "onSuggestionClick": {
1260
+ "defaultValue": null,
1261
+ "description": "Callback when a suggestion is clicked.",
1262
+ "name": "onSuggestionClick",
1263
+ "parent": {
1264
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1265
+ "name": "ChatSuggestionsProps"
1266
+ },
1267
+ "declarations": [
1268
+ {
1269
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1270
+ "name": "ChatSuggestionsProps"
1271
+ }
1272
+ ],
1273
+ "required": false,
1274
+ "type": {
1275
+ "name": "(suggestion: string) => void"
1276
+ }
1277
+ },
1278
+ "children": {
1279
+ "defaultValue": null,
1280
+ "description": "Custom render function for each suggestion item.\nReceives the suggestion data and onClick handler.",
1281
+ "name": "children",
1282
+ "parent": {
1283
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1284
+ "name": "ChatSuggestionsProps"
1285
+ },
1286
+ "declarations": [
1287
+ {
1288
+ "fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
1289
+ "name": "ChatSuggestionsProps"
1290
+ }
1291
+ ],
1292
+ "required": false,
1293
+ "type": {
1294
+ "name": "ReactElement<any, string | JSXElementConstructor<any>>"
1295
+ }
1296
+ }
1297
+ }
1298
+ },
1299
+ {
1300
+ "tags": {},
1301
+ "filePath": "src/Markdown/CodeHighlighter.tsx",
1302
+ "description": "",
1303
+ "displayName": "CodeHighlighter",
1304
+ "methods": [],
1305
+ "props": {
1306
+ "className": {
1307
+ "defaultValue": null,
1308
+ "description": "The class name to apply to the code block.",
1309
+ "name": "className",
1310
+ "parent": {
1311
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1312
+ "name": "CodeHighlighterProps"
1313
+ },
1314
+ "declarations": [
1315
+ {
1316
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1317
+ "name": "CodeHighlighterProps"
1318
+ }
1319
+ ],
1320
+ "required": false,
1321
+ "type": {
1322
+ "name": "string"
1323
+ }
1324
+ },
1325
+ "language": {
1326
+ "defaultValue": null,
1327
+ "description": "The language of the code block.",
1328
+ "name": "language",
1329
+ "parent": {
1330
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1331
+ "name": "CodeHighlighterProps"
1332
+ },
1333
+ "declarations": [
1334
+ {
1335
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1336
+ "name": "CodeHighlighterProps"
1337
+ }
1338
+ ],
1339
+ "required": false,
1340
+ "type": {
1341
+ "name": "string"
1342
+ }
1343
+ },
1344
+ "copyClassName": {
1345
+ "defaultValue": null,
1346
+ "description": "The class name to apply to the copy button.",
1347
+ "name": "copyClassName",
1348
+ "parent": {
1349
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1350
+ "name": "CodeHighlighterProps"
1351
+ },
1352
+ "declarations": [
1353
+ {
1354
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1355
+ "name": "CodeHighlighterProps"
1356
+ }
1357
+ ],
1358
+ "required": false,
1359
+ "type": {
1360
+ "name": "string"
1361
+ }
1362
+ },
1363
+ "toolbarClassName": {
1364
+ "defaultValue": null,
1365
+ "description": "The class name to apply to the toolbar.",
1366
+ "name": "toolbarClassName",
1367
+ "parent": {
1368
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1369
+ "name": "CodeHighlighterProps"
1370
+ },
1371
+ "declarations": [
1372
+ {
1373
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1374
+ "name": "CodeHighlighterProps"
1375
+ }
1376
+ ],
1377
+ "required": false,
1378
+ "type": {
1379
+ "name": "string"
1380
+ }
1381
+ },
1382
+ "copyIcon": {
1383
+ "defaultValue": {
1384
+ "value": "<CopyIcon />"
1385
+ },
1386
+ "description": "Icon to show for copy.",
1387
+ "name": "copyIcon",
1388
+ "parent": {
1389
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1390
+ "name": "CodeHighlighterProps"
1391
+ },
1392
+ "declarations": [
1393
+ {
1394
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1395
+ "name": "CodeHighlighterProps"
1396
+ }
1397
+ ],
1398
+ "required": false,
1399
+ "type": {
1400
+ "name": "ReactElement<any, string | JSXElementConstructor<any>>"
1401
+ }
1402
+ },
1403
+ "theme": {
1404
+ "defaultValue": {
1405
+ "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}"
1406
+ },
1407
+ "description": "The theme to use for the code block.",
1408
+ "name": "theme",
1409
+ "parent": {
1410
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1411
+ "name": "CodeHighlighterProps"
1412
+ },
1413
+ "declarations": [
1414
+ {
1415
+ "fileName": "src/Markdown/CodeHighlighter.tsx",
1416
+ "name": "CodeHighlighterProps"
1417
+ }
1418
+ ],
1419
+ "required": false,
1420
+ "type": {
1421
+ "name": "Record<string, string>"
1422
+ }
1423
+ }
1424
+ }
1425
+ },
1426
+ {
1427
+ "tags": {},
1428
+ "filePath": "src/Markdown/Markdown.tsx",
1429
+ "description": "",
1430
+ "displayName": "Markdown",
1431
+ "methods": [],
1432
+ "props": {
1433
+ "remarkPlugins": {
1434
+ "defaultValue": null,
1435
+ "description": "Remark plugins to apply to the markdown content.",
1436
+ "name": "remarkPlugins",
1437
+ "parent": {
1438
+ "fileName": "src/Markdown/Markdown.tsx",
1439
+ "name": "MarkdownWrapperProps"
1440
+ },
1441
+ "declarations": [
1442
+ {
1443
+ "fileName": "src/Markdown/Markdown.tsx",
1444
+ "name": "MarkdownWrapperProps"
1445
+ }
1446
+ ],
1447
+ "required": false,
1448
+ "type": {
1449
+ "name": "Plugin<[], Node, Node>[]"
1450
+ }
1451
+ },
1452
+ "rehypePlugins": {
1453
+ "defaultValue": {
1454
+ "value": "[rehypeKatex]"
1455
+ },
1456
+ "description": "Rehype plugins to apply to the markdown content.",
1457
+ "name": "rehypePlugins",
1458
+ "parent": {
1459
+ "fileName": "src/Markdown/Markdown.tsx",
1460
+ "name": "MarkdownWrapperProps"
1461
+ },
1462
+ "declarations": [
1463
+ {
1464
+ "fileName": "src/Markdown/Markdown.tsx",
1465
+ "name": "MarkdownWrapperProps"
1466
+ }
1467
+ ],
1468
+ "required": false,
1469
+ "type": {
1470
+ "name": "Plugin<[], Node, Node>[]"
1471
+ }
1472
+ },
1473
+ "customComponents": {
1474
+ "defaultValue": null,
1475
+ "description": "Custom components to override default markdown rendering.\nThese will be merged with the default components.",
1476
+ "name": "customComponents",
1477
+ "parent": {
1478
+ "fileName": "src/Markdown/Markdown.tsx",
1479
+ "name": "MarkdownWrapperProps"
1480
+ },
1481
+ "declarations": [
1482
+ {
1483
+ "fileName": "src/Markdown/Markdown.tsx",
1484
+ "name": "MarkdownWrapperProps"
1485
+ }
1486
+ ],
1487
+ "required": false,
1488
+ "type": {
1489
+ "name": "Components"
1490
+ }
1491
+ }
1492
+ }
1493
+ },
1494
+ {
1495
+ "tags": {},
1496
+ "filePath": "src/Markdown/Table.tsx",
1497
+ "description": "",
1498
+ "displayName": "TableComponent",
1499
+ "methods": [],
1500
+ "props": {}
1501
+ },
1502
+ {
1503
+ "tags": {},
1504
+ "filePath": "src/Markdown/Table.tsx",
1505
+ "description": "",
1506
+ "displayName": "TableHeaderCell",
1507
+ "methods": [],
1508
+ "props": {}
1509
+ },
1510
+ {
1511
+ "tags": {},
1512
+ "filePath": "src/Markdown/Table.tsx",
1513
+ "description": "",
1514
+ "displayName": "TableDataCell",
1515
+ "methods": [],
1516
+ "props": {}
1517
+ },
1518
+ {
1519
+ "tags": {},
1520
+ "filePath": "src/MessageStatus/MessageStatus.tsx",
1521
+ "description": "Displays status information with optional sub-steps, similar to Claude's tool status UI.",
1522
+ "displayName": "MessageStatus",
1523
+ "methods": [],
1524
+ "props": {
1525
+ "status": {
1526
+ "defaultValue": {
1527
+ "value": "loading"
1528
+ },
1529
+ "description": "Current status state.",
1530
+ "name": "status",
1531
+ "parent": {
1532
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1533
+ "name": "MessageStatusProps"
1534
+ },
1535
+ "declarations": [
1536
+ {
1537
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1538
+ "name": "MessageStatusProps"
1539
+ }
1540
+ ],
1541
+ "required": false,
1542
+ "type": {
1543
+ "name": "MessageStatusState"
1544
+ }
1545
+ },
1546
+ "text": {
1547
+ "defaultValue": null,
1548
+ "description": "Main status text to display.",
1549
+ "name": "text",
1550
+ "parent": {
1551
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1552
+ "name": "MessageStatusProps"
1553
+ },
1554
+ "declarations": [
1555
+ {
1556
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1557
+ "name": "MessageStatusProps"
1558
+ }
1559
+ ],
1560
+ "required": true,
1561
+ "type": {
1562
+ "name": "string"
1563
+ }
1564
+ },
1565
+ "steps": {
1566
+ "defaultValue": null,
1567
+ "description": "Optional sub-steps to display.",
1568
+ "name": "steps",
1569
+ "parent": {
1570
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1571
+ "name": "MessageStatusProps"
801
1572
  },
802
1573
  "declarations": [
803
1574
  {
804
- "fileName": "src/Markdown/CodeHighlighter.tsx",
805
- "name": "CodeHighlighterProps"
1575
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1576
+ "name": "MessageStatusProps"
806
1577
  }
807
1578
  ],
808
1579
  "required": false,
809
1580
  "type": {
810
- "name": "string"
1581
+ "name": "MessageStatusStep[]"
811
1582
  }
812
1583
  },
813
- "toolbarClassName": {
1584
+ "icon": {
814
1585
  "defaultValue": null,
815
- "description": "The class name to apply to the toolbar.",
816
- "name": "toolbarClassName",
1586
+ "description": "Custom icon to display. If not provided, uses default icons based on status.",
1587
+ "name": "icon",
817
1588
  "parent": {
818
- "fileName": "src/Markdown/CodeHighlighter.tsx",
819
- "name": "CodeHighlighterProps"
1589
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1590
+ "name": "MessageStatusProps"
820
1591
  },
821
1592
  "declarations": [
822
1593
  {
823
- "fileName": "src/Markdown/CodeHighlighter.tsx",
824
- "name": "CodeHighlighterProps"
1594
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1595
+ "name": "MessageStatusProps"
825
1596
  }
826
1597
  ],
827
1598
  "required": false,
828
1599
  "type": {
829
- "name": "string"
1600
+ "name": "ReactNode"
830
1601
  }
831
1602
  },
832
- "copyIcon": {
833
- "defaultValue": {
834
- "value": "<CopyIcon />"
835
- },
836
- "description": "Icon to show for copy.",
837
- "name": "copyIcon",
1603
+ "className": {
1604
+ "defaultValue": null,
1605
+ "description": "Additional CSS class name.",
1606
+ "name": "className",
838
1607
  "parent": {
839
- "fileName": "src/Markdown/CodeHighlighter.tsx",
840
- "name": "CodeHighlighterProps"
1608
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1609
+ "name": "MessageStatusProps"
841
1610
  },
842
1611
  "declarations": [
843
1612
  {
844
- "fileName": "src/Markdown/CodeHighlighter.tsx",
845
- "name": "CodeHighlighterProps"
1613
+ "fileName": "src/MessageStatus/MessageStatus.tsx",
1614
+ "name": "MessageStatusProps"
846
1615
  }
847
1616
  ],
848
1617
  "required": false,
849
1618
  "type": {
850
- "name": "ReactElement<any, string | JSXElementConstructor<any>>"
1619
+ "name": "string"
851
1620
  }
852
- },
853
- "theme": {
854
- "defaultValue": {
855
- "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}"
856
- },
857
- "description": "The theme to use for the code block.",
858
- "name": "theme",
1621
+ }
1622
+ }
1623
+ },
1624
+ {
1625
+ "tags": {},
1626
+ "filePath": "src/MessageStatus/MessageStatusItem.tsx",
1627
+ "description": "",
1628
+ "displayName": "MessageStatusItem",
1629
+ "methods": [],
1630
+ "props": {
1631
+ "step": {
1632
+ "defaultValue": null,
1633
+ "description": "The step to display.",
1634
+ "name": "step",
859
1635
  "parent": {
860
- "fileName": "src/Markdown/CodeHighlighter.tsx",
861
- "name": "CodeHighlighterProps"
1636
+ "fileName": "src/MessageStatus/MessageStatusItem.tsx",
1637
+ "name": "MessageStatusItemProps"
862
1638
  },
863
1639
  "declarations": [
864
1640
  {
865
- "fileName": "src/Markdown/CodeHighlighter.tsx",
866
- "name": "CodeHighlighterProps"
1641
+ "fileName": "src/MessageStatus/MessageStatusItem.tsx",
1642
+ "name": "MessageStatusItemProps"
867
1643
  }
868
1644
  ],
869
- "required": false,
1645
+ "required": true,
870
1646
  "type": {
871
- "name": "Record<string, string>"
1647
+ "name": "MessageStatusStep"
872
1648
  }
873
1649
  }
874
1650
  }
875
1651
  },
876
1652
  {
877
1653
  "tags": {},
878
- "filePath": "src/Markdown/Markdown.tsx",
1654
+ "filePath": "src/MessageStatus/StatusIcon.tsx",
879
1655
  "description": "",
880
- "displayName": "Markdown",
1656
+ "displayName": "StatusIcon",
881
1657
  "methods": [],
882
1658
  "props": {
883
- "remarkPlugins": {
1659
+ "state": {
884
1660
  "defaultValue": null,
885
- "description": "Remark plugins to apply to the markdown content.",
886
- "name": "remarkPlugins",
1661
+ "description": "Current state of the status icon.",
1662
+ "name": "state",
887
1663
  "parent": {
888
- "fileName": "src/Markdown/Markdown.tsx",
889
- "name": "MarkdownWrapperProps"
1664
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1665
+ "name": "StatusIconProps"
890
1666
  },
891
1667
  "declarations": [
892
1668
  {
893
- "fileName": "src/Markdown/Markdown.tsx",
894
- "name": "MarkdownWrapperProps"
1669
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1670
+ "name": "StatusIconProps"
895
1671
  }
896
1672
  ],
897
- "required": false,
1673
+ "required": true,
898
1674
  "type": {
899
- "name": "Plugin[]"
1675
+ "name": "MessageStatusState"
900
1676
  }
901
1677
  },
902
- "rehypePlugins": {
903
- "defaultValue": {
904
- "value": "[rehypeKatex]"
905
- },
906
- "description": "Rehype plugins to apply to the markdown content.",
907
- "name": "rehypePlugins",
1678
+ "className": {
1679
+ "defaultValue": null,
1680
+ "description": "Additional CSS class name for the icon container.",
1681
+ "name": "className",
908
1682
  "parent": {
909
- "fileName": "src/Markdown/Markdown.tsx",
910
- "name": "MarkdownWrapperProps"
1683
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1684
+ "name": "StatusIconProps"
911
1685
  },
912
1686
  "declarations": [
913
1687
  {
914
- "fileName": "src/Markdown/Markdown.tsx",
915
- "name": "MarkdownWrapperProps"
1688
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1689
+ "name": "StatusIconProps"
916
1690
  }
917
1691
  ],
918
1692
  "required": false,
919
1693
  "type": {
920
- "name": "Plugin[]"
1694
+ "name": "string"
921
1695
  }
922
1696
  },
923
- "theme": {
1697
+ "colorClassName": {
924
1698
  "defaultValue": null,
925
- "description": "Theme to apply to the markdown content.",
926
- "name": "theme",
1699
+ "description": "CSS class name for the icon color based on state.",
1700
+ "name": "colorClassName",
927
1701
  "parent": {
928
- "fileName": "src/Markdown/Markdown.tsx",
929
- "name": "MarkdownWrapperProps"
1702
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1703
+ "name": "StatusIconProps"
930
1704
  },
931
1705
  "declarations": [
932
1706
  {
933
- "fileName": "src/Markdown/Markdown.tsx",
934
- "name": "MarkdownWrapperProps"
1707
+ "fileName": "src/MessageStatus/StatusIcon.tsx",
1708
+ "name": "StatusIconProps"
935
1709
  }
936
1710
  ],
937
- "required": true,
1711
+ "required": false,
938
1712
  "type": {
939
- "name": "ChatTheme"
1713
+ "name": "string"
940
1714
  }
941
1715
  }
942
1716
  }
943
1717
  },
944
- {
945
- "tags": {},
946
- "filePath": "src/Markdown/Table.tsx",
947
- "description": "",
948
- "displayName": "TableComponent",
949
- "methods": [],
950
- "props": {}
951
- },
952
- {
953
- "tags": {},
954
- "filePath": "src/Markdown/Table.tsx",
955
- "description": "",
956
- "displayName": "TableHeaderCell",
957
- "methods": [],
958
- "props": {}
959
- },
960
- {
961
- "tags": {},
962
- "filePath": "src/Markdown/Table.tsx",
963
- "description": "",
964
- "displayName": "TableDataCell",
965
- "methods": [],
966
- "props": {}
967
- },
968
1718
  {
969
1719
  "tags": {},
970
1720
  "filePath": "src/SessionMessages/SessionEmpty.tsx",
@@ -1010,25 +1760,6 @@
1010
1760
  "displayName": "SessionMessages",
1011
1761
  "methods": [],
1012
1762
  "props": {
1013
- "className": {
1014
- "defaultValue": null,
1015
- "description": "Class name to apply to the root element.",
1016
- "name": "className",
1017
- "parent": {
1018
- "fileName": "src/SessionMessages/SessionMessages.tsx",
1019
- "name": "SessionMessagesProps"
1020
- },
1021
- "declarations": [
1022
- {
1023
- "fileName": "src/SessionMessages/SessionMessages.tsx",
1024
- "name": "SessionMessagesProps"
1025
- }
1026
- ],
1027
- "required": false,
1028
- "type": {
1029
- "name": "string"
1030
- }
1031
- },
1032
1763
  "newSessionContent": {
1033
1764
  "defaultValue": null,
1034
1765
  "description": "Content to display when there are no sessions selected or a new session is started.",
@@ -1090,12 +1821,12 @@
1090
1821
  "name": "string"
1091
1822
  }
1092
1823
  },
1093
- "autoScroll": {
1824
+ "showScrollBottomButton": {
1094
1825
  "defaultValue": {
1095
- "value": "true"
1826
+ "value": "false"
1096
1827
  },
1097
- "description": "Whether to automatically scroll to the bottom of the content.",
1098
- "name": "autoScroll",
1828
+ "description": "Whether to display the scroll to bottom button.",
1829
+ "name": "showScrollBottomButton",
1099
1830
  "parent": {
1100
1831
  "fileName": "src/SessionMessages/SessionMessages.tsx",
1101
1832
  "name": "SessionMessagesProps"
@@ -1366,6 +2097,148 @@
1366
2097
  }
1367
2098
  }
1368
2099
  },
2100
+ {
2101
+ "tags": {},
2102
+ "filePath": "src/Markdown/charts/ChartError.tsx",
2103
+ "description": "",
2104
+ "displayName": "ChartError",
2105
+ "methods": [],
2106
+ "props": {
2107
+ "variant": {
2108
+ "defaultValue": {
2109
+ "value": "error"
2110
+ },
2111
+ "description": "The visual style variant of the error display.\nDefaults to 'error'.",
2112
+ "name": "variant",
2113
+ "parent": {
2114
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2115
+ "name": "ChartErrorProps"
2116
+ },
2117
+ "declarations": [
2118
+ {
2119
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2120
+ "name": "ChartErrorProps"
2121
+ }
2122
+ ],
2123
+ "required": false,
2124
+ "type": {
2125
+ "name": "\"error\" | \"warning\""
2126
+ }
2127
+ },
2128
+ "title": {
2129
+ "defaultValue": null,
2130
+ "description": "The heading text displayed at the top of the error.",
2131
+ "name": "title",
2132
+ "parent": {
2133
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2134
+ "name": "ChartErrorProps"
2135
+ },
2136
+ "declarations": [
2137
+ {
2138
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2139
+ "name": "ChartErrorProps"
2140
+ }
2141
+ ],
2142
+ "required": false,
2143
+ "type": {
2144
+ "name": "string"
2145
+ }
2146
+ },
2147
+ "message": {
2148
+ "defaultValue": null,
2149
+ "description": "The descriptive message explaining the error or warning.",
2150
+ "name": "message",
2151
+ "parent": {
2152
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2153
+ "name": "ChartErrorProps"
2154
+ },
2155
+ "declarations": [
2156
+ {
2157
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2158
+ "name": "ChartErrorProps"
2159
+ }
2160
+ ],
2161
+ "required": false,
2162
+ "type": {
2163
+ "name": "string"
2164
+ }
2165
+ },
2166
+ "code": {
2167
+ "defaultValue": null,
2168
+ "description": "The raw code or data that caused the error, displayed in a code block.",
2169
+ "name": "code",
2170
+ "parent": {
2171
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2172
+ "name": "ChartErrorProps"
2173
+ },
2174
+ "declarations": [
2175
+ {
2176
+ "fileName": "src/Markdown/charts/ChartError.tsx",
2177
+ "name": "ChartErrorProps"
2178
+ }
2179
+ ],
2180
+ "required": false,
2181
+ "type": {
2182
+ "name": "string"
2183
+ }
2184
+ }
2185
+ }
2186
+ },
2187
+ {
2188
+ "tags": {},
2189
+ "filePath": "src/Markdown/charts/ChartPre.tsx",
2190
+ "description": "",
2191
+ "displayName": "ChartPre",
2192
+ "methods": [],
2193
+ "props": {}
2194
+ },
2195
+ {
2196
+ "tags": {},
2197
+ "filePath": "src/Markdown/charts/ChartRenderer.tsx",
2198
+ "description": "",
2199
+ "displayName": "ChartRenderer",
2200
+ "methods": [],
2201
+ "props": {
2202
+ "config": {
2203
+ "defaultValue": null,
2204
+ "description": "The chart configuration.",
2205
+ "name": "config",
2206
+ "parent": {
2207
+ "fileName": "src/Markdown/charts/ChartRenderer.tsx",
2208
+ "name": "ChartRendererProps"
2209
+ },
2210
+ "declarations": [
2211
+ {
2212
+ "fileName": "src/Markdown/charts/ChartRenderer.tsx",
2213
+ "name": "ChartRendererProps"
2214
+ }
2215
+ ],
2216
+ "required": true,
2217
+ "type": {
2218
+ "name": "ChartConfig"
2219
+ }
2220
+ },
2221
+ "className": {
2222
+ "defaultValue": null,
2223
+ "description": "The class name to apply to the chart container.",
2224
+ "name": "className",
2225
+ "parent": {
2226
+ "fileName": "src/Markdown/charts/ChartRenderer.tsx",
2227
+ "name": "ChartRendererProps"
2228
+ },
2229
+ "declarations": [
2230
+ {
2231
+ "fileName": "src/Markdown/charts/ChartRenderer.tsx",
2232
+ "name": "ChartRendererProps"
2233
+ }
2234
+ ],
2235
+ "required": false,
2236
+ "type": {
2237
+ "name": "string"
2238
+ }
2239
+ }
2240
+ }
2241
+ },
1369
2242
  {
1370
2243
  "tags": {},
1371
2244
  "filePath": "src/SessionMessages/SessionMessage/MessageActions.tsx",
@@ -1720,12 +2593,12 @@
1720
2593
  "description": "URL of the source, if applicable",
1721
2594
  "name": "url",
1722
2595
  "parent": {
1723
- "fileName": "reachat/src/types.ts",
2596
+ "fileName": "src/types.ts",
1724
2597
  "name": "ConversationSource"
1725
2598
  },
1726
2599
  "declarations": [
1727
2600
  {
1728
- "fileName": "reachat/src/types.ts",
2601
+ "fileName": "src/types.ts",
1729
2602
  "name": "ConversationSource"
1730
2603
  }
1731
2604
  ],
@@ -1739,12 +2612,12 @@
1739
2612
  "description": "Title or description of the source",
1740
2613
  "name": "title",
1741
2614
  "parent": {
1742
- "fileName": "reachat/src/types.ts",
2615
+ "fileName": "src/types.ts",
1743
2616
  "name": "ConversationSource"
1744
2617
  },
1745
2618
  "declarations": [
1746
2619
  {
1747
- "fileName": "reachat/src/types.ts",
2620
+ "fileName": "src/types.ts",
1748
2621
  "name": "ConversationSource"
1749
2622
  }
1750
2623
  ],
@@ -1758,12 +2631,12 @@
1758
2631
  "description": "Image URL of the source, if applicable.",
1759
2632
  "name": "image",
1760
2633
  "parent": {
1761
- "fileName": "reachat/src/types.ts",
2634
+ "fileName": "src/types.ts",
1762
2635
  "name": "ConversationSource"
1763
2636
  },
1764
2637
  "declarations": [
1765
2638
  {
1766
- "fileName": "reachat/src/types.ts",
2639
+ "fileName": "src/types.ts",
1767
2640
  "name": "ConversationSource"
1768
2641
  }
1769
2642
  ],
@@ -1809,25 +2682,6 @@
1809
2682
  "displayName": "SessionMessage",
1810
2683
  "methods": [],
1811
2684
  "props": {
1812
- "className": {
1813
- "defaultValue": null,
1814
- "description": "Class name to apply to the root element.",
1815
- "name": "className",
1816
- "parent": {
1817
- "fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
1818
- "name": "SessionMessageProps"
1819
- },
1820
- "declarations": [
1821
- {
1822
- "fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
1823
- "name": "SessionMessageProps"
1824
- }
1825
- ],
1826
- "required": false,
1827
- "type": {
1828
- "name": "string"
1829
- }
1830
- },
1831
2685
  "conversation": {
1832
2686
  "defaultValue": null,
1833
2687
  "description": "Conversation to render.",
@@ -1922,12 +2776,12 @@
1922
2776
  "description": "Name of the file",
1923
2777
  "name": "name",
1924
2778
  "parent": {
1925
- "fileName": "reachat/src/types.ts",
2779
+ "fileName": "src/types.ts",
1926
2780
  "name": "ConversationFile"
1927
2781
  },
1928
2782
  "declarations": [
1929
2783
  {
1930
- "fileName": "reachat/src/types.ts",
2784
+ "fileName": "src/types.ts",
1931
2785
  "name": "ConversationFile"
1932
2786
  }
1933
2787
  ],
@@ -1941,12 +2795,12 @@
1941
2795
  "description": "Type of the file",
1942
2796
  "name": "type",
1943
2797
  "parent": {
1944
- "fileName": "reachat/src/types.ts",
2798
+ "fileName": "src/types.ts",
1945
2799
  "name": "ConversationFile"
1946
2800
  },
1947
2801
  "declarations": [
1948
2802
  {
1949
- "fileName": "reachat/src/types.ts",
2803
+ "fileName": "src/types.ts",
1950
2804
  "name": "ConversationFile"
1951
2805
  }
1952
2806
  ],
@@ -1960,12 +2814,12 @@
1960
2814
  "description": "Size of the file",
1961
2815
  "name": "size",
1962
2816
  "parent": {
1963
- "fileName": "reachat/src/types.ts",
2817
+ "fileName": "src/types.ts",
1964
2818
  "name": "ConversationFile"
1965
2819
  },
1966
2820
  "declarations": [
1967
2821
  {
1968
- "fileName": "reachat/src/types.ts",
2822
+ "fileName": "src/types.ts",
1969
2823
  "name": "ConversationFile"
1970
2824
  }
1971
2825
  ],
@@ -1979,12 +2833,12 @@
1979
2833
  "description": "URL of the file",
1980
2834
  "name": "url",
1981
2835
  "parent": {
1982
- "fileName": "reachat/src/types.ts",
2836
+ "fileName": "src/types.ts",
1983
2837
  "name": "ConversationFile"
1984
2838
  },
1985
2839
  "declarations": [
1986
2840
  {
1987
- "fileName": "reachat/src/types.ts",
2841
+ "fileName": "src/types.ts",
1988
2842
  "name": "ConversationFile"
1989
2843
  }
1990
2844
  ],