@memori.ai/memori-react 8.11.0 → 8.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
  3. package/dist/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
  4. package/dist/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
  5. package/dist/components/Auth/Auth.js +36 -8
  6. package/dist/components/Auth/Auth.js.map +1 -1
  7. package/dist/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
  8. package/dist/components/Chat/Chat.css +37 -3
  9. package/dist/components/Chat/Chat.js +61 -23
  10. package/dist/components/Chat/Chat.js.map +1 -1
  11. package/dist/components/ChatBubble/ChatBubble.css +87 -15
  12. package/dist/components/ChatBubble/ChatBubble.js +129 -19
  13. package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
  14. package/dist/components/ChatHistoryDrawer/ChatHistory.css +5 -1
  15. package/dist/components/ChatInputs/ChatInputs.css +293 -17
  16. package/dist/components/ChatInputs/ChatInputs.d.ts +1 -0
  17. package/dist/components/ChatInputs/ChatInputs.js +48 -27
  18. package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
  19. package/dist/components/ChatTextArea/ChatTextArea.css +75 -31
  20. package/dist/components/ChatTextArea/ChatTextArea.js +47 -18
  21. package/dist/components/ChatTextArea/ChatTextArea.js.map +1 -1
  22. package/dist/components/DateSelector/DateSelector.css +125 -104
  23. package/dist/components/DateSelector/DateSelector.d.ts +1 -1
  24. package/dist/components/DateSelector/DateSelector.js +110 -52
  25. package/dist/components/DateSelector/DateSelector.js.map +1 -1
  26. package/dist/components/FilePreview/FilePreview.css +225 -146
  27. package/dist/components/FilePreview/FilePreview.d.ts +1 -2
  28. package/dist/components/FilePreview/FilePreview.js +20 -6
  29. package/dist/components/FilePreview/FilePreview.js.map +1 -1
  30. package/dist/components/Header/Header.css +2 -2
  31. package/dist/components/Header/Header.js +1 -1
  32. package/dist/components/Header/Header.js.map +1 -1
  33. package/dist/components/LoginDrawer/LoginDrawer.css +37 -5
  34. package/dist/components/LoginDrawer/LoginDrawer.d.ts +1 -2
  35. package/dist/components/LoginDrawer/LoginDrawer.js +2 -9
  36. package/dist/components/LoginDrawer/LoginDrawer.js.map +1 -1
  37. package/dist/components/MediaWidget/MediaItemWidget.js +2 -1
  38. package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
  39. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
  40. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
  41. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
  42. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
  43. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
  44. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
  45. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
  46. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  47. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
  48. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
  49. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
  50. package/dist/components/MemoriWidget/MemoriWidget.css +11 -2
  51. package/dist/components/MemoriWidget/MemoriWidget.js +105 -25
  52. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  53. package/dist/components/MicrophoneButton/MicrophoneButton.css +2 -2
  54. package/dist/components/StartPanel/StartPanel.css +8 -0
  55. package/dist/components/UploadButton/UploadButton.css +20 -17
  56. package/dist/components/UploadButton/UploadButton.js +218 -87
  57. package/dist/components/UploadButton/UploadButton.js.map +1 -1
  58. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js +14 -4
  59. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  60. package/dist/components/UploadButton/UploadImages/UploadImages.js +143 -16
  61. package/dist/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
  62. package/dist/components/layouts/chat.css +1 -1
  63. package/dist/components/ui/Drawer.css +8 -0
  64. package/dist/components/ui/Drawer.d.ts +2 -0
  65. package/dist/components/ui/Drawer.js +2 -2
  66. package/dist/components/ui/Drawer.js.map +1 -1
  67. package/dist/components/ui/Tooltip.css +49 -1
  68. package/dist/components/ui/Tooltip.d.ts +1 -1
  69. package/dist/helpers/constants.d.ts +1 -0
  70. package/dist/helpers/constants.js +2 -1
  71. package/dist/helpers/constants.js.map +1 -1
  72. package/dist/helpers/imageCompression.d.ts +7 -0
  73. package/dist/helpers/imageCompression.js +123 -0
  74. package/dist/helpers/imageCompression.js.map +1 -0
  75. package/dist/locales/de.json +13 -5
  76. package/dist/locales/en.json +17 -6
  77. package/dist/locales/es.json +13 -5
  78. package/dist/locales/fr.json +12 -5
  79. package/dist/locales/it.json +16 -6
  80. package/dist/styles.css +4 -4
  81. package/esm/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
  82. package/esm/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
  83. package/esm/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
  84. package/esm/components/Auth/Auth.js +36 -8
  85. package/esm/components/Auth/Auth.js.map +1 -1
  86. package/esm/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
  87. package/esm/components/Chat/Chat.css +37 -3
  88. package/esm/components/Chat/Chat.js +61 -23
  89. package/esm/components/Chat/Chat.js.map +1 -1
  90. package/esm/components/ChatBubble/ChatBubble.css +87 -15
  91. package/esm/components/ChatBubble/ChatBubble.js +130 -20
  92. package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  93. package/esm/components/ChatHistoryDrawer/ChatHistory.css +5 -1
  94. package/esm/components/ChatInputs/ChatInputs.css +293 -17
  95. package/esm/components/ChatInputs/ChatInputs.d.ts +1 -0
  96. package/esm/components/ChatInputs/ChatInputs.js +49 -28
  97. package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
  98. package/esm/components/ChatTextArea/ChatTextArea.css +75 -31
  99. package/esm/components/ChatTextArea/ChatTextArea.js +49 -20
  100. package/esm/components/ChatTextArea/ChatTextArea.js.map +1 -1
  101. package/esm/components/DateSelector/DateSelector.css +125 -104
  102. package/esm/components/DateSelector/DateSelector.d.ts +1 -1
  103. package/esm/components/DateSelector/DateSelector.js +111 -52
  104. package/esm/components/DateSelector/DateSelector.js.map +1 -1
  105. package/esm/components/FilePreview/FilePreview.css +225 -146
  106. package/esm/components/FilePreview/FilePreview.d.ts +1 -2
  107. package/esm/components/FilePreview/FilePreview.js +21 -7
  108. package/esm/components/FilePreview/FilePreview.js.map +1 -1
  109. package/esm/components/Header/Header.css +2 -2
  110. package/esm/components/Header/Header.js +1 -1
  111. package/esm/components/Header/Header.js.map +1 -1
  112. package/esm/components/LoginDrawer/LoginDrawer.css +37 -5
  113. package/esm/components/LoginDrawer/LoginDrawer.d.ts +1 -2
  114. package/esm/components/LoginDrawer/LoginDrawer.js +2 -9
  115. package/esm/components/LoginDrawer/LoginDrawer.js.map +1 -1
  116. package/esm/components/MediaWidget/MediaItemWidget.js +2 -1
  117. package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
  118. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
  119. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
  120. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
  121. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
  122. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
  123. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
  124. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
  125. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  126. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
  127. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
  128. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
  129. package/esm/components/MemoriWidget/MemoriWidget.css +11 -2
  130. package/esm/components/MemoriWidget/MemoriWidget.js +105 -25
  131. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  132. package/esm/components/MicrophoneButton/MicrophoneButton.css +2 -2
  133. package/esm/components/StartPanel/StartPanel.css +8 -0
  134. package/esm/components/UploadButton/UploadButton.css +20 -17
  135. package/esm/components/UploadButton/UploadButton.js +219 -88
  136. package/esm/components/UploadButton/UploadButton.js.map +1 -1
  137. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js +14 -4
  138. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  139. package/esm/components/UploadButton/UploadImages/UploadImages.js +143 -16
  140. package/esm/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
  141. package/esm/components/layouts/chat.css +1 -1
  142. package/esm/components/ui/Drawer.css +8 -0
  143. package/esm/components/ui/Drawer.d.ts +2 -0
  144. package/esm/components/ui/Drawer.js +2 -2
  145. package/esm/components/ui/Drawer.js.map +1 -1
  146. package/esm/components/ui/Tooltip.css +49 -1
  147. package/esm/components/ui/Tooltip.d.ts +1 -1
  148. package/esm/helpers/constants.d.ts +1 -0
  149. package/esm/helpers/constants.js +1 -0
  150. package/esm/helpers/constants.js.map +1 -1
  151. package/esm/helpers/imageCompression.d.ts +7 -0
  152. package/esm/helpers/imageCompression.js +119 -0
  153. package/esm/helpers/imageCompression.js.map +1 -0
  154. package/esm/locales/de.json +13 -5
  155. package/esm/locales/en.json +17 -6
  156. package/esm/locales/es.json +13 -5
  157. package/esm/locales/fr.json +12 -5
  158. package/esm/locales/it.json +16 -6
  159. package/esm/styles.css +4 -4
  160. package/package.json +2 -2
  161. package/src/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
  162. package/src/components/AgeVerificationModal/AgeVerificationModal.tsx +3 -1
  163. package/src/components/Auth/Auth.tsx +55 -11
  164. package/src/components/Avatar/Avatar.stories.tsx +3 -0
  165. package/src/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
  166. package/src/components/Chat/Chat.css +37 -3
  167. package/src/components/Chat/Chat.stories.tsx +16 -2
  168. package/src/components/Chat/Chat.tsx +90 -21
  169. package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +1752 -812
  170. package/src/components/ChatBubble/ChatBubble.css +87 -15
  171. package/src/components/ChatBubble/ChatBubble.stories.tsx +16 -2
  172. package/src/components/ChatBubble/ChatBubble.test.tsx +17 -0
  173. package/src/components/ChatBubble/ChatBubble.tsx +237 -33
  174. package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +304 -8
  175. package/src/components/ChatHistoryDrawer/ChatHistory.css +5 -1
  176. package/src/components/ChatInputs/ChatInputs.css +293 -17
  177. package/src/components/ChatInputs/ChatInputs.tsx +156 -86
  178. package/src/components/ChatInputs/__snapshots__/ChatInputs.test.tsx.snap +430 -424
  179. package/src/components/ChatTextArea/ChatTextArea.css +75 -31
  180. package/src/components/ChatTextArea/ChatTextArea.test.tsx +1 -16
  181. package/src/components/ChatTextArea/ChatTextArea.tsx +51 -22
  182. package/src/components/ChatTextArea/__snapshots__/ChatTextArea.test.tsx.snap +9 -72
  183. package/src/components/DateSelector/DateSelector.css +125 -104
  184. package/src/components/DateSelector/DateSelector.stories.tsx +1 -1
  185. package/src/components/DateSelector/DateSelector.test.tsx +137 -23
  186. package/src/components/DateSelector/DateSelector.tsx +203 -177
  187. package/src/components/FilePreview/FilePreview.css +225 -146
  188. package/src/components/FilePreview/FilePreview.tsx +49 -36
  189. package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +2 -2
  190. package/src/components/Header/Header.css +2 -2
  191. package/src/components/Header/Header.stories.tsx +5 -1
  192. package/src/components/Header/Header.tsx +1 -1
  193. package/src/components/Header/__snapshots__/Header.test.tsx.snap +1 -1
  194. package/src/components/LoginDrawer/LoginDrawer.css +37 -5
  195. package/src/components/LoginDrawer/LoginDrawer.stories.tsx +0 -1
  196. package/src/components/LoginDrawer/LoginDrawer.test.tsx +0 -1
  197. package/src/components/LoginDrawer/LoginDrawer.tsx +0 -19
  198. package/src/components/MediaWidget/MediaItemWidget.tsx +2 -1
  199. package/src/components/MemoriArtifactSystem/ArtifactDrawer.stories.tsx +996 -204
  200. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +2 -2
  201. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.tsx +1 -1
  202. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.tsx +3 -0
  203. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +56 -54
  204. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
  205. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +12 -3
  206. package/src/components/MemoriWidget/MemoriWidget.css +11 -2
  207. package/src/components/MemoriWidget/MemoriWidget.stories.tsx +6 -3
  208. package/src/components/MemoriWidget/MemoriWidget.tsx +173 -49
  209. package/src/components/MicrophoneButton/MicrophoneButton.css +2 -2
  210. package/src/components/StartPanel/StartPanel.css +8 -0
  211. package/src/components/UploadButton/UploadButton.css +20 -17
  212. package/src/components/UploadButton/UploadButton.stories.tsx +247 -35
  213. package/src/components/UploadButton/UploadButton.tsx +280 -173
  214. package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +19 -4
  215. package/src/components/UploadButton/UploadImages/UploadImages.tsx +196 -35
  216. package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +10 -1
  217. package/src/components/layouts/FullBody/FullBody.stories.tsx +9 -10
  218. package/src/components/layouts/Totem/Totem.stories.tsx +8 -9
  219. package/src/components/layouts/ZoomedFullBody/ZoomedFullBody.stories.tsx +8 -9
  220. package/src/components/layouts/chat.css +1 -1
  221. package/src/components/layouts/layouts.stories.tsx +10 -9
  222. package/src/components/ui/Drawer.css +8 -0
  223. package/src/components/ui/Drawer.tsx +16 -12
  224. package/src/components/ui/Tooltip.css +49 -1
  225. package/src/components/ui/Tooltip.tsx +1 -1
  226. package/src/helpers/constants.ts +1 -1
  227. package/src/helpers/imageCompression.ts +230 -0
  228. package/src/index.stories.tsx +18 -0
  229. package/src/locales/de.json +13 -5
  230. package/src/locales/en.json +17 -6
  231. package/src/locales/es.json +13 -5
  232. package/src/locales/fr.json +12 -5
  233. package/src/locales/it.json +16 -6
  234. package/src/mocks/data.ts +4 -2
  235. package/src/styles.css +4 -4
  236. package/src/components/SignupForm/SignupForm.test.tsx +0 -40
  237. package/src/components/SignupForm/SignupForm.tsx +0 -457
  238. package/src/components/SignupForm/__snapshots__/SignupForm.test.tsx.snap +0 -247
  239. package/src/components/UploadMenu/UploadMenu.css +0 -47
  240. package/src/components/UploadMenu/UploadMenu.stories.tsx +0 -66
  241. package/src/components/UploadMenu/UploadMenu.test.tsx +0 -34
  242. package/src/components/UploadMenu/UploadMenu.tsx +0 -68
  243. package/src/components/UploadMenu/__snapshots__/UploadMenu.test.tsx.snap +0 -137
@@ -12,6 +12,7 @@ exports[`renders Chat unchanged 1`] = `
12
12
  >
13
13
  <div
14
14
  class="memori-chat--content"
15
+ style="padding-bottom: 0px;"
15
16
  >
16
17
  <div
17
18
  class="memori-chat--cover"
@@ -89,7 +90,7 @@ exports[`renders Chat unchanged 1`] = `
89
90
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
90
91
  >
91
92
  <div
92
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
93
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
93
94
  >
94
95
  <div
95
96
  class="memori-expandable memori-chat--bubble-content"
