@cuekit-ai/react 1.2.2 → 1.3.0
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/{chunk-UD3LZUJ2.mjs → chunk-6TG2XY2P.mjs} +364 -24
- package/dist/cuekit.css +89 -536
- package/dist/index.d.mts +2 -95
- package/dist/index.d.ts +2 -95
- package/dist/index.js +760 -799
- package/dist/index.mjs +341 -742
- package/dist/{webrtc-service-UYILN4PB.mjs → webrtc-service-O4JWXTIF.mjs} +3 -1
- package/package.json +2 -9
package/dist/cuekit.css
CHANGED
|
@@ -1,330 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@layer theme {
|
|
5
|
-
:root, :host {
|
|
6
|
-
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
7
|
-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
8
|
-
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
|
-
"Courier New", monospace;
|
|
10
|
-
--color-black: #000;
|
|
11
|
-
--color-white: #fff;
|
|
12
|
-
--spacing: 0.25rem;
|
|
13
|
-
--text-4xl: 2.25rem;
|
|
14
|
-
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
15
|
-
--text-7xl: 4.5rem;
|
|
16
|
-
--text-7xl--line-height: 1;
|
|
17
|
-
--font-weight-bold: 700;
|
|
18
|
-
--radius-lg: 0.5rem;
|
|
19
|
-
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
20
|
-
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
21
|
-
--default-transition-duration: 150ms;
|
|
22
|
-
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
23
|
-
--default-font-family: var(--font-sans);
|
|
24
|
-
--default-mono-font-family: var(--font-mono);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
@layer base {
|
|
28
|
-
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
margin: 0;
|
|
31
|
-
padding: 0;
|
|
32
|
-
border: 0 solid;
|
|
33
|
-
}
|
|
34
|
-
html, :host {
|
|
35
|
-
line-height: 1.5;
|
|
36
|
-
-webkit-text-size-adjust: 100%;
|
|
37
|
-
tab-size: 4;
|
|
38
|
-
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
39
|
-
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
40
|
-
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
41
|
-
-webkit-tap-highlight-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
hr {
|
|
44
|
-
height: 0;
|
|
45
|
-
color: inherit;
|
|
46
|
-
border-top-width: 1px;
|
|
47
|
-
}
|
|
48
|
-
abbr:where([title]) {
|
|
49
|
-
-webkit-text-decoration: underline dotted;
|
|
50
|
-
text-decoration: underline dotted;
|
|
51
|
-
}
|
|
52
|
-
h1, h2, h3, h4, h5, h6 {
|
|
53
|
-
font-size: inherit;
|
|
54
|
-
font-weight: inherit;
|
|
55
|
-
}
|
|
56
|
-
a {
|
|
57
|
-
color: inherit;
|
|
58
|
-
-webkit-text-decoration: inherit;
|
|
59
|
-
text-decoration: inherit;
|
|
60
|
-
}
|
|
61
|
-
b, strong {
|
|
62
|
-
font-weight: bolder;
|
|
63
|
-
}
|
|
64
|
-
code, kbd, samp, pre {
|
|
65
|
-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
66
|
-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
67
|
-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
68
|
-
font-size: 1em;
|
|
69
|
-
}
|
|
70
|
-
small {
|
|
71
|
-
font-size: 80%;
|
|
72
|
-
}
|
|
73
|
-
sub, sup {
|
|
74
|
-
font-size: 75%;
|
|
75
|
-
line-height: 0;
|
|
76
|
-
position: relative;
|
|
77
|
-
vertical-align: baseline;
|
|
78
|
-
}
|
|
79
|
-
sub {
|
|
80
|
-
bottom: -0.25em;
|
|
81
|
-
}
|
|
82
|
-
sup {
|
|
83
|
-
top: -0.5em;
|
|
84
|
-
}
|
|
85
|
-
table {
|
|
86
|
-
text-indent: 0;
|
|
87
|
-
border-color: inherit;
|
|
88
|
-
border-collapse: collapse;
|
|
89
|
-
}
|
|
90
|
-
:-moz-focusring {
|
|
91
|
-
outline: auto;
|
|
92
|
-
}
|
|
93
|
-
progress {
|
|
94
|
-
vertical-align: baseline;
|
|
95
|
-
}
|
|
96
|
-
summary {
|
|
97
|
-
display: list-item;
|
|
98
|
-
}
|
|
99
|
-
ol, ul, menu {
|
|
100
|
-
list-style: none;
|
|
101
|
-
}
|
|
102
|
-
img, svg, video, canvas, audio, iframe, embed, object {
|
|
103
|
-
display: block;
|
|
104
|
-
vertical-align: middle;
|
|
105
|
-
}
|
|
106
|
-
img, video {
|
|
107
|
-
max-width: 100%;
|
|
108
|
-
height: auto;
|
|
109
|
-
}
|
|
110
|
-
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
111
|
-
font: inherit;
|
|
112
|
-
font-feature-settings: inherit;
|
|
113
|
-
font-variation-settings: inherit;
|
|
114
|
-
letter-spacing: inherit;
|
|
115
|
-
color: inherit;
|
|
116
|
-
border-radius: 0;
|
|
117
|
-
background-color: transparent;
|
|
118
|
-
opacity: 1;
|
|
119
|
-
}
|
|
120
|
-
:where(select:is([multiple], [size])) optgroup {
|
|
121
|
-
font-weight: bolder;
|
|
122
|
-
}
|
|
123
|
-
:where(select:is([multiple], [size])) optgroup option {
|
|
124
|
-
padding-inline-start: 20px;
|
|
125
|
-
}
|
|
126
|
-
::file-selector-button {
|
|
127
|
-
margin-inline-end: 4px;
|
|
128
|
-
}
|
|
129
|
-
::placeholder {
|
|
130
|
-
opacity: 1;
|
|
131
|
-
}
|
|
132
|
-
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
133
|
-
::placeholder {
|
|
134
|
-
color: currentcolor;
|
|
135
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
136
|
-
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
textarea {
|
|
141
|
-
resize: vertical;
|
|
142
|
-
}
|
|
143
|
-
::-webkit-search-decoration {
|
|
144
|
-
-webkit-appearance: none;
|
|
145
|
-
}
|
|
146
|
-
::-webkit-date-and-time-value {
|
|
147
|
-
min-height: 1lh;
|
|
148
|
-
text-align: inherit;
|
|
149
|
-
}
|
|
150
|
-
::-webkit-datetime-edit {
|
|
151
|
-
display: inline-flex;
|
|
152
|
-
}
|
|
153
|
-
::-webkit-datetime-edit-fields-wrapper {
|
|
154
|
-
padding: 0;
|
|
155
|
-
}
|
|
156
|
-
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
157
|
-
padding-block: 0;
|
|
158
|
-
}
|
|
159
|
-
::-webkit-calendar-picker-indicator {
|
|
160
|
-
line-height: 1;
|
|
161
|
-
}
|
|
162
|
-
:-moz-ui-invalid {
|
|
163
|
-
box-shadow: none;
|
|
164
|
-
}
|
|
165
|
-
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
166
|
-
appearance: button;
|
|
167
|
-
}
|
|
168
|
-
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
169
|
-
height: auto;
|
|
170
|
-
}
|
|
171
|
-
[hidden]:where(:not([hidden="until-found"])) {
|
|
172
|
-
display: none !important;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
@layer utilities {
|
|
176
|
-
.absolute {
|
|
177
|
-
position: absolute;
|
|
178
|
-
}
|
|
179
|
-
.fixed {
|
|
180
|
-
position: fixed;
|
|
181
|
-
}
|
|
182
|
-
.relative {
|
|
183
|
-
position: relative;
|
|
184
|
-
}
|
|
185
|
-
.z-10 {
|
|
186
|
-
z-index: 10;
|
|
187
|
-
}
|
|
188
|
-
.container {
|
|
189
|
-
width: 100%;
|
|
190
|
-
@media (width >= 40rem) {
|
|
191
|
-
max-width: 40rem;
|
|
192
|
-
}
|
|
193
|
-
@media (width >= 48rem) {
|
|
194
|
-
max-width: 48rem;
|
|
195
|
-
}
|
|
196
|
-
@media (width >= 64rem) {
|
|
197
|
-
max-width: 64rem;
|
|
198
|
-
}
|
|
199
|
-
@media (width >= 80rem) {
|
|
200
|
-
max-width: 80rem;
|
|
201
|
-
}
|
|
202
|
-
@media (width >= 96rem) {
|
|
203
|
-
max-width: 96rem;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
.flex {
|
|
207
|
-
display: flex;
|
|
208
|
-
}
|
|
209
|
-
.hidden {
|
|
210
|
-
display: none;
|
|
211
|
-
}
|
|
212
|
-
.inline-block {
|
|
213
|
-
display: inline-block;
|
|
214
|
-
}
|
|
215
|
-
.min-h-4 {
|
|
216
|
-
min-height: calc(var(--spacing) * 4);
|
|
217
|
-
}
|
|
218
|
-
.w-4 {
|
|
219
|
-
width: calc(var(--spacing) * 4);
|
|
220
|
-
}
|
|
221
|
-
.origin-center {
|
|
222
|
-
transform-origin: center;
|
|
223
|
-
}
|
|
224
|
-
.transform {
|
|
225
|
-
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
226
|
-
}
|
|
227
|
-
.items-center {
|
|
228
|
-
align-items: center;
|
|
229
|
-
}
|
|
230
|
-
.justify-center {
|
|
231
|
-
justify-content: center;
|
|
232
|
-
}
|
|
233
|
-
.gap-1 {
|
|
234
|
-
gap: calc(var(--spacing) * 1);
|
|
235
|
-
}
|
|
236
|
-
.rounded-full {
|
|
237
|
-
border-radius: calc(infinity * 1px);
|
|
238
|
-
}
|
|
239
|
-
.rounded-lg {
|
|
240
|
-
border-radius: var(--radius-lg);
|
|
241
|
-
}
|
|
242
|
-
.border {
|
|
243
|
-
border-style: var(--tw-border-style);
|
|
244
|
-
border-width: 1px;
|
|
245
|
-
}
|
|
246
|
-
.px-2 {
|
|
247
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
248
|
-
}
|
|
249
|
-
.pt-2 {
|
|
250
|
-
padding-top: calc(var(--spacing) * 2);
|
|
251
|
-
}
|
|
252
|
-
.pb-3 {
|
|
253
|
-
padding-bottom: calc(var(--spacing) * 3);
|
|
254
|
-
}
|
|
255
|
-
.text-center {
|
|
256
|
-
text-align: center;
|
|
257
|
-
}
|
|
258
|
-
.text-left {
|
|
259
|
-
text-align: left;
|
|
260
|
-
}
|
|
261
|
-
.text-4xl {
|
|
262
|
-
font-size: var(--text-4xl);
|
|
263
|
-
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
264
|
-
}
|
|
265
|
-
.font-bold {
|
|
266
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
267
|
-
font-weight: var(--font-weight-bold);
|
|
268
|
-
}
|
|
269
|
-
.whitespace-nowrap {
|
|
270
|
-
white-space: nowrap;
|
|
271
|
-
}
|
|
272
|
-
.text-black {
|
|
273
|
-
color: var(--color-black);
|
|
274
|
-
}
|
|
275
|
-
.italic {
|
|
276
|
-
font-style: italic;
|
|
277
|
-
}
|
|
278
|
-
.shadow {
|
|
279
|
-
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
280
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
281
|
-
}
|
|
282
|
-
.outline {
|
|
283
|
-
outline-style: var(--tw-outline-style);
|
|
284
|
-
outline-width: 1px;
|
|
285
|
-
}
|
|
286
|
-
.filter {
|
|
287
|
-
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
288
|
-
}
|
|
289
|
-
.transition {
|
|
290
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
|
|
291
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
292
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
293
|
-
}
|
|
294
|
-
.transition-colors {
|
|
295
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
296
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
297
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
298
|
-
}
|
|
299
|
-
.duration-250 {
|
|
300
|
-
--tw-duration: 250ms;
|
|
301
|
-
transition-duration: 250ms;
|
|
302
|
-
}
|
|
303
|
-
.ease-in-out {
|
|
304
|
-
--tw-ease: var(--ease-in-out);
|
|
305
|
-
transition-timing-function: var(--ease-in-out);
|
|
306
|
-
}
|
|
307
|
-
.ease-linear {
|
|
308
|
-
--tw-ease: linear;
|
|
309
|
-
transition-timing-function: linear;
|
|
310
|
-
}
|
|
311
|
-
.ease-out {
|
|
312
|
-
--tw-ease: var(--ease-out);
|
|
313
|
-
transition-timing-function: var(--ease-out);
|
|
314
|
-
}
|
|
315
|
-
.md\:text-7xl {
|
|
316
|
-
@media (width >= 48rem) {
|
|
317
|
-
font-size: var(--text-7xl);
|
|
318
|
-
line-height: var(--tw-leading, var(--text-7xl--line-height));
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
.dark\:text-white {
|
|
322
|
-
@media (prefers-color-scheme: dark) {
|
|
323
|
-
color: var(--color-white);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
1
|
+
/* CueKit Voice Chat Popup Theme - Scoped to popup only */
|
|
2
|
+
|
|
3
|
+
/* Global CSS Variables for CueKit */
|
|
327
4
|
:root {
|
|
5
|
+
/* Light theme (default) */
|
|
328
6
|
--voice-bg: 0 0% 100%;
|
|
329
7
|
--voice-surface: 0 0% 100%;
|
|
330
8
|
--voice-border: 214.3 31.8% 91.4%;
|
|
@@ -338,11 +16,17 @@
|
|
|
338
16
|
--voice-ai-text: 222.2 84% 4.9%;
|
|
339
17
|
--indicator-bg: 200 98% 39%;
|
|
340
18
|
--voice-placeholder: 215.4 16.3% 46.9%;
|
|
19
|
+
|
|
20
|
+
/* Gradients Light */
|
|
341
21
|
--gradient-primary: linear-gradient(135deg, hsl(200 98% 39%), hsl(200 98% 50%));
|
|
342
22
|
--gradient-surface: linear-gradient(180deg, hsl(0 0% 100%), hsl(210 40% 98%));
|
|
23
|
+
|
|
24
|
+
/* Shadows Light */
|
|
343
25
|
--shadow-soft: 0 4px 20px -2px hsl(200 98% 39% / 0.1);
|
|
344
26
|
--shadow-card: 0 10px 40px -10px hsl(0 0% 0% / 0.05);
|
|
345
27
|
}
|
|
28
|
+
|
|
29
|
+
/* Dark theme variables */
|
|
346
30
|
@media (prefers-color-scheme: dark) {
|
|
347
31
|
:root {
|
|
348
32
|
--voice-bg: 211 32% 11%;
|
|
@@ -358,13 +42,19 @@
|
|
|
358
42
|
--voice-ai-text: 0 0% 100%;
|
|
359
43
|
--indicator-bg: 200.12 80.39% 60%;
|
|
360
44
|
--voice-placeholder: 215 20.2% 65.1%;
|
|
45
|
+
|
|
46
|
+
/* Gradients Dark */
|
|
361
47
|
--gradient-primary: linear-gradient(135deg, hsl(200 98% 60%), hsl(200 98% 70%));
|
|
362
48
|
--gradient-surface: linear-gradient(180deg, hsl(217.2 32.6% 17.5%), hsl(211 32% 11%));
|
|
49
|
+
|
|
50
|
+
/* Shadows Dark */
|
|
363
51
|
--shadow-soft: 0 4px 20px -2px hsl(200 98% 60% / 0.2);
|
|
364
52
|
--shadow-card: 0 10px 40px -10px hsl(0 0% 0% / 0.3);
|
|
365
53
|
}
|
|
366
54
|
}
|
|
55
|
+
|
|
367
56
|
.cuekit-voice-popup.cuekit-dark {
|
|
57
|
+
/* Dark theme */
|
|
368
58
|
--voice-bg: 211 32% 11%;
|
|
369
59
|
--voice-surface: 217.2 32.6% 17.5%;
|
|
370
60
|
--voice-border: 217.2 32.6% 17.5%;
|
|
@@ -378,11 +68,17 @@
|
|
|
378
68
|
--voice-ai-text: 0 0% 100%;
|
|
379
69
|
--indicator-bg: 200.12 80.39% 60%;
|
|
380
70
|
--voice-placeholder: 215 20.2% 65.1%;
|
|
71
|
+
|
|
72
|
+
/* Gradients Dark */
|
|
381
73
|
--gradient-primary: linear-gradient(135deg, hsl(200 98% 60%), hsl(200 98% 70%));
|
|
382
74
|
--gradient-surface: linear-gradient(180deg, hsl(217.2 32.6% 17.5%), hsl(211 32% 11%));
|
|
75
|
+
|
|
76
|
+
/* Shadows Dark */
|
|
383
77
|
--shadow-soft: 0 4px 20px -2px hsl(200 98% 60% / 0.2);
|
|
384
78
|
--shadow-card: 0 10px 40px -10px hsl(0 0% 0% / 0.3);
|
|
385
79
|
}
|
|
80
|
+
|
|
81
|
+
/* Animations */
|
|
386
82
|
@keyframes slideUp {
|
|
387
83
|
0% {
|
|
388
84
|
transform: translateY(100%);
|
|
@@ -391,6 +87,7 @@
|
|
|
391
87
|
transform: translateY(0);
|
|
392
88
|
}
|
|
393
89
|
}
|
|
90
|
+
|
|
394
91
|
@keyframes slideInUp {
|
|
395
92
|
0% {
|
|
396
93
|
transform: translateY(100%);
|
|
@@ -399,6 +96,7 @@
|
|
|
399
96
|
transform: translateY(0);
|
|
400
97
|
}
|
|
401
98
|
}
|
|
99
|
+
|
|
402
100
|
@keyframes pulse {
|
|
403
101
|
0%,
|
|
404
102
|
100% {
|
|
@@ -408,6 +106,7 @@
|
|
|
408
106
|
opacity: 0.5;
|
|
409
107
|
}
|
|
410
108
|
}
|
|
109
|
+
|
|
411
110
|
@keyframes ping {
|
|
412
111
|
75%,
|
|
413
112
|
100% {
|
|
@@ -415,6 +114,7 @@
|
|
|
415
114
|
opacity: 0;
|
|
416
115
|
}
|
|
417
116
|
}
|
|
117
|
+
|
|
418
118
|
@keyframes bounce {
|
|
419
119
|
0%,
|
|
420
120
|
100% {
|
|
@@ -426,6 +126,7 @@
|
|
|
426
126
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
427
127
|
}
|
|
428
128
|
}
|
|
129
|
+
|
|
429
130
|
@keyframes spin {
|
|
430
131
|
from {
|
|
431
132
|
transform: rotate(0deg);
|
|
@@ -434,6 +135,7 @@
|
|
|
434
135
|
transform: rotate(360deg);
|
|
435
136
|
}
|
|
436
137
|
}
|
|
138
|
+
|
|
437
139
|
@keyframes equalize {
|
|
438
140
|
0% {
|
|
439
141
|
transform: scaleY(0.3);
|
|
@@ -454,15 +156,21 @@
|
|
|
454
156
|
transform: scaleY(0.7);
|
|
455
157
|
}
|
|
456
158
|
}
|
|
159
|
+
|
|
160
|
+
/* Placeholder styles */
|
|
457
161
|
input::placeholder {
|
|
458
162
|
color: hsl(var(--voice-placeholder));
|
|
459
163
|
}
|
|
164
|
+
|
|
165
|
+
/* Theme toggle animations */
|
|
460
166
|
.theme-toggle-enter {
|
|
461
167
|
animation: themeToggleEnter 0.3s ease-in-out;
|
|
462
168
|
}
|
|
169
|
+
|
|
463
170
|
.theme-toggle-exit {
|
|
464
171
|
animation: themeToggleExit 0.3s ease-in-out;
|
|
465
172
|
}
|
|
173
|
+
|
|
466
174
|
@keyframes themeToggleEnter {
|
|
467
175
|
0% {
|
|
468
176
|
transform: scale(0.8) rotate(-180deg);
|
|
@@ -473,6 +181,7 @@ input::placeholder {
|
|
|
473
181
|
opacity: 1;
|
|
474
182
|
}
|
|
475
183
|
}
|
|
184
|
+
|
|
476
185
|
@keyframes themeToggleExit {
|
|
477
186
|
0% {
|
|
478
187
|
transform: scale(1) rotate(0deg);
|
|
@@ -483,6 +192,8 @@ input::placeholder {
|
|
|
483
192
|
opacity: 0;
|
|
484
193
|
}
|
|
485
194
|
}
|
|
195
|
+
|
|
196
|
+
/* Message animations */
|
|
486
197
|
@keyframes bubbleIn {
|
|
487
198
|
0% {
|
|
488
199
|
opacity: 0;
|
|
@@ -493,6 +204,7 @@ input::placeholder {
|
|
|
493
204
|
transform: translateY(0);
|
|
494
205
|
}
|
|
495
206
|
}
|
|
207
|
+
|
|
496
208
|
@keyframes scaleIn {
|
|
497
209
|
0% {
|
|
498
210
|
transform: scale(0.95);
|
|
@@ -501,6 +213,8 @@ input::placeholder {
|
|
|
501
213
|
transform: scale(1);
|
|
502
214
|
}
|
|
503
215
|
}
|
|
216
|
+
|
|
217
|
+
/* FlipWords animations */
|
|
504
218
|
@keyframes flipWordEnter {
|
|
505
219
|
0% {
|
|
506
220
|
opacity: 0;
|
|
@@ -511,6 +225,7 @@ input::placeholder {
|
|
|
511
225
|
transform: translateY(0);
|
|
512
226
|
}
|
|
513
227
|
}
|
|
228
|
+
|
|
514
229
|
@keyframes flipWordExit {
|
|
515
230
|
0% {
|
|
516
231
|
opacity: 1;
|
|
@@ -524,6 +239,7 @@ input::placeholder {
|
|
|
524
239
|
position: absolute;
|
|
525
240
|
}
|
|
526
241
|
}
|
|
242
|
+
|
|
527
243
|
@keyframes letterAppear {
|
|
528
244
|
0% {
|
|
529
245
|
opacity: 0;
|
|
@@ -536,18 +252,23 @@ input::placeholder {
|
|
|
536
252
|
filter: blur(0px);
|
|
537
253
|
}
|
|
538
254
|
}
|
|
255
|
+
|
|
539
256
|
.animate-flip-word-enter {
|
|
540
257
|
animation: flipWordEnter 0.3s ease-out forwards;
|
|
541
258
|
}
|
|
259
|
+
|
|
542
260
|
.animate-flip-word-exit {
|
|
543
261
|
animation: flipWordExit 0.3s ease-out forwards;
|
|
544
262
|
}
|
|
263
|
+
|
|
545
264
|
.animate-letter-appear {
|
|
546
265
|
animation: letterAppear 0.2s ease-out forwards;
|
|
547
266
|
}
|
|
267
|
+
|
|
548
268
|
.animate-letter-appear-container {
|
|
549
269
|
animation: letterAppearContainer 0.3s ease-out forwards;
|
|
550
270
|
}
|
|
271
|
+
|
|
551
272
|
@keyframes letterAppearContainer {
|
|
552
273
|
0% {
|
|
553
274
|
opacity: 0;
|
|
@@ -558,6 +279,7 @@ input::placeholder {
|
|
|
558
279
|
filter: blur(0px);
|
|
559
280
|
}
|
|
560
281
|
}
|
|
282
|
+
|
|
561
283
|
@keyframes micStateChange {
|
|
562
284
|
0% {
|
|
563
285
|
opacity: 0;
|
|
@@ -570,18 +292,25 @@ input::placeholder {
|
|
|
570
292
|
filter: blur(0px);
|
|
571
293
|
}
|
|
572
294
|
}
|
|
295
|
+
|
|
296
|
+
/* LiveKit BarVisualizer Support Classes */
|
|
573
297
|
.bg-muted {
|
|
574
|
-
background-color: rgba(255, 255, 255, 0.85) !important;
|
|
298
|
+
background-color: rgba(255, 255, 255, 0.85) !important; /* White dots */
|
|
575
299
|
}
|
|
300
|
+
|
|
576
301
|
.bg-foreground {
|
|
577
|
-
background-color: rgba(255, 255, 255, 1) !important;
|
|
302
|
+
background-color: rgba(255, 255, 255, 1) !important; /* Bright white for highlighted */
|
|
578
303
|
}
|
|
304
|
+
|
|
579
305
|
.data-\[lk-highlighted\=true\]\:bg-foreground[data-lk-highlighted='true'] {
|
|
580
306
|
background-color: rgba(255, 255, 255, 1) !important;
|
|
581
307
|
}
|
|
308
|
+
|
|
582
309
|
.data-\[lk-muted\=true\]\:bg-muted[data-lk-muted='true'] {
|
|
583
310
|
background-color: rgba(255, 255, 255, 0.85) !important;
|
|
584
311
|
}
|
|
312
|
+
|
|
313
|
+
/* Voice Intensity Visualizer - Scale with mic button */
|
|
585
314
|
.voice-intensity-visualizer {
|
|
586
315
|
position: absolute;
|
|
587
316
|
inset: 0;
|
|
@@ -590,228 +319,52 @@ input::placeholder {
|
|
|
590
319
|
justify-content: center;
|
|
591
320
|
pointer-events: none;
|
|
592
321
|
}
|
|
322
|
+
|
|
323
|
+
/* Make bars scale with container size */
|
|
593
324
|
.voice-intensity-visualizer .lk-audio-bar-visualizer {
|
|
594
325
|
width: 100% !important;
|
|
595
326
|
height: 100% !important;
|
|
596
|
-
gap: 2px !important;
|
|
327
|
+
gap: 2px !important; /* Smaller gap for 4 dots */
|
|
597
328
|
}
|
|
329
|
+
|
|
330
|
+
/* Individual bar styling - Rectangular bars with rounded ends */
|
|
598
331
|
.voice-intensity-visualizer .lk-audio-bar {
|
|
599
332
|
background-color: rgba(255, 255, 255, 0.85) !important;
|
|
600
|
-
border-radius: 3px !important;
|
|
601
|
-
min-width: 6px !important;
|
|
602
|
-
min-height: 6px !important;
|
|
603
|
-
transition: height 0.1s ease-out !important;
|
|
333
|
+
border-radius: 3px !important; /* Rounded ends, not full circles */
|
|
334
|
+
min-width: 6px !important; /* Fixed width */
|
|
335
|
+
min-height: 6px !important; /* Minimum height */
|
|
336
|
+
transition: height 0.1s ease-out !important; /* Smooth height animation */
|
|
604
337
|
}
|
|
338
|
+
|
|
339
|
+
/* Ensure proper spacing for 4 dots */
|
|
605
340
|
.voice-intensity-visualizer .lk-audio-bar-visualizer {
|
|
606
341
|
width: 100% !important;
|
|
607
342
|
height: 100% !important;
|
|
608
|
-
gap: 4px !important;
|
|
343
|
+
gap: 4px !important; /* Larger gap for bigger dots */
|
|
609
344
|
justify-content: center !important;
|
|
610
345
|
align-items: center !important;
|
|
611
346
|
}
|
|
347
|
+
|
|
348
|
+
/* Smooth transitions for voice bars */
|
|
612
349
|
.voice-intensity-visualizer > div {
|
|
613
350
|
will-change: height, opacity, transform;
|
|
614
351
|
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
inherits: false;
|
|
634
|
-
}
|
|
635
|
-
@property --tw-border-style {
|
|
636
|
-
syntax: "*";
|
|
637
|
-
inherits: false;
|
|
638
|
-
initial-value: solid;
|
|
639
|
-
}
|
|
640
|
-
@property --tw-font-weight {
|
|
641
|
-
syntax: "*";
|
|
642
|
-
inherits: false;
|
|
643
|
-
}
|
|
644
|
-
@property --tw-shadow {
|
|
645
|
-
syntax: "*";
|
|
646
|
-
inherits: false;
|
|
647
|
-
initial-value: 0 0 #0000;
|
|
648
|
-
}
|
|
649
|
-
@property --tw-shadow-color {
|
|
650
|
-
syntax: "*";
|
|
651
|
-
inherits: false;
|
|
652
|
-
}
|
|
653
|
-
@property --tw-shadow-alpha {
|
|
654
|
-
syntax: "<percentage>";
|
|
655
|
-
inherits: false;
|
|
656
|
-
initial-value: 100%;
|
|
657
|
-
}
|
|
658
|
-
@property --tw-inset-shadow {
|
|
659
|
-
syntax: "*";
|
|
660
|
-
inherits: false;
|
|
661
|
-
initial-value: 0 0 #0000;
|
|
662
|
-
}
|
|
663
|
-
@property --tw-inset-shadow-color {
|
|
664
|
-
syntax: "*";
|
|
665
|
-
inherits: false;
|
|
666
|
-
}
|
|
667
|
-
@property --tw-inset-shadow-alpha {
|
|
668
|
-
syntax: "<percentage>";
|
|
669
|
-
inherits: false;
|
|
670
|
-
initial-value: 100%;
|
|
671
|
-
}
|
|
672
|
-
@property --tw-ring-color {
|
|
673
|
-
syntax: "*";
|
|
674
|
-
inherits: false;
|
|
675
|
-
}
|
|
676
|
-
@property --tw-ring-shadow {
|
|
677
|
-
syntax: "*";
|
|
678
|
-
inherits: false;
|
|
679
|
-
initial-value: 0 0 #0000;
|
|
680
|
-
}
|
|
681
|
-
@property --tw-inset-ring-color {
|
|
682
|
-
syntax: "*";
|
|
683
|
-
inherits: false;
|
|
684
|
-
}
|
|
685
|
-
@property --tw-inset-ring-shadow {
|
|
686
|
-
syntax: "*";
|
|
687
|
-
inherits: false;
|
|
688
|
-
initial-value: 0 0 #0000;
|
|
689
|
-
}
|
|
690
|
-
@property --tw-ring-inset {
|
|
691
|
-
syntax: "*";
|
|
692
|
-
inherits: false;
|
|
693
|
-
}
|
|
694
|
-
@property --tw-ring-offset-width {
|
|
695
|
-
syntax: "<length>";
|
|
696
|
-
inherits: false;
|
|
697
|
-
initial-value: 0px;
|
|
698
|
-
}
|
|
699
|
-
@property --tw-ring-offset-color {
|
|
700
|
-
syntax: "*";
|
|
701
|
-
inherits: false;
|
|
702
|
-
initial-value: #fff;
|
|
703
|
-
}
|
|
704
|
-
@property --tw-ring-offset-shadow {
|
|
705
|
-
syntax: "*";
|
|
706
|
-
inherits: false;
|
|
707
|
-
initial-value: 0 0 #0000;
|
|
708
|
-
}
|
|
709
|
-
@property --tw-outline-style {
|
|
710
|
-
syntax: "*";
|
|
711
|
-
inherits: false;
|
|
712
|
-
initial-value: solid;
|
|
713
|
-
}
|
|
714
|
-
@property --tw-blur {
|
|
715
|
-
syntax: "*";
|
|
716
|
-
inherits: false;
|
|
717
|
-
}
|
|
718
|
-
@property --tw-brightness {
|
|
719
|
-
syntax: "*";
|
|
720
|
-
inherits: false;
|
|
721
|
-
}
|
|
722
|
-
@property --tw-contrast {
|
|
723
|
-
syntax: "*";
|
|
724
|
-
inherits: false;
|
|
725
|
-
}
|
|
726
|
-
@property --tw-grayscale {
|
|
727
|
-
syntax: "*";
|
|
728
|
-
inherits: false;
|
|
729
|
-
}
|
|
730
|
-
@property --tw-hue-rotate {
|
|
731
|
-
syntax: "*";
|
|
732
|
-
inherits: false;
|
|
733
|
-
}
|
|
734
|
-
@property --tw-invert {
|
|
735
|
-
syntax: "*";
|
|
736
|
-
inherits: false;
|
|
737
|
-
}
|
|
738
|
-
@property --tw-opacity {
|
|
739
|
-
syntax: "*";
|
|
740
|
-
inherits: false;
|
|
741
|
-
}
|
|
742
|
-
@property --tw-saturate {
|
|
743
|
-
syntax: "*";
|
|
744
|
-
inherits: false;
|
|
745
|
-
}
|
|
746
|
-
@property --tw-sepia {
|
|
747
|
-
syntax: "*";
|
|
748
|
-
inherits: false;
|
|
749
|
-
}
|
|
750
|
-
@property --tw-drop-shadow {
|
|
751
|
-
syntax: "*";
|
|
752
|
-
inherits: false;
|
|
753
|
-
}
|
|
754
|
-
@property --tw-drop-shadow-color {
|
|
755
|
-
syntax: "*";
|
|
756
|
-
inherits: false;
|
|
757
|
-
}
|
|
758
|
-
@property --tw-drop-shadow-alpha {
|
|
759
|
-
syntax: "<percentage>";
|
|
760
|
-
inherits: false;
|
|
761
|
-
initial-value: 100%;
|
|
762
|
-
}
|
|
763
|
-
@property --tw-drop-shadow-size {
|
|
764
|
-
syntax: "*";
|
|
765
|
-
inherits: false;
|
|
766
|
-
}
|
|
767
|
-
@property --tw-duration {
|
|
768
|
-
syntax: "*";
|
|
769
|
-
inherits: false;
|
|
770
|
-
}
|
|
771
|
-
@property --tw-ease {
|
|
772
|
-
syntax: "*";
|
|
773
|
-
inherits: false;
|
|
774
|
-
}
|
|
775
|
-
@layer properties {
|
|
776
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
777
|
-
*, ::before, ::after, ::backdrop {
|
|
778
|
-
--tw-rotate-x: initial;
|
|
779
|
-
--tw-rotate-y: initial;
|
|
780
|
-
--tw-rotate-z: initial;
|
|
781
|
-
--tw-skew-x: initial;
|
|
782
|
-
--tw-skew-y: initial;
|
|
783
|
-
--tw-border-style: solid;
|
|
784
|
-
--tw-font-weight: initial;
|
|
785
|
-
--tw-shadow: 0 0 #0000;
|
|
786
|
-
--tw-shadow-color: initial;
|
|
787
|
-
--tw-shadow-alpha: 100%;
|
|
788
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
789
|
-
--tw-inset-shadow-color: initial;
|
|
790
|
-
--tw-inset-shadow-alpha: 100%;
|
|
791
|
-
--tw-ring-color: initial;
|
|
792
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
793
|
-
--tw-inset-ring-color: initial;
|
|
794
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
795
|
-
--tw-ring-inset: initial;
|
|
796
|
-
--tw-ring-offset-width: 0px;
|
|
797
|
-
--tw-ring-offset-color: #fff;
|
|
798
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
799
|
-
--tw-outline-style: solid;
|
|
800
|
-
--tw-blur: initial;
|
|
801
|
-
--tw-brightness: initial;
|
|
802
|
-
--tw-contrast: initial;
|
|
803
|
-
--tw-grayscale: initial;
|
|
804
|
-
--tw-hue-rotate: initial;
|
|
805
|
-
--tw-invert: initial;
|
|
806
|
-
--tw-opacity: initial;
|
|
807
|
-
--tw-saturate: initial;
|
|
808
|
-
--tw-sepia: initial;
|
|
809
|
-
--tw-drop-shadow: initial;
|
|
810
|
-
--tw-drop-shadow-color: initial;
|
|
811
|
-
--tw-drop-shadow-alpha: 100%;
|
|
812
|
-
--tw-drop-shadow-size: initial;
|
|
813
|
-
--tw-duration: initial;
|
|
814
|
-
--tw-ease: initial;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
352
|
+
|
|
353
|
+
.cuekit-voice-intensity-bar {
|
|
354
|
+
background-color: hsl(var(--voice-text-muted));
|
|
355
|
+
min-height: 1rem;
|
|
356
|
+
width: 1rem;
|
|
357
|
+
border-radius: 9999px;
|
|
358
|
+
transform-origin: center;
|
|
359
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
360
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
361
|
+
transition-duration: 250ms;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.cuekit-voice-intensity-bar[data-lk-highlighted='true'] {
|
|
365
|
+
background-color: hsl(var(--voice-text));
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.cuekit-voice-intensity-bar[data-lk-muted='true'] {
|
|
369
|
+
background-color: hsl(var(--voice-text-muted));
|
|
817
370
|
}
|