randmarcomps 1.59.0 → 1.60.0

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.
@@ -115,14 +115,14 @@ export declare interface InputProps extends Omit<React_2.ComponentProps<"input">
115
115
 
116
116
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
117
117
 
118
- export declare function Layout({ children, rightMenu, routes, footer, searchResultsRouteName, dashboardTitle, onSignOut, }: LayoutProps): JSX.Element;
118
+ export declare function Layout({ children, rightMenu, routes, footer, handleValidSearch, dashboardTitle, onSignOut, }: LayoutProps): JSX.Element;
119
119
 
120
120
  declare interface LayoutProps {
121
121
  children: React.ReactNode;
122
122
  rightMenu?: React.ReactNode;
123
123
  footer: React.ReactNode;
124
124
  routes: NavRoute[];
125
- searchResultsRouteName: string;
125
+ handleValidSearch: (q: string) => void;
126
126
  dashboardTitle?: string;
127
127
  onSignOut?: () => void;
128
128
  }
@@ -375,12 +375,12 @@ export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProvide
375
375
 
376
376
  export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
377
377
 
378
- export declare function Topbar({ onSignOut, searchResultsRouteName, rightMenu }: TopbarProps): JSX.Element;
378
+ export declare function Topbar({ onSignOut, handleValidSearch, rightMenu }: TopbarProps): JSX.Element;
379
379
 
380
380
  declare interface TopbarProps {
381
381
  onSignOut?: () => void;
382
382
  rightMenu?: React.ReactNode;
383
- searchResultsRouteName: string;
383
+ handleValidSearch: (q: string) => void;
384
384
  }
385
385
 
386
386
  export declare function useIsMobile(): boolean;