@memori.ai/memori-react 8.2.0 → 8.4.0-rc.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/components/Chat/Chat.js +8 -1
  3. package/dist/components/Chat/Chat.js.map +1 -1
  4. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +160 -0
  5. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.d.ts +4 -0
  6. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +166 -0
  7. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -0
  8. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +877 -0
  9. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.d.ts +3 -0
  10. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +115 -0
  11. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -0
  12. package/dist/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +238 -0
  13. package/dist/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.d.ts +4 -0
  14. package/dist/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.js +104 -0
  15. package/dist/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.js.map +1 -0
  16. package/dist/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.css +319 -0
  17. package/dist/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.d.ts +4 -0
  18. package/dist/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.js +50 -0
  19. package/dist/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.js.map +1 -0
  20. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +343 -0
  21. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.d.ts +4 -0
  22. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +78 -0
  23. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -0
  24. package/dist/components/MemoriArtifactSystem/context/ArtifactSystemContext.d.ts +12 -0
  25. package/dist/components/MemoriArtifactSystem/context/ArtifactSystemContext.js +22 -0
  26. package/dist/components/MemoriArtifactSystem/context/ArtifactSystemContext.js.map +1 -0
  27. package/dist/components/MemoriArtifactSystem/hooks/useArtifactSystem.d.ts +12 -0
  28. package/dist/components/MemoriArtifactSystem/hooks/useArtifactSystem.js +288 -0
  29. package/dist/components/MemoriArtifactSystem/hooks/useArtifactSystem.js.map +1 -0
  30. package/dist/components/MemoriArtifactSystem/index.d.ts +9 -0
  31. package/dist/components/MemoriArtifactSystem/index.js +28 -0
  32. package/dist/components/MemoriArtifactSystem/index.js.map +1 -0
  33. package/dist/components/MemoriArtifactSystem/types/artifact.types.d.ts +108 -0
  34. package/dist/components/MemoriArtifactSystem/types/artifact.types.js +31 -0
  35. package/dist/components/MemoriArtifactSystem/types/artifact.types.js.map +1 -0
  36. package/dist/components/icons/Print.d.ts +6 -0
  37. package/dist/components/icons/Print.js +6 -0
  38. package/dist/components/icons/Print.js.map +1 -0
  39. package/dist/components/layouts/Chat.js +29 -1
  40. package/dist/components/layouts/Chat.js.map +1 -1
  41. package/dist/components/layouts/FullPage.js +33 -1
  42. package/dist/components/layouts/FullPage.js.map +1 -1
  43. package/dist/components/layouts/ZoomedFullBody.js +29 -2
  44. package/dist/components/layouts/ZoomedFullBody.js.map +1 -1
  45. package/dist/components/layouts/chat.css +335 -13
  46. package/dist/components/layouts/zoomed-full-body.css +1 -3
  47. package/dist/helpers/message.js +1 -0
  48. package/dist/helpers/message.js.map +1 -1
  49. package/dist/helpers/stt/useSTT.js +76 -9
  50. package/dist/helpers/stt/useSTT.js.map +1 -1
  51. package/dist/index.js +58 -15
  52. package/dist/index.js.map +1 -1
  53. package/dist/styles.css +5 -0
  54. package/esm/components/Chat/Chat.js +8 -1
  55. package/esm/components/Chat/Chat.js.map +1 -1
  56. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +160 -0
  57. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.d.ts +4 -0
  58. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +163 -0
  59. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -0
  60. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +877 -0
  61. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.d.ts +3 -0
  62. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +112 -0
  63. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -0
  64. package/esm/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +238 -0
  65. package/esm/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.d.ts +4 -0
  66. package/esm/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.js +101 -0
  67. package/esm/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.js.map +1 -0
  68. package/esm/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.css +319 -0
  69. package/esm/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.d.ts +4 -0
  70. package/esm/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.js +47 -0
  71. package/esm/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.js.map +1 -0
  72. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +343 -0
  73. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.d.ts +4 -0
  74. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +75 -0
  75. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -0
  76. package/esm/components/MemoriArtifactSystem/context/ArtifactSystemContext.d.ts +12 -0
  77. package/esm/components/MemoriArtifactSystem/context/ArtifactSystemContext.js +17 -0
  78. package/esm/components/MemoriArtifactSystem/context/ArtifactSystemContext.js.map +1 -0
  79. package/esm/components/MemoriArtifactSystem/hooks/useArtifactSystem.d.ts +12 -0
  80. package/esm/components/MemoriArtifactSystem/hooks/useArtifactSystem.js +281 -0
  81. package/esm/components/MemoriArtifactSystem/hooks/useArtifactSystem.js.map +1 -0
  82. package/esm/components/MemoriArtifactSystem/index.d.ts +9 -0
  83. package/esm/components/MemoriArtifactSystem/index.js +9 -0
  84. package/esm/components/MemoriArtifactSystem/index.js.map +1 -0
  85. package/esm/components/MemoriArtifactSystem/types/artifact.types.d.ts +108 -0
  86. package/esm/components/MemoriArtifactSystem/types/artifact.types.js +28 -0
  87. package/esm/components/MemoriArtifactSystem/types/artifact.types.js.map +1 -0
  88. package/esm/components/icons/Print.d.ts +6 -0
  89. package/esm/components/icons/Print.js +4 -0
  90. package/esm/components/icons/Print.js.map +1 -0
  91. package/esm/components/layouts/Chat.js +29 -1
  92. package/esm/components/layouts/Chat.js.map +1 -1
  93. package/esm/components/layouts/FullPage.js +33 -1
  94. package/esm/components/layouts/FullPage.js.map +1 -1
  95. package/esm/components/layouts/ZoomedFullBody.js +30 -3
  96. package/esm/components/layouts/ZoomedFullBody.js.map +1 -1
  97. package/esm/components/layouts/chat.css +335 -13
  98. package/esm/components/layouts/zoomed-full-body.css +1 -3
  99. package/esm/helpers/message.js +1 -0
  100. package/esm/helpers/message.js.map +1 -1
  101. package/esm/helpers/stt/useSTT.js +76 -9
  102. package/esm/helpers/stt/useSTT.js.map +1 -1
  103. package/esm/index.js +58 -15
  104. package/esm/index.js.map +1 -1
  105. package/esm/styles.css +5 -0
  106. package/package.json +1 -1
  107. package/src/components/Avatar/Avatar.test.tsx +13 -0
  108. package/src/components/Chat/Chat.stories.tsx +33 -2
  109. package/src/components/Chat/Chat.test.tsx +340 -213
  110. package/src/components/Chat/Chat.tsx +27 -4
  111. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +160 -0
  112. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +278 -0
  113. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +877 -0
  114. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +308 -0
  115. package/src/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +238 -0
  116. package/src/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.tsx +282 -0
  117. package/src/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.css +319 -0
  118. package/src/components/MemoriArtifactSystem/components/ArtifactHistory/ArtifactHistory.tsx +178 -0
  119. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +343 -0
  120. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +190 -0
  121. package/src/components/MemoriArtifactSystem/context/ArtifactSystemContext.tsx +57 -0
  122. package/src/components/MemoriArtifactSystem/hooks/useArtifactSystem.ts +419 -0
  123. package/src/components/MemoriArtifactSystem/index.ts +45 -0
  124. package/src/components/MemoriArtifactSystem/types/artifact.types.ts +180 -0
  125. package/src/components/icons/Print.tsx +34 -0
  126. package/src/components/layouts/Chat.test.tsx +13 -0
  127. package/src/components/layouts/Chat.tsx +80 -25
  128. package/src/components/layouts/FullPage.test.tsx +40 -11
  129. package/src/components/layouts/FullPage.tsx +92 -24
  130. package/src/components/layouts/HiddenChat.test.tsx +13 -0
  131. package/src/components/layouts/Totem.test.tsx +13 -0
  132. package/src/components/layouts/WebsiteAssistant.test.tsx +13 -0
  133. package/src/components/layouts/ZoomedFullBody.test.tsx +13 -0
  134. package/src/components/layouts/ZoomedFullBody.tsx +78 -14
  135. package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +252 -248
  136. package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +504 -496
  137. package/src/components/layouts/__snapshots__/ZoomedFullBody.test.tsx.snap +252 -248
  138. package/src/components/layouts/chat.css +335 -13
  139. package/src/components/layouts/layouts.stories.tsx +13 -2
  140. package/src/components/layouts/zoomed-full-body.css +1 -3
  141. package/src/helpers/message.ts +1 -0
  142. package/src/helpers/stt/useSTT.ts +101 -16
  143. package/src/index.stories.tsx +26 -22
  144. package/src/index.tsx +46 -0
  145. package/src/mocks/data.ts +258 -0
  146. package/src/styles.css +5 -0
