randmarcomps 1.59.0 → 1.61.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,16 +115,17 @@ 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, searchPlaceholder }: 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
+ searchPlaceholder?: string;
128
129
  }
129
130
 
130
131
  declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
@@ -375,12 +376,13 @@ export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProvide
375
376
 
376
377
  export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
377
378
 
378
- export declare function Topbar({ onSignOut, searchResultsRouteName, rightMenu }: TopbarProps): JSX.Element;
379
+ export declare function Topbar({ onSignOut, handleValidSearch, rightMenu, searchPlaceholder }: TopbarProps): JSX.Element;
379
380
 
380
381
  declare interface TopbarProps {
381
382
  onSignOut?: () => void;
382
383
  rightMenu?: React.ReactNode;
383
- searchResultsRouteName: string;
384
+ handleValidSearch: (q: string) => void;
385
+ searchPlaceholder?: string;
384
386
  }
385
387
 
386
388
  export declare function useIsMobile(): boolean;