@@ -108,6 +109,43 @@ exports[`renders Chat unchanged 1`] = `
108
109
  </div>
109
110
  </div>
110
111
  </div>
112
+ <div
113
+ class="memori-chat--bubble-addon"
114
+ >
115
+ <button
116
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
117
+ title="copy"
118
+ >
119
+ <span
120
+ class="memori-button--icon"
121
+ >
122
+ <svg
123
+ aria-hidden="true"
124
+ fill="none"
125
+ focusable="false"
126
+ role="img"
127
+ stroke="currentColor"
128
+ stroke-linecap="round"
129
+ stroke-linejoin="round"
130
+ stroke-width="1.5"
131
+ viewBox="0 0 24 24"
132
+ xmlns="http://www.w3.org/2000/svg"
133
+ >
134
+ <rect
135
+ height="14"
136
+ rx="2"
137
+ ry="2"
138
+ width="14"
139
+ x="8"
140
+ y="8"
141
+ />
142
+ <path
143
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
144
+ />
145
+ </svg>
146
+ </span>
147
+ </button>
148
+ </div>
111
149
  </div>
112
150
  <div
113
151
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -198,7 +236,7 @@ exports[`renders Chat unchanged 1`] = `
198
236
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
199
237
  >
200
238
  <div
201
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
239
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
202
240
  >
203
241
  <div
204
242
  class="memori-expandable memori-chat--bubble-content"
@@ -217,6 +255,43 @@ exports[`renders Chat unchanged 1`] = `
217
255
  </div>
218
256
  </div>
219
257
  </div>
258
+ <div
259
+ class="memori-chat--bubble-addon"
260
+ >
261
+ <button
262
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
263
+ title="copy"
264
+ >
265
+ <span
266
+ class="memori-button--icon"
267
+ >
268
+ <svg
269
+ aria-hidden="true"
270
+ fill="none"
271
+ focusable="false"
272
+ role="img"
273
+ stroke="currentColor"
274
+ stroke-linecap="round"
275
+ stroke-linejoin="round"
276
+ stroke-width="1.5"
277
+ viewBox="0 0 24 24"
278
+ xmlns="http://www.w3.org/2000/svg"
279
+ >
280
+ <rect
281
+ height="14"
282
+ rx="2"
283
+ ry="2"
284
+ width="14"
285
+ x="8"
286
+ y="8"
287
+ />
288
+ <path
289
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
290
+ />
291
+ </svg>
292
+ </span>
293
+ </button>
294
+ </div>
220
295
  </div>
221
296
  <div
222
297
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -304,22 +379,21 @@ exports[`renders Chat unchanged 1`] = `
304
379
  class="memori-media-widget"
305
380
  >
306
381
  <div
307
- class="memori-link-items"
382
+ class="memori-media-items"
308
383
  >
309
384
  <div
310
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
385
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
311
386
  >
312
387
  <div
313
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
388
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
314
389
  >
315
390
  <a
316
- class="memori-link-item--link"
317
- href="https://memori.ai"
318
- rel="noopener noreferrer"
319
- target="_blank"
391
+ class="memori-media-item--link"
392
+ href="#"
393
+ title="Link"
320
394
  >
321
395
  <div
322
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
396
+ class="memori-card memori-card--with-cover memori-card--hoverable"
323
397
  >
324
398
  <div
325
399
  class="memori-spin"
@@ -327,22 +401,18 @@ exports[`renders Chat unchanged 1`] = `
327
401
  <div
328
402
  class="memori-card--cover"
329
403
  >
330
- <div
331
- class="memori-link-item--card-cover-icon"
404
+ <svg
405
+ aria-hidden="true"
406
+ class="memori-media-item--icon"
407
+ focusable="false"
408
+ role="img"
409
+ viewBox="0 0 1024 1024"
410
+ xmlns="http://www.w3.org/2000/svg"
332
411
  >
333
- <svg
334
- aria-hidden="true"
335
- class="memori-link-item--icon"
336
- focusable="false"
337
- role="img"
338
- viewBox="0 0 1024 1024"
339
- xmlns="http://www.w3.org/2000/svg"
340
- >
341
- <path
342
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
343
- />
344
- </svg>
345
- </div>
412
+ <path
413
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
414
+ />
415
+ </svg>
346
416
  </div>
347
417
  <div
348
418
  class="memori-card--content"
@@ -383,7 +453,7 @@ exports[`renders Chat unchanged 1`] = `
383
453
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
384
454
  >
385
455
  <div
386
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
456
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
387
457
  >
388
458
  <div
389
459
  class="memori-expandable memori-chat--bubble-content"
@@ -402,6 +472,43 @@ exports[`renders Chat unchanged 1`] = `
402
472
  </div>
403
473
  </div>
404
474
  </div>
475
+ <div
476
+ class="memori-chat--bubble-addon"
477
+ >
478
+ <button
479
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
480
+ title="copy"
481
+ >
482
+ <span
483
+ class="memori-button--icon"
484
+ >
485
+ <svg
486
+ aria-hidden="true"
487
+ fill="none"
488
+ focusable="false"
489
+ role="img"
490
+ stroke="currentColor"
491
+ stroke-linecap="round"
492
+ stroke-linejoin="round"
493
+ stroke-width="1.5"
494
+ viewBox="0 0 24 24"
495
+ xmlns="http://www.w3.org/2000/svg"
496
+ >
497
+ <rect
498
+ height="14"
499
+ rx="2"
500
+ ry="2"
501
+ width="14"
502
+ x="8"
503
+ y="8"
504
+ />
505
+ <path
506
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
507
+ />
508
+ </svg>
509
+ </span>
510
+ </button>
511
+ </div>
405
512
  </div>
406
513
  <div
407
514
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -493,69 +600,70 @@ exports[`renders Chat unchanged 1`] = `
493
600
  />
494
601
  </div>
495
602
  </div>
496
- <fieldset
497
- class="memori-chat-inputs"
498
- id="chat-fieldset"
603
+ <div
604
+ class="memori-chat-inputs-wrapper"
499
605
  >
500
- <div
501
- class="memori-chat-textarea"
502
- data-testid="chat-textarea"
606
+ <fieldset
607
+ class="memori-chat-inputs"
608
+ id="chat-fieldset"
503
609
  >
504
610
  <div
505
- class="memori-chat-textarea--inner"
611
+ class="memori-chat-inputs--container"
506
612
  >
507
- <textarea
508
- class="memori-chat-textarea--input"
509
- maxlength="100000"
613
+ <div
614
+ class="memori-chat-inputs--leading"
510
615
  />
511
616
  <div
512
- class="memori-chat-textarea--expand"
617
+ class="memori-chat-inputs--primary"
513
618
  >
514
- <button
515
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
516
- title="expand"
619
+ <div
620
+ class="memori-chat-textarea"
621
+ data-testid="chat-textarea"
517
622
  >
518
- <span
519
- class="memori-button--icon"
623
+ <div
624
+ class="memori-chat-textarea--inner"
625
+ style="height: 36px;"
626
+ >
627
+ <textarea
628
+ class="memori-chat-textarea--input"
629
+ maxlength="100000"
630
+ placeholder="placeholder"
631
+ style="height: 36px;"
632
+ />
633
+ </div>
634
+ </div>
635
+ </div>
636
+ <div
637
+ class="memori-chat-inputs--trailing"
638
+ >
639
+ <div
640
+ class="memori-chat-inputs--trailing-inner"
641
+ >
642
+ <button
643
+ aria-label="send"
644
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
645
+ disabled=""
646
+ title="send"
647
+ type="button"
520
648
  >
521
649
  <svg
522
650
  aria-hidden="true"
651
+ class="icon"
523
652
  focusable="false"
524
653
  role="img"
525
654
  viewBox="0 0 1024 1024"
526
655
  xmlns="http://www.w3.org/2000/svg"
527
656
  >
528
657
  <path
529
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
658
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
530
659
  />
531
660
  </svg>
532
- </span>
533
- </button>
661
+ </button>
662
+ </div>
534
663
  </div>
535
664
  </div>
536
- </div>
537
- <button
538
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
539
- disabled=""
540
- title="send"
541
- >
542
- <span
543
- class="memori-button--icon"
544
- >
545
- <svg
546
- aria-hidden="true"
547
- focusable="false"
548
- role="img"
549
- viewBox="0 0 1024 1024"
550
- xmlns="http://www.w3.org/2000/svg"
551
- >
552
- <path
553
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
554
- />
555
- </svg>
556
- </span>
557
- </button>
558
- </fieldset>
665
+ </fieldset>
666
+ </div>
559
667
  </div>
560
668
  </div>
561
669
  `;
@@ -572,6 +680,7 @@ exports[`renders Chat with context vars unchanged 1`] = `
572
680
  >
573
681
  <div
574
682
  class="memori-chat--content"
683
+ style="padding-bottom: 0px;"
575
684
  >
576
685
  <div
577
686
  class="memori-chat--cover"
@@ -649,7 +758,7 @@ exports[`renders Chat with context vars unchanged 1`] = `
649
758
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
650
759
  >
651
760
  <div
652
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
761
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
653
762
  >
654
763
  <div
655
764
  class="memori-expandable memori-chat--bubble-content"
@@ -668,6 +777,43 @@ exports[`renders Chat with context vars unchanged 1`] = `
668
777
  </div>
669
778
  </div>
670
779
  </div>
780
+ <div
781
+ class="memori-chat--bubble-addon"
782
+ >
783
+ <button
784
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
785
+ title="copy"
786
+ >
787
+ <span
788
+ class="memori-button--icon"
789
+ >
790
+ <svg
791
+ aria-hidden="true"
792
+ fill="none"
793
+ focusable="false"
794
+ role="img"
795
+ stroke="currentColor"
796
+ stroke-linecap="round"
797
+ stroke-linejoin="round"
798
+ stroke-width="1.5"
799
+ viewBox="0 0 24 24"
800
+ xmlns="http://www.w3.org/2000/svg"
801
+ >
802
+ <rect
803
+ height="14"
804
+ rx="2"
805
+ ry="2"
806
+ width="14"
807
+ x="8"
808
+ y="8"
809
+ />
810
+ <path
811
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
812
+ />
813
+ </svg>
814
+ </span>
815
+ </button>
816
+ </div>
671
817
  </div>
672
818
  <div
673
819
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -758,7 +904,7 @@ exports[`renders Chat with context vars unchanged 1`] = `
758
904
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
759
905
  >
760
906
  <div
761
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
907
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
762
908
  >
763
909
  <div
764
910
  class="memori-expandable memori-chat--bubble-content"
@@ -777,6 +923,43 @@ exports[`renders Chat with context vars unchanged 1`] = `
777
923
  </div>
778
924
  </div>
779
925
  </div>
926
+ <div
927
+ class="memori-chat--bubble-addon"
928
+ >
929
+ <button
930
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
931
+ title="copy"
932
+ >
933
+ <span
934
+ class="memori-button--icon"
935
+ >
936
+ <svg
937
+ aria-hidden="true"
938
+ fill="none"
939
+ focusable="false"
940
+ role="img"
941
+ stroke="currentColor"
942
+ stroke-linecap="round"
943
+ stroke-linejoin="round"
944
+ stroke-width="1.5"
945
+ viewBox="0 0 24 24"
946
+ xmlns="http://www.w3.org/2000/svg"
947
+ >
948
+ <rect
949
+ height="14"
950
+ rx="2"
951
+ ry="2"
952
+ width="14"
953
+ x="8"
954
+ y="8"
955
+ />
956
+ <path
957
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
958
+ />
959
+ </svg>
960
+ </span>
961
+ </button>
962
+ </div>
780
963
  </div>
781
964
  <div
782
965
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -879,22 +1062,21 @@ exports[`renders Chat with context vars unchanged 1`] = `
879
1062
  class="memori-media-widget"
880
1063
  >
881
1064
  <div
882
- class="memori-link-items"
1065
+ class="memori-media-items"
883
1066
  >
884
1067
  <div
885
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
1068
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
886
1069
  >
887
1070
  <div
888
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
1071
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
889
1072
  >
890
1073
  <a
891
- class="memori-link-item--link"
892
- href="https://memori.ai"
893
- rel="noopener noreferrer"
894
- target="_blank"
1074
+ class="memori-media-item--link"
1075
+ href="#"
1076
+ title="Link"
895
1077
  >
896
1078
  <div
897
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
1079
+ class="memori-card memori-card--with-cover memori-card--hoverable"
898
1080
  >
899
1081
  <div
900
1082
  class="memori-spin"
@@ -902,22 +1084,18 @@ exports[`renders Chat with context vars unchanged 1`] = `
902
1084
  <div
903
1085
  class="memori-card--cover"
904
1086
  >
905
- <div
906
- class="memori-link-item--card-cover-icon"
1087
+ <svg
1088
+ aria-hidden="true"
1089
+ class="memori-media-item--icon"
1090
+ focusable="false"
1091
+ role="img"
1092
+ viewBox="0 0 1024 1024"
1093
+ xmlns="http://www.w3.org/2000/svg"
907
1094
  >
908
- <svg
909
- aria-hidden="true"
910
- class="memori-link-item--icon"
911
- focusable="false"
912
- role="img"
913
- viewBox="0 0 1024 1024"
914
- xmlns="http://www.w3.org/2000/svg"
915
- >
916
- <path
917
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
918
- />
919
- </svg>
920
- </div>
1095
+ <path
1096
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
1097
+ />
1098
+ </svg>
921
1099
  </div>
922
1100
  <div
923
1101
  class="memori-card--content"
@@ -958,7 +1136,7 @@ exports[`renders Chat with context vars unchanged 1`] = `
958
1136
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
959
1137
  >
960
1138
  <div
961
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1139
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
962
1140
  >
963
1141
  <div
964
1142
  class="memori-expandable memori-chat--bubble-content"
@@ -977,25 +1155,62 @@ exports[`renders Chat with context vars unchanged 1`] = `
977
1155
  </div>
978
1156
  </div>
979
1157
  </div>
980
- </div>
981
- <div
982
- class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
983
- >
984
- <svg
985
- aria-hidden="true"
986
- focusable="false"
987
- role="img"
988
- viewBox="0 0 1024 1024"
989
- xmlns="http://www.w3.org/2000/svg"
1158
+ <div
1159
+ class="memori-chat--bubble-addon"
990
1160
  >
991
- <path
992
- d="M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
993
- />
994
- </svg>
995
- </div>
996
- </div>
997
- <div
998
- class="memori-media-widget"
1161
+ <button
1162
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
1163
+ title="copy"
1164
+ >
1165
+ <span
1166
+ class="memori-button--icon"
1167
+ >
1168
+ <svg
1169
+ aria-hidden="true"
1170
+ fill="none"
1171
+ focusable="false"
1172
+ role="img"
1173
+ stroke="currentColor"
1174
+ stroke-linecap="round"
1175
+ stroke-linejoin="round"
1176
+ stroke-width="1.5"
1177
+ viewBox="0 0 24 24"
1178
+ xmlns="http://www.w3.org/2000/svg"
1179
+ >
1180
+ <rect
1181
+ height="14"
1182
+ rx="2"
1183
+ ry="2"
1184
+ width="14"
1185
+ x="8"
1186
+ y="8"
1187
+ />
1188
+ <path
1189
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
1190
+ />
1191
+ </svg>
1192
+ </span>
1193
+ </button>
1194
+ </div>
1195
+ </div>
1196
+ <div
1197
+ class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
1198
+ >
1199
+ <svg
1200
+ aria-hidden="true"
1201
+ focusable="false"
1202
+ role="img"
1203
+ viewBox="0 0 1024 1024"
1204
+ xmlns="http://www.w3.org/2000/svg"
1205
+ >
1206
+ <path
1207
+ d="M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
1208
+ />
1209
+ </svg>
1210
+ </div>
1211
+ </div>
1212
+ <div
1213
+ class="memori-media-widget"
999
1214
  />
