@eyeon/map 2.0.36 → 2.0.41

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 (54) hide show
  1. package/dist/assets/MapViewer.css +1 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/basemap/GoogleBasemap.d.ts +18 -0
  4. package/dist/basemap/GoogleBasemap.d.ts.map +1 -0
  5. package/dist/basemap/SurroundingsPanel.d.ts +14 -0
  6. package/dist/basemap/SurroundingsPanel.d.ts.map +1 -0
  7. package/dist/basemap/googleMaps.d.ts +98 -0
  8. package/dist/basemap/googleMaps.d.ts.map +1 -0
  9. package/dist/chunks/MapViewer.js +3163 -2536
  10. package/dist/chunks/MapViewer.js.map +1 -1
  11. package/dist/chunks/responsive.js +1400 -1266
  12. package/dist/chunks/responsive.js.map +1 -1
  13. package/dist/chunks/wheelZoom.js +28 -28
  14. package/dist/core/georeference.d.ts +19 -0
  15. package/dist/core/georeference.d.ts.map +1 -0
  16. package/dist/core/hostChrome.d.ts +7 -4
  17. package/dist/core/hostChrome.d.ts.map +1 -1
  18. package/dist/core/index.d.ts +1 -0
  19. package/dist/core/index.d.ts.map +1 -1
  20. package/dist/core/index.js +189 -178
  21. package/dist/core/publish/index.d.ts +2 -0
  22. package/dist/core/publish/index.d.ts.map +1 -1
  23. package/dist/core/types.d.ts +20 -4
  24. package/dist/core/types.d.ts.map +1 -1
  25. package/dist/core/websiteModal.d.ts +47 -1
  26. package/dist/core/websiteModal.d.ts.map +1 -1
  27. package/dist/editor/MapEditor.d.ts +7 -1
  28. package/dist/editor/MapEditor.d.ts.map +1 -1
  29. package/dist/editor/draftOps.d.ts +2 -1
  30. package/dist/editor/draftOps.d.ts.map +1 -1
  31. package/dist/editor/index.css +695 -152
  32. package/dist/editor/index.js +5083 -4675
  33. package/dist/editor/index.js.map +1 -1
  34. package/dist/editor/panels/LeftRail.d.ts +5 -2
  35. package/dist/editor/panels/LeftRail.d.ts.map +1 -1
  36. package/dist/editor/panels/PreviewOverlay.d.ts +8 -2
  37. package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
  38. package/dist/editor/previewDocument.d.ts.map +1 -1
  39. package/dist/viewer/MapViewer.d.ts +13 -0
  40. package/dist/viewer/MapViewer.d.ts.map +1 -1
  41. package/dist/viewer/camera.d.ts +21 -0
  42. package/dist/viewer/camera.d.ts.map +1 -1
  43. package/dist/viewer/components/CameraRig.d.ts +8 -1
  44. package/dist/viewer/components/CameraRig.d.ts.map +1 -1
  45. package/dist/viewer/components/MapScene.d.ts +6 -1
  46. package/dist/viewer/components/MapScene.d.ts.map +1 -1
  47. package/dist/viewer/index.css +541 -151
  48. package/dist/viewer/index.js +1 -1
  49. package/dist/viewer/ui/MapControls.d.ts.map +1 -1
  50. package/dist/viewer/ui/WebsiteSidebar.d.ts +35 -0
  51. package/dist/viewer/ui/WebsiteSidebar.d.ts.map +1 -0
  52. package/package.json +1 -1
  53. package/dist/viewer/ui/WebsiteInfoModal.d.ts +0 -11
  54. package/dist/viewer/ui/WebsiteInfoModal.d.ts.map +0 -1
@@ -4,7 +4,7 @@
4
4
  height: 100%;
5
5
  min-height: 320px;
6
6
  overflow: hidden;
