jcicl 1.2.3 → 1.2.4

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.
@@ -5,6 +5,13 @@ export interface ScrollContainerProps {
5
5
  direction?: 'vertical' | 'horizontal' | 'all' | 'none';
6
6
  styles?: React.CSSProperties;
7
7
  scrollColor?: string;
8
+ /** When the scrollbar auto-hides. 'never' (default) keeps it visible while content
9
+ * overflows; 'leave' shows it only while the pointer is over the container (hover). */
10
+ autoHide?: 'never' | 'scroll' | 'leave' | 'move';
11
+ /** Delay in ms before the scrollbar auto-hides (OverlayScrollbars default is 1300). */
12
+ autoHideDelay?: number;
13
+ /** Show/hide fade duration in ms (symmetric, both directions). Defaults to 150 (OverlayScrollbars default). */
14
+ fadeDurationMs?: number;
8
15
  }
9
16
  declare const ScrollContainer: React.FC<ScrollContainerProps & {
10
17
  children: React.ReactNode;