1000
1215
  <div
1001
1216
  class="memori-chat--bubble-container memori-chat-scroll-item"
@@ -1083,69 +1298,70 @@ exports[`renders Chat with context vars unchanged 1`] = `
1083
1298
  />
1084
1299
  </div>
1085
1300
  </div>
1086
- <fieldset
1087
- class="memori-chat-inputs"
1088
- id="chat-fieldset"
1301
+ <div
1302
+ class="memori-chat-inputs-wrapper"
1089
1303
  >
1090
- <div
1091
- class="memori-chat-textarea"
1092
- data-testid="chat-textarea"
1304
+ <fieldset
1305
+ class="memori-chat-inputs"
1306
+ id="chat-fieldset"
1093
1307
  >
1094
1308
  <div
1095
- class="memori-chat-textarea--inner"
1309
+ class="memori-chat-inputs--container"
1096
1310
  >
1097
- <textarea
1098
- class="memori-chat-textarea--input"
1099
- maxlength="100000"
1311
+ <div
1312
+ class="memori-chat-inputs--leading"
1100
1313
  />
1101
1314
  <div
1102
- class="memori-chat-textarea--expand"
1315
+ class="memori-chat-inputs--primary"
1103
1316
  >
1104
- <button
1105
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
1106
- title="expand"
1317
+ <div
1318
+ class="memori-chat-textarea"
1319
+ data-testid="chat-textarea"
1107
1320
  >
1108
- <span
1109
- class="memori-button--icon"
1321
+ <div
1322
+ class="memori-chat-textarea--inner"
1323
+ style="height: 36px;"
1324
+ >
1325
+ <textarea
1326
+ class="memori-chat-textarea--input"
1327
+ maxlength="100000"
1328
+ placeholder="placeholder"
1329
+ style="height: 36px;"
1330
+ />
1331
+ </div>
1332
+ </div>
1333
+ </div>
1334
+ <div
1335
+ class="memori-chat-inputs--trailing"
1336
+ >
1337
+ <div
1338
+ class="memori-chat-inputs--trailing-inner"
1339
+ >
1340
+ <button
1341
+ aria-label="send"
1342
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
1343
+ disabled=""
1344
+ title="send"
1345
+ type="button"
1110
1346
  >
1111
1347
  <svg
1112
1348
  aria-hidden="true"
1349
+ class="icon"
1113
1350
  focusable="false"
1114
1351
  role="img"
1115
1352
  viewBox="0 0 1024 1024"
1116
1353
  xmlns="http://www.w3.org/2000/svg"
1117
1354
  >
1118
1355
  <path
1119
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
1356
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
1120
1357
  />
1121
1358
  </svg>
1122
- </span>
1123
- </button>
1359
+ </button>
1360
+ </div>
1124
1361
  </div>
1125
1362
  </div>
1126
- </div>
1127
- <button
1128
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
1129
- disabled=""
1130
- title="send"
1131
- >
1132
- <span
1133
- class="memori-button--icon"
1134
- >
1135
- <svg
1136
- aria-hidden="true"
1137
- focusable="false"
1138
- role="img"
1139
- viewBox="0 0 1024 1024"
1140
- xmlns="http://www.w3.org/2000/svg"
1141
- >
1142
- <path
1143
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
1144
- />
1145
- </svg>
1146
- </span>
1147
- </button>
1148
- </fieldset>
1363
+ </fieldset>
1364
+ </div>
1149
1365
  </div>
1150
1366
  </div>
1151
1367
  `;
@@ -1162,6 +1378,7 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1162
1378
  >
1163
1379
  <div
1164
1380
  class="memori-chat--content"
1381
+ style="padding-bottom: 0px;"
1165
1382
  >
1166
1383
  <div
1167
1384
  class="memori-chat--cover"
@@ -1239,7 +1456,7 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1239
1456
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
1240
1457
  >
1241
1458
  <div
1242
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1459
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1243
1460
  >
1244
1461
  <div
1245
1462
  class="memori-expandable memori-chat--bubble-content"
@@ -1258,6 +1475,43 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1258
1475
  </div>
1259
1476
  </div>
1260
1477
  </div>
1478
+ <div
1479
+ class="memori-chat--bubble-addon"
1480
+ >
1481
+ <button
1482
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
1483
+ title="copy"
1484
+ >
1485
+ <span
1486
+ class="memori-button--icon"
1487
+ >
1488
+ <svg
1489
+ aria-hidden="true"
1490
+ fill="none"
1491
+ focusable="false"
1492
+ role="img"
1493
+ stroke="currentColor"
1494
+ stroke-linecap="round"
1495
+ stroke-linejoin="round"
1496
+ stroke-width="1.5"
1497
+ viewBox="0 0 24 24"
1498
+ xmlns="http://www.w3.org/2000/svg"
1499
+ >
1500
+ <rect
1501
+ height="14"
1502
+ rx="2"
1503
+ ry="2"
1504
+ width="14"
1505
+ x="8"
1506
+ y="8"
1507
+ />
1508
+ <path
1509
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
1510
+ />
1511
+ </svg>
1512
+ </span>
1513
+ </button>
1514
+ </div>
1261
1515
  </div>
1262
1516
  <div
1263
1517
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -1340,7 +1594,7 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1340
1594
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
1341
1595
  >
1342
1596
  <div
1343
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1597
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1344
1598
  >
1345
1599
  <div
1346
1600
  class="memori-expandable memori-chat--bubble-content"
@@ -1359,6 +1613,43 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1359
1613
  </div>
1360
1614
  </div>
1361
1615
  </div>
1616
+ <div
1617
+ class="memori-chat--bubble-addon"
1618
+ >
1619
+ <button
1620
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
1621
+ title="copy"
1622
+ >
1623
+ <span
1624
+ class="memori-button--icon"
1625
+ >
1626
+ <svg
1627
+ aria-hidden="true"
1628
+ fill="none"
1629
+ focusable="false"
1630
+ role="img"
1631
+ stroke="currentColor"
1632
+ stroke-linecap="round"
1633
+ stroke-linejoin="round"
1634
+ stroke-width="1.5"
1635
+ viewBox="0 0 24 24"
1636
+ xmlns="http://www.w3.org/2000/svg"
1637
+ >
1638
+ <rect
1639
+ height="14"
1640
+ rx="2"
1641
+ ry="2"
1642
+ width="14"
1643
+ x="8"
1644
+ y="8"
1645
+ />
1646
+ <path
1647
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
1648
+ />
1649
+ </svg>
1650
+ </span>
1651
+ </button>
1652
+ </div>
1362
1653
  </div>
1363
1654
  <div
1364
1655
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -1438,22 +1729,21 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1438
1729
  class="memori-media-widget"
1439
1730
  >
1440
1731
  <div
1441
- class="memori-link-items"
1732
+ class="memori-media-items"
1442
1733
  >
1443
1734
  <div
1444
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
1735
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
1445
1736
  >
1446
1737
  <div
1447
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
1738
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
1448
1739
  >
1449
1740
  <a
1450
- class="memori-link-item--link"
1451
- href="https://memori.ai"
1452
- rel="noopener noreferrer"
1453
- target="_blank"
1741
+ class="memori-media-item--link"
1742
+ href="#"
1743
+ title="Link"
1454
1744
  >
1455
1745
  <div
1456
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
1746
+ class="memori-card memori-card--with-cover memori-card--hoverable"
1457
1747
  >
1458
1748
  <div
1459
1749
  class="memori-spin"
@@ -1461,22 +1751,18 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1461
1751
  <div
1462
1752
  class="memori-card--cover"
1463
1753
  >
1464
- <div
1465
- class="memori-link-item--card-cover-icon"
1754
+ <svg
1755
+ aria-hidden="true"
1756
+ class="memori-media-item--icon"
1757
+ focusable="false"
1758
+ role="img"
1759
+ viewBox="0 0 1024 1024"
1760
+ xmlns="http://www.w3.org/2000/svg"
1466
1761
  >
1467
- <svg
1468
- aria-hidden="true"
1469
- class="memori-link-item--icon"
1470
- focusable="false"
1471
- role="img"
1472
- viewBox="0 0 1024 1024"
1473
- xmlns="http://www.w3.org/2000/svg"
1474
- >
1475
- <path
1476
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
1477
- />
1478
- </svg>
1479
- </div>
1762
+ <path
1763
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
1764
+ />
1765
+ </svg>
1480
1766
  </div>
1481
1767
  <div
1482
1768
  class="memori-card--content"
@@ -1517,7 +1803,7 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1517
1803
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
1518
1804
  >
1519
1805
  <div
1520
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1806
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1521
1807
  >
1522
1808
  <div
1523
1809
  class="memori-expandable memori-chat--bubble-content"
@@ -1536,6 +1822,43 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1536
1822
  </div>
1537
1823
  </div>
1538
1824
  </div>
1825
+ <div
1826
+ class="memori-chat--bubble-addon"
1827
+ >
1828
+ <button
1829
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
1830
+ title="copy"
1831
+ >
1832
+ <span
1833
+ class="memori-button--icon"
1834
+ >
1835
+ <svg
1836
+ aria-hidden="true"
1837
+ fill="none"
1838
+ focusable="false"
1839
+ role="img"
1840
+ stroke="currentColor"
1841
+ stroke-linecap="round"
1842
+ stroke-linejoin="round"
1843
+ stroke-width="1.5"
1844
+ viewBox="0 0 24 24"
1845
+ xmlns="http://www.w3.org/2000/svg"
1846
+ >
1847
+ <rect
1848
+ height="14"
1849
+ rx="2"
1850
+ ry="2"
1851
+ width="14"
1852
+ x="8"
1853
+ y="8"
1854
+ />
1855
+ <path
1856
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
1857
+ />
1858
+ </svg>
1859
+ </span>
1860
+ </button>
1861
+ </div>
1539
1862
  </div>
1540
1863
  <div
1541
1864
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -1619,69 +1942,70 @@ exports[`renders Chat with custom user avatar as react element unchanged 1`] = `
1619
1942
  />
1620
1943
  </div>
1621
1944
  </div>
1622
- <fieldset
1623
- class="memori-chat-inputs"
1624
- id="chat-fieldset"
1945
+ <div
1946
+ class="memori-chat-inputs-wrapper"
1625
1947
  >
1626
- <div
1627
- class="memori-chat-textarea"
1628
- data-testid="chat-textarea"
1948
+ <fieldset
1949
+ class="memori-chat-inputs"
1950
+ id="chat-fieldset"
1629
1951
  >
1630
1952
  <div
1631
- class="memori-chat-textarea--inner"
1953
+ class="memori-chat-inputs--container"
1632
1954
  >
1633
- <textarea
1634
- class="memori-chat-textarea--input"
1635
- maxlength="100000"
1955
+ <div
1956
+ class="memori-chat-inputs--leading"
1636
1957
  />
1637
1958
  <div
1638
- class="memori-chat-textarea--expand"
1959
+ class="memori-chat-inputs--primary"
1639
1960
  >
1640
- <button
1641
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
1642
- title="expand"
1961
+ <div
1962
+ class="memori-chat-textarea"
1963
+ data-testid="chat-textarea"
1643
1964
  >
1644
- <span
1645
- class="memori-button--icon"
1965
+ <div
1966
+ class="memori-chat-textarea--inner"
1967
+ style="height: 36px;"
1968
+ >
1969
+ <textarea
1970
+ class="memori-chat-textarea--input"
1971
+ maxlength="100000"
1972
+ placeholder="placeholder"
1973
+ style="height: 36px;"
1974
+ />
1975
+ </div>
1976
+ </div>
1977
+ </div>
1978
+ <div
1979
+ class="memori-chat-inputs--trailing"
1980
+ >
1981
+ <div
1982
+ class="memori-chat-inputs--trailing-inner"
1983
+ >
1984
+ <button
1985
+ aria-label="send"
1986
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
1987
+ disabled=""
1988
+ title="send"
1989
+ type="button"
1646
1990
  >
1647
1991
  <svg
1648
1992
  aria-hidden="true"
1993
+ class="icon"
1649
1994
  focusable="false"
1650
1995
  role="img"
1651
1996
  viewBox="0 0 1024 1024"
1652
1997
  xmlns="http://www.w3.org/2000/svg"
1653
1998
  >
1654
1999
  <path
1655
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
2000
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
1656
2001
  />
1657
2002
  </svg>
1658
- </span>
1659
- </button>
2003
+ </button>
2004
+ </div>
1660
2005
  </div>
1661
2006
  </div>
1662
- </div>
1663
- <button
1664
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
1665
- disabled=""
1666
- title="send"
1667
- >
1668
- <span
1669
- class="memori-button--icon"
1670
- >
1671
- <svg
1672
- aria-hidden="true"
1673
- focusable="false"
1674
- role="img"
1675
- viewBox="0 0 1024 1024"
1676
- xmlns="http://www.w3.org/2000/svg"
1677
- >
1678
- <path
1679
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
1680
- />
1681
- </svg>
1682
- </span>
1683
- </button>
1684
- </fieldset>
2007
+ </fieldset>
2008
+ </div>
1685
2009
  </div>
1686
2010
  </div>
1687
2011
  `;
@@ -1698,6 +2022,7 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1698
2022
  >
1699
2023
  <div
1700
2024
  class="memori-chat--content"
2025
+ style="padding-bottom: 0px;"
1701
2026
  >
1702
2027
  <div
1703
2028
  class="memori-chat--cover"
@@ -1775,7 +2100,7 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1775
2100
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
1776
2101
  >
1777
2102
  <div
1778
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2103
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1779
2104
  >
1780
2105
  <div
1781
2106
  class="memori-expandable memori-chat--bubble-content"
@@ -1794,42 +2119,79 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1794
2119
  </div>
1795
2120
  </div>
1796
2121
  </div>
1797
- </div>
1798
- <picture
1799
- class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
1800
- >
1801
- <img
1802
- alt="User"
1803
- class="memori-chat--bubble-avatar-img"
1804
- src="https://picsum.photos/200"
1805
- />
1806
- </picture>
1807
- </div>
1808
- <div
1809
- class="memori-media-widget"
1810
- />
1811
- <div
1812
- class="memori-chat--bubble-container memori-chat-scroll-item"
1813
- >
1814
- <picture
1815
- class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x--15"
1816
- title="Memori"
1817
- >
1818
- <img
1819
- alt="Memori"
1820
- class="memori-chat--bubble-avatar-img"
1821
- src="https://aisuru.com/images/aisuru/square_logo.png"
1822
- />
1823
- </picture>
1824
- <div
1825
- class="memori-chat--bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x--30"
1826
- >
1827
2122
  <div
1828
- class="memori-chat--bubble-content"
1829
- dir="auto"
2123
+ class="memori-chat--bubble-addon"
1830
2124
  >
