@simple-parlay/components 1.30.6-pre → 1.30.6-pre.3

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.
@@ -1,2 +1,2 @@
1
1
  import { EntrySubmissionProps } from '../types';
2
- export declare function EntrySubmission({ game, propositions, selections, onToggleSelection, onRemoveSelection, onSubmit, onBack, loading, error, expectedCorrect, onExpectedCorrectChange, betAmount, onBetAmountChange, theme: themeProp, colorScheme, hideActions, winningCounts: winningCountsProp, payouts: payoutsProp, renderTeamLogo, showCustomAmount, betAmountLocked, betAmountLockedNote, canSubmit: canSubmitProp, authenticated, userBalance, onRecharge, boostBanner, }: EntrySubmissionProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function EntrySubmission({ game, propositions, selections, onToggleSelection, onRemoveSelection, onSubmit, onBack, loading, error, expectedCorrect, onExpectedCorrectChange, betAmount, onBetAmountChange, theme: themeProp, colorScheme, hideActions, winningCounts: winningCountsProp, payouts: payoutsProp, renderTeamLogo, componentById, showCustomAmount, betAmountLocked, betAmountLockedNote, canSubmit: canSubmitProp, authenticated, userBalance, onRecharge, boostBanner, }: EntrySubmissionProps): import("react/jsx-runtime").JSX.Element;
@@ -18,4 +18,4 @@ export declare function CardDividends({ tiers, modes, pydDividends, onPlayCount,
18
18
  bodyFont: string | undefined;
19
19
  headingFont: string | undefined;
20
20
  }): import("react/jsx-runtime").JSX.Element | null;
21
- export declare function GameSelector({ games, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, showTier, showCategory, showTierFilter, onPropositionCountChange, onPropositionCountSelected, onQuickPickGame, maxPayouts, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function GameSelector({ games: allGames, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, showTier, showCategory, showTierFilter, onPropositionCountChange, onPropositionCountSelected, onQuickPickGame, maxPayouts, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -87,7 +87,7 @@ export interface PlaceEntryContextValue {
87
87
  initialEventId?: string;
88
88
  initialEventLabel?: string;
89
89
  sportBaseKey?: string;
90
- gameCategory?: 'sports' | 'casino' | 'racing';
90
+ gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
91
91
  screenSize: ScreenSize;
92
92
  eventFilterActive: boolean;
93
93
  eventFilterLabel?: string;
@@ -122,7 +122,7 @@ export interface PlaceEntryProviderProps {
122
122
  demoEntries?: GameEntry[];
123
123
  /** Demo dividend/max-payout data (the /max-payout fetch is skipped for demo data). */
124
124
  demoMaxPayouts?: Record<number, TopPayoutsResponse>;
125
- gameCategory?: 'sports' | 'casino' | 'racing';
125
+ gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
126
126
  jurisdiction?: string;
127
127
  initialGameId?: number;
128
128
  filterSport?: string;
@@ -1,2 +1,2 @@
1
1
  import { SelectionReviewProps } from '../types';
2
- export declare function SelectionReview({ propositions, selections, onToggleSelection, onNext, onBack, theme: themeProp, colorScheme, hideActions, renderTeamLogo, allowAnswerToggle, gameName, potentialPayout, defaultExpanded, addMorePicks, }: SelectionReviewProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function SelectionReview({ propositions, selections, onToggleSelection, onNext, onBack, theme: themeProp, colorScheme, hideActions, renderTeamLogo, allowAnswerToggle, gameName, potentialPayout, defaultExpanded, componentById, addMorePicks, }: SelectionReviewProps): import("react/jsx-runtime").JSX.Element;
@@ -12,7 +12,7 @@ export declare function MatchupTeams({ matchup, renderTeamLogo, altText, mutedCo
12
12
  mutedColor: string;
13
13
  size?: 'sm' | 'md';
14
14
  }): import("react/jsx-runtime").JSX.Element;
15
- export declare function CompositePropositionText({ prop, colors: c, size, componentById, textStyle, textColor, }: {
15
+ export declare function CompositePropositionText({ prop, colors: c, size, componentById, textStyle, textColor, renderTeamLogo, }: {
16
16
  prop: Proposition;
17
17
  colors: {
18
18
  primary: string;
@@ -33,5 +33,10 @@ export declare function CompositePropositionText({ prop, colors: c, size, compon
33
33
  };
34
34
  /** Replaces `colors.text` on the question itself, legs included. */
35
35
  textColor?: string;
36
+ /**
37
+ * Supplied, a leg names its fixture with the two club badges instead of a
38
+ * text chip — far lighter in a row. Falls back to the chip without it.
39
+ */
40
+ renderTeamLogo?: RenderTeamLogo;
36
41
  }): import("react/jsx-runtime").JSX.Element;
37
42
  export declare function SportSelector({ game, propositions, selections, onToggleSelection, onNext, onBack, loading, error, theme: themeProp, colorScheme, hideActions, initialSport, renderTeamLogo, disableQuickPick, selectedPropositionCount, onPropositionCountChange, gameCategory, headerExtra, variant, disableEventSwipe, }: SportSelectorProps): import("react/jsx-runtime").JSX.Element;