@memori.ai/memori-react 8.45.5 → 8.45.6
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 +7 -0
- package/dist/components/MemoriWidget/MemoriWidget.js +34 -3
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/helpers/speech/speechRequest.d.ts +15 -0
- package/dist/helpers/speech/speechRequest.js +76 -0
- package/dist/helpers/speech/speechRequest.js.map +1 -0
- package/dist/helpers/stt/useSTT.d.ts +4 -0
- package/dist/helpers/stt/useSTT.js +20 -13
- package/dist/helpers/stt/useSTT.js.map +1 -1
- package/dist/helpers/tts/useTTS.d.ts +5 -0
- package/dist/helpers/tts/useTTS.js +12 -4
- package/dist/helpers/tts/useTTS.js.map +1 -1
- package/dist/locales/de.json +4 -0
- package/dist/locales/en.json +4 -0
- package/dist/locales/es.json +4 -0
- package/dist/locales/fr.json +4 -0
- package/dist/locales/it.json +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/esm/components/ChatHistoryDrawer/ChatResumeDrawer.css +78 -0
- package/esm/components/DrawerFooter/DrawerFooter.css +62 -0
- package/esm/components/IconButton/IconButton.css +135 -0
- package/esm/components/LoginModal/LoginModal.css +270 -0
- package/esm/components/MemoriWidget/MemoriWidget.js +34 -3
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/MobileSessionPanel/MobileSessionPanel.css +540 -0
- package/esm/components/PositionPopover/PositionPopover.css +218 -0
- package/esm/components/ReasoningBlock/ReasoningBlock.css +156 -0
- package/esm/components/SideDrawer/SideDrawer.css +112 -0
- package/esm/components/layouts/WebsiteAssistant/website-assistant.css +889 -0
- package/esm/components/layouts/fullpage.css +628 -0
- package/esm/helpers/speech/speechRequest.d.ts +15 -0
- package/esm/helpers/speech/speechRequest.js +68 -0
- package/esm/helpers/speech/speechRequest.js.map +1 -0
- package/esm/helpers/stt/useSTT.d.ts +4 -0
- package/esm/helpers/stt/useSTT.js +20 -13
- package/esm/helpers/stt/useSTT.js.map +1 -1
- package/esm/helpers/tts/useTTS.d.ts +5 -0
- package/esm/helpers/tts/useTTS.js +12 -4
- package/esm/helpers/tts/useTTS.js.map +1 -1
- package/esm/locales/de.json +4 -0
- package/esm/locales/en.json +4 -0
- package/esm/locales/es.json +4 -0
- package/esm/locales/fr.json +4 -0
- package/esm/locales/it.json +4 -0
- package/esm/styles/motion.css +25 -0
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
.memori-position-popover__positioner {
|
|
2
|
+
z-index: 1300;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.memori-position-popover__popup {
|
|
6
|
+
display: flex;
|
|
7
|
+
width: min(22rem, calc(100vw - 2rem));
|
|
8
|
+
max-width: 22rem;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
padding: 0.45rem;
|
|
11
|
+
border-radius: var(--memori-radius-surface);
|
|
12
|
+
background: var(--memori-secondary-background);
|
|
13
|
+
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--memori-border-color, rgba(0, 0, 0, 0.08));
|
|
14
|
+
font-size: var(--memori-text-size-md);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.memori-position-popover__row {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
gap: var(--memori-spacing-md);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.memori-position-popover__switch-row {
|
|
25
|
+
min-height: 3rem;
|
|
26
|
+
padding: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.memori-position-popover__switch-meta {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
min-width: 0;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 0.5rem;
|
|
34
|
+
gap: var(--memori-spacing-sm);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.memori-position-popover__switch-icon {
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
color: var(--memori-neutral, rgba(255, 255, 255, 0.75));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.memori-position-popover__switch-label {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
min-width: 0;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: 0.1rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.memori-position-popover__switch-label-title {
|
|
50
|
+
color: var(--memori-text-color, #fff);
|
|
51
|
+
font-size: 0.95rem;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
line-height: var(--memori-text-line-normal);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.memori-position-popover__switch-label-subtitle {
|
|
57
|
+
color: var(--memori-neutral, rgba(255, 255, 255, 0.65));
|
|
58
|
+
font-size: 0.75rem;
|
|
59
|
+
line-height: 1.2;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.memori-position-popover__switch {
|
|
63
|
+
position: relative;
|
|
64
|
+
width: 2rem;
|
|
65
|
+
height: 1.15rem;
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
border: none;
|
|
69
|
+
border-radius: 999px;
|
|
70
|
+
background: rgba(255, 255, 255, 0.28);
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
transition: background 0.15s ease;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.memori-position-popover__switch:focus-visible {
|
|
76
|
+
outline: 2px solid var(--memori-primary, #3182ce);
|
|
77
|
+
outline-offset: 2px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.memori-position-popover__switch--on {
|
|
81
|
+
background: var(--memori-primary, #8b5cf6);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.memori-position-popover__switch-thumb {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 2px;
|
|
87
|
+
left: 2px;
|
|
88
|
+
width: calc(1.15rem - 4px);
|
|
89
|
+
height: calc(1.15rem - 4px);
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
background: #fff;
|
|
92
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
93
|
+
transition: transform 0.15s ease;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.memori-position-popover__switch--on .memori-position-popover__switch-thumb {
|
|
97
|
+
transform: translateX(0.85rem);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.memori-position-popover__tag-block {
|
|
101
|
+
margin-top: var(--memori-spacing-sm);
|
|
102
|
+
margin-bottom: var(--memori-spacing-sm);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.memori-position-popover__tag {
|
|
106
|
+
display: flex;
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
align-items: center;
|
|
109
|
+
padding: var(--memori-spacing-xs) var(--memori-spacing-sm);
|
|
110
|
+
border-radius: 999px;
|
|
111
|
+
background: var(--memori-main-background);
|
|
112
|
+
gap: var(--memori-spacing-xs);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.memori-autocomplete__portal,
|
|
116
|
+
.memori-autocomplete__positioner {
|
|
117
|
+
z-index: 1301;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.memori-position-popover__tag--loading {
|
|
121
|
+
min-height: 2rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.memori-position-popover__tag-text {
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
flex: 1 1 auto;
|
|
128
|
+
font-size: 0.875rem;
|
|
129
|
+
text-overflow: ellipsis;
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.memori-position-popover__tag-edit {
|
|
134
|
+
display: inline-flex;
|
|
135
|
+
flex-shrink: 0;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
padding: 4px;
|
|
139
|
+
border: none;
|
|
140
|
+
border-radius: var(--memori-radius-control);
|
|
141
|
+
background: transparent;
|
|
142
|
+
color: var(--memori-text-color);
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.memori-position-popover__tag-edit:hover {
|
|
147
|
+
background: rgba(0, 0, 0, 0.06);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.memori-position-popover__tag-edit:focus-visible {
|
|
151
|
+
outline: 2px solid var(--memori-primary, #3182ce);
|
|
152
|
+
outline-offset: 2px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.memori-position-popover__tag-skeleton {
|
|
156
|
+
height: 0.65rem;
|
|
157
|
+
flex: 1 1 auto;
|
|
158
|
+
border-radius: 4px;
|
|
159
|
+
animation: memori-position-popover-shimmer 1.2s ease-in-out infinite;
|
|
160
|
+
background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.12) 37%, rgba(0, 0, 0, 0.06) 63%);
|
|
161
|
+
background-size: 400% 100%;
|
|
162
|
+
margin-inline: var(--memori-spacing-xs);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.memori-position-popover__spinner {
|
|
166
|
+
display: inline-block;
|
|
167
|
+
width: 1.125rem;
|
|
168
|
+
height: 1.125rem;
|
|
169
|
+
flex-shrink: 0;
|
|
170
|
+
border: 2px solid var(--memori-border-color, #cbd5e0);
|
|
171
|
+
border-radius: 50%;
|
|
172
|
+
border-top-color: var(--memori-primary, #3182ce);
|
|
173
|
+
animation: memori-position-popover-spin 0.7s linear infinite;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.memori-position-popover__autocomplete-wrap {
|
|
177
|
+
width: 100%;
|
|
178
|
+
min-width: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.memori-position-popover__error {
|
|
182
|
+
margin: 0 0 var(--memori-spacing-sm);
|
|
183
|
+
color: var(--memori-error, #c53030);
|
|
184
|
+
font-size: 0.875rem;
|
|
185
|
+
line-height: var(--memori-text-line-normal);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.memori-position-popover__map {
|
|
189
|
+
margin-top: var(--memori-spacing-sm);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.memori-position-popover__map .memori--venue-widget__map-container {
|
|
193
|
+
min-height: 140px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.memori-position-popover__map .memori--venue-widget__map {
|
|
197
|
+
height: 160px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@keyframes memori-position-popover-spin {
|
|
201
|
+
to {
|
|
202
|
+
transform: rotate(360deg);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@keyframes memori-position-popover-shimmer {
|
|
207
|
+
0% {
|
|
208
|
+
background-position: 100% 0;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
100% {
|
|
212
|
+
background-position: 0 0;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.memori-position-popover__positioner--website-assistant {
|
|
217
|
+
z-index: calc(var(--memori-z-index-base, 0) + 1300);
|
|
218
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
.memori-reasoning {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.memori-reasoning__trigger {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: 2px 4px 2px 0;
|
|
14
|
+
border: 0;
|
|
15
|
+
border-radius: 6px;
|
|
16
|
+
margin: 0;
|
|
17
|
+
background: transparent;
|
|
18
|
+
color: color-mix(in oklch, var(--memori-text-color) 52%, transparent);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
font-family: inherit;
|
|
21
|
+
font-size: 13px;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
gap: 4px;
|
|
24
|
+
letter-spacing: -0.01em;
|
|
25
|
+
line-height: 1.4;
|
|
26
|
+
transition: color 0.16s ease;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.memori-reasoning__trigger:hover,
|
|
30
|
+
.memori-reasoning__trigger:focus-visible {
|
|
31
|
+
color: color-mix(in oklch, var(--memori-text-color) 82%, transparent);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.memori-reasoning__trigger:focus-visible {
|
|
35
|
+
outline: 2px solid var(--memori-primary, currentColor);
|
|
36
|
+
outline-offset: 2px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.memori-reasoning__chevron {
|
|
40
|
+
width: 14px;
|
|
41
|
+
height: 14px;
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
opacity: 0.85;
|
|
44
|
+
transform: rotate(0deg);
|
|
45
|
+
transform-origin: 50% 50%;
|
|
46
|
+
transition: transform 0.2s ease;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.memori-reasoning--open .memori-reasoning__chevron {
|
|
50
|
+
transform: rotate(90deg);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.memori-reasoning__label {
|
|
54
|
+
min-width: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.memori-reasoning__label--thinking {
|
|
58
|
+
animation: memori-reasoning-shimmer 1.8s ease-in-out infinite;
|
|
59
|
+
-webkit-background-clip: text;
|
|
60
|
+
background-clip: text;
|
|
61
|
+
background-image: linear-gradient(
|
|
62
|
+
90deg,
|
|
63
|
+
color-mix(in oklch, var(--memori-text-color) 38%, transparent) 0%,
|
|
64
|
+
color-mix(in oklch, var(--memori-text-color) 38%, transparent) 36%,
|
|
65
|
+
var(--memori-text-color) 50%,
|
|
66
|
+
color-mix(in oklch, var(--memori-text-color) 38%, transparent) 64%,
|
|
67
|
+
color-mix(in oklch, var(--memori-text-color) 38%, transparent) 100%
|
|
68
|
+
);
|
|
69
|
+
background-size: 220% 100%;
|
|
70
|
+
color: transparent;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.memori-reasoning__collapsible {
|
|
74
|
+
display: grid;
|
|
75
|
+
width: 100%;
|
|
76
|
+
grid-template-rows: 0fr;
|
|
77
|
+
opacity: 0;
|
|
78
|
+
transition:
|
|
79
|
+
grid-template-rows 0.22s ease,
|
|
80
|
+
opacity 0.18s ease;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.memori-reasoning--open .memori-reasoning__collapsible {
|
|
84
|
+
grid-template-rows: 1fr;
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.memori-reasoning__clip {
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
min-height: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.memori-reasoning__panel {
|
|
94
|
+
display: grid;
|
|
95
|
+
width: 100%;
|
|
96
|
+
padding: 4px 0 8px;
|
|
97
|
+
grid-template-columns: 12px minmax(0, 1fr);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.memori-reasoning__panel::before {
|
|
101
|
+
width: 1px;
|
|
102
|
+
border-radius: 1px;
|
|
103
|
+
margin: 2px 0;
|
|
104
|
+
background: color-mix(in oklch, var(--memori-text-color) 16%, transparent);
|
|
105
|
+
content: '';
|
|
106
|
+
justify-self: center;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.memori-reasoning__body {
|
|
110
|
+
min-width: 0;
|
|
111
|
+
color: color-mix(in oklch, var(--memori-text-color) 62%, transparent);
|
|
112
|
+
font-size: 13px;
|
|
113
|
+
font-style: normal;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
letter-spacing: 0;
|
|
116
|
+
line-height: 1.65;
|
|
117
|
+
overflow-wrap: anywhere;
|
|
118
|
+
white-space: pre-wrap;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.memori-reasoning--streaming.memori-reasoning--overflow .memori-reasoning__body {
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
max-height: 9.5rem;
|
|
124
|
+
-webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 100%);
|
|
125
|
+
mask-image: linear-gradient(to bottom, #000 48%, transparent 100%);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.memori-reasoning--open:not(.memori-reasoning--streaming) .memori-reasoning__body {
|
|
129
|
+
max-height: min(40vh, 22rem);
|
|
130
|
+
overflow-x: hidden;
|
|
131
|
+
overflow-y: auto;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@keyframes memori-reasoning-shimmer {
|
|
135
|
+
0% {
|
|
136
|
+
background-position: 100% 50%;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
100% {
|
|
140
|
+
background-position: 0% 50%;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@media (prefers-reduced-motion: reduce) {
|
|
145
|
+
.memori-reasoning__chevron,
|
|
146
|
+
.memori-reasoning__collapsible {
|
|
147
|
+
transition: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.memori-reasoning__label--thinking {
|
|
151
|
+
animation: none;
|
|
152
|
+
background: none;
|
|
153
|
+
color: color-mix(in oklch, var(--memori-text-color) 58%, transparent);
|
|
154
|
+
-webkit-text-fill-color: unset;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.memori-side-drawer.memori-drawer {
|
|
2
|
+
display: flex;
|
|
3
|
+
min-height: 0;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.memori-side-drawer .memori-drawer__header {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
gap: var(--memori-spacing-md);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.memori-side-drawer .memori-drawer__header > :first-child {
|
|
13
|
+
min-width: 0;
|
|
14
|
+
flex: 1 1 auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.memori-side-drawer .memori-drawer__title {
|
|
18
|
+
font-size: var(--memori-text-size-2xl);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.memori-side-drawer .memori-drawer__description {
|
|
22
|
+
color: color-mix(in oklch, var(--memori-text-color) 64%, transparent);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.memori-side-drawer .memori-drawer__body {
|
|
26
|
+
display: flex;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
min-height: 0;
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
padding: 0;
|
|
32
|
+
padding-bottom: var(--memori-spacing-lg);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.memori-side-drawer__body {
|
|
36
|
+
display: flex;
|
|
37
|
+
overflow: auto;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
flex: 1 1 auto;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
padding: var(--memori-spacing-md) var(--memori-spacing-lg);
|
|
42
|
+
gap: var(--memori-spacing-md);
|
|
43
|
+
scrollbar-color: color-mix(in oklch, var(--memori-neutral, #6b7280) 55%, transparent) transparent;
|
|
44
|
+
scrollbar-width: thin;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.memori-side-drawer__body::-webkit-scrollbar {
|
|
48
|
+
width: 8px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.memori-side-drawer__body::-webkit-scrollbar-track {
|
|
52
|
+
background: transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.memori-side-drawer__body::-webkit-scrollbar-thumb {
|
|
56
|
+
border-radius: 999px;
|
|
57
|
+
background-color: color-mix(in oklch, var(--memori-neutral, #6b7280) 45%, transparent);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.memori-side-drawer__body::-webkit-scrollbar-thumb:hover {
|
|
61
|
+
background-color: color-mix(in oklch, var(--memori-neutral, #6b7280) 60%, transparent);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.memori-side-drawer .memori-drawer__footer {
|
|
65
|
+
display: block;
|
|
66
|
+
justify-content: stretch;
|
|
67
|
+
padding: var(--memori-spacing-md) var(--memori-spacing-lg);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.memori-side-drawer .memori-drawer__footer .memori-drawer-footer {
|
|
71
|
+
width: 100%;
|
|
72
|
+
padding: 0;
|
|
73
|
+
border-top: none;
|
|
74
|
+
box-shadow: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.memori-side-drawer-empty {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
align-items: center;
|
|
81
|
+
padding: var(--memori-spacing-xl) var(--memori-spacing-md);
|
|
82
|
+
color: var(--memori-text-color);
|
|
83
|
+
gap: var(--memori-spacing-sm);
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.memori-side-drawer-empty__icon {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
width: 3.25rem;
|
|
90
|
+
height: 3.25rem;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
border-radius: var(--memori-radius-surface);
|
|
94
|
+
margin-bottom: var(--memori-spacing-xs);
|
|
95
|
+
background: var(--memori-main-background);
|
|
96
|
+
color: color-mix(in oklch, var(--memori-text-color) 55%, transparent);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.memori-side-drawer-empty__title {
|
|
100
|
+
margin: 0;
|
|
101
|
+
font-size: var(--memori-text-size-lg);
|
|
102
|
+
font-weight: var(--memori-text-weight-semibold);
|
|
103
|
+
line-height: var(--memori-text-line-tight);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.memori-side-drawer-empty__text {
|
|
107
|
+
max-width: 22.5rem;
|
|
108
|
+
margin: 0;
|
|
109
|
+
color: color-mix(in oklch, var(--memori-text-color) 64%, transparent);
|
|
110
|
+
font-size: var(--memori-text-size-sm);
|
|
111
|
+
line-height: var(--memori-text-line-relaxed);
|
|
112
|
+
}
|