7
- background: var(--map-bg, #FFFFFF);
7
+ background: var(--map-bg, transparent);
8
8
  font-family: var(--eyeon-map-font-family, 'Montserrat', sans-serif);
9
9
  font-size: 13px;
10
10
  color: #0f172a;
@@ -35,9 +35,29 @@
35
35
  outline: none !important;
36
36
  }
37
37
 
38
+ .eyeon-map-viewer__basemap {
39
+ position: absolute;
40
+ inset: 0;
41
+ z-index: 0;
42
+ }
43
+
44
+ .eyeon-map-viewer__basemap,
45
+ .eyeon-map-viewer__basemap * {
46
+ pointer-events: none !important;
47
+ }
48
+
49
+ .eyeon-map-viewer__basemap .eyeon-map-surroundings__map,
50
+ .eyeon-map-viewer__basemap .eyeon-map-surroundings__map-canvas {
51
+ position: absolute;
52
+ inset: 0;
53
+ width: 100%;
54
+ height: 100%;
55
+ }
56
+
38
57
  .eyeon-map-viewer__canvas {
39
58
  position: absolute;
40
59
  inset: 0;
60
+ z-index: 1;
41
61
  cursor: grab;
42
62
  touch-action: none;
43
63
  overscroll-behavior: none;
@@ -396,12 +416,15 @@
396
416
  display: flex;
397
417
  flex-direction: column;
398
418
  gap: 8px;
399
- width: 94px;
419
+ width: max-content;
420
+ min-width: 94px;
400
421
  }
401
422
 
402
423
  .eyeon-map-controls__floors {
403
424
  display: flex;
404
425
  flex-direction: column;
426
+ gap: 1px;
427
+ background: transparent;
405
428
  }
406
429
 
407
430
  .eyeon-map-controls .eyeon-map-controls__floor,
@@ -413,15 +436,31 @@
413
436
  .eyeon-map-controls .eyeon-map-controls__floor:focus-visible,
414
437
  .eyeon-map-controls .eyeon-map-controls__reset:focus-visible,
415
438
  .eyeon-map-controls .eyeon-map-controls__zoom-btn:focus-visible {
416
- color: #fff;
417
- background-color: #0763b1;
418
439
  border: 0;
440
+ border-radius: 0;
419
441
  box-shadow: none;
420
442
  font-size: 11px;
421
443
  font-weight: 500;
422
444
  letter-spacing: 0.02em;
423
445
  cursor: pointer;
424
- 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;
425
464
  }
426
465
 
427
466
  .eyeon-map-controls__floor,
@@ -432,46 +471,70 @@
432
471
  text-align: center;
433
472
  }
434
473
 
435
- .eyeon-map-controls .eyeon-map-controls__floor:hover,
436
- .eyeon-map-controls .eyeon-map-controls__reset:hover,
437
- .eyeon-map-controls .eyeon-map-controls__zoom-btn:hover {
438
- 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;
439
480
  }
440
481
 
441
- .eyeon-map-controls .eyeon-map-controls__floor.is-active,
442
- .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus,
443
- .eyeon-map-controls .eyeon-map-controls__floor.is-active:focus-visible {
444
- background-color: #054983;
445
- 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;
446
489
  }
447
490
 
