@contenify/chatbot 3.0.0 → 4.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.d.mts +1 -42
- package/dist/index.d.ts +1 -42
- package/dist/index.js +1683 -1225
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1667 -1209
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +114 -21
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -243,10 +243,10 @@
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.cnfy-header-logo-img {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
object-fit: cover;
|
|
247
|
+
border-radius: .375rem;
|
|
248
|
+
width: 131px;
|
|
249
|
+
height: 2rem;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.cnfy-header-logo-fallback {
|
|
@@ -1451,39 +1451,81 @@
|
|
|
1451
1451
|
/* ========================================
|
|
1452
1452
|
SourceSelector.tsx
|
|
1453
1453
|
======================================== */
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
border-bottom: 1px solid var(--cnfy-gray-100);
|
|
1454
|
+
/* Source pills row */
|
|
1455
|
+
.cnfy-source-pills-wrap {
|
|
1457
1456
|
display: flex;
|
|
1458
1457
|
align-items: center;
|
|
1459
1458
|
gap: 0.5rem;
|
|
1459
|
+
padding: 0.5rem 0.75rem;
|
|
1460
|
+
border-bottom: 1px solid var(--cnfy-gray-100);
|
|
1460
1461
|
}
|
|
1461
1462
|
|
|
1462
|
-
.cnfy-source-
|
|
1463
|
+
.cnfy-source-pills {
|
|
1464
|
+
display: flex;
|
|
1463
1465
|
flex: 1;
|
|
1464
|
-
|
|
1466
|
+
flex-direction: row;
|
|
1467
|
+
gap: 0.375rem;
|
|
1468
|
+
overflow-x: auto;
|
|
1469
|
+
scrollbar-width: none;
|
|
1465
1470
|
}
|
|
1466
1471
|
|
|
1467
|
-
.cnfy-
|
|
1472
|
+
.cnfy-source-pills::-webkit-scrollbar {
|
|
1473
|
+
display: none;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.cnfy-source-pill {
|
|
1477
|
+
flex-shrink: 0;
|
|
1478
|
+
padding: 0.25rem 0.75rem;
|
|
1479
|
+
border-radius: 9999px;
|
|
1480
|
+
border: 1px solid var(--cnfy-gray-200);
|
|
1481
|
+
background: var(--cnfy-white);
|
|
1482
|
+
color: var(--cnfy-gray-600);
|
|
1483
|
+
font-size: 0.8125rem;
|
|
1484
|
+
font-weight: 500;
|
|
1485
|
+
cursor: pointer;
|
|
1486
|
+
white-space: nowrap;
|
|
1487
|
+
transition: background 0.15s, border-color 0.15s, color 0.15s;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.cnfy-source-pill:hover {
|
|
1491
|
+
border-color: var(--cnfy-primary);
|
|
1492
|
+
color: var(--cnfy-primary);
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
.cnfy-source-pill--active {
|
|
1496
|
+
color: var(--cnfy-white) !important;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
.cnfy-source-pills-loading {
|
|
1468
1500
|
display: flex;
|
|
1469
1501
|
align-items: center;
|
|
1470
1502
|
gap: 0.375rem;
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1503
|
+
font-size: 0.8125rem;
|
|
1504
|
+
color: var(--cnfy-gray-400);
|
|
1505
|
+
flex: 1;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
.cnfy-source-refresh-btn {
|
|
1509
|
+
flex-shrink: 0;
|
|
1510
|
+
display: flex;
|
|
1511
|
+
align-items: center;
|
|
1512
|
+
justify-content: center;
|
|
1513
|
+
width: 28px;
|
|
1514
|
+
height: 28px;
|
|
1515
|
+
border-radius: 50%;
|
|
1516
|
+
border: 1px solid var(--cnfy-gray-200);
|
|
1517
|
+
background: var(--cnfy-white);
|
|
1518
|
+
color: var(--cnfy-gray-500);
|
|
1478
1519
|
cursor: pointer;
|
|
1479
|
-
transition:
|
|
1520
|
+
transition: border-color 0.15s, color 0.15s;
|
|
1480
1521
|
}
|
|
1481
1522
|
|
|
1482
|
-
.cnfy-
|
|
1483
|
-
|
|
1523
|
+
.cnfy-source-refresh-btn:hover {
|
|
1524
|
+
border-color: var(--cnfy-primary);
|
|
1525
|
+
color: var(--cnfy-primary);
|
|
1484
1526
|
}
|
|
1485
1527
|
|
|
1486
|
-
.cnfy-
|
|
1528
|
+
.cnfy-source-refresh-btn:disabled {
|
|
1487
1529
|
opacity: 0.5;
|
|
1488
1530
|
cursor: not-allowed;
|
|
1489
1531
|
}
|
|
@@ -1973,3 +2015,54 @@
|
|
|
1973
2015
|
font-weight: bold;
|
|
1974
2016
|
}
|
|
1975
2017
|
|
|
2018
|
+
|
|
2019
|
+
/* responsive */
|
|
2020
|
+
|
|
2021
|
+
@media screen and (max-width: 768px) {
|
|
2022
|
+
.cnfy-news-dropdown {
|
|
2023
|
+
width: 100%;
|
|
2024
|
+
left: 0%;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
.cnfy-input-area {
|
|
2028
|
+
background-color: var(--cnfy-white);
|
|
2029
|
+
flex-shrink: 0;
|
|
2030
|
+
margin-bottom: 18px;
|
|
2031
|
+
padding: .75rem 1rem;
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
.cnfy-news-dropdown-list {
|
|
2035
|
+
max-height: 450px;
|
|
2036
|
+
overflow-y: auto;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
.cnfy-news-dropdown-header {
|
|
2040
|
+
padding: 0.8rem .75rem;
|
|
2041
|
+
display: flex;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
.cnfy-news-card-actions {
|
|
2045
|
+
gap: .5rem;
|
|
2046
|
+
display: flex;
|
|
2047
|
+
justify-content: space-between;
|
|
2048
|
+
height: 83px;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
.cnfy-news-action-btn svg {
|
|
2052
|
+
width: 18;
|
|
2053
|
+
height: 18;
|
|
2054
|
+
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
.cnfy-news-action-btn {
|
|
2058
|
+
color: var(--cnfy-gray-400);
|
|
2059
|
+
padding: 0.5rem 0.5rem;
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
.cnfy-msg-body.you {
|
|
2063
|
+
min-width: 60px;
|
|
2064
|
+
max-width: 100%;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
}
|
|
2068
|
+
|