@eyeon/map 2.0.39 → 2.0.43

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 (50) hide show
  1. package/dist/assets/MapViewer.css +1 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/MapViewer.js +3317 -2824
  4. package/dist/chunks/MapViewer.js.map +1 -1
  5. package/dist/chunks/responsive.js +1903 -1685
  6. package/dist/chunks/responsive.js.map +1 -1
  7. package/dist/chunks/wheelZoom.js +37 -37
  8. package/dist/core/hostChrome.d.ts +7 -4
  9. package/dist/core/hostChrome.d.ts.map +1 -1
  10. package/dist/core/index.d.ts +1 -0
  11. package/dist/core/index.d.ts.map +1 -1
  12. package/dist/core/index.js +254 -239
  13. package/dist/core/routing/pathfinding.d.ts +7 -1
  14. package/dist/core/routing/pathfinding.d.ts.map +1 -1
  15. package/dist/core/types.d.ts +7 -0
  16. package/dist/core/types.d.ts.map +1 -1
  17. package/dist/core/verticalTransport.d.ts +37 -0
  18. package/dist/core/verticalTransport.d.ts.map +1 -0
  19. package/dist/core/websiteModal.d.ts +95 -7
  20. package/dist/core/websiteModal.d.ts.map +1 -1
  21. package/dist/editor/MapEditor.d.ts.map +1 -1
  22. package/dist/editor/connectorAssignments.d.ts +42 -5
  23. package/dist/editor/connectorAssignments.d.ts.map +1 -1
  24. package/dist/editor/index.css +703 -150
  25. package/dist/editor/index.js +4544 -4239
  26. package/dist/editor/index.js.map +1 -1
  27. package/dist/editor/labels.d.ts +21 -5
  28. package/dist/editor/labels.d.ts.map +1 -1
  29. package/dist/editor/panels/ConnectorAssign.d.ts +3 -1
  30. package/dist/editor/panels/ConnectorAssign.d.ts.map +1 -1
  31. package/dist/editor/panels/FloorsPanel.d.ts.map +1 -1
  32. package/dist/editor/panels/Inspector.d.ts +8 -3
  33. package/dist/editor/panels/Inspector.d.ts.map +1 -1
  34. package/dist/editor/panels/LeftRail.d.ts.map +1 -1
  35. package/dist/viewer/MapViewer.d.ts +7 -0
  36. package/dist/viewer/MapViewer.d.ts.map +1 -1
  37. package/dist/viewer/camera.d.ts +21 -0
  38. package/dist/viewer/camera.d.ts.map +1 -1
  39. package/dist/viewer/components/CameraRig.d.ts +6 -1
  40. package/dist/viewer/components/CameraRig.d.ts.map +1 -1
  41. package/dist/viewer/components/MapScene.d.ts +3 -1
  42. package/dist/viewer/components/MapScene.d.ts.map +1 -1
  43. package/dist/viewer/index.css +599 -150
  44. package/dist/viewer/index.js +1 -1
  45. package/dist/viewer/ui/MapControls.d.ts.map +1 -1
  46. package/dist/viewer/ui/WebsiteSidebar.d.ts +50 -0
  47. package/dist/viewer/ui/WebsiteSidebar.d.ts.map +1 -0
  48. package/package.json +1 -1
  49. package/dist/viewer/ui/WebsiteInfoModal.d.ts +0 -11
  50. package/dist/viewer/ui/WebsiteInfoModal.d.ts.map +0 -1
@@ -416,12 +416,15 @@
416
416
  display: flex;
417
417
  flex-direction: column;
418
418
  gap: 8px;
419
- width: 94px;
419
+ width: max-content;
420
+ min-width: 94px;
420
421
  }
421
422
 
422
423
  .eyeon-map-controls__floors {
423
424
  display: flex;
424
425
  flex-direction: column;
426
+ gap: 1px;
427
+ background: transparent;
425
428
  }
426
429
 
427
430
  .eyeon-map-controls .eyeon-map-controls__floor,
@@ -433,15 +436,31 @@
433
436
  .eyeon-map-controls .eyeon-map-controls__floor:focus-visible,
434
437
  .eyeon-map-controls .eyeon-map-controls__reset:focus-visible,
435
438
  .eyeon-map-controls .eyeon-map-controls__zoom-btn:focus-visible {
436
- color: #fff;
437
- background-color: #0763b1;
438
439
  border: 0;
440
+ border-radius: 0;
439
441
  box-shadow: none;
440
442
  font-size: 11px;
441
443
  font-weight: 500;
442
444
  letter-spacing: 0.02em;
443
445
  cursor: pointer;
444
- transition: background-color 200ms;
446
+ transition: background-color 200ms, color 200ms;
447
+ }
448
+
449
+ .eyeon-map-controls .eyeon-map-controls__floor,
450
+ .eyeon-map-controls .eyeon-map-controls__floor:focus,
451
+ .eyeon-map-controls .eyeon-map-controls__floor:focus-visible {
452
+ color: #000;
453
+ background-color: #eee;
454
+ }
455
+
456
+ .eyeon-map-controls .eyeon-map-controls__reset,
457
+ .eyeon-map-controls .eyeon-map-controls__reset:focus,
458
+ .eyeon-map-controls .eyeon-map-controls__reset:focus-visible,
459
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn,
460
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn:focus,
461
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn:focus-visible {
462
+ color: #fff;
463
+ background-color: #000;
445
464
  }
