@memori.ai/memori-react 1.0.0-alpha.2 → 1.0.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/CHANGELOG.md +336 -0
  2. package/README.md +30 -1
  3. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
  4. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +11 -0
  5. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.js +74 -0
  6. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.js.map +1 -0
  7. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.d.ts +5 -0
  8. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.js +23 -0
  9. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.js.map +1 -0
  10. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.d.ts +1 -0
  11. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.js +11 -0
  12. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.js.map +1 -0
  13. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.d.ts +13 -0
  14. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.js +67 -0
  15. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.js.map +1 -0
  16. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.d.ts +5 -0
  17. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.js +35 -0
  18. package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.js.map +1 -0
  19. package/dist/components/Auth/Auth.d.ts +3 -2
  20. package/dist/components/Auth/Auth.js +4 -4
  21. package/dist/components/Auth/Auth.js.map +1 -1
  22. package/dist/components/Auth/Auth.stories.js.map +1 -1
  23. package/dist/components/Auth/Auth.test.js +4 -4
  24. package/dist/components/Auth/Auth.test.js.map +1 -1
  25. package/dist/components/Blob/Blob.css +1 -2
  26. package/dist/components/ChangeMode/ChangeMode.d.ts +1 -0
  27. package/dist/components/ChangeMode/ChangeMode.js +3 -3
  28. package/dist/components/ChangeMode/ChangeMode.js.map +1 -1
  29. package/dist/components/ChangeMode/ChangeMode.stories.js +1 -1
  30. package/dist/components/ChangeMode/ChangeMode.stories.js.map +1 -1
  31. package/dist/components/ChangeMode/ChangeMode.test.js +6 -2
  32. package/dist/components/ChangeMode/ChangeMode.test.js.map +1 -1
  33. package/dist/components/Chat/Chat.d.ts +6 -0
  34. package/dist/components/Chat/Chat.js +2 -2
  35. package/dist/components/Chat/Chat.js.map +1 -1
  36. package/dist/components/Chat/Chat.test.js +8 -8
  37. package/dist/components/Chat/Chat.test.js.map +1 -1
  38. package/dist/components/ChatBubble/ChatBubble.css +2 -0
  39. package/dist/components/ChatBubble/ChatBubble.js +26 -25
  40. package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
  41. package/dist/components/ChatBubble/ChatBubble.stories.d.ts +1 -0
  42. package/dist/components/ChatBubble/ChatBubble.stories.js +12 -1
  43. package/dist/components/ChatBubble/ChatBubble.stories.js.map +1 -1
  44. package/dist/components/ChatBubble/ChatBubble.test.js +9 -0
  45. package/dist/components/ChatBubble/ChatBubble.test.js.map +1 -1
  46. package/dist/components/ChatInputs/ChatInputs.css +29 -0
  47. package/dist/components/ChatInputs/ChatInputs.d.ts +7 -0
  48. package/dist/components/ChatInputs/ChatInputs.js +19 -3
  49. package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
  50. package/dist/components/ChatInputs/ChatInputs.stories.d.ts +3 -0
  51. package/dist/components/ChatInputs/ChatInputs.stories.js +86 -1
  52. package/dist/components/ChatInputs/ChatInputs.stories.js.map +1 -1
  53. package/dist/components/ChatInputs/ChatInputs.test.js +12 -4
  54. package/dist/components/ChatInputs/ChatInputs.test.js.map +1 -1
  55. package/dist/components/Header/Header.css +1 -0
  56. package/dist/components/ImageUpload/ImageUpload.css +169 -0
  57. package/dist/components/ImageUpload/ImageUpload.d.ts +28 -0
  58. package/dist/components/ImageUpload/ImageUpload.js +177 -0
  59. package/dist/components/ImageUpload/ImageUpload.js.map +1 -0
  60. package/dist/components/ImageUpload/ImageUpload.stories.d.ts +11 -0
  61. package/dist/components/ImageUpload/ImageUpload.stories.js +62 -0
  62. package/dist/components/ImageUpload/ImageUpload.stories.js.map +1 -0
  63. package/dist/components/MediaWidget/LinkItemWidget.js +2 -3
  64. package/dist/components/MediaWidget/LinkItemWidget.js.map +1 -1
  65. package/dist/components/MediaWidget/MediaItemWidget.css +3 -1
  66. package/dist/components/MediaWidget/MediaItemWidget.d.ts +3 -1
  67. package/dist/components/MediaWidget/MediaItemWidget.js +5 -3
  68. package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
  69. package/dist/components/MediaWidget/MediaWidget.js +1 -1
  70. package/dist/components/MediaWidget/MediaWidget.js.map +1 -1
  71. package/dist/components/MemoriWidget/MemoriWidget.css +26 -9
  72. package/dist/components/MemoriWidget/MemoriWidget.d.ts +3 -1
  73. package/dist/components/MemoriWidget/MemoriWidget.js +322 -226
  74. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  75. package/dist/components/MemoriWidget/MemoriWidget.stories.d.ts +1 -0
  76. package/dist/components/MemoriWidget/MemoriWidget.stories.js +14 -2
  77. package/dist/components/MemoriWidget/MemoriWidget.stories.js.map +1 -1
  78. package/dist/components/SendOnEnterMenu/SendOnEnterMenu.js +6 -1
  79. package/dist/components/SendOnEnterMenu/SendOnEnterMenu.js.map +1 -1
  80. package/dist/components/Snippet/Snippet.js +3 -1
  81. package/dist/components/Snippet/Snippet.js.map +1 -1
  82. package/dist/components/StartPanel/StartPanel.css +1 -1
  83. package/dist/components/StartPanel/StartPanel.d.ts +1 -0
  84. package/dist/components/StartPanel/StartPanel.js +9 -5
  85. package/dist/components/StartPanel/StartPanel.js.map +1 -1
  86. package/dist/components/StartPanel/StartPanel.stories.js +4 -11
  87. package/dist/components/StartPanel/StartPanel.stories.js.map +1 -1
  88. package/dist/components/UploadMenu/UploadMenu.css +3 -2
  89. package/dist/components/UploadMenu/UploadMenu.d.ts +1 -0
  90. package/dist/components/UploadMenu/UploadMenu.js +3 -3
  91. package/dist/components/UploadMenu/UploadMenu.js.map +1 -1
  92. package/dist/components/icons/Delete.d.ts +5 -0
  93. package/dist/components/icons/Delete.js +8 -0
  94. package/dist/components/icons/Delete.js.map +1 -0
  95. package/dist/components/icons/Microphone.d.ts +5 -0
  96. package/dist/components/icons/Microphone.js +8 -0
  97. package/dist/components/icons/Microphone.js.map +1 -0
  98. package/dist/components/ui/Button.css +4 -4
  99. package/dist/components/ui/Button.d.ts +1 -0
  100. package/dist/components/ui/Button.js +2 -2
  101. package/dist/components/ui/Button.js.map +1 -1
  102. package/dist/components/ui/Modal.css +1 -1
  103. package/dist/components/ui/Modal.js +22 -18
  104. package/dist/components/ui/Modal.js.map +1 -1
  105. package/dist/components/ui/Tooltip.stories.d.ts +1 -0
  106. package/dist/components/ui/Tooltip.stories.js +9 -1
  107. package/dist/components/ui/Tooltip.stories.js.map +1 -1
  108. package/dist/index.d.ts +4 -1
  109. package/dist/index.js +30 -4
  110. package/dist/index.js.map +1 -1
  111. package/dist/index.stories.d.ts +5 -0
  112. package/dist/index.stories.js +27 -0
  113. package/dist/index.stories.js.map +1 -0
  114. package/dist/locales/en.json +23 -0
  115. package/dist/locales/it.json +23 -0
  116. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
  117. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +11 -0
  118. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.js +71 -0
  119. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.js.map +1 -0
  120. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.d.ts +5 -0
  121. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.js +19 -0
  122. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.js.map +1 -0
  123. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.d.ts +1 -0
  124. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.js +8 -0
  125. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.js.map +1 -0
  126. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.d.ts +13 -0
  127. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.js +64 -0
  128. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.js.map +1 -0
  129. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.d.ts +5 -0
  130. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.js +31 -0
  131. package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.js.map +1 -0
  132. package/esm/components/Auth/Auth.d.ts +3 -2
  133. package/esm/components/Auth/Auth.js +4 -4
  134. package/esm/components/Auth/Auth.js.map +1 -1
  135. package/esm/components/Auth/Auth.stories.js.map +1 -1
  136. package/esm/components/Auth/Auth.test.js +4 -4
  137. package/esm/components/Auth/Auth.test.js.map +1 -1
  138. package/esm/components/Blob/Blob.css +1 -2
  139. package/esm/components/ChangeMode/ChangeMode.d.ts +1 -0
  140. package/esm/components/ChangeMode/ChangeMode.js +3 -3
  141. package/esm/components/ChangeMode/ChangeMode.js.map +1 -1
  142. package/esm/components/ChangeMode/ChangeMode.stories.js +1 -1
  143. package/esm/components/ChangeMode/ChangeMode.stories.js.map +1 -1
  144. package/esm/components/ChangeMode/ChangeMode.test.js +6 -2
  145. package/esm/components/ChangeMode/ChangeMode.test.js.map +1 -1
  146. package/esm/components/Chat/Chat.d.ts +6 -0
  147. package/esm/components/Chat/Chat.js +2 -2
  148. package/esm/components/Chat/Chat.js.map +1 -1
  149. package/esm/components/Chat/Chat.test.js +8 -8
  150. package/esm/components/Chat/Chat.test.js.map +1 -1
  151. package/esm/components/ChatBubble/ChatBubble.css +2 -0
  152. package/esm/components/ChatBubble/ChatBubble.js +26 -25
  153. package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  154. package/esm/components/ChatBubble/ChatBubble.stories.d.ts +1 -0
  155. package/esm/components/ChatBubble/ChatBubble.stories.js +11 -0
  156. package/esm/components/ChatBubble/ChatBubble.stories.js.map +1 -1
  157. package/esm/components/ChatBubble/ChatBubble.test.js +9 -0
  158. package/esm/components/ChatBubble/ChatBubble.test.js.map +1 -1
  159. package/esm/components/ChatInputs/ChatInputs.css +29 -0
  160. package/esm/components/ChatInputs/ChatInputs.d.ts +7 -0
  161. package/esm/components/ChatInputs/ChatInputs.js +19 -3
  162. package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
  163. package/esm/components/ChatInputs/ChatInputs.stories.d.ts +3 -0
  164. package/esm/components/ChatInputs/ChatInputs.stories.js +85 -0
  165. package/esm/components/ChatInputs/ChatInputs.stories.js.map +1 -1
  166. package/esm/components/ChatInputs/ChatInputs.test.js +12 -4
  167. package/esm/components/ChatInputs/ChatInputs.test.js.map +1 -1
  168. package/esm/components/Header/Header.css +1 -0
  169. package/esm/components/ImageUpload/ImageUpload.css +169 -0
  170. package/esm/components/ImageUpload/ImageUpload.d.ts +28 -0
  171. package/esm/components/ImageUpload/ImageUpload.js +174 -0
  172. package/esm/components/ImageUpload/ImageUpload.js.map +1 -0
  173. package/esm/components/ImageUpload/ImageUpload.stories.d.ts +11 -0
  174. package/esm/components/ImageUpload/ImageUpload.stories.js +58 -0
  175. package/esm/components/ImageUpload/ImageUpload.stories.js.map +1 -0
  176. package/esm/components/MediaWidget/LinkItemWidget.js +2 -3
  177. package/esm/components/MediaWidget/LinkItemWidget.js.map +1 -1
  178. package/esm/components/MediaWidget/MediaItemWidget.css +3 -1
  179. package/esm/components/MediaWidget/MediaItemWidget.d.ts +3 -1
  180. package/esm/components/MediaWidget/MediaItemWidget.js +5 -3
  181. package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
  182. package/esm/components/MediaWidget/MediaWidget.js +1 -1
  183. package/esm/components/MediaWidget/MediaWidget.js.map +1 -1
  184. package/esm/components/MemoriWidget/MemoriWidget.css +26 -9
  185. package/esm/components/MemoriWidget/MemoriWidget.d.ts +3 -1
  186. package/esm/components/MemoriWidget/MemoriWidget.js +322 -226
  187. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  188. package/esm/components/MemoriWidget/MemoriWidget.stories.d.ts +1 -0
  189. package/esm/components/MemoriWidget/MemoriWidget.stories.js +13 -1
  190. package/esm/components/MemoriWidget/MemoriWidget.stories.js.map +1 -1
  191. package/esm/components/SendOnEnterMenu/SendOnEnterMenu.js +6 -1
  192. package/esm/components/SendOnEnterMenu/SendOnEnterMenu.js.map +1 -1
  193. package/esm/components/Snippet/Snippet.js +3 -1
  194. package/esm/components/Snippet/Snippet.js.map +1 -1
  195. package/esm/components/StartPanel/StartPanel.css +1 -1
  196. package/esm/components/StartPanel/StartPanel.d.ts +1 -0
  197. package/esm/components/StartPanel/StartPanel.js +9 -5
  198. package/esm/components/StartPanel/StartPanel.js.map +1 -1
  199. package/esm/components/StartPanel/StartPanel.stories.js +4 -11
  200. package/esm/components/StartPanel/StartPanel.stories.js.map +1 -1
  201. package/esm/components/UploadMenu/UploadMenu.css +3 -2
  202. package/esm/components/UploadMenu/UploadMenu.d.ts +1 -0
  203. package/esm/components/UploadMenu/UploadMenu.js +3 -3
  204. package/esm/components/UploadMenu/UploadMenu.js.map +1 -1
  205. package/esm/components/icons/Delete.d.ts +5 -0
  206. package/esm/components/icons/Delete.js +5 -0
  207. package/esm/components/icons/Delete.js.map +1 -0
  208. package/esm/components/icons/Microphone.d.ts +5 -0
  209. package/esm/components/icons/Microphone.js +5 -0
  210. package/esm/components/icons/Microphone.js.map +1 -0
  211. package/esm/components/ui/Button.css +4 -4
  212. package/esm/components/ui/Button.d.ts +1 -0
  213. package/esm/components/ui/Button.js +2 -2
  214. package/esm/components/ui/Button.js.map +1 -1
  215. package/esm/components/ui/Modal.css +1 -1
  216. package/esm/components/ui/Modal.js +22 -18
  217. package/esm/components/ui/Modal.js.map +1 -1
  218. package/esm/components/ui/Tooltip.stories.d.ts +1 -0
  219. package/esm/components/ui/Tooltip.stories.js +8 -0
  220. package/esm/components/ui/Tooltip.stories.js.map +1 -1
  221. package/esm/index.d.ts +4 -1
  222. package/esm/index.js +30 -4
  223. package/esm/index.js.map +1 -1
  224. package/esm/index.stories.d.ts +5 -0
  225. package/esm/index.stories.js +23 -0
  226. package/esm/index.stories.js.map +1 -0
  227. package/esm/locales/en.json +23 -0
  228. package/esm/locales/it.json +23 -0
  229. package/package.json +13 -11
  230. package/src/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
  231. package/src/components/AttachmentLinkModal/AttachmentLinkModal.stories.tsx +25 -0
  232. package/src/components/AttachmentLinkModal/AttachmentLinkModal.test.tsx +10 -0
  233. package/src/components/AttachmentLinkModal/AttachmentLinkModal.tsx +132 -0
  234. package/src/components/AttachmentLinkModal/__snapshots__/AttachmentLinkModal.test.tsx.snap +9 -0
  235. package/src/components/AttachmentMediaModal/AttachmentMediaModal.stories.tsx +43 -0
  236. package/src/components/AttachmentMediaModal/AttachmentMediaModal.tsx +124 -0
  237. package/src/components/Auth/Auth.stories.tsx +4 -4
  238. package/src/components/Auth/Auth.test.tsx +4 -0
  239. package/src/components/Auth/Auth.tsx +9 -22
  240. package/src/components/Auth/__snapshots__/Auth.test.tsx.snap +4 -4
  241. package/src/components/Blob/Blob.css +1 -2
  242. package/src/components/ChangeMode/ChangeMode.stories.tsx +1 -0
  243. package/src/components/ChangeMode/ChangeMode.test.tsx +9 -2
  244. package/src/components/ChangeMode/ChangeMode.tsx +8 -3
  245. package/src/components/ChangeMode/__snapshots__/ChangeMode.test.tsx.snap +2 -0
  246. package/src/components/Chat/Chat.test.tsx +40 -0
  247. package/src/components/Chat/Chat.tsx +19 -0
  248. package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +60 -28
  249. package/src/components/ChatBubble/ChatBubble.css +2 -0
  250. package/src/components/ChatBubble/ChatBubble.stories.tsx +15 -4
  251. package/src/components/ChatBubble/ChatBubble.test.tsx +19 -4
  252. package/src/components/ChatBubble/ChatBubble.tsx +82 -80
  253. package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +31 -0
  254. package/src/components/ChatInputs/ChatInputs.css +29 -0
  255. package/src/components/ChatInputs/ChatInputs.stories.tsx +88 -0
  256. package/src/components/ChatInputs/ChatInputs.test.tsx +70 -0
  257. package/src/components/ChatInputs/ChatInputs.tsx +44 -2
  258. package/src/components/ChatInputs/__snapshots__/ChatInputs.test.tsx.snap +309 -13
  259. package/src/components/ChatTextArea/__snapshots__/ChatTextArea.test.tsx.snap +3 -3
  260. package/src/components/Header/Header.css +1 -0
  261. package/src/components/Header/__snapshots__/Header.test.tsx.snap +8 -8
  262. package/src/components/ImageUpload/ImageUpload.css +169 -0
  263. package/src/components/ImageUpload/ImageUpload.stories.tsx +74 -0
  264. package/src/components/ImageUpload/ImageUpload.tsx +384 -0
  265. package/src/components/MediaWidget/LinkItemWidget.tsx +5 -5
  266. package/src/components/MediaWidget/MediaItemWidget.css +3 -1
  267. package/src/components/MediaWidget/MediaItemWidget.tsx +7 -0
  268. package/src/components/MediaWidget/MediaWidget.tsx +1 -0
  269. package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +4 -2
  270. package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +1 -1
  271. package/src/components/MemoriWidget/MemoriWidget.css +26 -9
  272. package/src/components/MemoriWidget/MemoriWidget.stories.tsx +14 -1
  273. package/src/components/MemoriWidget/MemoriWidget.tsx +504 -330
  274. package/src/components/SendOnEnterMenu/SendOnEnterMenu.tsx +11 -1
  275. package/src/components/SendOnEnterMenu/__snapshots__/SendOnEnterMenu.test.tsx.snap +10 -2
  276. package/src/components/Snippet/Snippet.tsx +40 -31
  277. package/src/components/Snippet/__snapshots__/Snippet.test.tsx.snap +14 -7
  278. package/src/components/StartPanel/StartPanel.css +1 -1
  279. package/src/components/StartPanel/StartPanel.stories.tsx +4 -11
  280. package/src/components/StartPanel/StartPanel.tsx +7 -6
  281. package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +5 -5
  282. package/src/components/UploadMenu/UploadMenu.css +3 -2
  283. package/src/components/UploadMenu/UploadMenu.tsx +15 -11
  284. package/src/components/icons/Delete.tsx +23 -0
  285. package/src/components/icons/Microphone.tsx +23 -0
  286. package/src/components/ui/Button.css +4 -4
  287. package/src/components/ui/Button.tsx +21 -14
  288. package/src/components/ui/Modal.css +1 -1
  289. package/src/components/ui/Modal.tsx +72 -64
  290. package/src/components/ui/Tooltip.stories.tsx +12 -0
  291. package/src/index.stories.tsx +43 -0
  292. package/src/index.tsx +39 -3
  293. package/src/locales/en.json +23 -0
  294. package/src/locales/it.json +23 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,336 @@
