@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
|
@@ -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
|
|
|
@@ -126,7 +126,7 @@ const Header: React.FC<Props> = ({
|
|
|
126
126
|
<Button
|
|
127
127
|
primary
|
|
128
128
|
shape="circle"
|
|
129
|
-
className="memori-header--button"
|
|
129
|
+
className="memori-header--button memori-header--button-settings"
|
|
130
130
|
icon={<Setting />}
|
|
131
131
|
onClick={() => setShowSettingsDrawer(true)}
|
|
132
132
|
title={t('widget.settings') || 'Settings'}
|
|
@@ -200,7 +200,7 @@ exports[`renders Header with settings button unchanged 1`] = `
|
|
|
200
200
|
</button>
|
|
201
201
|
</div>
|
|
202
202
|
<button
|
|
203
|
-
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button"
|
|
203
|
+
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
|
|
204
204
|
title="widget.settings"
|
|
205
205
|
>
|
|
206
206
|
<span
|
|
@@ -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
|
|
|
@@ -1381,7 +1381,7 @@ const MemoriWidget = ({
|
|
|
1381
1381
|
speechSynthesizer.close();
|
|
1382
1382
|
speechSynthesizer = null;
|
|
1383
1383
|
}
|
|
1384
|
-
if (audioContext) {
|
|
1384
|
+
if (audioContext.state !== 'closed') {
|
|
1385
1385
|
audioContext.close();
|
|
1386
1386
|
}
|
|
1387
1387
|
if (audioDestination) {
|
|
@@ -1490,7 +1490,7 @@ const MemoriWidget = ({
|
|
|
1490
1490
|
if (transcript?.length > 0) {
|
|
1491
1491
|
const transcriptMessage = stripDuplicates(transcript);
|
|
1492
1492
|
if (transcriptMessage.length > 0)
|
|
1493
|
-
setUserMessage(transcriptMessage);
|
|
1493
|
+
setUserMessage(msg => `${msg} ${transcriptMessage}`);
|
|
1494
1494
|
}
|
|
1495
1495
|
} else if (e.result.reason === speechSdk.ResultReason.NoMatch) {
|
|
1496
1496
|
console.debug('NOMATCH: Speech could not be recognized.');
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
.memori-mic-btn-tooltip.memori-tooltip.memori-tooltip--align-topLeft:not(
|
|
2
|
-
.memori-
|
|
1
|
+
.memori-mic-btn-tooltip.memori-tooltip.memori-tooltip--align-topLeft:not(
|
|
2
|
+
.memori-tooltip--disabled
|
|
3
|
+
).memori-tooltip--visible
|
|
4
|
+
.memori-tooltip--content,
|
|
5
|
+
.memori-mic-btn-tooltip.memori-tooltip.memori-tooltip--align-topLeft:not(.memori-tooltip--disabled):not(
|
|
6
|
+
.memori-tooltip--visible
|
|
7
|
+
):hover
|
|
8
|
+
.memori-tooltip--content {
|
|
3
9
|
touch-action: none;
|
|
4
10
|
transform: translateY(-180%) translateX(27%);
|
|
5
11
|
-webkit-user-select: none;
|
|
@@ -78,7 +84,7 @@
|
|
|
78
84
|
border-radius: 50%;
|
|
79
85
|
animation: micBtnActivePulse 2s infinite;
|
|
80
86
|
background: var(--memori-primary);
|
|
81
|
-
content:
|
|
87
|
+
content: '';
|
|
82
88
|
opacity: 0.2;
|
|
83
89
|
}
|
|
84
90
|
|
|
@@ -98,4 +104,4 @@
|
|
|
98
104
|
|
|
99
105
|
.memori-chat-inputs--mic.memori-chat-inputs--mic--listening svg {
|
|
100
106
|
color: red !important;
|
|
101
|
-
}
|
|
107
|
+
}
|
|
@@ -54,9 +54,13 @@ a.memori-share-button--link {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.memori-share-button--li-qr-code button {
|
|
57
|
-
|
|
57
|
+
background: #fff;
|
|
58
|
+
color: #333;
|
|
59
|
+
cursor: pointer;
|
|
58
60
|
}
|
|
61
|
+
|
|
59
62
|
.memori-share-button--li-qr-code button:hover,
|
|
60
63
|
.memori-share-button--li-qr-code button:focus {
|
|
64
|
+
background: #fff;
|
|
61
65
|
color: #000;
|
|
62
66
|
}
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
padding: var(--memori-inner-content-pad, 0);
|
|
24
24
|
border-radius: 10px;
|
|
25
25
|
margin-top: 2rem;
|
|
26
|
+
-webkit-backdrop-filter: blur(10px);
|
|
26
27
|
backdrop-filter: blur(10px);
|
|
27
28
|
background-color: var(--memori-inner-bg, transparent);
|
|
28
29
|
color: var(--memori-text-color, rgba(0, 0, 0, 0.85)) !important;
|
|
@@ -68,7 +69,6 @@
|
|
|
68
69
|
box-shadow: 0 0 5px rgba(50, 50, 50, 0.3);
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
|
|
72
72
|
.memori--avatar img {
|
|
73
73
|
width: 100%;
|
|
74
74
|
height: 100%;
|
|
@@ -71,7 +71,7 @@ exports[`renders FullPage layout unchanged 1`] = `
|
|
|
71
71
|
</button>
|
|
72
72
|
</div>
|
|
73
73
|
<button
|
|
74
|
-
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button"
|
|
74
|
+
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
|
|
75
75
|
title="widget.settings"
|
|
76
76
|
>
|
|
77
77
|
<span
|
|
@@ -124,7 +124,7 @@ exports[`renders Totem layout unchanged 1`] = `
|
|
|
124
124
|
</button>
|
|
125
125
|
</div>
|
|
126
126
|
<button
|
|
127
|
-
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button"
|
|
127
|
+
class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
|
|
128
128
|
title="widget.settings"
|
|
129
129
|
>
|
|
130
130
|
<span
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
|
-
|
|
14
|
-
/* --memori-text-color: #fff; */
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
.memori-totem-layout--header {
|
|
@@ -31,6 +29,22 @@
|
|
|
31
29
|
width: 100%;
|
|
32
30
|
}
|
|
33
31
|
|
|
32
|
+
.memori-totem-layout--avatar .memori--blob-container {
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (max-width: 480px) {
|
|
37
|
+
.memori-totem-layout--avatar .memori--blob-container {
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (max-width: 870px) {
|
|
43
|
+
.memori-totem-layout--avatar .memori--blob-container {
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
34
48
|
.memori-totem-layout .memori-header {
|
|
35
49
|
position: relative;
|
|
36
50
|
z-index: 100;
|
|
@@ -97,6 +111,27 @@
|
|
|
97
111
|
margin: 0 auto;
|
|
98
112
|
}
|
|
99
113
|
|
|
114
|
+
@media (max-width: 870px) {
|
|
115
|
+
.memori-totem-layout--controls .memori--start-panel,
|
|
116
|
+
.memori-totem-layout--controls .memori-chat--wrapper {
|
|
117
|
+
width: 100%;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.memori-totem-layout--controls .memori-chat--wrapper {
|
|
121
|
+
padding: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (max-width: 480px) {
|
|
126
|
+
.memori-send-on-enter-menu {
|
|
127
|
+
display: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.memori-header--button-settings {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
100
135
|
.memori-totem-layout .memori--avatar-toggle {
|
|
101
136
|
display: none;
|
|
102
137
|
width: 100%;
|
|
@@ -113,14 +148,20 @@
|
|
|
113
148
|
background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(200, 200, 200, 0.8));
|
|
114
149
|
}
|
|
115
150
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
151
|
+
@media (min-width: 481px) {
|
|
152
|
+
.memori-widget.memori-controls-center .memori-totem-layout--controls {
|
|
153
|
+
position: absolute;
|
|
154
|
+
top: 40%;
|
|
155
|
+
width: 100%;
|
|
156
|
+
}
|
|
120
157
|
}
|
|
121
158
|
|
|
122
|
-
.memori-widget.memori-layout-totem.memori--hide-emissions
|
|
123
|
-
.memori-
|
|
159
|
+
.memori-widget.memori-layout-totem.memori--hide-emissions
|
|
160
|
+
.memori-totem-layout--controls
|
|
161
|
+
.memori-chat--bubble-container:not(.memori-chat--bubble-from-user),
|
|
162
|
+
.memori-widget.memori-layout-totem.memori--hide-emissions.memori--with-speechkey
|
|
163
|
+
.memori-totem-layout--controls
|
|
164
|
+
.memori-chat--bubble-container:not(.memori-chat--bubble-from-user) {
|
|
124
165
|
display: none;
|
|
125
166
|
}
|
|
126
167
|
|
|
@@ -7,14 +7,15 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
width: 100%;
|
|
9
9
|
min-height: 38px;
|
|
10
|
-
padding-top: .5rem;
|
|
10
|
+
padding-top: 0.5rem;
|
|
11
11
|
padding-right: 2.5rem;
|
|
12
|
-
padding-bottom: .5rem;
|
|
13
|
-
padding-left: .75rem;
|
|
12
|
+
padding-bottom: 0.5rem;
|
|
13
|
+
padding-left: 0.75rem;
|
|
14
14
|
border: 1px solid #e5e7eb;
|
|
15
|
-
border-radius: .5rem;
|
|
15
|
+
border-radius: 0.5rem;
|
|
16
16
|
background: #fff;
|
|
17
|
-
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,
|
|
17
|
+
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,
|
|
18
|
+
rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
|
|
18
19
|
cursor: pointer;
|
|
19
20
|
text-align: left;
|
|
20
21
|
}
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
|
|
47
48
|
@media (min-width: 640px) {
|
|
48
49
|
.memori-select--button {
|
|
49
|
-
font-size: .875rem;
|
|
50
|
+
font-size: 0.875rem;
|
|
50
51
|
line-height: 1.25rem;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
bottom: 0;
|
|
75
76
|
display: flex;
|
|
76
77
|
align-items: center;
|
|
77
|
-
padding-right: .5rem;
|
|
78
|
+
padding-right: 0.5rem;
|
|
78
79
|
pointer-events: none;
|
|
79
80
|
}
|
|
80
81
|
|
|
@@ -91,32 +92,33 @@ ul.memori-select--options {
|
|
|
91
92
|
width: 100%;
|
|
92
93
|
max-width: min(18rem, 30%);
|
|
93
94
|
max-height: 15rem;
|
|
94
|
-
padding-top: .25rem;
|
|
95
|
+
padding-top: 0.25rem;
|
|
95
96
|
padding-right: 0;
|
|
96
|
-
padding-bottom: .25rem;
|
|
97
|
+
padding-bottom: 0.25rem;
|
|
97
98
|
padding-left: 0;
|
|
98
|
-
border-radius: .375rem;
|
|
99
|
-
margin-top: .25rem;
|
|
99
|
+
border-radius: 0.375rem;
|
|
100
|
+
margin-top: 0.25rem;
|
|
100
101
|
margin-right: 0;
|
|
101
102
|
margin-bottom: 0;
|
|
102
103
|
margin-left: 0;
|
|
103
104
|
background: #fff;
|
|
104
|
-
box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px,
|
|
105
|
+
box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px,
|
|
106
|
+
rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
|
|
105
107
|
list-style: none;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
@media (min-width: 640px) {
|
|
109
111
|
.memori-select--options {
|
|
110
|
-
font-size: .875rem;
|
|
112
|
+
font-size: 0.875rem;
|
|
111
113
|
line-height: 1.25rem;
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
li.memori-select--option {
|
|
116
118
|
position: relative;
|
|
117
|
-
padding-top: .5rem;
|
|
119
|
+
padding-top: 0.5rem;
|
|
118
120
|
padding-right: 1rem;
|
|
119
|
-
padding-bottom: .5rem;
|
|
121
|
+
padding-bottom: 0.5rem;
|
|
120
122
|
padding-left: 1rem;
|
|
121
123
|
color: rgb(17 24 39/1);
|
|
122
124
|
cursor: pointer;
|
|
@@ -132,4 +134,3 @@ li.memori-select--option:focus {
|
|
|
132
134
|
outline: 2px solid #63b3ed;
|
|
133
135
|
outline-offset: 2px;
|
|
134
136
|
}
|
|
135
|
-
|