1831
- <p>
1832
- Mi dispiace, le mie risposte sono limitate. Devi farmi le domande giuste. C'è altro che vuoi sapere?
2125
+ <button
2126
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
2127
+ title="copy"
2128
+ >
2129
+ <span
2130
+ class="memori-button--icon"
2131
+ >
2132
+ <svg
2133
+ aria-hidden="true"
2134
+ fill="none"
2135
+ focusable="false"
2136
+ role="img"
2137
+ stroke="currentColor"
2138
+ stroke-linecap="round"
2139
+ stroke-linejoin="round"
2140
+ stroke-width="1.5"
2141
+ viewBox="0 0 24 24"
2142
+ xmlns="http://www.w3.org/2000/svg"
2143
+ >
2144
+ <rect
2145
+ height="14"
2146
+ rx="2"
2147
+ ry="2"
2148
+ width="14"
2149
+ x="8"
2150
+ y="8"
2151
+ />
2152
+ <path
2153
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
2154
+ />
2155
+ </svg>
2156
+ </span>
2157
+ </button>
2158
+ </div>
2159
+ </div>
2160
+ <picture
2161
+ class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
2162
+ >
2163
+ <img
2164
+ alt="User"
2165
+ class="memori-chat--bubble-avatar-img"
2166
+ src="https://picsum.photos/200"
2167
+ />
2168
+ </picture>
2169
+ </div>
2170
+ <div
2171
+ class="memori-media-widget"
2172
+ />
2173
+ <div
2174
+ class="memori-chat--bubble-container memori-chat-scroll-item"
2175
+ >
2176
+ <picture
2177
+ class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x--15"
2178
+ title="Memori"
2179
+ >
2180
+ <img
2181
+ alt="Memori"
2182
+ class="memori-chat--bubble-avatar-img"
2183
+ src="https://aisuru.com/images/aisuru/square_logo.png"
2184
+ />
2185
+ </picture>
2186
+ <div
2187
+ class="memori-chat--bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x--30"
2188
+ >
2189
+ <div
2190
+ class="memori-chat--bubble-content"
2191
+ dir="auto"
2192
+ >
2193
+ <p>
2194
+ Mi dispiace, le mie risposte sono limitate. Devi farmi le domande giuste. C'è altro che vuoi sapere?
1833
2195
  </p>
1834
2196
  </div>
1835
2197
  <div
@@ -1878,7 +2240,7 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1878
2240
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
1879
2241
  >
1880
2242
  <div
1881
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2243
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
1882
2244
  >
1883
2245
  <div
1884
2246
  class="memori-expandable memori-chat--bubble-content"
@@ -1897,6 +2259,43 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1897
2259
  </div>
1898
2260
  </div>
1899
2261
  </div>
2262
+ <div
2263
+ class="memori-chat--bubble-addon"
2264
+ >
2265
+ <button
2266
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
2267
+ title="copy"
2268
+ >
2269
+ <span
2270
+ class="memori-button--icon"
2271
+ >
2272
+ <svg
2273
+ aria-hidden="true"
2274
+ fill="none"
2275
+ focusable="false"
2276
+ role="img"
2277
+ stroke="currentColor"
2278
+ stroke-linecap="round"
2279
+ stroke-linejoin="round"
2280
+ stroke-width="1.5"
2281
+ viewBox="0 0 24 24"
2282
+ xmlns="http://www.w3.org/2000/svg"
2283
+ >
2284
+ <rect
2285
+ height="14"
2286
+ rx="2"
2287
+ ry="2"
2288
+ width="14"
2289
+ x="8"
2290
+ y="8"
2291
+ />
2292
+ <path
2293
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
2294
+ />
2295
+ </svg>
2296
+ </span>
2297
+ </button>
2298
+ </div>
1900
2299
  </div>
1901
2300
  <picture
1902
2301
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -1978,22 +2377,21 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
1978
2377
  class="memori-media-widget"
1979
2378
  >
1980
2379
  <div
1981
- class="memori-link-items"
2380
+ class="memori-media-items"
1982
2381
  >
1983
2382
  <div
1984
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
2383
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
1985
2384
  >
1986
2385
  <div
1987
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
2386
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
1988
2387
  >
1989
2388
  <a
1990
- class="memori-link-item--link"
1991
- href="https://memori.ai"
1992
- rel="noopener noreferrer"
1993
- target="_blank"
2389
+ class="memori-media-item--link"
2390
+ href="#"
2391
+ title="Link"
1994
2392
  >
1995
2393
  <div
1996
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
2394
+ class="memori-card memori-card--with-cover memori-card--hoverable"
1997
2395
  >
1998
2396
  <div
1999
2397
  class="memori-spin"
@@ -2001,22 +2399,18 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
2001
2399
  <div
2002
2400
  class="memori-card--cover"
2003
2401
  >
2004
- <div
2005
- class="memori-link-item--card-cover-icon"
2402
+ <svg
2403
+ aria-hidden="true"
2404
+ class="memori-media-item--icon"
2405
+ focusable="false"
2406
+ role="img"
2407
+ viewBox="0 0 1024 1024"
2408
+ xmlns="http://www.w3.org/2000/svg"
2006
2409
  >
2007
- <svg
2008
- aria-hidden="true"
2009
- class="memori-link-item--icon"
2010
- focusable="false"
2011
- role="img"
2012
- viewBox="0 0 1024 1024"
2013
- xmlns="http://www.w3.org/2000/svg"
2014
- >
2015
- <path
2016
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
2017
- />
2018
- </svg>
2019
- </div>
2410
+ <path
2411
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
2412
+ />
2413
+ </svg>
2020
2414
  </div>
2021
2415
  <div
2022
2416
  class="memori-card--content"
@@ -2057,7 +2451,7 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
2057
2451
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
2058
2452
  >
2059
2453
  <div
2060
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2454
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2061
2455
  >
2062
2456
  <div
2063
2457
  class="memori-expandable memori-chat--bubble-content"
@@ -2076,6 +2470,43 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
2076
2470
  </div>
2077
2471
  </div>
2078
2472
  </div>
2473
+ <div
2474
+ class="memori-chat--bubble-addon"
2475
+ >
2476
+ <button
2477
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
2478
+ title="copy"
2479
+ >
2480
+ <span
2481
+ class="memori-button--icon"
2482
+ >
2483
+ <svg
2484
+ aria-hidden="true"
2485
+ fill="none"
2486
+ focusable="false"
2487
+ role="img"
2488
+ stroke="currentColor"
2489
+ stroke-linecap="round"
2490
+ stroke-linejoin="round"
2491
+ stroke-width="1.5"
2492
+ viewBox="0 0 24 24"
2493
+ xmlns="http://www.w3.org/2000/svg"
2494
+ >
2495
+ <rect
2496
+ height="14"
2497
+ rx="2"
2498
+ ry="2"
2499
+ width="14"
2500
+ x="8"
2501
+ y="8"
2502
+ />
2503
+ <path
2504
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
2505
+ />
2506
+ </svg>
2507
+ </span>
2508
+ </button>
2509
+ </div>
2079
2510
  </div>
2080
2511
  <picture
2081
2512
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -2161,69 +2592,70 @@ exports[`renders Chat with custom user avatar unchanged 1`] = `
2161
2592
  />
2162
2593
  </div>
2163
2594
  </div>
2164
- <fieldset
2165
- class="memori-chat-inputs"
2166
- id="chat-fieldset"
2595
+ <div
2596
+ class="memori-chat-inputs-wrapper"
2167
2597
  >
2168
- <div
2169
- class="memori-chat-textarea"
2170
- data-testid="chat-textarea"
2598
+ <fieldset
2599
+ class="memori-chat-inputs"
2600
+ id="chat-fieldset"
2171
2601
  >
2172
2602
  <div
2173
- class="memori-chat-textarea--inner"
2603
+ class="memori-chat-inputs--container"
2174
2604
  >
2175
- <textarea
2176
- class="memori-chat-textarea--input"
2177
- maxlength="100000"
2605
+ <div
2606
+ class="memori-chat-inputs--leading"
2178
2607
  />
2179
2608
  <div
2180
- class="memori-chat-textarea--expand"
2609
+ class="memori-chat-inputs--primary"
2181
2610
  >
2182
- <button
2183
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
2184
- title="expand"
2611
+ <div
2612
+ class="memori-chat-textarea"
2613
+ data-testid="chat-textarea"
2185
2614
  >
2186
- <span
2187
- class="memori-button--icon"
2615
+ <div
2616
+ class="memori-chat-textarea--inner"
2617
+ style="height: 36px;"
2618
+ >
2619
+ <textarea
2620
+ class="memori-chat-textarea--input"
2621
+ maxlength="100000"
2622
+ placeholder="placeholder"
2623
+ style="height: 36px;"
2624
+ />
2625
+ </div>
2626
+ </div>
2627
+ </div>
2628
+ <div
2629
+ class="memori-chat-inputs--trailing"
2630
+ >
2631
+ <div
2632
+ class="memori-chat-inputs--trailing-inner"
2633
+ >
2634
+ <button
2635
+ aria-label="send"
2636
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
2637
+ disabled=""
2638
+ title="send"
2639
+ type="button"
2188
2640
  >
2189
2641
  <svg
2190
2642
  aria-hidden="true"
2643
+ class="icon"
2191
2644
  focusable="false"
2192
2645
  role="img"
2193
2646
  viewBox="0 0 1024 1024"
2194
2647
  xmlns="http://www.w3.org/2000/svg"
2195
2648
  >
2196
2649
  <path
2197
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
2650
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
2198
2651
  />
2199
2652
  </svg>
2200
- </span>
2201
- </button>
2653
+ </button>
2654
+ </div>
2202
2655
  </div>
2203
2656
  </div>
2204
- </div>
2205
- <button
2206
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
2207
- disabled=""
2208
- title="send"
2209
- >
2210
- <span
2211
- class="memori-button--icon"
2212
- >
2213
- <svg
2214
- aria-hidden="true"
2215
- focusable="false"
2216
- role="img"
2217
- viewBox="0 0 1024 1024"
2218
- xmlns="http://www.w3.org/2000/svg"
2219
- >
2220
- <path
2221
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
2222
- />
2223
- </svg>
2224
- </span>
2225
- </button>
2226
- </fieldset>
2657
+ </fieldset>
2658
+ </div>
2227
2659
  </div>
2228
2660
  </div>
2229
2661
  `;
@@ -2240,6 +2672,7 @@ exports[`renders Chat with dates unchanged 1`] = `
2240
2672
  >
2241
2673
  <div
2242
2674
  class="memori-chat--content"
2675
+ style="padding-bottom: 0px;"
2243
2676
  >
2244
2677
  <div
2245
2678
  class="memori-chat--cover"
@@ -2322,7 +2755,7 @@ exports[`renders Chat with dates unchanged 1`] = `
2322
2755
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
2323
2756
  >
2324
2757
  <div
2325
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2758
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2326
2759
  >
2327
2760
  <div
2328
2761
  class="memori-expandable memori-chat--bubble-content"
@@ -2341,6 +2774,43 @@ exports[`renders Chat with dates unchanged 1`] = `
2341
2774
  </div>
2342
2775
  </div>
2343
2776
  </div>
2777
+ <div
2778
+ class="memori-chat--bubble-addon"
2779
+ >
2780
+ <button
2781
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
2782
+ title="copy"
2783
+ >
2784
+ <span
2785
+ class="memori-button--icon"
2786
+ >
2787
+ <svg
2788
+ aria-hidden="true"
2789
+ fill="none"
2790
+ focusable="false"
2791
+ role="img"
2792
+ stroke="currentColor"
2793
+ stroke-linecap="round"
2794
+ stroke-linejoin="round"
2795
+ stroke-width="1.5"
2796
+ viewBox="0 0 24 24"
2797
+ xmlns="http://www.w3.org/2000/svg"
2798
+ >
2799
+ <rect
2800
+ height="14"
2801
+ rx="2"
2802
+ ry="2"
2803
+ width="14"
2804
+ x="8"
2805
+ y="8"
2806
+ />
2807
+ <path
2808
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
2809
+ />
2810
+ </svg>
2811
+ </span>
2812
+ </button>
2813
+ </div>
2344
2814
  </div>
2345
2815
  <div
2346
2816
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -2441,7 +2911,7 @@ exports[`renders Chat with dates unchanged 1`] = `
2441
2911
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
2442
2912
  >
2443
2913
  <div
2444
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2914
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2445
2915
  >
2446
2916
  <div
2447
2917
  class="memori-expandable memori-chat--bubble-content"
@@ -2460,6 +2930,43 @@ exports[`renders Chat with dates unchanged 1`] = `
2460
2930
  </div>
2461
2931
  </div>
2462
2932
  </div>
2933
+ <div
2934
+ class="memori-chat--bubble-addon"
2935
+ >
2936
+ <button
2937
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
2938
+ title="copy"
2939
+ >
2940
+ <span
2941
+ class="memori-button--icon"
2942
+ >
2943
+ <svg
2944
+ aria-hidden="true"
2945
+ fill="none"
2946
+ focusable="false"
2947
+ role="img"
2948
+ stroke="currentColor"
2949
+ stroke-linecap="round"
2950
+ stroke-linejoin="round"
2951
+ stroke-width="1.5"
2952
+ viewBox="0 0 24 24"
2953
+ xmlns="http://www.w3.org/2000/svg"
2954
+ >
2955
+ <rect
2956
+ height="14"
2957
+ rx="2"
2958
+ ry="2"
2959
+ width="14"
2960
+ x="8"
2961
+ y="8"
2962
+ />
2963
+ <path
2964
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
2965
+ />
2966
+ </svg>
2967
+ </span>
2968
+ </button>
2969
+ </div>
2463
2970
  </div>
2464
2971
  <div
2465
2972
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -2557,22 +3064,21 @@ exports[`renders Chat with dates unchanged 1`] = `
2557
3064
  class="memori-media-widget"
2558
3065
  >
2559
3066
  <div
2560
- class="memori-link-items"
3067
+ class="memori-media-items"
2561
3068
  >
2562
3069
  <div
2563
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
3070
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
2564
3071
  >
2565
3072
  <div
2566
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
3073
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
2567
3074
  >
2568
3075
  <a
2569
- class="memori-link-item--link"
2570
- href="https://memori.ai"
2571
- rel="noopener noreferrer"
2572
- target="_blank"
3076
+ class="memori-media-item--link"
3077
+ href="#"
3078
+ title="Link"
2573
3079
  >
2574
3080
  <div
2575
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
3081
+ class="memori-card memori-card--with-cover memori-card--hoverable"
2576
3082
  >
2577
3083
  <div
2578
3084
  class="memori-spin"