@@ -181,297 +181,301 @@ exports[`renders FullPage layout unchanged 1`] = `
181
181
  />
182
182
  </div>
183
183
  <div
184
- class="memori--grid-column memori--grid-column-right"
184
+ class="memori-chat-layout--main "
185
185
  >
186
186
  <div
187
- class="memori--start-panel"
187
+ class="memori-chat-layout--controls "
188
188
  >
189
189
  <div
190
- class="memori--cover"
190
+ class="memori--start-panel"
191
191
  >
192
192
  <div
193
- class="memori--completions-enabled"
193
+ class="memori--cover"
194
194
  >
195
195
  <div
196
- class="memori-tooltip memori-tooltip--align-left"
196
+ class="memori--completions-enabled"
197
197
  >
198
198
  <div
199
- class="memori-tooltip--content"
199
+ class="memori-tooltip memori-tooltip--align-left"
200
200
  >
201
- IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
202
- </div>
203
- <div
204
- class="memori-tooltip--trigger"
205
- >
206
- <span
207
- aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
201
+ <div
202
+ class="memori-tooltip--content"
208
203
  >
209
- <svg
210
- aria-hidden="true"
211
- fill="none"
212
- focusable="false"
213
- role="img"
214
- viewBox="0 0 24 24"
215
- xmlns="http://www.w3.org/2000/svg"
204
+ IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
205
+ </div>
206
+ <div
207
+ class="memori-tooltip--trigger"
208
+ >
209
+ <span
210
+ aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
216
211
  >
217
- <g
218
- clip-rule="evenodd"
219
- fill="currentColor"
220
- fill-rule="evenodd"
212
+ <svg
213
+ aria-hidden="true"
214
+ fill="none"
215
+ focusable="false"
216
+ role="img"
217
+ viewBox="0 0 24 24"
218
+ xmlns="http://www.w3.org/2000/svg"
221
219
  >
222
- <path
220
+ <g
223
221
  clip-rule="evenodd"
224
- d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
222
+ fill="currentColor"
225
223
  fill-rule="evenodd"
226
- />
227
- <path
228
- clip-rule="evenodd"
229
- d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
230
- fill-rule="evenodd"
231
- />
232
- <path
233
- clip-rule="evenodd"
234
- d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
235
- fill-rule="evenodd"
236
- />
237
- </g>
238
- </svg>
239
- </span>
224
+ >
225
+ <path
226
+ clip-rule="evenodd"
227
+ d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
228
+ fill-rule="evenodd"
229
+ />
230
+ <path
231
+ clip-rule="evenodd"
232
+ d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
233
+ fill-rule="evenodd"
234
+ />
235
+ <path
236
+ clip-rule="evenodd"
237
+ d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
238
+ fill-rule="evenodd"
239
+ />
240
+ </g>
241
+ </svg>
242
+ </span>
243
+ </div>
240
244
  </div>
241
245
  </div>
242
246
  </div>
243
- </div>
244
- <picture
245
- class="memori--avatar"
246
- >
247
- <source
248
- src="https://aisuru.com/images/aisuru/square_logo.png"
249
- />
250
- <img
251
- alt="Memori"
252
- src="https://aisuru.com/images/aisuru/square_logo.png"
253
- />
254
- </picture>
255
- <h2
256
- class="memori--title"
257
- >
258
- Memori
259
- </h2>
260
- <div
261
- class="memori--description"
262
- >
263
- <p>
264
- <span
265
- class="memori--description-text"
266
- >
267
- Lorem ipsum.
268
- </span>
269
- </p>
247
+ <picture
248
+ class="memori--avatar"
249
+ >
250
+ <source
251
+ src="https://aisuru.com/images/aisuru/square_logo.png"
252
+ />
253
+ <img
254
+ alt="Memori"
255
+ src="https://aisuru.com/images/aisuru/square_logo.png"
256
+ />
257
+ </picture>
258
+ <h2
259
+ class="memori--title"
260
+ >
261
+ Memori
262
+ </h2>
270
263
  <div
271
- class="memori--language-chooser"
264
+ class="memori--description"
272
265
  >
273
- <label
274
- for="user-lang-pref"
275
- id="user-lang-pref-label"
276
- >
277
- Voglio parlare con Memori in
278
- </label>
279
- <select
280
- aria-labelledby="user-lang-pref-label"
281
- class="memori-select--button"
282
- id="user-lang-pref"
283
- >
284
- <option
285
- aria-label="Italiano"
286
- value="IT"
287
- >
288
- Italiano
289
- </option>
290
- <option
291
- aria-label="English"
292
- value="EN"
293
- >
294
- English
295
- </option>
296
- <option
297
- aria-label="Deutsch"
298
- value="DE"
299
- >
300
- Deutsch
301
- </option>
302
- <option
303
- aria-label="Español"
304
- value="ES"
305
- >
306
- Español
307
- </option>
308
- <option
309
- aria-label="Français"
310
- value="FR"
311
- >
312
- Français
313
- </option>
314
- <option
315
- aria-label="Português"
316
- value="PT"
317
- >
318
- Português
319
- </option>
320
- <option
321
- aria-label="Українська"
322
- value="UK"
266
+ <p>
267
+ <span
268
+ class="memori--description-text"
323
269
  >
324
- Українська
325
- </option>
326
- <option
327
- aria-label="Русский"
328
- value="RU"
329
- >
330
- Русский
331
- </option>
332
- <option
333
- aria-label="Polski"
334
- value="PL"
335
- >
336
- Polski
337
- </option>
338
- <option
339
- aria-label="Suomi"
340
- value="FI"
341
- >
342
- Suomi
343
- </option>
344
- <option
345
- aria-label="Ελληνικά"
346
- value="EL"
347
- >
348
- Ελληνικά
349
- </option>
350
- <option
351
- aria-label="العربية"
352
- value="AR"
353
- >
354
- العربية
355
- </option>
356
- <option
357
- aria-label="中文"
358
- value="ZH"
270
+ Lorem ipsum.
271
+ </span>
272
+ </p>
273
+ <div
274
+ class="memori--language-chooser"
275
+ >
276
+ <label
277
+ for="user-lang-pref"
278
+ id="user-lang-pref-label"
359
279
  >
360
- 中文
361
- </option>
362
- <option
363
- aria-label="日本語"
364
- value="JA"
280
+ Voglio parlare con Memori in
281
+ </label>
282
+ <select
283
+ aria-labelledby="user-lang-pref-label"
284
+ class="memori-select--button"
285
+ id="user-lang-pref"
365
286
  >
366
- 日本語
367
- </option>
368
- </select>
369
- </div>
370
- <div
371
- class="memori--start-privacy-explanation-container"
372
- >
373
- <p
374
- class="memori--start-privacy-explanation"
375
- >
376
- Le conversazioni sono visibili all'autore dell'agente
377
- </p>
287
+ <option
288
+ aria-label="Italiano"
289
+ value="IT"
290
+ >
291
+ Italiano
292
+ </option>
293
+ <option
294
+ aria-label="English"
295
+ value="EN"
296
+ >
297
+ English
298
+ </option>
299
+ <option
300
+ aria-label="Deutsch"
301
+ value="DE"
302
+ >
303
+ Deutsch
304
+ </option>
305
+ <option
306
+ aria-label="Español"
307
+ value="ES"
308
+ >
309
+ Español
310
+ </option>
311
+ <option
312
+ aria-label="Français"
313
+ value="FR"
314
+ >
315
+ Français
316
+ </option>
317
+ <option
318
+ aria-label="Português"
319
+ value="PT"
320
+ >
321
+ Português
322
+ </option>
323
+ <option
324
+ aria-label="Українська"
325
+ value="UK"
326
+ >
327
+ Українська
328
+ </option>
329
+ <option
330
+ aria-label="Русский"
331
+ value="RU"
332
+ >
333
+ Русский
334
+ </option>
335
+ <option
336
+ aria-label="Polski"
337
+ value="PL"
338
+ >
339
+ Polski
340
+ </option>
341
+ <option
342
+ aria-label="Suomi"
343
+ value="FI"
344
+ >
345
+ Suomi
346
+ </option>
347
+ <option
348
+ aria-label="Ελληνικά"
349
+ value="EL"
350
+ >
351
+ Ελληνικά
352
+ </option>
353
+ <option
354
+ aria-label="العربية"
355
+ value="AR"
356
+ >
357
+ العربية
358
+ </option>
359
+ <option
360
+ aria-label="中文"
361
+ value="ZH"
362
+ >
363
+ 中文
364
+ </option>
365
+ <option
366
+ aria-label="日本語"
367
+ value="JA"
368
+ >
369
+ 日本語
370
+ </option>
371
+ </select>
372
+ </div>
378
373
  <div
379
- class="memori-tooltip memori-tooltip--align-right"
374
+ class="memori--start-privacy-explanation-container"
380
375
  >
376
+ <p
377
+ class="memori--start-privacy-explanation"
378
+ >
379
+ Le conversazioni sono visibili all'autore dell'agente
380
+ </p>
381
381
  <div
382
- class="memori-tooltip--content"
382
+ class="memori-tooltip memori-tooltip--align-right"
383
383
  >
384
384
  <div
385
- class="memori--privacy-tooltip-content"
385
+ class="memori-tooltip--content"
386
386
  >
387
- <p>
388
-
389
- Tutte le conversazioni con questo agente sono visibili all'autore dell'agente
390
- </p>
391
- <ul
392
- class="memori--privacy-tooltip-content-list"
387
+ <div
388
+ class="memori--privacy-tooltip-content"
393
389
  >
394
- <li>
395
- L'autore può vedere il contenuto e il tuo indirizzo IP
396
- </li>
397
- </ul>
398
- <p>
399
- L'autore utilizza queste informazioni per migliorare le funzionalità dell'agente. Continuando, accetti queste condizioni.
400
- </p>
401
- <a
402
- href="https://memori.ai/en/privacy-policy"
403
- rel="noopener noreferrer"
404
- target="_blank"
405
- >
406
- Informativa sulla privacy
407
- </a>
390
+ <p>
391
+
392
+ Tutte le conversazioni con questo agente sono visibili all'autore dell'agente
393
+ </p>
394
+ <ul
395
+ class="memori--privacy-tooltip-content-list"
396
+ >
397
+ <li>
398
+ L'autore può vedere il contenuto e il tuo indirizzo IP
399
+ </li>
400
+ </ul>
401
+ <p>
402
+ L'autore utilizza queste informazioni per migliorare le funzionalità dell'agente. Continuando, accetti queste condizioni.
403
+ </p>
404
+ <a
405
+ href="https://memori.ai/en/privacy-policy"
406
+ rel="noopener noreferrer"
407
+ target="_blank"
408
+ >
409
+ Informativa sulla privacy
410
+ </a>
411
+ </div>
408
412
  </div>
409
- </div>
410
- <div
411
- class="memori-tooltip--trigger"
412
- >
413
- <svg
414
- aria-hidden="true"
415
- class="memori--start-privacy-explanation-icon"
416
- fill="none"
417
- focusable="false"
418
- role="img"
419
- stroke="currentColor"
420
- stroke-linecap="round"
421
- stroke-linejoin="round"
422
- stroke-width="1.5"
423
- viewBox="0 0 24 24"
424
- xmlns="http://www.w3.org/2000/svg"
413
+ <div
414
+ class="memori-tooltip--trigger"
425
415
  >
426
- <circle
427
- cx="12"
428
- cy="12"
429
- r="10"
430
- />
431
- <path
432
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
433
- />
434
- <path
435
- d="M12 17L12.01 17"
436
- />
437
- </svg>
416
+ <svg
417
+ aria-hidden="true"
418
+ class="memori--start-privacy-explanation-icon"
419
+ fill="none"
420
+ focusable="false"
421
+ role="img"
422
+ stroke="currentColor"
423
+ stroke-linecap="round"
424
+ stroke-linejoin="round"
425
+ stroke-width="1.5"
426
+ viewBox="0 0 24 24"
427
+ xmlns="http://www.w3.org/2000/svg"
428
+ >
429
+ <circle
430
+ cx="12"
431
+ cy="12"
432
+ r="10"
433
+ />
434
+ <path
435
+ d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
436
+ />
437
+ <path
438
+ d="M12 17L12.01 17"
439
+ />
440
+ </svg>
441
+ </div>
438
442
  </div>
439
443
  </div>
440
- </div>
441
- <button
442
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
443
- >
444
- INIZIAMO
445
- </button>
446
- <div
447
- class="memori--completion-provider-status--loading"
448
- >
444
+ <button
445
+ class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
446
+ >
447
+ INIZIAMO
448
+ </button>
449
449
  <div
450
- class="memori-spin memori-spin--spinning"
450
+ class="memori--completion-provider-status--loading"
451
451
  >
452
452
  <div
453
- class="memori-spin--spinner"
453
+ class="memori-spin memori-spin--spinning"
454
454
  >
455
- <svg
456
- aria-hidden="true"
457
- class="memori-loading-icon"
458
- focusable="false"
459
- role="img"
460
- viewBox="0 0 1024 1024"
461
- xmlns="http://www.w3.org/2000/svg"
455
+ <div
456
+ class="memori-spin--spinner"
462
457
  >
463
- <path
464
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
465
- />
466
- </svg>
458
+ <svg
459
+ aria-hidden="true"
460
+ class="memori-loading-icon"
461
+ focusable="false"
462
+ role="img"
463
+ viewBox="0 0 1024 1024"
464
+ xmlns="http://www.w3.org/2000/svg"
465
+ >
466
+ <path
467
+ d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
468
+ />
469
+ </svg>
470
+ </div>
467
471
  </div>
468
472
  </div>
473
+ <p
474
+ class="memori--start-description"
475
+ >
476
+ Per parlare con me clicca sul pulsante INIZIAMO per cominciare
477
+ </p>
469
478
  </div>
470
- <p
471
- class="memori--start-description"
472
- >
473
- Per parlare con me clicca sul pulsante INIZIAMO per cominciare
474
- </p>
475
479
  </div>
476
480
  </div>
477
481
  </div>
@@ -705,297 +709,301 @@ exports[`renders FullPage layout with root css properties unchanged 1`] = `
705
709
  />
