@liberfi.io/ui-predict 4.0.3 → 4.0.5

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.
package/dist/index.d.mts CHANGED
@@ -796,14 +796,8 @@ type SearchEventsButtonProps = {
796
796
  /** Params forwarded to the search modal (getEventHref, LinkComponent, onHover) */
797
797
  modalParams?: Omit<PredictSearchModalParams, never>;
798
798
  className?: string;
799
- /**
800
- * Force a display mode instead of auto-detecting via useScreen().
801
- * Use "desktop" on SSR-visible desktop containers to avoid hydration mismatch.
802
- * @default "auto"
803
- */
804
- displayMode?: "desktop" | "compact" | "auto";
805
799
  };
806
- declare function SearchEventsButton({ onSelectEvent, modalParams, className, displayMode, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
800
+ declare function SearchEventsButton({ onSelectEvent, modalParams, className, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
807
801
 
808
802
  declare function usePredictSearchHistory(): {
809
803
  histories: string[];
package/dist/index.d.ts CHANGED
@@ -796,14 +796,8 @@ type SearchEventsButtonProps = {
796
796
  /** Params forwarded to the search modal (getEventHref, LinkComponent, onHover) */
797
797
  modalParams?: Omit<PredictSearchModalParams, never>;
798
798
  className?: string;
799
- /**
800
- * Force a display mode instead of auto-detecting via useScreen().
801
- * Use "desktop" on SSR-visible desktop containers to avoid hydration mismatch.
802
- * @default "auto"
803
- */
804
- displayMode?: "desktop" | "compact" | "auto";
805
799
  };
806
- declare function SearchEventsButton({ onSelectEvent, modalParams, className, displayMode, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
800
+ declare function SearchEventsButton({ onSelectEvent, modalParams, className, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
807
801
 
808
802
  declare function usePredictSearchHistory(): {
809
803
  histories: string[];