rio-assist-widget 0.1.6 → 0.1.8
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/dist/rio-assist.js +71 -49
- package/index.html +9 -17
- package/package.json +1 -1
- package/src/components/conversations-panel/conversations-panel.styles.ts +300 -294
- package/src/components/conversations-panel/conversations-panel.template.ts +184 -184
- package/src/components/fullscreen/fullscreen.styles.ts +185 -178
- package/src/components/mini-panel/mini-panel.styles.ts +346 -337
- package/src/components/mini-panel/mini-panel.template.ts +1 -1
- package/src/components/rio-assist/rio-assist.ts +281 -255
|
@@ -1,337 +1,346 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
|
|
3
|
-
export const miniPanelStyles = css`
|
|
4
|
-
.canvas {
|
|
5
|
-
position: absolute;
|
|
6
|
-
inset: 0;
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.panel {
|
|
11
|
-
--header-height: 115px;
|
|
12
|
-
pointer-events: auto;
|
|
13
|
-
position: fixed;
|
|
14
|
-
top: 0;
|
|
15
|
-
right: 0;
|
|
16
|
-
height: 100vh;
|
|
17
|
-
width: min(600px, 100vw);
|
|
18
|
-
max-width: 90vw;
|
|
19
|
-
background: #fff;
|
|
20
|
-
box-shadow: -24px 0 48px rgba(0, 0, 0, 0.15);
|
|
21
|
-
transform: translateX(100%);
|
|
22
|
-
transition: transform 0.35s ease;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.panel.open {
|
|
29
|
-
transform: translateX(0);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.panel-header {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
gap: 16px;
|
|
36
|
-
padding: 20px 8px 15px 28px;
|
|
37
|
-
border-bottom: 1px solid #e4eaee;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.panel-header__top {
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
align-items: center;
|
|
44
|
-
width: 100%;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.panel-title {
|
|
48
|
-
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
49
|
-
font-size: 16px;
|
|
50
|
-
font-weight: 600;
|
|
51
|
-
letter-spacing: 0;
|
|
52
|
-
color: #1c2a33;
|
|
53
|
-
padding-left: 0px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.panel-header__actions {
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: space-between;
|
|
59
|
-
align-items: center;
|
|
60
|
-
width: 100%;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.conversations-button {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
gap: 12px;
|
|
67
|
-
padding: 8px 0;
|
|
68
|
-
padding-left: 0px;
|
|
69
|
-
border: none;
|
|
70
|
-
background: transparent;
|
|
71
|
-
color: #008b9a;
|
|
72
|
-
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
73
|
-
font-weight: 600;
|
|
74
|
-
font-size: 16px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.conversations-button img {
|
|
78
|
-
width: 24px;
|
|
79
|
-
height: 24px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.panel-header__icons {
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
gap: 16px;
|
|
85
|
-
align-items: center;
|
|
86
|
-
padding-right: 12px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.panel-header__icon-button {
|
|
90
|
-
width: 32px;
|
|
91
|
-
height: 32px;
|
|
92
|
-
border-radius: 50%;
|
|
93
|
-
border: none;
|
|
94
|
-
background: transparent;
|
|
95
|
-
display: grid;
|
|
96
|
-
place-items: center;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.conversations-plus-button {
|
|
100
|
-
margin-right: 4px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.panel-header__icon-button img {
|
|
104
|
-
width: 28px;
|
|
105
|
-
height: 28px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.panel-body {
|
|
109
|
-
flex: 1;
|
|
110
|
-
padding: 48px 32px 12px;
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
align-items: center;
|
|
114
|
-
gap: 16px;
|
|
115
|
-
max-width: 520px;
|
|
116
|
-
margin: 0 auto;
|
|
117
|
-
width: 100%;
|
|
118
|
-
min-height: 0;
|
|
119
|
-
overflow: hidden;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.panel-content {
|
|
123
|
-
flex: 1;
|
|
124
|
-
width: 100%;
|
|
125
|
-
overflow-y: auto;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.panel-content--empty {
|
|
129
|
-
display: flex;
|
|
130
|
-
align-items: center;
|
|
131
|
-
justify-content: center;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.hero-card {
|
|
135
|
-
flex: 1;
|
|
136
|
-
display: flex;
|
|
137
|
-
align-items: center;
|
|
138
|
-
justify-content: center;
|
|
139
|
-
flex-direction: column;
|
|
140
|
-
gap: 24px;
|
|
141
|
-
color: #25323d;
|
|
142
|
-
text-align: center;
|
|
143
|
-
width: 100%;
|
|
144
|
-
max-width: 360px;
|
|
145
|
-
min-height: 280px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.hero-card__icon {
|
|
149
|
-
width: 120px;
|
|
150
|
-
height: 120px;
|
|
151
|
-
display: block;
|
|
152
|
-
margin-bottom: 8px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.hero-card h3 {
|
|
156
|
-
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
157
|
-
font-weight: 400;
|
|
158
|
-
font-size: 32px;
|
|
159
|
-
line-height: 1;
|
|
160
|
-
white-space: nowrap;
|
|
161
|
-
color: #2a3740;
|
|
162
|
-
margin: 0;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.conversation {
|
|
166
|
-
width: 100%;
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
gap:
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.message {
|
|
173
|
-
border-radius: 16px;
|
|
174
|
-
border: 1px solid #e4eaee;
|
|
175
|
-
padding:
|
|
176
|
-
max-width: 90%;
|
|
177
|
-
background: #fff;
|
|
178
|
-
color: #1f2f36;
|
|
179
|
-
font-size: 15px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.message
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
display:
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
font-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
font
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
border:
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
|
|
3
|
+
export const miniPanelStyles = css`
|
|
4
|
+
.canvas {
|
|
5
|
+
position: absolute;
|
|
6
|
+
inset: 0;
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.panel {
|
|
11
|
+
--header-height: 115px;
|
|
12
|
+
pointer-events: auto;
|
|
13
|
+
position: fixed;
|
|
14
|
+
top: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
height: 100vh;
|
|
17
|
+
width: min(600px, 100vw);
|
|
18
|
+
max-width: 90vw;
|
|
19
|
+
background: #fff;
|
|
20
|
+
box-shadow: -24px 0 48px rgba(0, 0, 0, 0.15);
|
|
21
|
+
transform: translateX(100%);
|
|
22
|
+
transition: transform 0.35s ease;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.panel.open {
|
|
29
|
+
transform: translateX(0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.panel-header {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 16px;
|
|
36
|
+
padding: 20px 8px 15px 28px;
|
|
37
|
+
border-bottom: 1px solid #e4eaee;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.panel-header__top {
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
align-items: center;
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.panel-title {
|
|
48
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
letter-spacing: 0;
|
|
52
|
+
color: #1c2a33;
|
|
53
|
+
padding-left: 0px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.panel-header__actions {
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
align-items: center;
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.conversations-button {
|
|
64
|
+
display: inline-flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: 12px;
|
|
67
|
+
padding: 8px 0;
|
|
68
|
+
padding-left: 0px;
|
|
69
|
+
border: none;
|
|
70
|
+
background: transparent;
|
|
71
|
+
color: #008b9a;
|
|
72
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
font-size: 16px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.conversations-button img {
|
|
78
|
+
width: 24px;
|
|
79
|
+
height: 24px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.panel-header__icons {
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
gap: 16px;
|
|
85
|
+
align-items: center;
|
|
86
|
+
padding-right: 12px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.panel-header__icon-button {
|
|
90
|
+
width: 32px;
|
|
91
|
+
height: 32px;
|
|
92
|
+
border-radius: 50%;
|
|
93
|
+
border: none;
|
|
94
|
+
background: transparent;
|
|
95
|
+
display: grid;
|
|
96
|
+
place-items: center;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.conversations-plus-button {
|
|
100
|
+
margin-right: 4px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.panel-header__icon-button img {
|
|
104
|
+
width: 28px;
|
|
105
|
+
height: 28px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.panel-body {
|
|
109
|
+
flex: 1;
|
|
110
|
+
padding: 48px 32px 12px;
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: 16px;
|
|
115
|
+
max-width: 520px;
|
|
116
|
+
margin: 0 auto;
|
|
117
|
+
width: 100%;
|
|
118
|
+
min-height: 0;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.panel-content {
|
|
123
|
+
flex: 1;
|
|
124
|
+
width: 100%;
|
|
125
|
+
overflow-y: auto;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.panel-content--empty {
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.hero-card {
|
|
135
|
+
flex: 1;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: center;
|
|
139
|
+
flex-direction: column;
|
|
140
|
+
gap: 24px;
|
|
141
|
+
color: #25323d;
|
|
142
|
+
text-align: center;
|
|
143
|
+
width: 100%;
|
|
144
|
+
max-width: 360px;
|
|
145
|
+
min-height: 280px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.hero-card__icon {
|
|
149
|
+
width: 120px;
|
|
150
|
+
height: 120px;
|
|
151
|
+
display: block;
|
|
152
|
+
margin-bottom: 8px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.hero-card h3 {
|
|
156
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
157
|
+
font-weight: 400;
|
|
158
|
+
font-size: 32px;
|
|
159
|
+
line-height: 1;
|
|
160
|
+
white-space: nowrap;
|
|
161
|
+
color: #2a3740;
|
|
162
|
+
margin: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.conversation {
|
|
166
|
+
width: 100%;
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
gap: 12px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.message {
|
|
173
|
+
border-radius: 16px;
|
|
174
|
+
border: 1px solid #e4eaee;
|
|
175
|
+
padding: 10px 16px;
|
|
176
|
+
max-width: 90%;
|
|
177
|
+
background: #fff;
|
|
178
|
+
color: #1f2f36;
|
|
179
|
+
font-size: 15px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.message p {
|
|
183
|
+
margin: 0;
|
|
184
|
+
line-height: 1.35;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.message--user {
|
|
188
|
+
align-self: flex-end;
|
|
189
|
+
background: #e5ebf0;
|
|
190
|
+
border-color: #cfd6dc;
|
|
191
|
+
color: #1f2f36;
|
|
192
|
+
padding: 8px 10px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.message time {
|
|
196
|
+
display: block;
|
|
197
|
+
font-size: 11px;
|
|
198
|
+
color: #8a98a4;
|
|
199
|
+
text-align: right;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.typing {
|
|
203
|
+
font-style: italic;
|
|
204
|
+
opacity: 0.75;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.message--user time {
|
|
208
|
+
margin-top: 3px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.panel-footer {
|
|
212
|
+
width: 100%;
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: column;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: 12px;
|
|
217
|
+
padding-top: 8px;
|
|
218
|
+
margin-top: auto;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.suggestions {
|
|
222
|
+
display: inline-flex;
|
|
223
|
+
gap: 12px;
|
|
224
|
+
justify-content: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.suggestions-wrapper {
|
|
228
|
+
width: 100%;
|
|
229
|
+
text-align: center;
|
|
230
|
+
margin-bottom: 6px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.suggestions-label {
|
|
234
|
+
text-align: center;
|
|
235
|
+
font-size: 14px;
|
|
236
|
+
color: #a7afbb;
|
|
237
|
+
margin-bottom: 12px;
|
|
238
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
239
|
+
font-weight: 600;
|
|
240
|
+
letter-spacing: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.suggestion {
|
|
244
|
+
border-radius: 999px;
|
|
245
|
+
border: 1px solid #d6e2e6;
|
|
246
|
+
padding: 0 16px;
|
|
247
|
+
background: #fff;
|
|
248
|
+
font-size: 14px;
|
|
249
|
+
line-height: 24px;
|
|
250
|
+
min-height: 24px;
|
|
251
|
+
color: #a7afbb;
|
|
252
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
253
|
+
font-weight: 600;
|
|
254
|
+
white-space: nowrap;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
form {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 12px;
|
|
261
|
+
border: 1px solid #a4afbb;
|
|
262
|
+
border-radius: 80px;
|
|
263
|
+
padding: 10px 20px;
|
|
264
|
+
background: #fff;
|
|
265
|
+
width: 100%;
|
|
266
|
+
max-width: 520px;
|
|
267
|
+
margin-bottom: 0;
|
|
268
|
+
max-height: 56px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
form input {
|
|
272
|
+
border: none;
|
|
273
|
+
flex: 1;
|
|
274
|
+
font: inherit;
|
|
275
|
+
outline: none;
|
|
276
|
+
font-size: 16px;
|
|
277
|
+
font-style: normal;
|
|
278
|
+
font-family: 'Source Sans Pro', 'Inter', sans-serif;
|
|
279
|
+
font-weight: 400;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
form input::placeholder {
|
|
283
|
+
font-style: italic;
|
|
284
|
+
font-size: 16px;
|
|
285
|
+
color: #a7afbb;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.input-button {
|
|
289
|
+
width: 32px;
|
|
290
|
+
height: 32px;
|
|
291
|
+
border-radius: 50%;
|
|
292
|
+
border: none;
|
|
293
|
+
background: transparent;
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: center;
|
|
296
|
+
justify-content: center;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.input-button img {
|
|
300
|
+
width: 32px;
|
|
301
|
+
height: 32px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.input-button:disabled {
|
|
305
|
+
opacity: 0.5;
|
|
306
|
+
cursor: not-allowed;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.footnote {
|
|
310
|
+
margin-top: 0;
|
|
311
|
+
padding-top: 0;
|
|
312
|
+
padding-bottom: 0;
|
|
313
|
+
font-size: 12px;
|
|
314
|
+
color: #8a98a4;
|
|
315
|
+
text-align: center;
|
|
316
|
+
max-width: 520px;
|
|
317
|
+
margin-left: auto;
|
|
318
|
+
margin-right: auto;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.error-banner {
|
|
322
|
+
width: 100%;
|
|
323
|
+
padding: 10px 14px;
|
|
324
|
+
border-radius: 12px;
|
|
325
|
+
background: #fff4f2;
|
|
326
|
+
color: #a33c3c;
|
|
327
|
+
font-size: 13px;
|
|
328
|
+
text-align: center;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.close-button {
|
|
332
|
+
background: transparent;
|
|
333
|
+
border: none;
|
|
334
|
+
display: grid;
|
|
335
|
+
place-items: center;
|
|
336
|
+
width: 24px;
|
|
337
|
+
height: 24px;
|
|
338
|
+
margin-right: 12px;
|
|
339
|
+
padding: 0;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.close-button img {
|
|
343
|
+
width: 16px;
|
|
344
|
+
height: 16px;
|
|
345
|
+
}
|
|
346
|
+
`;
|
|
@@ -43,7 +43,7 @@ export const renderChatSurface = (component: RioAssistWidget) => {
|
|
|
43
43
|
${component.isLoading
|
|
44
44
|
? html`
|
|
45
45
|
<div class="message message--assistant typing">
|
|
46
|
-
<span>
|
|
46
|
+
<span>Rio Insight está respondendo...</span>
|
|
47
47
|
</div>
|
|
48
48
|
`
|
|
49
49
|
: null}
|