@akropolys/kiku 1.7.8 → 1.7.10

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
@@ -1471,6 +1471,23 @@
1471
1471
  transform: rotate(360deg);
1472
1472
  }
1473
1473
  }
1474
+ .hsk-cb-typing-bubble {
1475
+ align-self: flex-start;
1476
+ display: inline-flex;
1477
+ align-items: center;
1478
+ padding: 12px 15px;
1479
+ margin: 4px 0;
1480
+ background: var(--hsk-chat-divide, rgba(0,0,0,.07));
1481
+ border-radius: 18px;
1482
+ border-bottom-left-radius: 5px;
1483
+ color: var(--hsk-chat-muted, #8e8e93);
1484
+ animation: hsk-send-in .3s cubic-bezier(.2, .9, .3, 1.15) both;
1485
+ transform-origin: bottom left;
1486
+ }
1487
+ .hsk-cb-typing-bubble .hsk-cb-typing span {
1488
+ width: 8px;
1489
+ height: 8px;
1490
+ }
1474
1491
  .hsk-cb-typing {
1475
1492
  display: inline-flex;
1476
1493
  align-items: center;
@@ -3759,6 +3776,204 @@
3759
3776
  line-height: 1.4;
3760
3777
  color: var(--hsk-chat-muted, #9aa0a6);
3761
3778
  }
3779
+ .hsk-cb-viz-imgwrap {
3780
+ position: relative;
3781
+ display: inline-block;
3782
+ max-width: 100%;
3783
+ }
3784
+ .hsk-cb-viz-mark {
3785
+ position: absolute;
3786
+ right: 10px;
3787
+ bottom: 10px;
3788
+ display: inline-flex;
3789
+ align-items: center;
3790
+ gap: 6px;
3791
+ padding: 8px 14px;
3792
+ font-size: 12.5px;
3793
+ font-weight: 600;
3794
+ color: #fff;
3795
+ background: rgba(0, 0, 0, .62);
3796
+ backdrop-filter: blur(6px);
3797
+ border: 1px solid rgba(255, 255, 255, .35);
3798
+ border-radius: 999px;
3799
+ cursor: pointer;
3800
+ transition: background .15s;
3801
+ }
3802
+ .hsk-cb-viz-mark:hover {
3803
+ background: var(--hsk-primary, #ff6a33);
3804
+ border-color: transparent;
3805
+ }
3806
+ .hsk-markup-overlay {
3807
+ position: fixed;
3808
+ inset: 0;
3809
+ z-index: 999999;
3810
+ background: rgba(0, 0, 0, 0.88);
3811
+ display: flex;
3812
+ align-items: center;
3813
+ justify-content: center;
3814
+ padding: 16px;
3815
+ animation: hsk-lightbox-in .15s ease-out both;
3816
+ }
3817
+ .hsk-markup {
3818
+ display: flex;
3819
+ flex-direction: column;
3820
+ gap: 12px;
3821
+ width: min(720px, 100%);
3822
+ max-height: 100%;
3823
+ overflow-y: auto;
3824
+ }
3825
+ .hsk-markup-head {
3826
+ display: flex;
3827
+ align-items: center;
3828
+ justify-content: space-between;
3829
+ }
3830
+ .hsk-markup-title {
3831
+ font-size: 13.5px;
3832
+ font-weight: 600;
3833
+ color: #fff;
3834
+ }
3835
+ .hsk-markup-cancel {
3836
+ padding: 6px 12px;
3837
+ font-size: 12px;
3838
+ font-weight: 600;
3839
+ color: #fff;
3840
+ background: rgba(255, 255, 255, .12);
3841
+ border: none;
3842
+ border-radius: var(--hsk-border-radius, 0px);
3843
+ cursor: pointer;
3844
+ }
3845
+ .hsk-markup-cancel:hover {
3846
+ background: rgba(255, 255, 255, .22);
3847
+ }
3848
+ .hsk-markup-stage {
3849
+ display: flex;
3850
+ justify-content: center;
3851
+ }
3852
+ .hsk-markup-canvas-wrap {
3853
+ position: relative;
3854
+ max-width: 100%;
3855
+ }
3856
+ .hsk-markup-canvas {
3857
+ display: block;
3858
+ max-width: 100%;
3859
+ max-height: 60vh;
3860
+ border-radius: var(--hsk-border-radius, 0px);
3861
+ touch-action: none;
3862
+ }
3863
+ .hsk-markup-canvas--pen,
3864
+ .hsk-markup-canvas--eraser {
3865
+ cursor: crosshair;
3866
+ }
3867
+ .hsk-markup-canvas--text {
3868
+ cursor: text;
3869
+ }
3870
+ .hsk-markup-textinput {
3871
+ position: absolute;
3872
+ transform: translateY(-100%);
3873
+ min-width: 140px;
3874
+ padding: 4px 6px;
3875
+ font-size: 14px;
3876
+ font-weight: 600;
3877
+ background: rgba(0, 0, 0, .55);
3878
+ border: 1px dashed rgba(255, 255, 255, .6);
3879
+ border-radius: 4px;
3880
+ outline: none;
3881
+ }
3882
+ .hsk-markup-loading,
3883
+ .hsk-markup-error {
3884
+ padding: 40px 16px;
3885
+ font-size: 13px;
3886
+ color: rgba(255, 255, 255, .75);
3887
+ text-align: center;
3888
+ }
3889
+ .hsk-markup-tools {
3890
+ display: flex;
3891
+ align-items: center;
3892
+ justify-content: space-between;
3893
+ gap: 12px;
3894
+ flex-wrap: wrap;
3895
+ }
3896
+ .hsk-markup-colors {
3897
+ display: flex;
3898
+ gap: 8px;
3899
+ }
3900
+ .hsk-markup-color {
3901
+ width: 22px;
3902
+ height: 22px;
3903
+ border-radius: 50%;
3904
+ border: 2px solid transparent;
3905
+ cursor: pointer;
3906
+ padding: 0;
3907
+ }
3908
+ .hsk-markup-color--on {
3909
+ border-color: #fff;
3910
+ transform: scale(1.15);
3911
+ }
3912
+ .hsk-markup-actions {
3913
+ display: flex;
3914
+ gap: 6px;
3915
+ }
3916
+ .hsk-markup-tool {
3917
+ padding: 6px 11px;
3918
+ font-size: 12px;
3919
+ font-weight: 600;
3920
+ color: #fff;
3921
+ background: rgba(255, 255, 255, .12);
3922
+ border: none;
3923
+ border-radius: var(--hsk-border-radius, 0px);
3924
+ cursor: pointer;
3925
+ }
3926
+ .hsk-markup-tool:hover:not(:disabled) {
3927
+ background: rgba(255, 255, 255, .22);
3928
+ }
3929
+ .hsk-markup-tool--on {
3930
+ background: var(--hsk-primary, #ff6a33);
3931
+ }
3932
+ .hsk-markup-tool--on:hover:not(:disabled) {
3933
+ background: var(--hsk-primary, #ff6a33);
3934
+ }
3935
+ .hsk-markup-tool:disabled {
3936
+ opacity: .4;
3937
+ cursor: default;
3938
+ }
3939
+ .hsk-markup-send {
3940
+ display: flex;
3941
+ gap: 8px;
3942
+ }
3943
+ .hsk-markup-instruction {
3944
+ flex: 1;
3945
+ min-width: 0;
3946
+ padding: 10px 12px;
3947
+ font-size: 13.5px;
3948
+ color: #fff;
3949
+ background: rgba(255, 255, 255, .1);
3950
+ border: 1px solid rgba(255, 255, 255, .25);
3951
+ border-radius: var(--hsk-border-radius, 0px);
3952
+ outline: none;
3953
+ }
3954
+ .hsk-markup-instruction::placeholder {
3955
+ color: rgba(255, 255, 255, .5);
3956
+ }
3957
+ .hsk-markup-instruction:focus {
3958
+ border-color: var(--hsk-primary, #ff6a33);
3959
+ }
3960
+ .hsk-markup-go {
3961
+ padding: 10px 20px;
3962
+ font-size: 13px;
3963
+ font-weight: 600;
3964
+ color: #fff;
3965
+ background: var(--hsk-primary, #ff6a33);
3966
+ border: none;
3967
+ border-radius: var(--hsk-border-radius, 0px);
3968
+ cursor: pointer;
3969
+ }
3970
+ .hsk-markup-go:hover:not(:disabled) {
3971
+ opacity: .9;
3972
+ }
3973
+ .hsk-markup-go:disabled {
3974
+ opacity: .45;
3975
+ cursor: default;
3976
+ }
3762
3977
  .hsk-cb-kimgs {
3763
3978
  margin-top: 10px;
3764
3979
  display: flex;