@contenify/chatbot 1.0.0 → 2.0.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.
- package/dist/index.js +146 -338
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +146 -338
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +89 -21
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -356,15 +356,34 @@
|
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.cnfy-chat-area {
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
flex: 1;
|
|
360
|
+
padding: 0rem 1.5rem;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.cnfy-chat-scroll {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
364
|
+
max-width: 48rem;
|
|
365
|
+
height: 80vh;
|
|
366
|
+
margin: 0 auto;
|
|
367
|
+
padding-left: 1rem;
|
|
368
|
+
padding-right: 1rem;
|
|
369
|
+
overflow-y: auto;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.cnfy-chat-scroll::-webkit-scrollbar {
|
|
373
|
+
width: 1px;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.cnfy-chat-scroll::-webkit-scrollbar-track {
|
|
377
|
+
background: transparent;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.cnfy-chat-scroll::-webkit-scrollbar-thumb {
|
|
381
|
+
background: rgba(0,0,0,0.25);
|
|
382
|
+
border-radius: 10px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.cnfy-chat-scroll::-webkit-scrollbar-thumb:hover {
|
|
386
|
+
background: rgba(0,0,0,0.45);
|
|
368
387
|
}
|
|
369
388
|
|
|
370
389
|
.cnfy-chat-scroll > * + * {
|
|
@@ -398,10 +417,46 @@
|
|
|
398
417
|
line-height: 1.625;
|
|
399
418
|
}
|
|
400
419
|
|
|
420
|
+
.cnfy-msg-body.you {
|
|
421
|
+
border-radius: 11px;
|
|
422
|
+
display: block;
|
|
423
|
+
width: fit-content;
|
|
424
|
+
max-width: 80%;
|
|
425
|
+
min-width: 60px;
|
|
426
|
+
margin-left: auto;
|
|
427
|
+
margin-right: 0;
|
|
428
|
+
text-align: right;
|
|
429
|
+
padding: 8px 12px;
|
|
430
|
+
font-size: .875rem;
|
|
431
|
+
line-height: 1.625;
|
|
432
|
+
word-break: break-word;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.cnfy-copy-btn{
|
|
436
|
+
border: 0px;
|
|
437
|
+
padding: 0.5rem 0.5rem 0.3rem;
|
|
438
|
+
border-radius: 5px;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
401
443
|
.cnfy-msg-body > * + * {
|
|
402
444
|
margin-top: 0.75rem;
|
|
403
445
|
}
|
|
404
446
|
|
|
447
|
+
.cnfy-msg-row {
|
|
448
|
+
display: flex;
|
|
449
|
+
width: 100%;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.cnfy-msg-row.you {
|
|
453
|
+
justify-content: flex-end;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.cnfy-msg-row.bot {
|
|
457
|
+
justify-content: flex-start;
|
|
458
|
+
}
|
|
459
|
+
|
|
405
460
|
.cnfy-msg-copy-row {
|
|
406
461
|
display: flex;
|
|
407
462
|
justify-content: flex-end;
|
|
@@ -1546,12 +1601,12 @@
|
|
|
1546
1601
|
}
|
|
1547
1602
|
|
|
1548
1603
|
.cnfy-dash-card-title {
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1604
|
+
color: var(--cnfy-gray-900);
|
|
1605
|
+
border-bottom: 1px solid var(--cnfy-gray-200);
|
|
1606
|
+
margin: 0;
|
|
1607
|
+
padding-bottom: .5rem;
|
|
1608
|
+
font-size: 0.9rem;
|
|
1609
|
+
font-weight: 800;
|
|
1555
1610
|
}
|
|
1556
1611
|
|
|
1557
1612
|
.cnfy-dash-card-header {
|
|
@@ -1797,13 +1852,26 @@
|
|
|
1797
1852
|
transition: all 0.15s;
|
|
1798
1853
|
}
|
|
1799
1854
|
|
|
1800
|
-
.cnfy-news-dropdown-source{
|
|
1801
|
-
display: flex;
|
|
1802
|
-
justify-content: space-around;
|
|
1803
|
-
padding-left: 15px;
|
|
1804
|
-
padding-right: 15px;
|
|
1855
|
+
.cnfy-news-dropdown-source {
|
|
1805
1856
|
background-color: #fff;
|
|
1806
|
-
|
|
1807
|
-
padding
|
|
1808
|
-
|
|
1809
|
-
|
|
1857
|
+
justify-content: space-around;
|
|
1858
|
+
padding: 5px 15px;
|
|
1859
|
+
display: flex;
|
|
1860
|
+
box-shadow: 0 2px 4px #0003;
|
|
1861
|
+
z-index: 99;
|
|
1862
|
+
position: relative;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
.cnfy-news-dropdown-msg{
|
|
1866
|
+
text-align: center;
|
|
1867
|
+
padding: 1rem;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
.cnfy-block-h1{
|
|
1871
|
+
font-size: 0.9rem;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.cnfy-block-h2{
|
|
1875
|
+
font-size: 1rem;
|
|
1876
|
+
}
|
|
1877
|
+
|