@akropolys/kiku 1.7.7 → 1.7.9

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/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,232 @@
3700
3759
  line-height: 1.4;
3701
3760
  color: var(--hsk-chat-muted, #9aa0a6);
3702
3761
  }
3762
+ .hsk-cb-viz-foot {
3763
+ display: flex;
3764
+ align-items: flex-start;
3765
+ justify-content: space-between;
3766
+ gap: 12px;
3767
+ max-width: 560px;
3768
+ }
3769
+ .hsk-cb-viz-mark {
3770
+ flex-shrink: 0;
3771
+ margin-top: 4px;
3772
+ padding: 6px 12px;
3773
+ font-size: 12px;
3774
+ font-weight: 600;
3775
+ color: var(--hsk-primary, #ff6a33);
3776
+ background: none;
3777
+ border: 1px solid var(--hsk-primary, #ff6a33);
3778
+ border-radius: var(--hsk-border-radius, 0px);
3779
+ cursor: pointer;
3780
+ transition: background .15s, color .15s;
3781
+ }
3782
+ .hsk-cb-viz-mark:hover {
3783
+ background: var(--hsk-primary, #ff6a33);
3784
+ color: #fff;
3785
+ }
3786
+ .hsk-markup-overlay {
3787
+ position: fixed;
3788
+ inset: 0;
3789
+ z-index: 999999;
3790
+ background: rgba(0, 0, 0, 0.88);
3791
+ display: flex;
3792
+ align-items: center;
3793
+ justify-content: center;
3794
+ padding: 16px;
3795
+ animation: hsk-lightbox-in .15s ease-out both;
3796
+ }
3797
+ .hsk-markup {
3798
+ display: flex;
3799
+ flex-direction: column;
3800
+ gap: 12px;
3801
+ width: min(720px, 100%);
3802
+ max-height: 100%;
3803
+ overflow-y: auto;
3804
+ }
3805
+ .hsk-markup-head {
3806
+ display: flex;
3807
+ align-items: center;
3808
+ justify-content: space-between;
3809
+ }
3810
+ .hsk-markup-title {
3811
+ font-size: 13.5px;
3812
+ font-weight: 600;
3813
+ color: #fff;
3814
+ }
3815
+ .hsk-markup-cancel {
3816
+ padding: 6px 12px;
3817
+ font-size: 12px;
3818
+ font-weight: 600;
3819
+ color: #fff;
3820
+ background: rgba(255, 255, 255, .12);
3821
+ border: none;
3822
+ border-radius: var(--hsk-border-radius, 0px);
3823
+ cursor: pointer;
3824
+ }
3825
+ .hsk-markup-cancel:hover {
3826
+ background: rgba(255, 255, 255, .22);
3827
+ }
3828
+ .hsk-markup-stage {
3829
+ display: flex;
3830
+ justify-content: center;
3831
+ }
3832
+ .hsk-markup-canvas-wrap {
3833
+ position: relative;
3834
+ max-width: 100%;
3835
+ }
3836
+ .hsk-markup-canvas {
3837
+ display: block;
3838
+ max-width: 100%;
3839
+ max-height: 60vh;
3840
+ border-radius: var(--hsk-border-radius, 0px);
3841
+ touch-action: none;
3842
+ }
3843
+ .hsk-markup-canvas--pen,
3844
+ .hsk-markup-canvas--eraser {
3845
+ cursor: crosshair;
3846
+ }
3847
+ .hsk-markup-canvas--text {
3848
+ cursor: text;
3849
+ }
3850
+ .hsk-markup-textinput {
3851
+ position: absolute;
3852
+ transform: translateY(-100%);
3853
+ min-width: 140px;
3854
+ padding: 4px 6px;
3855
+ font-size: 14px;
3856
+ font-weight: 600;
3857
+ background: rgba(0, 0, 0, .55);
3858
+ border: 1px dashed rgba(255, 255, 255, .6);
3859
+ border-radius: 4px;
3860
+ outline: none;
3861
+ }
3862
+ .hsk-markup-loading,
3863
+ .hsk-markup-error {
3864
+ padding: 40px 16px;
3865
+ font-size: 13px;
3866
+ color: rgba(255, 255, 255, .75);
3867
+ text-align: center;
3868
+ }
3869
+ .hsk-markup-tools {
3870
+ display: flex;
3871
+ align-items: center;
3872
+ justify-content: space-between;
3873
+ gap: 12px;
3874
+ flex-wrap: wrap;
3875
+ }
3876
+ .hsk-markup-colors {
3877
+ display: flex;
3878
+ gap: 8px;
3879
+ }
3880
+ .hsk-markup-color {
3881
+ width: 22px;
3882
+ height: 22px;
3883
+ border-radius: 50%;
3884
+ border: 2px solid transparent;
3885
+ cursor: pointer;
3886
+ padding: 0;
3887
+ }
3888
+ .hsk-markup-color--on {
3889
+ border-color: #fff;
3890
+ transform: scale(1.15);
3891
+ }
3892
+ .hsk-markup-actions {
3893
+ display: flex;
3894
+ gap: 6px;
3895
+ }
3896
+ .hsk-markup-tool {
3897
+ padding: 6px 11px;
3898
+ font-size: 12px;
3899
+ font-weight: 600;
3900
+ color: #fff;
3901
+ background: rgba(255, 255, 255, .12);
3902
+ border: none;
3903
+ border-radius: var(--hsk-border-radius, 0px);
3904
+ cursor: pointer;
3905
+ }
3906
+ .hsk-markup-tool:hover:not(:disabled) {
3907
+ background: rgba(255, 255, 255, .22);
3908
+ }
3909
+ .hsk-markup-tool--on {
3910
+ background: var(--hsk-primary, #ff6a33);
3911
+ }
3912
+ .hsk-markup-tool--on:hover:not(:disabled) {
3913
+ background: var(--hsk-primary, #ff6a33);
3914
+ }
3915
+ .hsk-markup-tool:disabled {
3916
+ opacity: .4;
3917
+ cursor: default;
3918
+ }
3919
+ .hsk-markup-send {
3920
+ display: flex;
3921
+ gap: 8px;
3922
+ }
3923
+ .hsk-markup-instruction {
3924
+ flex: 1;
3925
+ min-width: 0;
3926
+ padding: 10px 12px;
3927
+ font-size: 13.5px;
3928
+ color: #fff;
3929
+ background: rgba(255, 255, 255, .1);
3930
+ border: 1px solid rgba(255, 255, 255, .25);
3931
+ border-radius: var(--hsk-border-radius, 0px);
3932
+ outline: none;
3933
+ }
3934
+ .hsk-markup-instruction::placeholder {
3935
+ color: rgba(255, 255, 255, .5);
3936
+ }
3937
+ .hsk-markup-instruction:focus {
3938
+ border-color: var(--hsk-primary, #ff6a33);
3939
+ }
3940
+ .hsk-markup-go {
3941
+ padding: 10px 20px;
3942
+ font-size: 13px;
3943
+ font-weight: 600;
3944
+ color: #fff;
3945
+ background: var(--hsk-primary, #ff6a33);
3946
+ border: none;
3947
+ border-radius: var(--hsk-border-radius, 0px);
3948
+ cursor: pointer;
3949
+ }
3950
+ .hsk-markup-go:hover:not(:disabled) {
3951
+ opacity: .9;
3952
+ }
3953
+ .hsk-markup-go:disabled {
3954
+ opacity: .45;
3955
+ cursor: default;
3956
+ }
3957
+ .hsk-cb-kimgs {
3958
+ margin-top: 10px;
3959
+ display: flex;
3960
+ flex-direction: column;
3961
+ gap: 10px;
3962
+ animation: hsk-msg-in .2s ease-out both;
3963
+ }
3964
+ .hsk-cb-kimg-grid {
3965
+ display: flex;
3966
+ flex-wrap: wrap;
3967
+ gap: 6px;
3968
+ }
3969
+ .hsk-cb-kimg {
3970
+ width: 132px;
3971
+ height: 132px;
3972
+ object-fit: cover;
3973
+ border-radius: 8px;
3974
+ cursor: zoom-in;
3975
+ border: 1px solid var(--hsk-chat-border, rgba(0, 0, 0, 0.08));
3976
+ }
3977
+ .hsk-cb-kimg:only-child {
3978
+ width: 100%;
3979
+ max-width: 320px;
3980
+ height: auto;
3981
+ }
3982
+ .hsk-cb-kimg-caption {
3983
+ margin-top: 4px;
3984
+ font-size: 10.5px;
3985
+ line-height: 1.4;
3986
+ color: var(--hsk-chat-muted, #9aa0a6);
3987
+ }
3703
3988
  .hsk-cb-viz--loading {
3704
3989
  display: flex;
3705
3990
  align-items: center;