@memori.ai/memori-react 8.4.1 → 8.5.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 (143) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/components/LoginDrawer/LoginDrawer.d.ts +1 -2
  3. package/dist/components/LoginDrawer/LoginDrawer.js +2 -105
  4. package/dist/components/LoginDrawer/LoginDrawer.js.map +1 -1
  5. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +0 -4
  6. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.d.ts +1 -0
  7. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +3 -3
  8. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
  9. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +110 -8
  10. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
  11. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
  12. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
  13. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.js +42 -38
  14. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.js.map +1 -1
  15. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -2
  16. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/types.d.ts +2 -1
  17. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +428 -15
  18. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.d.ts +1 -0
  19. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +47 -8
  20. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  21. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css +150 -0
  22. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.d.ts +9 -0
  23. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.js +35 -0
  24. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.js.map +1 -0
  25. package/dist/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +2 -0
  26. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +1 -1
  27. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.d.ts +2 -1
  28. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +15 -26
  29. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
  30. package/dist/components/MemoriArtifactSystem/context/ArtifactContext.js +1 -5
  31. package/dist/components/MemoriArtifactSystem/context/ArtifactContext.js.map +1 -1
  32. package/dist/components/MemoriWidget/MemoriWidget.js +1 -1
  33. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  34. package/dist/components/icons/Close.d.ts +2 -1
  35. package/dist/components/icons/Close.js +1 -1
  36. package/dist/components/icons/Close.js.map +1 -1
  37. package/dist/components/icons/MenuVertical.d.ts +7 -0
  38. package/dist/components/icons/MenuVertical.js +6 -0
  39. package/dist/components/icons/MenuVertical.js.map +1 -0
  40. package/dist/components/layouts/Chat.js +1 -1
  41. package/dist/components/layouts/Chat.js.map +1 -1
  42. package/dist/components/layouts/FullPage.js +1 -1
  43. package/dist/components/layouts/FullPage.js.map +1 -1
  44. package/dist/components/layouts/ZoomedFullBody.js +1 -1
  45. package/dist/components/layouts/ZoomedFullBody.js.map +1 -1
  46. package/dist/components/layouts/chat.css +73 -85
  47. package/dist/components/ui/Drawer.d.ts +1 -0
  48. package/dist/components/ui/Drawer.js +2 -2
  49. package/dist/components/ui/Drawer.js.map +1 -1
  50. package/dist/locales/de.json +37 -1
  51. package/dist/locales/en.json +37 -1
  52. package/dist/locales/es.json +37 -1
  53. package/dist/locales/fr.json +37 -1
  54. package/dist/locales/it.json +37 -1
  55. package/esm/components/LoginDrawer/LoginDrawer.d.ts +1 -2
  56. package/esm/components/LoginDrawer/LoginDrawer.js +3 -106
  57. package/esm/components/LoginDrawer/LoginDrawer.js.map +1 -1
  58. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +0 -4
  59. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.d.ts +1 -0
  60. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +3 -3
  61. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
  62. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +110 -8
  63. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
  64. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
  65. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
  66. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.js +42 -38
  67. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.js.map +1 -1
  68. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -2
  69. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/types.d.ts +2 -1
  70. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +428 -15
  71. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.d.ts +1 -0
  72. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +48 -9
  73. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  74. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css +150 -0
  75. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.d.ts +9 -0
  76. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.js +32 -0
  77. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.js.map +1 -0
  78. package/esm/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +2 -0
  79. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +1 -1
  80. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.d.ts +2 -1
  81. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +16 -27
  82. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
  83. package/esm/components/MemoriArtifactSystem/context/ArtifactContext.js +1 -5
  84. package/esm/components/MemoriArtifactSystem/context/ArtifactContext.js.map +1 -1
  85. package/esm/components/MemoriWidget/MemoriWidget.js +1 -1
  86. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  87. package/esm/components/icons/Close.d.ts +2 -1
  88. package/esm/components/icons/Close.js +1 -1
  89. package/esm/components/icons/Close.js.map +1 -1
  90. package/esm/components/icons/MenuVertical.d.ts +7 -0
  91. package/esm/components/icons/MenuVertical.js +4 -0
  92. package/esm/components/icons/MenuVertical.js.map +1 -0
  93. package/esm/components/layouts/Chat.js +1 -1
  94. package/esm/components/layouts/Chat.js.map +1 -1
  95. package/esm/components/layouts/FullPage.js +1 -1
  96. package/esm/components/layouts/FullPage.js.map +1 -1
  97. package/esm/components/layouts/ZoomedFullBody.js +1 -1
  98. package/esm/components/layouts/ZoomedFullBody.js.map +1 -1
  99. package/esm/components/layouts/chat.css +73 -85
  100. package/esm/components/ui/Drawer.d.ts +1 -0
  101. package/esm/components/ui/Drawer.js +2 -2
  102. package/esm/components/ui/Drawer.js.map +1 -1
  103. package/esm/locales/de.json +37 -1
  104. package/esm/locales/en.json +37 -1
  105. package/esm/locales/es.json +37 -1
  106. package/esm/locales/fr.json +37 -1
  107. package/esm/locales/it.json +37 -1
  108. package/package.json +1 -1
  109. package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +9 -0
  110. package/src/components/LoginDrawer/LoginDrawer.tsx +46 -221
  111. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +0 -4
  112. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +7 -5
  113. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.tsx +148 -12
  114. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.tsx +3 -0
  115. package/src/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.ts +54 -47
  116. package/src/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -2
  117. package/src/components/MemoriArtifactSystem/components/ArtifactActions/types.ts +2 -1
  118. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +428 -15
  119. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +240 -42
  120. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css +150 -0
  121. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.tsx +79 -0
  122. package/src/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +2 -0
  123. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +1 -1
  124. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +2 -41
  125. package/src/components/MemoriArtifactSystem/context/ArtifactContext.tsx +1 -5
  126. package/src/components/MemoriWidget/MemoriWidget.tsx +0 -1
  127. package/src/components/icons/Close.tsx +8 -1
  128. package/src/components/icons/MenuVertical.tsx +29 -0
  129. package/src/components/layouts/Chat.tsx +3 -1
  130. package/src/components/layouts/FullPage.tsx +7 -2
  131. package/src/components/layouts/ZoomedFullBody.tsx +8 -3
  132. package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +1 -1
  133. package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +112 -104
  134. package/src/components/layouts/__snapshots__/HiddenChat.test.tsx.snap +3 -0
  135. package/src/components/layouts/__snapshots__/ZoomedFullBody.test.tsx.snap +56 -52
  136. package/src/components/layouts/chat.css +73 -85
  137. package/src/components/ui/Drawer.tsx +3 -1
  138. package/src/components/ui/__snapshots__/Alert.test.tsx.snap +3 -0
  139. package/src/locales/de.json +37 -1
  140. package/src/locales/en.json +37 -1
  141. package/src/locales/es.json +37 -1
  142. package/src/locales/fr.json +37 -1
  143. package/src/locales/it.json +38 -1
