@memori.ai/memori-react 2.18.3 → 2.18.5
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 +25 -0
- package/dist/components/Header/Header.css +3 -3
- package/dist/components/MemoriWidget/MemoriWidget.js +61 -15
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/layouts/website-assistant.css +31 -12
- package/dist/components/ui/Drawer.css +3 -3
- package/dist/helpers/constants.js +1 -0
- package/dist/helpers/constants.js.map +1 -1
- package/esm/components/Header/Header.css +3 -3
- package/esm/components/MemoriWidget/MemoriWidget.js +61 -15
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/layouts/website-assistant.css +31 -12
- package/esm/components/ui/Drawer.css +3 -3
- package/esm/helpers/constants.js +1 -0
- package/esm/helpers/constants.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/Header.css +3 -3
- package/src/components/MemoriWidget/MemoriWidget.tsx +55 -10
- package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +6 -0
- package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +6 -0
- package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +6 -0
- package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +6 -0
- package/src/components/layouts/website-assistant.css +31 -12
- package/src/components/ui/Drawer.css +3 -3
- package/src/helpers/constants.ts +1 -0
|
@@ -24,8 +24,13 @@
|
|
|
24
24
|
.memori-website_assistant--close-button-wrapper {
|
|
25
25
|
position: absolute;
|
|
26
26
|
z-index: 1;
|
|
27
|
-
top:
|
|
28
|
-
|
|
27
|
+
top: 100%;
|
|
28
|
+
right: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.memori-website_assistant--close-button-wrapper button.memori-website_assistant--close-button {
|
|
32
|
+
padding: 1rem;
|
|
33
|
+
font-size: 16px;
|
|
29
34
|
}
|
|
30
35
|
|
|
31
36
|
.memori-website_assistant--trigger-button .memori-blob {
|
|
@@ -106,10 +111,9 @@
|
|
|
106
111
|
}
|
|
107
112
|
|
|
108
113
|
.memori-website_assistant-layout .memori--powered-by {
|
|
109
|
-
top:
|
|
114
|
+
top: calc(100% + 10px);
|
|
110
115
|
right: auto;
|
|
111
|
-
|
|
112
|
-
left: 45px;
|
|
116
|
+
left: 0;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
.memori-widget.memori-layout-website_assistant {
|
|
@@ -133,12 +137,29 @@
|
|
|
133
137
|
|
|
134
138
|
.memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded {
|
|
135
139
|
max-height: 60vh !important;
|
|
140
|
+
margin-bottom: 60px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@keyframes showup {
|
|
144
|
+
0% {
|
|
145
|
+
opacity: 0;
|
|
146
|
+
transform: translateY(100%);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
100% {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
transform: translateY(0);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded .memori-website_assistant-layout {
|
|
156
|
+
animation: showup 0.3s ease-in-out;
|
|
136
157
|
}
|
|
137
158
|
|
|
138
159
|
|
|
139
160
|
@media (max-width: 600px) {
|
|
140
161
|
.memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded {
|
|
141
|
-
|
|
162
|
+
min-width: 100% !important;
|
|
142
163
|
}
|
|
143
164
|
}
|
|
144
165
|
|
|
@@ -160,12 +181,12 @@
|
|
|
160
181
|
text-align: right;
|
|
161
182
|
}
|
|
162
183
|
|
|
163
|
-
.memori-share-button .memori-share-button--overlay {
|
|
184
|
+
.memori-widget.memori-layout-website_assistant .memori-share-button .memori-share-button--overlay {
|
|
164
185
|
z-index: 1000;
|
|
165
186
|
top: -6rem;
|
|
166
187
|
}
|
|
167
188
|
|
|
168
|
-
.memori-header--button--fullscreen {
|
|
189
|
+
.memori-widget.memori-layout-website_assistant .memori-header--button--fullscreen {
|
|
169
190
|
display: none;
|
|
170
191
|
}
|
|
171
192
|
|
|
@@ -223,17 +244,15 @@
|
|
|
223
244
|
background: none;
|
|
224
245
|
}
|
|
225
246
|
|
|
226
|
-
.memori-chat--bubble-initial+.memori-chat--bubble-container {
|
|
247
|
+
.memori-website_assistant-layout .memori-chat--bubble-initial+.memori-chat--bubble-container {
|
|
227
248
|
margin-top: auto;
|
|
228
249
|
}
|
|
229
250
|
|
|
230
|
-
|
|
231
|
-
|
|
232
251
|
.memori-website_assistant-layout--controls {
|
|
233
252
|
position: relative;
|
|
234
253
|
z-index: 5;
|
|
235
254
|
display: flex;
|
|
236
|
-
height: calc(100% -
|
|
255
|
+
height: calc(100% - 60px);
|
|
237
256
|
flex-direction: column;
|
|
238
257
|
justify-content: flex-end;
|
|
239
258
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.memori-drawer {
|
|
2
2
|
position: relative;
|
|
3
|
-
z-index:
|
|
3
|
+
z-index: 10000;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.memori-drawer--backdrop {
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
background-color: #fff;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.memori-drawer--footer button
|
|
126
|
+
.memori-drawer--footer button+button {
|
|
127
127
|
margin-left: 0.5em;
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -157,4 +157,4 @@
|
|
|
157
157
|
|
|
158
158
|
.max-w-100 {
|
|
159
159
|
max-width: 100%;
|
|
160
|
-
}
|
|
160
|
+
}
|
package/src/helpers/constants.ts
CHANGED