706
710
  </div>
707
711
  <div
708
- class="memori--grid-column memori--grid-column-right"
712
+ class="memori-chat-layout--main "
709
713
  >
710
714
  <div
711
- class="memori--start-panel"
715
+ class="memori-chat-layout--controls "
712
716
  >
713
717
  <div
714
- class="memori--cover"
718
+ class="memori--start-panel"
715
719
  >
716
720
  <div
717
- class="memori--completions-enabled"
721
+ class="memori--cover"
718
722
  >
719
723
  <div
720
- class="memori-tooltip memori-tooltip--align-left"
724
+ class="memori--completions-enabled"
721
725
  >
722
726
  <div
723
- class="memori-tooltip--content"
727
+ class="memori-tooltip memori-tooltip--align-left"
724
728
  >
725
- IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
726
- </div>
727
- <div
728
- class="memori-tooltip--trigger"
729
- >
730
- <span
731
- aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
729
+ <div
730
+ class="memori-tooltip--content"
732
731
  >
733
- <svg
734
- aria-hidden="true"
735
- fill="none"
736
- focusable="false"
737
- role="img"
738
- viewBox="0 0 24 24"
739
- xmlns="http://www.w3.org/2000/svg"
732
+ IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
733
+ </div>
734
+ <div
735
+ class="memori-tooltip--trigger"
736
+ >
737
+ <span
738
+ aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
740
739
  >
