@liberfi.io/ui-predict 0.1.136 → 0.1.138
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +50 -50
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -50
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
package/dist/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.138";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -133,7 +133,7 @@ interface EventsPageProps {
|
|
|
133
133
|
/** Optional background image for the Hero area. */
|
|
134
134
|
bgImageSrc?: string;
|
|
135
135
|
}
|
|
136
|
-
declare function EventsPage({ onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, bgImageSrc, }: EventsPageProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
declare function EventsPage({ onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, bgImageSrc: _bgImageSrc, }: EventsPageProps): react_jsx_runtime.JSX.Element;
|
|
137
137
|
|
|
138
138
|
interface EventsWidgetProps {
|
|
139
139
|
/** Category / tag selection from the categories widget. */
|
|
@@ -669,8 +669,14 @@ type SearchEventsButtonProps = {
|
|
|
669
669
|
/** Params forwarded to the search modal (getEventHref, LinkComponent, onHover) */
|
|
670
670
|
modalParams?: Omit<PredictSearchModalParams, never>;
|
|
671
671
|
className?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Force a display mode instead of auto-detecting via useScreen().
|
|
674
|
+
* Use "desktop" on SSR-visible desktop containers to avoid hydration mismatch.
|
|
675
|
+
* @default "auto"
|
|
676
|
+
*/
|
|
677
|
+
displayMode?: "desktop" | "compact" | "auto";
|
|
672
678
|
};
|
|
673
|
-
declare function SearchEventsButton({ onSelectEvent, modalParams, className, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
|
|
679
|
+
declare function SearchEventsButton({ onSelectEvent, modalParams, className, displayMode, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
|
|
674
680
|
|
|
675
681
|
declare function usePredictSearchHistory(): {
|
|
676
682
|
histories: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.138";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -133,7 +133,7 @@ interface EventsPageProps {
|
|
|
133
133
|
/** Optional background image for the Hero area. */
|
|
134
134
|
bgImageSrc?: string;
|
|
135
135
|
}
|
|
136
|
-
declare function EventsPage({ onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, bgImageSrc, }: EventsPageProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
declare function EventsPage({ onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, bgImageSrc: _bgImageSrc, }: EventsPageProps): react_jsx_runtime.JSX.Element;
|
|
137
137
|
|
|
138
138
|
interface EventsWidgetProps {
|
|
139
139
|
/** Category / tag selection from the categories widget. */
|
|
@@ -669,8 +669,14 @@ type SearchEventsButtonProps = {
|
|
|
669
669
|
/** Params forwarded to the search modal (getEventHref, LinkComponent, onHover) */
|
|
670
670
|
modalParams?: Omit<PredictSearchModalParams, never>;
|
|
671
671
|
className?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Force a display mode instead of auto-detecting via useScreen().
|
|
674
|
+
* Use "desktop" on SSR-visible desktop containers to avoid hydration mismatch.
|
|
675
|
+
* @default "auto"
|
|
676
|
+
*/
|
|
677
|
+
displayMode?: "desktop" | "compact" | "auto";
|
|
672
678
|
};
|
|
673
|
-
declare function SearchEventsButton({ onSelectEvent, modalParams, className, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
|
|
679
|
+
declare function SearchEventsButton({ onSelectEvent, modalParams, className, displayMode, }: SearchEventsButtonProps): react_jsx_runtime.JSX.Element;
|
|
674
680
|
|
|
675
681
|
declare function usePredictSearchHistory(): {
|
|
676
682
|
histories: string[];
|