ss-support-widget 1.0.11 → 1.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ss-support-widget",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Chatbot widget for customer support",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6,6 +6,7 @@ import {
6
6
  Button,
7
7
  Chip,
8
8
  IconButton,
9
+ Link,
9
10
  Paper,
10
11
  TextField,
11
12
  Typography,
@@ -138,10 +139,10 @@ export function ChatWidget({
138
139
  overflow: "hidden",
139
140
  border: isMobile ? "none" : "1px solid",
140
141
  borderColor: "divider",
141
- boxShadow: isMobile ? "none" : "0 18px 60px rgba(0,0,0,.28)",
142
+ boxShadow: isMobile ? "none" : "0 18px 60px rgba(0,0,0,.28)"
142
143
  }}
143
144
  >
144
- <Box sx={{ display: "flex", flexDirection: "column", height: "100%" }}>
145
+ <Box sx={{ display: "flex", flexDirection: "column", height: "100%"}}>
145
146
 
146
147
  <Box
147
148
  sx={{
@@ -205,7 +206,7 @@ export function ChatWidget({
205
206
  minHeight: 0,
206
207
  overflow: "auto",
207
208
  px: 1.5,
208
- py: 1.5,
209
+ pt: 1.5,
209
210
  backgroundImage:
210
211
  "radial-gradient(circle at 20% 10%, rgba(25,118,210,.10), transparent 45%)," +
211
212
  "radial-gradient(circle at 80% 20%, rgba(156,39,176,.10), transparent 50%)," +
@@ -285,7 +286,25 @@ export function ChatWidget({
285
286
  </Box>
286
287
  </Box>
287
288
  )}
289
+
290
+ <Link
291
+ href="https://x-bot.ro"
292
+ target="_blank"
293
+ rel="noreferrer"
294
+ underline="none"
295
+ sx={{
296
+ fontSize: 12,
297
+ color: "text.secondary",
298
+ opacity: 0.75,
299
+ "&:hover": { opacity: 1, color: "text.primary" },
300
+ display: "flex", justifyContent: "center"
301
+ }}
302
+ >
303
+ Chat oferit de X-bot.ro
304
+ </Link>
288
305
  </div>
306
+
307
+
289
308
  </Box>
290
309
 
291
310
  <Box
@@ -340,7 +359,6 @@ export function ChatWidget({
340
359
  }}
341
360
  />
342
361
  </Box>
343
-
344
362
  </Box>
345
363
  </Paper>
346
364
  )}
Binary file