@agentiffai/design 1.3.4 → 1.3.6

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.
@@ -578,6 +578,30 @@ var Container2 = styled9.nav`
578
578
  @media (max-width: ${tokens.breakpoints.tablet}px) {
579
579
  width: 60px; /* Match MainPane left offset on mobile */
580
580
  }
581
+
582
+ /* Mobile landscape: allow content to overflow and scroll with thin scrollbar */
583
+ @media (orientation: landscape) and (max-height: 500px) {
584
+ width: 60px;
585
+ overflow-y: auto;
586
+ overflow-x: hidden;
587
+ scrollbar-width: thin; /* Firefox - show thin scrollbar */
588
+
589
+ /* Show thin scrollbar for Chrome, Safari */
590
+ &::-webkit-scrollbar {
591
+ display: block;
592
+ width: 3px;
593
+ height: 3px;
594
+ }
595
+
596
+ &::-webkit-scrollbar-track {
597
+ background: transparent;
598
+ }
599
+
600
+ &::-webkit-scrollbar-thumb {
601
+ background: ${tokens.colors.border.default};
602
+ border-radius: 2px;
603
+ }
604
+ }
581
605
  `;
582
606
  var TopSection = styled9.div`
583
607
  display: flex;
@@ -608,6 +632,7 @@ var BackButton = styled9.button`
608
632
  align-items: center;
609
633
  justify-content: center;
610
634
  transition: all ${tokens.transitions.normal};
635
+ -webkit-tap-highlight-color: transparent;
611
636
 
612
637
  &:hover {
613
638
  background-color: ${tokens.colors.primary};
@@ -615,6 +640,7 @@ var BackButton = styled9.button`
615
640
 
616
641
  &:active {
617
642
  transform: translate(-50%, -50%) scale(0.95);
643
+ opacity: 0.8;
618
644
  }
619
645
 
620
646
  &:focus {
@@ -665,6 +691,12 @@ var FolderGroupsSlot = styled9.div`
665
691
  @media (max-width: ${tokens.breakpoints.tablet}px) {
666
692
  padding: 0 6px ${tokens.spacing.md} 96px; /* Reduce horizontal padding on mobile */
667
693
  }
694
+
695
+ /* Mobile landscape: remove extra padding since BottomSection flows with content */
696
+ @media (orientation: landscape) and (max-height: 500px) {
697
+ padding-bottom: ${tokens.spacing.md};
698
+ flex: 0 0 auto; /* Don't flex-grow, allow natural height */
699
+ }
668
700
  `;
669
701
  var BottomSection = styled9.div`
670
702
  position: absolute;
@@ -681,11 +713,19 @@ var BottomSection = styled9.div`
681
713
  @media (prefers-color-scheme: dark) {
682
714
  background-color: ${tokens.colors.background.darkest};
683
715
  }
716
+
717
+ /* Mobile landscape: make bottom section flow with content instead of fixed */
718
+ @media (orientation: landscape) and (max-height: 500px) {
719
+ position: relative;
720
+ bottom: auto;
721
+ margin-top: auto; /* Push to bottom of flex container */
722
+ flex-shrink: 0;
723
+ }
684
724
  `;
685
725
  var BottomButton = styled9.button`
686
726
  width: 40px;
687
727
  height: 40px;
688
- border-radius: 0;
728
+ border-radius: ${tokens.borderRadius.full};
689
729
  border: none;
690
730
  background-color: transparent;
691
731
  color: white;
@@ -694,6 +734,7 @@ var BottomButton = styled9.button`
694
734
  align-items: center;
695
735
  justify-content: center;
696
736
  transition: all ${tokens.transitions.normal};
737
+ -webkit-tap-highlight-color: transparent;
697
738
 
698
739
  &:hover {
699
740
  opacity: 0.7;
@@ -701,6 +742,7 @@ var BottomButton = styled9.button`
701
742
 
702
743
  &:active {
703
744
  transform: scale(0.95);
745
+ opacity: 0.8;
704
746
  }
705
747
 
706
748
  &:focus {
@@ -710,6 +752,7 @@ var BottomButton = styled9.button`
710
752
  &:focus-visible {
711
753
  outline: 2px solid ${tokens.colors.border.focus};
712
754
  outline-offset: 2px;
755
+ border-radius: ${tokens.borderRadius.full};
713
756
  }
714
757
  `;
715
758
  function NavVertical({
@@ -785,6 +828,7 @@ var BackgroundPane = styled9.div`
785
828
  bottom: 52px; /* Height of horizontal nav */
786
829
  background-color: transparent;
787
830
  overflow: auto;
831
+ scrollbar-gutter: stable; /* Reserve space for scrollbar to prevent layout shift */
788
832
  z-index: ${tokens.zIndex.base}; /* Lower than MainPane */
789
833
 
790
834
  /* Custom scrollbar styling */
@@ -823,6 +867,7 @@ var MainPane = styled9.main`
823
867
  bottom: 52px; /* Height of horizontal nav */
824
868
  background-color: ${tokens.colors.surface.overlay};
825
869
  overflow: auto;
870
+ scrollbar-gutter: stable; /* Reserve space for scrollbar to prevent layout shift */
826
871
  z-index: ${tokens.zIndex.base + 1}; /* Higher than BackgroundPane */
827
872
 
828
873
  /* Custom scrollbar styling */
@@ -899,7 +944,7 @@ var ActionButton = styled9.button`
899
944
  height: ${({ $size = 32 }) => $size}px;
900
945
  min-width: ${({ $size = 32 }) => $size}px;
901
946
  min-height: ${({ $size = 32 }) => $size}px;
902
- border-radius: ${({ $isPrimary }) => $isPrimary ? tokens.borderRadius.full : tokens.borderRadius.sm};
947
+ border-radius: ${({ $isPrimary }) => $isPrimary ? tokens.borderRadius.full : tokens.borderRadius.md};
903
948
  border: none;
904
949
  background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.primary : "transparent"};
905
950
  color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.text.primary : tokens.colors.text.secondary};
@@ -909,6 +954,7 @@ var ActionButton = styled9.button`
909
954
  justify-content: center;
910
955
  transition: all ${tokens.transitions.fast};
911
956
  font-size: ${tokens.typography.fontSize.base};
957
+ -webkit-tap-highlight-color: transparent;
912
958
 
913
959
  &:hover {
914
960
  background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.secondary : tokens.colors.surface.overlayHover};
@@ -917,6 +963,7 @@ var ActionButton = styled9.button`
917
963
 
918
964
  &:active {
919
965
  transform: scale(0.95);
966
+ opacity: 0.8;
920
967
  }
921
968
 
922
969
  ${({ $isActive, $isPrimary }) => $isActive && !$isPrimary && css`
@@ -1575,6 +1622,7 @@ var TabPanelWrapper = styled9.div`
1575
1622
  padding: ${tokens.spacing.lg};
1576
1623
  overflow-y: auto;
1577
1624
  overflow-x: hidden; // Prevent horizontal overflow
1625
+ scrollbar-gutter: stable; // Always reserve space for scrollbar to prevent width jump
1578
1626
  background-color: ${tokens.colors.surface.overlay};
1579
1627
  min-height: 0; // Enable proper flex shrinking and scrolling
1580
1628