741
- <g
742
- clip-rule="evenodd"
743
- fill="currentColor"
744
- fill-rule="evenodd"
740
+ <svg
741
+ aria-hidden="true"
742
+ fill="none"
743
+ focusable="false"
744
+ role="img"
745
+ viewBox="0 0 24 24"
746
+ xmlns="http://www.w3.org/2000/svg"
745
747
  >
746
- <path
748
+ <g
747
749
  clip-rule="evenodd"
748
- d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
750
+ fill="currentColor"
749
751
  fill-rule="evenodd"
750
- />
751
- <path
752
- clip-rule="evenodd"
753
- d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
754
- fill-rule="evenodd"
755
- />
756
- <path
757
- clip-rule="evenodd"
758
- d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
759
- fill-rule="evenodd"
760
- />
761
- </g>
762
- </svg>
763
- </span>
752
+ >
753
+ <path
754
+ clip-rule="evenodd"
755
+ d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
756
+ fill-rule="evenodd"
757
+ />
758
+ <path
759
+ clip-rule="evenodd"
760
+ d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
761
+ fill-rule="evenodd"
762
+ />
763
+ <path
764
+ clip-rule="evenodd"
765
+ d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
766
+ fill-rule="evenodd"
767
+ />
768
+ </g>
769
+ </svg>
770
+ </span>
771
+ </div>
764
772
  </div>