1
+
2
+
3
+ ## [1.0.0-alpha.21](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2023-01-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * chat user bubble size ([27bf2c6](https://github.com/memori-ai/memori-react/commit/27bf2c67bc7344b1033b6613bf5eeb82e1ab178d))
9
+ * make stt work on safari ([a1a1ff9](https://github.com/memori-ai/memori-react/commit/a1a1ff9ee3bdc1fd4c4ebebaa5c39f01c7241a21))
10
+
11
+
12
+ ### Maintenance
13
+
14
+ * pin azure sdk to 1.20.0 ([a615436](https://github.com/memori-ai/memori-react/commit/a615436b989a8c55008d5561fecea54fbd70ff41))
15
+
16
+ ## [1.0.0-alpha.20](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2023-01-13)
17
+
18
+
19
+ ### Features
20
+
21
+ * add mutationObserver to detect if authToken attr from wc is changed, show upload media button only if authToken present ([33fef98](https://github.com/memori-ai/memori-react/commit/33fef986709e7dc06c832765e9e08427a41cf4cd))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * link item preview img fallback ([1d739d6](https://github.com/memori-ai/memori-react/commit/1d739d65ff66374ad2dc4723cee779d0347b71ce))
27
+ * send on enter menu btn sizes ([6ca6887](https://github.com/memori-ai/memori-react/commit/6ca6887464f9b9320b74cf9e64625ac587512710))
28
+
29
+ ## [1.0.0-alpha.19](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2023-01-11)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * update prop types ([782008e](https://github.com/memori-ai/memori-react/commit/782008ea18a368b02b7a957b8b9c3d3536b1e45d))
35
+
36
+ ## [1.0.0-alpha.18](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2023-01-11)
37
+
38
+
39
+ ### Features
40
+
41
+ * add link attachment modal with preview ([e20c8ca](https://github.com/memori-ai/memori-react/commit/e20c8ca42ab2a763492109991a1bfc663271fed2))
42
+ * add media upload + media attachment modal ([6066f06](https://github.com/memori-ai/memori-react/commit/6066f065d63e6c12c56d9489da6f9eceacf103fa))
43
+
44
+
45
+ ### Maintenance
46
+
47
+ * add general usage story ([309de4b](https://github.com/memori-ai/memori-react/commit/309de4b22a675f2597aa9ebbc97c3929b3983a5a))
48
+
49
+ ## [1.0.0-alpha.17](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2023-01-11)
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * button selector to click in typeMessage ([493c7a0](https://github.com/memori-ai/memori-react/commit/493c7a094d965f889ae037013c1484cb036cda24))
55
+ * pass baseURL to all img handlers ([8083c12](https://github.com/memori-ai/memori-react/commit/8083c12af181aa41bb0ff714491c73916a57bd61))
56
+ * update dialog state on timeout only with emission, prevent hints to hide ([6132140](https://github.com/memori-ai/memori-react/commit/61321402750cbd591c43dc0a18af959c577bfb4b))
57
+
58
+
59
+ ### Changes
60
+
61
+ * show media upload if dialogState givers acceptMedia ([01701d1](https://github.com/memori-ai/memori-react/commit/01701d1298ff99b5305c8c66e04359df1918b18b))
62
+
63
+
64
+ ### Maintenance
65
+
66
+ * pick stories in whole src dir for sb ([9675109](https://github.com/memori-ai/memori-react/commit/9675109a3c34dca0cfeac9d731a16ccda8f9e1c4))
67
+
68
+ ## [1.0.0-alpha.16](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2023-01-06)
69
+
70
+
71
+ ### Changes
72
+
73
+ * remove feedback button ([a50c5d4](https://github.com/memori-ai/memori-react/commit/a50c5d442a69078ae87db355663d14186a40f762))
74
+
75
+ ## [1.0.0-alpha.15](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2023-01-05)
76
+
77
+
78
+ ### Bug Fixes
79
+
80
+ * stt init lang ([b2d5a4b](https://github.com/memori-ai/memori-react/commit/b2d5a4b8cc3a783840f0200d4c4f532c83aa97bb))
81
+
82
+ ## [1.0.0-alpha.14](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2023-01-05)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * reopen session on z0 only if textentered gave 404 response ([d6f48a8](https://github.com/memori-ai/memori-react/commit/d6f48a84ebd18ab8f603c9dc4a11019e01f014a4))
88
+
89
+ ## [1.0.0-alpha.13](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2023-01-05)
90
+
91
+
92
+ ### Features
93
+
94
+ * add chat message feedback button ([e74b391](https://github.com/memori-ai/memori-react/commit/e74b3916db64f95d68178faa5effc62a4d5823c4))
95
+
96
+
97
+ ### Maintenance
98
+
99
+ * update api client ([80299cd](https://github.com/memori-ai/memori-react/commit/80299cd7b5a857dcd2d40d9135101771e0b21781))
100
+ * update api client ([da76587](https://github.com/memori-ai/memori-react/commit/da76587f4feee0a3e3939cb656dc7b3854e206a1))
101
+
102
+ ## [1.0.0-alpha.12](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-12-28)
103
+
104
+
105
+ ### Features
106
+
107
+ * add microphone button + listening ([b2b3a3b](https://github.com/memori-ai/memori-react/commit/b2b3a3b7dc683174cd270173d77a9de6c53dc80f))
108
+
109
+ ## [1.0.0-alpha.11](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-12-23)
110
+
111
+
112
+ ### Bug Fixes
113
+
114
+ * timeout units ([4bbee10](https://github.com/memori-ai/memori-react/commit/4bbee10ce6215877eb7662d1265686c0c5e4de14))
115
+
116
+ ## [1.0.0-alpha.10](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-12-21)
117
+
118
+
119
+ ### Features
120
+
121
+ * set user interaction timeout from engine state if set, calc random otherwise ([6d4bace](https://github.com/memori-ai/memori-react/commit/6d4baced6df8d9e743a4286cc29493fde709b9cb))
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * timeout from engine already has read time ([59eddf9](https://github.com/memori-ai/memori-react/commit/59eddf97a33ec5188a72efaac9c25e51253e9476))
127
+
128
+
129
+ ### Maintenance
130
+
131
+ * update memori-api-client ([1b8771c](https://github.com/memori-ai/memori-react/commit/1b8771c2e94ef12c55d033287d1b7812c1b3b4ae))
132
+ * update memori-api-client ([ccc404f](https://github.com/memori-ai/memori-react/commit/ccc404f47c0411974a6dba3612f6520ad5695c80))
133
+
134
+ ## [1.0.0-alpha.9](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-12-19)
135
+
136
+
137
+ ### ⚠ BREAKING CHANGES
138
+
139
+ * open session on clicking start button
140
+
141
+ ### Features
142
+
143
+ * add auth for private memori ([c1bef59](https://github.com/memori-ai/memori-react/commit/c1bef59088fb2fce2f098c161975e3053b778708))
144
+
145
+
146
+ ### Bug Fixes
147
+
148
+ * chat bubble with initial msg ([cea6fe7](https://github.com/memori-ai/memori-react/commit/cea6fe7912e97d00ba986e8d7d64856f663223af))
149
+ * set height from props ([a65e0b4](https://github.com/memori-ai/memori-react/commit/a65e0b4d0c52fb3e501b517d57cc76dc469bcfa5))
150
+ * use secret while opening session if present ([726e131](https://github.com/memori-ai/memori-react/commit/726e131df885ad73b1c4399a679a72cb41139b92))
151
+ * vertical scrolling consintency ([c01c952](https://github.com/memori-ai/memori-react/commit/c01c952329208ac4ec41f9e4f3669a8f198e46e0))
152
+
153
+
154
+ ### Changes
155
+
156
+ * add canInstruct in ChangeMode ([6300e18](https://github.com/memori-ai/memori-react/commit/6300e184bdb64ee57f9b3e8f7fd92df8b733f077))
157
+ * apply sessionID prop ([0eb6880](https://github.com/memori-ai/memori-react/commit/0eb68808f05f1751d60e86f391e766bb1979e602))
158
+ * cleanup ([2df3fbb](https://github.com/memori-ai/memori-react/commit/2df3fbbf80360e9662a51f264b74f14a633c7f8e))
159
+ * open session on clicking start button ([6372e89](https://github.com/memori-ai/memori-react/commit/6372e89aba6a74743b7bec9fa4d6dab597dd9ddb))
160
+
161
+
162
+ ### Maintenance
163
+
164
+ * pass secret to widget ([a13e29e](https://github.com/memori-ai/memori-react/commit/a13e29e19a5bf548dfdb7b615e390b3ffe1858d9))
165
+ * **storybook:** set stories order ([568d3d4](https://github.com/memori-ai/memori-react/commit/568d3d40e7d3a7dd9bdb697b594bc62b2a291479))
166
+ * widget storybook layout options + rename ([d48863f](https://github.com/memori-ai/memori-react/commit/d48863f28483ae2d84de7b689deadf0fac7d727f))
167
+
168
+ ## [1.0.0-alpha.8](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-12-07)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * allow global methods within webcomponent ([afa5133](https://github.com/memori-ai/memori-react/commit/afa513316329e31e02ed531d6808c1f1bce9dbd8))
174
+
175
+ ## [1.0.0-alpha.7](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-12-07)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * root for css properties compatible with webcomponent ([f06ff64](https://github.com/memori-ai/memori-react/commit/f06ff642d4a32a2eaa3586857f3ba40b8811dda2))
181
+
182
+ ## [1.0.0-alpha.6](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-12-07)
183
+
184
+
185
+ ### Bug Fixes
186
+
187
+ * blob styles ([56d1e5f](https://github.com/memori-ai/memori-react/commit/56d1e5fc941ebc7c487381cc804561c1569853d1))
188
+
189
+ ## [1.0.0-alpha.5](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-12-07)
190
+
191
+
192
+ ### Features
193
+
194
+ * apply integration config css properties, fix styles ([91d495d](https://github.com/memori-ai/memori-react/commit/91d495d352ce9ee6b17dc221ff534d0756ed0f74))
195
+
196
+
197
+ ### Maintenance
198
+
199
+ * upgrade api client ([f7f218b](https://github.com/memori-ai/memori-react/commit/f7f218bbda39ca27f3e670cbc5ffc7f9d297656f))
200
+
201
+ ## [1.0.0-alpha.4](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-12-06)
202
+
203
+
204
+ ### Maintenance
205
+
206
+ * cleanup package.json ([e482423](https://github.com/memori-ai/memori-react/commit/e482423b7e4911bf2ea8d503242f665ac723b399))
207
+ * **i18n:** add title to snippet copy button ([aa56073](https://github.com/memori-ai/memori-react/commit/aa560731faf0911d9bfb67350086534889cdcfd7))
208
+
209
+ ## [1.0.0-alpha.3](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-12-06)
210
+
211
+
212
+ ### Features
213
+
214
+ * add prop-types ([2dc4e23](https://github.com/memori-ai/memori-react/commit/2dc4e237bb4e59f395a66032e54849579e5f7561))
215
+
216
+ ## [1.0.0-alpha.2](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-12-06)
217
+
218
+
219
+ ### Features
220
+
221
+ * add onStateChange callback ([e4f55bd](https://github.com/memori-ai/memori-react/commit/e4f55bdc12a51ee311a8fe63a9fcc0e7125bdc32))
222
+
223
+
224
+ ### Maintenance
225
+
226
+ * add details in package.json + upgrade api client ([f0ce68a](https://github.com/memori-ai/memori-react/commit/f0ce68ade744fd02c4af3a08d4b2849fbbef9113))
227
+ * cleanup ([94fb8b0](https://github.com/memori-ai/memori-react/commit/94fb8b06a118e42da695da5dd4bbf307ff723914))
228
+ * cleanup deps and lockfile ([3044342](https://github.com/memori-ai/memori-react/commit/3044342b9dde3e758c92968a4547a829d2984dd5))
229
+
230
+ ## [1.0.0-alpha.1](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2022-12-06)
231
+
232
+
233
+ ### Maintenance
234
+
235
+ * fix version ([95725fe](https://github.com/memori-ai/memori-react/commit/95725fe484c3bcf025bbddbdb1c5e834b98a31fe))
236
+ * prepare for release ([a6a6db6](https://github.com/memori-ai/memori-react/commit/a6a6db678068717093ea7b14e3eac262b9507c73))
237
+
238
+ ## 1.0.0-alpha.0 (2022-12-06)
239
+
240
+
241
+ ### Features
242
+
243
+ * add auth widget ([9c43a0d](https://github.com/memori-ai/memori-react/commit/9c43a0d0dfbebcca3788dedd1307609d14b7389a))
244
+ * add avatar universal component ([5ca549f](https://github.com/memori-ai/memori-react/commit/5ca549f169d1d726208feebce82954d5c22e4e94))
245
+ * add blob ([56ee173](https://github.com/memori-ai/memori-react/commit/56ee1736eaea2fa5ccd8a94a775cd275aa8a664d))
246
+ * add block prop to button, update card snapshot ([dcac744](https://github.com/memori-ai/memori-react/commit/dcac74459dca2a825f56426e3cb547b5bb14a0a7))
247
+ * add change mode as separate component ([141c8ad](https://github.com/memori-ai/memori-react/commit/141c8ad543dfc3355e9fca0c2de7ced63f44ae5f))
248
+ * add chat bubble ([645fb11](https://github.com/memori-ai/memori-react/commit/645fb11bfa1c4de2f62bc3e527edb599a0355690))
249
+ * add chat component ([5a4fed6](https://github.com/memori-ai/memori-react/commit/5a4fed6ac4c6e019ac77c480ce05dd99c3b00b7f))
250
+ * add chat inputs ([626963d](https://github.com/memori-ai/memori-react/commit/626963da19b60e7914fed0bcb4ba754d1e2e71b8))
251
+ * add chat textarea ([b2b0236](https://github.com/memori-ai/memori-react/commit/b2b023626cdfe4492a60599bf349ef247ff283cc))
252
+ * add custom glb model viewer ([7a2ccd3](https://github.com/memori-ai/memori-react/commit/7a2ccd310e3b700d2dcded5e7876a267561613d9))
253
+ * add error boundary ([88e1a52](https://github.com/memori-ai/memori-react/commit/88e1a5204d1acec10c1db6bd1192ec8d9b8ef9fb))
254
+ * add example ([9271c63](https://github.com/memori-ai/memori-react/commit/9271c63fb4ed3653c69792710df2f4dea14a57f4))
255
+ * add export history button, fix avatar lint issues ([1947099](https://github.com/memori-ai/memori-react/commit/1947099d812deb3d3e838fc391d82ad483bda1ca))
256
+ * add first ui components ([dcc515e](https://github.com/memori-ai/memori-react/commit/dcc515e7bf189edc61efe8d715abf932d1863289))
257
+ * add ghost button ([9641815](https://github.com/memori-ai/memori-react/commit/964181519ef45b5d849b78d0bb367fa8cf666020))
258
+ * add header ([e26ee8d](https://github.com/memori-ai/memori-react/commit/e26ee8d679fb5fac401ca6a1c0c6d190fe950be6))
259
+ * add icons ([86c1b30](https://github.com/memori-ai/memori-react/commit/86c1b30ffa503a57203e4484251f72e12ccf4693))
260
+ * add icons ([f76ad0c](https://github.com/memori-ai/memori-react/commit/f76ad0c3c3ed3f76c7dbe68e78141681046a66d5))
261
+ * add icons ([674e528](https://github.com/memori-ai/memori-react/commit/674e5284a3f1534e55e8b7521ce35d3592da99db))
262
+ * add index entrypoint ([e86893b](https://github.com/memori-ai/memori-react/commit/e86893bdd0605657e599f75264dece4bd77f537a))
263
+ * add media widget ([12a65a4](https://github.com/memori-ai/memori-react/commit/12a65a44b61abe9e12e5d181fe3e70917dc01064))
264
+ * add rpm avatar view ([0dc4489](https://github.com/memori-ai/memori-react/commit/0dc4489a95205f0aef3ed85150af1d48dc1e92f2))
265
+ * add send on enter menu ([84a398e](https://github.com/memori-ai/memori-react/commit/84a398ede83ca011c95d47ee2c747e06b7150200))
266
+ * add share button ([603a6c8](https://github.com/memori-ai/memori-react/commit/603a6c8f9bde169619c209865c7cc395a1a52e14))
267
+ * add snippet ([6442c85](https://github.com/memori-ai/memori-react/commit/6442c85b15071fdb5bd3d24f21508bf4434a6e80))
268
+ * add start panel as separate component ([923368d](https://github.com/memori-ai/memori-react/commit/923368db2a0d7d6552be5f07e8a45a7195eaa2a0))
269
+ * add ui card, fix tooltip ([11be456](https://github.com/memori-ai/memori-react/commit/11be45666836108ee74ac9b36684d296663ebdb4))
270
+ * add ui drawer, enhance modal ([b2b9f38](https://github.com/memori-ai/memori-react/commit/b2b9f3859a7373c20ed30cc5b9711a4b4bb0d728))
271
+ * add ui modal ([704c747](https://github.com/memori-ai/memori-react/commit/704c74725031cd141d5e0b7c90329c3462040c30))
272
+ * add ui spin ([ee734a9](https://github.com/memori-ai/memori-react/commit/ee734a949794e42cc67c42996283ad4786fe0df9))
273
+ * add ui tooltip + blocked memori badge ([4e4c92e](https://github.com/memori-ai/memori-react/commit/4e4c92ebe5f37f1cdd21984c641769e03e5d5338))
274
+ * add upload menu ([f3fdd6a](https://github.com/memori-ai/memori-react/commit/f3fdd6ad106feaf28400b20d24cd5ecdffa59e4c))
275
+ * enhance ui components ([4447ad7](https://github.com/memori-ai/memori-react/commit/4447ad7ee83f017d837c81ea67f5fe8f70eee3e8))
276
+ * import helpers ([a8a73b6](https://github.com/memori-ai/memori-react/commit/a8a73b6a177c4799394c52eeb9a10311b8d6654e))
277
+ * working on widget ([5af9d82](https://github.com/memori-ai/memori-react/commit/5af9d8280ad52d2bb3787b8441bc1ada5b4d109c))
278
+
279
+
280
+ ### Bug Fixes
281
+
282
+ * export history button btn classes ([fcc0bf6](https://github.com/memori-ai/memori-react/commit/fcc0bf696388461c49a5ffd24ee98d134fb35d4a))
283
+ * i18n import ([8791dbf](https://github.com/memori-ai/memori-react/commit/8791dbfe69abac45ff470efeaeeaa21b10285b5f))
284
+ * lint issues ([86251d5](https://github.com/memori-ai/memori-react/commit/86251d5ee1c37c9fc3777d4c0d590c7ca8a366c9))
285
+ * share button menu styles ([3cdee0f](https://github.com/memori-ai/memori-react/commit/3cdee0f11682cefd24b42e85cf88a0fe2acbc24c))
286
+ * styles + font ([28b5136](https://github.com/memori-ai/memori-react/commit/28b51366b2fc3f4367b923722574feb546c364fa))
287
+ * tooltip align left styles ([72ee3cf](https://github.com/memori-ai/memori-react/commit/72ee3cf3c41e3c8eb41f02d9481ce3d92e29e99e))
288
+
289
+
290
+ ### Changes
291
+
292
+ * cleanup helpers ([2213be8](https://github.com/memori-ai/memori-react/commit/2213be892771a37ffc8f2c45f9c35d72da862dd6))
293
+ * move widget ui to default layout ([4eacf30](https://github.com/memori-ai/memori-react/commit/4eacf3000c4dc4525ac170426bfec403dd092984))
294
+ * remove splitted code from widget, refactor start method, widget params ([1eebbe3](https://github.com/memori-ai/memori-react/commit/1eebbe319cff0e1630b61ded38b1ed8cf93ae09c))
295
+ * tenantID as fallback for baseURL ([2276529](https://github.com/memori-ai/memori-react/commit/2276529e1dc9a5f6a9d842eb8805e344b752fda0))
296
+
297
+
298
+ ### Maintenance
299
+
300
+ * add commitlint, husky, release-it ([159098d](https://github.com/memori-ai/memori-react/commit/159098da55f6bee2c9297a703528844ffadedf34))
301
+ * add formatting config + run prettier ([fbba151](https://github.com/memori-ai/memori-react/commit/fbba151ac8d7d90b4d62166da4ac3b30b72c9236))
302
+ * add husky pre-commit test + lint run ([aa709e4](https://github.com/memori-ai/memori-react/commit/aa709e48c25543c3cddf76ca838d9e10ecde6ec7))
303
+ * add license ([622da6b](https://github.com/memori-ai/memori-react/commit/622da6bf48be827af2ce932bfb354ad2a9b451d3))
304
+ * add linting tools ([9622e7d](https://github.com/memori-ai/memori-react/commit/9622e7d5ec5ad156893b98fe283181c2c54273b3))
305
+ * add mock data ([d03f361](https://github.com/memori-ai/memori-react/commit/d03f3611ad65933386f2d50d5ba0d96595fb7df0))
306
+ * add showSettings in header, default to false, add i18n ([cb91eeb](https://github.com/memori-ai/memori-react/commit/cb91eeb87587715c5406e5e0653963bc0cacfe4a))
307
+ * add storybook url in package.json, set node >= 16 ([10f5b85](https://github.com/memori-ai/memori-react/commit/10f5b85f4ccb9b446d500ee6e729741405ecfe0c))
308
+ * add storybook-static to gitignore ([294a9e3](https://github.com/memori-ai/memori-react/commit/294a9e3a9026f37d774c675bef1bca70cbf593da))
309
+ * add typecheck script ([5228a43](https://github.com/memori-ai/memori-react/commit/5228a43e6686256e4944ab44a505e13ad4405dc8))
310
+ * add typecheck script in husky pre-commit ([9754349](https://github.com/memori-ai/memori-react/commit/9754349cbf938204c3a189082ff4cf491ae784ab))
311
+ * cleanup ([8d0cd0b](https://github.com/memori-ai/memori-react/commit/8d0cd0b03fc94234c7e266f9345dded2fc1ff218))
312
+ * cleanup moved css from widget to change mode ([92be8eb](https://github.com/memori-ai/memori-react/commit/92be8ebf3c57dd528d5fa0fbf2b09dce167b39d3))
313
+ * fix export history button align ([97afcc6](https://github.com/memori-ai/memori-react/commit/97afcc64b4cd7e7d3dbede3be8ff9d053676428e))
314
+ * fix icons story imports ([d3d7bf4](https://github.com/memori-ai/memori-react/commit/d3d7bf489e3949d6eaf8c063e042e1fea0a26138))
315
+ * fix lint issues ([243c50d](https://github.com/memori-ai/memori-react/commit/243c50dabb2f59838564f4b4da37c9dccc660b37))
316
+ * fix lint issues ([4a28e22](https://github.com/memori-ai/memori-react/commit/4a28e22d4c4d367ea6acbf6f260c44790d8d1a24))
317
+ * fix lint issues ([2215492](https://github.com/memori-ai/memori-react/commit/2215492a2a9c260301531e6cd7ec81a4d9e18d4d))
318
+ * fix text area expand button styles ([49df632](https://github.com/memori-ai/memori-react/commit/49df632ff3b5248fd2f2501abf96dee7736e57b6))
319
+ * fix windows issue on end of line ([f1b99b0](https://github.com/memori-ai/memori-react/commit/f1b99b034d09e781d6cdf0bd844357375945a458))
320
+ * **i18n:** add i18n + translations files ([6790724](https://github.com/memori-ai/memori-react/commit/679072475a10dc30eb2fe9b90fb33721568ac756))
321
+ * **i18n:** add translations for blocked memori badge ([50d6af9](https://github.com/memori-ai/memori-react/commit/50d6af950d41ee010d48d08d47594fee1ade46e6))
322
+ * **i18n:** add translations for send on enter menu + fix width ([4917b1f](https://github.com/memori-ai/memori-react/commit/4917b1f2d9f6df00d1deba25c0b5a7552d15b25c))
323
+ * **i18n:** add translations for share button + fix width ([39af177](https://github.com/memori-ai/memori-react/commit/39af177b5f1ef5910ff8d7f946d5d4c7a9be27e3))
324
+ * **i18n:** add translations to auth, add tests ([cc16d64](https://github.com/memori-ai/memori-react/commit/cc16d64c43ba9119fcce8d31241d08b393d48b1d))
325
+ * mock position drawer for now ([27fd297](https://github.com/memori-ai/memori-react/commit/27fd297e10de1c90f50dbf05882f7a72af91415c))
326
+ * prepare for release ([99c839c](https://github.com/memori-ai/memori-react/commit/99c839c90b372cd0bfb0d5dbdac5514649cd79ae))
327
+ * prepare for release ([a553186](https://github.com/memori-ai/memori-react/commit/a5531863ebfa6d2e28a5d66013a62516207a82cc))
328
+ * remove tsup, go without bundler ([eb2e5b8](https://github.com/memori-ai/memori-react/commit/eb2e5b8d36a90d9f94720742dca736fe03176166))
329
+ * set pkg non-version ([abd5e9e](https://github.com/memori-ai/memori-react/commit/abd5e9e97c822917d0310496cc9f19dbbeeb9325))
330
+ * storybook compatibility with react 17 ([4ed785b](https://github.com/memori-ai/memori-react/commit/4ed785b299c2a9546eba4c204892dfdda202045b))
331
+ * switch to tsup ([54d1436](https://github.com/memori-ai/memori-react/commit/54d1436a6195303806c2c32985f6801ae6292d67))
332
+ * update gitignore ([7305a24](https://github.com/memori-ai/memori-react/commit/7305a24c1ae5b35c8f377988f710a50747c2182b))
333
+ * update lockfile ([eed8d8b](https://github.com/memori-ai/memori-react/commit/eed8d8bbd621319be3f7a8eb54989e126ba21d85))
334
+ * update tsconfig ([f008b7d](https://github.com/memori-ai/memori-react/commit/f008b7d9be9b67596a5626515ec99bcf3e0cdc7c))
335
+ * upgrade api client lib ([8f11101](https://github.com/memori-ai/memori-react/commit/8f1110195b8975135e2b9da9e6a265cd7380569d))
336
+ * upgrade cognitive-services-speech-sdk-js ([e1f9ed5](https://github.com/memori-ai/memori-react/commit/e1f9ed57c128791297c9215f780032104b7664a2))
package/README.md CHANGED
@@ -36,15 +36,43 @@ const App = () => (
36
36
  ownerUserName="nunziofiore"
37
37
  tenantID="app.memorytwin.com"
38
38
  apiURL="https://backend.memori.ai"
39
+ baseURL="https://app.memorytwin.com"
39
40
  uiLang="it"
40
41
  showShare
42
+ height="100vh"
41
43
  />
42
44
  );
43
45
  ```
44
46
 
45
47
  ### Props
46
48
 
47
- WIP
49
+ | Prop | Required | Type | Default | Description |
50
+ | ---------------------------------- | -------------- | -------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | `memoriName` | \* (see below) | `string` | | Name of the Memori |
52
+ | `ownerUserName` | \* (see below) | `string` | | Username of the Memori owner |
53
+ | `memoriID` | \* (see below) | `string` | | ID of the Memori |
54
+ | `ownerUserID` | \* (see below) | `string` | | ID of the Memori owner |
55
+ | `tenantID` | ✔️ | `string` | | Tenant ID, example: "app.twincreator.com" or "app.memorytwin.com" |
56
+ | `sessionID` | | `string` | | Initial Session ID, UUID which refers to the session to the Memori and identifies a conversation and its permissions (giver, receiver, anonymous). A session would be started autonomously with the params set, but if you have an existing and valid sessionID you can pass it as already opened one. Use this at your risk, as session recovery might break or start session as anon user. In most cases, you shoudn't use this prop. |
57
+ | `authToken` | | `string` | | Authentication token from user login, needed for giver sessions to upload assets |
58
+ | `integrationID` | | `string` | | Integration ID, UUID which refers to the public page layout |
59
+ | `secretToken` | | `string` | | Secret token, the password of a private or secret Memori |
60
+ | `height` | | `string` | "100%" | Height of the Memori |
61
+ | `showShare` | | `bool` | `true` | Show the share button |
62
+ | `showSettings` | | `bool` | `false` | Show the settings panel button |
63
+ | `showInstruct` | | `bool` | `false` | Show the switch selecting between test mode or instruct mode, needs an administrative session as a giver |
64
+ | `baseURL` | | `string` | | Base URL of the Memori, example: "https://app.twincreator.com" or "https://app.memorytwin.com" |
65
+ | `apiURL` | | `string` | "https://backend.memori.ai" | URL of the Memori API |
66
+ | `tag` | | `string` | | Tag of the person opening the session to the Memori, could be the giver or a receiver |
67
+ | `pin` | | `string` | | PIN of the person opening the session to the Memori, could be the giver or a receiver |
68
+ | `context` | | `string` | | Initial context of the conversation, dictionary with "key: value" pairs as context variables |
69
+ | `initialQuestion` | | `string` | | Initial question to ask to the Memori, starts the conversation as this would be sent to the Memori |
70
+ | `uiLang` | | `'en' \| 'it'` | "en" | Language of the UI, es: "en" or "it" |
71
+ | `spokenLang` | | `string` | | Language of the spoken text, as defaults to user selection. Example: "en" or "it" |
72
+ | `onStateChange` | | `function` | | Callback function called when the state of the Memori changes |
73
+ | `AZURE_COGNITIVE_SERVICES_TTS_KEY` | | `string` | | Azure Cognitive Services TTS key, used to generate the audio of the Memori and for STT recognition |
74
+
75
+ \*: one of these pairs is required: `memoriName` + `ownerUserName`, `memoriID` + `ownerUserID`
48
76
 
49
77
  ### Customization
50
78
 
@@ -53,3 +81,4 @@ WIP
53
81
  ## See also
54
82
 
55
83
  - [memori-api-client](https://github.com/memori-ai/memori-api-client) - API client for Memori
84
+ - [memori-webcomponent](https://github.com/memori-ai/memori-webcomponent) - Web component for Memori, uses this library
@@ -0,0 +1,68 @@
1
+ .attachment-link-modal,
2
+ .attachment-link-modal * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ .attachment-link-modal--label {
7
+ display: inline-block;
8
+ margin-top: 1rem;
9
+ margin-bottom: 0.5rem;
10
+ }
11
+
12
+ .attachment-link-modal--centered {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ }
17
+
18
+ .attachment-link-modal--input {
19
+ width: 100%;
20
+ padding: 0.5rem 0.75rem;
21
+ border: 1px solid #d9d9d9;
22
+ border-radius: 4px;
23
+ margin-bottom: 1rem;
24
+ background: #fff;
25
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
26
+ }
27
+
28
+ .attachment-link-modal--row {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: space-between;
32
+ }
33
+
34
+ .attachment-link-modal--column {
35
+ display: flex;
36
+ width: 50%;
37
+ flex-direction: column;
38
+ padding: 0.5rem;
39
+ margin-right: 1rem;
40
+ }
41
+
42
+ .attachment-link-modal--column + .attachment-link-modal--column {
43
+ margin-right: 0;
44
+ margin-left: 1rem;
45
+ }
46
+
47
+ @media (max-width: 768px) {
48
+ .attachment-link-modal--row {
49
+ flex-direction: column;
50
+ }
51
+
52
+ .attachment-link-modal--column {
53
+ width: 100%;
54
+ margin-right: 0;
55
+ margin-bottom: 1rem;
56
+ margin-left: 0;
57
+ }
58
+ .attachment-link-modal--column + .attachment-link-modal--column {
59
+ margin-left: 0;
60
+ }
61
+ }
62
+
63
+ .attachment-link-modal a.memori-link-item--link {
64
+ display: inline-block;
65
+ width: 100%;
66
+ max-width: 400px;
67
+ margin: 0.5rem 1rem;
68
+ }
@@ -0,0 +1,11 @@
1
+ import './AttachmentLinkModal.css';
2
+ export interface Props {
3
+ visible: boolean;
4
+ onCancel?: () => void;
5
+ onOk: ({ url, title }: {
6
+ url: string;
7
+ title: string;
8
+ }) => void;
9
+ }
10
+ declare const AttachmentLinkModal: ({ visible, onCancel, onOk }: Props) => JSX.Element;
11
+ export default AttachmentLinkModal;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const react_1 = tslib_1.__importStar(require("react"));
5
+ const react_i18next_1 = require("react-i18next");
6
+ const LinkItemWidget_1 = require("../MediaWidget/LinkItemWidget");
7
+ const Button_1 = tslib_1.__importDefault(require("../ui/Button"));
8
+ const Modal_1 = tslib_1.__importDefault(require("../ui/Modal"));
9
+ require("./AttachmentLinkModal.css");
10
+ const AttachmentLinkModal = ({ visible, onCancel, onOk }) => {
11
+ var _a, _b, _c;
12
+ const { t } = (0, react_i18next_1.useTranslation)();
13
+ const [newLink, setNewLink] = (0, react_1.useState)({
14
+ url: '',
15
+ title: '',
16
+ });
17
+ const onKeyPress = (e) => {
18
+ if (e.key === 'Enter') {
19
+ if ((newLink === null || newLink === void 0 ? void 0 : newLink.url.length) === 0 || (newLink === null || newLink === void 0 ? void 0 : newLink.title.length) === 0)
20
+ return;
21
+ let saveButton = document.getElementById('save-link-button');
22
+ if (saveButton) {
23
+ saveButton.click();
24
+ }
25
+ }
26
+ };
27
+ return (react_1.default.createElement(Modal_1.default, { open: visible, title: t('media.addLinkLabel'), className: "attachment-link-modal", closable: true, width: "100%", widthMd: "80%", onClose: () => {
28
+ if (onCancel)
29
+ onCancel();
30
+ }, footer: react_1.default.createElement(react_1.default.Fragment, null,
31
+ react_1.default.createElement(Button_1.default, { onClick: onCancel }, t('cancel')),
32
+ react_1.default.createElement(Button_1.default, { id: "save-link-button", primary: true, onClick: () => {
33
+ if ((newLink === null || newLink === void 0 ? void 0 : newLink.url.length) === 0 || (newLink === null || newLink === void 0 ? void 0 : newLink.title.length) === 0)
34
+ return;
35
+ onOk(newLink);
36
+ setNewLink({ url: '', title: '' });
37
+ }, disabled: (newLink === null || newLink === void 0 ? void 0 : newLink.url.length) === 0 || (newLink === null || newLink === void 0 ? void 0 : newLink.title.length) === 0 }, t('confirm'))) },
38
+ react_1.default.createElement("div", { className: "attachment-link-modal--row" },
39
+ react_1.default.createElement("div", { className: "attachment-link-modal--column" },
40
+ react_1.default.createElement("label", { htmlFor: "new-link-url", className: "attachment-link-modal--label" },
41
+ t('media.linkKey'),
42
+ ":"),
43
+ react_1.default.createElement("input", { type: "url", className: "attachment-link-modal--input ", onChange: e => {
44
+ let value = e.target.value.startsWith('http') || e.target.value.length === 0
45
+ ? e.target.value
46
+ : `https://${e.target.value}`;
47
+ setNewLink(l => { var _a; return ({ title: (_a = l === null || l === void 0 ? void 0 : l.title) !== null && _a !== void 0 ? _a : '', url: value }); });
48
+ }, placeholder: "https://memori.ai/...", value: newLink === null || newLink === void 0 ? void 0 : newLink.url, name: "url", onKeyDown: onKeyPress }),
49
+ react_1.default.createElement("label", { htmlFor: "new-link-title", className: "attachment-link-modal--label" },
50
+ t('media.linkValue'),
51
+ ":"),
52
+ react_1.default.createElement("input", { type: "text", className: "attachment-link-modal--input ", onChange: e => setNewLink(l => { var _a; return ({ url: (_a = l === null || l === void 0 ? void 0 : l.url) !== null && _a !== void 0 ? _a : '', title: e.target.value }); }), value: newLink === null || newLink === void 0 ? void 0 : newLink.title, name: "title", onKeyDown: onKeyPress })),
53
+ react_1.default.createElement("div", { className: "attachment-link-modal--column" },
54
+ react_1.default.createElement("div", { className: "attachment-link-modal--centered" },
55
+ react_1.default.createElement(LinkItemWidget_1.RenderLinkItem, { key: (_a = newLink === null || newLink === void 0 ? void 0 : newLink.url) !== null && _a !== void 0 ? _a : '', item: {
56
+ title: (_b = newLink === null || newLink === void 0 ? void 0 : newLink.title) !== null && _b !== void 0 ? _b : '',
57
+ url: (_c = newLink === null || newLink === void 0 ? void 0 : newLink.url) !== null && _c !== void 0 ? _c : '',
58
+ mediumID: '',
59
+ mimeType: 'text/html',
60
+ }, onLinkPreviewInfo: data => {
61
+ var _a;
62
+ if (!((_a = newLink === null || newLink === void 0 ? void 0 : newLink.title) === null || _a === void 0 ? void 0 : _a.length)) {
63
+ setNewLink(l => {
64
+ var _a;
65
+ return ({
66
+ ...l,
67
+ title: (_a = data === null || data === void 0 ? void 0 : data.title) !== null && _a !== void 0 ? _a : '',
68
+ });
69
+ });
70
+ }
71
+ } }))))));
72
+ };
73
+ exports.default = AttachmentLinkModal;
74
+ //# sourceMappingURL=AttachmentLinkModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentLinkModal.js","sourceRoot":"","sources":["../../../src/components/AttachmentLinkModal/AttachmentLinkModal.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { Props } from './AttachmentLinkModal';
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ export declare const Default: Story<Props>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Default = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const AttachmentLinkModal_1 = tslib_1.__importDefault(require("./AttachmentLinkModal"));
7
+ const meta = {
8
+ title: 'AttachmentLinkModal',
9
+ component: AttachmentLinkModal_1.default,
10
+ parameters: {
11
+ controls: { expanded: true },
12
+ layout: 'fullscreen',
13
+ },
14
+ };
15
+ exports.default = meta;
16
+ const Template = args => react_1.default.createElement(AttachmentLinkModal_1.default, { ...args });
17
+ exports.Default = Template.bind({});
18
+ exports.Default.args = {
19
+ visible: true,
20
+ onCancel: () => { },
21
+ onOk: () => { },
22
+ };
23
+ //# sourceMappingURL=AttachmentLinkModal.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentLinkModal.stories.js","sourceRoot":"","sources":["../../../src/components/AttachmentLinkModal/AttachmentLinkModal.stories.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,wFAAmE;AAEnE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,6BAAmB;IAC9B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC5B,MAAM,EAAE,YAAY;KACrB;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC;AAEpB,MAAM,QAAQ,GAAiB,IAAI,CAAC,EAAE,CAAC,8BAAC,6BAAmB,OAAK,IAAI,GAAI,CAAC;AAI5D,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACb,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;IAClB,IAAI,EAAE,GAAG,EAAE,GAAE,CAAC;CACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const react_1 = tslib_1.__importDefault(require("react"));
5
+ const react_2 = require("@testing-library/react");
6
+ const AttachmentLinkModal_1 = tslib_1.__importDefault(require("./AttachmentLinkModal"));
7
+ it('renders AttachmentLinkModal unchanged', () => {
8
+ const { container } = (0, react_2.render)(react_1.default.createElement(AttachmentLinkModal_1.default, { visible: true, onCancel: () => { }, onOk: () => { } }));
9
+ expect(container).toMatchSnapshot();
10
+ });
11
+ //# sourceMappingURL=AttachmentLinkModal.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentLinkModal.test.js","sourceRoot":"","sources":["../../../src/components/AttachmentLinkModal/AttachmentLinkModal.test.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,kDAAgD;AAChD,wFAAwD;AAExD,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;IAC/C,MAAM,EAAE,SAAS,EAAE,GAAG,IAAA,cAAM,EAC1B,8BAAC,6BAAmB,IAAC,OAAO,QAAC,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI,CACpE,CAAC;IACF,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,EAAE,CAAC;AACtC,CAAC,CAAC,CAAC"}