@@ -2580,22 +3086,18 @@ exports[`renders Chat with dates unchanged 1`] = `
2580
3086
  <div
2581
3087
  class="memori-card--cover"
2582
3088
  >
2583
- <div
2584
- class="memori-link-item--card-cover-icon"
3089
+ <svg
3090
+ aria-hidden="true"
3091
+ class="memori-media-item--icon"
3092
+ focusable="false"
3093
+ role="img"
3094
+ viewBox="0 0 1024 1024"
3095
+ xmlns="http://www.w3.org/2000/svg"
2585
3096
  >
2586
- <svg
2587
- aria-hidden="true"
2588
- class="memori-link-item--icon"
2589
- focusable="false"
2590
- role="img"
2591
- viewBox="0 0 1024 1024"
2592
- xmlns="http://www.w3.org/2000/svg"
2593
- >
2594
- <path
2595
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
2596
- />
2597
- </svg>
2598
- </div>
3097
+ <path
3098
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
3099
+ />
3100
+ </svg>
2599
3101
  </div>
2600
3102
  <div
2601
3103
  class="memori-card--content"
@@ -2636,7 +3138,7 @@ exports[`renders Chat with dates unchanged 1`] = `
2636
3138
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
2637
3139
  >
2638
3140
  <div
2639
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3141
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2640
3142
  >
2641
3143
  <div
2642
3144
  class="memori-expandable memori-chat--bubble-content"
@@ -2655,6 +3157,43 @@ exports[`renders Chat with dates unchanged 1`] = `
2655
3157
  </div>
2656
3158
  </div>
2657
3159
  </div>
3160
+ <div
3161
+ class="memori-chat--bubble-addon"
3162
+ >
3163
+ <button
3164
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
3165
+ title="copy"
3166
+ >
3167
+ <span
3168
+ class="memori-button--icon"
3169
+ >
3170
+ <svg
3171
+ aria-hidden="true"
3172
+ fill="none"
3173
+ focusable="false"
3174
+ role="img"
3175
+ stroke="currentColor"
3176
+ stroke-linecap="round"
3177
+ stroke-linejoin="round"
3178
+ stroke-width="1.5"
3179
+ viewBox="0 0 24 24"
3180
+ xmlns="http://www.w3.org/2000/svg"
3181
+ >
3182
+ <rect
3183
+ height="14"
3184
+ rx="2"
3185
+ ry="2"
3186
+ width="14"
3187
+ x="8"
3188
+ y="8"
3189
+ />
3190
+ <path
3191
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
3192
+ />
3193
+ </svg>
3194
+ </span>
3195
+ </button>
3196
+ </div>
2658
3197
  </div>
2659
3198
  <div
2660
3199
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -2756,69 +3295,70 @@ exports[`renders Chat with dates unchanged 1`] = `
2756
3295
  />
2757
3296
  </div>
2758
3297
  </div>
2759
- <fieldset
2760
- class="memori-chat-inputs"
2761
- id="chat-fieldset"
3298
+ <div
3299
+ class="memori-chat-inputs-wrapper"
2762
3300
  >
2763
- <div
2764
- class="memori-chat-textarea"
2765
- data-testid="chat-textarea"
3301
+ <fieldset
3302
+ class="memori-chat-inputs"
3303
+ id="chat-fieldset"
2766
3304
  >
2767
3305
  <div
2768
- class="memori-chat-textarea--inner"
3306
+ class="memori-chat-inputs--container"
2769
3307
  >
2770
- <textarea
2771
- class="memori-chat-textarea--input"
2772
- maxlength="100000"
3308
+ <div
3309
+ class="memori-chat-inputs--leading"
2773
3310
  />
2774
3311
  <div
2775
- class="memori-chat-textarea--expand"
3312
+ class="memori-chat-inputs--primary"
2776
3313
  >
2777
- <button
2778
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
2779
- title="expand"
3314
+ <div
3315
+ class="memori-chat-textarea"
3316
+ data-testid="chat-textarea"
2780
3317
  >
2781
- <span
2782
- class="memori-button--icon"
3318
+ <div
3319
+ class="memori-chat-textarea--inner"
3320
+ style="height: 36px;"
3321
+ >
3322
+ <textarea
3323
+ class="memori-chat-textarea--input"
3324
+ maxlength="100000"
3325
+ placeholder="placeholder"
3326
+ style="height: 36px;"
3327
+ />
3328
+ </div>
3329
+ </div>
3330
+ </div>
3331
+ <div
3332
+ class="memori-chat-inputs--trailing"
3333
+ >
3334
+ <div
3335
+ class="memori-chat-inputs--trailing-inner"
3336
+ >
3337
+ <button
3338
+ aria-label="send"
3339
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
3340
+ disabled=""
3341
+ title="send"
3342
+ type="button"
2783
3343
  >
2784
3344
  <svg
2785
3345
  aria-hidden="true"
3346
+ class="icon"
2786
3347
  focusable="false"
2787
3348
  role="img"
2788
3349
  viewBox="0 0 1024 1024"
2789
3350
  xmlns="http://www.w3.org/2000/svg"
2790
3351
  >
2791
3352
  <path
2792
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
3353
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
2793
3354
  />
2794
3355
  </svg>
2795
- </span>
2796
- </button>
3356
+ </button>
3357
+ </div>
2797
3358
  </div>
2798
3359
  </div>
2799
- </div>
2800
- <button
2801
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
2802
- disabled=""
2803
- title="send"
2804
- >
2805
- <span
2806
- class="memori-button--icon"
2807
- >
2808
- <svg
2809
- aria-hidden="true"
2810
- focusable="false"
2811
- role="img"
2812
- viewBox="0 0 1024 1024"
2813
- xmlns="http://www.w3.org/2000/svg"
2814
- >
2815
- <path
2816
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
2817
- />
2818
- </svg>
2819
- </span>
2820
- </button>
2821
- </fieldset>
3360
+ </fieldset>
3361
+ </div>
2822
3362
  </div>
2823
3363
  </div>
2824
3364
  `;
@@ -2835,6 +3375,7 @@ exports[`renders Chat with hints unchanged 1`] = `
2835
3375
  >
2836
3376
  <div
2837
3377
  class="memori-chat--content"
3378
+ style="padding-bottom: 0px;"
2838
3379
  >
2839
3380
  <div
2840
3381
  class="memori-chat--cover"
@@ -2912,7 +3453,7 @@ exports[`renders Chat with hints unchanged 1`] = `
2912
3453
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
2913
3454
  >
2914
3455
  <div
2915
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3456
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
2916
3457
  >
2917
3458
  <div
2918
3459
  class="memori-expandable memori-chat--bubble-content"
@@ -2931,6 +3472,43 @@ exports[`renders Chat with hints unchanged 1`] = `
2931
3472
  </div>
2932
3473
  </div>
2933
3474
  </div>
3475
+ <div
3476
+ class="memori-chat--bubble-addon"
3477
+ >
3478
+ <button
3479
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
3480
+ title="copy"
3481
+ >
3482
+ <span
3483
+ class="memori-button--icon"
3484
+ >
3485
+ <svg
3486
+ aria-hidden="true"
3487
+ fill="none"
3488
+ focusable="false"
3489
+ role="img"
3490
+ stroke="currentColor"
3491
+ stroke-linecap="round"
3492
+ stroke-linejoin="round"
3493
+ stroke-width="1.5"
3494
+ viewBox="0 0 24 24"
3495
+ xmlns="http://www.w3.org/2000/svg"
3496
+ >
3497
+ <rect
3498
+ height="14"
3499
+ rx="2"
3500
+ ry="2"
3501
+ width="14"
3502
+ x="8"
3503
+ y="8"
3504
+ />
3505
+ <path
3506
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
3507
+ />
3508
+ </svg>
3509
+ </span>
3510
+ </button>
3511
+ </div>
2934
3512
  </div>
2935
3513
  <div
2936
3514
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -3021,7 +3599,7 @@ exports[`renders Chat with hints unchanged 1`] = `
3021
3599
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
3022
3600
  >
3023
3601
  <div
3024
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3602
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3025
3603
  >
3026
3604
  <div
3027
3605
  class="memori-expandable memori-chat--bubble-content"
@@ -3040,6 +3618,43 @@ exports[`renders Chat with hints unchanged 1`] = `
3040
3618
  </div>
3041
3619
  </div>
3042
3620
  </div>
3621
+ <div
3622
+ class="memori-chat--bubble-addon"
3623
+ >
3624
+ <button
3625
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
3626
+ title="copy"
3627
+ >
3628
+ <span
3629
+ class="memori-button--icon"
3630
+ >
3631
+ <svg
3632
+ aria-hidden="true"
3633
+ fill="none"
3634
+ focusable="false"
3635
+ role="img"
3636
+ stroke="currentColor"
3637
+ stroke-linecap="round"
3638
+ stroke-linejoin="round"
3639
+ stroke-width="1.5"
3640
+ viewBox="0 0 24 24"
3641
+ xmlns="http://www.w3.org/2000/svg"
3642
+ >
3643
+ <rect
3644
+ height="14"
3645
+ rx="2"
3646
+ ry="2"
3647
+ width="14"
3648
+ x="8"
3649
+ y="8"
3650
+ />
3651
+ <path
3652
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
3653
+ />
3654
+ </svg>
3655
+ </span>
3656
+ </button>
3657
+ </div>
3043
3658
  </div>
3044
3659
  <div
3045
3660
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -3127,22 +3742,21 @@ exports[`renders Chat with hints unchanged 1`] = `
3127
3742
  class="memori-media-widget"
3128
3743
  >
3129
3744
  <div
3130
- class="memori-link-items"
3745
+ class="memori-media-items"
3131
3746
  >
3132
3747
  <div
3133
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
3748
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
3134
3749
  >
3135
3750
  <div
3136
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
3751
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
3137
3752
  >
3138
3753
  <a
3139
- class="memori-link-item--link"
3140
- href="https://memori.ai"
3141
- rel="noopener noreferrer"
3142
- target="_blank"
3754
+ class="memori-media-item--link"
3755
+ href="#"
3756
+ title="Link"
3143
3757
  >
3144
3758
  <div
3145
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
3759
+ class="memori-card memori-card--with-cover memori-card--hoverable"
3146
3760
  >
3147
3761
  <div
3148
3762
  class="memori-spin"
@@ -3150,22 +3764,18 @@ exports[`renders Chat with hints unchanged 1`] = `
3150
3764
  <div
3151
3765
  class="memori-card--cover"
3152
3766
  >
3153
- <div
3154
- class="memori-link-item--card-cover-icon"
3767
+ <svg
3768
+ aria-hidden="true"
3769
+ class="memori-media-item--icon"
3770
+ focusable="false"
3771
+ role="img"
3772
+ viewBox="0 0 1024 1024"
3773
+ xmlns="http://www.w3.org/2000/svg"
3155
3774
  >
3156
- <svg
3157
- aria-hidden="true"
3158
- class="memori-link-item--icon"
3159
- focusable="false"
3160
- role="img"
3161
- viewBox="0 0 1024 1024"
3162
- xmlns="http://www.w3.org/2000/svg"
3163
- >
3164
- <path
3165
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
3166
- />
3167
- </svg>
3168
- </div>
3775
+ <path
3776
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
3777
+ />
3778
+ </svg>
3169
3779
  </div>
3170
3780
  <div
3171
3781
  class="memori-card--content"
@@ -3206,7 +3816,7 @@ exports[`renders Chat with hints unchanged 1`] = `
3206
3816
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
3207
3817
  >
3208
3818
  <div
3209
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3819
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3210
3820
  >
3211
3821
  <div
3212
3822
  class="memori-expandable memori-chat--bubble-content"
@@ -3225,6 +3835,43 @@ exports[`renders Chat with hints unchanged 1`] = `
3225
3835
  </div>
3226
3836
  </div>
3227
3837
  </div>
3838
+ <div
3839
+ class="memori-chat--bubble-addon"
3840
+ >
3841
+ <button
3842
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
3843
+ title="copy"
3844
+ >
3845
+ <span
3846
+ class="memori-button--icon"
3847
+ >
3848
+ <svg
3849
+ aria-hidden="true"
3850
+ fill="none"
3851
+ focusable="false"
3852
+ role="img"
3853
+ stroke="currentColor"
3854
+ stroke-linecap="round"
3855
+ stroke-linejoin="round"
3856
+ stroke-width="1.5"
3857
+ viewBox="0 0 24 24"
3858
+ xmlns="http://www.w3.org/2000/svg"
3859
+ >
3860
+ <rect
3861
+ height="14"
3862
+ rx="2"
3863
+ ry="2"
3864
+ width="14"
3865
+ x="8"
3866
+ y="8"
3867
+ />
3868
+ <path
3869
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
3870
+ />
3871
+ </svg>
3872
+ </span>
3873
+ </button>
3874
+ </div>
3228
3875
  </div>
3229
3876
  <div
3230
3877
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -3342,69 +3989,70 @@ exports[`renders Chat with hints unchanged 1`] = `
3342
3989
  />
3343
3990
  </div>
3344
3991
  </div>
3345
- <fieldset
3346
- class="memori-chat-inputs"
3347
- id="chat-fieldset"
3992
+ <div
3993
+ class="memori-chat-inputs-wrapper"
3348
3994
  >
3349
- <div
3350
- class="memori-chat-textarea"
3351
- data-testid="chat-textarea"
3995
+ <fieldset
3996
+ class="memori-chat-inputs"
3997
+ id="chat-fieldset"
3352
3998
  >
3353
3999
  <div
3354
- class="memori-chat-textarea--inner"
4000
+ class="memori-chat-inputs--container"
3355
4001
  >
3356
- <textarea
3357
- class="memori-chat-textarea--input"
3358
- maxlength="100000"
4002
+ <div
4003
+ class="memori-chat-inputs--leading"
3359
4004
  />
3360
4005
  <div
3361
- class="memori-chat-textarea--expand"
4006
+ class="memori-chat-inputs--primary"
3362
4007
  >
3363
- <button
3364
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
3365
- title="expand"
4008
+ <div
4009
+ class="memori-chat-textarea"
4010
+ data-testid="chat-textarea"
3366
4011
  >
3367
- <span
3368
- class="memori-button--icon"
4012
+ <div
4013
+ class="memori-chat-textarea--inner"
4014
+ style="height: 36px;"
4015
+ >
4016
+ <textarea
4017
+ class="memori-chat-textarea--input"
4018
+ maxlength="100000"
4019
+ placeholder="placeholder"
4020
+ style="height: 36px;"
4021
+ />
4022
+ </div>
4023
+ </div>
4024
+ </div>
4025
+ <div
4026
+ class="memori-chat-inputs--trailing"
4027
+ >
4028
+ <div
4029
+ class="memori-chat-inputs--trailing-inner"
4030
+ >
4031
+ <button
4032
+ aria-label="send"
4033
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
4034
+ disabled=""
4035
+ title="send"
4036
+ type="button"
3369
4037
  >
3370
4038
  <svg
3371
4039
  aria-hidden="true"
4040
+ class="icon"
3372
4041
  focusable="false"
3373
4042
  role="img"
3374
4043
  viewBox="0 0 1024 1024"
3375
4044
  xmlns="http://www.w3.org/2000/svg"
3376
4045
  >
3377
4046
  <path
3378
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
4047
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
3379
4048
  />
3380
4049
  </svg>
3381
- </span>
3382
- </button>
4050
+ </button>
4051
+ </div>
3383
4052
  </div>
3384
4053
  </div>
3385
- </div>
3386
- <button
3387
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
3388
- disabled=""
3389
- title="send"
3390
- >
3391
- <span
3392
- class="memori-button--icon"
3393
- >
3394
- <svg
3395
- aria-hidden="true"
3396
- focusable="false"
3397
- role="img"
3398
- viewBox="0 0 1024 1024"
3399
- xmlns="http://www.w3.org/2000/svg"
3400
- >
3401
- <path
3402
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
3403
- />
3404
- </svg>
3405
- </span>
3406
- </button>
3407
- </fieldset>
4054
+ </fieldset>
4055
+ </div>
3408
4056
  </div>
3409
4057
  </div>
3410
4058
  `;
