@adminide-stack/clock-tik-browser 12.0.34 → 12.0.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.
Files changed (62) hide show
  1. package/lib/pages/Home/__tests__/calls.test.d.ts +2 -0
  2. package/lib/pages/Home/__tests__/calls.test.d.ts.map +1 -0
  3. package/lib/pages/Home/__tests__/queue.test.d.ts +2 -0
  4. package/lib/pages/Home/__tests__/queue.test.d.ts.map +1 -0
  5. package/lib/pages/Home/__tests__/results.test.d.ts +2 -0
  6. package/lib/pages/Home/__tests__/results.test.d.ts.map +1 -0
  7. package/lib/pages/Home/__tests__/surfaces.test.d.ts +2 -0
  8. package/lib/pages/Home/__tests__/surfaces.test.d.ts.map +1 -0
  9. package/lib/pages/Home/chat/CallsCard.d.ts +22 -0
  10. package/lib/pages/Home/chat/CallsCard.d.ts.map +1 -0
  11. package/lib/pages/Home/chat/CallsCard.js +352 -0
  12. package/lib/pages/Home/chat/CallsCard.js.map +1 -0
  13. package/lib/pages/Home/chat/ChoresChat.d.ts.map +1 -1
  14. package/lib/pages/Home/chat/ChoresChat.js +293 -58
  15. package/lib/pages/Home/chat/ChoresChat.js.map +1 -1
  16. package/lib/pages/Home/chat/ChoresPanel.d.ts.map +1 -1
  17. package/lib/pages/Home/chat/ChoresPanel.js +4 -2
  18. package/lib/pages/Home/chat/ChoresPanel.js.map +1 -1
  19. package/lib/pages/Home/chat/ResultCards.d.ts +16 -0
  20. package/lib/pages/Home/chat/ResultCards.d.ts.map +1 -0
  21. package/lib/pages/Home/chat/ResultCards.js +509 -0
  22. package/lib/pages/Home/chat/ResultCards.js.map +1 -0
  23. package/lib/pages/Home/chat/calls.d.ts +124 -0
  24. package/lib/pages/Home/chat/calls.d.ts.map +1 -0
  25. package/lib/pages/Home/chat/calls.js +278 -0
  26. package/lib/pages/Home/chat/calls.js.map +1 -0
  27. package/lib/pages/Home/chat/callsApi.d.ts +10 -0
  28. package/lib/pages/Home/chat/callsApi.d.ts.map +1 -0
  29. package/lib/pages/Home/chat/callsApi.js +31 -0
  30. package/lib/pages/Home/chat/callsApi.js.map +1 -0
  31. package/lib/pages/Home/chat/chatTheme.d.ts.map +1 -1
  32. package/lib/pages/Home/chat/chatTheme.js +746 -1
  33. package/lib/pages/Home/chat/chatTheme.js.map +1 -1
  34. package/lib/pages/Home/chat/chores.d.ts +10 -3
  35. package/lib/pages/Home/chat/chores.d.ts.map +1 -1
  36. package/lib/pages/Home/chat/chores.js +22 -5
  37. package/lib/pages/Home/chat/chores.js.map +1 -1
  38. package/lib/pages/Home/chat/queue.d.ts +94 -0
  39. package/lib/pages/Home/chat/queue.d.ts.map +1 -0
  40. package/lib/pages/Home/chat/queue.js +88 -0
  41. package/lib/pages/Home/chat/queue.js.map +1 -0
  42. package/lib/pages/Home/chat/results.d.ts +207 -0
  43. package/lib/pages/Home/chat/results.d.ts.map +1 -0
  44. package/lib/pages/Home/chat/results.js +823 -0
  45. package/lib/pages/Home/chat/results.js.map +1 -0
  46. package/lib/pages/Home/chat/stop.d.ts +7 -6
  47. package/lib/pages/Home/chat/stop.d.ts.map +1 -1
  48. package/lib/pages/Home/chat/stop.js +7 -6
  49. package/lib/pages/Home/chat/stop.js.map +1 -1
  50. package/lib/pages/Home/chat/surfaces.d.ts +34 -0
  51. package/lib/pages/Home/chat/surfaces.d.ts.map +1 -0
  52. package/lib/pages/Home/chat/surfaces.js +165 -0
  53. package/lib/pages/Home/chat/surfaces.js.map +1 -0
  54. package/lib/pages/Home/chat/thread.d.ts +7 -3
  55. package/lib/pages/Home/chat/thread.d.ts.map +1 -1
  56. package/lib/pages/Home/chat/thread.js +11 -3
  57. package/lib/pages/Home/chat/thread.js.map +1 -1
  58. package/lib/pages/Home/chat/useCallLog.d.ts +17 -0
  59. package/lib/pages/Home/chat/useCallLog.d.ts.map +1 -0
  60. package/lib/pages/Home/chat/useCallLog.js +85 -0
  61. package/lib/pages/Home/chat/useCallLog.js.map +1 -0
  62. package/package.json +3 -3
