@memori.ai/memori-react 1.0.0-alpha.9 → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +407 -0
- package/README.md +14 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +11 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.js +73 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.js.map +1 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.d.ts +6 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.js +24 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.stories.js.map +1 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.d.ts +1 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.js +11 -0
- package/dist/components/AttachmentLinkModal/AttachmentLinkModal.test.js.map +1 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.d.ts +14 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.js +68 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.js.map +1 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.d.ts +5 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.js +35 -0
- package/dist/components/AttachmentMediaModal/AttachmentMediaModal.stories.js.map +1 -0
- package/dist/components/Auth/Auth.d.ts +0 -1
- package/dist/components/Auth/Auth.js +0 -1
- package/dist/components/Auth/Auth.js.map +1 -1
- package/dist/components/Auth/Auth.stories.d.ts +1 -0
- package/dist/components/Auth/Auth.stories.js +1 -0
- package/dist/components/Auth/Auth.stories.js.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +5 -2
- package/dist/components/Avatar/Avatar.js.map +1 -1
- package/dist/components/Avatar/Avatar.stories.d.ts +1 -0
- package/dist/components/Avatar/Avatar.stories.js +1 -0
- package/dist/components/Avatar/Avatar.stories.js.map +1 -1
- package/dist/components/Blob/Blob.d.ts +0 -1
- package/dist/components/Blob/Blob.js +0 -1
- package/dist/components/Blob/Blob.js.map +1 -1
- package/dist/components/Blob/Blob.stories.d.ts +1 -0
- package/dist/components/Blob/Blob.stories.js +1 -0
- package/dist/components/Blob/Blob.stories.js.map +1 -1
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.d.ts +0 -1
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.js +0 -1
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.js.map +1 -1
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.d.ts +1 -0
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.js +1 -0
- package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.js.map +1 -1
- package/dist/components/ChangeMode/ChangeMode.d.ts +0 -1
- package/dist/components/ChangeMode/ChangeMode.js +0 -1
- package/dist/components/ChangeMode/ChangeMode.js.map +1 -1
- package/dist/components/ChangeMode/ChangeMode.stories.d.ts +1 -0
- package/dist/components/ChangeMode/ChangeMode.stories.js +1 -0
- package/dist/components/ChangeMode/ChangeMode.stories.js.map +1 -1
- package/dist/components/Chat/Chat.d.ts +8 -1
- package/dist/components/Chat/Chat.js +8 -5
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/Chat/Chat.stories.d.ts +3 -0
- package/dist/components/Chat/Chat.stories.js +33 -1
- package/dist/components/Chat/Chat.stories.js.map +1 -1
- package/dist/components/Chat/Chat.test.js +8 -8
- package/dist/components/Chat/Chat.test.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.css +69 -0
- package/dist/components/ChatBubble/ChatBubble.d.ts +4 -1
- package/dist/components/ChatBubble/ChatBubble.js +53 -28
- package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.stories.d.ts +4 -0
- package/dist/components/ChatBubble/ChatBubble.stories.js +42 -1
- package/dist/components/ChatBubble/ChatBubble.stories.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.test.js +10 -0
- package/dist/components/ChatBubble/ChatBubble.test.js.map +1 -1
- package/dist/components/ChatInputs/ChatInputs.css +29 -0
- package/dist/components/ChatInputs/ChatInputs.d.ts +7 -1
- package/dist/components/ChatInputs/ChatInputs.js +22 -4
- package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
- package/dist/components/ChatInputs/ChatInputs.stories.d.ts +4 -0
- package/dist/components/ChatInputs/ChatInputs.stories.js +88 -1
- package/dist/components/ChatInputs/ChatInputs.stories.js.map +1 -1
- package/dist/components/ChatInputs/ChatInputs.test.js +12 -4
- package/dist/components/ChatInputs/ChatInputs.test.js.map +1 -1
- package/dist/components/ChatTextArea/ChatTextArea.d.ts +0 -1
- package/dist/components/ChatTextArea/ChatTextArea.js +0 -1
- package/dist/components/ChatTextArea/ChatTextArea.js.map +1 -1
- package/dist/components/ChatTextArea/ChatTextArea.stories.d.ts +1 -0
- package/dist/components/ChatTextArea/ChatTextArea.stories.js +1 -0
- package/dist/components/ChatTextArea/ChatTextArea.stories.js.map +1 -1
- package/dist/components/CustomGLBModelViewer/ModelViewer.d.ts +0 -1
- package/dist/components/CustomGLBModelViewer/ModelViewer.js +0 -1
- package/dist/components/CustomGLBModelViewer/ModelViewer.js.map +1 -1
- package/dist/components/CustomGLBModelViewer/ModelViewer.stories.d.ts +1 -0
- package/dist/components/CustomGLBModelViewer/ModelViewer.stories.js +1 -0
- package/dist/components/CustomGLBModelViewer/ModelViewer.stories.js.map +1 -1
- package/dist/components/ExportHistoryButton/ExportHistoryButton.d.ts +0 -1
- package/dist/components/ExportHistoryButton/ExportHistoryButton.js +0 -1
- package/dist/components/ExportHistoryButton/ExportHistoryButton.js.map +1 -1
- package/dist/components/ExportHistoryButton/ExportHistoryButton.test.d.ts +1 -1
- package/dist/components/ExportHistoryButton/ExportHistoryButton.test.js +1 -0
- package/dist/components/ExportHistoryButton/ExportHistoryButton.test.js.map +1 -1
- package/dist/components/FeedbackButtons/FeedbackButtons.css +106 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.d.ts +10 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.js +68 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.js.map +1 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.stories.d.ts +8 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.stories.js +40 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.stories.js.map +1 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.test.d.ts +1 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.test.js +12 -0
- package/dist/components/FeedbackButtons/FeedbackButtons.test.js.map +1 -0
- package/dist/components/Header/Header.d.ts +0 -1
- package/dist/components/Header/Header.js +0 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.stories.d.ts +1 -0
- package/dist/components/Header/Header.stories.js +1 -0
- package/dist/components/Header/Header.stories.js.map +1 -1
- package/dist/components/ImageUpload/ImageUpload.css +169 -0
- package/dist/components/ImageUpload/ImageUpload.d.ts +28 -0
- package/dist/components/ImageUpload/ImageUpload.js +178 -0
- package/dist/components/ImageUpload/ImageUpload.js.map +1 -0
- package/dist/components/ImageUpload/ImageUpload.stories.d.ts +12 -0
- package/dist/components/ImageUpload/ImageUpload.stories.js +63 -0
- package/dist/components/ImageUpload/ImageUpload.stories.js.map +1 -0
- package/dist/components/MediaWidget/LinkItemWidget.d.ts +0 -1
- package/dist/components/MediaWidget/LinkItemWidget.js +2 -4
- package/dist/components/MediaWidget/LinkItemWidget.js.map +1 -1
- package/dist/components/MediaWidget/LinkItemWidget.stories.d.ts +1 -0
- package/dist/components/MediaWidget/LinkItemWidget.stories.js +1 -0
- package/dist/components/MediaWidget/LinkItemWidget.stories.js.map +1 -1
- package/dist/components/MediaWidget/MediaItemWidget.css +3 -1
- package/dist/components/MediaWidget/MediaItemWidget.d.ts +5 -2
- package/dist/components/MediaWidget/MediaItemWidget.js +7 -4
- package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/dist/components/MediaWidget/MediaItemWidget.stories.d.ts +1 -0
- package/dist/components/MediaWidget/MediaItemWidget.stories.js +1 -0
- package/dist/components/MediaWidget/MediaItemWidget.stories.js.map +1 -1
- package/dist/components/MediaWidget/MediaWidget.d.ts +1 -1
- package/dist/components/MediaWidget/MediaWidget.js +2 -3
- package/dist/components/MediaWidget/MediaWidget.js.map +1 -1
- package/dist/components/MediaWidget/MediaWidget.stories.d.ts +1 -0
- package/dist/components/MediaWidget/MediaWidget.stories.js +1 -0
- package/dist/components/MediaWidget/MediaWidget.stories.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.d.ts +2 -2
- package/dist/components/MemoriWidget/MemoriWidget.js +329 -164
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.stories.d.ts +2 -0
- package/dist/components/MemoriWidget/MemoriWidget.stories.js +13 -1
- package/dist/components/MemoriWidget/MemoriWidget.stories.js.map +1 -1
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.css +1 -1
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.d.ts +0 -1
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.js +6 -2
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.js.map +1 -1
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.stories.d.ts +1 -0
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.stories.js +1 -0
- package/dist/components/SendOnEnterMenu/SendOnEnterMenu.stories.js.map +1 -1
- package/dist/components/ShareButton/ShareButton.css +3 -2
- package/dist/components/ShareButton/ShareButton.d.ts +0 -1
- package/dist/components/ShareButton/ShareButton.js +1 -3
- package/dist/components/ShareButton/ShareButton.js.map +1 -1
- package/dist/components/ShareButton/ShareButton.stories.d.ts +1 -0
- package/dist/components/ShareButton/ShareButton.stories.js +1 -0
- package/dist/components/ShareButton/ShareButton.stories.js.map +1 -1
- package/dist/components/Snippet/Snippet.d.ts +0 -1
- package/dist/components/Snippet/Snippet.js +0 -1
- package/dist/components/Snippet/Snippet.js.map +1 -1
- package/dist/components/Snippet/Snippet.stories.d.ts +1 -0
- package/dist/components/Snippet/Snippet.stories.js +1 -0
- package/dist/components/Snippet/Snippet.stories.js.map +1 -1
- package/dist/components/StartPanel/StartPanel.css +26 -0
- package/dist/components/StartPanel/StartPanel.d.ts +2 -1
- package/dist/components/StartPanel/StartPanel.js +24 -8
- package/dist/components/StartPanel/StartPanel.js.map +1 -1
- package/dist/components/StartPanel/StartPanel.stories.d.ts +1 -0
- package/dist/components/StartPanel/StartPanel.stories.js +1 -0
- package/dist/components/StartPanel/StartPanel.stories.js.map +1 -1
- package/dist/components/UploadMenu/UploadMenu.css +4 -3
- package/dist/components/UploadMenu/UploadMenu.d.ts +1 -1
- package/dist/components/UploadMenu/UploadMenu.js +3 -4
- package/dist/components/UploadMenu/UploadMenu.js.map +1 -1
- package/dist/components/UploadMenu/UploadMenu.stories.d.ts +2 -0
- package/dist/components/UploadMenu/UploadMenu.stories.js +7 -1
- package/dist/components/UploadMenu/UploadMenu.stories.js.map +1 -1
- package/dist/components/icons/AI.d.ts +5 -0
- package/dist/components/icons/AI.js +11 -0
- package/dist/components/icons/AI.js.map +1 -0
- package/dist/components/icons/Delete.d.ts +5 -0
- package/dist/components/icons/Delete.js +8 -0
- package/dist/components/icons/Delete.js.map +1 -0
- package/dist/components/icons/Feedback.d.ts +5 -0
- package/dist/components/icons/Feedback.js +9 -0
- package/dist/components/icons/Feedback.js.map +1 -0
- package/dist/components/icons/Loading.d.ts +0 -1
- package/dist/components/icons/Loading.js +0 -1
- package/dist/components/icons/Loading.js.map +1 -1
- package/dist/components/icons/Microphone.d.ts +5 -0
- package/dist/components/icons/Microphone.js +8 -0
- package/dist/components/icons/Microphone.js.map +1 -0
- package/dist/components/icons/ThumbDown.d.ts +5 -0
- package/dist/components/icons/ThumbDown.js +8 -0
- package/dist/components/icons/ThumbDown.js.map +1 -0
- package/dist/components/icons/ThumbUp.d.ts +5 -0
- package/dist/components/icons/ThumbUp.js +8 -0
- package/dist/components/icons/ThumbUp.js.map +1 -0
- package/dist/components/icons/icons.stories.css +5 -0
- package/dist/components/icons/icons.stories.d.ts +2 -0
- package/dist/components/icons/icons.stories.js +7 -3
- package/dist/components/icons/icons.stories.js.map +1 -1
- package/dist/components/ui/Button.d.ts +1 -1
- package/dist/components/ui/Button.js +2 -3
- package/dist/components/ui/Button.js.map +1 -1
- package/dist/components/ui/Button.stories.d.ts +1 -0
- package/dist/components/ui/Button.stories.js +1 -0
- package/dist/components/ui/Button.stories.js.map +1 -1
- package/dist/components/ui/Card.d.ts +0 -1
- package/dist/components/ui/Card.js +0 -1
- package/dist/components/ui/Card.js.map +1 -1
- package/dist/components/ui/Card.stories.d.ts +1 -0
- package/dist/components/ui/Card.stories.js +1 -0
- package/dist/components/ui/Card.stories.js.map +1 -1
- package/dist/components/ui/Checkbox.d.ts +0 -1
- package/dist/components/ui/Checkbox.js +0 -1
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/Checkbox.stories.d.ts +1 -0
- package/dist/components/ui/Checkbox.stories.js +1 -0
- package/dist/components/ui/Checkbox.stories.js.map +1 -1
- package/dist/components/ui/Drawer.d.ts +0 -1
- package/dist/components/ui/Drawer.js +0 -1
- package/dist/components/ui/Drawer.js.map +1 -1
- package/dist/components/ui/Drawer.stories.d.ts +1 -0
- package/dist/components/ui/Drawer.stories.js +1 -0
- package/dist/components/ui/Drawer.stories.js.map +1 -1
- package/dist/components/ui/Modal.d.ts +0 -1
- package/dist/components/ui/Modal.js +22 -19
- package/dist/components/ui/Modal.js.map +1 -1
- package/dist/components/ui/Modal.stories.d.ts +1 -0
- package/dist/components/ui/Modal.stories.js +1 -0
- package/dist/components/ui/Modal.stories.js.map +1 -1
- package/dist/components/ui/Spin.d.ts +0 -1
- package/dist/components/ui/Spin.js +0 -1
- package/dist/components/ui/Spin.js.map +1 -1
- package/dist/components/ui/Spin.stories.d.ts +1 -0
- package/dist/components/ui/Spin.stories.js +1 -0
- package/dist/components/ui/Spin.stories.js.map +1 -1
- package/dist/components/ui/Tooltip.css +2 -0
- package/dist/components/ui/Tooltip.d.ts +0 -1
- package/dist/components/ui/Tooltip.js +0 -1
- package/dist/components/ui/Tooltip.js.map +1 -1
- package/dist/components/ui/Tooltip.stories.d.ts +2 -0
- package/dist/components/ui/Tooltip.stories.js +10 -1
- package/dist/components/ui/Tooltip.stories.js.map +1 -1
- package/dist/helpers/media.d.ts +2 -1
- package/dist/helpers/media.js +3 -6
- package/dist/helpers/media.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.stories.d.ts +5 -0
- package/dist/index.stories.js +27 -0
- package/dist/index.stories.js.map +1 -0
- package/dist/locales/en.json +25 -0
- package/dist/locales/it.json +25 -0
- package/dist/mocks/data.d.ts +1 -0
- package/dist/mocks/data.js +49 -1
- package/dist/mocks/data.js.map +1 -1
- package/dist/styles.css +37 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +11 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.js +70 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.js.map +1 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.d.ts +6 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.js +20 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.stories.js.map +1 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.d.ts +1 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.js +8 -0
- package/esm/components/AttachmentLinkModal/AttachmentLinkModal.test.js.map +1 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.d.ts +14 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.js +65 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.js.map +1 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.d.ts +5 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.js +31 -0
- package/esm/components/AttachmentMediaModal/AttachmentMediaModal.stories.js.map +1 -0
- package/esm/components/Auth/Auth.d.ts +0 -1
- package/esm/components/Auth/Auth.js +0 -1
- package/esm/components/Auth/Auth.js.map +1 -1
- package/esm/components/Auth/Auth.stories.d.ts +1 -0
- package/esm/components/Auth/Auth.stories.js +1 -0
- package/esm/components/Auth/Auth.stories.js.map +1 -1
- package/esm/components/Avatar/Avatar.d.ts +1 -1
- package/esm/components/Avatar/Avatar.js +5 -2
- package/esm/components/Avatar/Avatar.js.map +1 -1
- package/esm/components/Avatar/Avatar.stories.d.ts +1 -0
- package/esm/components/Avatar/Avatar.stories.js +1 -0
- package/esm/components/Avatar/Avatar.stories.js.map +1 -1
- package/esm/components/Blob/Blob.d.ts +0 -1
- package/esm/components/Blob/Blob.js +0 -1
- package/esm/components/Blob/Blob.js.map +1 -1
- package/esm/components/Blob/Blob.stories.d.ts +1 -0
- package/esm/components/Blob/Blob.stories.js +1 -0
- package/esm/components/Blob/Blob.stories.js.map +1 -1
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.d.ts +0 -1
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.js +0 -1
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.js.map +1 -1
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.d.ts +1 -0
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.js +1 -0
- package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.js.map +1 -1
- package/esm/components/ChangeMode/ChangeMode.d.ts +0 -1
- package/esm/components/ChangeMode/ChangeMode.js +0 -1
- package/esm/components/ChangeMode/ChangeMode.js.map +1 -1
- package/esm/components/ChangeMode/ChangeMode.stories.d.ts +1 -0
- package/esm/components/ChangeMode/ChangeMode.stories.js +1 -0
- package/esm/components/ChangeMode/ChangeMode.stories.js.map +1 -1
- package/esm/components/Chat/Chat.d.ts +8 -1
- package/esm/components/Chat/Chat.js +8 -5
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/Chat/Chat.stories.d.ts +3 -0
- package/esm/components/Chat/Chat.stories.js +33 -1
- package/esm/components/Chat/Chat.stories.js.map +1 -1
- package/esm/components/Chat/Chat.test.js +8 -8
- package/esm/components/Chat/Chat.test.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.css +69 -0
- package/esm/components/ChatBubble/ChatBubble.d.ts +4 -1
- package/esm/components/ChatBubble/ChatBubble.js +53 -28
- package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.stories.d.ts +4 -0
- package/esm/components/ChatBubble/ChatBubble.stories.js +41 -0
- package/esm/components/ChatBubble/ChatBubble.stories.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.test.js +10 -0
- package/esm/components/ChatBubble/ChatBubble.test.js.map +1 -1
- package/esm/components/ChatInputs/ChatInputs.css +29 -0
- package/esm/components/ChatInputs/ChatInputs.d.ts +7 -1
- package/esm/components/ChatInputs/ChatInputs.js +22 -4
- package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
- package/esm/components/ChatInputs/ChatInputs.stories.d.ts +4 -0
- package/esm/components/ChatInputs/ChatInputs.stories.js +87 -0
- package/esm/components/ChatInputs/ChatInputs.stories.js.map +1 -1
- package/esm/components/ChatInputs/ChatInputs.test.js +12 -4
- package/esm/components/ChatInputs/ChatInputs.test.js.map +1 -1
- package/esm/components/ChatTextArea/ChatTextArea.d.ts +0 -1
- package/esm/components/ChatTextArea/ChatTextArea.js +0 -1
- package/esm/components/ChatTextArea/ChatTextArea.js.map +1 -1
- package/esm/components/ChatTextArea/ChatTextArea.stories.d.ts +1 -0
- package/esm/components/ChatTextArea/ChatTextArea.stories.js +1 -0
- package/esm/components/ChatTextArea/ChatTextArea.stories.js.map +1 -1
- package/esm/components/CustomGLBModelViewer/ModelViewer.d.ts +0 -1
- package/esm/components/CustomGLBModelViewer/ModelViewer.js +0 -1
- package/esm/components/CustomGLBModelViewer/ModelViewer.js.map +1 -1
- package/esm/components/CustomGLBModelViewer/ModelViewer.stories.d.ts +1 -0
- package/esm/components/CustomGLBModelViewer/ModelViewer.stories.js +1 -0
- package/esm/components/CustomGLBModelViewer/ModelViewer.stories.js.map +1 -1
- package/esm/components/ExportHistoryButton/ExportHistoryButton.d.ts +0 -1
- package/esm/components/ExportHistoryButton/ExportHistoryButton.js +0 -1
- package/esm/components/ExportHistoryButton/ExportHistoryButton.js.map +1 -1
- package/esm/components/ExportHistoryButton/ExportHistoryButton.test.d.ts +1 -1
- package/esm/components/ExportHistoryButton/ExportHistoryButton.test.js +1 -0
- package/esm/components/ExportHistoryButton/ExportHistoryButton.test.js.map +1 -1
- package/esm/components/FeedbackButtons/FeedbackButtons.css +106 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.d.ts +10 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.js +65 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.js.map +1 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.stories.d.ts +8 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.stories.js +36 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.stories.js.map +1 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.test.d.ts +1 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.test.js +9 -0
- package/esm/components/FeedbackButtons/FeedbackButtons.test.js.map +1 -0
- package/esm/components/Header/Header.d.ts +0 -1
- package/esm/components/Header/Header.js +0 -1
- package/esm/components/Header/Header.js.map +1 -1
- package/esm/components/Header/Header.stories.d.ts +1 -0
- package/esm/components/Header/Header.stories.js +1 -0
- package/esm/components/Header/Header.stories.js.map +1 -1
- package/esm/components/ImageUpload/ImageUpload.css +169 -0
- package/esm/components/ImageUpload/ImageUpload.d.ts +28 -0
- package/esm/components/ImageUpload/ImageUpload.js +175 -0
- package/esm/components/ImageUpload/ImageUpload.js.map +1 -0
- package/esm/components/ImageUpload/ImageUpload.stories.d.ts +12 -0
- package/esm/components/ImageUpload/ImageUpload.stories.js +59 -0
- package/esm/components/ImageUpload/ImageUpload.stories.js.map +1 -0
- package/esm/components/MediaWidget/LinkItemWidget.d.ts +0 -1
- package/esm/components/MediaWidget/LinkItemWidget.js +2 -4
- package/esm/components/MediaWidget/LinkItemWidget.js.map +1 -1
- package/esm/components/MediaWidget/LinkItemWidget.stories.d.ts +1 -0
- package/esm/components/MediaWidget/LinkItemWidget.stories.js +1 -0
- package/esm/components/MediaWidget/LinkItemWidget.stories.js.map +1 -1
- package/esm/components/MediaWidget/MediaItemWidget.css +3 -1
- package/esm/components/MediaWidget/MediaItemWidget.d.ts +5 -2
- package/esm/components/MediaWidget/MediaItemWidget.js +7 -4
- package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/esm/components/MediaWidget/MediaItemWidget.stories.d.ts +1 -0
- package/esm/components/MediaWidget/MediaItemWidget.stories.js +1 -0
- package/esm/components/MediaWidget/MediaItemWidget.stories.js.map +1 -1
- package/esm/components/MediaWidget/MediaWidget.d.ts +1 -1
- package/esm/components/MediaWidget/MediaWidget.js +2 -3
- package/esm/components/MediaWidget/MediaWidget.js.map +1 -1
- package/esm/components/MediaWidget/MediaWidget.stories.d.ts +1 -0
- package/esm/components/MediaWidget/MediaWidget.stories.js +1 -0
- package/esm/components/MediaWidget/MediaWidget.stories.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.d.ts +2 -2
- package/esm/components/MemoriWidget/MemoriWidget.js +329 -164
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.stories.d.ts +2 -0
- package/esm/components/MemoriWidget/MemoriWidget.stories.js +12 -0
- package/esm/components/MemoriWidget/MemoriWidget.stories.js.map +1 -1
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.css +1 -1
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.d.ts +0 -1
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.js +6 -2
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.js.map +1 -1
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.stories.d.ts +1 -0
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.stories.js +1 -0
- package/esm/components/SendOnEnterMenu/SendOnEnterMenu.stories.js.map +1 -1
- package/esm/components/ShareButton/ShareButton.css +3 -2
- package/esm/components/ShareButton/ShareButton.d.ts +0 -1
- package/esm/components/ShareButton/ShareButton.js +1 -3
- package/esm/components/ShareButton/ShareButton.js.map +1 -1
- package/esm/components/ShareButton/ShareButton.stories.d.ts +1 -0
- package/esm/components/ShareButton/ShareButton.stories.js +1 -0
- package/esm/components/ShareButton/ShareButton.stories.js.map +1 -1
- package/esm/components/Snippet/Snippet.d.ts +0 -1
- package/esm/components/Snippet/Snippet.js +0 -1
- package/esm/components/Snippet/Snippet.js.map +1 -1
- package/esm/components/Snippet/Snippet.stories.d.ts +1 -0
- package/esm/components/Snippet/Snippet.stories.js +1 -0
- package/esm/components/Snippet/Snippet.stories.js.map +1 -1
- package/esm/components/StartPanel/StartPanel.css +26 -0
- package/esm/components/StartPanel/StartPanel.d.ts +2 -1
- package/esm/components/StartPanel/StartPanel.js +24 -8
- package/esm/components/StartPanel/StartPanel.js.map +1 -1
- package/esm/components/StartPanel/StartPanel.stories.d.ts +1 -0
- package/esm/components/StartPanel/StartPanel.stories.js +1 -0
- package/esm/components/StartPanel/StartPanel.stories.js.map +1 -1
- package/esm/components/UploadMenu/UploadMenu.css +4 -3
- package/esm/components/UploadMenu/UploadMenu.d.ts +1 -1
- package/esm/components/UploadMenu/UploadMenu.js +3 -4
- package/esm/components/UploadMenu/UploadMenu.js.map +1 -1
- package/esm/components/UploadMenu/UploadMenu.stories.d.ts +2 -0
- package/esm/components/UploadMenu/UploadMenu.stories.js +6 -0
- package/esm/components/UploadMenu/UploadMenu.stories.js.map +1 -1
- package/esm/components/icons/AI.d.ts +5 -0
- package/esm/components/icons/AI.js +8 -0
- package/esm/components/icons/AI.js.map +1 -0
- package/esm/components/icons/Delete.d.ts +5 -0
- package/esm/components/icons/Delete.js +5 -0
- package/esm/components/icons/Delete.js.map +1 -0
- package/esm/components/icons/Feedback.d.ts +5 -0
- package/esm/components/icons/Feedback.js +6 -0
- package/esm/components/icons/Feedback.js.map +1 -0
- package/esm/components/icons/Loading.d.ts +0 -1
- package/esm/components/icons/Loading.js +0 -1
- package/esm/components/icons/Loading.js.map +1 -1
- package/esm/components/icons/Microphone.d.ts +5 -0
- package/esm/components/icons/Microphone.js +5 -0
- package/esm/components/icons/Microphone.js.map +1 -0
- package/esm/components/icons/ThumbDown.d.ts +5 -0
- package/esm/components/icons/ThumbDown.js +5 -0
- package/esm/components/icons/ThumbDown.js.map +1 -0
- package/esm/components/icons/ThumbUp.d.ts +5 -0
- package/esm/components/icons/ThumbUp.js +5 -0
- package/esm/components/icons/ThumbUp.js.map +1 -0
- package/esm/components/icons/icons.stories.css +5 -0
- package/esm/components/icons/icons.stories.d.ts +2 -0
- package/esm/components/icons/icons.stories.js +7 -3
- package/esm/components/icons/icons.stories.js.map +1 -1
- package/esm/components/ui/Button.d.ts +1 -1
- package/esm/components/ui/Button.js +2 -3
- package/esm/components/ui/Button.js.map +1 -1
- package/esm/components/ui/Button.stories.d.ts +1 -0
- package/esm/components/ui/Button.stories.js +1 -0
- package/esm/components/ui/Button.stories.js.map +1 -1
- package/esm/components/ui/Card.d.ts +0 -1
- package/esm/components/ui/Card.js +0 -1
- package/esm/components/ui/Card.js.map +1 -1
- package/esm/components/ui/Card.stories.d.ts +1 -0
- package/esm/components/ui/Card.stories.js +1 -0
- package/esm/components/ui/Card.stories.js.map +1 -1
- package/esm/components/ui/Checkbox.d.ts +0 -1
- package/esm/components/ui/Checkbox.js +0 -1
- package/esm/components/ui/Checkbox.js.map +1 -1
- package/esm/components/ui/Checkbox.stories.d.ts +1 -0
- package/esm/components/ui/Checkbox.stories.js +1 -0
- package/esm/components/ui/Checkbox.stories.js.map +1 -1
- package/esm/components/ui/Drawer.d.ts +0 -1
- package/esm/components/ui/Drawer.js +0 -1
- package/esm/components/ui/Drawer.js.map +1 -1
- package/esm/components/ui/Drawer.stories.d.ts +1 -0
- package/esm/components/ui/Drawer.stories.js +1 -0
- package/esm/components/ui/Drawer.stories.js.map +1 -1
- package/esm/components/ui/Modal.d.ts +0 -1
- package/esm/components/ui/Modal.js +22 -19
- package/esm/components/ui/Modal.js.map +1 -1
- package/esm/components/ui/Modal.stories.d.ts +1 -0
- package/esm/components/ui/Modal.stories.js +1 -0
- package/esm/components/ui/Modal.stories.js.map +1 -1
- package/esm/components/ui/Spin.d.ts +0 -1
- package/esm/components/ui/Spin.js +0 -1
- package/esm/components/ui/Spin.js.map +1 -1
- package/esm/components/ui/Spin.stories.d.ts +1 -0
- package/esm/components/ui/Spin.stories.js +1 -0
- package/esm/components/ui/Spin.stories.js.map +1 -1
- package/esm/components/ui/Tooltip.css +2 -0
- package/esm/components/ui/Tooltip.d.ts +0 -1
- package/esm/components/ui/Tooltip.js +0 -1
- package/esm/components/ui/Tooltip.js.map +1 -1
- package/esm/components/ui/Tooltip.stories.d.ts +2 -0
- package/esm/components/ui/Tooltip.stories.js +9 -0
- package/esm/components/ui/Tooltip.stories.js.map +1 -1
- package/esm/helpers/media.d.ts +2 -1
- package/esm/helpers/media.js +3 -6
- package/esm/helpers/media.js.map +1 -1
- package/esm/index.d.ts +1 -3
- package/esm/index.js +6 -6
- package/esm/index.js.map +1 -1
- package/esm/index.stories.d.ts +5 -0
- package/esm/index.stories.js +23 -0
- package/esm/index.stories.js.map +1 -0
- package/esm/locales/en.json +25 -0
- package/esm/locales/it.json +25 -0
- package/esm/mocks/data.d.ts +1 -0
- package/esm/mocks/data.js +48 -0
- package/esm/mocks/data.js.map +1 -1
- package/esm/styles.css +37 -0
- package/package.json +10 -5
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.css +68 -0
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.stories.tsx +27 -0
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.test.tsx +10 -0
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.tsx +131 -0
- package/src/components/AttachmentLinkModal/__snapshots__/AttachmentLinkModal.test.tsx.snap +9 -0
- package/src/components/AttachmentMediaModal/AttachmentMediaModal.stories.tsx +43 -0
- package/src/components/AttachmentMediaModal/AttachmentMediaModal.tsx +128 -0
- package/src/components/Auth/Auth.stories.tsx +2 -0
- package/src/components/Auth/Auth.tsx +0 -2
- package/src/components/Auth/__snapshots__/Auth.test.tsx.snap +4 -4
- package/src/components/Avatar/Avatar.stories.tsx +2 -0
- package/src/components/Avatar/Avatar.tsx +6 -2
- package/src/components/Blob/Blob.stories.tsx +1 -0
- package/src/components/Blob/Blob.tsx +0 -1
- package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.tsx +2 -0
- package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.tsx +0 -2
- package/src/components/ChangeMode/ChangeMode.stories.tsx +2 -0
- package/src/components/ChangeMode/ChangeMode.tsx +0 -2
- package/src/components/Chat/Chat.stories.tsx +36 -0
- package/src/components/Chat/Chat.test.tsx +40 -0
- package/src/components/Chat/Chat.tsx +34 -2
- package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +60 -28
- package/src/components/ChatBubble/ChatBubble.css +69 -0
- package/src/components/ChatBubble/ChatBubble.stories.tsx +48 -0
- package/src/components/ChatBubble/ChatBubble.test.tsx +18 -0
- package/src/components/ChatBubble/ChatBubble.tsx +144 -87
- package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +80 -0
- package/src/components/ChatInputs/ChatInputs.css +29 -0
- package/src/components/ChatInputs/ChatInputs.stories.tsx +91 -0
- package/src/components/ChatInputs/ChatInputs.test.tsx +70 -0
- package/src/components/ChatInputs/ChatInputs.tsx +46 -4
- package/src/components/ChatInputs/__snapshots__/ChatInputs.test.tsx.snap +309 -13
- package/src/components/ChatTextArea/ChatTextArea.stories.tsx +1 -0
- package/src/components/ChatTextArea/ChatTextArea.tsx +0 -1
- package/src/components/ChatTextArea/__snapshots__/ChatTextArea.test.tsx.snap +3 -3
- package/src/components/CustomGLBModelViewer/ModelViewer.stories.tsx +2 -2
- package/src/components/CustomGLBModelViewer/ModelViewer.tsx +0 -1
- package/src/components/ExportHistoryButton/ExportHistoryButton.test.tsx +2 -0
- package/src/components/ExportHistoryButton/ExportHistoryButton.tsx +0 -2
- package/src/components/FeedbackButtons/FeedbackButtons.css +106 -0
- package/src/components/FeedbackButtons/FeedbackButtons.stories.tsx +48 -0
- package/src/components/FeedbackButtons/FeedbackButtons.test.tsx +11 -0
- package/src/components/FeedbackButtons/FeedbackButtons.tsx +152 -0
- package/src/components/FeedbackButtons/__snapshots__/FeedbackButtons.test.tsx.snap +47 -0
- package/src/components/Header/Header.stories.tsx +2 -0
- package/src/components/Header/Header.tsx +0 -2
- package/src/components/Header/__snapshots__/Header.test.tsx.snap +8 -8
- package/src/components/ImageUpload/ImageUpload.css +169 -0
- package/src/components/ImageUpload/ImageUpload.stories.tsx +76 -0
- package/src/components/ImageUpload/ImageUpload.tsx +389 -0
- package/src/components/MediaWidget/LinkItemWidget.stories.tsx +2 -0
- package/src/components/MediaWidget/LinkItemWidget.tsx +5 -7
- package/src/components/MediaWidget/MediaItemWidget.css +3 -1
- package/src/components/MediaWidget/MediaItemWidget.stories.tsx +5 -6
- package/src/components/MediaWidget/MediaItemWidget.tsx +14 -2
- package/src/components/MediaWidget/MediaWidget.stories.tsx +2 -0
- package/src/components/MediaWidget/MediaWidget.tsx +4 -2
- package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +2 -2
- package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +1 -1
- package/src/components/MemoriWidget/MemoriWidget.stories.tsx +14 -0
- package/src/components/MemoriWidget/MemoriWidget.tsx +427 -205
- package/src/components/SendOnEnterMenu/SendOnEnterMenu.css +1 -1
- package/src/components/SendOnEnterMenu/SendOnEnterMenu.stories.tsx +2 -0
- package/src/components/SendOnEnterMenu/SendOnEnterMenu.tsx +11 -3
- package/src/components/SendOnEnterMenu/__snapshots__/SendOnEnterMenu.test.tsx.snap +10 -2
- package/src/components/ShareButton/ShareButton.css +3 -2
- package/src/components/ShareButton/ShareButton.stories.tsx +2 -0
- package/src/components/ShareButton/ShareButton.tsx +3 -4
- package/src/components/Snippet/Snippet.stories.tsx +2 -0
- package/src/components/Snippet/Snippet.tsx +0 -2
- package/src/components/Snippet/__snapshots__/Snippet.test.tsx.snap +7 -7
- package/src/components/StartPanel/StartPanel.css +26 -0
- package/src/components/StartPanel/StartPanel.stories.tsx +1 -0
- package/src/components/StartPanel/StartPanel.tsx +26 -3
- package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +5 -5
- package/src/components/UploadMenu/UploadMenu.css +4 -3
- package/src/components/UploadMenu/UploadMenu.stories.tsx +8 -0
- package/src/components/UploadMenu/UploadMenu.tsx +15 -13
- package/src/components/icons/AI.tsx +34 -0
- package/src/components/icons/Delete.tsx +23 -0
- package/src/components/icons/Feedback.tsx +24 -0
- package/src/components/icons/Loading.tsx +0 -1
- package/src/components/icons/Microphone.tsx +23 -0
- package/src/components/icons/ThumbDown.tsx +29 -0
- package/src/components/icons/ThumbUp.tsx +29 -0
- package/src/components/icons/icons.stories.css +5 -0
- package/src/components/icons/icons.stories.tsx +11 -3
- package/src/components/ui/Button.stories.tsx +1 -0
- package/src/components/ui/Button.tsx +21 -15
- package/src/components/ui/Card.stories.tsx +1 -0
- package/src/components/ui/Card.tsx +0 -1
- package/src/components/ui/Checkbox.stories.tsx +1 -0
- package/src/components/ui/Checkbox.tsx +0 -1
- package/src/components/ui/Drawer.stories.tsx +2 -0
- package/src/components/ui/Drawer.tsx +0 -2
- package/src/components/ui/Modal.stories.tsx +2 -0
- package/src/components/ui/Modal.tsx +72 -66
- package/src/components/ui/Spin.stories.tsx +2 -0
- package/src/components/ui/Spin.tsx +0 -1
- package/src/components/ui/Tooltip.css +2 -0
- package/src/components/ui/Tooltip.stories.tsx +13 -0
- package/src/components/ui/Tooltip.tsx +0 -1
- package/src/helpers/media.ts +8 -4
- package/src/index.stories.tsx +43 -0
- package/src/index.tsx +7 -5
- package/src/locales/en.json +25 -0
- package/src/locales/it.json +25 -0
- package/src/mocks/data.ts +51 -4
- package/src/styles.css +37 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
## [1.0.0-rc.1](https://github.com/memori-ai/memori-react/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2023-02-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* font css url import ([97c2c71](https://github.com/memori-ai/memori-react/commit/97c2c713ff4c300da1df6873c796bd57b96acfc6))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Maintenance
|
|
12
|
+
|
|
13
|
+
* fix relative imports ([ef269da](https://github.com/memori-ai/memori-react/commit/ef269dadaac0c1e1e39187556c66ab0fe83c2524))
|
|
14
|
+
* upgrade api-client to v1.1.0 ([b2254e1](https://github.com/memori-ai/memori-react/commit/b2254e1723dc1dda3d5ebfdbb7c10d1828e0934b))
|
|
15
|
+
|
|
16
|
+
## [1.0.0-rc.0](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.24...v1.0.0-rc.0) (2023-02-16)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### ⚠ BREAKING CHANGES
|
|
20
|
+
|
|
21
|
+
* remove css imports, add single style.css file with imports
|
|
22
|
+
|
|
23
|
+
### Changes
|
|
24
|
+
|
|
25
|
+
* pass apiURL through for asset helper ([0dd9a69](https://github.com/memori-ai/memori-react/commit/0dd9a69c6ff29229e19f9d9723773fb61f5c8b62))
|
|
26
|
+
* remove css imports, add single style.css file with imports ([1887357](https://github.com/memori-ai/memori-react/commit/188735746081ca58cc0c0790f1d44df9804ca7a8))
|
|
27
|
+
|
|
28
|
+
## [1.0.0-alpha.24](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2023-02-02)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* add feedback buttons on acceptsFeedback ([8be4ca4](https://github.com/memori-ai/memori-react/commit/8be4ca4a5bff4eeafc467170795761c96e54ff3b))
|
|
34
|
+
* add icon to show if a msg is generated by AI ([c0a5ab7](https://github.com/memori-ai/memori-react/commit/c0a5ab79631cf853c21c184a3b831d3a3d058074))
|
|
35
|
+
* import new feedback + completions disclaimer ([8fe3170](https://github.com/memori-ai/memori-react/commit/8fe31703c6c0602c76008c532591e74ae9de5c42))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* minor css fixes ([79fb904](https://github.com/memori-ai/memori-react/commit/79fb90456676ae0cb25d2eb95a7d49098891def8))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Changes
|
|
44
|
+
|
|
45
|
+
* add show AI icon in integration config ([36575c9](https://github.com/memori-ai/memori-react/commit/36575c90f423e1bd38cb0e442fb307fb74ac1cc8))
|
|
46
|
+
* pick completion flag for generated by ai icon ([4ae8658](https://github.com/memori-ai/memori-react/commit/4ae8658056955232314143c012bc2929342e3511))
|
|
47
|
+
* show feedback buttons + ai icon on chat bubble floating addon ([3dbd011](https://github.com/memori-ai/memori-react/commit/3dbd0113c0af844822812ab06e3f9a611193b1b3))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Maintenance
|
|
51
|
+
|
|
52
|
+
* **i18n:** add translation for generated by ai ([a7694bc](https://github.com/memori-ai/memori-react/commit/a7694bc8ac538185ae9f25833ba386b84e4fcad9))
|
|
53
|
+
* upgrade api client ([c65fb57](https://github.com/memori-ai/memori-react/commit/c65fb572af5b7c6de8e32657ab36be53e8b99812))
|
|
54
|
+
|
|
55
|
+
## [1.0.0-alpha.23](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2023-01-19)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Changes
|
|
59
|
+
|
|
60
|
+
* fixes for listening events ([76bc5f6](https://github.com/memori-ai/memori-react/commit/76bc5f616538d6621ff51b7ad41a9b07b8ad59ba))
|
|
61
|
+
|
|
62
|
+
## [1.0.0-alpha.22](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2023-01-17)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Bug Fixes
|
|
66
|
+
|
|
67
|
+
* audio issues, refactor tts ([e66c83a](https://github.com/memori-ai/memori-react/commit/e66c83a35e1a98ae7e24ee532923653d9032c3f3))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Maintenance
|
|
71
|
+
|
|
72
|
+
* cleanup ([bd755c7](https://github.com/memori-ai/memori-react/commit/bd755c7de3736f4685e66076f058ff7ca6d513d2))
|
|
73
|
+
|
|
74
|
+
## [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)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Bug Fixes
|
|
78
|
+
|
|
79
|
+
* chat user bubble size ([27bf2c6](https://github.com/memori-ai/memori-react/commit/27bf2c67bc7344b1033b6613bf5eeb82e1ab178d))
|
|
80
|
+
* make stt work on safari ([a1a1ff9](https://github.com/memori-ai/memori-react/commit/a1a1ff9ee3bdc1fd4c4ebebaa5c39f01c7241a21))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Maintenance
|
|
84
|
+
|
|
85
|
+
* pin azure sdk to 1.20.0 ([a615436](https://github.com/memori-ai/memori-react/commit/a615436b989a8c55008d5561fecea54fbd70ff41))
|
|
86
|
+
|
|
87
|
+
## [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)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
* 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))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* link item preview img fallback ([1d739d6](https://github.com/memori-ai/memori-react/commit/1d739d65ff66374ad2dc4723cee779d0347b71ce))
|
|
98
|
+
* send on enter menu btn sizes ([6ca6887](https://github.com/memori-ai/memori-react/commit/6ca6887464f9b9320b74cf9e64625ac587512710))
|
|
99
|
+
|
|
100
|
+
## [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)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Bug Fixes
|
|
104
|
+
|
|
105
|
+
* update prop types ([782008e](https://github.com/memori-ai/memori-react/commit/782008ea18a368b02b7a957b8b9c3d3536b1e45d))
|
|
106
|
+
|
|
107
|
+
## [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)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Features
|
|
111
|
+
|
|
112
|
+
* add link attachment modal with preview ([e20c8ca](https://github.com/memori-ai/memori-react/commit/e20c8ca42ab2a763492109991a1bfc663271fed2))
|
|
113
|
+
* add media upload + media attachment modal ([6066f06](https://github.com/memori-ai/memori-react/commit/6066f065d63e6c12c56d9489da6f9eceacf103fa))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Maintenance
|
|
117
|
+
|
|
118
|
+
* add general usage story ([309de4b](https://github.com/memori-ai/memori-react/commit/309de4b22a675f2597aa9ebbc97c3929b3983a5a))
|
|
119
|
+
|
|
120
|
+
## [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)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Bug Fixes
|
|
124
|
+
|
|
125
|
+
* button selector to click in typeMessage ([493c7a0](https://github.com/memori-ai/memori-react/commit/493c7a094d965f889ae037013c1484cb036cda24))
|
|
126
|
+
* pass baseURL to all img handlers ([8083c12](https://github.com/memori-ai/memori-react/commit/8083c12af181aa41bb0ff714491c73916a57bd61))
|
|
127
|
+
* update dialog state on timeout only with emission, prevent hints to hide ([6132140](https://github.com/memori-ai/memori-react/commit/61321402750cbd591c43dc0a18af959c577bfb4b))
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Changes
|
|
131
|
+
|
|
132
|
+
* show media upload if dialogState givers acceptMedia ([01701d1](https://github.com/memori-ai/memori-react/commit/01701d1298ff99b5305c8c66e04359df1918b18b))
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Maintenance
|
|
136
|
+
|
|
137
|
+
* pick stories in whole src dir for sb ([9675109](https://github.com/memori-ai/memori-react/commit/9675109a3c34dca0cfeac9d731a16ccda8f9e1c4))
|
|
138
|
+
|
|
139
|
+
## [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)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Changes
|
|
143
|
+
|
|
144
|
+
* remove feedback button ([a50c5d4](https://github.com/memori-ai/memori-react/commit/a50c5d442a69078ae87db355663d14186a40f762))
|
|
145
|
+
|
|
146
|
+
## [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)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Bug Fixes
|
|
150
|
+
|
|
151
|
+
* stt init lang ([b2d5a4b](https://github.com/memori-ai/memori-react/commit/b2d5a4b8cc3a783840f0200d4c4f532c83aa97bb))
|
|
152
|
+
|
|
153
|
+
## [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)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Bug Fixes
|
|
157
|
+
|
|
158
|
+
* reopen session on z0 only if textentered gave 404 response ([d6f48a8](https://github.com/memori-ai/memori-react/commit/d6f48a84ebd18ab8f603c9dc4a11019e01f014a4))
|
|
159
|
+
|
|
160
|
+
## [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)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### Features
|
|
164
|
+
|
|
165
|
+
* add chat message feedback button ([e74b391](https://github.com/memori-ai/memori-react/commit/e74b3916db64f95d68178faa5effc62a4d5823c4))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Maintenance
|
|
169
|
+
|
|
170
|
+
* update api client ([80299cd](https://github.com/memori-ai/memori-react/commit/80299cd7b5a857dcd2d40d9135101771e0b21781))
|
|
171
|
+
* update api client ([da76587](https://github.com/memori-ai/memori-react/commit/da76587f4feee0a3e3939cb656dc7b3854e206a1))
|
|
172
|
+
|
|
173
|
+
## [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)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Features
|
|
177
|
+
|
|
178
|
+
* add microphone button + listening ([b2b3a3b](https://github.com/memori-ai/memori-react/commit/b2b3a3b7dc683174cd270173d77a9de6c53dc80f))
|
|
179
|
+
|
|
180
|
+
## [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)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* timeout units ([4bbee10](https://github.com/memori-ai/memori-react/commit/4bbee10ce6215877eb7662d1265686c0c5e4de14))
|
|
186
|
+
|
|
187
|
+
## [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)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### Features
|
|
191
|
+
|
|
192
|
+
* set user interaction timeout from engine state if set, calc random otherwise ([6d4bace](https://github.com/memori-ai/memori-react/commit/6d4baced6df8d9e743a4286cc29493fde709b9cb))
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Bug Fixes
|
|
196
|
+
|
|
197
|
+
* timeout from engine already has read time ([59eddf9](https://github.com/memori-ai/memori-react/commit/59eddf97a33ec5188a72efaac9c25e51253e9476))
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Maintenance
|
|
201
|
+
|
|
202
|
+
* update memori-api-client ([1b8771c](https://github.com/memori-ai/memori-react/commit/1b8771c2e94ef12c55d033287d1b7812c1b3b4ae))
|
|
203
|
+
* update memori-api-client ([ccc404f](https://github.com/memori-ai/memori-react/commit/ccc404f47c0411974a6dba3612f6520ad5695c80))
|
|
204
|
+
|
|
205
|
+
## [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)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### ⚠ BREAKING CHANGES
|
|
209
|
+
|
|
210
|
+
* open session on clicking start button
|
|
211
|
+
|
|
212
|
+
### Features
|
|
213
|
+
|
|
214
|
+
* add auth for private memori ([c1bef59](https://github.com/memori-ai/memori-react/commit/c1bef59088fb2fce2f098c161975e3053b778708))
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Bug Fixes
|
|
218
|
+
|
|
219
|
+
* chat bubble with initial msg ([cea6fe7](https://github.com/memori-ai/memori-react/commit/cea6fe7912e97d00ba986e8d7d64856f663223af))
|
|
220
|
+
* set height from props ([a65e0b4](https://github.com/memori-ai/memori-react/commit/a65e0b4d0c52fb3e501b517d57cc76dc469bcfa5))
|
|
221
|
+
* use secret while opening session if present ([726e131](https://github.com/memori-ai/memori-react/commit/726e131df885ad73b1c4399a679a72cb41139b92))
|
|
222
|
+
* vertical scrolling consintency ([c01c952](https://github.com/memori-ai/memori-react/commit/c01c952329208ac4ec41f9e4f3669a8f198e46e0))
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### Changes
|
|
226
|
+
|
|
227
|
+
* add canInstruct in ChangeMode ([6300e18](https://github.com/memori-ai/memori-react/commit/6300e184bdb64ee57f9b3e8f7fd92df8b733f077))
|
|
228
|
+
* apply sessionID prop ([0eb6880](https://github.com/memori-ai/memori-react/commit/0eb68808f05f1751d60e86f391e766bb1979e602))
|
|
229
|
+
* cleanup ([2df3fbb](https://github.com/memori-ai/memori-react/commit/2df3fbbf80360e9662a51f264b74f14a633c7f8e))
|
|
230
|
+
* open session on clicking start button ([6372e89](https://github.com/memori-ai/memori-react/commit/6372e89aba6a74743b7bec9fa4d6dab597dd9ddb))
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Maintenance
|
|
234
|
+
|
|
235
|
+
* pass secret to widget ([a13e29e](https://github.com/memori-ai/memori-react/commit/a13e29e19a5bf548dfdb7b615e390b3ffe1858d9))
|
|
236
|
+
* **storybook:** set stories order ([568d3d4](https://github.com/memori-ai/memori-react/commit/568d3d40e7d3a7dd9bdb697b594bc62b2a291479))
|
|
237
|
+
* widget storybook layout options + rename ([d48863f](https://github.com/memori-ai/memori-react/commit/d48863f28483ae2d84de7b689deadf0fac7d727f))
|
|
238
|
+
|
|
239
|
+
## [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)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
### Bug Fixes
|
|
243
|
+
|
|
244
|
+
* allow global methods within webcomponent ([afa5133](https://github.com/memori-ai/memori-react/commit/afa513316329e31e02ed531d6808c1f1bce9dbd8))
|
|
245
|
+
|
|
246
|
+
## [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)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
### Bug Fixes
|
|
250
|
+
|
|
251
|
+
* root for css properties compatible with webcomponent ([f06ff64](https://github.com/memori-ai/memori-react/commit/f06ff642d4a32a2eaa3586857f3ba40b8811dda2))
|
|
252
|
+
|
|
253
|
+
## [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)
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Bug Fixes
|
|
257
|
+
|
|
258
|
+
* blob styles ([56d1e5f](https://github.com/memori-ai/memori-react/commit/56d1e5fc941ebc7c487381cc804561c1569853d1))
|
|
259
|
+
|
|
260
|
+
## [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)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Features
|
|
264
|
+
|
|
265
|
+
* apply integration config css properties, fix styles ([91d495d](https://github.com/memori-ai/memori-react/commit/91d495d352ce9ee6b17dc221ff534d0756ed0f74))
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### Maintenance
|
|
269
|
+
|
|
270
|
+
* upgrade api client ([f7f218b](https://github.com/memori-ai/memori-react/commit/f7f218bbda39ca27f3e670cbc5ffc7f9d297656f))
|
|
271
|
+
|
|
272
|
+
## [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)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Maintenance
|
|
276
|
+
|
|
277
|
+
* cleanup package.json ([e482423](https://github.com/memori-ai/memori-react/commit/e482423b7e4911bf2ea8d503242f665ac723b399))
|
|
278
|
+
* **i18n:** add title to snippet copy button ([aa56073](https://github.com/memori-ai/memori-react/commit/aa560731faf0911d9bfb67350086534889cdcfd7))
|
|
279
|
+
|
|
280
|
+
## [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)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Features
|
|
284
|
+
|
|
285
|
+
* add prop-types ([2dc4e23](https://github.com/memori-ai/memori-react/commit/2dc4e237bb4e59f395a66032e54849579e5f7561))
|
|
286
|
+
|
|
287
|
+
## [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)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Features
|
|
291
|
+
|
|
292
|
+
* add onStateChange callback ([e4f55bd](https://github.com/memori-ai/memori-react/commit/e4f55bdc12a51ee311a8fe63a9fcc0e7125bdc32))
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
### Maintenance
|
|
296
|
+
|
|
297
|
+
* add details in package.json + upgrade api client ([f0ce68a](https://github.com/memori-ai/memori-react/commit/f0ce68ade744fd02c4af3a08d4b2849fbbef9113))
|
|
298
|
+
* cleanup ([94fb8b0](https://github.com/memori-ai/memori-react/commit/94fb8b06a118e42da695da5dd4bbf307ff723914))
|
|
299
|
+
* cleanup deps and lockfile ([3044342](https://github.com/memori-ai/memori-react/commit/3044342b9dde3e758c92968a4547a829d2984dd5))
|
|
300
|
+
|
|
301
|
+
## [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)
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
### Maintenance
|
|
305
|
+
|
|
306
|
+
* fix version ([95725fe](https://github.com/memori-ai/memori-react/commit/95725fe484c3bcf025bbddbdb1c5e834b98a31fe))
|
|
307
|
+
* prepare for release ([a6a6db6](https://github.com/memori-ai/memori-react/commit/a6a6db678068717093ea7b14e3eac262b9507c73))
|
|
308
|
+
|
|
309
|
+
## 1.0.0-alpha.0 (2022-12-06)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### Features
|
|
313
|
+
|
|
314
|
+
* add auth widget ([9c43a0d](https://github.com/memori-ai/memori-react/commit/9c43a0d0dfbebcca3788dedd1307609d14b7389a))
|
|
315
|
+
* add avatar universal component ([5ca549f](https://github.com/memori-ai/memori-react/commit/5ca549f169d1d726208feebce82954d5c22e4e94))
|
|
316
|
+
* add blob ([56ee173](https://github.com/memori-ai/memori-react/commit/56ee1736eaea2fa5ccd8a94a775cd275aa8a664d))
|
|
317
|
+
* add block prop to button, update card snapshot ([dcac744](https://github.com/memori-ai/memori-react/commit/dcac74459dca2a825f56426e3cb547b5bb14a0a7))
|
|
318
|
+
* add change mode as separate component ([141c8ad](https://github.com/memori-ai/memori-react/commit/141c8ad543dfc3355e9fca0c2de7ced63f44ae5f))
|
|
319
|
+
* add chat bubble ([645fb11](https://github.com/memori-ai/memori-react/commit/645fb11bfa1c4de2f62bc3e527edb599a0355690))
|
|
320
|
+
* add chat component ([5a4fed6](https://github.com/memori-ai/memori-react/commit/5a4fed6ac4c6e019ac77c480ce05dd99c3b00b7f))
|
|
321
|
+
* add chat inputs ([626963d](https://github.com/memori-ai/memori-react/commit/626963da19b60e7914fed0bcb4ba754d1e2e71b8))
|
|
322
|
+
* add chat textarea ([b2b0236](https://github.com/memori-ai/memori-react/commit/b2b023626cdfe4492a60599bf349ef247ff283cc))
|
|
323
|
+
* add custom glb model viewer ([7a2ccd3](https://github.com/memori-ai/memori-react/commit/7a2ccd310e3b700d2dcded5e7876a267561613d9))
|
|
324
|
+
* add error boundary ([88e1a52](https://github.com/memori-ai/memori-react/commit/88e1a5204d1acec10c1db6bd1192ec8d9b8ef9fb))
|
|
325
|
+
* add example ([9271c63](https://github.com/memori-ai/memori-react/commit/9271c63fb4ed3653c69792710df2f4dea14a57f4))
|
|
326
|
+
* add export history button, fix avatar lint issues ([1947099](https://github.com/memori-ai/memori-react/commit/1947099d812deb3d3e838fc391d82ad483bda1ca))
|
|
327
|
+
* add first ui components ([dcc515e](https://github.com/memori-ai/memori-react/commit/dcc515e7bf189edc61efe8d715abf932d1863289))
|
|
328
|
+
* add ghost button ([9641815](https://github.com/memori-ai/memori-react/commit/964181519ef45b5d849b78d0bb367fa8cf666020))
|
|
329
|
+
* add header ([e26ee8d](https://github.com/memori-ai/memori-react/commit/e26ee8d679fb5fac401ca6a1c0c6d190fe950be6))
|
|
330
|
+
* add icons ([86c1b30](https://github.com/memori-ai/memori-react/commit/86c1b30ffa503a57203e4484251f72e12ccf4693))
|
|
331
|
+
* add icons ([f76ad0c](https://github.com/memori-ai/memori-react/commit/f76ad0c3c3ed3f76c7dbe68e78141681046a66d5))
|
|
332
|
+
* add icons ([674e528](https://github.com/memori-ai/memori-react/commit/674e5284a3f1534e55e8b7521ce35d3592da99db))
|
|
333
|
+
* add index entrypoint ([e86893b](https://github.com/memori-ai/memori-react/commit/e86893bdd0605657e599f75264dece4bd77f537a))
|
|
334
|
+
* add media widget ([12a65a4](https://github.com/memori-ai/memori-react/commit/12a65a44b61abe9e12e5d181fe3e70917dc01064))
|
|
335
|
+
* add rpm avatar view ([0dc4489](https://github.com/memori-ai/memori-react/commit/0dc4489a95205f0aef3ed85150af1d48dc1e92f2))
|
|
336
|
+
* add send on enter menu ([84a398e](https://github.com/memori-ai/memori-react/commit/84a398ede83ca011c95d47ee2c747e06b7150200))
|
|
337
|
+
* add share button ([603a6c8](https://github.com/memori-ai/memori-react/commit/603a6c8f9bde169619c209865c7cc395a1a52e14))
|
|
338
|
+
* add snippet ([6442c85](https://github.com/memori-ai/memori-react/commit/6442c85b15071fdb5bd3d24f21508bf4434a6e80))
|
|
339
|
+
* add start panel as separate component ([923368d](https://github.com/memori-ai/memori-react/commit/923368db2a0d7d6552be5f07e8a45a7195eaa2a0))
|
|
340
|
+
* add ui card, fix tooltip ([11be456](https://github.com/memori-ai/memori-react/commit/11be45666836108ee74ac9b36684d296663ebdb4))
|
|
341
|
+
* add ui drawer, enhance modal ([b2b9f38](https://github.com/memori-ai/memori-react/commit/b2b9f3859a7373c20ed30cc5b9711a4b4bb0d728))
|
|
342
|
+
* add ui modal ([704c747](https://github.com/memori-ai/memori-react/commit/704c74725031cd141d5e0b7c90329c3462040c30))
|
|
343
|
+
* add ui spin ([ee734a9](https://github.com/memori-ai/memori-react/commit/ee734a949794e42cc67c42996283ad4786fe0df9))
|
|
344
|
+
* add ui tooltip + blocked memori badge ([4e4c92e](https://github.com/memori-ai/memori-react/commit/4e4c92ebe5f37f1cdd21984c641769e03e5d5338))
|
|
345
|
+
* add upload menu ([f3fdd6a](https://github.com/memori-ai/memori-react/commit/f3fdd6ad106feaf28400b20d24cd5ecdffa59e4c))
|
|
346
|
+
* enhance ui components ([4447ad7](https://github.com/memori-ai/memori-react/commit/4447ad7ee83f017d837c81ea67f5fe8f70eee3e8))
|
|
347
|
+
* import helpers ([a8a73b6](https://github.com/memori-ai/memori-react/commit/a8a73b6a177c4799394c52eeb9a10311b8d6654e))
|
|
348
|
+
* working on widget ([5af9d82](https://github.com/memori-ai/memori-react/commit/5af9d8280ad52d2bb3787b8441bc1ada5b4d109c))
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
### Bug Fixes
|
|
352
|
+
|
|
353
|
+
* export history button btn classes ([fcc0bf6](https://github.com/memori-ai/memori-react/commit/fcc0bf696388461c49a5ffd24ee98d134fb35d4a))
|
|
354
|
+
* i18n import ([8791dbf](https://github.com/memori-ai/memori-react/commit/8791dbfe69abac45ff470efeaeeaa21b10285b5f))
|
|
355
|
+
* lint issues ([86251d5](https://github.com/memori-ai/memori-react/commit/86251d5ee1c37c9fc3777d4c0d590c7ca8a366c9))
|
|
356
|
+
* share button menu styles ([3cdee0f](https://github.com/memori-ai/memori-react/commit/3cdee0f11682cefd24b42e85cf88a0fe2acbc24c))
|
|
357
|
+
* styles + font ([28b5136](https://github.com/memori-ai/memori-react/commit/28b51366b2fc3f4367b923722574feb546c364fa))
|
|
358
|
+
* tooltip align left styles ([72ee3cf](https://github.com/memori-ai/memori-react/commit/72ee3cf3c41e3c8eb41f02d9481ce3d92e29e99e))
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### Changes
|
|
362
|
+
|
|
363
|
+
* cleanup helpers ([2213be8](https://github.com/memori-ai/memori-react/commit/2213be892771a37ffc8f2c45f9c35d72da862dd6))
|
|
364
|
+
* move widget ui to default layout ([4eacf30](https://github.com/memori-ai/memori-react/commit/4eacf3000c4dc4525ac170426bfec403dd092984))
|
|
365
|
+
* remove splitted code from widget, refactor start method, widget params ([1eebbe3](https://github.com/memori-ai/memori-react/commit/1eebbe319cff0e1630b61ded38b1ed8cf93ae09c))
|
|
366
|
+
* tenantID as fallback for baseURL ([2276529](https://github.com/memori-ai/memori-react/commit/2276529e1dc9a5f6a9d842eb8805e344b752fda0))
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### Maintenance
|
|
370
|
+
|
|
371
|
+
* add commitlint, husky, release-it ([159098d](https://github.com/memori-ai/memori-react/commit/159098da55f6bee2c9297a703528844ffadedf34))
|
|
372
|
+
* add formatting config + run prettier ([fbba151](https://github.com/memori-ai/memori-react/commit/fbba151ac8d7d90b4d62166da4ac3b30b72c9236))
|
|
373
|
+
* add husky pre-commit test + lint run ([aa709e4](https://github.com/memori-ai/memori-react/commit/aa709e48c25543c3cddf76ca838d9e10ecde6ec7))
|
|
374
|
+
* add license ([622da6b](https://github.com/memori-ai/memori-react/commit/622da6bf48be827af2ce932bfb354ad2a9b451d3))
|
|
375
|
+
* add linting tools ([9622e7d](https://github.com/memori-ai/memori-react/commit/9622e7d5ec5ad156893b98fe283181c2c54273b3))
|
|
376
|
+
* add mock data ([d03f361](https://github.com/memori-ai/memori-react/commit/d03f3611ad65933386f2d50d5ba0d96595fb7df0))
|
|
377
|
+
* add showSettings in header, default to false, add i18n ([cb91eeb](https://github.com/memori-ai/memori-react/commit/cb91eeb87587715c5406e5e0653963bc0cacfe4a))
|
|
378
|
+
* add storybook url in package.json, set node >= 16 ([10f5b85](https://github.com/memori-ai/memori-react/commit/10f5b85f4ccb9b446d500ee6e729741405ecfe0c))
|
|
379
|
+
* add storybook-static to gitignore ([294a9e3](https://github.com/memori-ai/memori-react/commit/294a9e3a9026f37d774c675bef1bca70cbf593da))
|
|
380
|
+
* add typecheck script ([5228a43](https://github.com/memori-ai/memori-react/commit/5228a43e6686256e4944ab44a505e13ad4405dc8))
|
|
381
|
+
* add typecheck script in husky pre-commit ([9754349](https://github.com/memori-ai/memori-react/commit/9754349cbf938204c3a189082ff4cf491ae784ab))
|
|
382
|
+
* cleanup ([8d0cd0b](https://github.com/memori-ai/memori-react/commit/8d0cd0b03fc94234c7e266f9345dded2fc1ff218))
|
|
383
|
+
* cleanup moved css from widget to change mode ([92be8eb](https://github.com/memori-ai/memori-react/commit/92be8ebf3c57dd528d5fa0fbf2b09dce167b39d3))
|
|
384
|
+
* fix export history button align ([97afcc6](https://github.com/memori-ai/memori-react/commit/97afcc64b4cd7e7d3dbede3be8ff9d053676428e))
|
|
385
|
+
* fix icons story imports ([d3d7bf4](https://github.com/memori-ai/memori-react/commit/d3d7bf489e3949d6eaf8c063e042e1fea0a26138))
|
|
386
|
+
* fix lint issues ([243c50d](https://github.com/memori-ai/memori-react/commit/243c50dabb2f59838564f4b4da37c9dccc660b37))
|
|
387
|
+
* fix lint issues ([4a28e22](https://github.com/memori-ai/memori-react/commit/4a28e22d4c4d367ea6acbf6f260c44790d8d1a24))
|
|
388
|
+
* fix lint issues ([2215492](https://github.com/memori-ai/memori-react/commit/2215492a2a9c260301531e6cd7ec81a4d9e18d4d))
|
|
389
|
+
* fix text area expand button styles ([49df632](https://github.com/memori-ai/memori-react/commit/49df632ff3b5248fd2f2501abf96dee7736e57b6))
|
|
390
|
+
* fix windows issue on end of line ([f1b99b0](https://github.com/memori-ai/memori-react/commit/f1b99b034d09e781d6cdf0bd844357375945a458))
|
|
391
|
+
* **i18n:** add i18n + translations files ([6790724](https://github.com/memori-ai/memori-react/commit/679072475a10dc30eb2fe9b90fb33721568ac756))
|
|
392
|
+
* **i18n:** add translations for blocked memori badge ([50d6af9](https://github.com/memori-ai/memori-react/commit/50d6af950d41ee010d48d08d47594fee1ade46e6))
|
|
393
|
+
* **i18n:** add translations for send on enter menu + fix width ([4917b1f](https://github.com/memori-ai/memori-react/commit/4917b1f2d9f6df00d1deba25c0b5a7552d15b25c))
|
|
394
|
+
* **i18n:** add translations for share button + fix width ([39af177](https://github.com/memori-ai/memori-react/commit/39af177b5f1ef5910ff8d7f946d5d4c7a9be27e3))
|
|
395
|
+
* **i18n:** add translations to auth, add tests ([cc16d64](https://github.com/memori-ai/memori-react/commit/cc16d64c43ba9119fcce8d31241d08b393d48b1d))
|
|
396
|
+
* mock position drawer for now ([27fd297](https://github.com/memori-ai/memori-react/commit/27fd297e10de1c90f50dbf05882f7a72af91415c))
|
|
397
|
+
* prepare for release ([99c839c](https://github.com/memori-ai/memori-react/commit/99c839c90b372cd0bfb0d5dbdac5514649cd79ae))
|
|
398
|
+
* prepare for release ([a553186](https://github.com/memori-ai/memori-react/commit/a5531863ebfa6d2e28a5d66013a62516207a82cc))
|
|
399
|
+
* remove tsup, go without bundler ([eb2e5b8](https://github.com/memori-ai/memori-react/commit/eb2e5b8d36a90d9f94720742dca736fe03176166))
|
|
400
|
+
* set pkg non-version ([abd5e9e](https://github.com/memori-ai/memori-react/commit/abd5e9e97c822917d0310496cc9f19dbbeeb9325))
|
|
401
|
+
* storybook compatibility with react 17 ([4ed785b](https://github.com/memori-ai/memori-react/commit/4ed785b299c2a9546eba4c204892dfdda202045b))
|
|
402
|
+
* switch to tsup ([54d1436](https://github.com/memori-ai/memori-react/commit/54d1436a6195303806c2c32985f6801ae6292d67))
|
|
403
|
+
* update gitignore ([7305a24](https://github.com/memori-ai/memori-react/commit/7305a24c1ae5b35c8f377988f710a50747c2182b))
|
|
404
|
+
* update lockfile ([eed8d8b](https://github.com/memori-ai/memori-react/commit/eed8d8bbd621319be3f7a8eb54989e126ba21d85))
|
|
405
|
+
* update tsconfig ([f008b7d](https://github.com/memori-ai/memori-react/commit/f008b7d9be9b67596a5626515ec99bcf3e0cdc7c))
|
|
406
|
+
* upgrade api client lib ([8f11101](https://github.com/memori-ai/memori-react/commit/8f1110195b8975135e2b9da9e6a265cd7380569d))
|
|
407
|
+
* upgrade cognitive-services-speech-sdk-js ([e1f9ed5](https://github.com/memori-ai/memori-react/commit/e1f9ed57c128791297c9215f780032104b7664a2))
|
package/README.md
CHANGED
|
@@ -27,15 +27,28 @@ npm install @memori.ai/memori-react
|
|
|
27
27
|
|
|
28
28
|
## Usage
|
|
29
29
|
|
|
30
|
+
Import the component:
|
|
31
|
+
|
|
30
32
|
```tsx
|
|
31
33
|
import Memori from '@memori.ai/memori-react';
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Import the CSS:
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
import '@memori.ai/memori-react/dist/styles.css';
|
|
40
|
+
```
|
|
32
41
|
|
|
42
|
+
Then use it in your app:
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
33
45
|
const App = () => (
|
|
34
46
|
<Memori
|
|
35
47
|
memoriName="Memori"
|
|
36
48
|
ownerUserName="nunziofiore"
|
|
37
49
|
tenantID="app.memorytwin.com"
|
|
38
50
|
apiURL="https://backend.memori.ai"
|
|
51
|
+
baseURL="https://app.memorytwin.com"
|
|
39
52
|
uiLang="it"
|
|
40
53
|
showShare
|
|
41
54
|
height="100vh"
|
|
@@ -53,6 +66,7 @@ const App = () => (
|
|
|
53
66
|
| `ownerUserID` | \* (see below) | `string` | | ID of the Memori owner |
|
|
54
67
|
| `tenantID` | ✔️ | `string` | | Tenant ID, example: "app.twincreator.com" or "app.memorytwin.com" |
|
|
55
68
|
| `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. |
|
|
69
|
+
| `authToken` | | `string` | | Authentication token from user login, needed for giver sessions to upload assets |
|
|
56
70
|
| `integrationID` | | `string` | | Integration ID, UUID which refers to the public page layout |
|
|
57
71
|
| `secretToken` | | `string` | | Secret token, the password of a private or secret Memori |
|
|
58
72
|
| `height` | | `string` | "100%" | Height of the Memori |
|
|
@@ -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
|
+
export interface Props {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
onCancel?: () => void;
|
|
4
|
+
onOk: ({ url, title }: {
|
|
5
|
+
url: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}) => void;
|
|
8
|
+
apiURL?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const AttachmentLinkModal: ({ visible, onCancel, onOk }: Props) => JSX.Element;
|
|
11
|
+
export default AttachmentLinkModal;
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
const AttachmentLinkModal = ({ visible, onCancel, onOk }) => {
|
|
10
|
+
var _a, _b, _c;
|
|
11
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
12
|
+
const [newLink, setNewLink] = (0, react_1.useState)({
|
|
13
|
+
url: '',
|
|
14
|
+
title: '',
|
|
15
|
+
});
|
|
16
|
+
const onKeyPress = (e) => {
|
|
17
|
+
if (e.key === 'Enter') {
|
|
18
|
+
if ((newLink === null || newLink === void 0 ? void 0 : newLink.url.length) === 0 || (newLink === null || newLink === void 0 ? void 0 : newLink.title.length) === 0)
|
|
19
|
+
return;
|
|
20
|
+
let saveButton = document.getElementById('save-link-button');
|
|
21
|
+
if (saveButton) {
|
|
22
|
+
saveButton.click();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
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: () => {
|
|
27
|
+
if (onCancel)
|
|
28
|
+
onCancel();
|
|
29
|
+
}, footer: react_1.default.createElement(react_1.default.Fragment, null,
|
|
30
|
+
react_1.default.createElement(Button_1.default, { onClick: onCancel }, t('cancel')),
|
|
31
|
+
react_1.default.createElement(Button_1.default, { id: "save-link-button", primary: true, onClick: () => {
|
|
32
|
+
if ((newLink === null || newLink === void 0 ? void 0 : newLink.url.length) === 0 || (newLink === null || newLink === void 0 ? void 0 : newLink.title.length) === 0)
|
|
33
|
+
return;
|
|
34
|
+
onOk(newLink);
|
|
35
|
+
setNewLink({ url: '', title: '' });
|
|
36
|
+
}, 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'))) },
|
|
37
|
+
react_1.default.createElement("div", { className: "attachment-link-modal--row" },
|
|
38
|
+
react_1.default.createElement("div", { className: "attachment-link-modal--column" },
|
|
39
|
+
react_1.default.createElement("label", { htmlFor: "new-link-url", className: "attachment-link-modal--label" },
|
|
40
|
+
t('media.linkKey'),
|
|
41
|
+
":"),
|
|
42
|
+
react_1.default.createElement("input", { type: "url", className: "attachment-link-modal--input ", onChange: e => {
|
|
43
|
+
let value = e.target.value.startsWith('http') || e.target.value.length === 0
|
|
44
|
+
? e.target.value
|
|
45
|
+
: `https://${e.target.value}`;
|
|
46
|
+
setNewLink(l => { var _a; return ({ title: (_a = l === null || l === void 0 ? void 0 : l.title) !== null && _a !== void 0 ? _a : '', url: value }); });
|
|
47
|
+
}, placeholder: "https://memori.ai/...", value: newLink === null || newLink === void 0 ? void 0 : newLink.url, name: "url", onKeyDown: onKeyPress }),
|
|
48
|
+
react_1.default.createElement("label", { htmlFor: "new-link-title", className: "attachment-link-modal--label" },
|
|
49
|
+
t('media.linkValue'),
|
|
50
|
+
":"),
|
|
51
|
+
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 })),
|
|
52
|
+
react_1.default.createElement("div", { className: "attachment-link-modal--column" },
|
|
53
|
+
react_1.default.createElement("div", { className: "attachment-link-modal--centered" },
|
|
54
|
+
react_1.default.createElement(LinkItemWidget_1.RenderLinkItem, { key: (_a = newLink === null || newLink === void 0 ? void 0 : newLink.url) !== null && _a !== void 0 ? _a : '', item: {
|
|
55
|
+
title: (_b = newLink === null || newLink === void 0 ? void 0 : newLink.title) !== null && _b !== void 0 ? _b : '',
|
|
56
|
+
url: (_c = newLink === null || newLink === void 0 ? void 0 : newLink.url) !== null && _c !== void 0 ? _c : '',
|
|
57
|
+
mediumID: '',
|
|
58
|
+
mimeType: 'text/html',
|
|
59
|
+
}, onLinkPreviewInfo: data => {
|
|
60
|
+
var _a;
|
|
61
|
+
if (!((_a = newLink === null || newLink === void 0 ? void 0 : newLink.title) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
62
|
+
setNewLink(l => {
|
|
63
|
+
var _a;
|
|
64
|
+
return ({
|
|
65
|
+
...l,
|
|
66
|
+
title: (_a = data === null || data === void 0 ? void 0 : data.title) !== null && _a !== void 0 ? _a : '',
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
} }))))));
|
|
71
|
+
};
|
|
72
|
+
exports.default = AttachmentLinkModal;
|
|
73
|
+
//# 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,24 @@
|
|
|
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
|
+
require("./AttachmentLinkModal.css");
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'AttachmentLinkModal',
|
|
10
|
+
component: AttachmentLinkModal_1.default,
|
|
11
|
+
parameters: {
|
|
12
|
+
controls: { expanded: true },
|
|
13
|
+
layout: 'fullscreen',
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
exports.default = meta;
|
|
17
|
+
const Template = args => react_1.default.createElement(AttachmentLinkModal_1.default, { ...args });
|
|
18
|
+
exports.Default = Template.bind({});
|
|
19
|
+
exports.Default.args = {
|
|
20
|
+
visible: true,
|
|
21
|
+
onCancel: () => { },
|
|
22
|
+
onOk: () => { },
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=AttachmentLinkModal.stories.js.map
|