@akropolys/kiku 1.7.3 → 1.7.5
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 +124 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +124 -44
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +180 -26
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -603,41 +603,128 @@
|
|
|
603
603
|
flex: 1;
|
|
604
604
|
display: flex;
|
|
605
605
|
flex-direction: column;
|
|
606
|
-
align-items:
|
|
606
|
+
align-items: flex-start;
|
|
607
607
|
justify-content: center;
|
|
608
|
-
gap:
|
|
609
|
-
padding:
|
|
610
|
-
text-align:
|
|
611
|
-
background:
|
|
612
|
-
radial-gradient(
|
|
613
|
-
circle at center,
|
|
614
|
-
rgba(var(--hsk-primary-rgb, 255, 106, 51), 0.08) 0%,
|
|
615
|
-
transparent 60%);
|
|
608
|
+
gap: 14px;
|
|
609
|
+
padding: 40px clamp(24px, 6%, 56px) 48px;
|
|
610
|
+
text-align: left;
|
|
616
611
|
}
|
|
617
|
-
.hsk-cb-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
612
|
+
.hsk-cb-hello {
|
|
613
|
+
margin: 0;
|
|
614
|
+
font-size: clamp(30px, 6.5vw, 48px);
|
|
615
|
+
font-weight: 400;
|
|
616
|
+
line-height: 1.04;
|
|
617
|
+
letter-spacing: -0.025em;
|
|
618
|
+
color: var(--hsk-chat-text, #111);
|
|
623
619
|
}
|
|
624
|
-
.hsk-cb-
|
|
625
|
-
font-
|
|
620
|
+
.hsk-cb-hello b {
|
|
621
|
+
font-weight: 600;
|
|
622
|
+
color: var(--hsk-primary, #ff6a33);
|
|
623
|
+
}
|
|
624
|
+
.hsk-cb-hello-lead {
|
|
625
|
+
margin: 0;
|
|
626
|
+
font-size: 16px;
|
|
627
|
+
line-height: 1.6;
|
|
628
|
+
color: var(--hsk-chat-muted, #5f6368);
|
|
629
|
+
max-width: 34ch;
|
|
630
|
+
}
|
|
631
|
+
.hsk-cb-hello-ask {
|
|
632
|
+
margin: 6px 0 0;
|
|
633
|
+
font-size: 17px;
|
|
626
634
|
font-weight: 500;
|
|
627
635
|
color: var(--hsk-chat-text, #111);
|
|
628
|
-
letter-spacing: -.02em;
|
|
629
636
|
}
|
|
630
|
-
.hsk-cb-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
637
|
+
.hsk-cb-hello-skip {
|
|
638
|
+
padding: 0;
|
|
639
|
+
font-size: 13px;
|
|
640
|
+
color: var(--hsk-chat-muted, #888);
|
|
641
|
+
background: transparent;
|
|
642
|
+
border: none;
|
|
643
|
+
cursor: pointer;
|
|
644
|
+
text-decoration: underline;
|
|
645
|
+
text-underline-offset: 3px;
|
|
646
|
+
}
|
|
647
|
+
.hsk-cb-hello-skip:hover {
|
|
648
|
+
color: var(--hsk-chat-text, #111);
|
|
649
|
+
}
|
|
650
|
+
@keyframes hsk-hello-rise {
|
|
651
|
+
from {
|
|
652
|
+
opacity: 0;
|
|
653
|
+
transform: translateY(16px);
|
|
654
|
+
filter: blur(10px);
|
|
655
|
+
}
|
|
656
|
+
to {
|
|
657
|
+
opacity: 1;
|
|
658
|
+
transform: translateY(0);
|
|
659
|
+
filter: blur(0);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
.hsk-cb-hello,
|
|
663
|
+
.hsk-cb-hello-lead,
|
|
664
|
+
.hsk-cb-hello-ask,
|
|
665
|
+
.hsk-cb-hello-skip {
|
|
666
|
+
opacity: 0;
|
|
667
|
+
animation: hsk-hello-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
668
|
+
}
|
|
669
|
+
.hsk-cb-hello {
|
|
670
|
+
animation-delay: 0.06s;
|
|
671
|
+
}
|
|
672
|
+
.hsk-cb-hello-lead {
|
|
673
|
+
animation-delay: 0.26s;
|
|
674
|
+
}
|
|
675
|
+
.hsk-cb-hello-ask {
|
|
676
|
+
animation-delay: 0.44s;
|
|
677
|
+
}
|
|
678
|
+
.hsk-cb-hello-skip {
|
|
679
|
+
animation-delay: 0.60s;
|
|
680
|
+
}
|
|
681
|
+
.hsk-cb-hello b {
|
|
682
|
+
background-image:
|
|
683
|
+
linear-gradient(
|
|
684
|
+
100deg,
|
|
685
|
+
currentColor 0%,
|
|
686
|
+
currentColor 42%,
|
|
687
|
+
rgba(255, 255, 255, 0.92) 50%,
|
|
688
|
+
currentColor 58%,
|
|
689
|
+
currentColor 100%);
|
|
690
|
+
background-size: 250% 100%;
|
|
691
|
+
background-repeat: no-repeat;
|
|
692
|
+
background-position: 130% 0;
|
|
693
|
+
-webkit-background-clip: text;
|
|
694
|
+
background-clip: text;
|
|
695
|
+
-webkit-text-fill-color: transparent;
|
|
696
|
+
animation: hsk-hello-sheen 4.5s ease-in-out 1s infinite;
|
|
697
|
+
}
|
|
698
|
+
@keyframes hsk-hello-sheen {
|
|
699
|
+
0% {
|
|
700
|
+
background-position: 130% 0;
|
|
701
|
+
}
|
|
702
|
+
55% {
|
|
703
|
+
background-position: -30% 0;
|
|
704
|
+
}
|
|
705
|
+
100% {
|
|
706
|
+
background-position: -30% 0;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
@media (prefers-reduced-motion: reduce) {
|
|
710
|
+
.hsk-cb-hello,
|
|
711
|
+
.hsk-cb-hello-lead,
|
|
712
|
+
.hsk-cb-hello-ask,
|
|
713
|
+
.hsk-cb-hello-skip {
|
|
714
|
+
animation: none;
|
|
715
|
+
opacity: 1;
|
|
716
|
+
transform: none;
|
|
717
|
+
filter: none;
|
|
718
|
+
}
|
|
719
|
+
.hsk-cb-hello b {
|
|
720
|
+
animation: none;
|
|
721
|
+
}
|
|
635
722
|
}
|
|
636
723
|
.hsk-cb-chips {
|
|
637
724
|
display: flex;
|
|
638
725
|
flex-wrap: wrap;
|
|
639
726
|
gap: 8px;
|
|
640
|
-
justify-content:
|
|
727
|
+
justify-content: flex-start;
|
|
641
728
|
margin-top: 4px;
|
|
642
729
|
}
|
|
643
730
|
.hsk-cb-chip {
|
|
@@ -926,6 +1013,32 @@
|
|
|
926
1013
|
fill: currentColor;
|
|
927
1014
|
opacity: 0.16;
|
|
928
1015
|
}
|
|
1016
|
+
.hsk-cb-thinking-icon .hsk-brand-mark:not(.hsk-brand-mark--sheen) {
|
|
1017
|
+
transform-origin: 50% 100%;
|
|
1018
|
+
animation: hsk-glyph-settle 2.8s infinite;
|
|
1019
|
+
}
|
|
1020
|
+
@keyframes hsk-glyph-settle {
|
|
1021
|
+
0%, 72% {
|
|
1022
|
+
opacity: 0.16;
|
|
1023
|
+
transform: scale(1);
|
|
1024
|
+
}
|
|
1025
|
+
82% {
|
|
1026
|
+
opacity: 1;
|
|
1027
|
+
transform: scale(1.07);
|
|
1028
|
+
animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
1029
|
+
}
|
|
1030
|
+
90% {
|
|
1031
|
+
transform: scale(0.97);
|
|
1032
|
+
}
|
|
1033
|
+
95% {
|
|
1034
|
+
opacity: 1;
|
|
1035
|
+
transform: scale(1);
|
|
1036
|
+
}
|
|
1037
|
+
100% {
|
|
1038
|
+
opacity: 0.16;
|
|
1039
|
+
transform: scale(1);
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
929
1042
|
.hsk-cb-thinking-icon .hsk-brand-mark--sheen {
|
|
930
1043
|
opacity: 1;
|
|
931
1044
|
-webkit-mask-image:
|
|
@@ -1311,6 +1424,44 @@
|
|
|
1311
1424
|
color: #ef4444;
|
|
1312
1425
|
font-size: 13px;
|
|
1313
1426
|
}
|
|
1427
|
+
.hsk-cb-stopped {
|
|
1428
|
+
display: flex;
|
|
1429
|
+
align-items: center;
|
|
1430
|
+
gap: 12px;
|
|
1431
|
+
margin: 8px 0;
|
|
1432
|
+
flex-wrap: wrap;
|
|
1433
|
+
}
|
|
1434
|
+
.hsk-cb-stopped-label {
|
|
1435
|
+
font-size: 12.5px;
|
|
1436
|
+
color: var(--hsk-chat-muted, #888);
|
|
1437
|
+
}
|
|
1438
|
+
.hsk-cb-continue {
|
|
1439
|
+
display: inline-flex;
|
|
1440
|
+
align-items: center;
|
|
1441
|
+
gap: 6px;
|
|
1442
|
+
padding: 7px 12px;
|
|
1443
|
+
font-size: 12.5px;
|
|
1444
|
+
font-weight: 600;
|
|
1445
|
+
color: var(--hsk-chat-text, #111);
|
|
1446
|
+
background: transparent;
|
|
1447
|
+
border: 1.5px solid var(--hsk-chat-divide, rgba(0,0,0,.14));
|
|
1448
|
+
border-radius: var(--hsk-border-radius, 0px);
|
|
1449
|
+
cursor: pointer;
|
|
1450
|
+
transition:
|
|
1451
|
+
border-color .15s,
|
|
1452
|
+
color .15s,
|
|
1453
|
+
background .15s;
|
|
1454
|
+
}
|
|
1455
|
+
.hsk-cb-continue:hover {
|
|
1456
|
+
border-color: var(--hsk-primary);
|
|
1457
|
+
color: var(--hsk-primary);
|
|
1458
|
+
}
|
|
1459
|
+
@media (prefers-color-scheme: dark) {
|
|
1460
|
+
.hsk-cb-continue {
|
|
1461
|
+
border-color: rgba(255, 255, 255, .14);
|
|
1462
|
+
color: #f0efed;
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1314
1465
|
@media (prefers-color-scheme: dark) {
|
|
1315
1466
|
.hsk-cb-overlay {
|
|
1316
1467
|
--hsk-chat-bg: #0a0a0a;
|
|
@@ -1336,10 +1487,13 @@
|
|
|
1336
1487
|
border-color: rgba(255, 255, 255, .07);
|
|
1337
1488
|
color: #888;
|
|
1338
1489
|
}
|
|
1339
|
-
.hsk-cb-
|
|
1490
|
+
.hsk-cb-hello {
|
|
1491
|
+
color: #f0efed;
|
|
1492
|
+
}
|
|
1493
|
+
.hsk-cb-hello-ask {
|
|
1340
1494
|
color: #f0efed;
|
|
1341
1495
|
}
|
|
1342
|
-
.hsk-cb-
|
|
1496
|
+
.hsk-cb-hello-lead {
|
|
1343
1497
|
color: #888;
|
|
1344
1498
|
}
|
|
1345
1499
|
.hsk-cb-chip {
|