@@ -3421,6 +4069,7 @@ exports[`renders Chat with media unchanged 1`] = `
3421
4069
  >
3422
4070
  <div
3423
4071
  class="memori-chat--content"
4072
+ style="padding-bottom: 0px;"
3424
4073
  >
3425
4074
  <div
3426
4075
  class="memori-chat--cover"
@@ -3498,7 +4147,7 @@ exports[`renders Chat with media unchanged 1`] = `
3498
4147
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
3499
4148
  >
3500
4149
  <div
3501
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4150
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3502
4151
  >
3503
4152
  <div
3504
4153
  class="memori-expandable memori-chat--bubble-content"
@@ -3517,6 +4166,43 @@ exports[`renders Chat with media unchanged 1`] = `
3517
4166
  </div>
3518
4167
  </div>
3519
4168
  </div>
4169
+ <div
4170
+ class="memori-chat--bubble-addon"
4171
+ >
4172
+ <button
4173
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
4174
+ title="copy"
4175
+ >
4176
+ <span
4177
+ class="memori-button--icon"
4178
+ >
4179
+ <svg
4180
+ aria-hidden="true"
4181
+ fill="none"
4182
+ focusable="false"
4183
+ role="img"
4184
+ stroke="currentColor"
4185
+ stroke-linecap="round"
4186
+ stroke-linejoin="round"
4187
+ stroke-width="1.5"
4188
+ viewBox="0 0 24 24"
4189
+ xmlns="http://www.w3.org/2000/svg"
4190
+ >
4191
+ <rect
4192
+ height="14"
4193
+ rx="2"
4194
+ ry="2"
4195
+ width="14"
4196
+ x="8"
4197
+ y="8"
4198
+ />
4199
+ <path
4200
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
4201
+ />
4202
+ </svg>
4203
+ </span>
4204
+ </button>
4205
+ </div>
3520
4206
  </div>
3521
4207
  <div
3522
4208
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -3607,7 +4293,7 @@ exports[`renders Chat with media unchanged 1`] = `
3607
4293
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
3608
4294
  >
3609
4295
  <div
3610
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4296
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
3611
4297
  >
3612
4298
  <div
3613
4299
  class="memori-expandable memori-chat--bubble-content"
@@ -3626,8 +4312,45 @@ exports[`renders Chat with media unchanged 1`] = `
3626
4312
  </div>
3627
4313
  </div>
3628
4314
  </div>
3629
- </div>
3630
- <div
4315
+ <div
4316
+ class="memori-chat--bubble-addon"
4317
+ >
4318
+ <button
4319
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
4320
+ title="copy"
4321
+ >
4322
+ <span
4323
+ class="memori-button--icon"
4324
+ >
4325
+ <svg
4326
+ aria-hidden="true"
4327
+ fill="none"
4328
+ focusable="false"
4329
+ role="img"
4330
+ stroke="currentColor"
4331
+ stroke-linecap="round"
4332
+ stroke-linejoin="round"
4333
+ stroke-width="1.5"
4334
+ viewBox="0 0 24 24"
4335
+ xmlns="http://www.w3.org/2000/svg"
4336
+ >
4337
+ <rect
4338
+ height="14"
4339
+ rx="2"
4340
+ ry="2"
4341
+ width="14"
4342
+ x="8"
4343
+ y="8"
4344
+ />
4345
+ <path
4346
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
4347
+ />
4348
+ </svg>
4349
+ </span>
4350
+ </button>
4351
+ </div>
4352
+ </div>
4353
+ <div
3631
4354
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
3632
4355
  >
3633
4356
  <svg
@@ -3723,13 +4446,11 @@ exports[`renders Chat with media unchanged 1`] = `
3723
4446
  >
3724
4447
  <a
3725
4448
  class="memori-media-item--link"
3726
- href="https://picsum.photos/300/200?random=0"
3727
- rel="noopener noreferrer"
3728
- target="_blank"
3729
- title="Image 0"
4449
+ href="#"
4450
+ title="Link Memori Srl"
3730
4451
  >
3731
4452
  <div
3732
- class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
4453
+ class="memori-card memori-card--with-cover memori-card--hoverable"
3733
4454
  >
3734
4455
  <div
3735
4456
  class="memori-spin"
@@ -3737,27 +4458,27 @@ exports[`renders Chat with media unchanged 1`] = `
3737
4458
  <div
3738
4459
  class="memori-card--cover"
3739
4460
  >
3740
- <picture
3741
- class="memori-media-item--figure"
4461
+ <svg
4462
+ aria-hidden="true"
4463
+ class="memori-media-item--icon"
4464
+ focusable="false"
4465
+ role="img"
4466
+ viewBox="0 0 1024 1024"
4467
+ xmlns="http://www.w3.org/2000/svg"
3742
4468
  >
3743
- <source
3744
- srcset="https://picsum.photos/300/200?random=0"
3745
- type="image/png"
3746
- />
3747
- <img
3748
- alt="Image 0"
3749
- src="https://picsum.photos/300/200?random=0"
4469
+ <path
4470
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
3750
4471
  />
3751
- <figcaption
3752
- class="memori-media-item--figure-caption"
3753
- >
3754
- Image 0
3755
- </figcaption>
3756
- </picture>
4472
+ </svg>
3757
4473
  </div>
3758
4474
  <div
3759
4475
  class="memori-card--content"
3760
4476
  >
4477
+ <h3
4478
+ class="memori-card--title"
4479
+ >
4480
+ Link Memori Srl
4481
+ </h3>
3761
4482
  <div
3762
4483
  class="memori-card--children"
3763
4484
  />
@@ -3787,13 +4508,11 @@ exports[`renders Chat with media unchanged 1`] = `
3787
4508
  >
3788
4509
  <a
3789
4510
  class="memori-media-item--link"
3790
- href="https://picsum.photos/200/300?random=1"
3791
- rel="noopener noreferrer"
3792
- target="_blank"
3793
- title="Image 1"
4511
+ href="#"
4512
+ title="Link RawMaterial"
3794
4513
  >
3795
4514
  <div
3796
- class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
4515
+ class="memori-card memori-card--with-cover memori-card--hoverable"
3797
4516
  >
3798
4517
  <div
3799
4518
  class="memori-spin"
@@ -3801,27 +4520,27 @@ exports[`renders Chat with media unchanged 1`] = `
3801
4520
  <div
3802
4521
  class="memori-card--cover"
3803
4522
  >
3804
- <picture
3805
- class="memori-media-item--figure"
4523
+ <svg
4524
+ aria-hidden="true"
4525
+ class="memori-media-item--icon"
4526
+ focusable="false"
4527
+ role="img"
4528
+ viewBox="0 0 1024 1024"
4529
+ xmlns="http://www.w3.org/2000/svg"
3806
4530
  >
3807
- <source
3808
- srcset="https://picsum.photos/200/300?random=1"
3809
- type="image/png"
3810
- />
3811
- <img
3812
- alt="Image 1"
3813
- src="https://picsum.photos/200/300?random=1"
4531
+ <path
4532
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
3814
4533
  />
3815
- <figcaption
3816
- class="memori-media-item--figure-caption"
3817
- >
3818
- Image 1
3819
- </figcaption>
3820
- </picture>
4534
+ </svg>
3821
4535
  </div>
3822
4536
  <div
3823
4537
  class="memori-card--content"
3824
4538
  >
4539
+ <h3
4540
+ class="memori-card--title"
4541
+ >
4542
+ Link RawMaterial
4543
+ </h3>
3825
4544
  <div
3826
4545
  class="memori-card--children"
3827
4546
  />
@@ -3851,13 +4570,11 @@ exports[`renders Chat with media unchanged 1`] = `
3851
4570
  >
3852
4571
  <a
3853
4572
  class="memori-media-item--link"
3854
- href="https://picsum.photos/300/300?random=2"
3855
- rel="noopener noreferrer"
3856
- target="_blank"
3857
- title="Image 2"
4573
+ href="#"
4574
+ title="Introducing Plone Remix | Vimeo"
3858
4575
  >
3859
4576
  <div
3860
- class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
4577
+ class="memori-card memori-card--with-cover memori-card--hoverable"
3861
4578
  >
3862
4579
  <div
3863
4580
  class="memori-spin"
@@ -3865,27 +4582,27 @@ exports[`renders Chat with media unchanged 1`] = `
3865
4582
  <div
3866
4583
  class="memori-card--cover"
3867
4584
  >
3868
- <picture
3869
- class="memori-media-item--figure"
4585
+ <svg
4586
+ aria-hidden="true"
4587
+ class="memori-media-item--icon"
4588
+ focusable="false"
4589
+ role="img"
4590
+ viewBox="0 0 1024 1024"
4591
+ xmlns="http://www.w3.org/2000/svg"
3870
4592
  >
3871
- <source
3872
- srcset="https://picsum.photos/300/300?random=2"
3873
- type="image/png"
3874
- />
3875
- <img
3876
- alt="Image 2"
3877
- src="https://picsum.photos/300/300?random=2"
4593
+ <path
4594
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
3878
4595
  />
3879
- <figcaption
3880
- class="memori-media-item--figure-caption"
3881
- >
3882
- Image 2
3883
- </figcaption>
3884
- </picture>
4596
+ </svg>
3885
4597
  </div>
3886
4598
  <div
3887
4599
  class="memori-card--content"
3888
4600
  >
4601
+ <h3
4602
+ class="memori-card--title"
4603
+ >
4604
+ Introducing Plone Remix | Vimeo
4605
+ </h3>
3889
4606
  <div
3890
4607
  class="memori-card--children"
3891
4608
  />
@@ -3910,25 +4627,16 @@ exports[`renders Chat with media unchanged 1`] = `
3910
4627
  </div>
3911
4628
  </a>
3912
4629
  </div>
3913
- </div>
3914
- </div>
3915
- <div
3916
- class="memori-link-items"
3917
- >
3918
- <div
3919
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
3920
- >
3921
4630
  <div
3922
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
4631
+ class="memori-media-item ease-out duration-500 delay-300 opacity-0 scale-95"
3923
4632
  >
3924
4633
  <a
3925
- class="memori-link-item--link"
3926
- href="https://memori.ai/en"
3927
- rel="noopener noreferrer"
3928
- target="_blank"
4634
+ class="memori-media-item--link"
4635
+ href="#"
4636
+ title="A sustainable web: is it possible? - Nicola Zambello | YouTube"
3929
4637
  >
3930
4638
  <div
3931
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
4639
+ class="memori-card memori-card--with-cover memori-card--hoverable"
3932
4640
  >
3933
4641
  <div
3934
4642
  class="memori-spin"
@@ -3936,22 +4644,18 @@ exports[`renders Chat with media unchanged 1`] = `
3936
4644
  <div
3937
4645
  class="memori-card--cover"
3938
4646
  >
3939
- <div
3940
- class="memori-link-item--card-cover-icon"
4647
+ <svg
4648
+ aria-hidden="true"
4649
+ class="memori-media-item--icon"
4650
+ focusable="false"
4651
+ role="img"
4652
+ viewBox="0 0 1024 1024"
4653
+ xmlns="http://www.w3.org/2000/svg"
3941
4654
  >
3942
- <svg
3943
- aria-hidden="true"
3944
- class="memori-link-item--icon"
3945
- focusable="false"
3946
- role="img"
3947
- viewBox="0 0 1024 1024"
3948
- xmlns="http://www.w3.org/2000/svg"
3949
- >
3950
- <path
3951
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
3952
- />
3953
- </svg>
3954
- </div>
4655
+ <path
4656
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
4657
+ />
4658
+ </svg>
3955
4659
  </div>
3956
4660
  <div
3957
4661
  class="memori-card--content"
@@ -3959,7 +4663,7 @@ exports[`renders Chat with media unchanged 1`] = `
3959
4663
  <h3
3960
4664
  class="memori-card--title"
3961
4665
  >
3962
- Link Memori Srl
4666
+ A sustainable web: is it possible? - Nicola Zambello | YouTube
3963
4667
  </h3>
3964
4668
  <div
3965
4669
  class="memori-card--children"
@@ -3986,16 +4690,17 @@ exports[`renders Chat with media unchanged 1`] = `
3986
4690
  </a>
3987
4691
  </div>
3988
4692
  <div
3989
- class="memori-link-item ease-out duration-500 delay-100 opacity-0 scale-95"
4693
+ class="memori-media-item ease-out duration-500 delay-400 opacity-0 scale-95"
3990
4694
  >
3991
4695
  <a
3992
- class="memori-link-item--link"
3993
- href="https://rawmaterial.it/en"
4696
+ class="memori-media-item--link"
4697
+ href="https://picsum.photos/300/200?random=0"
3994
4698
  rel="noopener noreferrer"
3995
4699
  target="_blank"
4700
+ title="Image 0"
3996
4701
  >
3997
4702
  <div
3998
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
4703
+ class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
3999
4704
  >
4000
4705
  <div
4001
4706
  class="memori-spin"
@@ -4003,31 +4708,27 @@ exports[`renders Chat with media unchanged 1`] = `
4003
4708
  <div
4004
4709
  class="memori-card--cover"
4005
4710
  >
4006
- <div
4007
- class="memori-link-item--card-cover-icon"
4711
+ <picture
4712
+ class="memori-media-item--figure"
4008
4713
  >
4009
- <svg
4010
- aria-hidden="true"
4011
- class="memori-link-item--icon"
4012
- focusable="false"
4013
- role="img"
4014
- viewBox="0 0 1024 1024"
4015
- xmlns="http://www.w3.org/2000/svg"
4714
+ <source
4715
+ srcset="https://picsum.photos/300/200?random=0"
4716
+ type="image/png"
4717
+ />
4718
+ <img
4719
+ alt="Image 0"
4720
+ src="https://picsum.photos/300/200?random=0"
4721
+ />
4722
+ <figcaption
4723
+ class="memori-media-item--figure-caption"
4016
4724
  >
4017
- <path
4018
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
4019
- />
4020
- </svg>
4021
- </div>
4725
+ Image 0
4726
+ </figcaption>
4727
+ </picture>
4022
4728
  </div>
4023
4729
  <div
4024
4730
  class="memori-card--content"
4025
4731
  >
4026
- <h3
4027
- class="memori-card--title"
4028
- >
4029
- Link RawMaterial
4030
- </h3>
4031
4732
  <div
4032
4733
  class="memori-card--children"
4033
4734
  />