@@ -320,6 +320,745 @@ import {jsx}from'react/jsx-runtime';const CHAT_CSS = `
320
320
  color: hsl(var(--muted-foreground));
321
321
  }
322
322
 
323
+ /* Lucy's calls, under the reply that placed them (CallsCard): each business and how the call is
324
+ going, live with its clock, or how it went; and a link to any other surface a reply names. */
325
+ .cbh-chat .cbh-calls {
326
+ max-width: 536px;
327
+ margin: 0 12px;
328
+ border: 1px solid hsl(var(--border));
329
+ border-radius: 16px;
330
+ background: hsl(var(--card));
331
+ box-shadow: 0 6px 18px -14px rgba(48, 28, 8, 0.4);
332
+ overflow: hidden;
333
+ animation: cbh-chat-rise 0.25s ease-out;
334
+ }
335
+ .cbh-chat .cbh-calls-head {
336
+ display: flex;
337
+ align-items: center;
338
+ gap: 8px;
339
+ padding: 8px 8px 8px 12px;
340
+ border-bottom: 1px solid hsl(var(--border));
341
+ }
342
+ .cbh-chat .cbh-calls-icon {
343
+ flex: none;
344
+ display: inline-flex;
345
+ align-items: center;
346
+ justify-content: center;
347
+ width: 26px;
348
+ height: 26px;
349
+ border-radius: 8px;
350
+ background: linear-gradient(160deg, #fff1e6, #ffe0cc);
351
+ color: #b84100;
352
+ }
353
+ .cbh-chat .cbh-calls-title {
354
+ font-size: 13.5px;
355
+ font-weight: 600;
356
+ }
357
+ .cbh-chat .cbh-calls-count {
358
+ font-size: 12px;
359
+ font-weight: 600;
360
+ color: #b84100;
361
+ white-space: nowrap;
362
+ }
363
+ .cbh-chat .cbh-calls-refresh {
364
+ flex: none;
365
+ display: inline-flex;
366
+ align-items: center;
367
+ justify-content: center;
368
+ width: 30px;
369
+ height: 30px;
370
+ margin-left: auto;
371
+ border: 0;
372
+ border-radius: 8px;
373
+ background: transparent;
374
+ color: hsl(var(--muted-foreground));
375
+ cursor: pointer;
376
+ }
377
+ .cbh-chat .cbh-calls-refresh:hover {
378
+ background: hsl(var(--muted));
379
+ color: hsl(var(--foreground));
380
+ }
381
+ .cbh-chat .cbh-calls-refresh:disabled {
382
+ cursor: default;
383
+ }
384
+ .cbh-chat .cbh-calls-list {
385
+ margin: 0;
386
+ padding: 0;
387
+ list-style: none;
388
+ }
389
+ .cbh-chat .cbh-calls-item {
390
+ padding: 12px 14px;
391
+ }
392
+ .cbh-chat .cbh-calls-item + .cbh-calls-item {
393
+ border-top: 1px solid hsl(var(--border));
394
+ }
395
+ .cbh-chat .cbh-calls-row {
396
+ display: flex;
397
+ flex-wrap: wrap;
398
+ align-items: center;
399
+ gap: 6px 8px;
400
+ }
401
+ .cbh-chat .cbh-calls-name {
402
+ min-width: 0;
403
+ font-size: 14px;
404
+ font-weight: 600;
405
+ overflow-wrap: anywhere;
406
+ }
407
+ .cbh-chat .cbh-calls-chip {
408
+ display: inline-flex;
409
+ align-items: center;
410
+ gap: 6px;
411
+ padding: 2px 9px;
412
+ border-radius: 999px;
413
+ background: hsl(var(--muted));
414
+ color: hsl(var(--muted-foreground));
415
+ font-size: 12px;
416
+ font-weight: 500;
417
+ white-space: nowrap;
418
+ font-variant-numeric: tabular-nums;
419
+ }
420
+ .cbh-chat .cbh-calls-chip[data-tone='live'] {
421
+ background: #fff1e6;
422
+ color: #b84100;
423
+ }
424
+ .cbh-chat .cbh-calls-chip[data-tone='success'] {
425
+ background: #eaf5ea;
426
+ color: #2b7a36;
427
+ }
428
+ .cbh-chat .cbh-calls-chip[data-tone='attention'] {
429
+ background: #fdf3e1;
430
+ color: #8a5a00;
431
+ }
432
+ .cbh-chat .cbh-calls-chip[data-tone='danger'] {
433
+ background: #fdecea;
434
+ color: #b42318;
435
+ }
436
+ .cbh-chat .cbh-calls-dot {
437
+ flex: none;
438
+ width: 7px;
439
+ height: 7px;
440
+ border-radius: 50%;
441
+ background: #ff5a00;
442
+ animation: cbh-chores-pulse 1.8s ease-out infinite;
443
+ }
444
+ .cbh-chat .cbh-calls-line {
445
+ margin: 4px 0 0;
446
+ font-size: 13px;
447
+ line-height: 1.5;
448
+ color: hsl(var(--muted-foreground));
449
+ overflow-wrap: anywhere;
450
+ }
451
+ .cbh-chat .cbh-calls-actions {
452
+ display: flex;
453
+ flex-wrap: wrap;
454
+ gap: 8px;
455
+ margin-top: 10px;
456
+ }
457
+ .cbh-chat .cbh-calls-btn {
458
+ display: inline-flex;
459
+ align-items: center;
460
+ gap: 6px;
461
+ height: 34px;
462
+ padding: 0 14px;
463
+ border: 1px solid hsl(var(--border));
464
+ border-radius: 999px;
465
+ background: hsl(var(--card));
466
+ color: hsl(var(--foreground));
467
+ font: inherit;
468
+ font-size: 13px;
469
+ font-weight: 500;
470
+ text-decoration: none;
471
+ cursor: pointer;
472
+ }
473
+ .cbh-chat .cbh-calls-btn:hover {
474
+ background: hsl(var(--muted));
475
+ }
476
+ .cbh-chat .cbh-calls-btn:disabled {
477
+ opacity: 0.6;
478
+ cursor: default;
479
+ }
480
+ .cbh-chat .cbh-calls-btn-end {
481
+ color: #b42318;
482
+ }
483
+ .cbh-chat .cbh-calls-confirm {
484
+ margin-top: 10px;
485
+ padding: 10px 12px;
486
+ border-radius: 12px;
487
+ background: hsl(var(--muted));
488
+ }
489
+ .cbh-chat .cbh-calls-confirm > p {
490
+ margin: 0;
491
+ font-size: 13.5px;
492
+ font-weight: 500;
493
+ }
494
+ .cbh-chat .cbh-calls-confirm .cbh-calls-actions {
495
+ margin-top: 8px;
496
+ }
497
+ .cbh-chat .cbh-calls-confirm .cbh-calls-btn-end {
498
+ border-color: #b42318;
499
+ background: #b42318;
500
+ color: #fff;
501
+ }
502
+ .cbh-chat .cbh-calls-note {
503
+ display: flex;
504
+ align-items: center;
505
+ gap: 8px;
506
+ margin: 0;
507
+ padding: 12px 14px;
508
+ font-size: 13px;
509
+ color: hsl(var(--muted-foreground));
510
+ }
511
+ .cbh-chat .cbh-calls-item .cbh-calls-note,
512
+ .cbh-chat .cbh-calls-transcript .cbh-calls-note {
513
+ padding: 8px 0 0;
514
+ }
515
+ .cbh-chat .cbh-calls-link {
516
+ padding: 0;
517
+ border: 0;
518
+ background: none;
519
+ color: #b84100;
520
+ font: inherit;
521
+ font-weight: 600;
522
+ cursor: pointer;
523
+ }
524
+ .cbh-chat .cbh-calls-problem {
525
+ margin: 0;
526
+ padding: 0 14px 10px;
527
+ font-size: 12.5px;
528
+ color: #b42318;
529
+ }
530
+ .cbh-chat .cbh-calls-confirm .cbh-calls-problem {
531
+ padding: 8px 0 0;
532
+ }
533
+ .cbh-chat .cbh-calls-more {
534
+ display: inline-flex;
535
+ align-items: center;
536
+ gap: 4px;
537
+ margin-top: 8px;
538
+ padding: 0;
539
+ border: 0;
540
+ background: none;
541
+ color: hsl(var(--muted-foreground));
542
+ font: inherit;
543
+ font-size: 12.5px;
544
+ font-weight: 600;
545
+ cursor: pointer;
546
+ }
547
+ .cbh-chat .cbh-calls-more[aria-expanded='true'] svg {
548
+ transform: rotate(180deg);
549
+ }
550
+ .cbh-chat .cbh-calls-transcript {
551
+ max-height: 280px;
552
+ margin-top: 8px;
553
+ padding: 10px 12px;
554
+ border-radius: 12px;
555
+ background: hsl(var(--muted));
556
+ overflow-y: auto;
557
+ }
558
+ .cbh-chat .cbh-calls-transcript > p {
559
+ margin: 0 0 6px;
560
+ font-size: 13px;
561
+ line-height: 1.5;
562
+ overflow-wrap: anywhere;
563
+ }
564
+ .cbh-chat .cbh-calls-transcript > p b {
565
+ font-weight: 600;
566
+ }
567
+ .cbh-chat .cbh-calls-all {
568
+ display: inline-flex;
569
+ align-items: center;
570
+ gap: 3px;
571
+ margin: 0 14px 12px;
572
+ color: #b84100;
573
+ font-size: 12.5px;
574
+ font-weight: 600;
575
+ text-decoration: none;
576
+ }
577
+ .cbh-chat .cbh-calls-transcript .cbh-calls-all {
578
+ margin: 4px 0 0;
579
+ }
580
+ .cbh-chat .cbh-calls-all:hover {
581
+ text-decoration: underline;
582
+ }
583
+ .cbh-chat .cbh-surface-links {
584
+ display: flex;
585
+ flex-wrap: wrap;
586
+ gap: 8px;
587
+ max-width: 560px;
588
+ padding: 0 12px;
589
+ }
590
+ .cbh-chat .cbh-surface-link {
591
+ display: inline-flex;
592
+ align-items: center;
593
+ gap: 8px;
594
+ max-width: 100%;
595
+ padding: 8px 12px;
596
+ border: 1px solid hsl(var(--border));
597
+ border-radius: 14px;
598
+ background: hsl(var(--card));
599
+ color: hsl(var(--foreground));
600
+ font-size: 13px;
601
+ text-decoration: none;
602
+ }
603
+ .cbh-chat .cbh-surface-link:hover {
604
+ background: hsl(var(--muted));
605
+ }
606
+ .cbh-chat .cbh-surface-link-label {
607
+ min-width: 0;
608
+ overflow: hidden;
609
+ white-space: nowrap;
610
+ text-overflow: ellipsis;
611
+ color: hsl(var(--muted-foreground));
612
+ }
613
+ .cbh-chat .cbh-surface-link-open {
614
+ flex: none;
615
+ display: inline-flex;
616
+ align-items: center;
617
+ gap: 3px;
618
+ color: #b84100;
619
+ font-weight: 600;
620
+ }
621
+ .cbh-chat .cbh-calls-btn:focus-visible,
622
+ .cbh-chat .cbh-calls-refresh:focus-visible,
623
+ .cbh-chat .cbh-calls-more:focus-visible,
624
+ .cbh-chat .cbh-calls-link:focus-visible,
625
+ .cbh-chat .cbh-calls-all:focus-visible,
626
+ .cbh-chat .cbh-surface-link:focus-visible {
627
+ outline: 2px solid hsl(var(--ring));
628
+ outline-offset: 2px;
629
+ }
630
+
631
+ /* Lucy's results (ResultCards): flights as itinerary rows - a line from take-off to landing with a
632
+ dot per stop - and products, stays and cars as picture rows, in the same card as her calls. */
633
+ .cbh-chat .cbh-sr {
634
+ position: absolute;
635
+ width: 1px;
636
+ height: 1px;
637
+ padding: 0;
638
+ margin: -1px;
639
+ overflow: hidden;
640
+ clip: rect(0, 0, 0, 0);
641
+ white-space: nowrap;
642
+ border: 0;
643
+ }
644
+ .cbh-chat .cbh-results-stack {
645
+ display: flex;
646
+ flex-direction: column;
647
+ gap: 10px;
648
+ }
649
+ .cbh-chat .cbh-results {
650
+ max-width: 536px;
651
+ margin: 0 12px;
652
+ border: 1px solid hsl(var(--border));
653
+ border-radius: 16px;
654
+ background: hsl(var(--card));
655
+ box-shadow: 0 6px 18px -14px rgba(48, 28, 8, 0.4);
656
+ overflow: hidden;
657
+ animation: cbh-chat-rise 0.25s ease-out;
658
+ }
659
+ .cbh-chat .cbh-results-head {
660
+ display: flex;
661
+ align-items: center;
662
+ gap: 10px;
663
+ padding: 10px 12px;
664
+ border-bottom: 1px solid hsl(var(--border));
665
+ }
666
+ .cbh-chat .cbh-results-icon {
667
+ flex: none;
668
+ display: inline-flex;
669
+ align-items: center;
670
+ justify-content: center;
671
+ width: 28px;
672
+ height: 28px;
673
+ border-radius: 9px;
674
+ background: linear-gradient(160deg, #fff1e6, #ffe0cc);
675
+ color: #b84100;
676
+ }
677
+ .cbh-chat .cbh-results[data-kind='flights'] .cbh-results-icon {
678
+ background: linear-gradient(160deg, #eef4ff, #dce8ff);
679
+ color: #2457c5;
680
+ }
681
+ .cbh-chat .cbh-results[data-kind='stays'] .cbh-results-icon {
682
+ background: linear-gradient(160deg, #ecfaf3, #d6f2e4);
683
+ color: #12704f;
684
+ }
685
+ .cbh-chat .cbh-results-heading {
686
+ display: flex;
687
+ flex-direction: column;
688
+ min-width: 0;
689
+ }
690
+ .cbh-chat .cbh-results-title {
691
+ font-size: 14px;
692
+ font-weight: 600;
693
+ line-height: 1.3;
694
+ overflow-wrap: anywhere;
695
+ }
696
+ .cbh-chat .cbh-results-sub {
697
+ font-size: 12px;
698
+ color: hsl(var(--muted-foreground));
699
+ }
700
+ .cbh-chat .cbh-results-list {
701
+ margin: 0;
702
+ padding: 0;
703
+ list-style: none;
704
+ }
705
+ .cbh-chat .cbh-results-row {
706
+ padding: 12px;
707
+ transition: opacity 0.2s ease;
708
+ }
709
+ .cbh-chat .cbh-results-row + .cbh-results-row {
710
+ border-top: 1px solid hsl(var(--border));
711
+ }
712
+ .cbh-chat .cbh-results-row[data-dim] {
713
+ opacity: 0.5;
714
+ }
715
+ .cbh-chat .cbh-results-grid {
716
+ display: grid;
717
+ grid-template-columns: 28px minmax(0, 1fr) auto;
718
+ column-gap: 10px;
719
+ row-gap: 8px;
720
+ align-items: start;
721
+ }
722
+ .cbh-chat .cbh-results-item .cbh-results-grid {
723
+ grid-template-columns: 52px minmax(0, 1fr) auto;
724
+ row-gap: 4px;
725
+ }
726
+ .cbh-chat .cbh-results-mark {
727
+ display: inline-flex;
728
+ align-items: center;
729
+ justify-content: center;
730
+ width: 28px;
731
+ height: 28px;
732
+ border-radius: 8px;
733
+ overflow: hidden;
734
+ background: hsl(var(--muted));
735
+ box-shadow: inset 0 0 0 1px hsl(var(--border));
736
+ color: hsl(var(--foreground) / 0.7);
737
+ font-size: 10.5px;
738
+ font-weight: 700;
739
+ }
740
+ .cbh-chat .cbh-results-mark img {
741
+ width: 20px;
742
+ height: 20px;
743
+ object-fit: contain;
744
+ }
745
+ .cbh-chat .cbh-results-thumb {
746
+ grid-row: 1 / span 2;
747
+ display: inline-flex;
748
+ align-items: center;
749
+ justify-content: center;
750
+ width: 52px;
751
+ height: 52px;
752
+ border-radius: 10px;
753
+ overflow: hidden;
754
+ background: hsl(var(--muted));
755
+ box-shadow: inset 0 0 0 1px hsl(var(--border));
756
+ color: hsl(var(--muted-foreground));
757
+ }
758
+ .cbh-chat .cbh-results-thumb img {
759
+ width: 100%;
760
+ height: 100%;
761
+ object-fit: cover;
762
+ }
763
+ .cbh-chat .cbh-results-name {
764
+ display: flex;
765
+ flex-wrap: wrap;
766
+ align-items: center;
767
+ gap: 4px 8px;
768
+ min-width: 0;
769
+ padding-top: 4px;
770
+ }
771
+ .cbh-chat .cbh-results-item .cbh-results-name {
772
+ padding-top: 2px;
773
+ }
774
+ .cbh-chat .cbh-results-airline {
775
+ font-size: 13.5px;
776
+ font-weight: 600;
777
+ }
778
+ .cbh-chat .cbh-results-number {
779
+ font-size: 12px;
780
+ color: hsl(var(--muted-foreground));
781
+ font-variant-numeric: tabular-nums;
782
+ }
783
+ .cbh-chat .cbh-results-title-line {
784
+ display: -webkit-box;
785
+ -webkit-line-clamp: 2;
786
+ -webkit-box-orient: vertical;
787
+ overflow: hidden;
788
+ font-size: 13.5px;
789
+ font-weight: 600;
790
+ line-height: 1.35;
791
+ overflow-wrap: anywhere;
792
+ }
793
+ .cbh-chat .cbh-results-price {
794
+ display: flex;
795
+ flex-direction: column;
796
+ align-items: flex-end;
797
+ max-width: 34vw;
798
+ padding-top: 3px;
799
+ font-size: 15px;
800
+ font-weight: 700;
801
+ font-variant-numeric: tabular-nums;
802
+ text-align: right;
803
+ overflow-wrap: anywhere;
804
+ }
805
+ .cbh-chat .cbh-results-unit {
806
+ font-size: 11.5px;
807
+ font-weight: 500;
808
+ color: hsl(var(--muted-foreground));
809
+ white-space: nowrap;
810
+ }
811
+ .cbh-chat .cbh-results-was {
812
+ font-size: 12px;
813
+ font-weight: 500;
814
+ color: hsl(var(--muted-foreground));
815
+ }
816
+ .cbh-chat .cbh-results-meta {
817
+ grid-column: 2 / -1;
818
+ font-size: 12.5px;
819
+ color: hsl(var(--muted-foreground));
820
+ }
821
+ .cbh-chat .cbh-results-legs {
822
+ grid-column: 2 / -1;
823
+ display: flex;
824
+ flex-direction: column;
825
+ gap: 12px;
826
+ }
827
+ .cbh-chat .cbh-results-when {
828
+ margin-bottom: 3px;
829
+ font-size: 11px;
830
+ font-weight: 600;
831
+ letter-spacing: 0.04em;
832
+ text-transform: uppercase;
833
+ color: hsl(var(--muted-foreground));
834
+ }
835
+ .cbh-chat .cbh-results-times {
836
+ display: flex;
837
+ align-items: center;
838
+ gap: 10px;
839
+ }
840
+ .cbh-chat .cbh-results-time {
841
+ font-size: 15px;
842
+ font-weight: 600;
843
+ font-variant-numeric: tabular-nums;
844
+ white-space: nowrap;
845
+ }
846
+ .cbh-chat .cbh-results-next {
847
+ margin-left: 2px;
848
+ font-size: 10px;
849
+ font-weight: 700;
850
+ color: #b84100;
851
+ }
852
+ .cbh-chat .cbh-results-line {
853
+ position: relative;
854
+ flex: 1;
855
+ display: flex;
856
+ align-items: center;
857
+ justify-content: space-evenly;
858
+ min-width: 32px;
859
+ height: 2px;
860
+ border-radius: 1px;
861
+ background: hsl(var(--muted-foreground) / 0.35);
862
+ }
863
+ .cbh-chat .cbh-results-line::before,
864
+ .cbh-chat .cbh-results-line::after {
865
+ content: '';
866
+ position: absolute;
867
+ top: -2px;
868
+ width: 6px;
869
+ height: 6px;
870
+ border-radius: 50%;
871
+ background: hsl(var(--muted-foreground) / 0.7);
872
+ }
873
+ .cbh-chat .cbh-results-line::before {
874
+ left: -3px;
875
+ }
876
+ .cbh-chat .cbh-results-line::after {
877
+ right: -3px;
878
+ }
879
+ .cbh-chat .cbh-results-dot {
880
+ width: 8px;
881
+ height: 8px;
882
+ border-radius: 50%;
883
+ background: hsl(var(--card));
884
+ box-shadow: 0 0 0 2px #b84100;
885
+ }
886
+ .cbh-chat .cbh-results-places {
887
+ display: flex;
888
+ align-items: baseline;
889
+ justify-content: space-between;
890
+ gap: 8px;
891
+ margin-top: 4px;
892
+ font-size: 12px;
893
+ color: hsl(var(--muted-foreground));
894
+ font-variant-numeric: tabular-nums;
895
+ }
896
+ .cbh-chat .cbh-results-span {
897
+ flex: 1;
898
+ text-align: center;
899
+ }
900
+ .cbh-chat .cbh-results-via {
901
+ margin-top: 1px;
902
+ font-size: 12px;
903
+ text-align: center;
904
+ color: hsl(var(--muted-foreground));
905
+ }
906
+ .cbh-chat .cbh-results-badges {
907
+ display: inline-flex;
908
+ flex-wrap: wrap;
909
+ gap: 4px;
910
+ }
911
+ .cbh-chat .cbh-results-badge {
912
+ padding: 0 7px;
913
+ border-radius: 999px;
914
+ background: #fff1e6;
915
+ color: #b84100;
916
+ font-size: 11px;
917
+ font-weight: 600;
918
+ line-height: 19px;
919
+ white-space: nowrap;
920
+ }
921
+ .cbh-chat .cbh-results-badge[data-badge='cheapest'] {
922
+ background: #ecfdf5;
923
+ color: #047857;
924
+ }
925
+ .cbh-chat .cbh-results-badge[data-badge='fastest'] {
926
+ background: #f5f3ff;
927
+ color: #6d28d9;
928
+ }
929
+ .cbh-chat .cbh-results-foot-row {
930
+ display: flex;
931
+ align-items: center;
932
+ justify-content: space-between;
933
+ gap: 8px;
934
+ margin-top: 10px;
935
+ padding-left: 38px;
936
+ }
937
+ .cbh-chat .cbh-results-item .cbh-results-foot-row {
938
+ margin-top: 8px;
939
+ padding-left: 62px;
940
+ }
941
+ .cbh-chat .cbh-results-fare {
942
+ display: flex;
943
+ flex-wrap: wrap;
944
+ align-items: center;
945
+ gap: 4px 8px;
946
+ min-width: 0;
947
+ font-size: 12px;
948
+ color: hsl(var(--muted-foreground));
949
+ }
950
+ .cbh-chat .cbh-results-warn {
951
+ display: inline-flex;
952
+ align-items: center;
953
+ gap: 4px;
954
+ color: #b45309;
955
+ font-weight: 600;
956
+ }
957
+ .cbh-chat .cbh-results-actions {
958
+ flex: none;
959
+ display: inline-flex;
960
+ align-items: center;
961
+ gap: 6px;
962
+ }
963
+ .cbh-chat .cbh-results-reply {
964
+ display: inline-flex;
965
+ align-items: center;
966
+ gap: 4px;
967
+ height: 32px;
968
+ padding: 0 16px;
969
+ border: 0;
970
+ border-radius: 999px;
971
+ background: hsl(var(--primary));
972
+ color: hsl(var(--primary-foreground));
973
+ font-size: 13px;
974
+ font-weight: 600;
975
+ cursor: pointer;
976
+ }
977
+ .cbh-chat .cbh-results-reply:hover:not([aria-disabled='true']) {
978
+ opacity: 0.88;
979
+ }
980
+ .cbh-chat .cbh-results-reply[aria-disabled='true'] {
981
+ background: hsl(var(--muted));
982
+ color: hsl(var(--muted-foreground));
983
+ cursor: default;
984
+ }
985
+ .cbh-chat .cbh-results-reply[data-sent] {
986
+ background: #ecfdf5;
987
+ color: #047857;
988
+ }
989
+ .cbh-chat .cbh-results-out {
990
+ display: inline-flex;
991
+ align-items: center;
992
+ justify-content: center;
993
+ width: 32px;
994
+ height: 32px;
995
+ border: 1px solid hsl(var(--border));
996
+ border-radius: 999px;
997
+ background: hsl(var(--card));
998
+ color: hsl(var(--foreground));
999
+ }
1000
+ .cbh-chat .cbh-results-out:hover {
1001
+ background: hsl(var(--muted));
1002
+ }
1003
+ .cbh-chat .cbh-results-more {
1004
+ display: block;
1005
+ width: 100%;
1006
+ padding: 10px 12px;
1007
+ border: 0;
1008
+ border-top: 1px solid hsl(var(--border));
1009
+ background: transparent;
1010
+ color: #b84100;
1011
+ font-size: 13px;
1012
+ font-weight: 600;
1013
+ cursor: pointer;
1014
+ }
1015
+ .cbh-chat .cbh-results-more:hover {
1016
+ background: hsl(var(--muted));
1017
+ }
1018
+ .cbh-chat .cbh-results-foot {
1019
+ display: flex;
1020
+ flex-wrap: wrap;
1021
+ align-items: center;
1022
+ justify-content: space-between;
1023
+ gap: 6px 12px;
1024
+ padding: 9px 12px;
1025
+ border-top: 1px solid hsl(var(--border));
1026
+ background: hsl(var(--muted) / 0.5);
1027
+ font-size: 12px;
1028
+ color: hsl(var(--muted-foreground));
1029
+ }
1030
+ .cbh-chat .cbh-results-foot a {
1031
+ display: inline-flex;
1032
+ align-items: center;
1033
+ gap: 3px;
1034
+ color: #b84100;
1035
+ font-weight: 600;
1036
+ text-decoration: none;
1037
+ white-space: nowrap;
1038
+ }
1039
+ .cbh-chat .cbh-results-foot a:hover {
1040
+ text-decoration: underline;
1041
+ }
1042
+ .cbh-chat .cbh-results-reply:focus-visible,
1043
+ .cbh-chat .cbh-results-out:focus-visible,
1044
+ .cbh-chat .cbh-results-more:focus-visible,
1045
+ .cbh-chat .cbh-results-foot a:focus-visible {
1046
+ outline: 2px solid hsl(var(--ring));
1047
+ outline-offset: 2px;
1048
+ }
1049
+ @media (max-width: 420px) {
1050
+ .cbh-chat .cbh-results-legs {
1051
+ grid-column: 1 / -1;
1052
+ }
1053
+ .cbh-chat .cbh-results-foot-row,
1054
+ .cbh-chat .cbh-results-item .cbh-results-foot-row {
1055
+ padding-left: 0;
1056
+ }
1057
+ .cbh-chat .cbh-results-time {
1058
+ font-size: 14px;
1059
+ }
1060
+ }
1061
+
323
1062
  /* Lucy's chores (ChoresPanel): the header button's count, then the panel - a sheet from the bottom
324
1063
  on a phone, a card hanging under its button on a wider screen (the button's place comes in as
325
1064
  --cbh-chores-top / --cbh-chores-right). */
@@ -780,9 +1519,15 @@ import {jsx}from'react/jsx-runtime';const CHAT_CSS = `
780
1519
  .cbh-chat .cbh-chores,
781
1520
  .cbh-chat .cbh-chores-scrim,
782
1521
  .cbh-chat .cbh-chores-spin,
783
- .cbh-chat .cbh-chores-pulse {
1522
+ .cbh-chat .cbh-chores-pulse,
1523
+ .cbh-chat .cbh-calls,
1524
+ .cbh-chat .cbh-calls-dot,
1525
+ .cbh-chat .cbh-results {
784
1526
  animation: none;
785
1527
  }
1528
+ .cbh-chat .cbh-results-row {
1529
+ transition: none;
1530
+ }
786
1531
  .cbh-chat .cbh-chat-starter,
787
1532
  .cbh-chat .cbh-chat-imsg {
788
1533
  transition: none;