446
465
 
447
466
  .eyeon-map-controls__floor,
@@ -452,46 +471,70 @@
452
471
  text-align: center;
453
472
  }
454
473
 
455
- .eyeon-map-controls .eyeon-map-controls__floor:hover,
456
- .eyeon-map-controls .eyeon-map-controls__reset:hover,
457
- .eyeon-map-controls .eyeon-map-controls__zoom-btn:hover {
458
- background-color: #054983;
474
+ .eyeon-map-controls__floor {
475
+ display: flex;
476
+ align-items: center;
477
+ justify-content: flex-start;
478
+ gap: 6px;
479
+ text-align: left;
459
480
  }
460
481
 
461
- .eyeon-map-controls .eyeon-map-controls__floor.is-active,
462
- .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus,
463
- .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus-visible {
464
- background-color: #054983;
465
- cursor: default;
482
+ .eyeon-map-controls__floor-mark {
483
+ display: flex;
484
+ flex: 0 0 14px;
485
+ width: 14px;
486
+ height: 14px;
487
+ opacity: 0;
488
+ pointer-events: none;
466
489
  }
467
490
 
468
- .eyeon-map-controls__floor:first-child {
469
- border-radius: 5px 5px 0 0;
491
+ .eyeon-map-controls__floor.is-active .eyeon-map-controls__floor-mark {
492
+ opacity: 1;
470
493
  }
471
494
 
472
- .eyeon-map-controls__floor:last-child {
473
- border-radius: 0 0 5px 5px;
495
+ .eyeon-map-controls__floor-name {
496
+ white-space: nowrap;
474
497
  }
475
498
 
476
- .eyeon-map-controls__floor:only-child {
477
- border-radius: 5px;
499
+ .eyeon-map-controls .eyeon-map-controls__floor:hover,
500
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active,
501
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active:hover,
502
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus,
503
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus-visible {
504
+ color: #eee;
505
+ background-color: #000;
478
506
  }
479
507
 
480
- .eyeon-map-controls__floor:not(:first-child):not(:last-child) {
481
- border-radius: 0;
508
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active,
509
+ .eyeon-map-controls .eyeon-map-controls__floor.is-active:hover {
510
+ cursor: default;
511
+ }
512
+
513
+ .eyeon-map-controls .eyeon-map-controls__reset:hover,
514
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn:hover {
515
+ color: #000;
516
+ background-color: #eee;
482
517
  }
483
518
 
484
519
  .eyeon-map-controls__reset {
485
- border-radius: 5px;
486
520
  text-transform: uppercase;
487
521
  letter-spacing: 0.05em;
488
522
  }
489
523
 
524
+ .eyeon-map-controls__zoom-reset {
525
+ display: flex;
526
+ flex-direction: column;
527
+ gap: 1px;
528
+ background: transparent;
529
+ }
530
+
490
531
  .eyeon-map-controls__zoom {
491
532
  display: flex;
533
+ gap: 1px;
534
+ background: transparent;
492
535
  }
493
536
 
494
- .eyeon-map-controls__zoom-btn {
537
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn {
495
538
  flex: 1;
496
539
  height: 27px;
497
540
  display: flex;
@@ -502,178 +545,297 @@
502
545
  padding: 0;
503
546
  }
504
547
 
505
- .eyeon-map-controls__zoom-btn:first-child {
506
- border-radius: 5px 0 0 5px;
507
- }
508
-
509
- .eyeon-map-controls__zoom-btn:last-child {
510
- border-radius: 0 5px 5px 0;
548
+ .eyeon-map-sidebar {
549
+ position: absolute;
550
+ z-index: 2;
551
+ top: 0;
552
+ left: 0;
553
+ box-sizing: content-box;
554
+ width: 380px;
555
+ max-height: calc(100% - 36px);
556
+ display: flex;
557
+ flex-direction: column;
558
+ gap: 16px;
559
+ pointer-events: auto;
560
+ /* Padding keeps the outer glow inside the scrollport so it is not clipped. */
561
+ padding: 18px;
562
+ overflow: auto;
563
+ background: transparent;
564
+ border: 0;
565
+ box-shadow: none;
511
566
  }
512
567
 
513
- .eyeon-map-info-modal {
514
- position: fixed;
515
- inset: 0;
516
- z-index: 40;
568
+ .eyeon-map-sidebar__panel {
517
569
  display: flex;
518
- align-items: center;
519
- justify-content: center;
520
- padding: 16px;
521
- background: rgba(15, 23, 42, 0.45);
570
+ flex-direction: column;
571
+ min-width: 0;
572
+ background: rgba(255, 255, 255, 0.8);
573
+ border: 1px solid rgba(197, 206, 217, 0.95);
574
+ border-radius: 0;
575
+ box-shadow: 0 0 12px rgba(15, 23, 42, 0.28);
576
+ overflow: hidden;
522
577
  }
523
578
 
524
- .eyeon-map-info-modal__dialog {
525
- position: relative;
526
- width: min(600px, calc(100vw - 32px));
527
- min-width: min(360px, calc(100vw - 32px));
528
- overflow: visible;
529
- background: #fff;
530
- border-radius: 8px;
531
- box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
579
+ .eyeon-map-sidebar__panel--square,
580
+ .eyeon-map-viewer .eyeon-map-sidebar__panel--square input.eyeon-map-sidebar__search,
581
+ .eyeon-map-viewer .eyeon-map-sidebar__panel--square input.eyeon-map-sidebar__search:hover,
582
+ .eyeon-map-viewer .eyeon-map-sidebar__panel--square input.eyeon-map-sidebar__search:focus,
583
+ .eyeon-map-viewer .eyeon-map-sidebar__panel--square input.eyeon-map-sidebar__search:focus-visible {
584
+ border-radius: 0 !important;
532
585
  }
533
586
 
534
- /*
535
- The store/amenity modal is portaled to document.body, so the
536
- .eyeon-map-viewer button reset does not apply. Hello Elementor and
537
- Elementor kit rules (`button:hover`, `button:focus`) would otherwise
538
- paint the close control with the site accent color.
539
- */
540
- .eyeon-map-info-modal button,
541
- .eyeon-map-info-modal button:hover,
542
- .eyeon-map-info-modal button:focus,
543
- .eyeon-map-info-modal button:focus-visible,
544
- .eyeon-map-info-modal button:active {
545
- outline: none !important;
587
+ .eyeon-map-viewer input.eyeon-map-sidebar__search,
588
+ .eyeon-map-viewer input.eyeon-map-sidebar__search:hover,
589
+ .eyeon-map-viewer input.eyeon-map-sidebar__search:focus,
590
+ .eyeon-map-viewer input.eyeon-map-sidebar__search:focus-visible {
591
+ width: 100%;
592
+ box-sizing: border-box;
593
+ border: 0 !important;
594
+ border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
595
+ border-radius: 0 !important;
596
+ background: transparent !important;
546
597
  box-shadow: none !important;
598
+ outline: none !important;
599
+ padding: 14px 16px;
600
+ font-size: 14px;
601
+ color: #0f172a;
602
+ -webkit-appearance: none !important;
603
+ appearance: none !important;
547
604
  }
548
605
 
549
- .eyeon-map-info-modal button.eyeon-map-info-modal__close,
550
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover,
551
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus,
552
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus-visible,
553
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:active {
554
- position: absolute;
555
- top: 0;
556
- right: 0;
557
- width: 24px;
558
- height: 24px;
559
- padding: 0;
606
+ .eyeon-map-sidebar__results,
607
+ .eyeon-map-sidebar__card {
608
+ background: transparent;
609
+ box-shadow: none;
610
+ }
611
+
612
+ .eyeon-map-sidebar__results {
613
+ display: flex;
614
+ flex-direction: column;
615
+ max-height: 280px;
616
+ overflow: auto;
617
+ }
618
+
619
+ .eyeon-map-sidebar__empty {
620
+ padding: 12px 14px;
621
+ color: #64748b;
622
+ font-size: 13px;
623
+ }
624
+
625
+ .eyeon-map-viewer button.eyeon-map-sidebar__result,
626
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:hover,
627
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:focus,
628
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:focus-visible,
629
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:active {
630
+ display: flex;
631
+ flex-direction: row;
632
+ align-items: center;
633
+ justify-content: space-between;
634
+ gap: 12px;
635
+ width: 100%;
560
636
  border: 0 !important;
637
+ border-radius: 0;
561
638
  background: transparent !important;
562
639
  background-color: transparent !important;
563
640
  color: #000 !important;
564
- transform: translate(50%, -50%);
641
+ padding: 10px 14px !important;
642
+ text-align: left;
565
643
  cursor: pointer;
566
- z-index: 2;
567
- filter: none !important;
644
+ font-size: 14px;
568
645
  }
569
646
 
570
- .eyeon-map-info-modal__close svg {
571
- display: block;
647
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:hover,
648
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:focus,
649
+ .eyeon-map-viewer button.eyeon-map-sidebar__result:focus-visible {
650
+ background: #f1f5f9 !important;
651
+ background-color: #f1f5f9 !important;
572
652
  }
573
653
 
574
- .eyeon-map-info-modal__close svg,
575
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover svg,
576
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus svg {
577
- color: #000 !important;
578
- fill: #000 !important;
654
+ .eyeon-map-sidebar__result-name {
655
+ min-width: 0;
656
+ overflow: hidden;
657
+ font-weight: 600;
658
+ text-overflow: ellipsis;
659
+ white-space: nowrap;
579
660
  }
580
661
 
581
- .eyeon-map-info-modal__close circle {
582
- fill: #000 !important;
662
+ .eyeon-map-sidebar__result-floor {
663
+ flex: 0 0 auto;
664
+ color: #64748b;
665
+ font-size: 12px;
666
+ font-weight: 500;
583
667
  }
584
668
 
585
- .eyeon-map-info-modal__close path {
586
- stroke: #fff !important;
587
- fill: none !important;
669
+ .eyeon-map-sidebar__amenities {
670
+ display: grid;
671
+ grid-template-columns: repeat(5, minmax(0, 1fr));
672
+ gap: 6px;
588
673
  }
589
674
 
590
- .eyeon-map-info-modal__body {
675
+ .eyeon-map-viewer button.eyeon-map-sidebar__amenity,
676
+ .eyeon-map-viewer button.eyeon-map-sidebar__amenity:focus,
677
+ .eyeon-map-viewer button.eyeon-map-sidebar__amenity:focus-visible,
678
+ .eyeon-map-viewer button.eyeon-map-sidebar__amenity:active {
591
679
  display: flex;
592
680
  flex-direction: column;
593
- max-height: min(80vh, 640px);
594
- overflow: hidden;
595
- border-radius: 8px;
681
+ align-items: center;
682
+ justify-content: center;
683
+ gap: 4px;
684
+ aspect-ratio: 1;
685
+ min-width: 0;
686
+ padding: 6px 4px !important;
687
+ border: 0 !important;
688
+ border-radius: 0;
689
+ background: rgba(0, 0, 0, 0.7) !important;
690
+ background-color: rgba(0, 0, 0, 0.7) !important;
691
+ color: #fff !important;
692
+ cursor: pointer;
596
693
  }
597
694
 
598
- .eyeon-map-info-modal__content {
599
- padding: 16px;
600
- overflow: auto;
695
+ .eyeon-map-viewer button.eyeon-map-sidebar__amenity:hover {
696
+ background: rgba(0, 0, 0, 0.9) !important;
697
+ background-color: rgba(0, 0, 0, 0.9) !important;
601
698
  }
602
699
 
603
- .eyeon-map-info-modal__retailer {
700
+ .eyeon-map-sidebar__amenity-icon {
604
701
  display: flex;
605
- flex-direction: column;
606
- gap: 16px;
702
+ align-items: center;
703
+ justify-content: center;
704
+ width: 28px;
705
+ height: 28px;
706
+ flex: 0 0 28px;
707
+ }
708
+
709
+ .eyeon-map-sidebar__amenity-icon svg {
710
+ width: 100%;
711
+ height: 100%;
712
+ }
713
+
714
+ .eyeon-map-sidebar__amenity-name {
715
+ max-width: 100%;
716
+ font-size: 9px;
717
+ font-weight: 600;
718
+ line-height: 1.05;
719
+ letter-spacing: 0.02em;
720
+ text-align: center;
721
+ text-transform: uppercase;
722
+ overflow-wrap: anywhere;
607
723
  }
608
724
 
609
- .eyeon-map-info-modal__logo {
725
+ .eyeon-map-sidebar__card {
726
+ position: relative;
610
727
  display: flex;
611
- justify-content: center;
728
+ flex-direction: column;
729
+ max-height: min(70vh, 520px);
730
+ min-height: 0;
612
731
  }
613
732
 
614
- .eyeon-map-info-modal__logo img {
615
- max-width: 160px;
616
- max-height: 160px;
617
- object-fit: contain;
733
+ .eyeon-map-sidebar__details {
734
+ flex: 1 1 auto;
735
+ min-height: 0;
736
+ padding: 16px 16px 12px;
737
+ overflow: auto;
618
738
  }
619
739
 
620
- .eyeon-map-info-modal__copy {
740
+ .eyeon-map-sidebar__retailer {
621
741
  display: flex;
622
742
  flex-direction: column;
623
- gap: 15px;
743
+ gap: 12px;
624
744
  }
625
745
 
626
- .eyeon-map-info-modal__copy a {
627
- color: #0763b1;
746
+ .eyeon-map-sidebar__copy {
747
+ display: flex;
748
+ flex-direction: column;
749
+ gap: 8px;
628
750
  }
629
751
 
630
- .eyeon-map-info-modal__amenity {
752
+ .eyeon-map-sidebar__meta {
753
+ display: flex;
754
+ flex-direction: column;
755
+ gap: 6px;
756
+ }
757
+
758
+ .eyeon-map-sidebar__title {
631
759
  font-size: 16px;
632
760
  font-weight: 600;
633
761
  }
634
762
 
635
- .eyeon-map-info-modal__form {
763
+ .eyeon-map-viewer .eyeon-map-sidebar__description,
764
+ .eyeon-map-viewer .eyeon-map-sidebar__description > :first-child {
765
+ margin-top: 0 !important;
766
+ }
767
+
768
+ .eyeon-map-viewer .eyeon-map-sidebar__description > :last-child,
769
+ .eyeon-map-viewer .eyeon-map-sidebar__description p:last-child {
770
+ margin-bottom: 0 !important;
771
+ }
772
+
773
+ .eyeon-map-sidebar__logo {
636
774
  display: flex;
637
- align-items: stretch;
638
- gap: 16px;
639
- padding: 16px;
640
- box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
775
+ justify-content: center;
641
776
  }
642
777
 
643
- .eyeon-map-info-modal__form .eyeon-map-select {
644
- flex: 1;
645
- min-width: 0;
778
+ .eyeon-map-sidebar__logo img {
779
+ max-width: 140px;
780
+ max-height: 100px;
781
+ object-fit: contain;
646
782
  }
647
783
 
648
- .eyeon-map-info-modal__sr-only {
784
+ .eyeon-map-viewer .eyeon-map-sidebar__phone,
785
+ .eyeon-map-viewer .eyeon-map-sidebar__phone:hover,
786
+ .eyeon-map-viewer .eyeon-map-sidebar__phone:focus,
787
+ .eyeon-map-viewer .eyeon-map-sidebar__phone:focus-visible {
788
+ color: #0763b1 !important;
789
+ text-decoration: underline;
790
+ cursor: pointer;
791
+ }
792
+
793
+ .eyeon-map-viewer button.eyeon-map-sidebar__close,
794
+ .eyeon-map-viewer button.eyeon-map-sidebar__close:hover,
795
+ .eyeon-map-viewer button.eyeon-map-sidebar__close:focus,
796
+ .eyeon-map-viewer button.eyeon-map-sidebar__close:focus-visible,
797
+ .eyeon-map-viewer button.eyeon-map-sidebar__close:active {
649
798
  position: absolute;
650
- width: 1px;
651
- height: 1px;
652
- padding: 0;
653
- margin: -1px;
654
- overflow: hidden;
655
- clip: rect(0, 0, 0, 0);
656
- white-space: nowrap;
657
- border: 0;
799
+ top: 8px;
800
+ right: 8px;
801
+ z-index: 1;
802
+ display: flex;
803
+ align-items: center;
804
+ justify-content: center;
805
+ width: 28px;
806
+ height: 28px;
807
+ padding: 0 !important;
808
+ border: 0 !important;
809
+ border-radius: 0;
810
+ background: transparent !important;
811
+ background-color: transparent !important;
812
+ color: #000 !important;
813
+ cursor: pointer;
658
814
  }
659
815
 
660
- .eyeon-map-info-modal__map-it-tooltip {
816
+ .eyeon-map-sidebar__directions-cta {
817
+ display: flex;
818
+ justify-content: center;
819
+ align-items: center;
820
+ gap: 8px;
821
+ padding: 4px 16px 16px;
822
+ }
823
+
824
+ .eyeon-map-sidebar__map-it-tooltip {
661
825
  position: relative;
662
826
  display: flex;
663
- align-self: stretch;
664
- flex-shrink: 0;
665
- margin-left: auto;
827
+ flex: 0 0 auto;
666
828
  }
667
829
 
668
- .eyeon-map-info-modal__map-it-tooltip:focus {
830
+ .eyeon-map-sidebar__map-it-tooltip:focus {
669
831
  outline: none;
670
832
  }
671
833
 
672
- .eyeon-map-info-modal__map-it-tooltip .eyeon-map-info-modal__map-it:disabled {
834
+ .eyeon-map-sidebar__map-it-tooltip .eyeon-map-sidebar__get-directions:disabled {
673
835
  pointer-events: none;
674
836
  }
675
837
 
676
- .eyeon-map-info-modal__map-it-tooltip[data-tooltip]::after {
838
+ .eyeon-map-sidebar__map-it-tooltip[data-tooltip]::after {
677
839
  content: attr(data-tooltip);
678
840
  position: absolute;
679
841
  z-index: 2;
@@ -687,7 +849,6 @@
687
849
  font-size: 12px;
688
850
  font-weight: 600;
689
851
  line-height: 1.3;
690
- letter-spacing: 0.01em;
691
852
  white-space: nowrap;
692
853
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
693
854
  opacity: 0;
@@ -695,41 +856,329 @@
695
856
  pointer-events: none;
696
857
  }
697
858
 
698
- .eyeon-map-info-modal__map-it-tooltip[data-tooltip]:hover::after,
699
- .eyeon-map-info-modal__map-it-tooltip[data-tooltip]:focus-within::after {
859
+ .eyeon-map-sidebar__map-it-tooltip[data-tooltip]:hover::after,
860
+ .eyeon-map-sidebar__map-it-tooltip[data-tooltip]:focus-within::after {
700
861
  opacity: 1;
701
862
  visibility: visible;
702
863
  }
703
864
 
704
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it,
705
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:hover,
706
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus,
707
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus-visible,
708
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:active {
865
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions,
866
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:focus,
867
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:focus-visible,
868
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:active,
869
+ .eyeon-map-viewer a.eyeon-map-sidebar__more-details,
870
+ .eyeon-map-viewer a.eyeon-map-sidebar__more-details:focus,
871
+ .eyeon-map-viewer a.eyeon-map-sidebar__more-details:focus-visible,
872
+ .eyeon-map-viewer a.eyeon-map-sidebar__more-details:active {
709
873
  box-sizing: border-box !important;
710
- flex-shrink: 0;
711
- align-self: stretch;
712
- min-height: 34px !important;
713
- height: 100% !important;
714
- background: #0763b1 !important;
715
- background-color: #0763b1 !important;
874
+ min-height: 27px !important;
875
+ height: 27px !important;
876
+ background: rgba(0, 0, 0, 0.8) !important;
877
+ background-color: rgba(0, 0, 0, 0.8) !important;
716
878
  color: #fff !important;
717
879
  border: 0 !important;
718
- padding: 0 16px !important;
719
- border-radius: 4px;
880
+ border-radius: 0 !important;
881
+ display: inline-flex;
882
+ align-items: center;
883
+ justify-content: center;
884
+ padding: 6px 10px !important;
720
885
  cursor: pointer;
721
- font-size: 16px;
886
+ font-size: 11px;
722
887
  font-weight: 500;
723
- line-height: 34px;
888
+ letter-spacing: 0.05em;
889
+ line-height: 15px;
890
+ text-decoration: none !important;
891
+ text-transform: uppercase;
724
892
  white-space: nowrap;
725
- opacity: 1 !important;
726
893
  }
727
894
 
728
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled,
729
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:hover,
730
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:focus {
895
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:hover,
896
+ .eyeon-map-viewer a.eyeon-map-sidebar__more-details:hover {
897
+ background: rgba(0, 0, 0, 0.9) !important;
898
+ background-color: rgba(0, 0, 0, 0.9) !important;
899
+ color: #fff !important;
900
+ }
901
+
902
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:disabled,
903
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:disabled:hover,
904
+ .eyeon-map-viewer button.eyeon-map-sidebar__get-directions:disabled:focus {
731
905
  opacity: 0.45 !important;
732
906
  cursor: default;
907
+ background: rgba(0, 0, 0, 0.8) !important;
908
+ background-color: rgba(0, 0, 0, 0.8) !important;
909
+ color: #fff !important;
910
+ }
911
+
912
+ .eyeon-map-sidebar__directions {
913
+ position: relative;
914
+ display: flex;
915
+ flex-direction: column;
916
+ padding: 12px;
917
+ }
918
+
919
+ .eyeon-map-sidebar__directions-head {
920
+ display: flex;
921
+ align-items: center;
922
+ gap: 10px;
923
+ min-height: 28px;
924
+ margin-bottom: 10px;
925
+ padding-right: 32px;
926
+ }
927
+
928
+ .eyeon-map-sidebar__directions-title {
929
+ flex: 0 0 auto;
930
+ font-size: 15px;
931
+ font-weight: 600;
932
+ letter-spacing: -0.01em;
933
+ }
934
+
935
+ .eyeon-map-sidebar__directions-using {
936
+ margin-left: 0.35em;
937
+ font-weight: 500;
938
+ }
939
+
940
+ .eyeon-map-sidebar__transport {
941
+ display: inline-flex;
942
+ align-items: stretch;
943
+ flex: 0 1 auto;
944
+ min-width: 0;
945
+ border: 1px solid #c5ced9;
946
+ background: #fff;
947
+ }
948
+
949
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option,
950
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:hover,
951
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:focus,
952
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:focus-visible,
953
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:active {
954
+ display: inline-flex;
955
+ align-items: center;
956
+ gap: 4px;
957
+ height: 26px;
958
+ margin: 0;
959
+ padding: 0 8px !important;
960
+ border: 0 !important;
961
+ border-radius: 0 !important;
962
+ background: transparent !important;
963
+ background-color: transparent !important;
964
+ box-shadow: none !important;
965
+ color: #0f172a !important;
966
+ font-size: 11px;
967
+ font-weight: 600;
968
+ line-height: 1;
969
+ letter-spacing: 0;
970
+ text-transform: none;
971
+ white-space: nowrap;
972
+ cursor: pointer;
973
+ }
974
+
975
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option + button.eyeon-map-sidebar__transport-option {
976
+ border-left: 1px solid #c5ced9 !important;
977
+ }
978
+
979
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected,
980
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:hover,
981
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:focus,
982
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:focus-visible,
983
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:active {
984
+ background: rgba(0, 0, 0, 0.8) !important;
985
+ background-color: rgba(0, 0, 0, 0.8) !important;
986
+ color: #fff !important;
987
+ }
988
+
989
+ .eyeon-map-sidebar__transport-icon {
990
+ display: flex;
991
+ align-items: center;
992
+ justify-content: center;
993
+ width: 14px;
994
+ height: 14px;
995
+ flex: 0 0 14px;
996
+ }
997
+
998
+ .eyeon-map-sidebar__transport-icon svg {
999
+ display: block;
1000
+ width: 14px;
1001
+ height: 14px;
1002
+ }
1003
+
1004
+ .eyeon-map-sidebar__directions-row {
1005
+ position: relative;
1006
+ }
1007
+
1008
+ .eyeon-map-sidebar__route-error {
1009
+ margin-top: 8px;
1010
+ color: #b42318;
1011
+ font-size: 12px;
1012
+ font-weight: 600;
1013
+ line-height: 1.35;
1014
+ }
1015
+
1016
+ .eyeon-map-sidebar__directions-row .eyeon-map-sidebar__swap {
1017
+ position: absolute;
1018
+ top: 50%;
1019
+ right: 8px;
1020
+ z-index: 2;
1021
+ transform: translateY(-50%);
1022
+ }
1023
+
1024
+ .eyeon-map-sidebar__directions-fields {
1025
+ position: relative;
1026
+ width: 100%;
1027
+ min-width: 0;
1028
+ display: flex;
1029
+ flex-direction: column;
1030
+ border: 1px solid #d5dbe3;
1031
+ border-radius: 0;
1032
+ background: #fff;
1033
+ overflow: hidden;
1034
+ }
1035
+
1036
+ .eyeon-map-sidebar__direction-line {
1037
+ position: absolute;
1038
+ z-index: 0;
1039
+ top: 32px;
1040
+ left: 20px;
1041
+ width: 0;
1042
+ height: 32px;
1043
+ border-left: 2px dashed #0763b1;
1044
+ pointer-events: none;
1045
+ }
1046
+
1047
+ .eyeon-map-sidebar__direction-field {
1048
+ display: grid;
1049
+ grid-template-columns: 16px minmax(0, 1fr) auto;
1050
+ gap: 8px;
1051
+ align-items: center;
1052
+ padding: 8px 44px 8px 12px;
1053
+ }
1054
+
1055
+ .eyeon-map-sidebar__direction-field + .eyeon-map-sidebar__direction-field {
1056
+ border-top: 1px solid #e6ebf1;
1057
+ }
1058
+
1059
+ .eyeon-map-sidebar__direction-mark {
1060
+ position: relative;
1061
+ z-index: 1;
1062
+ width: 9px;
1063
+ height: 9px;
1064
+ justify-self: center;
1065
+ box-sizing: border-box;
1066
+ border: 2px solid #0763b1;
1067
+ border-radius: 50%;
1068
+ background: #fff;
1069
+ }
1070
+
1071
+ .eyeon-map-sidebar__direction-mark--to {
1072
+ background: #0763b1;
1073
+ }
1074
+
1075
+ .eyeon-map-sidebar__direction-arrow {
1076
+ position: absolute;
1077
+ left: -1px;
1078
+ bottom: 2px;
1079
+ z-index: 1;
1080
+ width: 0;
1081
+ height: 0;
1082
+ border-left: 3.5px solid transparent;
1083
+ border-right: 3.5px solid transparent;
1084
+ border-top: 5px solid #0763b1;
1085
+ transform: translateX(-50%);
1086
+ }
1087
+
1088
+ .eyeon-map-sidebar__direction-copy {
1089
+ display: flex;
1090
+ flex-direction: column;
1091
+ gap: 1px;
1092
+ min-width: 0;
1093
+ }
1094
+
1095
+ .eyeon-map-sidebar__direction-label {
1096
+ color: #64748b;
1097
+ font-size: 10px;
1098
+ font-weight: 700;
1099
+ letter-spacing: 0.06em;
1100
+ text-transform: uppercase;
1101
+ }
1102
+
1103
+ .eyeon-map-sidebar__direction-value,
1104
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input,
1105
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:hover,
1106
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:focus,
1107
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:focus-visible {
1108
+ width: 100%;
1109
+ min-width: 0;
1110
+ margin: 0;
1111
+ padding: 0 !important;
1112
+ border: 0 !important;
1113
+ border-radius: 0 !important;
1114
+ outline: none !important;
1115
+ background: transparent !important;
1116
+ box-shadow: none !important;
1117
+ color: #0f172a !important;
1118
+ font-size: 14px;
1119
+ font-weight: 600;
1120
+ line-height: 1.3;
1121
+ -webkit-appearance: none;
1122
+ appearance: none;
1123
+ }
1124
+
1125
+ .eyeon-map-sidebar__direction-input::placeholder {
1126
+ color: #94a3b8;
1127
+ font-weight: 500;
1128
+ }
1129
+
1130
+ .eyeon-map-sidebar__direction-floor {
1131
+ color: #64748b;
1132
+ font-size: 12px;
1133
+ font-weight: 500;
1134
+ white-space: nowrap;
1135
+ }
1136
+
1137
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap,
1138
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:hover,
1139
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus,
1140
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus-visible,
1141
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:active {
1142
+ align-self: center;
1143
+ display: flex;
1144
+ align-items: center;
1145
+ justify-content: center;
1146
+ flex: 0 0 32px;
1147
+ width: 32px !important;
1148
+ height: 32px !important;
1149
+ padding: 0 !important;
1150
+ border: 1px solid #d5dbe3 !important;
1151
+ border-radius: 999px !important;
1152
+ background: #fff !important;
1153
+ background-color: #fff !important;
1154
+ color: #0f172a !important;
1155
+ box-shadow: none !important;
1156
+ cursor: pointer;
1157
+ }
1158
+
1159
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:hover,
1160
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus,
1161
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus-visible {
1162
+ border-color: #0763b1 !important;
1163
+ color: #0763b1 !important;
1164
+ background: #f8fafc !important;
1165
+ background-color: #f8fafc !important;
1166
+ }
1167
+
1168
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled,
1169
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled:hover,
1170
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled:focus {
1171
+ opacity: 0.4 !important;
1172
+ cursor: default;
1173
+ border-color: #d5dbe3 !important;
1174
+ color: #0f172a !important;
1175
+ background: #fff !important;
1176
+ background-color: #fff !important;
1177
+ }
1178
+
1179
+ .eyeon-map-sidebar__directions .eyeon-map-sidebar__results {
1180
+ margin: 8px -12px 0;
1181
+ max-height: 240px;
733
1182
  }
734
1183
 
735
1184
  .eyeon-map-route-change {
@@ -1151,6 +1600,110 @@
1151
1600
  gap: 4px;
1152
1601
  }
1153
1602
 
1603
+ .eyeon-map-rail__ride {
1604
+ display: flex;
1605
+ align-items: flex-start;
1606
+ gap: 8px;
1607
+ width: 100%;
1608
+ padding: 7px 8px;
1609
+ border: 0;
1610
+ border-radius: 6px;
1611
+ background: transparent;
1612
+ color: inherit;
1613
+ font: inherit;
1614
+ text-align: left;
1615
+ cursor: pointer;
1616
+ }
1617
+
1618
+ .eyeon-map-rail__ride:hover,
1619
+ .eyeon-map-rail__ride.is-active {
1620
+ background: #f1f5f9;
1621
+ }
1622
+
1623
+ .eyeon-map-rail__ride .eyeon-map-rail__row-icon {
1624
+ margin-top: 2px;
1625
+ }
1626
+
1627
+ .eyeon-map-rail__ride .eyeon-map-rail__row-copy {
1628
+ gap: 2px;
1629
+ }
1630
+
1631
+ .eyeon-map-rail__stop {
1632
+ display: flex;
1633
+ align-items: center;
1634
+ justify-content: space-between;
1635
+ gap: 8px;
1636
+ width: 100%;
1637
+ min-width: 0;
1638
+ padding: 2px 0;
1639
+ }
1640
+
1641
+ .eyeon-map-connector__stops {
1642
+ display: flex;
1643
+ flex-direction: column;
1644
+ gap: 4px;
1645
+ }
1646
+
1647
+ .eyeon-map-connector__stop {
1648
+ display: flex;
1649
+ align-items: center;
1650
+ gap: 8px;
1651
+ min-width: 0;
1652
+ min-height: 28px;
1653
+ border-radius: 6px;
1654
+ }
1655
+
1656
+ .eyeon-map-connector__stop.is-active {
1657
+ background: #f1f5f9;
1658
+ }
1659
+
1660
+ .eyeon-map-connector__stop-hit {
1661
+ display: flex;
1662
+ align-items: center;
1663
+ gap: 8px;
1664
+ flex: 1;
1665
+ min-width: 0;
1666
+ border: 0;
1667
+ background: transparent;
1668
+ color: inherit;
1669
+ font: inherit;
1670
+ text-align: left;
1671
+ cursor: pointer;
1672
+ padding: 2px 4px;
1673
+ border-radius: 6px;
1674
+ }
1675
+
1676
+ .eyeon-map-connector__stop-hit:hover {
1677
+ background: #f1f5f9;
1678
+ }
1679
+
1680
+ .eyeon-map-connector__stop .eyeon-map-rail__row-id {
1681
+ flex: 0 1 auto;
1682
+ }
1683
+
1684
+ .eyeon-map-connector__remove {
1685
+ display: inline-flex;
1686
+ align-items: center;
1687
+ justify-content: center;
1688
+ width: 28px;
1689
+ height: 28px;
1690
+ margin-left: auto;
1691
+ border: 0;
1692
+ border-radius: 6px;
1693
+ background: transparent;
1694
+ color: #dc2626;
1695
+ cursor: pointer;
1696
+ flex-shrink: 0;
1697
+ }
1698
+
1699
+ .eyeon-map-connector__remove:hover {
1700
+ background: rgba(220, 38, 38, 0.1);
1701
+ }
1702
+
1703
+ .eyeon-map-connector__fields {
1704
+ margin-top: 16px;
1705
+ }
1706
+
1154
1707
  .eyeon-map-rail__row.is-active,
1155
1708
  .eyeon-map-rail__row:hover {
1156
1709
  background: #f1f5f9;