765
773
  </div>
766
774
  </div>
767
- </div>
768
- <picture
769
- class="memori--avatar"
770
- >
771
- <source
772
- src="https://aisuru.com/images/aisuru/square_logo.png"
773
- />
774
- <img
775
- alt="Memori"
776
- src="https://aisuru.com/images/aisuru/square_logo.png"
777
- />
778
- </picture>
779
- <h2
780
- class="memori--title"
781
- >
782
- Memori
783
- </h2>
784
- <div
785
- class="memori--description"
786
- >
787
- <p>
788
- <span
789
- class="memori--description-text"
790
- >
791
- Lorem ipsum.
792
- </span>
793
- </p>
775
+ <picture
776
+ class="memori--avatar"
777
+ >
778
+ <source
779
+ src="https://aisuru.com/images/aisuru/square_logo.png"
780
+ />
781
+ <img
782
+ alt="Memori"
783
+ src="https://aisuru.com/images/aisuru/square_logo.png"
784
+ />
785
+ </picture>
786
+ <h2
787
+ class="memori--title"
788
+ >
789
+ Memori
790
+ </h2>
794
791
  <div
795
- class="memori--language-chooser"
792
+ class="memori--description"
796
793
  >
797
- <label
798
- for="user-lang-pref"
799
- id="user-lang-pref-label"
800
- >
801
- Voglio parlare con Memori in
802
- </label>
803
- <select
804
- aria-labelledby="user-lang-pref-label"
805
- class="memori-select--button"
806
- id="user-lang-pref"
807
- >
808
- <option
809
- aria-label="Italiano"
810
- value="IT"
811
- >
812
- Italiano
813
- </option>
814
- <option
815
- aria-label="English"
816
- value="EN"
817
- >
818
- English
819
- </option>
820
- <option
821
- aria-label="Deutsch"
822
- value="DE"
823
- >
824
- Deutsch
825
- </option>
826
- <option
827
- aria-label="Español"
828
- value="ES"
829
- >
830
- Español
831
- </option>
832
- <option
833
- aria-label="Français"
834
- value="FR"
835
- >
836
- Français
837
- </option>
838
- <option
839
- aria-label="Português"
840
- value="PT"
841
- >
842
- Português
843
- </option>
844
- <option
845
- aria-label="Українська"
846
- value="UK"
794
+ <p>
795
+ <span
796
+ class="memori--description-text"
847
797
  >
