@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.
@@ -602,6 +602,12 @@ exports[`renders StartPanel with integrationConfig unchanged 1`] = `
602
602
  >
603
603
  Polski
604
604
  </option>
605
+ <option
606
+ aria-label="Suomi"
607
+ value="FI"
608
+ >
609
+ Suomi
610
+ </option>
605
611
  </select>
606
612
  </div>
607
613
  <button
@@ -302,6 +302,12 @@ exports[`renders Chat layout unchanged 1`] = `
302
302
  >
303
303
  Polski
304
304
  </option>
305
+ <option
306
+ aria-label="Suomi"
307
+ value="FI"
308
+ >
309
+ Suomi
310
+ </option>
305
311
  </select>
306
312
  </div>
307
313
  <button
@@ -344,6 +344,12 @@ exports[`renders FullPage layout unchanged 1`] = `
344
344
  >
345
345
  Polski
346
346
  </option>
347
+ <option
348
+ aria-label="Suomi"
349
+ value="FI"
350
+ >
351
+ Suomi
352
+ </option>
347
353
  </select>
348
354
  </div>
349
355
  <button
@@ -395,6 +395,12 @@ exports[`renders Totem layout unchanged 1`] = `
395
395
  >
396
396
  Polski
397
397
  </option>
398
+ <option
399
+ aria-label="Suomi"
400
+ value="FI"
401
+ >
402
+ Suomi
403
+ </option>
398
404
  </select>
399
405
  </div>
400
406
  <button
@@ -24,8 +24,13 @@
24
24
  .memori-website_assistant--close-button-wrapper {
25
25
  position: absolute;
26
26
  z-index: 1;
27
- top: 0;
28
- left: 0;
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: 7.5px;
114
+ top: calc(100% + 10px);
110
115
  right: auto;
111
- bottom: auto;
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
- max-height: 80vh;
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% - 45px);
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: 1000;
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 + 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
+ }
@@ -8,6 +8,7 @@ export const chatLanguages = [
8
8
  { value: 'UK', label: 'Українська' },
9
9
  { value: 'RU', label: 'Русский' },
10
10
  { value: 'PL', label: 'Polski' },
11
+ { value: 'FI', label: 'Suomi' },
11
12
  ];
12
13
 
13
14
  export const allowedMediaTypes = [