@@ -4053,16 +4754,17 @@ exports[`renders Chat with media unchanged 1`] = `
4053
4754
  </a>
4054
4755
  </div>
4055
4756
  <div
4056
- class="memori-link-item ease-out duration-500 delay-200 opacity-0 scale-95"
4757
+ class="memori-media-item ease-out duration-500 delay-500 opacity-0 scale-95"
4057
4758
  >
4058
4759
  <a
4059
- class="memori-link-item--link"
4060
- href="https://vimeo.com/766468314"
4760
+ class="memori-media-item--link"
4761
+ href="https://picsum.photos/200/300?random=1"
4061
4762
  rel="noopener noreferrer"
4062
4763
  target="_blank"
4764
+ title="Image 1"
4063
4765
  >
4064
4766
  <div
4065
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
4767
+ class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
4066
4768
  >
4067
4769
  <div
4068
4770
  class="memori-spin"
@@ -4070,31 +4772,27 @@ exports[`renders Chat with media unchanged 1`] = `
4070
4772
  <div
4071
4773
  class="memori-card--cover"
4072
4774
  >
4073
- <div
4074
- class="memori-link-item--card-cover-icon"
4775
+ <picture
4776
+ class="memori-media-item--figure"
4075
4777
  >
4076
- <svg
4077
- aria-hidden="true"
4078
- class="memori-link-item--icon"
4079
- focusable="false"
4080
- role="img"
4081
- viewBox="0 0 1024 1024"
4082
- xmlns="http://www.w3.org/2000/svg"
4778
+ <source
4779
+ srcset="https://picsum.photos/200/300?random=1"
4780
+ type="image/png"
4781
+ />
4782
+ <img
4783
+ alt="Image 1"
4784
+ src="https://picsum.photos/200/300?random=1"
4785
+ />
4786
+ <figcaption
4787
+ class="memori-media-item--figure-caption"
4083
4788
  >
4084
- <path
4085
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
4086
- />
4087
- </svg>
4088
- </div>
4789
+ Image 1
4790
+ </figcaption>
4791
+ </picture>
4089
4792
  </div>
4090
4793
  <div
4091
4794
  class="memori-card--content"
4092
4795
  >
4093
- <h3
4094
- class="memori-card--title"
4095
- >
4096
- Introducing Plone Remix | Vimeo
4097
- </h3>
4098
4796
  <div
4099
4797
  class="memori-card--children"
4100
4798
  />
@@ -4120,16 +4818,17 @@ exports[`renders Chat with media unchanged 1`] = `
4120
4818
  </a>
4121
4819
  </div>
4122
4820
  <div
4123
- class="memori-link-item ease-out duration-500 delay-300 opacity-0 scale-95"
4821
+ class="memori-media-item ease-out duration-500 delay-600 opacity-0 scale-95"
4124
4822
  >
4125
4823
  <a
4126
- class="memori-link-item--link"
4127
- href="https://www.youtube.com/watch?v=feH26j3rBz8"
4824
+ class="memori-media-item--link"
4825
+ href="https://picsum.photos/300/300?random=2"
4128
4826
  rel="noopener noreferrer"
4129
4827
  target="_blank"
4828
+ title="Image 2"
4130
4829
  >
4131
4830
  <div
4132
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
4831
+ class="memori-card memori-media-item--card memori-media-item--image memori-card--with-cover memori-card--hoverable"
4133
4832
  >
4134
4833
  <div
4135
4834
  class="memori-spin"
@@ -4137,31 +4836,27 @@ exports[`renders Chat with media unchanged 1`] = `
4137
4836
  <div
4138
4837
  class="memori-card--cover"
4139
4838
  >
4140
- <div
4141
- class="memori-link-item--card-cover-icon"
4839
+ <picture
4840
+ class="memori-media-item--figure"
4142
4841
  >
4143
- <svg
4144
- aria-hidden="true"
4145
- class="memori-link-item--icon"
4146
- focusable="false"
4147
- role="img"
4148
- viewBox="0 0 1024 1024"
4149
- xmlns="http://www.w3.org/2000/svg"
4842
+ <source
4843
+ srcset="https://picsum.photos/300/300?random=2"
4844
+ type="image/png"
4845
+ />
4846
+ <img
4847
+ alt="Image 2"
4848
+ src="https://picsum.photos/300/300?random=2"
4849
+ />
4850
+ <figcaption
4851
+ class="memori-media-item--figure-caption"
4150
4852
  >
4151
- <path
4152
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
4153
- />
4154
- </svg>
4155
- </div>
4853
+ Image 2
4854
+ </figcaption>
4855
+ </picture>
4156
4856
  </div>
4157
4857
  <div
4158
4858
  class="memori-card--content"
4159
4859
  >
4160
- <h3
4161
- class="memori-card--title"
4162
- >
4163
- A sustainable web: is it possible? - Nicola Zambello | YouTube
4164
- </h3>
4165
4860
  <div
4166
4861
  class="memori-card--children"
4167
4862
  />
@@ -4193,7 +4888,7 @@ exports[`renders Chat with media unchanged 1`] = `
4193
4888
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
4194
4889
  >
4195
4890
  <div
4196
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4891
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4197
4892
  >
4198
4893
  <div
4199
4894
  class="memori-expandable memori-chat--bubble-content"
@@ -4212,6 +4907,43 @@ exports[`renders Chat with media unchanged 1`] = `
4212
4907
  </div>
4213
4908
  </div>
4214
4909
  </div>
4910
+ <div
4911
+ class="memori-chat--bubble-addon"
4912
+ >
4913
+ <button
4914
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
4915
+ title="copy"
4916
+ >
4917
+ <span
4918
+ class="memori-button--icon"
4919
+ >
4920
+ <svg
4921
+ aria-hidden="true"
4922
+ fill="none"
4923
+ focusable="false"
4924
+ role="img"
4925
+ stroke="currentColor"
4926
+ stroke-linecap="round"
4927
+ stroke-linejoin="round"
4928
+ stroke-width="1.5"
4929
+ viewBox="0 0 24 24"
4930
+ xmlns="http://www.w3.org/2000/svg"
4931
+ >
4932
+ <rect
4933
+ height="14"
4934
+ rx="2"
4935
+ ry="2"
4936
+ width="14"
4937
+ x="8"
4938
+ y="8"
4939
+ />
4940
+ <path
4941
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
4942
+ />
4943
+ </svg>
4944
+ </span>
4945
+ </button>
4946
+ </div>
4215
4947
  </div>
4216
4948
  <div
4217
4949
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -4303,69 +5035,70 @@ exports[`renders Chat with media unchanged 1`] = `
4303
5035
  />
4304
5036
  </div>
4305
5037
  </div>
4306
- <fieldset
4307
- class="memori-chat-inputs"
4308
- id="chat-fieldset"
5038
+ <div
5039
+ class="memori-chat-inputs-wrapper"
4309
5040
  >
4310
- <div
4311
- class="memori-chat-textarea"
4312
- data-testid="chat-textarea"
5041
+ <fieldset
5042
+ class="memori-chat-inputs"
5043
+ id="chat-fieldset"
4313
5044
  >
4314
5045
  <div
4315
- class="memori-chat-textarea--inner"
5046
+ class="memori-chat-inputs--container"
4316
5047
  >
4317
- <textarea
4318
- class="memori-chat-textarea--input"
4319
- maxlength="100000"
5048
+ <div
5049
+ class="memori-chat-inputs--leading"
4320
5050
  />
4321
5051
  <div
4322
- class="memori-chat-textarea--expand"
5052
+ class="memori-chat-inputs--primary"
4323
5053
  >
4324
- <button
4325
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
4326
- title="expand"
5054
+ <div
5055
+ class="memori-chat-textarea"
5056
+ data-testid="chat-textarea"
4327
5057
  >
4328
- <span
4329
- class="memori-button--icon"
5058
+ <div
5059
+ class="memori-chat-textarea--inner"
5060
+ style="height: 36px;"
5061
+ >
5062
+ <textarea
5063
+ class="memori-chat-textarea--input"
5064
+ maxlength="100000"
5065
+ placeholder="placeholder"
5066
+ style="height: 36px;"
5067
+ />
5068
+ </div>
5069
+ </div>
5070
+ </div>
5071
+ <div
5072
+ class="memori-chat-inputs--trailing"
5073
+ >
5074
+ <div
5075
+ class="memori-chat-inputs--trailing-inner"
5076
+ >
5077
+ <button
5078
+ aria-label="send"
5079
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
5080
+ disabled=""
5081
+ title="send"
5082
+ type="button"
4330
5083
  >
4331
5084
  <svg
4332
5085
  aria-hidden="true"
5086
+ class="icon"
4333
5087
  focusable="false"
4334
5088
  role="img"
4335
5089
  viewBox="0 0 1024 1024"
4336
5090
  xmlns="http://www.w3.org/2000/svg"
4337
5091
  >
4338
5092
  <path
4339
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
5093
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
4340
5094
  />
4341
5095
  </svg>
4342
- </span>
4343
- </button>
5096
+ </button>
5097
+ </div>
4344
5098
  </div>
4345
5099
  </div>
4346
- </div>
4347
- <button
4348
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
4349
- disabled=""
4350
- title="send"
4351
- >
4352
- <span
4353
- class="memori-button--icon"
4354
- >
4355
- <svg
4356
- aria-hidden="true"
4357
- focusable="false"
4358
- role="img"
4359
- viewBox="0 0 1024 1024"
4360
- xmlns="http://www.w3.org/2000/svg"
4361
- >
4362
- <path
4363
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
4364
- />
4365
- </svg>
4366
- </span>
4367
- </button>
4368
- </fieldset>
5100
+ </fieldset>
5101
+ </div>
4369
5102
  </div>
4370
5103
  </div>
4371
5104
  `;
@@ -4382,6 +5115,7 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4382
5115
  >
4383
5116
  <div
4384
5117
  class="memori-chat--content"
5118
+ style="padding-bottom: 0px;"
4385
5119
  >
4386
5120
  <div
4387
5121
  class="memori-chat--cover"
@@ -4459,7 +5193,7 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4459
5193
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
4460
5194
  >
4461
5195
  <div
4462
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5196
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4463
5197
  >
4464
5198
  <div
4465
5199
  class="memori-expandable memori-chat--bubble-content"
@@ -4478,6 +5212,43 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4478
5212
  </div>
4479
5213
  </div>
4480
5214
  </div>
5215
+ <div
5216
+ class="memori-chat--bubble-addon"
5217
+ >
5218
+ <button
5219
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
5220
+ title="copy"
5221
+ >
5222
+ <span
5223
+ class="memori-button--icon"
5224
+ >
5225
+ <svg
5226
+ aria-hidden="true"
5227
+ fill="none"
5228
+ focusable="false"
5229
+ role="img"
5230
+ stroke="currentColor"
5231
+ stroke-linecap="round"
5232
+ stroke-linejoin="round"
5233
+ stroke-width="1.5"
5234
+ viewBox="0 0 24 24"
5235
+ xmlns="http://www.w3.org/2000/svg"
5236
+ >
5237
+ <rect
5238
+ height="14"
5239
+ rx="2"
5240
+ ry="2"
5241
+ width="14"
5242
+ x="8"
5243
+ y="8"
5244
+ />
5245
+ <path
5246
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
5247
+ />
5248
+ </svg>
5249
+ </span>
5250
+ </button>
5251
+ </div>
4481
5252
  </div>
4482
5253
  <div
4483
5254
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -4568,7 +5339,7 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4568
5339
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
4569
5340
  >
4570
5341
  <div
4571
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5342
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4572
5343
  >
4573
5344
  <div
4574
5345
  class="memori-expandable memori-chat--bubble-content"
@@ -4587,6 +5358,43 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4587
5358
  </div>
4588
5359
  </div>
4589
5360
  </div>
5361
+ <div
5362
+ class="memori-chat--bubble-addon"
5363
+ >
5364
+ <button
5365
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
5366
+ title="copy"
5367
+ >
5368
+ <span
5369
+ class="memori-button--icon"
5370
+ >
5371
+ <svg
5372
+ aria-hidden="true"
5373
+ fill="none"
5374
+ focusable="false"
5375
+ role="img"
5376
+ stroke="currentColor"
5377
+ stroke-linecap="round"
5378
+ stroke-linejoin="round"
5379
+ stroke-width="1.5"
5380
+ viewBox="0 0 24 24"
5381
+ xmlns="http://www.w3.org/2000/svg"
5382
+ >
5383
+ <rect
5384
+ height="14"
5385
+ rx="2"
5386
+ ry="2"
5387
+ width="14"
5388
+ x="8"
5389
+ y="8"
5390
+ />
5391
+ <path
5392
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
5393
+ />
5394
+ </svg>
5395
+ </span>
5396
+ </button>
5397
+ </div>
4590
5398
  </div>
4591
5399
  <div
4592
5400
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -4674,22 +5482,21 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4674
5482
  class="memori-media-widget"
4675
5483
  >
4676
5484
  <div
4677
- class="memori-link-items"
5485
+ class="memori-media-items"
4678
5486
  >
4679
5487
  <div
4680
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
5488
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
4681
5489
  >
4682
5490
  <div
4683
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
5491
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
4684
5492
  >
4685
5493
  <a
4686
- class="memori-link-item--link"
4687
- href="https://memori.ai"
4688
- rel="noopener noreferrer"
4689
- target="_blank"
5494
+ class="memori-media-item--link"
5495
+ href="#"
5496
+ title="Link"
4690
5497
  >
4691
5498
  <div
4692
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
5499
+ class="memori-card memori-card--with-cover memori-card--hoverable"
4693
5500
  >
4694
5501
  <div
4695
5502
  class="memori-spin"
@@ -4697,22 +5504,18 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4697
5504
  <div
4698
5505
  class="memori-card--cover"
4699
5506
  >
4700
- <div
4701
- class="memori-link-item--card-cover-icon"
5507
+ <svg
5508
+ aria-hidden="true"
5509
+ class="memori-media-item--icon"
5510
+ focusable="false"
5511
+ role="img"
5512
+ viewBox="0 0 1024 1024"
5513
+ xmlns="http://www.w3.org/2000/svg"
4702
5514
  >
4703
- <svg
4704
- aria-hidden="true"
4705
- class="memori-link-item--icon"
4706
- focusable="false"
4707
- role="img"
4708
- viewBox="0 0 1024 1024"
4709
- xmlns="http://www.w3.org/2000/svg"
4710
- >
4711
- <path
4712
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
4713
- />
4714
- </svg>
4715
- </div>
5515
+ <path
5516
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
5517
+ />
5518
+ </svg>
4716
5519
  </div>
4717
5520
  <div
4718
5521
  class="memori-card--content"
@@ -4753,7 +5556,7 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4753
5556
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
4754
5557
  >
4755
5558
  <div
4756
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5559
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
4757
5560
  >
4758
5561
  <div
4759
5562
  class="memori-expandable memori-chat--bubble-content"
@@ -4772,6 +5575,43 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4772
5575
  </div>
4773
5576
  </div>
4774
5577
  </div>