848
- Українська
849
- </option>
850
- <option
851
- aria-label="Русский"
852
- value="RU"
853
- >
854
- Русский
855
- </option>
856
- <option
857
- aria-label="Polski"
858
- value="PL"
859
- >
860
- Polski
861
- </option>
862
- <option
863
- aria-label="Suomi"
864
- value="FI"
865
- >
866
- Suomi
867
- </option>
868
- <option
869
- aria-label="Ελληνικά"
870
- value="EL"
871
- >
872
- Ελληνικά
873
- </option>
874
- <option
875
- aria-label="العربية"
876
- value="AR"
877
- >
878
- العربية
879
- </option>
880
- <option
881
- aria-label="中文"
882
- value="ZH"
798
+ Lorem ipsum.
799
+ </span>
800
+ </p>
801
+ <div
802
+ class="memori--language-chooser"
803
+ >
804
+ <label
805
+ for="user-lang-pref"
806
+ id="user-lang-pref-label"
883
807
  >
884
- 中文
885
- </option>
886
- <option
887
- aria-label="日本語"
888
- value="JA"
808
+ Voglio parlare con Memori in
809
+ </label>
810
+ <select
811
+ aria-labelledby="user-lang-pref-label"
812
+ class="memori-select--button"
813
+ id="user-lang-pref"
889
814
  >
