@liberfi.io/ui-predict 0.1.96 → 0.1.97
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 +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- 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.97";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -654,6 +654,7 @@ declare function SearchWidget({ onKeywordChange, onSelectEvent, getEventHref, Li
|
|
|
654
654
|
|
|
655
655
|
interface MatchesPageProps {
|
|
656
656
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
657
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
657
658
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
658
659
|
LinkComponent?: LinkComponentType;
|
|
659
660
|
/** Path to the hero background image (e.g. "/matches-bg.webp") */
|
|
@@ -663,7 +664,7 @@ interface MatchesPageProps {
|
|
|
663
664
|
/** @deprecated Use getMarketHref instead */
|
|
664
665
|
getEventHref?: (event: never) => string;
|
|
665
666
|
}
|
|
666
|
-
declare function MatchesPage({ onSelect, getMarketHref, LinkComponent, bgImageSrc, }: MatchesPageProps): react_jsx_runtime.JSX.Element;
|
|
667
|
+
declare function MatchesPage({ onSelect, onHover, getMarketHref, LinkComponent, bgImageSrc, }: MatchesPageProps): react_jsx_runtime.JSX.Element;
|
|
667
668
|
|
|
668
669
|
interface MatchesHeroStats {
|
|
669
670
|
activePairs: number;
|
|
@@ -684,6 +685,7 @@ interface MatchesWidgetProps {
|
|
|
684
685
|
sortAsc: boolean;
|
|
685
686
|
minVolume?: number;
|
|
686
687
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
688
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
687
689
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
688
690
|
LinkComponent?: LinkComponentType;
|
|
689
691
|
onStatsChange?: (stats: MatchesHeroStats) => void;
|
|
@@ -705,10 +707,11 @@ declare function MatchGroupCard({ group, onSelectEntry, getEventHref, LinkCompon
|
|
|
705
707
|
interface MatchMarketCardProps {
|
|
706
708
|
match: MatchMarketFlat;
|
|
707
709
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
710
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
708
711
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
709
712
|
LinkComponent?: LinkComponentType;
|
|
710
713
|
}
|
|
711
|
-
declare function MatchMarketCard({ match, onSelect, getMarketHref, LinkComponent, }: MatchMarketCardProps): react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare function MatchMarketCard({ match, onSelect, onHover, getMarketHref, LinkComponent, }: MatchMarketCardProps): react_jsx_runtime.JSX.Element;
|
|
712
715
|
|
|
713
716
|
interface MatchesStatsBarProps {
|
|
714
717
|
matches: MatchGroup[];
|
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.97";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -654,6 +654,7 @@ declare function SearchWidget({ onKeywordChange, onSelectEvent, getEventHref, Li
|
|
|
654
654
|
|
|
655
655
|
interface MatchesPageProps {
|
|
656
656
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
657
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
657
658
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
658
659
|
LinkComponent?: LinkComponentType;
|
|
659
660
|
/** Path to the hero background image (e.g. "/matches-bg.webp") */
|
|
@@ -663,7 +664,7 @@ interface MatchesPageProps {
|
|
|
663
664
|
/** @deprecated Use getMarketHref instead */
|
|
664
665
|
getEventHref?: (event: never) => string;
|
|
665
666
|
}
|
|
666
|
-
declare function MatchesPage({ onSelect, getMarketHref, LinkComponent, bgImageSrc, }: MatchesPageProps): react_jsx_runtime.JSX.Element;
|
|
667
|
+
declare function MatchesPage({ onSelect, onHover, getMarketHref, LinkComponent, bgImageSrc, }: MatchesPageProps): react_jsx_runtime.JSX.Element;
|
|
667
668
|
|
|
668
669
|
interface MatchesHeroStats {
|
|
669
670
|
activePairs: number;
|
|
@@ -684,6 +685,7 @@ interface MatchesWidgetProps {
|
|
|
684
685
|
sortAsc: boolean;
|
|
685
686
|
minVolume?: number;
|
|
686
687
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
688
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
687
689
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
688
690
|
LinkComponent?: LinkComponentType;
|
|
689
691
|
onStatsChange?: (stats: MatchesHeroStats) => void;
|
|
@@ -705,10 +707,11 @@ declare function MatchGroupCard({ group, onSelectEntry, getEventHref, LinkCompon
|
|
|
705
707
|
interface MatchMarketCardProps {
|
|
706
708
|
match: MatchMarketFlat;
|
|
707
709
|
onSelect?: (match: MatchMarketFlat, source: ProviderSource) => void;
|
|
710
|
+
onHover?: (match: MatchMarketFlat) => void;
|
|
708
711
|
getMarketHref?: (match: MatchMarketFlat, source: ProviderSource) => string | undefined;
|
|
709
712
|
LinkComponent?: LinkComponentType;
|
|
710
713
|
}
|
|
711
|
-
declare function MatchMarketCard({ match, onSelect, getMarketHref, LinkComponent, }: MatchMarketCardProps): react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare function MatchMarketCard({ match, onSelect, onHover, getMarketHref, LinkComponent, }: MatchMarketCardProps): react_jsx_runtime.JSX.Element;
|
|
712
715
|
|
|
713
716
|
interface MatchesStatsBarProps {
|
|
714
717
|
matches: MatchGroup[];
|