@voxket-ai/voxket-live 1.0.102 → 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 +341 -30
- package/dist/index.js +341 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16936,6 +16936,317 @@ div[class*="fixed"][class*="z-[9999]"] {
|
|
|
16936
16936
|
.shadow-2xl {
|
|
16937
16937
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
16938
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
|
+
}
|
|
16939
17250
|
`, t = document.createElement("style");
|
|
16940
17251
|
t.type = "text/css", t.setAttribute("data-voxket-styles", "true"), t.textContent = e, document.head.appendChild(t), Xa = !0;
|
|
16941
17252
|
}
|
|
@@ -18101,7 +18412,36 @@ function $b({
|
|
|
18101
18412
|
se.button,
|
|
18102
18413
|
{
|
|
18103
18414
|
onClick: e,
|
|
18104
|
-
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
|
+
},
|
|
18105
18445
|
initial: { scale: 0, opacity: 0 },
|
|
18106
18446
|
animate: { scale: 1, opacity: 1 },
|
|
18107
18447
|
exit: { scale: 0, opacity: 0 },
|