@kushagradhawan/kookie-ui 0.1.33 → 0.1.35
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/components.css +684 -205
- package/dist/cjs/components/_internal/base-button.d.ts.map +1 -1
- package/dist/cjs/components/_internal/base-button.js +1 -1
- package/dist/cjs/components/_internal/base-button.js.map +3 -3
- package/dist/cjs/components/chatbar.d.ts +205 -0
- package/dist/cjs/components/chatbar.d.ts.map +1 -0
- package/dist/cjs/components/chatbar.js +2 -0
- package/dist/cjs/components/chatbar.js.map +7 -0
- package/dist/cjs/components/icon-button.d.ts.map +1 -1
- package/dist/cjs/components/icon-button.js +2 -2
- package/dist/cjs/components/icon-button.js.map +3 -3
- package/dist/cjs/components/icons.d.ts +6 -1
- package/dist/cjs/components/icons.d.ts.map +1 -1
- package/dist/cjs/components/icons.js +1 -1
- package/dist/cjs/components/icons.js.map +3 -3
- package/dist/cjs/components/index.d.ts +3 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/components/index.js.map +3 -3
- package/dist/cjs/components/popover.d.ts +13 -1
- package/dist/cjs/components/popover.d.ts.map +1 -1
- package/dist/cjs/components/popover.js +1 -1
- package/dist/cjs/components/popover.js.map +3 -3
- package/dist/cjs/components/sheet.d.ts +82 -0
- package/dist/cjs/components/sheet.d.ts.map +1 -0
- package/dist/cjs/components/sheet.js +2 -0
- package/dist/cjs/components/sheet.js.map +7 -0
- package/dist/cjs/components/shell.d.ts +180 -0
- package/dist/cjs/components/shell.d.ts.map +1 -0
- package/dist/cjs/components/shell.js +2 -0
- package/dist/cjs/components/shell.js.map +7 -0
- package/dist/cjs/components/sidebar.d.ts +4 -33
- package/dist/cjs/components/sidebar.d.ts.map +1 -1
- package/dist/cjs/components/sidebar.js +1 -1
- package/dist/cjs/components/sidebar.js.map +3 -3
- package/dist/cjs/components/skeleton.d.ts.map +1 -1
- package/dist/cjs/components/skeleton.js +1 -1
- package/dist/cjs/components/skeleton.js.map +2 -2
- package/dist/cjs/helpers/inert.d.ts +1 -1
- package/dist/cjs/helpers/inert.d.ts.map +1 -1
- package/dist/cjs/helpers/inert.js +1 -1
- package/dist/cjs/helpers/inert.js.map +2 -2
- package/dist/esm/components/_internal/base-button.d.ts.map +1 -1
- package/dist/esm/components/_internal/base-button.js +1 -1
- package/dist/esm/components/_internal/base-button.js.map +3 -3
- package/dist/esm/components/chatbar.d.ts +205 -0
- package/dist/esm/components/chatbar.d.ts.map +1 -0
- package/dist/esm/components/chatbar.js +2 -0
- package/dist/esm/components/chatbar.js.map +7 -0
- package/dist/esm/components/icon-button.d.ts.map +1 -1
- package/dist/esm/components/icon-button.js +2 -2
- package/dist/esm/components/icon-button.js.map +3 -3
- package/dist/esm/components/icons.d.ts +6 -1
- package/dist/esm/components/icons.d.ts.map +1 -1
- package/dist/esm/components/icons.js +1 -1
- package/dist/esm/components/icons.js.map +3 -3
- package/dist/esm/components/index.d.ts +3 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +3 -3
- package/dist/esm/components/popover.d.ts +13 -1
- package/dist/esm/components/popover.d.ts.map +1 -1
- package/dist/esm/components/popover.js +1 -1
- package/dist/esm/components/popover.js.map +3 -3
- package/dist/esm/components/sheet.d.ts +82 -0
- package/dist/esm/components/sheet.d.ts.map +1 -0
- package/dist/esm/components/sheet.js +2 -0
- package/dist/esm/components/sheet.js.map +7 -0
- package/dist/esm/components/shell.d.ts +180 -0
- package/dist/esm/components/shell.d.ts.map +1 -0
- package/dist/esm/components/shell.js +2 -0
- package/dist/esm/components/shell.js.map +7 -0
- package/dist/esm/components/sidebar.d.ts +4 -33
- package/dist/esm/components/sidebar.d.ts.map +1 -1
- package/dist/esm/components/sidebar.js +1 -1
- package/dist/esm/components/sidebar.js.map +3 -3
- package/dist/esm/components/skeleton.d.ts.map +1 -1
- package/dist/esm/components/skeleton.js.map +2 -2
- package/dist/esm/helpers/inert.d.ts +1 -1
- package/dist/esm/helpers/inert.d.ts.map +1 -1
- package/dist/esm/helpers/inert.js +1 -1
- package/dist/esm/helpers/inert.js.map +2 -2
- package/package.json +2 -1
- package/src/components/_internal/base-button.tsx +8 -0
- package/src/components/_internal/base-card.css +4 -4
- package/src/components/_internal/base-dialog.css +3 -41
- package/src/components/_internal/base-menu.css +2 -2
- package/src/components/_internal/base-sidebar-menu.css +3 -3
- package/src/components/accordion.css +2 -2
- package/src/components/animations.css +65 -81
- package/src/components/chatbar.css +214 -0
- package/src/components/chatbar.tsx +1195 -0
- package/src/components/icon-button.tsx +11 -0
- package/src/components/icons.tsx +97 -2
- package/src/components/image.css +2 -2
- package/src/components/index.css +3 -0
- package/src/components/index.tsx +3 -0
- package/src/components/popover.css +45 -0
- package/src/components/popover.tsx +180 -2
- package/src/components/scroll-area.css +3 -3
- package/src/components/segmented-control.css +3 -3
- package/src/components/sheet.css +90 -0
- package/src/components/sheet.tsx +247 -0
- package/src/components/shell.css +137 -0
- package/src/components/shell.tsx +1032 -0
- package/src/components/sidebar.css +55 -268
- package/src/components/sidebar.tsx +40 -262
- package/src/components/skeleton.tsx +1 -2
- package/src/components/text-area.css +1 -0
- package/src/components/tooltip.css +2 -2
- package/src/helpers/inert.ts +3 -3
- package/src/styles/tokens/constants.css +6 -3
- package/src/styles/tokens/index.css +1 -0
- package/src/styles/tokens/transition.css +91 -46
- package/styles.css +743 -241
- package/tokens/base.css +55 -33
- package/tokens.css +59 -36
package/components.css
CHANGED
|
@@ -207,65 +207,81 @@
|
|
|
207
207
|
@keyframes rt-slide-from-top {
|
|
208
208
|
from {
|
|
209
209
|
transform: translateY(4px) scale(0.97);
|
|
210
|
+
opacity: 0.5;
|
|
210
211
|
}
|
|
211
212
|
to {
|
|
212
213
|
transform: translateY(0) scale(1);
|
|
214
|
+
opacity: 1;
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
217
|
@keyframes rt-slide-to-top {
|
|
216
218
|
from {
|
|
217
219
|
transform: translateY(0) scale(1);
|
|
220
|
+
opacity: 1;
|
|
218
221
|
}
|
|
219
222
|
to {
|
|
220
223
|
transform: translateY(4px) scale(0.97);
|
|
224
|
+
opacity: 0.5;
|
|
221
225
|
}
|
|
222
226
|
}
|
|
223
227
|
@keyframes rt-slide-from-bottom {
|
|
224
228
|
from {
|
|
225
229
|
transform: translateY(-4px) scale(0.97);
|
|
230
|
+
opacity: 0.5;
|
|
226
231
|
}
|
|
227
232
|
to {
|
|
228
233
|
transform: translateY(0) scale(1);
|
|
234
|
+
opacity: 1;
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
@keyframes rt-slide-to-bottom {
|
|
232
238
|
from {
|
|
233
239
|
transform: translateY(0) scale(1);
|
|
240
|
+
opacity: 1;
|
|
234
241
|
}
|
|
235
242
|
to {
|
|
236
243
|
transform: translateY(-4px) scale(0.97);
|
|
244
|
+
opacity: 0.5;
|
|
237
245
|
}
|
|
238
246
|
}
|
|
239
247
|
@keyframes rt-slide-from-left {
|
|
240
248
|
from {
|
|
241
249
|
transform: translateX(4px) scale(0.97);
|
|
250
|
+
opacity: 0.5;
|
|
242
251
|
}
|
|
243
252
|
to {
|
|
244
253
|
transform: translateX(0) scale(1);
|
|
254
|
+
opacity: 1;
|
|
245
255
|
}
|
|
246
256
|
}
|
|
247
257
|
@keyframes rt-slide-to-left {
|
|
248
258
|
from {
|
|
249
259
|
transform: translateX(0) scale(1);
|
|
260
|
+
opacity: 1;
|
|
250
261
|
}
|
|
251
262
|
to {
|
|
252
263
|
transform: translateX(4px) scale(0.97);
|
|
264
|
+
opacity: 0.5;
|
|
253
265
|
}
|
|
254
266
|
}
|
|
255
267
|
@keyframes rt-slide-from-right {
|
|
256
268
|
from {
|
|
257
269
|
transform: translateX(-4px) scale(0.97);
|
|
270
|
+
opacity: 0.5;
|
|
258
271
|
}
|
|
259
272
|
to {
|
|
260
273
|
transform: translateX(0) scale(1);
|
|
274
|
+
opacity: 1;
|
|
261
275
|
}
|
|
262
276
|
}
|
|
263
277
|
@keyframes rt-slide-to-right {
|
|
264
278
|
from {
|
|
265
279
|
transform: translateX(0) scale(1);
|
|
280
|
+
opacity: 1;
|
|
266
281
|
}
|
|
267
282
|
to {
|
|
268
283
|
transform: translateX(-4px) scale(0.97);
|
|
284
|
+
opacity: 0.5;
|
|
269
285
|
}
|
|
270
286
|
}
|
|
271
287
|
@keyframes rt-tab-indicator-appear {
|
|
@@ -283,10 +299,10 @@
|
|
|
283
299
|
}
|
|
284
300
|
@media (prefers-reduced-motion: no-preference) {
|
|
285
301
|
.rt-PopperContent {
|
|
286
|
-
animation-timing-function: var(--
|
|
302
|
+
animation-timing-function: var(--motion-spring-snappy);
|
|
287
303
|
}
|
|
288
304
|
.rt-PopperContent:where([data-state='open']) {
|
|
289
|
-
animation-duration: var(--duration-
|
|
305
|
+
animation-duration: var(--motion-duration-small);
|
|
290
306
|
}
|
|
291
307
|
.rt-PopperContent:where([data-state='open']):where([data-side='top']) {
|
|
292
308
|
animation-name: rt-slide-from-top, rt-fade-in;
|
|
@@ -304,7 +320,7 @@
|
|
|
304
320
|
animation-name: rt-slide-from-bottom, rt-fade-in;
|
|
305
321
|
}
|
|
306
322
|
.rt-PopperContent:where([data-state='closed']) {
|
|
307
|
-
animation-duration: var(--duration-
|
|
323
|
+
animation-duration: var(--motion-duration-small);
|
|
308
324
|
}
|
|
309
325
|
.rt-PopperContent:where([data-state='closed']):where([data-side='top']) {
|
|
310
326
|
animation-name: rt-slide-to-top, rt-fade-out;
|
|
@@ -322,7 +338,99 @@
|
|
|
322
338
|
animation-name: rt-slide-to-bottom, rt-fade-out;
|
|
323
339
|
}
|
|
324
340
|
.rt-BaseTabListTrigger:where([data-state='active'], [data-active])::before {
|
|
325
|
-
animation: rt-tab-indicator-appear var(--duration-
|
|
341
|
+
animation: rt-tab-indicator-appear var(--motion-duration-small) var(--motion-spring-snappy);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
@keyframes rt-dialog-overlay-no-op {
|
|
345
|
+
from {
|
|
346
|
+
opacity: 1;
|
|
347
|
+
}
|
|
348
|
+
to {
|
|
349
|
+
opacity: 1;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
@keyframes rt-dialog-content-show {
|
|
353
|
+
from {
|
|
354
|
+
opacity: 0;
|
|
355
|
+
transform: translateY(5px) scale(0.97);
|
|
356
|
+
}
|
|
357
|
+
to {
|
|
358
|
+
opacity: 1;
|
|
359
|
+
transform: translateY(0px) scale(1);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
@keyframes rt-dialog-content-hide {
|
|
363
|
+
from {
|
|
364
|
+
opacity: 1;
|
|
365
|
+
transform: translateY(0px) scale(1);
|
|
366
|
+
}
|
|
367
|
+
to {
|
|
368
|
+
opacity: 0;
|
|
369
|
+
transform: translateY(5px) scale(0.99);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
@keyframes rt-sheet-open-from-start {
|
|
373
|
+
from {
|
|
374
|
+
transform: translate3d(calc(-1 * var(--sheet-slide-distance)), 0, 0);
|
|
375
|
+
}
|
|
376
|
+
to {
|
|
377
|
+
transform: translate3d(0, 0, 0);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
@keyframes rt-sheet-close-to-start {
|
|
381
|
+
from {
|
|
382
|
+
transform: translate3d(0, 0, 0);
|
|
383
|
+
}
|
|
384
|
+
to {
|
|
385
|
+
transform: translate3d(calc(-1 * var(--sheet-slide-distance)), 0, 0);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
@keyframes rt-sheet-open-from-end {
|
|
389
|
+
from {
|
|
390
|
+
transform: translate3d(var(--sheet-slide-distance), 0, 0);
|
|
391
|
+
}
|
|
392
|
+
to {
|
|
393
|
+
transform: translate3d(0, 0, 0);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
@keyframes rt-sheet-close-to-end {
|
|
397
|
+
from {
|
|
398
|
+
transform: translate3d(0, 0, 0);
|
|
399
|
+
}
|
|
400
|
+
to {
|
|
401
|
+
transform: translate3d(var(--sheet-slide-distance), 0, 0);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
@keyframes rt-sheet-open-from-top {
|
|
405
|
+
from {
|
|
406
|
+
transform: translate3d(0, calc(-1 * var(--sheet-slide-distance)), 0);
|
|
407
|
+
}
|
|
408
|
+
to {
|
|
409
|
+
transform: translate3d(0, 0, 0);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
@keyframes rt-sheet-close-to-top {
|
|
413
|
+
from {
|
|
414
|
+
transform: translate3d(0, 0, 0);
|
|
415
|
+
}
|
|
416
|
+
to {
|
|
417
|
+
transform: translate3d(0, calc(-1 * var(--sheet-slide-distance)), 0);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
@keyframes rt-sheet-open-from-bottom {
|
|
421
|
+
from {
|
|
422
|
+
transform: translate3d(0, var(--sheet-slide-distance), 0);
|
|
423
|
+
}
|
|
424
|
+
to {
|
|
425
|
+
transform: translate3d(0, 0, 0);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
@keyframes rt-sheet-close-to-bottom {
|
|
429
|
+
from {
|
|
430
|
+
transform: translate3d(0, 0, 0);
|
|
431
|
+
}
|
|
432
|
+
to {
|
|
433
|
+
transform: translate3d(0, var(--sheet-slide-distance), 0);
|
|
326
434
|
}
|
|
327
435
|
}
|
|
328
436
|
.rt-Box {
|
|
@@ -465,7 +573,7 @@
|
|
|
465
573
|
--scrollarea-scrollbar-vertical-margin-bottom: var(--space-1);
|
|
466
574
|
--scrollarea-scrollbar-vertical-margin-left: var(--space-1);
|
|
467
575
|
--scrollarea-scrollbar-vertical-margin-right: var(--space-1);
|
|
468
|
-
--segmented-control-transition-duration: var(--duration-
|
|
576
|
+
--segmented-control-transition-duration: var(--motion-duration-micro);
|
|
469
577
|
--spinner-animation-duration: 800ms;
|
|
470
578
|
--spinner-opacity: 0.65;
|
|
471
579
|
}
|
|
@@ -1360,10 +1468,10 @@
|
|
|
1360
1468
|
font-size: var(--font-size-4);
|
|
1361
1469
|
}
|
|
1362
1470
|
:where(.rt-AccordionContent[data-state="open"]) {
|
|
1363
|
-
animation: rt-slide-down var(--duration-
|
|
1471
|
+
animation: rt-slide-down var(--motion-duration-small) var(--motion-spring-snappy);
|
|
1364
1472
|
}
|
|
1365
1473
|
:where(.rt-AccordionContent[data-state="closed"]) {
|
|
1366
|
-
animation: rt-slide-up var(--duration-
|
|
1474
|
+
animation: rt-slide-up var(--motion-duration-micro) var(--motion-spring-snappy);
|
|
1367
1475
|
}
|
|
1368
1476
|
@keyframes rt-slide-down {
|
|
1369
1477
|
0% {
|
|
@@ -1710,36 +1818,8 @@
|
|
|
1710
1818
|
}
|
|
1711
1819
|
}
|
|
1712
1820
|
@media (prefers-reduced-motion: no-preference) {
|
|
1713
|
-
@keyframes rt-dialog-overlay-no-op {
|
|
1714
|
-
from {
|
|
1715
|
-
opacity: 1;
|
|
1716
|
-
}
|
|
1717
|
-
to {
|
|
1718
|
-
opacity: 1;
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
@keyframes rt-dialog-content-show {
|
|
1722
|
-
from {
|
|
1723
|
-
opacity: 0;
|
|
1724
|
-
transform: translateY(5px) scale(0.97);
|
|
1725
|
-
}
|
|
1726
|
-
to {
|
|
1727
|
-
opacity: 1;
|
|
1728
|
-
transform: translateY(0px) scale(1);
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
@keyframes rt-dialog-content-hide {
|
|
1732
|
-
from {
|
|
1733
|
-
opacity: 1;
|
|
1734
|
-
transform: translateY(0px) scale(1);
|
|
1735
|
-
}
|
|
1736
|
-
to {
|
|
1737
|
-
opacity: 0;
|
|
1738
|
-
transform: translateY(5px) scale(0.99);
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
1821
|
.rt-BaseDialogOverlay:where([data-state='closed']) {
|
|
1742
|
-
animation: rt-dialog-overlay-no-op var(--duration-
|
|
1822
|
+
animation: rt-dialog-overlay-no-op var(--motion-duration-small) var(--motion-spring-snappy);
|
|
1743
1823
|
}
|
|
1744
1824
|
.rt-BaseDialogOverlay:where([data-state='open'])::before {
|
|
1745
1825
|
animation: rt-fade-in var(--duration-5) var(--ease-spring-1);
|
|
@@ -1749,11 +1829,11 @@
|
|
|
1749
1829
|
animation: rt-fade-out var(--duration-4) var(--ease-spring-1);
|
|
1750
1830
|
}
|
|
1751
1831
|
.rt-BaseDialogContent:where([data-state='open']) {
|
|
1752
|
-
animation: rt-dialog-content-show var(--duration-
|
|
1832
|
+
animation: rt-dialog-content-show var(--motion-duration-medium) var(--motion-spring-snappy);
|
|
1753
1833
|
}
|
|
1754
1834
|
.rt-BaseDialogContent:where([data-state='closed']) {
|
|
1755
1835
|
opacity: 0;
|
|
1756
|
-
animation: rt-dialog-content-hide var(--duration-
|
|
1836
|
+
animation: rt-dialog-content-hide var(--motion-duration-small) var(--motion-spring-snappy);
|
|
1757
1837
|
}
|
|
1758
1838
|
}
|
|
1759
1839
|
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
|
|
@@ -2634,8 +2714,6 @@
|
|
|
2634
2714
|
--avatar-image-active-filter: brightness(0.9) saturate(1.1);
|
|
2635
2715
|
--base-button-solid-high-contrast-hover-filter: contrast(0.88) saturate(1.1) brightness(1.1);
|
|
2636
2716
|
--segmented-control-indicator-background-color: var(--color-background);
|
|
2637
|
-
--sidebar-icon-width-1: calc(var(--space-9) + var(--space-1));
|
|
2638
|
-
--sidebar-icon-width-2: calc(var(--space-9) + var(--space-3));
|
|
2639
2717
|
--slider-range-high-contrast-background-image: linear-gradient(var(--black-a8), var(--black-a8));
|
|
2640
2718
|
}
|
|
2641
2719
|
:is(.dark, .dark-theme),
|
|
@@ -5395,16 +5473,16 @@
|
|
|
5395
5473
|
}
|
|
5396
5474
|
.rt-BaseCard:where(.rt-variant-soft) {
|
|
5397
5475
|
--card-border-width: 0px;
|
|
5398
|
-
--card-background-color: var(--gray-
|
|
5476
|
+
--card-background-color: var(--gray-3);
|
|
5399
5477
|
}
|
|
5400
5478
|
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseCard:where(.rt-variant-soft) {
|
|
5401
|
-
--card-background-color: color-mix(in srgb, var(--gray-
|
|
5479
|
+
--card-background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
5402
5480
|
}
|
|
5403
5481
|
.rt-BaseCard:where(.rt-variant-soft):where([data-panel-background='solid'], [data-material='solid']) {
|
|
5404
|
-
--card-background-color: var(--gray-
|
|
5482
|
+
--card-background-color: var(--gray-3);
|
|
5405
5483
|
}
|
|
5406
5484
|
.rt-BaseCard:where(.rt-variant-soft):where([data-panel-background='translucent'], [data-material='translucent']) {
|
|
5407
|
-
--card-background-color: color-mix(in srgb, var(--gray-
|
|
5485
|
+
--card-background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
5408
5486
|
}
|
|
5409
5487
|
.rt-BaseCard:where(.rt-variant-soft)::before {
|
|
5410
5488
|
background-color: var(--card-background-color);
|
|
@@ -7463,10 +7541,10 @@
|
|
|
7463
7541
|
}
|
|
7464
7542
|
}
|
|
7465
7543
|
:where([data-panel-background='translucent']) :is(.rt-BaseMenuContent:where(.rt-variant-solid, .rt-variant-soft) :where(.rt-BaseMenuSubTrigger)) {
|
|
7466
|
-
transition: background var(--duration-
|
|
7544
|
+
transition: background var(--motion-duration-micro) var(--motion-ease-standard), color var(--motion-duration-small) var(--motion-ease-standard);
|
|
7467
7545
|
}
|
|
7468
7546
|
:where([data-panel-background='translucent']) :is(.rt-BaseMenuContent:where(.rt-variant-solid, .rt-variant-soft) :where(.rt-BaseMenuItem)) {
|
|
7469
|
-
transition: background var(--duration-
|
|
7547
|
+
transition: background var(--motion-duration-micro) var(--motion-ease-standard), color var(--motion-duration-small) var(--motion-ease-standard);
|
|
7470
7548
|
}
|
|
7471
7549
|
.rt-BaseMenuContent:where(.rt-variant-solid) :where(.rt-BaseMenuSubTrigger[data-state='open']) {
|
|
7472
7550
|
background-color: var(--gray-3);
|
|
@@ -9076,7 +9154,7 @@
|
|
|
9076
9154
|
}
|
|
9077
9155
|
.rt-Image:where(:any-link, button, label) {
|
|
9078
9156
|
cursor: pointer;
|
|
9079
|
-
transition: var(--transition-card), filter var(--duration-
|
|
9157
|
+
transition: var(--transition-card), filter var(--motion-duration-small) var(--motion-ease-standard);
|
|
9080
9158
|
}
|
|
9081
9159
|
@media (hover: hover) {
|
|
9082
9160
|
.rt-Image:where(:any-link, button, label):where(:hover) {
|
|
@@ -9093,7 +9171,7 @@
|
|
|
9093
9171
|
}
|
|
9094
9172
|
:where(:any-link, button, label) {
|
|
9095
9173
|
cursor: pointer;
|
|
9096
|
-
transition: var(--transition-card), filter var(--duration-
|
|
9174
|
+
transition: var(--transition-card), filter var(--motion-duration-small) var(--motion-ease-standard);
|
|
9097
9175
|
}
|
|
9098
9176
|
@media (hover: hover) {
|
|
9099
9177
|
:where(:any-link, button, label):where(:hover) {
|
|
@@ -10134,6 +10212,7 @@
|
|
|
10134
10212
|
--inset-padding-right: var(--popover-content-padding);
|
|
10135
10213
|
--inset-padding-bottom: var(--popover-content-padding);
|
|
10136
10214
|
--inset-padding-left: var(--popover-content-padding);
|
|
10215
|
+
--popover-toolbar-padding: var(--popover-content-padding);
|
|
10137
10216
|
padding: var(--popover-content-padding);
|
|
10138
10217
|
box-sizing: border-box;
|
|
10139
10218
|
transform-origin: var(--radix-popover-content-transform-origin);
|
|
@@ -10153,109 +10232,172 @@
|
|
|
10153
10232
|
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
10154
10233
|
backdrop-filter: var(--backdrop-filter-panel);
|
|
10155
10234
|
}
|
|
10235
|
+
.rt-PopoverContent:where([data-has-toolbar]) {
|
|
10236
|
+
padding-top: var(--popover-toolbar-offset, var(--popover-content-padding));
|
|
10237
|
+
}
|
|
10238
|
+
.rt-PopoverToolbar {
|
|
10239
|
+
position: absolute;
|
|
10240
|
+
top: 0;
|
|
10241
|
+
left: 0;
|
|
10242
|
+
right: 0;
|
|
10243
|
+
z-index: 1;
|
|
10244
|
+
display: grid;
|
|
10245
|
+
grid-template-columns: 1fr auto 1fr;
|
|
10246
|
+
align-items: center;
|
|
10247
|
+
column-gap: var(--space-1);
|
|
10248
|
+
padding: var(--popover-toolbar-padding);
|
|
10249
|
+
background-color: var(--color-panel);
|
|
10250
|
+
}
|
|
10251
|
+
.rt-PopoverToolbarSection {
|
|
10252
|
+
display: flex;
|
|
10253
|
+
align-items: center;
|
|
10254
|
+
gap: var(--space-2);
|
|
10255
|
+
}
|
|
10256
|
+
.rt-PopoverToolbarLeft {
|
|
10257
|
+
justify-self: start;
|
|
10258
|
+
}
|
|
10259
|
+
.rt-PopoverToolbarCenter {
|
|
10260
|
+
grid-column: 2;
|
|
10261
|
+
justify-self: center;
|
|
10262
|
+
min-width: 0;
|
|
10263
|
+
text-align: center;
|
|
10264
|
+
}
|
|
10265
|
+
.rt-PopoverToolbarRight {
|
|
10266
|
+
justify-self: end;
|
|
10267
|
+
}
|
|
10268
|
+
.rt-PopoverToolbarTitle {
|
|
10269
|
+
display: inline-block;
|
|
10270
|
+
white-space: nowrap;
|
|
10271
|
+
overflow: hidden;
|
|
10272
|
+
text-overflow: ellipsis;
|
|
10273
|
+
}
|
|
10156
10274
|
.rt-PopoverContent:where(.rt-r-size-1) {
|
|
10157
10275
|
--popover-content-padding: var(--space-5);
|
|
10276
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10158
10277
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10159
10278
|
}
|
|
10160
10279
|
.rt-PopoverContent:where(.rt-r-size-2) {
|
|
10161
10280
|
--popover-content-padding: var(--space-6);
|
|
10281
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10162
10282
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10163
10283
|
}
|
|
10164
10284
|
.rt-PopoverContent:where(.rt-r-size-3) {
|
|
10165
10285
|
--popover-content-padding: var(--space-7);
|
|
10286
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10166
10287
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10167
10288
|
}
|
|
10168
10289
|
.rt-PopoverContent:where(.rt-r-size-4) {
|
|
10169
10290
|
--popover-content-padding: var(--space-8);
|
|
10291
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10170
10292
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10171
10293
|
}
|
|
10172
10294
|
@media (min-width: 520px) {
|
|
10173
10295
|
.rt-PopoverContent:where(.xs\:rt-r-size-1) {
|
|
10174
10296
|
--popover-content-padding: var(--space-5);
|
|
10297
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10175
10298
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10176
10299
|
}
|
|
10177
10300
|
.rt-PopoverContent:where(.xs\:rt-r-size-2) {
|
|
10178
10301
|
--popover-content-padding: var(--space-6);
|
|
10302
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10179
10303
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10180
10304
|
}
|
|
10181
10305
|
.rt-PopoverContent:where(.xs\:rt-r-size-3) {
|
|
10182
10306
|
--popover-content-padding: var(--space-7);
|
|
10307
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10183
10308
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10184
10309
|
}
|
|
10185
10310
|
.rt-PopoverContent:where(.xs\:rt-r-size-4) {
|
|
10186
10311
|
--popover-content-padding: var(--space-8);
|
|
10312
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10187
10313
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10188
10314
|
}
|
|
10189
10315
|
}
|
|
10190
10316
|
@media (min-width: 768px) {
|
|
10191
10317
|
.rt-PopoverContent:where(.sm\:rt-r-size-1) {
|
|
10192
10318
|
--popover-content-padding: var(--space-5);
|
|
10319
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10193
10320
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10194
10321
|
}
|
|
10195
10322
|
.rt-PopoverContent:where(.sm\:rt-r-size-2) {
|
|
10196
10323
|
--popover-content-padding: var(--space-6);
|
|
10324
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10197
10325
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10198
10326
|
}
|
|
10199
10327
|
.rt-PopoverContent:where(.sm\:rt-r-size-3) {
|
|
10200
10328
|
--popover-content-padding: var(--space-7);
|
|
10329
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10201
10330
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10202
10331
|
}
|
|
10203
10332
|
.rt-PopoverContent:where(.sm\:rt-r-size-4) {
|
|
10204
10333
|
--popover-content-padding: var(--space-8);
|
|
10334
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10205
10335
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10206
10336
|
}
|
|
10207
10337
|
}
|
|
10208
10338
|
@media (min-width: 1024px) {
|
|
10209
10339
|
.rt-PopoverContent:where(.md\:rt-r-size-1) {
|
|
10210
10340
|
--popover-content-padding: var(--space-5);
|
|
10341
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10211
10342
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10212
10343
|
}
|
|
10213
10344
|
.rt-PopoverContent:where(.md\:rt-r-size-2) {
|
|
10214
10345
|
--popover-content-padding: var(--space-6);
|
|
10346
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10215
10347
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10216
10348
|
}
|
|
10217
10349
|
.rt-PopoverContent:where(.md\:rt-r-size-3) {
|
|
10218
10350
|
--popover-content-padding: var(--space-7);
|
|
10351
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10219
10352
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10220
10353
|
}
|
|
10221
10354
|
.rt-PopoverContent:where(.md\:rt-r-size-4) {
|
|
10222
10355
|
--popover-content-padding: var(--space-8);
|
|
10356
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10223
10357
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10224
10358
|
}
|
|
10225
10359
|
}
|
|
10226
10360
|
@media (min-width: 1280px) {
|
|
10227
10361
|
.rt-PopoverContent:where(.lg\:rt-r-size-1) {
|
|
10228
10362
|
--popover-content-padding: var(--space-5);
|
|
10363
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10229
10364
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10230
10365
|
}
|
|
10231
10366
|
.rt-PopoverContent:where(.lg\:rt-r-size-2) {
|
|
10232
10367
|
--popover-content-padding: var(--space-6);
|
|
10368
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10233
10369
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10234
10370
|
}
|
|
10235
10371
|
.rt-PopoverContent:where(.lg\:rt-r-size-3) {
|
|
10236
10372
|
--popover-content-padding: var(--space-7);
|
|
10373
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10237
10374
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10238
10375
|
}
|
|
10239
10376
|
.rt-PopoverContent:where(.lg\:rt-r-size-4) {
|
|
10240
10377
|
--popover-content-padding: var(--space-8);
|
|
10378
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10241
10379
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10242
10380
|
}
|
|
10243
10381
|
}
|
|
10244
10382
|
@media (min-width: 1640px) {
|
|
10245
10383
|
.rt-PopoverContent:where(.xl\:rt-r-size-1) {
|
|
10246
10384
|
--popover-content-padding: var(--space-5);
|
|
10385
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10247
10386
|
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-2)));
|
|
10248
10387
|
}
|
|
10249
10388
|
.rt-PopoverContent:where(.xl\:rt-r-size-2) {
|
|
10250
10389
|
--popover-content-padding: var(--space-6);
|
|
10390
|
+
--popover-toolbar-padding: var(--space-2);
|
|
10251
10391
|
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-3)));
|
|
10252
10392
|
}
|
|
10253
10393
|
.rt-PopoverContent:where(.xl\:rt-r-size-3) {
|
|
10254
10394
|
--popover-content-padding: var(--space-7);
|
|
10395
|
+
--popover-toolbar-padding: var(--space-3);
|
|
10255
10396
|
border-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-4)));
|
|
10256
10397
|
}
|
|
10257
10398
|
.rt-PopoverContent:where(.xl\:rt-r-size-4) {
|
|
10258
10399
|
--popover-content-padding: var(--space-8);
|
|
10400
|
+
--popover-toolbar-padding: var(--space-4);
|
|
10259
10401
|
border-radius: min(var(--radius-8), calc(var(--radius-4) + var(--space-5)));
|
|
10260
10402
|
}
|
|
10261
10403
|
}
|
|
@@ -11211,6 +11353,103 @@
|
|
|
11211
11353
|
.rt-RadioGroupItemInner {
|
|
11212
11354
|
min-width: 0;
|
|
11213
11355
|
}
|
|
11356
|
+
:where(.rt-SheetContent) {
|
|
11357
|
+
position: fixed !important;
|
|
11358
|
+
width: var(--width, 90vw) !important;
|
|
11359
|
+
max-width: var(--max-width, 100vw) !important;
|
|
11360
|
+
height: 100vh !important;
|
|
11361
|
+
max-height: 100vh !important;
|
|
11362
|
+
margin: 0 !important;
|
|
11363
|
+
border-radius: 0 !important;
|
|
11364
|
+
will-change: transform;
|
|
11365
|
+
}
|
|
11366
|
+
:where(.rt-SheetContent[data-side='start']) {
|
|
11367
|
+
top: 0 !important;
|
|
11368
|
+
bottom: 0 !important;
|
|
11369
|
+
left: 0 !important;
|
|
11370
|
+
right: auto !important;
|
|
11371
|
+
margin: 0 !important;
|
|
11372
|
+
border-start-start-radius: 0;
|
|
11373
|
+
border-end-start-radius: 0;
|
|
11374
|
+
}
|
|
11375
|
+
:where(.rt-SheetContent[data-side='end']) {
|
|
11376
|
+
top: 0 !important;
|
|
11377
|
+
bottom: 0 !important;
|
|
11378
|
+
right: 0 !important;
|
|
11379
|
+
left: auto !important;
|
|
11380
|
+
margin: 0 !important;
|
|
11381
|
+
border-start-end-radius: 0;
|
|
11382
|
+
border-end-end-radius: 0;
|
|
11383
|
+
}
|
|
11384
|
+
:where(.rt-SheetContent[data-side='top']) {
|
|
11385
|
+
top: 0 !important;
|
|
11386
|
+
left: 0 !important;
|
|
11387
|
+
right: 0 !important;
|
|
11388
|
+
bottom: auto !important;
|
|
11389
|
+
width: auto !important;
|
|
11390
|
+
max-width: none !important;
|
|
11391
|
+
height: var(--height, 75vh) !important;
|
|
11392
|
+
margin: 0 !important;
|
|
11393
|
+
border-start-start-radius: 0;
|
|
11394
|
+
border-start-end-radius: 0;
|
|
11395
|
+
}
|
|
11396
|
+
:where(.rt-SheetContent[data-side='bottom']) {
|
|
11397
|
+
bottom: 0 !important;
|
|
11398
|
+
left: 0 !important;
|
|
11399
|
+
right: 0 !important;
|
|
11400
|
+
top: auto !important;
|
|
11401
|
+
width: auto !important;
|
|
11402
|
+
max-width: none !important;
|
|
11403
|
+
height: var(--height, 75vh) !important;
|
|
11404
|
+
margin: 0 !important;
|
|
11405
|
+
border-end-start-radius: 0;
|
|
11406
|
+
border-end-end-radius: 0;
|
|
11407
|
+
}
|
|
11408
|
+
:where(.rt-SheetOverlay)::before {
|
|
11409
|
+
opacity: 1;
|
|
11410
|
+
}
|
|
11411
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
11412
|
+
.rt-SheetContent:where([data-state='open']) {
|
|
11413
|
+
animation-duration: var(--motion-duration-medium);
|
|
11414
|
+
animation-timing-function: var(--motion-spring-snappy);
|
|
11415
|
+
animation-fill-mode: both;
|
|
11416
|
+
}
|
|
11417
|
+
.rt-SheetContent:where([data-state='closed']) {
|
|
11418
|
+
opacity: 1;
|
|
11419
|
+
animation-duration: var(--motion-duration-small);
|
|
11420
|
+
animation-timing-function: var(--motion-spring-snappy);
|
|
11421
|
+
animation-fill-mode: both;
|
|
11422
|
+
}
|
|
11423
|
+
.rt-SheetContent:where([data-state='open'][data-side='start']) {
|
|
11424
|
+
animation-name: rt-sheet-open-from-start, rt-fade-in !important;
|
|
11425
|
+
}
|
|
11426
|
+
.rt-SheetContent:where([data-state='closed'][data-side='start']) {
|
|
11427
|
+
animation-name: rt-sheet-close-to-start, rt-fade-out !important;
|
|
11428
|
+
}
|
|
11429
|
+
.rt-SheetContent:where([data-state='open'][data-side='end']) {
|
|
11430
|
+
animation-name: rt-sheet-open-from-end, rt-fade-in !important;
|
|
11431
|
+
}
|
|
11432
|
+
.rt-SheetContent:where([data-state='closed'][data-side='end']) {
|
|
11433
|
+
animation-name: rt-sheet-close-to-end, rt-fade-out !important;
|
|
11434
|
+
}
|
|
11435
|
+
.rt-SheetContent:where([data-state='open'][data-side='top']) {
|
|
11436
|
+
animation-name: rt-sheet-open-from-top, rt-fade-in !important;
|
|
11437
|
+
}
|
|
11438
|
+
.rt-SheetContent:where([data-state='closed'][data-side='top']) {
|
|
11439
|
+
animation-name: rt-sheet-close-to-top, rt-fade-out !important;
|
|
11440
|
+
}
|
|
11441
|
+
.rt-SheetContent:where([data-state='open'][data-side='bottom']) {
|
|
11442
|
+
animation-name: rt-sheet-open-from-bottom, rt-fade-in !important;
|
|
11443
|
+
}
|
|
11444
|
+
.rt-SheetContent:where([data-state='closed'][data-side='bottom']) {
|
|
11445
|
+
animation-name: rt-sheet-close-to-bottom, rt-fade-out !important;
|
|
11446
|
+
}
|
|
11447
|
+
}
|
|
11448
|
+
@media (prefers-reduced-motion: reduce) {
|
|
11449
|
+
.rt-SheetContent {
|
|
11450
|
+
animation: none !important;
|
|
11451
|
+
}
|
|
11452
|
+
}
|
|
11214
11453
|
.rt-ScrollAreaRoot {
|
|
11215
11454
|
display: flex;
|
|
11216
11455
|
flex-direction: column;
|
|
@@ -11246,8 +11485,8 @@
|
|
|
11246
11485
|
touch-action: none;
|
|
11247
11486
|
background-color: var(--gray-a3);
|
|
11248
11487
|
border-radius: var(--scrollarea-scrollbar-border-radius);
|
|
11249
|
-
animation-duration:
|
|
11250
|
-
animation-timing-function: ease-
|
|
11488
|
+
animation-duration: var(--motion-duration-micro);
|
|
11489
|
+
animation-timing-function: var(--motion-ease-standard);
|
|
11251
11490
|
}
|
|
11252
11491
|
.rt-ScrollAreaScrollbar:where([data-orientation='vertical']) {
|
|
11253
11492
|
flex-direction: column;
|
|
@@ -11269,7 +11508,7 @@
|
|
|
11269
11508
|
position: relative;
|
|
11270
11509
|
background-color: var(--gray-a8);
|
|
11271
11510
|
border-radius: inherit;
|
|
11272
|
-
transition: background-color
|
|
11511
|
+
transition: background-color var(--motion-duration-micro) var(--motion-ease-standard);
|
|
11273
11512
|
}
|
|
11274
11513
|
.rt-ScrollAreaThumb::before {
|
|
11275
11514
|
content: '';
|
|
@@ -11465,7 +11704,7 @@
|
|
|
11465
11704
|
margin-right: calc(-1 * var(--border-width-standard) * 0.5);
|
|
11466
11705
|
width: var(--border-width-standard);
|
|
11467
11706
|
background-color: var(--gray-a4);
|
|
11468
|
-
transition: opacity calc(0.8 * var(--segmented-control-transition-duration)) var(--ease-
|
|
11707
|
+
transition: opacity calc(0.8 * var(--segmented-control-transition-duration)) var(--motion-ease-standard);
|
|
11469
11708
|
}
|
|
11470
11709
|
:where(.rt-SegmentedControlItem:first-child) .rt-SegmentedControlItemSeparator,
|
|
11471
11710
|
:where(.rt-SegmentedControlItem:where([data-state='on'], :focus-visible)) .rt-SegmentedControlItemSeparator,
|
|
@@ -11484,7 +11723,7 @@
|
|
|
11484
11723
|
left: 0;
|
|
11485
11724
|
height: 100%;
|
|
11486
11725
|
pointer-events: none;
|
|
11487
|
-
transition: transform var(--segmented-control-transition-duration) var(--
|
|
11726
|
+
transition: transform var(--segmented-control-transition-duration) var(--motion-spring-snappy);
|
|
11488
11727
|
}
|
|
11489
11728
|
.rt-SegmentedControlIndicator::before {
|
|
11490
11729
|
inset: var(--border-width-standard);
|
|
@@ -13599,7 +13838,7 @@
|
|
|
13599
13838
|
justify-content: space-between;
|
|
13600
13839
|
}
|
|
13601
13840
|
.rt-SidebarMenuSubTrigger :where(.rt-SidebarMenuSubTriggerIcon) {
|
|
13602
|
-
transition: transform
|
|
13841
|
+
transition: transform var(--motion-duration-micro) var(--motion-ease-standard);
|
|
13603
13842
|
}
|
|
13604
13843
|
.rt-SidebarMenuSubTrigger:where([data-state="open"]) :where(.rt-SidebarMenuSubTriggerIcon) {
|
|
13605
13844
|
transform: rotate(90deg);
|
|
@@ -13611,10 +13850,10 @@
|
|
|
13611
13850
|
overflow: visible;
|
|
13612
13851
|
}
|
|
13613
13852
|
.rt-SidebarMenuSubContent:where([data-state="open"]) {
|
|
13614
|
-
animation: rt-sidebar-slide-down
|
|
13853
|
+
animation: rt-sidebar-slide-down var(--motion-duration-small) var(--motion-ease-standard);
|
|
13615
13854
|
}
|
|
13616
13855
|
.rt-SidebarMenuSubContent:where([data-state="closed"]) {
|
|
13617
|
-
animation: rt-sidebar-slide-up
|
|
13856
|
+
animation: rt-sidebar-slide-up var(--motion-duration-small) var(--motion-ease-standard);
|
|
13618
13857
|
}
|
|
13619
13858
|
@keyframes rt-sidebar-slide-down {
|
|
13620
13859
|
from {
|
|
@@ -13691,6 +13930,43 @@
|
|
|
13691
13930
|
margin-top: calc(var(--space-1) / 2);
|
|
13692
13931
|
margin-bottom: calc(var(--space-1) / 2);
|
|
13693
13932
|
}
|
|
13933
|
+
.rt-ShellSidebarRail :where(.rt-SidebarContent),
|
|
13934
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarContent) {
|
|
13935
|
+
padding: var(--space-2);
|
|
13936
|
+
}
|
|
13937
|
+
.rt-ShellSidebarRail :where(.rt-SidebarMenuButton),
|
|
13938
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarMenuButton) {
|
|
13939
|
+
justify-content: center;
|
|
13940
|
+
align-items: center;
|
|
13941
|
+
flex-direction: column;
|
|
13942
|
+
gap: var(--space-1);
|
|
13943
|
+
padding: var(--space-2) var(--space-1);
|
|
13944
|
+
}
|
|
13945
|
+
.rt-ShellSidebarRail :where(.rt-SidebarMenuBadge),
|
|
13946
|
+
.rt-ShellSidebarRail :where(.rt-SidebarMenuShortcut),
|
|
13947
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarMenuBadge),
|
|
13948
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarMenuShortcut) {
|
|
13949
|
+
display: none;
|
|
13950
|
+
}
|
|
13951
|
+
.rt-ShellSidebarRail :where(.rt-SidebarGroupLabel),
|
|
13952
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarGroupLabel) {
|
|
13953
|
+
display: block;
|
|
13954
|
+
text-align: center;
|
|
13955
|
+
font-size: var(--font-size-0);
|
|
13956
|
+
line-height: var(--line-height-0);
|
|
13957
|
+
color: var(--gray-a9);
|
|
13958
|
+
font-weight: var(--font-weight-medium);
|
|
13959
|
+
}
|
|
13960
|
+
.rt-ShellSidebarRail :where(.rt-SidebarMenuSubTriggerIcon),
|
|
13961
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarMenuSubTriggerIcon) {
|
|
13962
|
+
display: none;
|
|
13963
|
+
}
|
|
13964
|
+
.rt-ShellSidebarRail :where(.rt-SidebarMenuSubList),
|
|
13965
|
+
:where(.rt-ShellSidebar[data-state='rail'] .rt-SidebarMenuSubList) {
|
|
13966
|
+
padding-left: 0;
|
|
13967
|
+
border-left: none;
|
|
13968
|
+
margin-left: 0;
|
|
13969
|
+
}
|
|
13694
13970
|
.rt-SidebarContainer:where(.rt-variant-outline) {
|
|
13695
13971
|
background-color: var(--color-panel);
|
|
13696
13972
|
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
@@ -13907,7 +14183,7 @@
|
|
|
13907
14183
|
-webkit-user-select: none;
|
|
13908
14184
|
user-select: none;
|
|
13909
14185
|
justify-content: flex-start;
|
|
13910
|
-
transition: background var(--duration-
|
|
14186
|
+
transition: background var(--motion-duration-small) var(--motion-ease-standard), box-shadow var(--motion-duration-small) var(--motion-ease-standard), filter var(--motion-duration-small) var(--motion-ease-standard);
|
|
13911
14187
|
}
|
|
13912
14188
|
.rt-SidebarHeader :where(.rt-SidebarMenuButton):where(:focus-visible), .rt-SidebarFooter :where(.rt-SidebarMenuButton):where(:focus-visible) {
|
|
13913
14189
|
outline: 2px solid var(--focus-8);
|
|
@@ -14471,172 +14747,100 @@
|
|
|
14471
14747
|
.rt-SidebarHeader:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)) {
|
|
14472
14748
|
color: var(--gray-11) !important;
|
|
14473
14749
|
}
|
|
14474
|
-
.rt-
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
flex-
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]):where(.rt-r-size-1) {
|
|
14484
|
-
width: var(--sidebar-icon-width-1);
|
|
14485
|
-
min-width: var(--sidebar-icon-width-1);
|
|
14486
|
-
--sidebar-group-label-width: calc(var(--sidebar-icon-width-1) - (var(--space-2) * 2));
|
|
14487
|
-
--sidebar-button-label-width: calc(var(--sidebar-group-label-width) - (var(--space-1) * 2));
|
|
14750
|
+
.rt-ShellRoot {
|
|
14751
|
+
inline-size: 100%;
|
|
14752
|
+
display: flex;
|
|
14753
|
+
flex-direction: column;
|
|
14754
|
+
block-size: 100vh;
|
|
14755
|
+
--shell-sidebar-rail-width: var(--space-9, 64px);
|
|
14756
|
+
--shell-sidebar-panel-width: 288px;
|
|
14757
|
+
--shell-sidebar-combined-width: calc(var(--shell-sidebar-rail-width) + var(--shell-sidebar-panel-width));
|
|
14758
|
+
--shell-overlay-width: auto;
|
|
14488
14759
|
}
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
|
|
14493
|
-
--sidebar-button-label-width: calc(var(--sidebar-group-label-width) - (var(--space-1) * 2));
|
|
14760
|
+
@supports (height: 100dvh) {
|
|
14761
|
+
.rt-ShellRoot {
|
|
14762
|
+
block-size: 100dvh;
|
|
14763
|
+
}
|
|
14494
14764
|
}
|
|
14495
|
-
.rt-
|
|
14496
|
-
|
|
14497
|
-
|
|
14498
|
-
|
|
14499
|
-
|
|
14765
|
+
.rt-ShellHeader {
|
|
14766
|
+
position: sticky;
|
|
14767
|
+
top: 0;
|
|
14768
|
+
inset-inline: 0;
|
|
14769
|
+
z-index: var(--shell-z-header, 10);
|
|
14770
|
+
block-size: var(--shell-header-height, 64px);
|
|
14771
|
+
display: flex;
|
|
14772
|
+
align-items: center;
|
|
14773
|
+
background-color: var(--color-panel);
|
|
14500
14774
|
}
|
|
14501
|
-
.rt-
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
14775
|
+
.rt-ShellBody {
|
|
14776
|
+
display: flex;
|
|
14777
|
+
flex-direction: row;
|
|
14778
|
+
align-items: stretch;
|
|
14779
|
+
inline-size: 100%;
|
|
14780
|
+
flex: 1 1 auto;
|
|
14781
|
+
block-size: auto;
|
|
14782
|
+
min-block-size: 0;
|
|
14783
|
+
min-inline-size: 0;
|
|
14784
|
+
overflow: hidden;
|
|
14505
14785
|
}
|
|
14506
|
-
.rt-
|
|
14507
|
-
|
|
14508
|
-
|
|
14509
|
-
|
|
14786
|
+
.rt-ShellSidebar {
|
|
14787
|
+
display: flex;
|
|
14788
|
+
flex-direction: row;
|
|
14789
|
+
align-items: stretch;
|
|
14790
|
+
block-size: 100%;
|
|
14791
|
+
min-block-size: 0;
|
|
14510
14792
|
}
|
|
14511
|
-
.rt-
|
|
14512
|
-
|
|
14793
|
+
.rt-ShellSidebarRail {
|
|
14794
|
+
display: flex;
|
|
14513
14795
|
flex-direction: column;
|
|
14514
|
-
|
|
14515
|
-
gap: var(--space-
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
display: block;
|
|
14520
|
-
font-size: var(--font-size-0);
|
|
14521
|
-
line-height: var(--line-height-0);
|
|
14522
|
-
color: var(--gray-a10);
|
|
14523
|
-
text-align: center;
|
|
14524
|
-
font-weight: var(--font-weight-medium);
|
|
14525
|
-
max-width: 100%;
|
|
14796
|
+
align-items: center;
|
|
14797
|
+
gap: var(--space-2);
|
|
14798
|
+
padding-block: var(--space-2);
|
|
14799
|
+
block-size: 100%;
|
|
14800
|
+
min-block-size: 0;
|
|
14526
14801
|
overflow: hidden;
|
|
14527
|
-
|
|
14528
|
-
|
|
14802
|
+
opacity: 0;
|
|
14803
|
+
transition: inline-size var(--motion-duration-small) var(--motion-ease-standard), opacity var(--motion-duration-small) var(--motion-ease-standard) var(--motion-duration-small);
|
|
14529
14804
|
}
|
|
14530
|
-
.rt-
|
|
14531
|
-
max-width: var(--sidebar-group-label-width);
|
|
14805
|
+
.rt-ShellSidebarPanel {
|
|
14532
14806
|
display: block;
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
font-size: var(--font-size-0);
|
|
14538
|
-
line-height: var(--line-height-0);
|
|
14539
|
-
color: var(--gray-a9);
|
|
14540
|
-
font-weight: var(--font-weight-medium);
|
|
14541
|
-
padding: var(--space-1) var(--space-1);
|
|
14542
|
-
margin: var(--space-2) 0 var(--space-1) 0;
|
|
14807
|
+
opacity: 0;
|
|
14808
|
+
transition: inline-size var(--motion-duration-small) var(--motion-ease-standard), opacity var(--motion-duration-small) var(--motion-ease-standard) var(--motion-duration-small);
|
|
14809
|
+
block-size: 100%;
|
|
14810
|
+
min-block-size: 0;
|
|
14543
14811
|
overflow: hidden;
|
|
14544
|
-
text-overflow: ellipsis;
|
|
14545
|
-
white-space: nowrap;
|
|
14546
14812
|
}
|
|
14547
|
-
.rt-
|
|
14548
|
-
|
|
14549
|
-
|
|
14813
|
+
.rt-ShellSidebarSingle {
|
|
14814
|
+
opacity: 0;
|
|
14815
|
+
transition: inline-size var(--motion-duration-small) var(--motion-ease-standard), opacity var(--motion-duration-small) var(--motion-ease-standard) var(--motion-duration-small);
|
|
14816
|
+
block-size: 100%;
|
|
14550
14817
|
overflow: hidden;
|
|
14551
|
-
text-overflow: ellipsis;
|
|
14552
|
-
white-space: nowrap;
|
|
14553
|
-
color: var(--gray-a12);
|
|
14554
|
-
font-weight: var(--font-weight-medium);
|
|
14555
|
-
}
|
|
14556
|
-
.rt-SidebarRoot.rt-menu-variant-solid:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuButton[data-highlighted] span),
|
|
14557
|
-
.rt-SidebarRoot.rt-menu-variant-solid:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuButton[data-active] span) {
|
|
14558
|
-
color: var(--accent-contrast) !important;
|
|
14559
|
-
}
|
|
14560
|
-
:where(.rt-SidebarGroup:first-child) :is(.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarGroupLabel)) {
|
|
14561
|
-
margin-top: 0;
|
|
14562
|
-
}
|
|
14563
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuBadge),
|
|
14564
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuShortcut) {
|
|
14565
|
-
display: none;
|
|
14566
|
-
}
|
|
14567
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuSubTriggerIcon) {
|
|
14568
|
-
display: none;
|
|
14569
|
-
}
|
|
14570
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenuSubList) {
|
|
14571
|
-
padding-left: 0;
|
|
14572
|
-
border-left: none;
|
|
14573
|
-
margin-left: 0;
|
|
14574
|
-
}
|
|
14575
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]) :where(.rt-SidebarMenu) {
|
|
14576
|
-
padding: var(--space-2);
|
|
14577
|
-
}
|
|
14578
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]):where(.rt-r-size-1) :where(.rt-SidebarMenuButton svg) {
|
|
14579
|
-
width: var(--content-icon-size-2) !important;
|
|
14580
|
-
height: var(--content-icon-size-2) !important;
|
|
14581
|
-
color: currentColor !important;
|
|
14582
|
-
}
|
|
14583
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="collapsed"]):where(.rt-r-size-2) :where(.rt-SidebarMenuButton svg) {
|
|
14584
|
-
width: var(--content-icon-size-3) !important;
|
|
14585
|
-
height: var(--content-icon-size-3) !important;
|
|
14586
|
-
color: currentColor !important;
|
|
14587
14818
|
}
|
|
14588
|
-
.rt-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-type="floating"][data-state="collapsed"]) {
|
|
14594
|
-
opacity: 1;
|
|
14595
|
-
pointer-events: auto;
|
|
14596
|
-
margin: var(--space-2);
|
|
14597
|
-
}
|
|
14598
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-type="floating"][data-state="collapsed"]):where(.rt-r-size-1) {
|
|
14599
|
-
width: var(--sidebar-icon-width-1);
|
|
14600
|
-
min-width: var(--sidebar-icon-width-1);
|
|
14601
|
-
}
|
|
14602
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-type="floating"][data-state="collapsed"]):where(.rt-r-size-2) {
|
|
14603
|
-
width: var(--sidebar-icon-width-2);
|
|
14604
|
-
min-width: var(--sidebar-icon-width-2);
|
|
14819
|
+
:where(.rt-ShellSidebarRail):not([data-visible]),
|
|
14820
|
+
:where(.rt-ShellSidebarPanel):not([data-visible]),
|
|
14821
|
+
:where(.rt-ShellSidebarSingle):not([data-visible]) {
|
|
14822
|
+
opacity: 0;
|
|
14823
|
+
transition: opacity var(--motion-duration-small) var(--motion-ease-standard), inline-size var(--motion-duration-small) var(--motion-ease-standard) var(--motion-duration-small);
|
|
14605
14824
|
}
|
|
14606
|
-
|
|
14607
|
-
width: var(--sidebar-width);
|
|
14608
|
-
min-width: var(--sidebar-width);
|
|
14825
|
+
[data-visible] {
|
|
14609
14826
|
opacity: 1;
|
|
14610
|
-
pointer-events: auto;
|
|
14611
|
-
margin: var(--space-2);
|
|
14612
|
-
}
|
|
14613
|
-
@media (max-width: 768px) {
|
|
14614
|
-
.rt-SidebarRoot:where([data-collapsible="icon"]) {
|
|
14615
|
-
display: none;
|
|
14616
|
-
}
|
|
14617
|
-
.rt-SidebarRoot:where([data-collapsible="icon"][data-state="expanded"]) {
|
|
14618
|
-
display: flex;
|
|
14619
|
-
position: fixed;
|
|
14620
|
-
top: 0;
|
|
14621
|
-
left: 0;
|
|
14622
|
-
height: 100vh;
|
|
14623
|
-
width: var(--sidebar-width);
|
|
14624
|
-
z-index: 50;
|
|
14625
|
-
box-shadow: var(--shadow-6);
|
|
14626
|
-
}
|
|
14627
14827
|
}
|
|
14628
14828
|
@media (prefers-reduced-motion: reduce) {
|
|
14629
|
-
.rt-
|
|
14829
|
+
.rt-ShellSidebarRail,
|
|
14830
|
+
.rt-ShellSidebarPanel,
|
|
14831
|
+
.rt-ShellSidebarSingle {
|
|
14630
14832
|
transition: none;
|
|
14631
14833
|
}
|
|
14632
14834
|
}
|
|
14633
|
-
|
|
14634
|
-
:
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14835
|
+
.rt-ShellContent {
|
|
14836
|
+
flex: 1 1 auto;
|
|
14837
|
+
block-size: 100%;
|
|
14838
|
+
min-block-size: 0;
|
|
14839
|
+
min-inline-size: 0;
|
|
14840
|
+
overflow: auto;
|
|
14841
|
+
}
|
|
14842
|
+
:where(.rt-SheetContent) :where(.rt-ShellSidebarPanel) {
|
|
14843
|
+
transition: none !important;
|
|
14640
14844
|
}
|
|
14641
14845
|
.rt-SliderRoot {
|
|
14642
14846
|
--slider-thumb-width: var(--space-3);
|
|
@@ -16042,6 +16246,7 @@
|
|
|
16042
16246
|
padding: var(--text-area-padding-y) var(--text-area-padding-x);
|
|
16043
16247
|
border-radius: inherit;
|
|
16044
16248
|
resize: none;
|
|
16249
|
+
min-width: 0;
|
|
16045
16250
|
display: block;
|
|
16046
16251
|
width: 100%;
|
|
16047
16252
|
flex-grow: 1;
|
|
@@ -17583,8 +17788,8 @@
|
|
|
17583
17788
|
background-color: var(--gray-12);
|
|
17584
17789
|
border-radius: var(--radius-1);
|
|
17585
17790
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
17586
|
-
animation-duration: var(--duration-
|
|
17587
|
-
animation-timing-function: var(--
|
|
17791
|
+
animation-duration: var(--motion-duration-small);
|
|
17792
|
+
animation-timing-function: var(--motion-spring-snappy);
|
|
17588
17793
|
}
|
|
17589
17794
|
@media (prefers-reduced-motion: no-preference) {
|
|
17590
17795
|
.rt-TooltipContent:where([data-state='delayed-open']):where([data-side='top']) {
|
|
@@ -17621,6 +17826,280 @@
|
|
|
17621
17826
|
.rt-UserCard:where(.rt-r-size-4) :where(.rt-Flex) {
|
|
17622
17827
|
gap: var(--space-5);
|
|
17623
17828
|
}
|
|
17829
|
+
.rt-ChatbarField {
|
|
17830
|
+
position: relative;
|
|
17831
|
+
width: 100%;
|
|
17832
|
+
min-width: 0;
|
|
17833
|
+
}
|
|
17834
|
+
.rt-ChatbarRoot {
|
|
17835
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
17836
|
+
transition: outline var(--motion-duration-small) var(--motion-spring-snappy);
|
|
17837
|
+
}
|
|
17838
|
+
.rt-ChatbarInput {
|
|
17839
|
+
display: block;
|
|
17840
|
+
width: 100%;
|
|
17841
|
+
min-width: 0;
|
|
17842
|
+
resize: none;
|
|
17843
|
+
border: 0;
|
|
17844
|
+
outline: 0;
|
|
17845
|
+
background: transparent;
|
|
17846
|
+
padding: 0;
|
|
17847
|
+
margin: 0;
|
|
17848
|
+
color: inherit;
|
|
17849
|
+
font: inherit;
|
|
17850
|
+
line-height: inherit;
|
|
17851
|
+
text-align: start;
|
|
17852
|
+
transition: height 150ms ease-out;
|
|
17853
|
+
}
|
|
17854
|
+
.rt-ChatbarCard :where(.rt-ChatbarGrid) {
|
|
17855
|
+
display: flex;
|
|
17856
|
+
flex-direction: column;
|
|
17857
|
+
gap: var(--space-4);
|
|
17858
|
+
width: 100%;
|
|
17859
|
+
}
|
|
17860
|
+
.rt-ChatbarRoot:where([data-state="closed"]) :where(.rt-ChatbarGrid) {
|
|
17861
|
+
flex-direction: row;
|
|
17862
|
+
align-items: center;
|
|
17863
|
+
flex-wrap: wrap;
|
|
17864
|
+
}
|
|
17865
|
+
.rt-ChatbarRoot:where([data-state="closed"]) :where(.rt-ChatbarAttachmentsRow) {
|
|
17866
|
+
flex-basis: 100%;
|
|
17867
|
+
order: -1;
|
|
17868
|
+
}
|
|
17869
|
+
.rt-ChatbarTextarea {
|
|
17870
|
+
flex: 1;
|
|
17871
|
+
min-width: 0;
|
|
17872
|
+
}
|
|
17873
|
+
.rt-ChatbarSend {
|
|
17874
|
+
transition: opacity 150ms ease-in-out;
|
|
17875
|
+
}
|
|
17876
|
+
.rt-ChatbarRoot:where([data-state="closed"]) :where(.rt-ChatbarRow) {
|
|
17877
|
+
display: none;
|
|
17878
|
+
}
|
|
17879
|
+
.rt-ChatbarRoot:where([data-state="open"]) :where(.rt-ChatbarRow) {
|
|
17880
|
+
display: block;
|
|
17881
|
+
width: 100%;
|
|
17882
|
+
}
|
|
17883
|
+
.rt-ChatbarAttachmentsRow {
|
|
17884
|
+
width: 100%;
|
|
17885
|
+
}
|
|
17886
|
+
.rt-ChatbarScrollArea {
|
|
17887
|
+
border-radius: var(--chatbar-attachments-radius);
|
|
17888
|
+
}
|
|
17889
|
+
.rt-ChatbarScrollArea :where(.rt-ScrollAreaScrollbar) {
|
|
17890
|
+
display: none;
|
|
17891
|
+
}
|
|
17892
|
+
.rt-ChatbarAttachmentPreview {
|
|
17893
|
+
height: var(--chatbar-attachment-thumb);
|
|
17894
|
+
width: var(--chatbar-attachment-thumb);
|
|
17895
|
+
min-width: var(--chatbar-attachment-thumb);
|
|
17896
|
+
flex-shrink: 0;
|
|
17897
|
+
border-radius: var(--radius-1);
|
|
17898
|
+
overflow: hidden;
|
|
17899
|
+
display: inline-flex;
|
|
17900
|
+
align-items: center;
|
|
17901
|
+
justify-content: center;
|
|
17902
|
+
background: var(--gray-a3);
|
|
17903
|
+
}
|
|
17904
|
+
.rt-ChatbarAttachmentImage {
|
|
17905
|
+
height: 100%;
|
|
17906
|
+
width: auto;
|
|
17907
|
+
object-fit: contain;
|
|
17908
|
+
max-width: none;
|
|
17909
|
+
}
|
|
17910
|
+
.rt-ChatbarAttachment {
|
|
17911
|
+
position: relative;
|
|
17912
|
+
}
|
|
17913
|
+
.rt-ChatbarAttachmentRemove {
|
|
17914
|
+
position: absolute;
|
|
17915
|
+
top: var(--chatbar-remove-offset);
|
|
17916
|
+
right: var(--chatbar-remove-offset);
|
|
17917
|
+
}
|
|
17918
|
+
.rt-ChatbarCard {
|
|
17919
|
+
width: 100%;
|
|
17920
|
+
transition: all var(--motion-duration-small) var(--motion-spring-snappy);
|
|
17921
|
+
}
|
|
17922
|
+
.rt-ChatbarDropOverlay {
|
|
17923
|
+
position: absolute;
|
|
17924
|
+
top: 0;
|
|
17925
|
+
left: 0;
|
|
17926
|
+
right: 0;
|
|
17927
|
+
bottom: 0;
|
|
17928
|
+
background: var(--gray-a3);
|
|
17929
|
+
border-radius: inherit;
|
|
17930
|
+
display: flex;
|
|
17931
|
+
align-items: center;
|
|
17932
|
+
justify-content: center;
|
|
17933
|
+
z-index: 10;
|
|
17934
|
+
animation: rt-fade-in var(--motion-duration-small) var(--motion-spring-snappy);
|
|
17935
|
+
}
|
|
17936
|
+
.rt-ChatbarDropContent {
|
|
17937
|
+
display: flex;
|
|
17938
|
+
flex-direction: column;
|
|
17939
|
+
align-items: center;
|
|
17940
|
+
gap: var(--space-2);
|
|
17941
|
+
color: var(--accent-11);
|
|
17942
|
+
}
|
|
17943
|
+
.rt-ChatbarDropIcon {
|
|
17944
|
+
width: var(--space-6);
|
|
17945
|
+
height: var(--space-6);
|
|
17946
|
+
}
|
|
17947
|
+
.rt-ChatbarInlineStart,
|
|
17948
|
+
.rt-ChatbarInlineEnd {
|
|
17949
|
+
flex-shrink: 0;
|
|
17950
|
+
display: inline-flex;
|
|
17951
|
+
align-items: center;
|
|
17952
|
+
gap: var(--space-2);
|
|
17953
|
+
}
|
|
17954
|
+
.rt-ChatbarRowStart {
|
|
17955
|
+
display: inline-flex;
|
|
17956
|
+
align-items: center;
|
|
17957
|
+
gap: var(--space-2);
|
|
17958
|
+
flex-shrink: 0;
|
|
17959
|
+
}
|
|
17960
|
+
.rt-ChatbarRowEnd {
|
|
17961
|
+
display: inline-flex;
|
|
17962
|
+
align-items: center;
|
|
17963
|
+
gap: var(--space-2);
|
|
17964
|
+
flex-shrink: 0;
|
|
17965
|
+
margin-left: auto;
|
|
17966
|
+
}
|
|
17967
|
+
.rt-ChatbarRoot:where(.rt-r-size-1) {
|
|
17968
|
+
font-size: var(--font-size-1);
|
|
17969
|
+
line-height: var(--line-height-1);
|
|
17970
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
17971
|
+
--chatbar-remove-offset: var(--space-1);
|
|
17972
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
17973
|
+
}
|
|
17974
|
+
.rt-ChatbarRoot:where(.rt-r-size-2) {
|
|
17975
|
+
font-size: var(--font-size-2);
|
|
17976
|
+
line-height: var(--line-height-2);
|
|
17977
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
17978
|
+
--chatbar-remove-offset: var(--space-2);
|
|
17979
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
17980
|
+
}
|
|
17981
|
+
.rt-ChatbarRoot:where(.rt-r-size-3) {
|
|
17982
|
+
font-size: var(--font-size-3);
|
|
17983
|
+
line-height: var(--line-height-3);
|
|
17984
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
17985
|
+
--chatbar-remove-offset: var(--space-3);
|
|
17986
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
17987
|
+
}
|
|
17988
|
+
@media (min-width: 520px) {
|
|
17989
|
+
.rt-ChatbarRoot:where(.xs\:rt-r-size-1) {
|
|
17990
|
+
font-size: var(--font-size-1);
|
|
17991
|
+
line-height: var(--line-height-1);
|
|
17992
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
17993
|
+
--chatbar-remove-offset: var(--space-1);
|
|
17994
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
17995
|
+
}
|
|
17996
|
+
.rt-ChatbarRoot:where(.xs\:rt-r-size-2) {
|
|
17997
|
+
font-size: var(--font-size-2);
|
|
17998
|
+
line-height: var(--line-height-2);
|
|
17999
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18000
|
+
--chatbar-remove-offset: var(--space-2);
|
|
18001
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
18002
|
+
}
|
|
18003
|
+
.rt-ChatbarRoot:where(.xs\:rt-r-size-3) {
|
|
18004
|
+
font-size: var(--font-size-3);
|
|
18005
|
+
line-height: var(--line-height-3);
|
|
18006
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18007
|
+
--chatbar-remove-offset: var(--space-3);
|
|
18008
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
18009
|
+
}
|
|
18010
|
+
}
|
|
18011
|
+
@media (min-width: 768px) {
|
|
18012
|
+
.rt-ChatbarRoot:where(.sm\:rt-r-size-1) {
|
|
18013
|
+
font-size: var(--font-size-1);
|
|
18014
|
+
line-height: var(--line-height-1);
|
|
18015
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
18016
|
+
--chatbar-remove-offset: var(--space-1);
|
|
18017
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
18018
|
+
}
|
|
18019
|
+
.rt-ChatbarRoot:where(.sm\:rt-r-size-2) {
|
|
18020
|
+
font-size: var(--font-size-2);
|
|
18021
|
+
line-height: var(--line-height-2);
|
|
18022
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18023
|
+
--chatbar-remove-offset: var(--space-2);
|
|
18024
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
18025
|
+
}
|
|
18026
|
+
.rt-ChatbarRoot:where(.sm\:rt-r-size-3) {
|
|
18027
|
+
font-size: var(--font-size-3);
|
|
18028
|
+
line-height: var(--line-height-3);
|
|
18029
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18030
|
+
--chatbar-remove-offset: var(--space-3);
|
|
18031
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
18032
|
+
}
|
|
18033
|
+
}
|
|
18034
|
+
@media (min-width: 1024px) {
|
|
18035
|
+
.rt-ChatbarRoot:where(.md\:rt-r-size-1) {
|
|
18036
|
+
font-size: var(--font-size-1);
|
|
18037
|
+
line-height: var(--line-height-1);
|
|
18038
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
18039
|
+
--chatbar-remove-offset: var(--space-1);
|
|
18040
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
18041
|
+
}
|
|
18042
|
+
.rt-ChatbarRoot:where(.md\:rt-r-size-2) {
|
|
18043
|
+
font-size: var(--font-size-2);
|
|
18044
|
+
line-height: var(--line-height-2);
|
|
18045
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18046
|
+
--chatbar-remove-offset: var(--space-2);
|
|
18047
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
18048
|
+
}
|
|
18049
|
+
.rt-ChatbarRoot:where(.md\:rt-r-size-3) {
|
|
18050
|
+
font-size: var(--font-size-3);
|
|
18051
|
+
line-height: var(--line-height-3);
|
|
18052
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18053
|
+
--chatbar-remove-offset: var(--space-3);
|
|
18054
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
18055
|
+
}
|
|
18056
|
+
}
|
|
18057
|
+
@media (min-width: 1280px) {
|
|
18058
|
+
.rt-ChatbarRoot:where(.lg\:rt-r-size-1) {
|
|
18059
|
+
font-size: var(--font-size-1);
|
|
18060
|
+
line-height: var(--line-height-1);
|
|
18061
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
18062
|
+
--chatbar-remove-offset: var(--space-1);
|
|
18063
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
18064
|
+
}
|
|
18065
|
+
.rt-ChatbarRoot:where(.lg\:rt-r-size-2) {
|
|
18066
|
+
font-size: var(--font-size-2);
|
|
18067
|
+
line-height: var(--line-height-2);
|
|
18068
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18069
|
+
--chatbar-remove-offset: var(--space-2);
|
|
18070
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
18071
|
+
}
|
|
18072
|
+
.rt-ChatbarRoot:where(.lg\:rt-r-size-3) {
|
|
18073
|
+
font-size: var(--font-size-3);
|
|
18074
|
+
line-height: var(--line-height-3);
|
|
18075
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18076
|
+
--chatbar-remove-offset: var(--space-3);
|
|
18077
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
18078
|
+
}
|
|
18079
|
+
}
|
|
18080
|
+
@media (min-width: 1640px) {
|
|
18081
|
+
.rt-ChatbarRoot:where(.xl\:rt-r-size-1) {
|
|
18082
|
+
font-size: var(--font-size-1);
|
|
18083
|
+
line-height: var(--line-height-1);
|
|
18084
|
+
--chatbar-attachment-thumb: var(--space-8);
|
|
18085
|
+
--chatbar-remove-offset: var(--space-1);
|
|
18086
|
+
--chatbar-attachments-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
18087
|
+
}
|
|
18088
|
+
.rt-ChatbarRoot:where(.xl\:rt-r-size-2) {
|
|
18089
|
+
font-size: var(--font-size-2);
|
|
18090
|
+
line-height: var(--line-height-2);
|
|
18091
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18092
|
+
--chatbar-remove-offset: var(--space-2);
|
|
18093
|
+
--chatbar-attachments-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
18094
|
+
}
|
|
18095
|
+
.rt-ChatbarRoot:where(.xl\:rt-r-size-3) {
|
|
18096
|
+
font-size: var(--font-size-3);
|
|
18097
|
+
line-height: var(--line-height-3);
|
|
18098
|
+
--chatbar-attachment-thumb: var(--space-9);
|
|
18099
|
+
--chatbar-remove-offset: var(--space-3);
|
|
18100
|
+
--chatbar-attachments-radius: min(var(--radius-7), calc(var(--radius-3) + var(--space-3)));
|
|
18101
|
+
}
|
|
18102
|
+
}
|
|
17624
18103
|
.radix-themes:where([data-is-root-theme='true']) {
|
|
17625
18104
|
position: relative;
|
|
17626
18105
|
z-index: 0;
|