@akropolys/kiku 1.7.6 → 1.7.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/index.js +45 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -13
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +96 -0
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -737,6 +737,31 @@
|
|
|
737
737
|
gap: 6px;
|
|
738
738
|
margin-bottom: 20px;
|
|
739
739
|
}
|
|
740
|
+
.hsk-cb-user-msg.hsk-sent {
|
|
741
|
+
transform-origin: bottom right;
|
|
742
|
+
animation: hsk-send-in .42s cubic-bezier(.2, .9, .3, 1.2) both;
|
|
743
|
+
}
|
|
744
|
+
@keyframes hsk-send-in {
|
|
745
|
+
0% {
|
|
746
|
+
opacity: 0;
|
|
747
|
+
transform: translateY(28px) scale(.55);
|
|
748
|
+
}
|
|
749
|
+
55% {
|
|
750
|
+
opacity: 1;
|
|
751
|
+
}
|
|
752
|
+
75% {
|
|
753
|
+
transform: translateY(-2px) scale(1.02);
|
|
754
|
+
}
|
|
755
|
+
100% {
|
|
756
|
+
opacity: 1;
|
|
757
|
+
transform: translateY(0) scale(1);
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
@media (prefers-reduced-motion: reduce) {
|
|
761
|
+
.hsk-cb-user-msg.hsk-sent {
|
|
762
|
+
animation: none;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
740
765
|
.hsk-cb-user-bubble {
|
|
741
766
|
background: var(--hsk-primary);
|
|
742
767
|
color: #fff;
|
|
@@ -1432,6 +1457,12 @@
|
|
|
1432
1457
|
.hsk-cb-think-head:hover {
|
|
1433
1458
|
color: var(--hsk-chat-text, #111);
|
|
1434
1459
|
}
|
|
1460
|
+
.hsk-cb-think-head--static {
|
|
1461
|
+
cursor: default;
|
|
1462
|
+
}
|
|
1463
|
+
.hsk-cb-think-head--static:hover {
|
|
1464
|
+
color: var(--hsk-chat-muted, #888);
|
|
1465
|
+
}
|
|
1435
1466
|
.hsk-cb-think-spin {
|
|
1436
1467
|
animation: hsk-think-spin 3s linear infinite;
|
|
1437
1468
|
}
|
|
@@ -1440,6 +1471,40 @@
|
|
|
1440
1471
|
transform: rotate(360deg);
|
|
1441
1472
|
}
|
|
1442
1473
|
}
|
|
1474
|
+
.hsk-cb-typing {
|
|
1475
|
+
display: inline-flex;
|
|
1476
|
+
align-items: center;
|
|
1477
|
+
gap: 3px;
|
|
1478
|
+
}
|
|
1479
|
+
.hsk-cb-typing span {
|
|
1480
|
+
width: 6px;
|
|
1481
|
+
height: 6px;
|
|
1482
|
+
border-radius: 50%;
|
|
1483
|
+
background: currentColor;
|
|
1484
|
+
animation: hsk-typing-dot 1.4s ease-in-out infinite;
|
|
1485
|
+
}
|
|
1486
|
+
.hsk-cb-typing span:nth-child(2) {
|
|
1487
|
+
animation-delay: .2s;
|
|
1488
|
+
}
|
|
1489
|
+
.hsk-cb-typing span:nth-child(3) {
|
|
1490
|
+
animation-delay: .4s;
|
|
1491
|
+
}
|
|
1492
|
+
@keyframes hsk-typing-dot {
|
|
1493
|
+
0%, 60%, 100% {
|
|
1494
|
+
opacity: .35;
|
|
1495
|
+
transform: scale(.85);
|
|
1496
|
+
}
|
|
1497
|
+
30% {
|
|
1498
|
+
opacity: 1;
|
|
1499
|
+
transform: scale(1.15);
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1503
|
+
.hsk-cb-typing span {
|
|
1504
|
+
animation: none;
|
|
1505
|
+
opacity: .6;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1443
1508
|
.hsk-cb-think-chevron {
|
|
1444
1509
|
font-size: 9px;
|
|
1445
1510
|
transition: transform .12s;
|
|
@@ -3694,6 +3759,37 @@
|
|
|
3694
3759
|
line-height: 1.4;
|
|
3695
3760
|
color: var(--hsk-chat-muted, #9aa0a6);
|
|
3696
3761
|
}
|
|
3762
|
+
.hsk-cb-kimgs {
|
|
3763
|
+
margin-top: 10px;
|
|
3764
|
+
display: flex;
|
|
3765
|
+
flex-direction: column;
|
|
3766
|
+
gap: 10px;
|
|
3767
|
+
animation: hsk-msg-in .2s ease-out both;
|
|
3768
|
+
}
|
|
3769
|
+
.hsk-cb-kimg-grid {
|
|
3770
|
+
display: flex;
|
|
3771
|
+
flex-wrap: wrap;
|
|
3772
|
+
gap: 6px;
|
|
3773
|
+
}
|
|
3774
|
+
.hsk-cb-kimg {
|
|
3775
|
+
width: 132px;
|
|
3776
|
+
height: 132px;
|
|
3777
|
+
object-fit: cover;
|
|
3778
|
+
border-radius: 8px;
|
|
3779
|
+
cursor: zoom-in;
|
|
3780
|
+
border: 1px solid var(--hsk-chat-border, rgba(0, 0, 0, 0.08));
|
|
3781
|
+
}
|
|
3782
|
+
.hsk-cb-kimg:only-child {
|
|
3783
|
+
width: 100%;
|
|
3784
|
+
max-width: 320px;
|
|
3785
|
+
height: auto;
|
|
3786
|
+
}
|
|
3787
|
+
.hsk-cb-kimg-caption {
|
|
3788
|
+
margin-top: 4px;
|
|
3789
|
+
font-size: 10.5px;
|
|
3790
|
+
line-height: 1.4;
|
|
3791
|
+
color: var(--hsk-chat-muted, #9aa0a6);
|
|
3792
|
+
}
|
|
3697
3793
|
.hsk-cb-viz--loading {
|
|
3698
3794
|
display: flex;
|
|
3699
3795
|
align-items: center;
|