@@ -3,9 +3,11 @@ import React from 'react';
3
3
  const Close = ({
4
4
  className,
5
5
  title,
6
+ bold = false,
6
7
  }: {
7
8
  className?: string;
8
9
  title?: string;
10
+ bold?: boolean;
9
11
  }) => (
10
12
  <svg
11
13
  {...(!title ? { 'aria-hidden': 'true' } : {})}
@@ -16,7 +18,12 @@ const Close = ({
16
18
  className={className}
17
19
  aria-label={title}
18
20
  >
19
- <path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" />
21
+ <path
22
+ d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
23
+ strokeWidth={bold ? 2 : 0}
24
+ stroke={bold ? "currentColor" : "none"}
25
+ fill={bold ? "none" : "currentColor"}
26
+ />
20
27
  </svg>
21
28
  );
22
29
 
@@ -0,0 +1,29 @@
1
+ import * as React from "react"
2
+ const MenuVertical = ({
3
+ className,
4
+ title,
5
+ bold = false,
6
+ }: {
7
+ className?: string;
8
+ title?: string;
9
+ bold?: boolean;
10
+ }) => (
11
+ <svg
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ width={800}
14
+ height={800}
15
+ fill="none"
16
+ viewBox="0 0 24 24"
17
+ className={className}
18
+ aria-label={title}
19
+ >
20
+ <path
21
+ stroke="#000"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ strokeWidth={bold ? 3 : 2}
25
+ d="M13 5a1 1 0 1 0-2 0 1 1 0 0 0 2 0ZM13 12a1 1 0 1 0-2 0 1 1 0 0 0 2 0ZM13 19a1 1 0 1 0-2 0 1 1 0 0 0 2 0Z"
26
+ />
27
+ </svg>
28
+ )
29
+ export default MenuVertical
@@ -29,7 +29,9 @@ const ChatLayout: React.FC<LayoutProps> = ({
29
29
  <Spin spinning={loading} className="memori-chat-layout">
30
30
  {poweredBy}
31
31
 
32
- <div className="memori-chat-layout--header">
32
+ <div className={`memori-chat-layout--header ${
33
+ state.isDrawerOpen ? 'memori-chat-layout--header-with-artifact' : ''
34
+ }`}>
33
35
  {Header && headerProps && <Header {...headerProps} />}
34
36
  </div>
35
37
 
@@ -28,7 +28,13 @@ const FullPageLayout: React.FC<LayoutProps> = ({
28
28
  {integrationBackground}
29
29
 
30
30
  <Spin spinning={loading}>
31
- {Header && headerProps && <Header {...headerProps} />}
31
+ <div
32
+ className={`memori-chat-layout--header ${
33
+ state.isDrawerOpen ? 'memori-chat-layout--header-with-artifact' : ''
34
+ }`}
35
+ >
36
+ {Header && headerProps && <Header {...headerProps} />}
37
+ </div>
32
38
 
33
39
  <div className="memori--grid">
34
40
  {!state.isDrawerOpen && (
@@ -62,7 +68,6 @@ const FullPageLayout: React.FC<LayoutProps> = ({
62
68
  <StartPanel {...startPanelProps} />
63
69
  ) : null}
64
70
  </div>
65
-
66
71
  </div>
67
72
 
68
73
  {poweredBy}
@@ -1,8 +1,7 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import Spin from '../ui/Spin';
3
3
  import { LayoutProps } from '../MemoriWidget/MemoriWidget';
4
- import
5
- ArtifactDrawer from '../MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer';
4
+ import ArtifactDrawer from '../MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer';
6
5
  import { useArtifact } from '../MemoriArtifactSystem/context/ArtifactContext';
7
6
 
8
7
  const ZoomedFullBodyLayout: React.FC<LayoutProps> = ({
@@ -30,7 +29,13 @@ const ZoomedFullBodyLayout: React.FC<LayoutProps> = ({
30
29
  {integrationBackground}
31
30
 
32
31
  <Spin className="memori-spin--zoomed-full-body" spinning={loading}>
33
- {Header && headerProps && <Header {...headerProps} />}
32
+ <div
33
+ className={`memori-chat-layout--header ${
34
+ state.isDrawerOpen ? 'memori-chat-layout--header-with-artifact' : ''
35
+ }`}
36
+ >
37
+ {Header && headerProps && <Header {...headerProps} />}
38
+ </div>
34
39
 
35
40
  <div className="memori--grid">
36
41
  {!state.isDrawerOpen && (
@@ -61,7 +61,7 @@ exports[`renders Chat layout unchanged 1`] = `
61
61
  </p>
62
62
  </div>
63
63
  <div
64
- class="memori-chat-layout--header"
64
+ class="memori-chat-layout--header "
65
65
  >
66
66
  <div
67
67
  class="memori-header"
@@ -39,62 +39,36 @@ exports[`renders FullPage layout unchanged 1`] = `
39
39
  class="memori-spin"
40
40
  >
41
41
  <div
42
- class="memori-header"
42
+ class="memori-chat-layout--header "
43
43
  >
44
- <button
45
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
46
- title="Suono"
47
- >
48
- <span
49
- class="memori-button--icon"
50
- >
51
- <svg
52
- aria-hidden="true"
53
- focusable="false"
54
- role="img"
55
- viewBox="0 0 1024 1024"
56
- xmlns="http://www.w3.org/2000/svg"
57
- >
58
- <path
59
- d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
60
- />
61
- </svg>
62
- </span>
63
- </button>
64
- <button
65
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
66
- title="Impostazioni"
44
+ <div
45
+ class="memori-header"
67
46
  >
68
- <span
69
- class="memori-button--icon"
47
+ <button
48
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
49
+ title="Suono"
70
50
  >
71
- <svg
72
- aria-hidden="true"
73
- focusable="false"
74
- role="img"
75
- viewBox="0 0 1024 1024"
76
- xmlns="http://www.w3.org/2000/svg"
51
+ <span
52
+ class="memori-button--icon"
77
53
  >
78
- <path
79
- d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
80
- />
81
- </svg>
82
- </span>
83
- </button>
84
- <div
85
- class="memori-share-button memori-share-button--align-left"
86
- data-headlessui-state=""
87
- >
54
+ <svg
55
+ aria-hidden="true"
56
+ focusable="false"
57
+ role="img"
58
+ viewBox="0 0 1024 1024"
59
+ xmlns="http://www.w3.org/2000/svg"
60
+ >
61
+ <path
62
+ d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
63
+ />
64
+ </svg>
65
+ </span>
66
+ </button>
88
67
  <button
89
- aria-expanded="false"
90
- aria-haspopup="true"
91
- class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
92
- data-headlessui-state=""
93
- id="headlessui-menu-button-:r0:"
94
- title="Condividi"
95
- type="button"
68
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
69
+ title="Impostazioni"
96
70
  >
97
- <div
71
+ <span
98
72
  class="memori-button--icon"
99
73
  >
100
74
  <svg
@@ -105,11 +79,41 @@ exports[`renders FullPage layout unchanged 1`] = `
105
79
  xmlns="http://www.w3.org/2000/svg"
106
80
  >
107
81
  <path
108
- d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
82
+ d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
109
83
  />
110
84
  </svg>
111
- </div>
85
+ </span>
112
86
  </button>
87
+ <div
88
+ class="memori-share-button memori-share-button--align-left"
89
+ data-headlessui-state=""
90
+ >
91
+ <button
92
+ aria-expanded="false"
93
+ aria-haspopup="true"
94
+ class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
95
+ data-headlessui-state=""
96
+ id="headlessui-menu-button-:r0:"
97
+ title="Condividi"
98
+ type="button"
99
+ >
100
+ <div
101
+ class="memori-button--icon"
102
+ >
103
+ <svg
104
+ aria-hidden="true"
105
+ focusable="false"
106
+ role="img"
107
+ viewBox="0 0 1024 1024"
108
+ xmlns="http://www.w3.org/2000/svg"
109
+ >
110
+ <path
111
+ d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
112
+ />
113
+ </svg>
114
+ </div>
115
+ </button>
116
+ </div>
113
117
  </div>
114
118
  </div>
115
119
  <div
@@ -567,62 +571,36 @@ exports[`renders FullPage layout with root css properties unchanged 1`] = `
567
571
  class="memori-spin"
568
572
  >
569
573
  <div
570
- class="memori-header"
574
+ class="memori-chat-layout--header "
571
575
  >
572
- <button
573
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
574
- title="Suono"
575
- >
576
- <span
577
- class="memori-button--icon"
578
- >
579
- <svg
580
- aria-hidden="true"
581
- focusable="false"
582
- role="img"
583
- viewBox="0 0 1024 1024"
584
- xmlns="http://www.w3.org/2000/svg"
585
- >
586
- <path
587
- d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
588
- />
589
- </svg>
590
- </span>
591
- </button>
592
- <button
593
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
594
- title="Impostazioni"
576
+ <div
577
+ class="memori-header"
595
578
  >
596
- <span
597
- class="memori-button--icon"
579
+ <button
580
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
581
+ title="Suono"
598
582
  >
599
- <svg
600
- aria-hidden="true"
601
- focusable="false"
602
- role="img"
603
- viewBox="0 0 1024 1024"
604
- xmlns="http://www.w3.org/2000/svg"
583
+ <span
584
+ class="memori-button--icon"
605
585
  >
606
- <path
607
- d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
608
- />
609
- </svg>
610
- </span>
611
- </button>
612
- <div
613
- class="memori-share-button memori-share-button--align-left"
614
- data-headlessui-state=""
615
- >
586
+ <svg
587
+ aria-hidden="true"
588
+ focusable="false"
589
+ role="img"
590
+ viewBox="0 0 1024 1024"
591
+ xmlns="http://www.w3.org/2000/svg"
592
+ >
593
+ <path
594
+ d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
595
+ />
596
+ </svg>
597
+ </span>
598
+ </button>
616
599
  <button
617
- aria-expanded="false"
618
- aria-haspopup="true"
619
- class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
620
- data-headlessui-state=""
621
- id="headlessui-menu-button-:r2:"
622
- title="Condividi"
623
- type="button"
600
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
601
+ title="Impostazioni"
624
602
  >
625
- <div
603
+ <span
626
604
  class="memori-button--icon"
627
605
  >
628
606
  <svg
@@ -633,11 +611,41 @@ exports[`renders FullPage layout with root css properties unchanged 1`] = `
633
611
  xmlns="http://www.w3.org/2000/svg"
634
612
  >
635
613
  <path
636
- d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
614
+ d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
637
615
  />
638
616
  </svg>
639
- </div>
617
+ </span>
640
618
  </button>
619
+ <div
620
+ class="memori-share-button memori-share-button--align-left"
621
+ data-headlessui-state=""
622
+ >
623
+ <button
624
+ aria-expanded="false"
625
+ aria-haspopup="true"
626
+ class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
627
+ data-headlessui-state=""
628
+ id="headlessui-menu-button-:r2:"
629
+ title="Condividi"
630
+ type="button"
631
+ >
632
+ <div
633
+ class="memori-button--icon"
634
+ >
635
+ <svg
636
+ aria-hidden="true"
637
+ focusable="false"
638
+ role="img"
639
+ viewBox="0 0 1024 1024"
640
+ xmlns="http://www.w3.org/2000/svg"
641
+ >
642
+ <path
643
+ d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
644
+ />
645
+ </svg>
646
+ </div>
647
+ </button>
648
+ </div>
641
649
  </div>
642
650
  </div>
643
651
  <div
@@ -67,6 +67,9 @@ exports[`renders HIDDEN_CHAT layout unchanged 1`] = `
67
67
  >
68
68
  <path
69
69
  d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
70
+ fill="currentColor"
71
+ stroke="none"
72
+ stroke-width="0"
70
73
  />
71
74
  </svg>
72
75
  </span>
@@ -39,62 +39,36 @@ exports[`renders ZOOMED_FULL_BODY layout unchanged 1`] = `
39
39
  class="memori-spin memori-spin--zoomed-full-body"
40
40
  >
41
41
  <div
42
- class="memori-header"
42
+ class="memori-chat-layout--header "
43
43
  >
44
- <button
45
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
46
- title="Suono"
47
- >
48
- <span
49
- class="memori-button--icon"
50
- >
51
- <svg
52
- aria-hidden="true"
53
- focusable="false"
54
- role="img"
55
- viewBox="0 0 1024 1024"
56
- xmlns="http://www.w3.org/2000/svg"
57
- >
58
- <path
59
- d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
60
- />
61
- </svg>
62
- </span>
63
- </button>
64
- <button
65
- class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
66
- title="Impostazioni"
44
+ <div
45
+ class="memori-header"
67
46
  >
68
- <span
69
- class="memori-button--icon"
47
+ <button
48
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button--speaker"
49
+ title="Suono"
70
50
  >
71
- <svg
72
- aria-hidden="true"
73
- focusable="false"
74
- role="img"
75
- viewBox="0 0 1024 1024"
76
- xmlns="http://www.w3.org/2000/svg"
51
+ <span
52
+ class="memori-button--icon"
77
53
  >
78
- <path
79
- d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
80
- />
81
- </svg>
82
- </span>
83
- </button>
84
- <div
85
- class="memori-share-button memori-share-button--align-left"
86
- data-headlessui-state=""
87
- >
54
+ <svg
55
+ aria-hidden="true"
56
+ focusable="false"
57
+ role="img"
58
+ viewBox="0 0 1024 1024"
59
+ xmlns="http://www.w3.org/2000/svg"
60
+ >
61
+ <path
62
+ d="M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"
63
+ />
64
+ </svg>
65
+ </span>
66
+ </button>
88
67
  <button
89
- aria-expanded="false"
90
- aria-haspopup="true"
91
- class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
92
- data-headlessui-state=""
93
- id="headlessui-menu-button-:r0:"
94
- title="Condividi"
95
- type="button"
68
+ class="memori-button memori-button--primary memori-button--circle memori-button--padded memori-button--icon-only memori-header--button memori-header--button-settings"
69
+ title="Impostazioni"
96
70
  >
97
- <div
71
+ <span
98
72
  class="memori-button--icon"
99
73
  >
100
74
  <svg
@@ -105,11 +79,41 @@ exports[`renders ZOOMED_FULL_BODY layout unchanged 1`] = `
105
79
  xmlns="http://www.w3.org/2000/svg"
106
80
  >
107
81
  <path
108
- d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
82
+ d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"
109
83
  />
110
84
  </svg>
111
- </div>
85
+ </span>
112
86
  </button>
87
+ <div
88
+ class="memori-share-button memori-share-button--align-left"
89
+ data-headlessui-state=""
90
+ >
91
+ <button
92
+ aria-expanded="false"
93
+ aria-haspopup="true"
94
+ class="memori-button memori-button--circle memori-button--icon-only memori-share-button--button memori-header--button memori-header--button-share memori-button--primary"
95
+ data-headlessui-state=""
96
+ id="headlessui-menu-button-:r0:"
97
+ title="Condividi"
98
+ type="button"
99
+ >
100
+ <div
101
+ class="memori-button--icon"
102
+ >
103
+ <svg
104
+ aria-hidden="true"
105
+ focusable="false"
106
+ role="img"
107
+ viewBox="0 0 1024 1024"
108
+ xmlns="http://www.w3.org/2000/svg"
109
+ >
110
+ <path
111
+ d="M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"
112
+ />
113
+ </svg>
114
+ </div>
115
+ </button>
116
+ </div>
113
117
  </div>
114
118
  </div>
115
119
  <div