890
- 日本語
891
- </option>
892
- </select>
893
- </div>
894
- <div
895
- class="memori--start-privacy-explanation-container"
896
- >
897
- <p
898
- class="memori--start-privacy-explanation"
899
- >
900
- Le conversazioni sono visibili all'autore dell'agente
901
- </p>
815
+ <option
816
+ aria-label="Italiano"
817
+ value="IT"
818
+ >
819
+ Italiano
820
+ </option>
821
+ <option
822
+ aria-label="English"
823
+ value="EN"
824
+ >
825
+ English
826
+ </option>
827
+ <option
828
+ aria-label="Deutsch"
829
+ value="DE"
830
+ >
831
+ Deutsch
832
+ </option>
833
+ <option
834
+ aria-label="Español"
835
+ value="ES"
836
+ >
837
+ Español
838
+ </option>
839
+ <option
840
+ aria-label="Français"
841
+ value="FR"
842
+ >
843
+ Français
844
+ </option>
845
+ <option
846
+ aria-label="Português"
847
+ value="PT"
848
+ >
849
+ Português
850
+ </option>
851
+ <option
852
+ aria-label="Українська"
853
+ value="UK"
854
+ >
855
+ Українська
856
+ </option>
857
+ <option
858
+ aria-label="Русский"
859
+ value="RU"
860
+ >
861
+ Русский
862
+ </option>
863
+ <option
864
+ aria-label="Polski"
865
+ value="PL"
866
+ >
867
+ Polski
868
+ </option>
869
+ <option
870
+ aria-label="Suomi"
871
+ value="FI"
872
+ >
873
+ Suomi
874
+ </option>
875
+ <option
876
+ aria-label="Ελληνικά"
877
+ value="EL"
878
+ >
879
+ Ελληνικά
880
+ </option>
881
+ <option
882
+ aria-label="العربية"
883
+ value="AR"
884
+ >
885
+ العربية
886
+ </option>
887
+ <option
888
+ aria-label="中文"
889
+ value="ZH"
890
+ >
891
+ 中文
892
+ </option>
893
+ <option
894
+ aria-label="日本語"
895
+ value="JA"
896
+ >
897
+ 日本語
898
+ </option>
899
+ </select>
900
+ </div>
902
901
  <div
903
- class="memori-tooltip memori-tooltip--align-right"
902
+ class="memori--start-privacy-explanation-container"
904
903
  >
904
+ <p
905
+ class="memori--start-privacy-explanation"
906
+ >
907
+ Le conversazioni sono visibili all'autore dell'agente
908
+ </p>
905
909
  <div
906
- class="memori-tooltip--content"
910
+ class="memori-tooltip memori-tooltip--align-right"
907
911
  >
908
912
  <div
909
- class="memori--privacy-tooltip-content"
913
+ class="memori-tooltip--content"
910
914
  >
911
- <p>
912
-
913
- Tutte le conversazioni con questo agente sono visibili all'autore dell'agente
914
- </p>
915
- <ul
916
- class="memori--privacy-tooltip-content-list"
915
+ <div
916
+ class="memori--privacy-tooltip-content"
917
917
  >
