@memori.ai/memori-react 2.2.0 → 2.2.2
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 +30 -0
- package/dist/components/Avatar/Avatar.css +0 -1
- package/dist/components/Blob/Blob.css +6 -1
- package/dist/components/ChangeMode/ChangeMode.css +1 -1
- package/dist/components/Chat/Chat.css +3 -2
- package/dist/components/ChatBubble/ChatBubble.css +1 -1
- package/dist/components/ChatInputs/ChatInputs.css +2 -2
- package/dist/components/ChatTextArea/ChatTextArea.css +7 -3
- package/dist/components/DateSelector/DateSelector.css +17 -15
- package/dist/components/ExportHistoryButton/ExportHistoryButton.css +1 -1
- package/dist/components/FeedbackButtons/FeedbackButtons.css +4 -4
- package/dist/components/Header/Header.css +2 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/ImageUpload/ImageUpload.css +2 -3
- package/dist/components/MediaWidget/MediaItemWidget.css +2 -0
- package/dist/components/MediaWidget/MediaWidget.css +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.css +1 -2
- package/dist/components/MemoriWidget/MemoriWidget.js +2 -2
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/MicrophoneButton/MicrophoneButton.css +10 -4
- package/dist/components/ShareButton/ShareButton.css +5 -1
- package/dist/components/StartPanel/StartPanel.css +1 -1
- package/dist/components/layouts/totem.css +49 -8
- package/dist/components/ui/Button.css +1 -1
- package/dist/components/ui/Checkbox.css +0 -2
- package/dist/components/ui/Drawer.css +1 -1
- package/dist/components/ui/Modal.css +1 -1
- package/dist/components/ui/Select.css +17 -16
- package/dist/components/ui/Tooltip.css +11 -7
- package/dist/helpers/translations.js +1 -2
- package/dist/helpers/translations.js.map +1 -1
- package/dist/styles.css +1 -2
- package/esm/components/Avatar/Avatar.css +0 -1
- package/esm/components/Blob/Blob.css +6 -1
- package/esm/components/ChangeMode/ChangeMode.css +1 -1
- package/esm/components/Chat/Chat.css +3 -2
- package/esm/components/ChatBubble/ChatBubble.css +1 -1
- package/esm/components/ChatInputs/ChatInputs.css +2 -2
- package/esm/components/ChatTextArea/ChatTextArea.css +7 -3
- package/esm/components/DateSelector/DateSelector.css +17 -15
- package/esm/components/ExportHistoryButton/ExportHistoryButton.css +1 -1
- package/esm/components/FeedbackButtons/FeedbackButtons.css +4 -4
- package/esm/components/Header/Header.css +2 -1
- package/esm/components/Header/Header.js +1 -1
- package/esm/components/Header/Header.js.map +1 -1
- package/esm/components/ImageUpload/ImageUpload.css +2 -3
- package/esm/components/MediaWidget/MediaItemWidget.css +2 -0
- package/esm/components/MediaWidget/MediaWidget.css +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.css +1 -2
- package/esm/components/MemoriWidget/MemoriWidget.js +2 -2
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/MicrophoneButton/MicrophoneButton.css +10 -4
- package/esm/components/ShareButton/ShareButton.css +5 -1
- package/esm/components/StartPanel/StartPanel.css +1 -1
- package/esm/components/layouts/totem.css +49 -8
- package/esm/components/ui/Button.css +1 -1
- package/esm/components/ui/Checkbox.css +0 -2
- package/esm/components/ui/Drawer.css +1 -1
- package/esm/components/ui/Modal.css +1 -1
- package/esm/components/ui/Select.css +17 -16
- package/esm/components/ui/Tooltip.css +11 -7
- package/esm/helpers/translations.js +1 -2
- package/esm/helpers/translations.js.map +1 -1
- package/esm/styles.css +1 -2
- package/package.json +1 -1
- package/src/components/Avatar/Avatar.css +0 -1
- package/src/components/Blob/Blob.css +6 -1
- package/src/components/ChangeMode/ChangeMode.css +1 -1
- package/src/components/Chat/Chat.css +3 -2
- package/src/components/ChatBubble/ChatBubble.css +1 -1
- package/src/components/ChatInputs/ChatInputs.css +2 -2
- package/src/components/ChatTextArea/ChatTextArea.css +7 -3
- package/src/components/DateSelector/DateSelector.css +17 -15
- package/src/components/ExportHistoryButton/ExportHistoryButton.css +1 -1
- package/src/components/FeedbackButtons/FeedbackButtons.css +4 -4
- package/src/components/Header/Header.css +2 -1
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/__snapshots__/Header.test.tsx.snap +1 -1
- package/src/components/ImageUpload/ImageUpload.css +2 -3
- package/src/components/MediaWidget/MediaItemWidget.css +2 -0
- package/src/components/MediaWidget/MediaWidget.css +1 -1
- package/src/components/MemoriWidget/MemoriWidget.css +1 -2
- package/src/components/MemoriWidget/MemoriWidget.tsx +2 -2
- package/src/components/MicrophoneButton/MicrophoneButton.css +10 -4
- package/src/components/ShareButton/ShareButton.css +5 -1
- package/src/components/StartPanel/StartPanel.css +1 -1
- package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +1 -1
- package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +1 -1
- package/src/components/layouts/totem.css +49 -8
- package/src/components/ui/Button.css +1 -1
- package/src/components/ui/Checkbox.css +0 -2
- package/src/components/ui/Drawer.css +1 -1
- package/src/components/ui/Modal.css +1 -1
- package/src/components/ui/Select.css +17 -16
- package/src/components/ui/Tooltip.css +11 -7
- package/src/helpers/translations.ts +3 -2
- package/src/styles.css +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [2.2.2](https://github.com/memori-ai/memori-react/compare/v2.2.1...v2.2.2) (2023-05-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* aggregate whole trascript in usermessage after pause ([ddc800f](https://github.com/memori-ai/memori-react/commit/ddc800f65c46af42a1445f07e5d76cd149ed0090))
|
|
9
|
+
* close audio context only if not closed ([c1cd222](https://github.com/memori-ai/memori-react/commit/c1cd2226e6a9360e54c4d92aefcb7f8e27efcdb3))
|
|
10
|
+
* css vars declaration entrypoints ([1215ccb](https://github.com/memori-ai/memori-react/commit/1215ccbb45842da821a43b1a169954b04bf2660c))
|
|
11
|
+
* share qr button colors ([ae44e26](https://github.com/memori-ai/memori-react/commit/ae44e262addf3e531b43bd8d8fe382a16e5ae049))
|
|
12
|
+
|
|
13
|
+
## [2.2.1](https://github.com/memori-ai/memori-react/compare/v2.2.0...v2.2.1) (2023-05-29)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* add webkit prefix for backdrop filter ([5c57636](https://github.com/memori-ai/memori-react/commit/5c57636166a21e29fc05e3b8d0f349ea5625c1bb))
|
|
19
|
+
* prevent vars not being loaded for portal roots with lt ([d11f9bc](https://github.com/memori-ai/memori-react/commit/d11f9bc08dc01b7a894bcef4e58cf7401ed2a425))
|
|
20
|
+
* show blob on mobile totem ([558aba3](https://github.com/memori-ai/memori-react/commit/558aba3cc3e7105e0b40a7be8664b999a9a55982))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Maintenance
|
|
24
|
+
|
|
25
|
+
* run prettier formatting ([416ad37](https://github.com/memori-ai/memori-react/commit/416ad379a9db6f971a7ccdaa99e199b4ad56ffc1))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Changes
|
|
29
|
+
|
|
30
|
+
* defaults for mobile totem dont show settings button ([619e773](https://github.com/memori-ai/memori-react/commit/619e773408608827f4649c68a23387dbe405eba2))
|
|
31
|
+
* defaults for mobile totem with controls on bottom + dont show send on enter menu ([a5a887c](https://github.com/memori-ai/memori-react/commit/a5a887cc1c092dbbcc1a87912df7f48435ca2351))
|
|
32
|
+
|
|
3
33
|
## [2.2.0](https://github.com/memori-ai/memori-react/compare/v2.1.0...v2.2.0) (2023-05-26)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -93,20 +93,25 @@
|
|
|
93
93
|
filter: brightness(1);
|
|
94
94
|
transform: scale(1);
|
|
95
95
|
}
|
|
96
|
+
|
|
96
97
|
15% {
|
|
97
98
|
filter: brightness(1.1);
|
|
98
99
|
}
|
|
100
|
+
|
|
99
101
|
30% {
|
|
100
102
|
filter: brightness(1);
|
|
101
103
|
transform: scale(0.99);
|
|
102
104
|
}
|
|
105
|
+
|
|
103
106
|
50% {
|
|
104
107
|
filter: brightness(1.05);
|
|
105
108
|
transform: scale(1.01);
|
|
106
109
|
}
|
|
110
|
+
|
|
107
111
|
75% {
|
|
108
112
|
filter: brightness(1.15);
|
|
109
113
|
}
|
|
114
|
+
|
|
110
115
|
100% {
|
|
111
116
|
filter: brightness(1.1);
|
|
112
117
|
transform: scale(0.99);
|
|
@@ -140,7 +145,7 @@
|
|
|
140
145
|
object-fit: contain;
|
|
141
146
|
}
|
|
142
147
|
|
|
143
|
-
.memori-blob figure
|
|
148
|
+
.memori-blob figure ~ .mainDiv {
|
|
144
149
|
opacity: 0.2;
|
|
145
150
|
}
|
|
146
151
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
padding: calc(var(--memori-inner-content-pad) / 4) calc(var(--memori-inner-content-pad) / 2);
|
|
13
13
|
border-radius: 10px;
|
|
14
14
|
margin: 1rem 0;
|
|
15
|
+
-webkit-backdrop-filter: blur(10px);
|
|
15
16
|
backdrop-filter: blur(10px);
|
|
16
17
|
background-color: var(--memori-inner-bg);
|
|
17
18
|
}
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
border-top-right-radius: 3px;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
.memori-chat--cover
|
|
52
|
+
.memori-chat--cover + .memori-chat--bubble-initial {
|
|
52
53
|
display: none;
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -102,7 +103,7 @@
|
|
|
102
103
|
white-space: nowrap;
|
|
103
104
|
}
|
|
104
105
|
|
|
105
|
-
.memori-chat--context-tag
|
|
106
|
+
.memori-chat--context-tag + .memori-chat--context-tag {
|
|
106
107
|
margin-top: 0.5rem;
|
|
107
108
|
}
|
|
108
109
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
margin: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.memori-chat-inputs .memori-upload-menu
|
|
14
|
+
.memori-chat-inputs .memori-upload-menu + .memori-send-on-enter-menu {
|
|
15
15
|
margin-left: 0.33rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.memori-chat-inputs .memori--conversation-button {
|
|
19
19
|
background: #fff;
|
|
20
20
|
color: #000;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
@@ -40,7 +40,7 @@ textarea.memori-chat-textarea--input {
|
|
|
40
40
|
border: none;
|
|
41
41
|
background: #fff;
|
|
42
42
|
color: #000;
|
|
43
|
-
font-family:
|
|
43
|
+
font-family: 'Exo 2', sans-serif;
|
|
44
44
|
resize: none;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -78,8 +78,12 @@ button.memori-chat-textarea--expand-button:focus {
|
|
|
78
78
|
outline: none;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.memori-chat-textarea:not(.memori-chat-textarea--disabled)
|
|
82
|
-
.memori-chat-textarea
|
|
81
|
+
.memori-chat-textarea:not(.memori-chat-textarea--disabled)
|
|
82
|
+
.memori-chat-textarea--inner:focus
|
|
83
|
+
.memori-chat-textarea--expand-button,
|
|
84
|
+
.memori-chat-textarea:not(.memori-chat-textarea--disabled)
|
|
85
|
+
.memori-chat-textarea--inner:focus-within
|
|
86
|
+
.memori-chat-textarea--expand-button {
|
|
83
87
|
opacity: 1;
|
|
84
88
|
}
|
|
85
89
|
|
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
.memori--date-selector__select-button {
|
|
13
13
|
position: relative;
|
|
14
14
|
width: 100%;
|
|
15
|
-
padding-top: .5rem;
|
|
15
|
+
padding-top: 0.5rem;
|
|
16
16
|
padding-right: 2.5rem;
|
|
17
|
-
padding-bottom: .5rem;
|
|
18
|
-
padding-left: .75rem;
|
|
17
|
+
padding-bottom: 0.5rem;
|
|
18
|
+
padding-left: 0.75rem;
|
|
19
19
|
border: 1px solid #e5e7eb;
|
|
20
|
-
border-radius: .5rem;
|
|
20
|
+
border-radius: 0.5rem;
|
|
21
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,
|
|
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;
|
|
23
24
|
cursor: pointer;
|
|
24
25
|
text-align: left;
|
|
25
26
|
}
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
|
|
52
53
|
@media (min-width: 640px) {
|
|
53
54
|
.memori--date-selector__select-button {
|
|
54
|
-
font-size: .875rem;
|
|
55
|
+
font-size: 0.875rem;
|
|
55
56
|
line-height: 1.25rem;
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
bottom: 0;
|
|
76
77
|
display: flex;
|
|
77
78
|
align-items: center;
|
|
78
|
-
padding-right: .5rem;
|
|
79
|
+
padding-right: 0.5rem;
|
|
79
80
|
pointer-events: none;
|
|
80
81
|
}
|
|
81
82
|
|
|
@@ -92,32 +93,33 @@ ul.memori--date-selector__select-options {
|
|
|
92
93
|
width: 100%;
|
|
93
94
|
max-width: min(18rem, 30%);
|
|
94
95
|
max-height: 15rem;
|
|
95
|
-
padding-top: .25rem;
|
|
96
|
+
padding-top: 0.25rem;
|
|
96
97
|
padding-right: 0;
|
|
97
|
-
padding-bottom: .25rem;
|
|
98
|
+
padding-bottom: 0.25rem;
|
|
98
99
|
padding-left: 0;
|
|
99
|
-
border-radius: .375rem;
|
|
100
|
-
margin-top: .25rem;
|
|
100
|
+
border-radius: 0.375rem;
|
|
101
|
+
margin-top: 0.25rem;
|
|
101
102
|
margin-right: 0;
|
|
102
103
|
margin-bottom: 0;
|
|
103
104
|
margin-left: 0;
|
|
104
105
|
background: #fff;
|
|
105
|
-
box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px,
|
|
106
|
+
box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px,
|
|
107
|
+
rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
|
|
106
108
|
list-style: none;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
@media (min-width: 640px) {
|
|
110
112
|
.memori--date-selector__select-options {
|
|
111
|
-
font-size: .875rem;
|
|
113
|
+
font-size: 0.875rem;
|
|
112
114
|
line-height: 1.25rem;
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
li.memori--date-selector__select-option {
|
|
117
119
|
position: relative;
|
|
118
|
-
padding-top: .5rem;
|
|
120
|
+
padding-top: 0.5rem;
|
|
119
121
|
padding-right: 1rem;
|
|
120
|
-
padding-bottom: .5rem;
|
|
122
|
+
padding-bottom: 0.5rem;
|
|
121
123
|
padding-left: 1rem;
|
|
122
124
|
color: rgb(17 24 39/1);
|
|
123
125
|
cursor: pointer;
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.transition {
|
|
24
|
-
transition-duration: .15s;
|
|
24
|
+
transition-duration: 0.15s;
|
|
25
25
|
transition-property: all;
|
|
26
|
-
transition-timing-function: cubic-bezier(.4,0
|
|
26
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.ease-out {
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
top: calc(100% - 0.25rem);
|
|
64
64
|
right: -2rem;
|
|
65
65
|
width: 14rem;
|
|
66
|
-
border: 1px solid rgba(0,0,0,0.05);
|
|
66
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
67
67
|
border-radius: 0.375rem;
|
|
68
68
|
margin-top: 0.5rem;
|
|
69
69
|
background-color: #fff;
|
|
70
|
-
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
|
|
70
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
|
71
71
|
outline: none;
|
|
72
72
|
transform-origin: top right;
|
|
73
73
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
padding: calc(var(--memori-inner-content-pad) / 4) calc(var(--memori-inner-content-pad) / 2);
|
|
7
7
|
border-radius: 10px;
|
|
8
8
|
margin-left: auto;
|
|
9
|
+
-webkit-backdrop-filter: blur(10px);
|
|
9
10
|
backdrop-filter: blur(10px);
|
|
10
11
|
background-color: var(--memori-inner-bg, #fff);
|
|
11
12
|
text-align: right;
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
justify-content: center;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
.memori-header--button
|
|
28
|
+
.memori-header--button + .memori-header--button {
|
|
28
29
|
margin-left: 0.25rem;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -37,7 +37,7 @@ const Header = ({ className, memori, history, position, setShowPositionDrawer, s
|
|
|
37
37
|
document.exitFullscreen();
|
|
38
38
|
setFullScreen(false);
|
|
39
39
|
}
|
|
40
|
-
} })), showSpeaker && ((0, jsx_runtime_1.jsx)(Button_1.default, { primary: true, shape: "circle", className: "memori-header--button", icon: speakerMuted ? (0, jsx_runtime_1.jsx)(SoundDeactivated_1.default, {}) : (0, jsx_runtime_1.jsx)(Sound_1.default, {}), onClick: () => setSpeakerMuted(!speakerMuted), title: t('widget.sound') || 'Sound' })), (0, jsx_runtime_1.jsx)(ExportHistoryButton_1.default, { history: history, memori: memori, className: "memori-header--button", disabled: !hasUserActivatedSpeak || history.length === 0 }), showSettings && ((0, jsx_runtime_1.jsx)(Button_1.default, { primary: true, shape: "circle", className: "memori-header--button", icon: (0, jsx_runtime_1.jsx)(Setting_1.default, {}), onClick: () => setShowSettingsDrawer(true), title: t('widget.settings') || 'Settings' })), showShare && ((0, jsx_runtime_1.jsx)(ShareButton_1.default, { className: "memori-header--button", title: memori.name, showQrCode: true, align: "left" }))] }));
|
|
40
|
+
} })), showSpeaker && ((0, jsx_runtime_1.jsx)(Button_1.default, { primary: true, shape: "circle", className: "memori-header--button", icon: speakerMuted ? (0, jsx_runtime_1.jsx)(SoundDeactivated_1.default, {}) : (0, jsx_runtime_1.jsx)(Sound_1.default, {}), onClick: () => setSpeakerMuted(!speakerMuted), title: t('widget.sound') || 'Sound' })), (0, jsx_runtime_1.jsx)(ExportHistoryButton_1.default, { history: history, memori: memori, className: "memori-header--button", disabled: !hasUserActivatedSpeak || history.length === 0 }), showSettings && ((0, jsx_runtime_1.jsx)(Button_1.default, { primary: true, shape: "circle", className: "memori-header--button memori-header--button-settings", icon: (0, jsx_runtime_1.jsx)(Setting_1.default, {}), onClick: () => setShowSettingsDrawer(true), title: t('widget.settings') || 'Settings' })), showShare && ((0, jsx_runtime_1.jsx)(ShareButton_1.default, { className: "memori-header--button", title: memori.name, showQrCode: true, align: "left" }))] }));
|
|
41
41
|
};
|
|
42
42
|
exports.default = Header;
|
|
43
43
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;;AAAA,iCAAmD;AACnD,oEAA4B;AAM5B,kEAAkC;AAClC,2EAA2C;AAC3C,yFAAyD;AACzD,mEAAmC;AACnC,iDAA+C;AAC/C,6GAA6E;AAC7E,uEAAuC;AACvC,qFAAqD;AACrD,qFAAqD;AACrD,6EAA6C;AAC7C,uEAAuC;AAkBvC,MAAM,MAAM,GAAoB,CAAC,EAC/B,SAAS,EACT,MAAM,EACN,OAAO,EACP,QAAQ,EACR,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,e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I,EAAE,YAAY,CAAC,CAAC,CAAC,uBAAC,0BAAgB,KAAG,CAAC,CAAC,CAAC,uBAAC,eAAK,KAAG,EACrD,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC,YAAY,CAAC,EAC7C,KAAK,EAAE,CAAC,CAAC,cAAc,CAAC,IAAI,OAAO,GACnC,CACH,EACD,uBAAC,6BAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,CAAC,qBAAqB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,GACxD,EACD,YAAY,IAAI,CACf,uBAAC,gBAAM,IACL,OAAO,QACP,KAAK,EAAC,QAAQ,EACd,SAAS,EAAC,sDAAsD,EAChE,IAAI,EAAE,uBAAC,iBAAO,KAAG,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAC1C,KAAK,EAAE,CAAC,CAAC,iBAAiB,CAAC,IAAI,UAAU,GACzC,CACH,EACA,SAAS,IAAI,CACZ,uBAAC,qBAAW,IACV,SAAS,EAAC,uBAAuB,EACjC,KAAK,EAAE,MAAM,CAAC,IAAI,EAClB,UAAU,QACV,KAAK,EAAC,MAAM,GACZ,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
|
@@ -11,7 +11,7 @@ legend.helper p {
|
|
|
11
11
|
margin-bottom: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.memori--upload
|
|
14
|
+
.memori--upload .ant-upload-list-picture-card-container,
|
|
15
15
|
.memori--upload .ant-upload.ant-upload-select-picture-card {
|
|
16
16
|
width: auto;
|
|
17
17
|
min-width: 100px;
|
|
@@ -88,8 +88,7 @@ legend.helper p {
|
|
|
88
88
|
text-align: center;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.memori--list-item-wrapper .ant-upload-list-item-error
|
|
92
|
-
.ant-upload-list-item-name {
|
|
91
|
+
.memori--list-item-wrapper .ant-upload-list-item-error .ant-upload-list-item-name {
|
|
93
92
|
position: static;
|
|
94
93
|
margin: 0 0 1rem;
|
|
95
94
|
}
|
|
@@ -94,6 +94,7 @@ a.memori-media-item--link {
|
|
|
94
94
|
.memori-media-item--modal .memori-modal--panel {
|
|
95
95
|
width: 75vw;
|
|
96
96
|
height: 85vh;
|
|
97
|
+
-webkit-backdrop-filter: blur(var(--memori-blur-background, 10px));
|
|
97
98
|
backdrop-filter: blur(var(--memori-blur-background, 10px));
|
|
98
99
|
background: rgba(0, 0, 0, 0.25);
|
|
99
100
|
}
|
|
@@ -121,6 +122,7 @@ a.memori-media-item--link {
|
|
|
121
122
|
position: absolute;
|
|
122
123
|
bottom: 0;
|
|
123
124
|
width: 100%;
|
|
125
|
+
-webkit-backdrop-filter: blur(var(--memori-blur-background, 5px));
|
|
124
126
|
backdrop-filter: blur(var(--memori-blur-background, 5px));
|
|
125
127
|
background: rgba(255, 255, 255, 0.5);
|
|
126
128
|
color: #000;
|
|
@@ -121,7 +121,6 @@
|
|
|
121
121
|
filter: blur(var(--memori-blur-background, 0));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
|
|
125
124
|
.memori--powered-by {
|
|
126
125
|
position: absolute;
|
|
127
126
|
z-index: 1000;
|
|
@@ -176,7 +175,7 @@
|
|
|
176
175
|
font-size: 1rem;
|
|
177
176
|
}
|
|
178
177
|
|
|
179
|
-
.memori--conversation-button
|
|
178
|
+
.memori--conversation-button + .memori--conversation-button {
|
|
180
179
|
margin-left: 0.33rem;
|
|
181
180
|
}
|
|
182
181
|
|
|
@@ -927,7 +927,7 @@ const MemoriWidget = ({ memori, memoriConfigs, memoriLang, integration, layout =
|
|
|
927
927
|
speechSynthesizer.close();
|
|
928
928
|
speechSynthesizer = null;
|
|
929
929
|
}
|
|
930
|
-
if (audioContext) {
|
|
930
|
+
if (audioContext.state !== 'closed') {
|
|
931
931
|
audioContext.close();
|
|
932
932
|
}
|
|
933
933
|
if (audioDestination) {
|
|
@@ -1008,7 +1008,7 @@ const MemoriWidget = ({ memori, memoriConfigs, memoriLang, integration, layout =
|
|
|
1008
1008
|
if ((transcript === null || transcript === void 0 ? void 0 : transcript.length) > 0) {
|
|
1009
1009
|
const transcriptMessage = (0, utils_1.stripDuplicates)(transcript);
|
|
1010
1010
|
if (transcriptMessage.length > 0)
|
|
1011
|
-
setUserMessage(transcriptMessage);
|
|
1011
|
+
setUserMessage(msg => `${msg} ${transcriptMessage}`);
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
else if (e.result.reason === speechSdk.ResultReason.NoMatch) {
|