448
- .eyeon-map-controls__floor:first-child {
449
- border-radius: 5px 5px 0 0;
491
+ .eyeon-map-controls__floor.is-active .eyeon-map-controls__floor-mark {
492
+ opacity: 1;
450
493
  }
451
494
 
452
- .eyeon-map-controls__floor:last-child {
453
- border-radius: 0 0 5px 5px;
495
+ .eyeon-map-controls__floor-name {
496
+ white-space: nowrap;
454
497
  }
455
498
 
456
- .eyeon-map-controls__floor:only-child {
457
- 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;
458
506
  }
459
507
 
460
- .eyeon-map-controls__floor:not(:first-child):not(:last-child) {
461
- 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;
462
517
  }
463
518
 
464
519
  .eyeon-map-controls__reset {
465
- border-radius: 5px;
466
520
  text-transform: uppercase;
467
521
  letter-spacing: 0.05em;
468
522
  }
469
523
 
524
+ .eyeon-map-controls__zoom-reset {
525
+ display: flex;
526
+ flex-direction: column;
527
+ gap: 1px;
528
+ background: transparent;
529
+ }
530
+
470
531
  .eyeon-map-controls__zoom {
471
532
  display: flex;
533
+ gap: 1px;
534
+ background: transparent;
472
535
  }
473
536
 
474
- .eyeon-map-controls__zoom-btn {
537
+ .eyeon-map-controls .eyeon-map-controls__zoom-btn {
475
538
  flex: 1;
476
539
  height: 27px;
477
540
  display: flex;
@@ -482,178 +545,297 @@
482
545
  padding: 0;
483
546
  }
484
547
 
485
- .eyeon-map-controls__zoom-btn:first-child {
486
- border-radius: 5px 0 0 5px;
487
- }
488
-
489
- .eyeon-map-controls__zoom-btn:last-child {
490
- 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;
491
566
  }
492
567
 
493
- .eyeon-map-info-modal {
494
- position: fixed;
495
- inset: 0;
496
- z-index: 40;
568
+ .eyeon-map-sidebar__panel {
497
569
  display: flex;
498
- align-items: center;
499
- justify-content: center;
500
- padding: 16px;
501
- 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;
502
577
  }
503
578
 
504
- .eyeon-map-info-modal__dialog {
505
- position: relative;
506
- width: min(600px, calc(100vw - 32px));
507
- min-width: min(360px, calc(100vw - 32px));
508
- overflow: visible;
509
- background: #fff;
510
- border-radius: 8px;
511
- 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;
512
585
  }
513
586
 
514
- /*
515
- The store/amenity modal is portaled to document.body, so the
516
- .eyeon-map-viewer button reset does not apply. Hello Elementor and
517
- Elementor kit rules (`button:hover`, `button:focus`) would otherwise
518
- paint the close control with the site accent color.
519
- */
520
- .eyeon-map-info-modal button,
521
- .eyeon-map-info-modal button:hover,
522
- .eyeon-map-info-modal button:focus,
523
- .eyeon-map-info-modal button:focus-visible,
524
- .eyeon-map-info-modal button:active {
525
- 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;
526
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;
527
604
  }
528
605
 
529
- .eyeon-map-info-modal button.eyeon-map-info-modal__close,
530
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover,
531
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus,
532
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus-visible,
533
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:active {
534
- position: absolute;
535
- top: 0;
536
- right: 0;
537
- width: 24px;
538
- height: 24px;
539
- 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%;
540
636
  border: 0 !important;
637
+ border-radius: 0;
541
638
  background: transparent !important;
542
639
  background-color: transparent !important;
543
640
  color: #000 !important;
544
- transform: translate(50%, -50%);
641
+ padding: 10px 14px !important;
642
+ text-align: left;
545
643
  cursor: pointer;
546
- z-index: 2;
547
- filter: none !important;
644
+ font-size: 14px;
548
645
  }
549
646
 
550
- .eyeon-map-info-modal__close svg {
551
- 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;
552
652
  }
553
653
 
554
- .eyeon-map-info-modal__close svg,
555
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover svg,
556
- .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus svg {
557
- color: #000 !important;
558
- 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;
559
660
  }
560
661
 
561
- .eyeon-map-info-modal__close circle {
562
- 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;
563
667
  }
564
668
 
565
- .eyeon-map-info-modal__close path {
566
- stroke: #fff !important;
567
- fill: none !important;
669
+ .eyeon-map-sidebar__amenities {
670
+ display: grid;
671
+ grid-template-columns: repeat(5, minmax(0, 1fr));
672
+ gap: 6px;
568
673
  }
569
674
 
570
- .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 {
571
679
  display: flex;
572
680
  flex-direction: column;
573
- max-height: min(80vh, 640px);
574
- overflow: hidden;
575
- 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.8) !important;
690
+ background-color: rgba(0, 0, 0, 0.8) !important;
691
+ color: #fff !important;
692
+ cursor: pointer;
576
693
  }
577
694
 
578
- .eyeon-map-info-modal__content {
579
- padding: 16px;
580
- 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;
581
698
  }
582
699
 
583
- .eyeon-map-info-modal__retailer {
700
+ .eyeon-map-sidebar__amenity-icon {
584
701
  display: flex;
585
- flex-direction: column;
586
- 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%;
587
712
  }
588
713
 
589
- .eyeon-map-info-modal__logo {
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;
723
+ }
724
+
725
+ .eyeon-map-sidebar__card {
726
+ position: relative;
590
727
  display: flex;
591
- justify-content: center;
728
+ flex-direction: column;
729
+ max-height: min(70vh, 520px);
730
+ min-height: 0;
592
731
  }
593
732
 
594
- .eyeon-map-info-modal__logo img {
595
- max-width: 160px;
596
- max-height: 160px;
597
- 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;
598
738
  }
599
739
 
600
- .eyeon-map-info-modal__copy {
740
+ .eyeon-map-sidebar__retailer {
601
741
  display: flex;
602
742
  flex-direction: column;
603
- gap: 15px;
743
+ gap: 12px;
604
744
  }
605
745
 
606
- .eyeon-map-info-modal__copy a {
607
- color: #0763b1;
746
+ .eyeon-map-sidebar__copy {
747
+ display: flex;
748
+ flex-direction: column;
749
+ gap: 8px;
750
+ }
751
+
752
+ .eyeon-map-sidebar__meta {
753
+ display: flex;
754
+ flex-direction: column;
755
+ gap: 6px;
608
756
  }
609
757
 
610
- .eyeon-map-info-modal__amenity {
758
+ .eyeon-map-sidebar__title {
611
759
  font-size: 16px;
612
760
  font-weight: 600;
613
761
  }
614
762
 
615
- .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 {
616
774
  display: flex;
617
- align-items: stretch;
618
- gap: 16px;
619
- padding: 16px;
620
- box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
775
+ justify-content: center;
621
776
  }
622
777
 
623
- .eyeon-map-info-modal__form .eyeon-map-select {
624
- flex: 1;
625
- min-width: 0;
778
+ .eyeon-map-sidebar__logo img {
779
+ max-width: 140px;
780
+ max-height: 100px;
781
+ object-fit: contain;
782
+ }
783
+
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;
626
791
  }
627
792
 
628
- .eyeon-map-info-modal__sr-only {
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 {
629
798
  position: absolute;
630
- width: 1px;
631
- height: 1px;
632
- padding: 0;
633
- margin: -1px;
634
- overflow: hidden;
635
- clip: rect(0, 0, 0, 0);
636
- white-space: nowrap;
637
- 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;
814
+ }
815
+
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;
638
822
  }
639
823
 
640
- .eyeon-map-info-modal__map-it-tooltip {
824
+ .eyeon-map-sidebar__map-it-tooltip {
641
825
  position: relative;
642
826
  display: flex;
643
- align-self: stretch;
644
- flex-shrink: 0;
645
- margin-left: auto;
827
+ flex: 0 0 auto;
646
828
  }
647
829
 
648
- .eyeon-map-info-modal__map-it-tooltip:focus {
830
+ .eyeon-map-sidebar__map-it-tooltip:focus {
649
831
  outline: none;
650
832
  }
651
833
 
652
- .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 {
653
835
  pointer-events: none;
654
836
  }
655
837
 
656
- .eyeon-map-info-modal__map-it-tooltip[data-tooltip]::after {
838
+ .eyeon-map-sidebar__map-it-tooltip[data-tooltip]::after {
657
839
  content: attr(data-tooltip);
658
840
  position: absolute;
659
841
  z-index: 2;
@@ -667,7 +849,6 @@
667
849
  font-size: 12px;
668
850
  font-weight: 600;
669
851
  line-height: 1.3;
670
- letter-spacing: 0.01em;
671
852
  white-space: nowrap;
672
853
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
673
854
  opacity: 0;
@@ -675,41 +856,250 @@
675
856
  pointer-events: none;
676
857
  }
677
858
 
678
- .eyeon-map-info-modal__map-it-tooltip[data-tooltip]:hover::after,
679
- .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 {
680
861
  opacity: 1;
681
862
  visibility: visible;
682
863
  }
683
864
 
684
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it,
685
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:hover,
686
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus,
687
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus-visible,
688
- .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 {
689
873
  box-sizing: border-box !important;
690
- flex-shrink: 0;
691
- align-self: stretch;
692
- min-height: 34px !important;
693
- height: 100% !important;
694
- background: #0763b1 !important;
695
- 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;
696
878
  color: #fff !important;
697
879
  border: 0 !important;
698
- padding: 0 16px !important;
699
- 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;
700
885
  cursor: pointer;
701
- font-size: 16px;
886
+ font-size: 11px;
702
887
  font-weight: 500;
703
- line-height: 34px;
888
+ letter-spacing: 0.05em;
889
+ line-height: 15px;
890
+ text-decoration: none !important;
891
+ text-transform: uppercase;
704
892
  white-space: nowrap;
705
- opacity: 1 !important;
706
893
  }
707
894
 
708
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled,
709
- .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:hover,
710
- .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 {
711
905
  opacity: 0.45 !important;
712
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
+ min-height: 28px;
923
+ margin-bottom: 10px;
924
+ padding-right: 32px;
925
+ }
926
+
927
+ .eyeon-map-sidebar__directions-title {
928
+ font-size: 15px;
929
+ font-weight: 600;
930
+ letter-spacing: -0.01em;
931
+ }
932
+
933
+ .eyeon-map-sidebar__directions-row {
934
+ position: relative;
935
+ }
936
+
937
+ .eyeon-map-sidebar__directions-row .eyeon-map-sidebar__swap {
938
+ position: absolute;
939
+ top: 50%;
940
+ right: 8px;
941
+ z-index: 2;
942
+ transform: translateY(-50%);
943
+ }
944
+
945
+ .eyeon-map-sidebar__directions-fields {
946
+ position: relative;
947
+ width: 100%;
948
+ min-width: 0;
949
+ display: flex;
950
+ flex-direction: column;
951
+ border: 1px solid #d5dbe3;
952
+ border-radius: 0;
953
+ background: #fff;
954
+ overflow: hidden;
955
+ }
956
+
957
+ .eyeon-map-sidebar__direction-line {
958
+ position: absolute;
959
+ z-index: 0;
960
+ top: 32px;
961
+ left: 20px;
962
+ width: 0;
963
+ height: 32px;
964
+ border-left: 2px dashed #0763b1;
965
+ pointer-events: none;
966
+ }
967
+
968
+ .eyeon-map-sidebar__direction-field {
969
+ display: grid;
970
+ grid-template-columns: 16px minmax(0, 1fr) auto;
971
+ gap: 8px;
972
+ align-items: center;
973
+ padding: 8px 44px 8px 12px;
974
+ }
975
+
976
+ .eyeon-map-sidebar__direction-field + .eyeon-map-sidebar__direction-field {
977
+ border-top: 1px solid #e6ebf1;
978
+ }
979
+
980
+ .eyeon-map-sidebar__direction-mark {
981
+ position: relative;
982
+ z-index: 1;
983
+ width: 9px;
984
+ height: 9px;
985
+ justify-self: center;
986
+ box-sizing: border-box;
987
+ border: 2px solid #0763b1;
988
+ border-radius: 50%;
989
+ background: #fff;
990
+ }
991
+
992
+ .eyeon-map-sidebar__direction-mark--to {
993
+ background: #0763b1;
994
+ }
995
+
996
+ .eyeon-map-sidebar__direction-arrow {
997
+ position: absolute;
998
+ left: -1px;
999
+ bottom: 2px;
1000
+ z-index: 1;
1001
+ width: 0;
1002
+ height: 0;
1003
+ border-left: 3.5px solid transparent;
1004
+ border-right: 3.5px solid transparent;
1005
+ border-top: 5px solid #0763b1;
1006
+ transform: translateX(-50%);
1007
+ }
1008
+
1009
+ .eyeon-map-sidebar__direction-copy {
1010
+ display: flex;
1011
+ flex-direction: column;
1012
+ gap: 1px;
1013
+ min-width: 0;
1014
+ }
1015
+
1016
+ .eyeon-map-sidebar__direction-label {
1017
+ color: #64748b;
1018
+ font-size: 10px;
1019
+ font-weight: 700;
1020
+ letter-spacing: 0.06em;
1021
+ text-transform: uppercase;
1022
+ }
1023
+
1024
+ .eyeon-map-sidebar__direction-value,
1025
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input,
1026
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:hover,
1027
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:focus,
1028
+ .eyeon-map-viewer input.eyeon-map-sidebar__direction-input:focus-visible {
1029
+ width: 100%;
1030
+ min-width: 0;
1031
+ margin: 0;
1032
+ padding: 0 !important;
1033
+ border: 0 !important;
1034
+ border-radius: 0 !important;
1035
+ outline: none !important;
1036
+ background: transparent !important;
1037
+ box-shadow: none !important;
1038
+ color: #0f172a !important;
1039
+ font-size: 14px;
1040
+ font-weight: 600;
1041
+ line-height: 1.3;
1042
+ -webkit-appearance: none;
1043
+ appearance: none;
1044
+ }
1045
+
1046
+ .eyeon-map-sidebar__direction-input::placeholder {
1047
+ color: #94a3b8;
1048
+ font-weight: 500;
1049
+ }
1050
+
1051
+ .eyeon-map-sidebar__direction-floor {
1052
+ color: #64748b;
1053
+ font-size: 12px;
1054
+ font-weight: 500;
1055
+ white-space: nowrap;
1056
+ }
1057
+
1058
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap,
1059
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:hover,
1060
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus,
1061
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus-visible,
1062
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:active {
1063
+ align-self: center;
1064
+ display: flex;
1065
+ align-items: center;
1066
+ justify-content: center;
1067
+ flex: 0 0 32px;
1068
+ width: 32px !important;
1069
+ height: 32px !important;
1070
+ padding: 0 !important;
1071
+ border: 1px solid #d5dbe3 !important;
1072
+ border-radius: 999px !important;
1073
+ background: #fff !important;
1074
+ background-color: #fff !important;
1075
+ color: #0f172a !important;
1076
+ box-shadow: none !important;
1077
+ cursor: pointer;
1078
+ }
1079
+
1080
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:hover,
1081
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus,
1082
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:focus-visible {
1083
+ border-color: #0763b1 !important;
1084
+ color: #0763b1 !important;
1085
+ background: #f8fafc !important;
1086
+ background-color: #f8fafc !important;
1087
+ }
1088
+
1089
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled,
1090
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled:hover,
1091
+ .eyeon-map-viewer button.eyeon-map-sidebar__swap:disabled:focus {
1092
+ opacity: 0.4 !important;
1093
+ cursor: default;
1094
+ border-color: #d5dbe3 !important;
1095
+ color: #0f172a !important;
1096
+ background: #fff !important;
1097
+ background-color: #fff !important;
1098
+ }
1099
+
1100
+ .eyeon-map-sidebar__directions .eyeon-map-sidebar__results {
1101
+ margin: 8px -12px 0;
1102
+ max-height: 240px;
713
1103
  }
714
1104
 
715
1105
  .eyeon-map-route-change {