918
- <li>
919
- L'autore può vedere il contenuto e il tuo indirizzo IP
920
- </li>
921
- </ul>
922
- <p>
923
- L'autore utilizza queste informazioni per migliorare le funzionalità dell'agente. Continuando, accetti queste condizioni.
924
- </p>
925
- <a
926
- href="https://memori.ai/en/privacy-policy"
927
- rel="noopener noreferrer"
928
- target="_blank"
929
- >
930
- Informativa sulla privacy
931
- </a>
918
+ <p>
919
+
920
+ Tutte le conversazioni con questo agente sono visibili all'autore dell'agente
921
+ </p>
922
+ <ul
923
+ class="memori--privacy-tooltip-content-list"
924
+ >
925
+ <li>
926
+ L'autore può vedere il contenuto e il tuo indirizzo IP
927
+ </li>
928
+ </ul>
929
+ <p>
930
+ L'autore utilizza queste informazioni per migliorare le funzionalità dell'agente. Continuando, accetti queste condizioni.
931
+ </p>
932
+ <a
933
+ href="https://memori.ai/en/privacy-policy"
934
+ rel="noopener noreferrer"
935
+ target="_blank"
936
+ >
937
+ Informativa sulla privacy
938
+ </a>
939
+ </div>
932
940
  </div>
933
- </div>
934
- <div
935
- class="memori-tooltip--trigger"
936
- >
937
- <svg
938
- aria-hidden="true"
939
- class="memori--start-privacy-explanation-icon"
940
- fill="none"
941
- focusable="false"
942
- role="img"
943
- stroke="currentColor"
944
- stroke-linecap="round"
945
- stroke-linejoin="round"
946
- stroke-width="1.5"
947
- viewBox="0 0 24 24"
948
- xmlns="http://www.w3.org/2000/svg"
941
+ <div
942
+ class="memori-tooltip--trigger"
949
943
  >
950
- <circle
951
- cx="12"
952
- cy="12"
953
- r="10"
954
- />
955
- <path
956
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
957
- />
958
- <path
959
- d="M12 17L12.01 17"
960
- />
961
- </svg>
944
+ <svg
945
+ aria-hidden="true"
946
+ class="memori--start-privacy-explanation-icon"
947
+ fill="none"
948
+ focusable="false"
949
+ role="img"
950
+ stroke="currentColor"
951
+ stroke-linecap="round"
952
+ stroke-linejoin="round"
953
+ stroke-width="1.5"
954
+ viewBox="0 0 24 24"
955
+ xmlns="http://www.w3.org/2000/svg"
956
+ >
957
+ <circle
958
+ cx="12"
959
+ cy="12"
960
+ r="10"
961
+ />
962
+ <path
963
+ d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
964
+ />
965
+ <path
966
+ d="M12 17L12.01 17"
967
+ />
968
+ </svg>
969
+ </div>
962
970
  </div>
963
971
  </div>
964
- </div>
965
- <button
966
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
967
- >
968
- INIZIAMO
969
- </button>
970
- <div
971
- class="memori--completion-provider-status--loading"
972
- >
972
+ <button
973
+ class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
974
+ >
975
+ INIZIAMO
976
+ </button>
973
977
  <div
974
- class="memori-spin memori-spin--spinning"
978
+ class="memori--completion-provider-status--loading"
975
979
  >
976
980
  <div
977
- class="memori-spin--spinner"
981
+ class="memori-spin memori-spin--spinning"
978
982
  >
979
- <svg
980
- aria-hidden="true"
981
- class="memori-loading-icon"
982
- focusable="false"
983
- role="img"
984
- viewBox="0 0 1024 1024"
985
- xmlns="http://www.w3.org/2000/svg"
983
+ <div
984
+ class="memori-spin--spinner"
986
985
  >
987
- <path
988
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
989
- />
990
- </svg>
986
+ <svg
987
+ aria-hidden="true"
988
+ class="memori-loading-icon"
989
+ focusable="false"
990
+ role="img"
991
+ viewBox="0 0 1024 1024"
992
+ xmlns="http://www.w3.org/2000/svg"
993
+ >
994
+ <path
995
+ d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
996
+ />
997
+ </svg>
998
+ </div>
991
999
  </div>
992
1000
  </div>
1001
+ <p
1002
+ class="memori--start-description"
1003
+ >
1004
+ Per parlare con me clicca sul pulsante INIZIAMO per cominciare
1005
+ </p>
993
1006
  </div>
994
- <p
995
- class="memori--start-description"
996
- >
997
- Per parlare con me clicca sul pulsante INIZIAMO per cominciare
998
- </p>
999
1007
  </div>
1000
1008
  </div>
1001
1009
  </div>