5578
+ <div
5579
+ class="memori-chat--bubble-addon"
5580
+ >
5581
+ <button
5582
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
5583
+ title="copy"
5584
+ >
5585
+ <span
5586
+ class="memori-button--icon"
5587
+ >
5588
+ <svg
5589
+ aria-hidden="true"
5590
+ fill="none"
5591
+ focusable="false"
5592
+ role="img"
5593
+ stroke="currentColor"
5594
+ stroke-linecap="round"
5595
+ stroke-linejoin="round"
5596
+ stroke-width="1.5"
5597
+ viewBox="0 0 24 24"
5598
+ xmlns="http://www.w3.org/2000/svg"
5599
+ >
5600
+ <rect
5601
+ height="14"
5602
+ rx="2"
5603
+ ry="2"
5604
+ width="14"
5605
+ x="8"
5606
+ y="8"
5607
+ />
5608
+ <path
5609
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
5610
+ />
5611
+ </svg>
5612
+ </span>
5613
+ </button>
5614
+ </div>
4775
5615
  </div>
4776
5616
  <div
4777
5617
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -4884,69 +5724,61 @@ exports[`renders Chat with memori typing unchanged 1`] = `
4884
5724
  />
4885
5725
  </div>
4886
5726
  </div>
4887
- <fieldset
4888
- class="memori-chat-inputs"
4889
- id="chat-fieldset"
5727
+ <div
5728
+ class="memori-chat-inputs-wrapper"
4890
5729
  >
4891
- <div
4892
- class="memori-chat-textarea"
4893
- data-testid="chat-textarea"
5730
+ <fieldset
5731
+ class="memori-chat-inputs"
5732
+ id="chat-fieldset"
4894
5733
  >
4895
5734
  <div
4896
- class="memori-chat-textarea--inner"
5735
+ class="memori-chat-inputs--container"
4897
5736
  >
4898
- <textarea
4899
- class="memori-chat-textarea--input"
4900
- maxlength="100000"
5737
+ <div
5738
+ class="memori-chat-inputs--leading"
4901
5739
  />
4902
5740
  <div
4903
- class="memori-chat-textarea--expand"
5741
+ class="memori-chat-inputs--primary"
4904
5742
  >
4905
- <button
4906
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
4907
- title="expand"
5743
+ <div
5744
+ class="memori-chat-textarea"
5745
+ data-testid="chat-textarea"
4908
5746
  >
4909
- <span
4910
- class="memori-button--icon"
5747
+ <div
5748
+ class="memori-chat-textarea--inner"
5749
+ style="height: 36px;"
4911
5750
  >
4912
- <svg
4913
- aria-hidden="true"
4914
- focusable="false"
4915
- role="img"
4916
- viewBox="0 0 1024 1024"
4917
- xmlns="http://www.w3.org/2000/svg"
4918
- >
4919
- <path
4920
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
4921
- />
4922
- </svg>
4923
- </span>
4924
- </button>
5751
+ <textarea
5752
+ class="memori-chat-textarea--input"
5753
+ maxlength="100000"
5754
+ placeholder="placeholder"
5755
+ style="height: 36px;"
5756
+ />
5757
+ </div>
5758
+ </div>
5759
+ </div>
5760
+ <div
5761
+ class="memori-chat-inputs--trailing"
5762
+ >
5763
+ <div
5764
+ class="memori-chat-inputs--trailing-inner"
5765
+ >
5766
+ <button
5767
+ aria-label="send"
5768
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
5769
+ disabled=""
5770
+ title="send"
5771
+ type="button"
5772
+ >
5773
+ <div
5774
+ class="memori-chat-inputs--send-btn--loading"
5775
+ />
5776
+ </button>
5777
+ </div>
4925
5778
  </div>
4926
5779
  </div>
4927
- </div>
4928
- <button
4929
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
4930
- disabled=""
4931
- title="send"
4932
- >
4933
- <span
4934
- class="memori-button--icon"
4935
- >
4936
- <svg
4937
- aria-hidden="true"
4938
- focusable="false"
4939
- role="img"
4940
- viewBox="0 0 1024 1024"
4941
- xmlns="http://www.w3.org/2000/svg"
4942
- >
4943
- <path
4944
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
4945
- />
4946
- </svg>
4947
- </span>
4948
- </button>
4949
- </fieldset>
5780
+ </fieldset>
5781
+ </div>
4950
5782
  </div>
4951
5783
  </div>
4952
5784
  `;
@@ -4963,6 +5795,7 @@ exports[`renders Chat with user unchanged 1`] = `
4963
5795
  >
4964
5796
  <div
4965
5797
  class="memori-chat--content"
5798
+ style="padding-bottom: 0px;"
4966
5799
  >
4967
5800
  <div
4968
5801
  class="memori-chat--cover"
@@ -5040,7 +5873,7 @@ exports[`renders Chat with user unchanged 1`] = `
5040
5873
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
5041
5874
  >
5042
5875
  <div
5043
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5876
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5044
5877
  >
5045
5878
  <div
5046
5879
  class="memori-expandable memori-chat--bubble-content"
@@ -5059,6 +5892,43 @@ exports[`renders Chat with user unchanged 1`] = `
5059
5892
  </div>
5060
5893
  </div>
5061
5894
  </div>
5895
+ <div
5896
+ class="memori-chat--bubble-addon"
5897
+ >
5898
+ <button
5899
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
5900
+ title="copy"
5901
+ >
5902
+ <span
5903
+ class="memori-button--icon"
5904
+ >
5905
+ <svg
5906
+ aria-hidden="true"
5907
+ fill="none"
5908
+ focusable="false"
5909
+ role="img"
5910
+ stroke="currentColor"
5911
+ stroke-linecap="round"
5912
+ stroke-linejoin="round"
5913
+ stroke-width="1.5"
5914
+ viewBox="0 0 24 24"
5915
+ xmlns="http://www.w3.org/2000/svg"
5916
+ >
5917
+ <rect
5918
+ height="14"
5919
+ rx="2"
5920
+ ry="2"
5921
+ width="14"
5922
+ x="8"
5923
+ y="8"
5924
+ />
5925
+ <path
5926
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
5927
+ />
5928
+ </svg>
5929
+ </span>
5930
+ </button>
5931
+ </div>
5062
5932
  </div>
5063
5933
  <picture
5064
5934
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -5143,7 +6013,7 @@ exports[`renders Chat with user unchanged 1`] = `
5143
6013
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
5144
6014
  >
5145
6015
  <div
5146
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
6016
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5147
6017
  >
5148
6018
  <div
5149
6019
  class="memori-expandable memori-chat--bubble-content"
@@ -5162,6 +6032,43 @@ exports[`renders Chat with user unchanged 1`] = `
5162
6032
  </div>
5163
6033
  </div>
5164
6034
  </div>
6035
+ <div
6036
+ class="memori-chat--bubble-addon"
6037
+ >
6038
+ <button
6039
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
6040
+ title="copy"
6041
+ >
6042
+ <span
6043
+ class="memori-button--icon"
6044
+ >
6045
+ <svg
6046
+ aria-hidden="true"
6047
+ fill="none"
6048
+ focusable="false"
6049
+ role="img"
6050
+ stroke="currentColor"
6051
+ stroke-linecap="round"
6052
+ stroke-linejoin="round"
6053
+ stroke-width="1.5"
6054
+ viewBox="0 0 24 24"
6055
+ xmlns="http://www.w3.org/2000/svg"
6056
+ >
6057
+ <rect
6058
+ height="14"
6059
+ rx="2"
6060
+ ry="2"
6061
+ width="14"
6062
+ x="8"
6063
+ y="8"
6064
+ />
6065
+ <path
6066
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
6067
+ />
6068
+ </svg>
6069
+ </span>
6070
+ </button>
6071
+ </div>
5165
6072
  </div>
5166
6073
  <picture
5167
6074
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -5243,22 +6150,21 @@ exports[`renders Chat with user unchanged 1`] = `
5243
6150
  class="memori-media-widget"
5244
6151
  >
5245
6152
  <div
5246
- class="memori-link-items"
6153
+ class="memori-media-items"
5247
6154
  >
5248
6155
  <div
5249
- class="memori-link-items--grid memori-chat-scroll-item memori-link-items--agent"
6156
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
5250
6157
  >
5251
6158
  <div
5252
- class="memori-link-item ease-out duration-500 delay-0 opacity-0 scale-95"
6159
+ class="memori-media-item ease-out duration-500 delay-0 opacity-0 scale-95"
5253
6160
  >
5254
6161
  <a
5255
- class="memori-link-item--link"
5256
- href="https://memori.ai"
5257
- rel="noopener noreferrer"
5258
- target="_blank"
6162
+ class="memori-media-item--link"
6163
+ href="#"
6164
+ title="Link"
5259
6165
  >
5260
6166
  <div
5261
- class="memori-card memori-link-item--card memori-card--with-cover memori-card--hoverable"
6167
+ class="memori-card memori-card--with-cover memori-card--hoverable"
5262
6168
  >
5263
6169
  <div
5264
6170
  class="memori-spin"
@@ -5266,22 +6172,18 @@ exports[`renders Chat with user unchanged 1`] = `
5266
6172
  <div
5267
6173
  class="memori-card--cover"
5268
6174
  >
5269
- <div
5270
- class="memori-link-item--card-cover-icon"
6175
+ <svg
6176
+ aria-hidden="true"
6177
+ class="memori-media-item--icon"
6178
+ focusable="false"
6179
+ role="img"
6180
+ viewBox="0 0 1024 1024"
6181
+ xmlns="http://www.w3.org/2000/svg"
5271
6182
  >
5272
- <svg
5273
- aria-hidden="true"
5274
- class="memori-link-item--icon"
5275
- focusable="false"
5276
- role="img"
5277
- viewBox="0 0 1024 1024"
5278
- xmlns="http://www.w3.org/2000/svg"
5279
- >
5280
- <path
5281
- d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"
5282
- />
5283
- </svg>
5284
- </div>
6183
+ <path
6184
+ d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z"
6185
+ />
6186
+ </svg>
5285
6187
  </div>
5286
6188
  <div
5287
6189
  class="memori-card--content"
@@ -5322,7 +6224,7 @@ exports[`renders Chat with user unchanged 1`] = `
5322
6224
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user"
5323
6225
  >
5324
6226
  <div
5325
- class="memori-chat--bubble memori-chat--user-bubble transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
6227
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon transition ease-in-out duration-300 opacity-0 scale-09 translate-x-30"
5326
6228
  >
5327
6229
  <div
5328
6230
  class="memori-expandable memori-chat--bubble-content"
@@ -5341,6 +6243,43 @@ exports[`renders Chat with user unchanged 1`] = `
5341
6243
  </div>
5342
6244
  </div>
5343
6245
  </div>
6246
+ <div
6247
+ class="memori-chat--bubble-addon"
6248
+ >
6249
+ <button
6250
+ class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-button--icon-only memori-chat--bubble-action-icon memori-chat--bubble-action-icon--from-user"
6251
+ title="copy"
6252
+ >
6253
+ <span
6254
+ class="memori-button--icon"
6255
+ >
6256
+ <svg
6257
+ aria-hidden="true"
6258
+ fill="none"
6259
+ focusable="false"
6260
+ role="img"
6261
+ stroke="currentColor"
6262
+ stroke-linecap="round"
6263
+ stroke-linejoin="round"
6264
+ stroke-width="1.5"
6265
+ viewBox="0 0 24 24"
6266
+ xmlns="http://www.w3.org/2000/svg"
6267
+ >
6268
+ <rect
6269
+ height="14"
6270
+ rx="2"
6271
+ ry="2"
6272
+ width="14"
6273
+ x="8"
6274
+ y="8"
6275
+ />
6276
+ <path
6277
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
6278
+ />
6279
+ </svg>
6280
+ </span>
6281
+ </button>
6282
+ </div>
5344
6283
  </div>
5345
6284
  <picture
5346
6285
  class="memori-chat--bubble-avatar transition ease-in-out duration-300 opacity-0 scale-075 translate-x-15"
@@ -5426,69 +6365,70 @@ exports[`renders Chat with user unchanged 1`] = `
5426
6365
  />
5427
6366
  </div>
5428
6367
  </div>
5429
- <fieldset
5430
- class="memori-chat-inputs"
5431
- id="chat-fieldset"
6368
+ <div
6369
+ class="memori-chat-inputs-wrapper"
5432
6370
  >
5433
- <div
5434
- class="memori-chat-textarea"
5435
- data-testid="chat-textarea"
6371
+ <fieldset
6372
+ class="memori-chat-inputs"
6373
+ id="chat-fieldset"
5436
6374
  >
5437
6375
  <div
5438
- class="memori-chat-textarea--inner"
6376
+ class="memori-chat-inputs--container"
5439
6377
  >
5440
- <textarea
5441
- class="memori-chat-textarea--input"
5442
- maxlength="100000"
6378
+ <div
6379
+ class="memori-chat-inputs--leading"
5443
6380
  />
5444
6381
  <div
5445
- class="memori-chat-textarea--expand"
6382
+ class="memori-chat-inputs--primary"
5446
6383
  >
5447
- <button
5448
- class="memori-button memori-button--ghost memori-button--rounded memori-button--icon-only memori-chat-textarea--expand-button"
5449
- title="expand"
6384
+ <div
6385
+ class="memori-chat-textarea"
6386
+ data-testid="chat-textarea"
5450
6387
  >
5451
- <span
5452
- class="memori-button--icon"
6388
+ <div
6389
+ class="memori-chat-textarea--inner"
6390
+ style="height: 36px;"
6391
+ >
6392
+ <textarea
6393
+ class="memori-chat-textarea--input"
6394
+ maxlength="100000"
6395
+ placeholder="placeholder"
6396
+ style="height: 36px;"
6397
+ />
6398
+ </div>
6399
+ </div>
6400
+ </div>
6401
+ <div
6402
+ class="memori-chat-inputs--trailing"
6403
+ >
6404
+ <div
6405
+ class="memori-chat-inputs--trailing-inner"
6406
+ >
6407
+ <button
6408
+ aria-label="send"
6409
+ class="memori-chat-inputs--send-btn memori-chat-inputs--send-btn--disabled"
6410
+ disabled=""
6411
+ title="send"
6412
+ type="button"
5453
6413
  >
5454
6414
  <svg
5455
6415
  aria-hidden="true"
6416
+ class="icon"
5456
6417
  focusable="false"
5457
6418
  role="img"
5458
6419
  viewBox="0 0 1024 1024"
5459
6420
  xmlns="http://www.w3.org/2000/svg"
5460
6421
  >
5461
6422
  <path
5462
- d="M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"
6423
+ d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
5463
6424
  />
5464
6425
  </svg>
5465
- </span>
5466
- </button>
6426
+ </button>
6427
+ </div>
5467
6428
  </div>
5468
6429
  </div>
5469
- </div>
5470
- <button
5471
- class="memori-button memori-button--circle memori-button--padded memori-button--icon-only memori-chat-inputs--send"
5472
- disabled=""
5473
- title="send"
5474
- >
5475
- <span
5476
- class="memori-button--icon"
5477
- >
5478
- <svg
5479
- aria-hidden="true"
5480
- focusable="false"
5481
- role="img"
5482
- viewBox="0 0 1024 1024"
5483
- xmlns="http://www.w3.org/2000/svg"
5484
- >
5485
- <path
5486
- d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
5487
- />
5488
- </svg>
5489
- </span>
5490
- </button>
5491
- </fieldset>
6430
+ </fieldset>
6431
+ </div>
5492
6432
  </div>
5493
6433
  </div>
5494
6434
  `;