@akropolys/kiku 1.7.7 → 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 +24 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +90 -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;
|
|
@@ -1446,6 +1471,40 @@
|
|
|
1446
1471
|
transform: rotate(360deg);
|
|
1447
1472
|
}
|
|
1448
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
|
+
}
|
|
1449
1508
|
.hsk-cb-think-chevron {
|
|
1450
1509
|
font-size: 9px;
|
|
1451
1510
|
transition: transform .12s;
|
|
@@ -3700,6 +3759,37 @@
|
|
|
3700
3759
|
line-height: 1.4;
|
|
3701
3760
|
color: var(--hsk-chat-muted, #9aa0a6);
|
|
3702
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
|
+
}
|
|
3703
3793
|
.hsk-cb-viz--loading {
|
|
3704
3794
|
display: flex;
|
|
3705
3795
|
align-items: center;
|