@agentiffai/design 1.3.5 → 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.
@@ -584,6 +584,30 @@ var Container2 = styled9__default.default.nav`
584
584
  @media (max-width: ${tokens.breakpoints.tablet}px) {
585
585
  width: 60px; /* Match MainPane left offset on mobile */
586
586
  }
587
+
588
+ /* Mobile landscape: allow content to overflow and scroll with thin scrollbar */
589
+ @media (orientation: landscape) and (max-height: 500px) {
590
+ width: 60px;
591
+ overflow-y: auto;
592
+ overflow-x: hidden;
593
+ scrollbar-width: thin; /* Firefox - show thin scrollbar */
594
+
595
+ /* Show thin scrollbar for Chrome, Safari */
596
+ &::-webkit-scrollbar {
597
+ display: block;
598
+ width: 3px;
599
+ height: 3px;
600
+ }
601
+
602
+ &::-webkit-scrollbar-track {
603
+ background: transparent;
604
+ }
605
+
606
+ &::-webkit-scrollbar-thumb {
607
+ background: ${tokens.colors.border.default};
608
+ border-radius: 2px;
609
+ }
610
+ }
587
611
  `;
588
612
  var TopSection = styled9__default.default.div`
589
613
  display: flex;
@@ -614,6 +638,7 @@ var BackButton = styled9__default.default.button`
614
638
  align-items: center;
615
639
  justify-content: center;
616
640
  transition: all ${tokens.transitions.normal};
641
+ -webkit-tap-highlight-color: transparent;
617
642
 
618
643
  &:hover {
619
644
  background-color: ${tokens.colors.primary};
@@ -621,6 +646,7 @@ var BackButton = styled9__default.default.button`
621
646
 
622
647
  &:active {
623
648
  transform: translate(-50%, -50%) scale(0.95);
649
+ opacity: 0.8;
624
650
  }
625
651
 
626
652
  &:focus {
@@ -671,6 +697,12 @@ var FolderGroupsSlot = styled9__default.default.div`
671
697
  @media (max-width: ${tokens.breakpoints.tablet}px) {
672
698
  padding: 0 6px ${tokens.spacing.md} 96px; /* Reduce horizontal padding on mobile */
673
699
  }
700
+
701
+ /* Mobile landscape: remove extra padding since BottomSection flows with content */
702
+ @media (orientation: landscape) and (max-height: 500px) {
703
+ padding-bottom: ${tokens.spacing.md};
704
+ flex: 0 0 auto; /* Don't flex-grow, allow natural height */
705
+ }
674
706
  `;
675
707
  var BottomSection = styled9__default.default.div`
676
708
  position: absolute;
@@ -687,11 +719,19 @@ var BottomSection = styled9__default.default.div`
687
719
  @media (prefers-color-scheme: dark) {
688
720
  background-color: ${tokens.colors.background.darkest};
689
721
  }
722
+
723
+ /* Mobile landscape: make bottom section flow with content instead of fixed */
724
+ @media (orientation: landscape) and (max-height: 500px) {
725
+ position: relative;
726
+ bottom: auto;
727
+ margin-top: auto; /* Push to bottom of flex container */
728
+ flex-shrink: 0;
729
+ }
690
730
  `;
691
731
  var BottomButton = styled9__default.default.button`
692
732
  width: 40px;
693
733
  height: 40px;
694
- border-radius: 0;
734
+ border-radius: ${tokens.borderRadius.full};
695
735
  border: none;
696
736
  background-color: transparent;
697
737
  color: white;
@@ -700,6 +740,7 @@ var BottomButton = styled9__default.default.button`
700
740
  align-items: center;
701
741
  justify-content: center;
702
742
  transition: all ${tokens.transitions.normal};
743
+ -webkit-tap-highlight-color: transparent;
703
744
 
704
745
  &:hover {
705
746
  opacity: 0.7;
@@ -707,6 +748,7 @@ var BottomButton = styled9__default.default.button`
707
748
 
708
749
  &:active {
709
750
  transform: scale(0.95);
751
+ opacity: 0.8;
710
752
  }
711
753
 
712
754
  &:focus {
@@ -716,6 +758,7 @@ var BottomButton = styled9__default.default.button`
716
758
  &:focus-visible {
717
759
  outline: 2px solid ${tokens.colors.border.focus};
718
760
  outline-offset: 2px;
761
+ border-radius: ${tokens.borderRadius.full};
719
762
  }
720
763
  `;
721
764
  function NavVertical({
@@ -791,6 +834,7 @@ var BackgroundPane = styled9__default.default.div`
791
834
  bottom: 52px; /* Height of horizontal nav */
792
835
  background-color: transparent;
793
836
  overflow: auto;
837
+ scrollbar-gutter: stable; /* Reserve space for scrollbar to prevent layout shift */
794
838
  z-index: ${tokens.zIndex.base}; /* Lower than MainPane */
795
839
 
796
840
  /* Custom scrollbar styling */
@@ -829,6 +873,7 @@ var MainPane = styled9__default.default.main`
829
873
  bottom: 52px; /* Height of horizontal nav */
830
874
  background-color: ${tokens.colors.surface.overlay};
831
875
  overflow: auto;
876
+ scrollbar-gutter: stable; /* Reserve space for scrollbar to prevent layout shift */
832
877
  z-index: ${tokens.zIndex.base + 1}; /* Higher than BackgroundPane */
833
878
 
834
879
  /* Custom scrollbar styling */
@@ -905,7 +950,7 @@ var ActionButton = styled9__default.default.button`
905
950
  height: ${({ $size = 32 }) => $size}px;
906
951
  min-width: ${({ $size = 32 }) => $size}px;
907
952
  min-height: ${({ $size = 32 }) => $size}px;
908
- border-radius: ${({ $isPrimary }) => $isPrimary ? tokens.borderRadius.full : tokens.borderRadius.sm};
953
+ border-radius: ${({ $isPrimary }) => $isPrimary ? tokens.borderRadius.full : tokens.borderRadius.md};
909
954
  border: none;
910
955
  background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.primary : "transparent"};
911
956
  color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.text.primary : tokens.colors.text.secondary};
@@ -915,6 +960,7 @@ var ActionButton = styled9__default.default.button`
915
960
  justify-content: center;
916
961
  transition: all ${tokens.transitions.fast};
917
962
  font-size: ${tokens.typography.fontSize.base};
963
+ -webkit-tap-highlight-color: transparent;
918
964
 
919
965
  &:hover {
920
966
  background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.secondary : tokens.colors.surface.overlayHover};
@@ -923,6 +969,7 @@ var ActionButton = styled9__default.default.button`
923
969
 
924
970
  &:active {
925
971
  transform: scale(0.95);
972
+ opacity: 0.8;
926
973
  }
927
974
 
928
975
  ${({ $isActive, $isPrimary }) => $isActive && !$isPrimary && styled9.css`
@@ -1581,6 +1628,7 @@ var TabPanelWrapper = styled9__default.default.div`
1581
1628
  padding: ${tokens.spacing.lg};
1582
1629
  overflow-y: auto;
1583
1630
  overflow-x: hidden; // Prevent horizontal overflow
1631
+ scrollbar-gutter: stable; // Always reserve space for scrollbar to prevent width jump
1584
1632
  background-color: ${tokens.colors.surface.overlay};
1585
1633
  min-height: 0; // Enable proper flex shrinking and scrolling
1586
1634