@voxket-ai/voxket-live 1.0.101 → 1.0.103
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.cjs +512 -30
- package/dist/index.js +514 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13855,7 +13855,7 @@ function fb({ onSendMessage: e, onSendAttachments: t, disabled: n, theme: r, onE
|
|
|
13855
13855
|
A.type.startsWith("image/") ? t([A]) : console.warn("Selected file is not an image"), f.current && (f.current.value = "");
|
|
13856
13856
|
}
|
|
13857
13857
|
};
|
|
13858
|
-
return /* @__PURE__ */ u("div", { className: `${m ? "px-2 py-1" : "px-4 py-3"} !w-full backdrop-blur-xl border-0 shadow-lg `, children: /* @__PURE__ */ u("form", { onSubmit: v, className: `
|
|
13858
|
+
return /* @__PURE__ */ u("div", { className: `${m ? "px-2 py-1" : "px-4 py-3"} !w-full backdrop-blur-xl border-0 shadow-lg `, children: /* @__PURE__ */ u("form", { onSubmit: v, className: `w-full mx-auto ${m ? "max-w-xs" : ""}`, children: /* @__PURE__ */ S("div", { className: `flex items-center ${m ? "gap-1" : "gap-2"} !w-full backdrop-blur-md rounded-full ${m ? "px-2 py-1" : "px-3 py-2"} shadow-sm hover:shadow-md focus-within:shadow-lg focus-within:ring-2 focus-within:ring-blue-500/30 focus-within:border-blue-500/50 transition-all duration-200 border ${r === "light" ? "bg-white/90" : b.chatInput.container}`, children: [
|
|
13859
13859
|
/* @__PURE__ */ u(
|
|
13860
13860
|
se.button,
|
|
13861
13861
|
{
|
|
@@ -14425,7 +14425,7 @@ function xb({
|
|
|
14425
14425
|
}
|
|
14426
14426
|
)
|
|
14427
14427
|
] });
|
|
14428
|
-
const D = x && v ? "fullscreen" : o, Y = o === "popup", N = D === "fullscreen" ? x && v ? "fixed inset-0 z-[9999] flex flex-col h-screen w-screen bg-black" : "flex flex-col h-full w-full max-w-none" : "flex flex-col h-full w-full backdrop-blur-sm max-h-full overflow-hidden", z = D === "fullscreen" ? x && v ? "flex items-center w-full justify-between px-4 pt-3 pb-3 bg-black/80 text-white border-b border-gray-700" : `flex items-center w-full justify-between px-6 pt-
|
|
14428
|
+
const D = x && v ? "fullscreen" : o, Y = o === "popup", N = D === "fullscreen" ? x && v ? "fixed inset-0 z-[9999] flex flex-col h-screen w-screen bg-black" : "flex flex-col h-full w-full max-w-none" : "flex flex-col h-full w-full backdrop-blur-sm max-h-full overflow-hidden", z = D === "fullscreen" ? x && v ? "flex items-center w-full justify-between px-4 pt-3 pb-3 bg-black/80 text-white border-b border-gray-700" : `flex items-center w-full justify-between px-6 pt-3 pb-4 border-b ${A.chatHeader.container}` : `flex items-center w-full justify-between ${Y ? "px-3 pt-3 pb-3 text-xs" : "px-5 pt-3 pb-5"} border-b ${A.chatHeader.container}`, J = D === "fullscreen" ? x && v ? "flex-1 overflow-y-auto scrollbar-hide p-4 w-full max-w-none chat-scrollable min-h-0" : "flex-1 overflow-y-auto scrollbar-hide p-6 w-full max-w-none chat-scrollable min-h-0" : `flex-1 overflow-y-auto scrollbar-hide w-full ${Y ? "p-2 text-xs" : "p-4"} chat-scrollable min-h-0`, Z = "flex-shrink-0 !w-full", H = () => {
|
|
14429
14429
|
T(!1), n && n();
|
|
14430
14430
|
};
|
|
14431
14431
|
return /* @__PURE__ */ S("div", { className: `${N} chat-view`, children: [
|
|
@@ -16765,6 +16765,488 @@ function Rd() {
|
|
|
16765
16765
|
.voxket-widget-root .text-blue-600 {
|
|
16766
16766
|
color: #2563eb !important;
|
|
16767
16767
|
}
|
|
16768
|
+
|
|
16769
|
+
/* GLOBAL STYLES FOR POPUP AND FULLSCREEN MODES */
|
|
16770
|
+
/* These styles apply globally when popup/fullscreen elements are rendered outside normal widget scope */
|
|
16771
|
+
|
|
16772
|
+
/* Popup and fullscreen containers */
|
|
16773
|
+
.fixed.z-\\[9999\\],
|
|
16774
|
+
div[class*="fixed"][class*="z-[9999]"] {
|
|
16775
|
+
/* Ensure fixed positioned elements get theme context */
|
|
16776
|
+
}
|
|
16777
|
+
|
|
16778
|
+
/* Global theme classes for popup/fullscreen */
|
|
16779
|
+
.theme-vox {
|
|
16780
|
+
color: #ffffff;
|
|
16781
|
+
}
|
|
16782
|
+
|
|
16783
|
+
.theme-dark {
|
|
16784
|
+
color: #ffffff;
|
|
16785
|
+
}
|
|
16786
|
+
|
|
16787
|
+
.theme-light {
|
|
16788
|
+
color: #1f2937;
|
|
16789
|
+
}
|
|
16790
|
+
|
|
16791
|
+
/* Global background utilities for popup/fullscreen */
|
|
16792
|
+
.bg-gradient-to-br {
|
|
16793
|
+
background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
|
|
16794
|
+
}
|
|
16795
|
+
|
|
16796
|
+
.bg-gradient-to-b {
|
|
16797
|
+
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
|
16798
|
+
}
|
|
16799
|
+
|
|
16800
|
+
.bg-gradient-to-r {
|
|
16801
|
+
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
16802
|
+
}
|
|
16803
|
+
|
|
16804
|
+
/* Global gradient stops */
|
|
16805
|
+
.from-black {
|
|
16806
|
+
--tw-gradient-from: #000000;
|
|
16807
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
|
|
16808
|
+
}
|
|
16809
|
+
|
|
16810
|
+
.to-gray-900 {
|
|
16811
|
+
--tw-gradient-to: #111827;
|
|
16812
|
+
}
|
|
16813
|
+
|
|
16814
|
+
.from-\\[\\#171727\\] {
|
|
16815
|
+
--tw-gradient-from: #171727;
|
|
16816
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(23, 23, 39, 0));
|
|
16817
|
+
}
|
|
16818
|
+
|
|
16819
|
+
.to-\\[\\#12121F\\] {
|
|
16820
|
+
--tw-gradient-to: #12121F;
|
|
16821
|
+
}
|
|
16822
|
+
|
|
16823
|
+
.from-slate-950 {
|
|
16824
|
+
--tw-gradient-from: #020617;
|
|
16825
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(2, 6, 23, 0));
|
|
16826
|
+
}
|
|
16827
|
+
|
|
16828
|
+
.via-slate-900 {
|
|
16829
|
+
--tw-gradient-to: rgba(15, 23, 42, 0);
|
|
16830
|
+
--tw-gradient-stops: var(--tw-gradient-from), #0f172a, var(--tw-gradient-to, rgba(15, 23, 42, 0));
|
|
16831
|
+
}
|
|
16832
|
+
|
|
16833
|
+
.to-gray-950 {
|
|
16834
|
+
--tw-gradient-to: #030712;
|
|
16835
|
+
}
|
|
16836
|
+
|
|
16837
|
+
.from-sky-50 {
|
|
16838
|
+
--tw-gradient-from: #f0f9ff;
|
|
16839
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 249, 255, 0));
|
|
16840
|
+
}
|
|
16841
|
+
|
|
16842
|
+
.via-white {
|
|
16843
|
+
--tw-gradient-to: rgba(255, 255, 255, 0);
|
|
16844
|
+
--tw-gradient-stops: var(--tw-gradient-from), #ffffff, var(--tw-gradient-to, rgba(255, 255, 255, 0));
|
|
16845
|
+
}
|
|
16846
|
+
|
|
16847
|
+
.to-indigo-50 {
|
|
16848
|
+
--tw-gradient-to: #eef2ff;
|
|
16849
|
+
}
|
|
16850
|
+
|
|
16851
|
+
.from-\\[\\#0a0a1a\\] {
|
|
16852
|
+
--tw-gradient-from: #0a0a1a;
|
|
16853
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 26, 0));
|
|
16854
|
+
}
|
|
16855
|
+
|
|
16856
|
+
.to-\\[\\#0f0f23\\] {
|
|
16857
|
+
--tw-gradient-to: #0f0f23;
|
|
16858
|
+
}
|
|
16859
|
+
|
|
16860
|
+
/* Global background colors */
|
|
16861
|
+
.bg-black\\/40 {
|
|
16862
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
16863
|
+
}
|
|
16864
|
+
|
|
16865
|
+
.bg-\\[\\#171727\\]\\/90 {
|
|
16866
|
+
background-color: rgba(23, 23, 39, 0.9);
|
|
16867
|
+
}
|
|
16868
|
+
|
|
16869
|
+
.bg-\\[\\#1E1E2E\\] {
|
|
16870
|
+
background-color: #1E1E2E;
|
|
16871
|
+
}
|
|
16872
|
+
|
|
16873
|
+
.bg-\\[\\#0a0a1a\\] {
|
|
16874
|
+
background-color: #0a0a1a;
|
|
16875
|
+
}
|
|
16876
|
+
|
|
16877
|
+
.bg-\\[\\#0f0f23\\] {
|
|
16878
|
+
background-color: #0f0f23;
|
|
16879
|
+
}
|
|
16880
|
+
|
|
16881
|
+
.bg-slate-950 {
|
|
16882
|
+
background-color: #020617;
|
|
16883
|
+
}
|
|
16884
|
+
|
|
16885
|
+
.bg-slate-900 {
|
|
16886
|
+
background-color: #0f172a;
|
|
16887
|
+
}
|
|
16888
|
+
|
|
16889
|
+
.bg-sky-50 {
|
|
16890
|
+
background-color: #f0f9ff;
|
|
16891
|
+
}
|
|
16892
|
+
|
|
16893
|
+
.bg-indigo-50 {
|
|
16894
|
+
background-color: #eef2ff;
|
|
16895
|
+
}
|
|
16896
|
+
|
|
16897
|
+
/* Global backdrop blur */
|
|
16898
|
+
.backdrop-blur-sm {
|
|
16899
|
+
backdrop-filter: blur(8px);
|
|
16900
|
+
-webkit-backdrop-filter: blur(8px);
|
|
16901
|
+
}
|
|
16902
|
+
|
|
16903
|
+
/* Global layout utilities */
|
|
16904
|
+
.fixed {
|
|
16905
|
+
position: fixed;
|
|
16906
|
+
}
|
|
16907
|
+
|
|
16908
|
+
.inset-0 {
|
|
16909
|
+
inset: 0px;
|
|
16910
|
+
}
|
|
16911
|
+
|
|
16912
|
+
.flex {
|
|
16913
|
+
display: flex;
|
|
16914
|
+
}
|
|
16915
|
+
|
|
16916
|
+
.items-center {
|
|
16917
|
+
align-items: center;
|
|
16918
|
+
}
|
|
16919
|
+
|
|
16920
|
+
.justify-center {
|
|
16921
|
+
justify-content: center;
|
|
16922
|
+
}
|
|
16923
|
+
|
|
16924
|
+
.w-full {
|
|
16925
|
+
width: 100%;
|
|
16926
|
+
}
|
|
16927
|
+
|
|
16928
|
+
.h-full {
|
|
16929
|
+
height: 100%;
|
|
16930
|
+
}
|
|
16931
|
+
|
|
16932
|
+
.rounded-2xl {
|
|
16933
|
+
border-radius: 1rem;
|
|
16934
|
+
}
|
|
16935
|
+
|
|
16936
|
+
.shadow-2xl {
|
|
16937
|
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
16938
|
+
}
|
|
16939
|
+
|
|
16940
|
+
/* Global button and interactive element styles */
|
|
16941
|
+
.bg-gradient-to-br.from-blue-500.to-purple-600 {
|
|
16942
|
+
background: linear-gradient(to bottom right, #3b82f6, #9333ea);
|
|
16943
|
+
}
|
|
16944
|
+
|
|
16945
|
+
.bg-gradient-to-br.from-green-500.to-blue-600 {
|
|
16946
|
+
background: linear-gradient(to bottom right, #10b981, #2563eb);
|
|
16947
|
+
}
|
|
16948
|
+
|
|
16949
|
+
.bg-gradient-to-br.from-purple-500.to-pink-600 {
|
|
16950
|
+
background: linear-gradient(to bottom right, #8b5cf6, #db2777);
|
|
16951
|
+
}
|
|
16952
|
+
|
|
16953
|
+
.bg-gradient-to-br.from-orange-500.to-red-600 {
|
|
16954
|
+
background: linear-gradient(to bottom right, #f97316, #dc2626);
|
|
16955
|
+
}
|
|
16956
|
+
|
|
16957
|
+
/* Button hover effects */
|
|
16958
|
+
.hover\\:scale-105:hover {
|
|
16959
|
+
transform: scale(1.05);
|
|
16960
|
+
}
|
|
16961
|
+
|
|
16962
|
+
.hover\\:shadow-lg:hover {
|
|
16963
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
16964
|
+
}
|
|
16965
|
+
|
|
16966
|
+
/* Button states and colors */
|
|
16967
|
+
.bg-blue-600 {
|
|
16968
|
+
background-color: #2563eb;
|
|
16969
|
+
}
|
|
16970
|
+
|
|
16971
|
+
.bg-green-500 {
|
|
16972
|
+
background-color: #10b981;
|
|
16973
|
+
}
|
|
16974
|
+
|
|
16975
|
+
.bg-purple-600 {
|
|
16976
|
+
background-color: #9333ea;
|
|
16977
|
+
}
|
|
16978
|
+
|
|
16979
|
+
.bg-orange-500 {
|
|
16980
|
+
background-color: #f97316;
|
|
16981
|
+
}
|
|
16982
|
+
|
|
16983
|
+
.hover\\:bg-blue-700:hover {
|
|
16984
|
+
background-color: #1d4ed8;
|
|
16985
|
+
}
|
|
16986
|
+
|
|
16987
|
+
.hover\\:bg-green-600:hover {
|
|
16988
|
+
background-color: #059669;
|
|
16989
|
+
}
|
|
16990
|
+
|
|
16991
|
+
.hover\\:bg-purple-700:hover {
|
|
16992
|
+
background-color: #7c3aed;
|
|
16993
|
+
}
|
|
16994
|
+
|
|
16995
|
+
.hover\\:bg-orange-600:hover {
|
|
16996
|
+
background-color: #ea580c;
|
|
16997
|
+
}
|
|
16998
|
+
|
|
16999
|
+
/* Disabled button states */
|
|
17000
|
+
.disabled\\:opacity-50:disabled,
|
|
17001
|
+
.opacity-50 {
|
|
17002
|
+
opacity: 0.5;
|
|
17003
|
+
}
|
|
17004
|
+
|
|
17005
|
+
.disabled\\:cursor-not-allowed:disabled,
|
|
17006
|
+
.cursor-not-allowed {
|
|
17007
|
+
cursor: not-allowed;
|
|
17008
|
+
}
|
|
17009
|
+
|
|
17010
|
+
/* Text colors for buttons */
|
|
17011
|
+
.text-gray-800 {
|
|
17012
|
+
color: #1f2937;
|
|
17013
|
+
}
|
|
17014
|
+
|
|
17015
|
+
/* Transitions */
|
|
17016
|
+
.transition-all {
|
|
17017
|
+
transition-property: all;
|
|
17018
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
17019
|
+
transition-duration: 150ms;
|
|
17020
|
+
}
|
|
17021
|
+
|
|
17022
|
+
.duration-200 {
|
|
17023
|
+
transition-duration: 200ms;
|
|
17024
|
+
}
|
|
17025
|
+
|
|
17026
|
+
.duration-300 {
|
|
17027
|
+
transition-duration: 300ms;
|
|
17028
|
+
}
|
|
17029
|
+
|
|
17030
|
+
.ease-in-out {
|
|
17031
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
17032
|
+
}
|
|
17033
|
+
|
|
17034
|
+
/* Bar visualizer styles */
|
|
17035
|
+
.bg-blue-400 {
|
|
17036
|
+
background-color: #60a5fa;
|
|
17037
|
+
}
|
|
17038
|
+
|
|
17039
|
+
.bg-blue-500 {
|
|
17040
|
+
background-color: #3b82f6;
|
|
17041
|
+
}
|
|
17042
|
+
|
|
17043
|
+
.bg-purple-400 {
|
|
17044
|
+
background-color: #c084fc;
|
|
17045
|
+
}
|
|
17046
|
+
|
|
17047
|
+
.bg-purple-500 {
|
|
17048
|
+
background-color: #a855f7;
|
|
17049
|
+
}
|
|
17050
|
+
|
|
17051
|
+
.bg-pink-400 {
|
|
17052
|
+
background-color: #f472b6;
|
|
17053
|
+
}
|
|
17054
|
+
|
|
17055
|
+
.bg-pink-500 {
|
|
17056
|
+
background-color: #ec4899;
|
|
17057
|
+
}
|
|
17058
|
+
|
|
17059
|
+
/* Animation classes */
|
|
17060
|
+
.animate-pulse {
|
|
17061
|
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
17062
|
+
}
|
|
17063
|
+
|
|
17064
|
+
@keyframes pulse {
|
|
17065
|
+
0%, 100% {
|
|
17066
|
+
opacity: 1;
|
|
17067
|
+
}
|
|
17068
|
+
50% {
|
|
17069
|
+
opacity: .5;
|
|
17070
|
+
}
|
|
17071
|
+
}
|
|
17072
|
+
|
|
17073
|
+
/* Spacing utilities */
|
|
17074
|
+
.p-2 {
|
|
17075
|
+
padding: 0.5rem;
|
|
17076
|
+
}
|
|
17077
|
+
|
|
17078
|
+
.p-3 {
|
|
17079
|
+
padding: 0.75rem;
|
|
17080
|
+
}
|
|
17081
|
+
|
|
17082
|
+
.p-4 {
|
|
17083
|
+
padding: 1rem;
|
|
17084
|
+
}
|
|
17085
|
+
|
|
17086
|
+
.px-3 {
|
|
17087
|
+
padding-left: 0.75rem;
|
|
17088
|
+
padding-right: 0.75rem;
|
|
17089
|
+
}
|
|
17090
|
+
|
|
17091
|
+
.px-4 {
|
|
17092
|
+
padding-left: 1rem;
|
|
17093
|
+
padding-right: 1rem;
|
|
17094
|
+
}
|
|
17095
|
+
|
|
17096
|
+
.px-6 {
|
|
17097
|
+
padding-left: 1.5rem;
|
|
17098
|
+
padding-right: 1.5rem;
|
|
17099
|
+
}
|
|
17100
|
+
|
|
17101
|
+
.py-2 {
|
|
17102
|
+
padding-top: 0.5rem;
|
|
17103
|
+
padding-bottom: 0.5rem;
|
|
17104
|
+
}
|
|
17105
|
+
|
|
17106
|
+
.py-3 {
|
|
17107
|
+
padding-top: 0.75rem;
|
|
17108
|
+
padding-bottom: 0.75rem;
|
|
17109
|
+
}
|
|
17110
|
+
|
|
17111
|
+
.m-2 {
|
|
17112
|
+
margin: 0.5rem;
|
|
17113
|
+
}
|
|
17114
|
+
|
|
17115
|
+
.mt-2 {
|
|
17116
|
+
margin-top: 0.5rem;
|
|
17117
|
+
}
|
|
17118
|
+
|
|
17119
|
+
.mt-4 {
|
|
17120
|
+
margin-top: 1rem;
|
|
17121
|
+
}
|
|
17122
|
+
|
|
17123
|
+
.mb-2 {
|
|
17124
|
+
margin-bottom: 0.5rem;
|
|
17125
|
+
}
|
|
17126
|
+
|
|
17127
|
+
.mb-4 {
|
|
17128
|
+
margin-bottom: 1rem;
|
|
17129
|
+
}
|
|
17130
|
+
|
|
17131
|
+
.gap-2 {
|
|
17132
|
+
gap: 0.5rem;
|
|
17133
|
+
}
|
|
17134
|
+
|
|
17135
|
+
.gap-3 {
|
|
17136
|
+
gap: 0.75rem;
|
|
17137
|
+
}
|
|
17138
|
+
|
|
17139
|
+
.gap-4 {
|
|
17140
|
+
gap: 1rem;
|
|
17141
|
+
}
|
|
17142
|
+
|
|
17143
|
+
/* Font styles */
|
|
17144
|
+
.font-medium {
|
|
17145
|
+
font-weight: 500;
|
|
17146
|
+
}
|
|
17147
|
+
|
|
17148
|
+
.font-semibold {
|
|
17149
|
+
font-weight: 600;
|
|
17150
|
+
}
|
|
17151
|
+
|
|
17152
|
+
.text-sm {
|
|
17153
|
+
font-size: 0.875rem;
|
|
17154
|
+
line-height: 1.25rem;
|
|
17155
|
+
}
|
|
17156
|
+
|
|
17157
|
+
.text-base {
|
|
17158
|
+
font-size: 1rem;
|
|
17159
|
+
line-height: 1.5rem;
|
|
17160
|
+
}
|
|
17161
|
+
|
|
17162
|
+
.text-lg {
|
|
17163
|
+
font-size: 1.125rem;
|
|
17164
|
+
line-height: 1.75rem;
|
|
17165
|
+
}
|
|
17166
|
+
|
|
17167
|
+
/* Border and radius */
|
|
17168
|
+
.border {
|
|
17169
|
+
border-width: 1px;
|
|
17170
|
+
}
|
|
17171
|
+
|
|
17172
|
+
.border-2 {
|
|
17173
|
+
border-width: 2px;
|
|
17174
|
+
}
|
|
17175
|
+
|
|
17176
|
+
.rounded {
|
|
17177
|
+
border-radius: 0.25rem;
|
|
17178
|
+
}
|
|
17179
|
+
|
|
17180
|
+
.rounded-lg {
|
|
17181
|
+
border-radius: 0.5rem;
|
|
17182
|
+
}
|
|
17183
|
+
|
|
17184
|
+
.rounded-xl {
|
|
17185
|
+
border-radius: 0.75rem;
|
|
17186
|
+
}
|
|
17187
|
+
|
|
17188
|
+
.rounded-full {
|
|
17189
|
+
border-radius: 9999px;
|
|
17190
|
+
}
|
|
17191
|
+
|
|
17192
|
+
/* Focus states */
|
|
17193
|
+
.focus\\:outline-none:focus {
|
|
17194
|
+
outline: 2px solid transparent;
|
|
17195
|
+
outline-offset: 2px;
|
|
17196
|
+
}
|
|
17197
|
+
|
|
17198
|
+
.focus\\:ring-2:focus {
|
|
17199
|
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
|
|
17200
|
+
}
|
|
17201
|
+
|
|
17202
|
+
/* Overflow */
|
|
17203
|
+
.overflow-hidden {
|
|
17204
|
+
overflow: hidden;
|
|
17205
|
+
}
|
|
17206
|
+
|
|
17207
|
+
/* Transform */
|
|
17208
|
+
.transform {
|
|
17209
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
17210
|
+
}
|
|
17211
|
+
|
|
17212
|
+
/* Cursor */
|
|
17213
|
+
.cursor-pointer {
|
|
17214
|
+
cursor: pointer;
|
|
17215
|
+
}
|
|
17216
|
+
|
|
17217
|
+
/* Popup Trigger positioning overrides for all contexts */
|
|
17218
|
+
.voxket-popup-trigger {
|
|
17219
|
+
position: fixed !important;
|
|
17220
|
+
z-index: 9999 !important;
|
|
17221
|
+
}
|
|
17222
|
+
|
|
17223
|
+
.voxket-popup-trigger[data-position="bottom-right"] {
|
|
17224
|
+
bottom: 1rem !important;
|
|
17225
|
+
right: 1rem !important;
|
|
17226
|
+
left: auto !important;
|
|
17227
|
+
top: auto !important;
|
|
17228
|
+
}
|
|
17229
|
+
|
|
17230
|
+
.voxket-popup-trigger[data-position="bottom-left"] {
|
|
17231
|
+
bottom: 1rem !important;
|
|
17232
|
+
left: 1rem !important;
|
|
17233
|
+
right: auto !important;
|
|
17234
|
+
top: auto !important;
|
|
17235
|
+
}
|
|
17236
|
+
|
|
17237
|
+
.voxket-popup-trigger[data-position="top-right"] {
|
|
17238
|
+
top: 1rem !important;
|
|
17239
|
+
right: 1rem !important;
|
|
17240
|
+
left: auto !important;
|
|
17241
|
+
bottom: auto !important;
|
|
17242
|
+
}
|
|
17243
|
+
|
|
17244
|
+
.voxket-popup-trigger[data-position="top-left"] {
|
|
17245
|
+
top: 1rem !important;
|
|
17246
|
+
left: 1rem !important;
|
|
17247
|
+
right: auto !important;
|
|
17248
|
+
bottom: auto !important;
|
|
17249
|
+
}
|
|
16768
17250
|
`, t = document.createElement("style");
|
|
16769
17251
|
t.type = "text/css", t.setAttribute("data-voxket-styles", "true"), t.textContent = e, document.head.appendChild(t), Xa = !0;
|
|
16770
17252
|
}
|
|
@@ -17930,7 +18412,36 @@ function $b({
|
|
|
17930
18412
|
se.button,
|
|
17931
18413
|
{
|
|
17932
18414
|
onClick: e,
|
|
17933
|
-
className: `fixed ${o[n]} z-
|
|
18415
|
+
className: `voxket-popup-trigger fixed ${o[n]} z-[9999] px-4 py-2 rounded-full shadow-lg ${i.popupTrigger} transition-all duration-200 hover:scale-105`,
|
|
18416
|
+
"data-position": n,
|
|
18417
|
+
style: {
|
|
18418
|
+
position: "fixed",
|
|
18419
|
+
zIndex: 9999,
|
|
18420
|
+
...n === "bottom-right" && {
|
|
18421
|
+
bottom: "1rem",
|
|
18422
|
+
right: "1rem",
|
|
18423
|
+
left: "auto",
|
|
18424
|
+
top: "auto"
|
|
18425
|
+
},
|
|
18426
|
+
...n === "bottom-left" && {
|
|
18427
|
+
bottom: "1rem",
|
|
18428
|
+
left: "1rem",
|
|
18429
|
+
right: "auto",
|
|
18430
|
+
top: "auto"
|
|
18431
|
+
},
|
|
18432
|
+
...n === "top-right" && {
|
|
18433
|
+
top: "1rem",
|
|
18434
|
+
right: "1rem",
|
|
18435
|
+
left: "auto",
|
|
18436
|
+
bottom: "auto"
|
|
18437
|
+
},
|
|
18438
|
+
...n === "top-left" && {
|
|
18439
|
+
top: "1rem",
|
|
18440
|
+
left: "1rem",
|
|
18441
|
+
right: "auto",
|
|
18442
|
+
bottom: "auto"
|
|
18443
|
+
}
|
|
18444
|
+
},
|
|
17934
18445
|
initial: { scale: 0, opacity: 0 },
|
|
17935
18446
|
animate: { scale: 1, opacity: 1 },
|
|
17936
18447
|
exit: { scale: 0, opacity: 0 },
|
|
@@ -18038,15 +18549,6 @@ function Ja({
|
|
|
18038
18549
|
className: `theme-${t} ${s.card}`,
|
|
18039
18550
|
style: { height: "100%", maxHeight: "100%" },
|
|
18040
18551
|
children: [
|
|
18041
|
-
i && /* @__PURE__ */ u(
|
|
18042
|
-
"button",
|
|
18043
|
-
{
|
|
18044
|
-
onClick: i,
|
|
18045
|
-
className: "absolute top-4 right-4 z-20 w-10 h-10 rounded-full bg-gray-900 bg-opacity-90 text-white flex items-center justify-center hover:bg-gray-800 transition-all duration-200 shadow-lg border border-gray-700 backdrop-blur-sm",
|
|
18046
|
-
title: "Enter Fullscreen",
|
|
18047
|
-
children: /* @__PURE__ */ u("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ u("path", { d: "M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7" }) })
|
|
18048
|
-
}
|
|
18049
|
-
),
|
|
18050
18552
|
/* @__PURE__ */ u("div", { className: s.cardTopGradient }),
|
|
18051
18553
|
/* @__PURE__ */ u("div", { className: s.cardPurpleBlur }),
|
|
18052
18554
|
/* @__PURE__ */ u("div", { className: s.cardPinkBlur }),
|