@akropolys/kiku 1.7.8 → 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/index.js +660 -425
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +652 -417
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +195 -0
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3759,6 +3759,201 @@
|
|
|
3759
3759
|
line-height: 1.4;
|
|
3760
3760
|
color: var(--hsk-chat-muted, #9aa0a6);
|
|
3761
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
|
+
}
|
|
3762
3957
|
.hsk-cb-kimgs {
|
|
3763
3958
|
margin-top: 10px;
|
|
3764
3959
|
display: flex;
|