@memori.ai/memori-react 8.11.0 → 8.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +74 -0
- package/dist/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/dist/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
- package/dist/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
- package/dist/components/Auth/Auth.js +36 -8
- package/dist/components/Auth/Auth.js.map +1 -1
- package/dist/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/dist/components/Chat/Chat.css +37 -3
- package/dist/components/Chat/Chat.js +61 -23
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.css +87 -15
- package/dist/components/ChatBubble/ChatBubble.js +129 -19
- package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/dist/components/ChatInputs/ChatInputs.css +293 -17
- package/dist/components/ChatInputs/ChatInputs.d.ts +1 -0
- package/dist/components/ChatInputs/ChatInputs.js +48 -27
- package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
- package/dist/components/ChatTextArea/ChatTextArea.css +75 -31
- package/dist/components/ChatTextArea/ChatTextArea.js +47 -18
- package/dist/components/ChatTextArea/ChatTextArea.js.map +1 -1
- package/dist/components/DateSelector/DateSelector.css +125 -104
- package/dist/components/DateSelector/DateSelector.d.ts +1 -1
- package/dist/components/DateSelector/DateSelector.js +110 -52
- package/dist/components/DateSelector/DateSelector.js.map +1 -1
- package/dist/components/FilePreview/FilePreview.css +225 -146
- package/dist/components/FilePreview/FilePreview.d.ts +1 -2
- package/dist/components/FilePreview/FilePreview.js +20 -6
- package/dist/components/FilePreview/FilePreview.js.map +1 -1
- package/dist/components/Header/Header.css +2 -2
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/LoginDrawer/LoginDrawer.css +37 -5
- package/dist/components/LoginDrawer/LoginDrawer.d.ts +1 -2
- package/dist/components/LoginDrawer/LoginDrawer.js +2 -9
- package/dist/components/LoginDrawer/LoginDrawer.js.map +1 -1
- package/dist/components/MediaWidget/MediaItemWidget.js +2 -1
- package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
- package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.css +11 -2
- package/dist/components/MemoriWidget/MemoriWidget.js +105 -25
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/MicrophoneButton/MicrophoneButton.css +2 -2
- package/dist/components/StartPanel/StartPanel.css +8 -0
- package/dist/components/UploadButton/UploadButton.css +20 -17
- package/dist/components/UploadButton/UploadButton.js +218 -87
- package/dist/components/UploadButton/UploadButton.js.map +1 -1
- package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js +14 -4
- package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
- package/dist/components/UploadButton/UploadImages/UploadImages.js +143 -16
- package/dist/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
- package/dist/components/layouts/chat.css +1 -1
- package/dist/components/ui/Drawer.css +8 -0
- package/dist/components/ui/Drawer.d.ts +2 -0
- package/dist/components/ui/Drawer.js +2 -2
- package/dist/components/ui/Drawer.js.map +1 -1
- package/dist/components/ui/Tooltip.css +49 -1
- package/dist/components/ui/Tooltip.d.ts +1 -1
- package/dist/helpers/constants.d.ts +1 -0
- package/dist/helpers/constants.js +2 -1
- package/dist/helpers/constants.js.map +1 -1
- package/dist/helpers/imageCompression.d.ts +7 -0
- package/dist/helpers/imageCompression.js +123 -0
- package/dist/helpers/imageCompression.js.map +1 -0
- package/dist/locales/de.json +13 -5
- package/dist/locales/en.json +17 -6
- package/dist/locales/es.json +13 -5
- package/dist/locales/fr.json +12 -5
- package/dist/locales/it.json +16 -6
- package/dist/styles.css +4 -4
- package/esm/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/esm/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
- package/esm/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
- package/esm/components/Auth/Auth.js +36 -8
- package/esm/components/Auth/Auth.js.map +1 -1
- package/esm/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/esm/components/Chat/Chat.css +37 -3
- package/esm/components/Chat/Chat.js +61 -23
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.css +87 -15
- package/esm/components/ChatBubble/ChatBubble.js +130 -20
- package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/esm/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/esm/components/ChatInputs/ChatInputs.css +293 -17
- package/esm/components/ChatInputs/ChatInputs.d.ts +1 -0
- package/esm/components/ChatInputs/ChatInputs.js +49 -28
- package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
- package/esm/components/ChatTextArea/ChatTextArea.css +75 -31
- package/esm/components/ChatTextArea/ChatTextArea.js +49 -20
- package/esm/components/ChatTextArea/ChatTextArea.js.map +1 -1
- package/esm/components/DateSelector/DateSelector.css +125 -104
- package/esm/components/DateSelector/DateSelector.d.ts +1 -1
- package/esm/components/DateSelector/DateSelector.js +111 -52
- package/esm/components/DateSelector/DateSelector.js.map +1 -1
- package/esm/components/FilePreview/FilePreview.css +225 -146
- package/esm/components/FilePreview/FilePreview.d.ts +1 -2
- package/esm/components/FilePreview/FilePreview.js +21 -7
- package/esm/components/FilePreview/FilePreview.js.map +1 -1
- package/esm/components/Header/Header.css +2 -2
- package/esm/components/Header/Header.js +1 -1
- package/esm/components/Header/Header.js.map +1 -1
- package/esm/components/LoginDrawer/LoginDrawer.css +37 -5
- package/esm/components/LoginDrawer/LoginDrawer.d.ts +1 -2
- package/esm/components/LoginDrawer/LoginDrawer.js +2 -9
- package/esm/components/LoginDrawer/LoginDrawer.js.map +1 -1
- package/esm/components/MediaWidget/MediaItemWidget.js +2 -1
- package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
- package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.css +11 -2
- package/esm/components/MemoriWidget/MemoriWidget.js +105 -25
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/MicrophoneButton/MicrophoneButton.css +2 -2
- package/esm/components/StartPanel/StartPanel.css +8 -0
- package/esm/components/UploadButton/UploadButton.css +20 -17
- package/esm/components/UploadButton/UploadButton.js +219 -88
- package/esm/components/UploadButton/UploadButton.js.map +1 -1
- package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js +14 -4
- package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
- package/esm/components/UploadButton/UploadImages/UploadImages.js +143 -16
- package/esm/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
- package/esm/components/layouts/chat.css +1 -1
- package/esm/components/ui/Drawer.css +8 -0
- package/esm/components/ui/Drawer.d.ts +2 -0
- package/esm/components/ui/Drawer.js +2 -2
- package/esm/components/ui/Drawer.js.map +1 -1
- package/esm/components/ui/Tooltip.css +49 -1
- package/esm/components/ui/Tooltip.d.ts +1 -1
- package/esm/helpers/constants.d.ts +1 -0
- package/esm/helpers/constants.js +1 -0
- package/esm/helpers/constants.js.map +1 -1
- package/esm/helpers/imageCompression.d.ts +7 -0
- package/esm/helpers/imageCompression.js +119 -0
- package/esm/helpers/imageCompression.js.map +1 -0
- package/esm/locales/de.json +13 -5
- package/esm/locales/en.json +17 -6
- package/esm/locales/es.json +13 -5
- package/esm/locales/fr.json +12 -5
- package/esm/locales/it.json +16 -6
- package/esm/styles.css +4 -4
- package/package.json +2 -2
- package/src/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/src/components/AgeVerificationModal/AgeVerificationModal.tsx +3 -1
- package/src/components/Auth/Auth.tsx +55 -11
- package/src/components/Avatar/Avatar.stories.tsx +3 -0
- package/src/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/src/components/Chat/Chat.css +37 -3
- package/src/components/Chat/Chat.stories.tsx +16 -2
- package/src/components/Chat/Chat.tsx +90 -21
- package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +1752 -812
- package/src/components/ChatBubble/ChatBubble.css +87 -15
- package/src/components/ChatBubble/ChatBubble.stories.tsx +16 -2
- package/src/components/ChatBubble/ChatBubble.test.tsx +17 -0
- package/src/components/ChatBubble/ChatBubble.tsx +237 -33
- package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +304 -8
- package/src/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/src/components/ChatInputs/ChatInputs.css +293 -17
- package/src/components/ChatInputs/ChatInputs.tsx +156 -86
- package/src/components/ChatInputs/__snapshots__/ChatInputs.test.tsx.snap +430 -424
- package/src/components/ChatTextArea/ChatTextArea.css +75 -31
- package/src/components/ChatTextArea/ChatTextArea.test.tsx +1 -16
- package/src/components/ChatTextArea/ChatTextArea.tsx +51 -22
- package/src/components/ChatTextArea/__snapshots__/ChatTextArea.test.tsx.snap +9 -72
- package/src/components/DateSelector/DateSelector.css +125 -104
- package/src/components/DateSelector/DateSelector.stories.tsx +1 -1
- package/src/components/DateSelector/DateSelector.test.tsx +137 -23
- package/src/components/DateSelector/DateSelector.tsx +203 -177
- package/src/components/FilePreview/FilePreview.css +225 -146
- package/src/components/FilePreview/FilePreview.tsx +49 -36
- package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +2 -2
- package/src/components/Header/Header.css +2 -2
- package/src/components/Header/Header.stories.tsx +5 -1
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/__snapshots__/Header.test.tsx.snap +1 -1
- package/src/components/LoginDrawer/LoginDrawer.css +37 -5
- package/src/components/LoginDrawer/LoginDrawer.stories.tsx +0 -1
- package/src/components/LoginDrawer/LoginDrawer.test.tsx +0 -1
- package/src/components/LoginDrawer/LoginDrawer.tsx +0 -19
- package/src/components/MediaWidget/MediaItemWidget.tsx +2 -1
- package/src/components/MemoriArtifactSystem/ArtifactDrawer.stories.tsx +996 -204
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +2 -2
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.tsx +1 -1
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.tsx +3 -0
- package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +56 -54
- package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +12 -3
- package/src/components/MemoriWidget/MemoriWidget.css +11 -2
- package/src/components/MemoriWidget/MemoriWidget.stories.tsx +6 -3
- package/src/components/MemoriWidget/MemoriWidget.tsx +173 -49
- package/src/components/MicrophoneButton/MicrophoneButton.css +2 -2
- package/src/components/StartPanel/StartPanel.css +8 -0
- package/src/components/UploadButton/UploadButton.css +20 -17
- package/src/components/UploadButton/UploadButton.stories.tsx +247 -35
- package/src/components/UploadButton/UploadButton.tsx +280 -173
- package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +19 -4
- package/src/components/UploadButton/UploadImages/UploadImages.tsx +196 -35
- package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +10 -1
- package/src/components/layouts/FullBody/FullBody.stories.tsx +9 -10
- package/src/components/layouts/Totem/Totem.stories.tsx +8 -9
- package/src/components/layouts/ZoomedFullBody/ZoomedFullBody.stories.tsx +8 -9
- package/src/components/layouts/chat.css +1 -1
- package/src/components/layouts/layouts.stories.tsx +10 -9
- package/src/components/ui/Drawer.css +8 -0
- package/src/components/ui/Drawer.tsx +16 -12
- package/src/components/ui/Tooltip.css +49 -1
- package/src/components/ui/Tooltip.tsx +1 -1
- package/src/helpers/constants.ts +1 -1
- package/src/helpers/imageCompression.ts +230 -0
- package/src/index.stories.tsx +18 -0
- package/src/locales/de.json +13 -5
- package/src/locales/en.json +17 -6
- package/src/locales/es.json +13 -5
- package/src/locales/fr.json +12 -5
- package/src/locales/it.json +16 -6
- package/src/mocks/data.ts +4 -2
- package/src/styles.css +4 -4
- package/src/components/SignupForm/SignupForm.test.tsx +0 -40
- package/src/components/SignupForm/SignupForm.tsx +0 -457
- package/src/components/SignupForm/__snapshots__/SignupForm.test.tsx.snap +0 -247
- package/src/components/UploadMenu/UploadMenu.css +0 -47
- package/src/components/UploadMenu/UploadMenu.stories.tsx +0 -66
- package/src/components/UploadMenu/UploadMenu.test.tsx +0 -34
- package/src/components/UploadMenu/UploadMenu.tsx +0 -68
- package/src/components/UploadMenu/__snapshots__/UploadMenu.test.tsx.snap +0 -137
|
@@ -1,78 +1,128 @@
|
|
|
1
1
|
.memori-chat-textarea {
|
|
2
2
|
position: relative;
|
|
3
|
-
|
|
3
|
+
display: flex;
|
|
4
|
+
width: 100%;
|
|
5
|
+
min-height: 36px;
|
|
4
6
|
box-sizing: border-box;
|
|
5
|
-
flex: 1
|
|
6
|
-
|
|
7
|
+
flex: 1;
|
|
8
|
+
align-items: center;
|
|
7
9
|
transition: height 0.2s ease-in-out;
|
|
8
|
-
/* margin-left: 0.5rem; */
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.memori-chat-textarea--expanded {
|
|
12
|
-
height:
|
|
13
|
+
min-height: 36px;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
/* Responsive adjustments for small screens */
|
|
16
17
|
@media (max-width: 768px) {
|
|
17
18
|
.memori-chat-textarea--expanded {
|
|
18
|
-
height:
|
|
19
|
+
min-height: 36px;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
@media (max-width: 480px) {
|
|
23
24
|
.memori-chat-textarea--expanded {
|
|
24
|
-
height:
|
|
25
|
+
min-height: 36px;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
.memori-chat-textarea--inner {
|
|
29
|
-
position:
|
|
30
|
-
right: 0;
|
|
31
|
-
bottom: 0;
|
|
32
|
-
left: 0;
|
|
30
|
+
position: relative;
|
|
33
31
|
display: flex;
|
|
34
32
|
overflow: hidden;
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
width: 100%;
|
|
34
|
+
min-height: 36px;
|
|
35
|
+
max-height: 208px;
|
|
37
36
|
box-sizing: border-box;
|
|
38
|
-
border:
|
|
39
|
-
border-radius:
|
|
40
|
-
background:
|
|
41
|
-
transition:
|
|
37
|
+
border: none;
|
|
38
|
+
border-radius: 0;
|
|
39
|
+
background: transparent;
|
|
40
|
+
transition: height 0.2s ease-in-out;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
.memori-chat-textarea--expanded .memori-chat-textarea--inner {
|
|
45
|
-
max-height:
|
|
44
|
+
max-height: 208px;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
/* Responsive adjustments for textarea inner */
|
|
49
48
|
@media (max-width: 768px) {
|
|
49
|
+
.memori-chat-textarea--inner {
|
|
50
|
+
max-height: 200px;
|
|
51
|
+
}
|
|
52
|
+
|
|
50
53
|
.memori-chat-textarea--expanded .memori-chat-textarea--inner {
|
|
51
54
|
max-height: 200px;
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
@media (max-width: 480px) {
|
|
59
|
+
.memori-chat-textarea--inner {
|
|
60
|
+
max-height: 150px;
|
|
61
|
+
}
|
|
62
|
+
|
|
56
63
|
.memori-chat-textarea--expanded .memori-chat-textarea--inner {
|
|
57
64
|
max-height: 150px;
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
67
|
|
|
61
68
|
.memori-chat-textarea--disabled .memori-chat-textarea--inner {
|
|
62
|
-
|
|
63
|
-
opacity: 0.8;
|
|
69
|
+
opacity: 0.5;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
textarea.memori-chat-textarea--input {
|
|
67
73
|
width: 100%;
|
|
68
|
-
height:
|
|
74
|
+
min-height: 36px;
|
|
75
|
+
max-height: 208px;
|
|
69
76
|
box-sizing: border-box;
|
|
70
|
-
padding:
|
|
77
|
+
/* padding: 8px 0; */
|
|
71
78
|
border: none;
|
|
72
|
-
background:
|
|
79
|
+
background: transparent;
|
|
73
80
|
color: #000;
|
|
74
|
-
font-family: var(--memori-font-family);
|
|
81
|
+
font-family: var(--memori-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
|
|
82
|
+
font-size: 16px;
|
|
83
|
+
line-height: 1.5;
|
|
84
|
+
overflow-y: auto;
|
|
75
85
|
resize: none;
|
|
86
|
+
scrollbar-width: thin;
|
|
87
|
+
transition: height 0.2s ease-in-out;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Placeholder styling */
|
|
91
|
+
textarea.memori-chat-textarea--input::placeholder {
|
|
92
|
+
color: rgba(0, 0, 0, 0.5);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Scrollbar styling */
|
|
96
|
+
textarea.memori-chat-textarea--input::-webkit-scrollbar {
|
|
97
|
+
width: 6px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
textarea.memori-chat-textarea--input::-webkit-scrollbar-track {
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
textarea.memori-chat-textarea--input::-webkit-scrollbar-thumb {
|
|
105
|
+
border-radius: 3px;
|
|
106
|
+
background: rgba(0, 0, 0, 0.2);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
textarea.memori-chat-textarea--input::-webkit-scrollbar-thumb:hover {
|
|
110
|
+
background: rgba(0, 0, 0, 0.3);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Responsive adjustments for textarea input */
|
|
114
|
+
@media (max-width: 768px) {
|
|
115
|
+
textarea.memori-chat-textarea--input {
|
|
116
|
+
max-height: 200px;
|
|
117
|
+
font-size: 16px; /* Prevent zoom on iOS */
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (max-width: 480px) {
|
|
122
|
+
textarea.memori-chat-textarea--input {
|
|
123
|
+
max-height: 150px;
|
|
124
|
+
font-size: 16px; /* Prevent zoom on iOS */
|
|
125
|
+
}
|
|
76
126
|
}
|
|
77
127
|
|
|
78
128
|
textarea.memori-chat-textarea--input:focus {
|
|
@@ -81,6 +131,7 @@ textarea.memori-chat-textarea--input:focus {
|
|
|
81
131
|
|
|
82
132
|
.memori-chat-textarea--disabled textarea.memori-chat-textarea--input {
|
|
83
133
|
cursor: not-allowed;
|
|
134
|
+
opacity: 0.5;
|
|
84
135
|
}
|
|
85
136
|
|
|
86
137
|
.memori-chat-textarea--expand {
|
|
@@ -97,15 +148,12 @@ button.memori-chat-textarea--expand-button {
|
|
|
97
148
|
|
|
98
149
|
button.memori-chat-textarea--expand-button:hover,
|
|
99
150
|
button.memori-chat-textarea--expand-button:focus {
|
|
100
|
-
color: #000;
|
|
101
151
|
opacity: 1;
|
|
102
152
|
}
|
|
103
153
|
|
|
104
154
|
.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea--inner:hover,
|
|
105
155
|
.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea--inner:focus,
|
|
106
156
|
.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea--inner:focus-within {
|
|
107
|
-
border-color: var(--memori-primary);
|
|
108
|
-
box-shadow: none;
|
|
109
157
|
outline: none;
|
|
110
158
|
}
|
|
111
159
|
|
|
@@ -117,7 +165,3 @@ button.memori-chat-textarea--expand-button:focus {
|
|
|
117
165
|
.memori-chat-textarea--expand-button {
|
|
118
166
|
opacity: 1;
|
|
119
167
|
}
|
|
120
|
-
|
|
121
|
-
.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea-inner:focus-within {
|
|
122
|
-
box-shadow: 0 0.2rem 0.33rem #b5b6c4;
|
|
123
|
-
}
|
|
@@ -1,30 +1,59 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useRef, useEffect } from 'react';
|
|
3
3
|
import cx from 'classnames';
|
|
4
|
-
import Button from '../ui/Button';
|
|
5
|
-
import Expand from '../icons/Expand';
|
|
6
|
-
import FullscreenExit from '../icons/FullscreenExit';
|
|
7
4
|
import { useTranslation } from 'react-i18next';
|
|
8
5
|
const ChatTextArea = ({ disabled = false, value, onChange, onPressEnter, onFocus, onBlur, onExpandedChange, }) => {
|
|
9
6
|
const { t } = useTranslation();
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
const textareaRef = useRef(null);
|
|
8
|
+
const innerRef = useRef(null);
|
|
9
|
+
const MIN_HEIGHT = 36;
|
|
10
|
+
const MAX_HEIGHT = 208;
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
const textarea = textareaRef.current;
|
|
13
|
+
const inner = innerRef.current;
|
|
14
|
+
if (textarea && inner) {
|
|
15
|
+
if (value.length === 0) {
|
|
16
|
+
textarea.style.height = `${MIN_HEIGHT}px`;
|
|
17
|
+
inner.style.height = `${MIN_HEIGHT}px`;
|
|
18
|
+
if (onExpandedChange) {
|
|
19
|
+
onExpandedChange(false);
|
|
20
|
+
}
|
|
21
|
+
const chat = document.getElementsByClassName('memori-chat--content');
|
|
22
|
+
if (chat) {
|
|
23
|
+
const lastChild = chat[chat.length - 1];
|
|
24
|
+
if (lastChild) {
|
|
25
|
+
lastChild.style.paddingBottom = '0px';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
textarea.style.height = 'auto';
|
|
31
|
+
const scrollHeight = textarea.scrollHeight;
|
|
32
|
+
const newHeight = Math.min(Math.max(scrollHeight, MIN_HEIGHT), MAX_HEIGHT);
|
|
33
|
+
textarea.style.height = `${newHeight}px`;
|
|
34
|
+
inner.style.height = `${newHeight}px`;
|
|
35
|
+
const chat = document.getElementsByClassName('memori-chat--content');
|
|
36
|
+
if (chat) {
|
|
37
|
+
const lastChild = chat[chat.length - 1];
|
|
38
|
+
if (lastChild) {
|
|
39
|
+
chat[0].scrollTo({
|
|
40
|
+
top: chat[0].scrollHeight,
|
|
41
|
+
behavior: 'smooth'
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
16
46
|
}
|
|
17
|
-
};
|
|
47
|
+
}, [value]);
|
|
18
48
|
return (_jsx("div", { "data-testid": "chat-textarea", className: cx('memori-chat-textarea', {
|
|
19
|
-
'memori-chat-textarea--expanded': expanded,
|
|
20
49
|
'memori-chat-textarea--disabled': disabled,
|
|
21
|
-
}), children:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
50
|
+
}), children: _jsx("div", { ref: innerRef, className: "memori-chat-textarea--inner", children: _jsx("textarea", { ref: textareaRef, className: "memori-chat-textarea--input", disabled: disabled, value: value, placeholder: t('placeholder', 'Ask a question') || 'Ask a question', onChange: e => {
|
|
51
|
+
onChange(e.target.value);
|
|
52
|
+
}, onKeyDownCapture: e => {
|
|
53
|
+
if (e.key === 'Enter' && !e.shiftKey && onPressEnter) {
|
|
54
|
+
onPressEnter(e);
|
|
55
|
+
}
|
|
56
|
+
}, onFocus: onFocus, onBlur: onBlur, maxLength: 100000 }) }) }));
|
|
28
57
|
};
|
|
29
58
|
export default ChatTextArea;
|
|
30
59
|
//# sourceMappingURL=ChatTextArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatTextArea.js","sourceRoot":"","sources":["../../../src/components/ChatTextArea/ChatTextArea.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"ChatTextArea.js","sourceRoot":"","sources":["../../../src/components/ChatTextArea/ChatTextArea.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,137 +1,158 @@
|
|
|
1
|
+
/* Screen reader only - visually hidden but accessible */
|
|
2
|
+
.sr-only {
|
|
3
|
+
position: absolute;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
width: 1px;
|
|
6
|
+
height: 1px;
|
|
7
|
+
padding: 0;
|
|
8
|
+
border-width: 0;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
clip: rect(0, 0, 0, 0);
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Base Container */
|
|
1
15
|
.memori--date-selector {
|
|
2
|
-
|
|
3
|
-
|
|
16
|
+
width: 100%;
|
|
17
|
+
/* margin-top: 1.5rem; */
|
|
4
18
|
}
|
|
5
19
|
|
|
6
|
-
|
|
7
|
-
|
|
20
|
+
/* Mobile Styles */
|
|
21
|
+
.memori--date-selector--mobile {
|
|
22
|
+
display: flex;
|
|
23
|
+
width: 100%;
|
|
8
24
|
max-width: 100%;
|
|
9
|
-
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
padding: 0;
|
|
28
|
+
margin: 1rem 0;
|
|
10
29
|
}
|
|
11
30
|
|
|
12
|
-
.memori--date-
|
|
13
|
-
|
|
31
|
+
.memori--date-selector__mobile-label {
|
|
32
|
+
display: block;
|
|
14
33
|
width: 100%;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
border: 1px solid #e5e7eb;
|
|
20
|
-
border-radius: 0.5rem;
|
|
21
|
-
background: #fff;
|
|
22
|
-
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
|
|
23
|
-
rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
|
|
24
|
-
cursor: pointer;
|
|
34
|
+
margin-bottom: 0.5rem;
|
|
35
|
+
color: #374151;
|
|
36
|
+
font-size: 0.95rem;
|
|
37
|
+
font-weight: 500;
|
|
25
38
|
text-align: left;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
|
-
.memori--date-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
border
|
|
35
|
-
|
|
41
|
+
.memori--date-selector__mobile-input {
|
|
42
|
+
width: 100%;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
min-height: 48px;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
padding: 0.875rem 1rem;
|
|
47
|
+
border: 1px solid #e5e7eb;
|
|
48
|
+
border-radius: 0.5rem;
|
|
49
|
+
-webkit-appearance: none;
|
|
50
|
+
appearance: none;
|
|
51
|
+
background: #ffffff;
|
|
52
|
+
/* Touch-friendly */
|
|
53
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
54
|
+
color: #1f2937;
|
|
55
|
+
font-size: 1rem;
|
|
56
|
+
transition: all 0.2s ease;
|
|
36
57
|
}
|
|
37
58
|
|
|
38
|
-
.memori--date-
|
|
39
|
-
border-color: #
|
|
59
|
+
.memori--date-selector__mobile-input:focus {
|
|
60
|
+
border-color: var(--memori-primary, #9333ea);
|
|
61
|
+
box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
|
|
62
|
+
outline: none;
|
|
40
63
|
}
|
|
41
64
|
|
|
42
|
-
.memori--date-
|
|
43
|
-
border-color: #
|
|
65
|
+
.memori--date-selector__mobile-input:active {
|
|
66
|
+
border-color: var(--memori-primary, #9333ea);
|
|
44
67
|
}
|
|
45
68
|
|
|
46
|
-
.memori--date-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
color: #a0aec0;
|
|
69
|
+
.memori--date-selector__mobile-input:disabled {
|
|
70
|
+
background-color: #f9fafb;
|
|
71
|
+
color: #9ca3af;
|
|
50
72
|
cursor: not-allowed;
|
|
73
|
+
opacity: 0.6;
|
|
51
74
|
}
|
|
52
75
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
.memori--date-selector__select-label {
|
|
61
|
-
display: inline-block;
|
|
62
|
-
margin-bottom: 0.25rem;
|
|
76
|
+
/* Desktop Styles */
|
|
77
|
+
.memori--date-selector--desktop {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-wrap: wrap;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
gap: 1rem;
|
|
63
82
|
}
|
|
64
83
|
|
|
65
|
-
.memori--date-
|
|
66
|
-
display:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
84
|
+
.memori--date-selector__input-group {
|
|
85
|
+
display: flex;
|
|
86
|
+
min-width: 80px;
|
|
87
|
+
/* flex: 1; */
|
|
88
|
+
flex-direction: column;
|
|
70
89
|
}
|
|
71
90
|
|
|
72
|
-
.memori--date-
|
|
73
|
-
|
|
74
|
-
top: 0;
|
|
75
|
-
right: 0;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
padding-right: 0.5rem;
|
|
80
|
-
pointer-events: none;
|
|
91
|
+
.memori--date-selector__input-group--year {
|
|
92
|
+
min-width: 100px;
|
|
81
93
|
}
|
|
82
94
|
|
|
83
|
-
.memori--date-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
color:
|
|
95
|
+
.memori--date-selector__label {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
margin-bottom: 0.5rem;
|
|
98
|
+
color: #4b5563;
|
|
99
|
+
font-size: 0.875rem;
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
letter-spacing: 0.01em;
|
|
87
102
|
}
|
|
88
103
|
|
|
89
|
-
|
|
90
|
-
position: absolute;
|
|
91
|
-
z-index: 1;
|
|
92
|
-
overflow: auto;
|
|
104
|
+
.memori--date-selector__input {
|
|
93
105
|
width: 100%;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
106
|
+
padding: 0.75rem 1rem;
|
|
107
|
+
border: 2px solid #e5e7eb;
|
|
108
|
+
border-radius: 0.75rem;
|
|
109
|
+
-moz-appearance: textfield;
|
|
110
|
+
appearance: textfield;
|
|
111
|
+
/* Remove spinner buttons */
|
|
112
|
+
background: #ffffff;
|
|
113
|
+
color: #1f2937;
|
|
114
|
+
font-size: 0.95rem;
|
|
115
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.memori--date-selector__input::-webkit-outer-spin-button,
|
|
119
|
+
.memori--date-selector__input::-webkit-inner-spin-button {
|
|
120
|
+
margin: 0;
|
|
121
|
+
-webkit-appearance: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.memori--date-selector__input:focus {
|
|
125
|
+
border-color: var(--memori-primary);
|
|
126
|
+
box-shadow: 0 0 0 4px rgba(var(--memori-primary-rgb), 0.1);
|
|
127
|
+
outline: none;
|
|
128
|
+
transform: translateY(-1px);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.memori--date-selector__input:disabled {
|
|
132
|
+
border-color: #e5e7eb;
|
|
133
|
+
background: #f9fafb;
|
|
134
|
+
color: #9ca3af;
|
|
135
|
+
cursor: not-allowed;
|
|
136
|
+
opacity: 0.6;
|
|
116
137
|
}
|
|
117
138
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
padding-top: 0.5rem;
|
|
121
|
-
padding-right: 1rem;
|
|
122
|
-
padding-bottom: 0.5rem;
|
|
123
|
-
padding-left: 1rem;
|
|
124
|
-
color: rgb(17 24 39/1);
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
user-select: none;
|
|
139
|
+
.memori--date-selector__input::placeholder {
|
|
140
|
+
color: #9ca3af;
|
|
127
141
|
}
|
|
128
142
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
143
|
+
/* Responsive adjustments */
|
|
144
|
+
@media (max-width: 767px) {
|
|
145
|
+
.memori--date-selector--desktop {
|
|
146
|
+
display: none;
|
|
147
|
+
/* Hide desktop version on mobile if both are rendered for some reason */
|
|
148
|
+
}
|
|
133
149
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
.memori--date-selector--mobile {
|
|
151
|
+
margin: 0.75rem 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.memori--date-selector__mobile-input {
|
|
155
|
+
min-height: 44px;
|
|
156
|
+
font-size: 16px; /* Prevents zoom on iOS */
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -3,7 +3,7 @@ import { DateTime } from 'luxon';
|
|
|
3
3
|
export interface Props {
|
|
4
4
|
defaultDate?: string | Date;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
-
onChange: (date: DateTime) => void;
|
|
6
|
+
onChange: (date: DateTime | undefined) => void;
|
|
7
7
|
}
|
|
8
8
|
declare const DateSelector: import("react").MemoExoticComponent<({ defaultDate, onChange, disabled }: Props) => JSX.Element>;
|
|
9
9
|
export default DateSelector;
|