@simple-parlay/components 1.29.0 → 1.30.1

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.
Files changed (70) hide show
  1. package/README.md +6 -164
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.mjs +346 -282
  5. package/dist/react/components/ConfirmPage.d.ts +9 -2
  6. package/dist/react/components/EntrySubmission.d.ts +1 -1
  7. package/dist/react/components/GameModeCard.d.ts +26 -6
  8. package/dist/react/components/GamePage.d.ts +10 -6
  9. package/dist/react/components/GameSelector.d.ts +19 -1
  10. package/dist/react/components/GameSetupPage.d.ts +0 -14
  11. package/dist/react/components/HowToPlayButton.d.ts +15 -3
  12. package/dist/react/components/HowToPlayPanel.d.ts +13 -0
  13. package/dist/react/components/LoadingIndicators.d.ts +21 -6
  14. package/dist/react/components/PageBackButton.d.ts +11 -1
  15. package/dist/react/components/PickerBrand.d.ts +10 -0
  16. package/dist/react/components/PlaceEntryProvider.d.ts +5 -4
  17. package/dist/react/components/PropositionFilters.d.ts +24 -0
  18. package/dist/react/components/SafetyNetPage.d.ts +16 -0
  19. package/dist/react/components/SelectionReview.d.ts +1 -1
  20. package/dist/react/components/SelectionsPage.d.ts +7 -1
  21. package/dist/react/components/SportPickerPage.d.ts +3 -1
  22. package/dist/react/components/SportSelector.d.ts +15 -2
  23. package/dist/react/components/SwipeDeck.d.ts +33 -0
  24. package/dist/react/components/_primitives/index.d.ts +2 -0
  25. package/dist/react/index.d.ts +16 -4
  26. package/dist/react/index.js +1 -1
  27. package/dist/react/index.mjs +346 -282
  28. package/dist/react/types/index.d.ts +1 -1
  29. package/dist/react/utils/index.d.ts +2 -2
  30. package/dist/react/utils/themes.d.ts +1 -1
  31. package/dist/react-native/components/ConfirmPage.d.ts +9 -2
  32. package/dist/react-native/components/EntrySubmission.d.ts +1 -1
  33. package/dist/react-native/components/GameModeCard.d.ts +29 -7
  34. package/dist/react-native/components/GamePage.d.ts +15 -6
  35. package/dist/react-native/components/GameSelector.d.ts +19 -0
  36. package/dist/react-native/components/GameSetupPage.d.ts +2 -4
  37. package/dist/react-native/components/HowToPlayButton.d.ts +9 -1
  38. package/dist/react-native/components/HowToPlayPanel.d.ts +12 -0
  39. package/dist/react-native/components/IconSvg.d.ts +2 -2
  40. package/dist/react-native/components/LoadingIndicators.d.ts +23 -8
  41. package/dist/react-native/components/PageBackButton.d.ts +3 -1
  42. package/dist/react-native/components/PickerBrand.d.ts +8 -0
  43. package/dist/react-native/components/PlaceEntryProvider.d.ts +5 -4
  44. package/dist/react-native/components/PropositionFilters.d.ts +22 -0
  45. package/dist/react-native/components/SafetyNetPage.d.ts +14 -0
  46. package/dist/react-native/components/SelectionReview.d.ts +1 -1
  47. package/dist/react-native/components/SelectionsPage.d.ts +7 -1
  48. package/dist/react-native/components/SportPickerPage.d.ts +3 -1
  49. package/dist/react-native/components/SportSelector.d.ts +15 -2
  50. package/dist/react-native/components/SwipeDeck.d.ts +32 -0
  51. package/dist/react-native/components/_primitives/index.d.ts +21 -0
  52. package/dist/react-native/index.d.ts +16 -4
  53. package/dist/react-native/index.js +1 -1
  54. package/dist/react-native/index.mjs +384 -334
  55. package/dist/react-native/types/index.d.ts +1 -1
  56. package/dist/react-native/utils/index.d.ts +2 -2
  57. package/dist/react-native/utils/themes.d.ts +1 -1
  58. package/dist/shared/api-client.d.ts +1 -0
  59. package/dist/shared/game-dividends.d.ts +34 -0
  60. package/dist/shared/game-flow.d.ts +3 -2
  61. package/dist/shared/hooks.d.ts +2 -1
  62. package/dist/shared/how-to-play-panel.d.ts +36 -0
  63. package/dist/shared/picker-brand.d.ts +11 -0
  64. package/dist/shared/rule-setup.d.ts +1 -8
  65. package/dist/shared/safety-net.d.ts +47 -0
  66. package/dist/shared/swipe-deck.d.ts +22 -0
  67. package/dist/shared/themes.d.ts +1 -0
  68. package/dist/shared/types.d.ts +31 -10
  69. package/dist/shared/utils.d.ts +21 -9
  70. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import { PlaceEntryFlowProps as SharedPlaceEntryFlowProps, GameEntriesProps as SharedGameEntriesProps } from '../../shared/types';
2
- export type { BladeTheme, BladeThemeSet, ColorScheme, ScreenSize, RuleExpressionObject, Game, GameAllocation, SportSummary, Proposition, GameEntry, GameSelectorProps, EntrySubmissionProps, SelectionReviewProps, EvaluateRuleRequest, EvaluateRuleResponse, CalculatePayoutRequest, CalculatePayoutResponse, EntryPreviewRequest, EntryPreviewResponse, TopPayoutEntry, TopPayoutsResponse, ResolvedEntryData, ShareData, QuickPickResult, } from '../../shared/types';
2
+ export type { BladeTheme, BladeThemeSet, ColorScheme, ScreenSize, RuleExpressionObject, Game, GameAllocation, SportSummary, Proposition, GameEntry, GameSelectorProps, EntrySubmissionProps, SelectionReviewProps, EvaluateRuleRequest, EvaluateRuleResponse, CalculatePayoutRequest, CalculatePayoutResponse, EntryPreviewRequest, EntryPreviewResponse, TopPayoutEntry, TopPayoutsResponse, ResolvedEntryData, ShareData, PendingBet, QuickPickResult, } from '../../shared/types';
3
3
  export interface PlaceEntryFlowProps extends SharedPlaceEntryFlowProps {
4
4
  className?: string;
5
5
  }
@@ -1,2 +1,2 @@
1
- export { resolvePrice, toNumber, toBool, formatYesNo, formatCurrency, formatDate, groupPropositionsBySport, getPropositionSportKey, collectPropositionSportKeys, compositePropositionMatchesSport, compositePropositionMatchesGameSports, groupPropositionsByCategory, groupPropositionsByEntryCategory, getPropositionEntryCategory, getAvailableEntryCategories, getSportPickerTitle, getCategoryDisplayName, getCategoryTagline, getSportShortCode, getSportPickerTagline, getSportSummaryTagline, groupByMatchup, groupByRace, groupPropositionsForDisplay, isRacingCategory, buildRangeLegOptions, getPayoutForCount, generateQuickPick, isValidSelectionCount, getEffectivePropositionLimits, getJackpotInfo, getSportDisplayName, resolveSportDisplayName, resolveCategoryDisplayName, filterPropositionsForGame, filterPropositionPool, filterGamesByPropositionPool, filterGamesByEntryCategory, gameHasPropositionsInPool, getGameEntryCategory, gameMatchesEntryCategory, gamePermitsSport, normalizeGamesSport, sportKeysCompatible, propositionSportMatches, isGameAvailableToday, getAvailableDaysLabel, contrastTextColour, readableColor, getCompositeOperatorLabel, getCompositeHelperText, parseCompositeDescription, inferCompositeOperatorFromDescription, resolveCompositeOperator, resolveCompositeDisplay, resolveCompositeLegs, parseCompositeComponentIds, collectCompositeComponentIds, formatPropositionEventLabel, getPropositionDescription, getPropositionMarketType, resolveGameIconId, resolveGameIconUrl, isGameIconUrl, resolveGameIconMarkup, } from '../../shared/utils';
2
- export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, GameIconId } from '../../shared/utils';
1
+ export { resolvePrice, toNumber, toBool, formatYesNo, formatCurrency, formatDate, groupPropositionsBySport, getPropositionSportKey, collectPropositionSportKeys, compositePropositionMatchesSport, compositePropositionMatchesGameSports, groupPropositionsByCategory, groupPropositionsByEntryCategory, getPropositionEntryCategory, isRacingProposition, getAvailableEntryCategories, getSportPickerTitle, getCategoryDisplayName, getCategoryTagline, getSportShortCode, getSportPickerTagline, getSportSummaryTagline, splitSportLabel, getSportComingSoonCaption, getHowToPlayPanel, describeDemoVerdict, groupByMatchup, groupByRace, groupPropositionsForDisplay, isRacingCategory, buildRangeLegOptions, getPayoutForCount, generateQuickPick, isValidSelectionCount, getEffectivePropositionLimits, findPermittedRule, getJackpotInfo, getSportDisplayName, resolveSportDisplayName, resolveCategoryDisplayName, filterPropositionsForGame, filterPropositionPool, filterGamesByPropositionPool, filterGamesByEntryCategory, gameHasPropositionsInPool, getGameEntryCategory, gameMatchesEntryCategory, gamePermitsSport, normalizeGamesSport, sportKeysCompatible, propositionSportMatches, isGameAvailableToday, getAvailableDaysLabel, contrastTextColour, readableColor, getCompositeOperatorLabel, getCompositeHelperText, parseCompositeDescription, inferCompositeOperatorFromDescription, resolveCompositeOperator, resolveCompositeDisplay, resolveCompositeLegs, parseCompositeComponentIds, collectCompositeComponentIds, formatPropositionEventLabel, getPropositionDescription, getPropositionMarketType, resolveGameIconId, resolveGameIconUrl, isGameIconUrl, resolveGameIconMarkup, } from '../../shared/utils';
2
+ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, GameIconId, ComingSoonSport, HowToPlayPanelContent, HowToPlaySummarySegment, HowToPlayStep, HowToPlayDemoLeg, HowToPlayDemoVerdict } from '../../shared/utils';
@@ -1,6 +1,6 @@
1
1
  import { BladeTheme } from '../../shared/themes';
2
2
  export type { BladeTheme, BladeThemeSet, ColorScheme } from '../../shared/themes';
3
- export { defaultTheme, greenTheme, greenLightTheme, darkTheme, goldTheme, goldLightTheme, defaultThemeSet, greenThemeSet, goldThemeSet, getTheme, getThemeSet, themes, themeSets, themeHeading, themeLabel, themeValue, themeProductYes, themeProductNo, PRODUCT_YES, PRODUCT_NO, themeAccent, themeTextAlt, themeTextAltMuted, themeSelectionCard, themeMatchupHeader, themeSelectionProp, themePickerSurfaceColors, resolveTheme, isThemeSet, useResolvedTheme, } from '../../shared/themes';
3
+ export { defaultTheme, greenTheme, greenLightTheme, darkTheme, goldTheme, goldLightTheme, defaultThemeSet, greenThemeSet, goldThemeSet, getTheme, getThemeSet, themes, themeSets, themeHeading, themeLabel, themeValue, themeProductYes, themeProductNo, PRODUCT_YES, PRODUCT_NO, themeAccent, accentOnSurface, themeTextAlt, themeTextAltMuted, themeSelectionCard, themeMatchupHeader, themeSelectionProp, themePickerSurfaceColors, resolveTheme, isThemeSet, useResolvedTheme, } from '../../shared/themes';
4
4
  export declare function themeBodyFont(t: BladeTheme): string;
5
5
  export declare function themeHeadingFont(t: BladeTheme): string;
6
6
  /**
@@ -1,8 +1,13 @@
1
+ import { PendingBet } from '../../shared/types';
1
2
  export interface ConfirmPageProps {
2
3
  /** Called when the user presses Back (e.g. navigate to selections screen) */
3
4
  onBack?: () => void;
4
5
  /** Called after a successful submission (e.g. navigate to success screen) */
5
6
  onSubmitted?: () => void;
7
+ /** When false, nothing is submitted — `onUnauthenticated` fires instead. */
8
+ authenticated?: boolean;
9
+ /** Handed the bet the user tried to place, so it can be restored after login. */
10
+ onUnauthenticated?: (bet: PendingBet) => void;
6
11
  /** Hide the built-in title section (use `<ConfirmPageTitle />` separately) */
7
12
  hideTitle?: boolean;
8
13
  /** Hide the built-in action buttons (use `<ConfirmPageActions />` separately) */
@@ -12,8 +17,10 @@ export declare function ConfirmPageTitle({ onBack, hideActions, }?: {
12
17
  onBack?: () => void;
13
18
  hideActions?: boolean;
14
19
  }): import("react/jsx-runtime").JSX.Element;
15
- export declare function ConfirmPageActions({ onBack, onSubmitted, }: {
20
+ export declare function ConfirmPageActions({ onBack, onSubmitted, authenticated, onUnauthenticated, }: {
16
21
  onBack?: () => void;
17
22
  onSubmitted?: () => void;
23
+ authenticated?: boolean;
24
+ onUnauthenticated?: (bet: PendingBet) => void;
18
25
  }): import("react/jsx-runtime").JSX.Element | null;
19
- export declare function ConfirmPage({ onBack, onSubmitted, hideTitle, hideActions }: ConfirmPageProps): import("react/jsx-runtime").JSX.Element | null;
26
+ export declare function ConfirmPage({ onBack, onSubmitted, authenticated, onUnauthenticated, hideTitle, hideActions }: ConfirmPageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -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, 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, showCustomAmount, betAmountLocked, betAmountLockedNote, canSubmit: canSubmitProp, authenticated, userBalance, onRecharge, boostBanner, }: EntrySubmissionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,39 @@
1
1
  import { default as React } from 'react';
2
- /**
3
- * Shared card kit for the unique-game pages (Game Set Bet, Pick Your
4
- * Dividend, Ladder, Mirror, Perfect Pick). Mirrors the RuleSetupPage
5
- * ModeCard / EmblemTile anatomy exactly — same tile, borders, hover, stat
6
- * chip, detail lines and chevron — so every game reads as one system;
7
- * only the copy and the controls differ.
8
- */
2
+ import { ViewStyle } from 'react-native';
3
+ /** Shared card kit for the unique-game pages — same anatomy as RuleSetupPage's ModeCard/EmblemTile. */
9
4
  export declare function hexA(color: string, alpha: number): string;
10
5
  /** Branded rounded tile carrying a game icon — the EmblemTile look, icon-driven. */
11
6
  export declare function BrandChipTile({ iconUrl, size }: {
12
7
  iconUrl: string;
13
8
  size?: number;
14
9
  }): import("react/jsx-runtime").JSX.Element;
10
+ /**
11
+ * The masthead every game page opens with — eyebrow, brand lockup, tagline.
12
+ * Eyebrow is desktop-only and the lockup shrinks on phones, so the picker
13
+ * starts near the top of the screen instead of ~180px down.
14
+ */
15
+ export declare function GamePageHeader({ eyebrow, iconUrl, gameName, tagline, style, }: {
16
+ /** Uppercase kicker above the lockup. Hidden on phones — pass `null` to drop it everywhere. */
17
+ eyebrow?: string | null;
18
+ iconUrl: string;
19
+ gameName: string;
20
+ tagline?: string | null;
21
+ style?: any;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ /**
24
+ * A set of equal-weight options — ladders, dividends, nets. One swipeable row on
25
+ * a phone (a 2-up grid cost four rows), the usual grid from 640px up.
26
+ */
27
+ export declare function OptionStrip({ ariaLabel, children, }: {
28
+ ariaLabel: string;
29
+ children: React.ReactNode;
30
+ }): import("react/jsx-runtime").JSX.Element;
31
+ /**
32
+ * Sizing for a single `OptionStrip` child: fixed on the phone rail, fluid in
33
+ * the grid. `wideBasis` is the grid's per-column basis — the twin of the web
34
+ * `sm:grid-cols-N` (5-up is `'17%'`, 4-up `'21%'`).
35
+ */
36
+ export declare function optionStripItemStyle(wide: boolean, wideBasis?: ViewStyle['flexBasis']): ViewStyle;
15
37
  /** A row of the shared pip language: teal filled pips = must-hit legs, citron ball = the prize. */
16
38
  export declare function LegPips({ legs, prizeBall }: {
17
39
  legs: number;
@@ -1,16 +1,25 @@
1
+ import { GameFlow } from '../../shared/game-flow';
1
2
  export interface GamePageProps {
2
3
  /** Called after a game is selected (e.g. navigate to selections screen) */
3
4
  onSelectGame?: () => void;
4
- /** Called when the selected game needs a rule setup step before selections */
5
+ /**
6
+ * Called when the selected game needs a setup step before selections. Most
7
+ * hosts navigate to `<GameSetupPage />`, which picks the page itself; `flow`
8
+ * is there for hosts that want a distinct route per game.
9
+ */
10
+ onGameSetup?: (flow: GameFlow) => void;
11
+ /** @deprecated Use `onGameSetup`. Also fires as the fallback for any setup flow without a handler. */
5
12
  onRuleSetup?: () => void;
6
- /** Called when the selected game is a Game Set Bet (navigate to the ticket-builder page) */
13
+ /** @deprecated Use `onGameSetup`. */
7
14
  onGameSetBet?: () => void;
8
- /** Called when the selected game is a Pick Your Dividend game (navigate to the dividend page) */
15
+ /** @deprecated Use `onGameSetup`. */
9
16
  onPickYourDividend?: () => void;
10
- /** Called when the selected game is a Ladder game (navigate to the ladder page) */
17
+ /** @deprecated Use `onGameSetup`. */
11
18
  onLadder?: () => void;
12
- /** Called when the selected game is a Mirror game (navigate to the mirror page) */
19
+ /** @deprecated Use `onGameSetup`. */
13
20
  onMirror?: () => void;
21
+ /** @deprecated Use `onGameSetup`. */
22
+ onSafetyNet?: () => void;
14
23
  onQuickPick?: () => void;
15
24
  /** Called when the user cancels */
16
25
  onCancel?: () => void;
@@ -30,4 +39,4 @@ export declare function GamePageActions({ onCancel, onSelectGame }: {
30
39
  onCancel?: () => void;
31
40
  onSelectGame?: () => void;
32
41
  }): import("react/jsx-runtime").JSX.Element | null;
33
- export declare function GamePage({ onSelectGame, onRuleSetup, onGameSetBet, onPickYourDividend, onLadder, onMirror, onQuickPick, onCancel, hideTitle, hideActions, showPerfectPickSetup, showTierFilter }: GamePageProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function GamePage({ onSelectGame, onGameSetup, onRuleSetup, onGameSetBet, onPickYourDividend, onLadder, onMirror, onSafetyNet, onQuickPick, onCancel, hideTitle, hideActions, showPerfectPickSetup, showTierFilter }: GamePageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,21 @@
1
1
  import { GameSelectorProps } from '../types';
2
+ import { DividendMode, DividendTier } from '../../shared/game-dividends';
3
+ /** The game's dividends, rendered inside the How to Play modal. */
4
+ export declare function CardDividends({ tiers, modes, pydDividends, onPlayCount, minBet, maxBet, colors: c, bodyFont, headingFont, }: {
5
+ tiers: DividendTier[];
6
+ modes?: DividendMode[];
7
+ /** Pick Your Dividend: the set dividends and the stake each starts from. */
8
+ pydDividends?: {
9
+ dividend: number;
10
+ stakeFrom: number;
11
+ }[];
12
+ /** Makes each leg row play that many picks. */
13
+ onPlayCount?: (count: number) => void;
14
+ /** The game's bet limits — the example bet is clamped to them. */
15
+ minBet?: number;
16
+ maxBet?: number | null;
17
+ colors: any;
18
+ bodyFont: string | undefined;
19
+ headingFont: string | undefined;
20
+ }): import("react/jsx-runtime").JSX.Element | null;
2
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;
@@ -6,11 +6,9 @@
6
6
  * - Pick Your Dividend → dividend picker + stake ladder
7
7
  * - Ladder → ladder picker + stacking prize table
8
8
  * - Mirror → legs + stake builder, all right / all wrong pays
9
+ * - Safety Net → net + legs + stake ticket builder
9
10
  * - exact rules → Perfect Pick ticket builder
10
- * - safety_net / pick → the rule mode-select page
11
- *
12
- * All of them share the same kit (lockup header, cards, pips, mode cards), so
13
- * the UI stays one system while the controls change per game.
11
+ * - pick → the rule mode-select page
14
12
  */
15
13
  export interface GameSetupPageProps {
16
14
  /** Called when the user will make their own calls (navigate to selections). */
@@ -1,7 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { HowToPlayPanelContent } from '../../shared/how-to-play-panel';
3
+ import { BladeTheme } from '../types';
1
4
  export interface HowToPlayButtonProps {
2
5
  content?: string | null;
6
+ panel?: HowToPlayPanelContent | null;
7
+ theme?: BladeTheme;
8
+ /** Rendered under the how-to-play body — the game's dividends, typically. */
9
+ extra?: React.ReactNode;
3
10
  title?: string;
4
11
  label?: string;
12
+ variant?: 'pill' | 'icon';
5
13
  colors: {
6
14
  text: string;
7
15
  textMuted: string;
@@ -14,4 +22,4 @@ export interface HowToPlayButtonProps {
14
22
  bodyFont?: string;
15
23
  headingFont?: string;
16
24
  }
17
- export declare function HowToPlayButton({ content, title, label, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
25
+ export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { BladeTheme } from '../types';
3
+ import { HowToPlayPanelContent } from '../../shared/how-to-play-panel';
4
+ export interface HowToPlayPanelProps {
5
+ panel: HowToPlayPanelContent;
6
+ theme: BladeTheme;
7
+ /** Adds a third tab when given — the game's dividends. */
8
+ dividends?: React.ReactNode;
9
+ bodyFont?: string;
10
+ headingFont?: string;
11
+ }
12
+ export declare function HowToPlayPanel({ panel, theme, dividends, bodyFont, headingFont, }: HowToPlayPanelProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  export interface IconSvgProps {
2
2
  iconUrl: string;
3
- width: number | string;
4
- height: number | string;
3
+ width: number | `${number}%`;
4
+ height: number | `${number}%`;
5
5
  iconColor?: string;
6
6
  accentColor?: string;
7
7
  accessibilityLabel?: string;
@@ -23,23 +23,37 @@ export declare function CategoryGridSkeleton({ colors, count, }: {
23
23
  colors: PickerSurfaceColors;
24
24
  count?: number;
25
25
  }): import("react/jsx-runtime").JSX.Element;
26
- /** RN mirror of web `SportListSkeleton`. */
27
- export declare function SportListSkeleton({ colors, count, }: {
26
+ /** RN mirror of web `SportGridSkeleton` — stacked tile on phones, logo-row when wide. */
27
+ export declare function SportGridSkeleton({ colors, count, }: {
28
28
  colors: PickerSurfaceColors;
29
29
  count?: number;
30
30
  }): import("react/jsx-runtime").JSX.Element;
31
- export declare function GameCardSkeleton({ colors, tileSize, }: {
31
+ /** RN mirror of web `EventListSkeleton` — matchup bar, meta line, chevron. */
32
+ export declare function EventListSkeleton({ colors, count, }: {
33
+ colors: PickerSurfaceColors;
34
+ count?: number;
35
+ }): import("react/jsx-runtime").JSX.Element;
36
+ export declare function GameCardSkeleton({ colors, tileSize, width, }: {
32
37
  colors: PickerSurfaceColors;
33
38
  tileSize?: number;
39
+ width?: number | `${number}%`;
34
40
  }): import("react/jsx-runtime").JSX.Element;
35
- export declare function GameCardListSkeleton({ colors, count, tileSize, }: {
41
+ /** RN mirror of web `GameTierTabsSkeleton`. */
42
+ export declare function GameTierTabsSkeleton({ colors }: {
43
+ colors: PickerSurfaceColors;
44
+ }): import("react/jsx-runtime").JSX.Element;
45
+ /** RN mirror of web `GameCardListSkeleton` (1 col < 420px, 2 cols ≥ 420px). */
46
+ export declare function GameCardListSkeleton({ colors, count, tileSize, showTierTabs, }: {
36
47
  colors: PickerSurfaceColors;
37
48
  count?: number;
38
49
  tileSize?: number;
50
+ showTierTabs?: boolean;
39
51
  }): import("react/jsx-runtime").JSX.Element;
40
- export declare function PropositionListSkeleton({ colors, rows, }: {
52
+ /** RN mirror of web `PropositionListSkeleton` — filter pill, then matchup cards. */
53
+ export declare function PropositionListSkeleton({ colors, groups, rowsPerGroup, }: {
41
54
  colors: PickerSurfaceColors;
42
- rows?: number;
55
+ groups?: number;
56
+ rowsPerGroup?: number;
43
57
  }): import("react/jsx-runtime").JSX.Element;
44
58
  export declare function EntryTabsSkeleton({ colors }: {
45
59
  colors: PickerSurfaceColors;
@@ -51,12 +65,13 @@ export declare function EntryListSkeleton({ colors, rows, }: {
51
65
  colors: PickerSurfaceColors;
52
66
  rows?: number;
53
67
  }): import("react/jsx-runtime").JSX.Element;
54
- export type PickerLoadingVariant = 'category' | 'sport' | 'games' | 'propositions' | 'entries';
55
- export declare function PickerLoadingPanel({ colors, bodyFont, message, variant, gameCardCount, categoryCount, }: {
68
+ export type PickerLoadingVariant = 'category' | 'sport' | 'event' | 'games' | 'propositions' | 'entries';
69
+ export declare function PickerLoadingPanel({ colors, bodyFont, message, variant, gameCardCount, categoryCount, showTierTabs, }: {
56
70
  colors: PickerSurfaceColors;
57
71
  bodyFont?: string;
58
72
  message?: string;
59
73
  variant?: PickerLoadingVariant;
60
74
  gameCardCount?: number;
61
75
  categoryCount?: number;
76
+ showTierTabs?: boolean;
62
77
  }): import("react/jsx-runtime").JSX.Element;
@@ -17,9 +17,11 @@ export declare function PageBackLink({ onBack, label, }: {
17
17
  onBack: () => void;
18
18
  label?: string;
19
19
  }): import("react/jsx-runtime").JSX.Element;
20
- export declare function PageTitleBackRow({ onBack, hideActions: _hideActions, children, }: {
20
+ export declare function PageTitleBackRow({ onBack, hideActions: _hideActions, label, children, }: {
21
21
  onBack?: () => void;
22
22
  /** @deprecated Back arrow visibility is controlled by `onBack` only */
23
23
  hideActions?: boolean;
24
+ /** Context text (game name, category) — part of the back button's press target when `onBack` is set. */
25
+ label?: React.ReactNode;
24
26
  children?: React.ReactNode;
25
27
  }): import("react/jsx-runtime").JSX.Element | null;
@@ -9,6 +9,14 @@ export declare function ChevronRightIcon({ size, color, }: {
9
9
  size?: number;
10
10
  color?: string;
11
11
  }): import("react/jsx-runtime").JSX.Element;
12
+ export declare function LockIcon({ size, color, }: {
13
+ size?: number;
14
+ color?: string;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ export declare function FilterIcon({ size, color, }: {
17
+ size?: number;
18
+ color?: string;
19
+ }): import("react/jsx-runtime").JSX.Element;
12
20
  export declare function YesNoCategoryLabel({ label, category, icon, theme, disabled, }: {
13
21
  label: string;
14
22
  category: string;
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { Game, Proposition, SportSummary, GameEntry, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
3
3
  import { BladeTheme, BladeThemeSet, ColorScheme } from '../utils/themes';
4
4
  import { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from '../utils';
5
- import { RenderTeamLogo } from '../../shared/types';
5
+ import { RenderTeamLogo, GamePermittedRule } from '../../shared/types';
6
6
  import { SameGameMultiEvent } from '../../shared/same-game-multi';
7
7
  export interface PlaceEntryContextValue {
8
8
  theme: BladeTheme;
@@ -30,6 +30,9 @@ export interface PlaceEntryContextValue {
30
30
  selectedPropositionCount: number | undefined;
31
31
  handlePropositionCountChange: (count: number) => void;
32
32
  upgradePropositionCount: (count: number) => void;
33
+ selectedRuleId: number | null;
34
+ setSelectedRuleId: (id: number | null) => void;
35
+ selectedRule: GamePermittedRule | null;
33
36
  winningCounts: number[];
34
37
  payouts: Record<number, number>;
35
38
  overloadPayouts: Record<number, number>;
@@ -61,7 +64,6 @@ export interface PlaceEntryContextValue {
61
64
  fetchImpl?: typeof fetch;
62
65
  getAuthHeaders?: () => Promise<Record<string, string>> | Record<string, string>;
63
66
  userId?: string | number;
64
- showHomeAway: boolean;
65
67
  disableQuickPick: boolean;
66
68
  renderTeamLogo?: RenderTeamLogo;
67
69
  filterSport?: string;
@@ -112,7 +114,6 @@ export interface PlaceEntryProviderProps {
112
114
  initialEventId?: string;
113
115
  initialEventLabel?: string;
114
116
  sportBaseKey?: string;
115
- showHomeAway?: boolean;
116
117
  disableQuickPick?: boolean;
117
118
  renderTeamLogo?: RenderTeamLogo;
118
119
  onEntryPlaced?: (entry: GameEntry) => void;
@@ -126,4 +127,4 @@ export interface PlaceEntryProviderProps {
126
127
  sportDisplayNames?: SportDisplayNameOverrides;
127
128
  categoryDisplayNames?: CategoryDisplayNameOverrides;
128
129
  }
129
- export declare function PlaceEntryProvider({ apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, getUserBalance, children, theme: themeProp, colorScheme, demoGames, demoPropositions, demoEntries, demoMaxPayouts, gameCategory, jurisdiction, initialGameId, filterSport, initialSport, initialEventId, initialEventLabel, sportBaseKey, showHomeAway, disableQuickPick, renderTeamLogo, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
130
+ export declare function PlaceEntryProvider({ apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, getUserBalance, children, theme: themeProp, colorScheme, demoGames, demoPropositions, demoEntries, demoMaxPayouts, gameCategory, jurisdiction, initialGameId, filterSport, initialSport, initialEventId, initialEventLabel, sportBaseKey, disableQuickPick, renderTeamLogo, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { BladeTheme } from '../types';
2
+ export interface FilterChipOption {
3
+ value: string | null;
4
+ label: string;
5
+ }
6
+ export interface FilterChipGroup {
7
+ label?: string;
8
+ options: FilterChipOption[];
9
+ value: string | null;
10
+ onChange: (value: string | null) => void;
11
+ }
12
+ export interface FilterChipCarouselProps {
13
+ groups: FilterChipGroup[];
14
+ theme: BladeTheme;
15
+ bodyFont?: string;
16
+ }
17
+ export declare function FilterChipCarousel({ groups, theme, bodyFont, }: FilterChipCarouselProps): import("react/jsx-runtime").JSX.Element | null;
18
+ export interface FilterChipRowProps extends FilterChipGroup {
19
+ theme: BladeTheme;
20
+ bodyFont?: string;
21
+ }
22
+ export declare function FilterChipRow({ label, options, value, onChange, theme, bodyFont, }: FilterChipRowProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { SafetyNetConfig } from '../../shared/safety-net';
2
+ export interface SafetyNetPageProps {
3
+ onQuickPick?: () => void;
4
+ onPickYourOwn?: () => void;
5
+ onBack?: () => void;
6
+ hideTitle?: boolean;
7
+ config?: SafetyNetConfig | null;
8
+ backLabel?: string;
9
+ }
10
+ export declare function SafetyNetPageTitle({ onBack, hideActions, }?: {
11
+ onBack?: () => void;
12
+ hideActions?: boolean;
13
+ }): import("react/jsx-runtime").JSX.Element;
14
+ export declare function SafetyNetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: SafetyNetPageProps): import("react/jsx-runtime").JSX.Element;
@@ -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, showHomeAway, 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, addMorePicks, }: SelectionReviewProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ export type SelectionsView = 'list' | 'swipe';
1
2
  export interface SelectionsPageProps {
2
3
  /** Called when the user presses Continue (e.g. navigate to confirm screen) */
3
4
  onNext?: () => void;
@@ -7,6 +8,11 @@ export interface SelectionsPageProps {
7
8
  hideTitle?: boolean;
8
9
  /** Hide the built-in action buttons (use `<SelectionsPageActions />` separately) */
9
10
  hideActions?: boolean;
11
+ defaultView?: SelectionsView;
12
+ view?: SelectionsView;
13
+ onViewChange?: (view: SelectionsView) => void;
14
+ hideViewSwitch?: boolean;
15
+ onSwipeDragStateChange?: (dragging: boolean) => void;
10
16
  }
11
17
  export declare function SelectionsPageTitle({ onBack, onNext, hideActions }?: {
12
18
  onBack?: () => void;
@@ -19,4 +25,4 @@ export declare function SelectionsPageActions({ onNext, onBack, hideButtons, }:
19
25
  onBack?: () => void;
20
26
  hideButtons?: boolean;
21
27
  }): import("react/jsx-runtime").JSX.Element;
22
- export declare function SelectionsPage({ onNext, onBack, hideTitle, hideActions }: SelectionsPageProps): import("react/jsx-runtime").JSX.Element | null;
28
+ export declare function SelectionsPage({ onNext, onBack, hideTitle, hideActions, defaultView, view: controlledView, onViewChange, hideViewSwitch, onSwipeDragStateChange, }: SelectionsPageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { ComingSoonSport } from '../../shared/picker-brand';
2
3
  export interface SportPickerPageProps {
3
4
  onSelectSport?: (sport: string) => void;
4
5
  onCancel?: () => void;
@@ -8,6 +9,7 @@ export interface SportPickerPageProps {
8
9
  renderSportTagline?: (sport: string, count: number) => string;
9
10
  /** Label for the back link (where "back" leads). @default 'Category' */
10
11
  backLabel?: string;
12
+ comingSoonSports?: ComingSoonSport[];
11
13
  }
12
14
  export declare function SportPickerPageTitle({ onBack, hideActions, backLabel, }?: {
13
15
  onBack?: () => void;
@@ -17,4 +19,4 @@ export declare function SportPickerPageTitle({ onBack, hideActions, backLabel, }
17
19
  export declare function SportPickerPageActions({ onCancel, }: {
18
20
  onCancel?: () => void;
19
21
  }): import("react/jsx-runtime").JSX.Element | null;
20
- export declare function SportPickerPage({ onSelectSport, onCancel, hideTitle, hideActions, renderSportLogo, renderSportTagline, backLabel, }: SportPickerPageProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function SportPickerPage({ onSelectSport, onCancel, hideTitle, hideActions, renderSportLogo, renderSportTagline, backLabel, comingSoonSports, }: SportPickerPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,15 @@
1
- import { SportSelectorProps } from '../../shared/types';
2
- export declare function SportSelector({ game, propositions, selections, onToggleSelection, onNext, onBack, loading, error, theme: themeProp, colorScheme, hideActions, initialSport, renderTeamLogo, disableQuickPick, selectedPropositionCount, onPropositionCountChange, showHomeAway, gameCategory, }: SportSelectorProps): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ import { Proposition, SportSelectorProps } from '../../shared/types';
3
+ /** A header key names two teams when it splits on " vs " — `MatchupTeams`' own test. */
4
+ export declare function isMatchupKey(key?: string | null): boolean;
5
+ /** The runner's silk, for single-event rows; under an "A vs B" header the logos are already up top. */
6
+ export declare function runnerLogo(prop: Proposition, renderTeamLogo: SportSelectorProps['renderTeamLogo'], headerKey?: string | null): React.ReactNode;
7
+ /** "A vs B" as a header — names stack beside the "vs" on a phone, one line from 640px up. */
8
+ export declare function MatchupTeams({ matchup, renderTeamLogo, altText, mutedColor, size, }: {
9
+ matchup: string;
10
+ renderTeamLogo?: SportSelectorProps['renderTeamLogo'];
11
+ altText: string;
12
+ mutedColor: string;
13
+ size?: 'sm' | 'md';
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ export declare function SportSelector({ game, propositions, selections, onToggleSelection, onNext, onBack, loading, error, theme: themeProp, colorScheme, hideActions, initialSport, renderTeamLogo, disableQuickPick, selectedPropositionCount, onPropositionCountChange, gameCategory, headerExtra, }: SportSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import { default as React } from 'react';
2
+ import { BladeTheme } from '../utils/themes';
3
+ import { FlyDirection } from '../../shared/swipe-deck';
4
+ import { Proposition } from '../../shared/types';
5
+ export type { FlyDirection };
6
+ export interface SwipeCardApi {
7
+ fly: (direction: FlyDirection) => void;
8
+ }
9
+ export interface SwipeCardProps {
10
+ prop: Proposition;
11
+ /** Only used for the Yes/No/Skip stamps. Defaults to the provider's theme, then the default theme. */
12
+ theme?: BladeTheme;
13
+ depth?: number;
14
+ enterFrom?: FlyDirection | null;
15
+ canSkip?: boolean;
16
+ onResolve: (id: number, answer: 'yes' | 'no' | null) => void;
17
+ registerApi?: (api: SwipeCardApi | null) => void;
18
+ onDragStateChange?: (dragging: boolean) => void;
19
+ children: React.ReactNode;
20
+ }
21
+ export declare function SwipeCard({ prop, theme: themeProp, depth, enterFrom, canSkip, onResolve, registerApi, onDragStateChange, children, }: SwipeCardProps): import("react/jsx-runtime").JSX.Element;
22
+ export interface SwipeCardFaceProps {
23
+ prop: Proposition;
24
+ }
25
+ export declare function SwipeCardFace({ prop }: SwipeCardFaceProps): import("react/jsx-runtime").JSX.Element;
26
+ export interface SwipeDeckProps {
27
+ onBack?: () => void;
28
+ onNext?: () => void;
29
+ viewSwitch?: React.ReactNode;
30
+ onDragStateChange?: (dragging: boolean) => void;
31
+ }
32
+ export declare function SwipeDeck({ onBack, onNext, viewSwitch, onDragStateChange }: SwipeDeckProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,6 +1,27 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle, StyleProp, Animated } from 'react-native';
3
3
  import { BladeTheme } from '../../../shared/themes';
4
+ /** Twin of the web `TOUCH_TARGET`: minimum hit area in px. Shrink the paint, never the target. */
5
+ export declare const TOUCH_TARGET = 44;
6
+ /**
7
+ * Scroll a horizontal `ScrollView` to `x`. RN-web's patched `scrollTo` never
8
+ * moves the node. We need to handle platforms separately. RN 0.86 broke previous
9
+ * guard.
10
+ */
11
+ export declare function scrollRowTo(ref: {
12
+ current: unknown;
13
+ }, x: number, animated?: boolean): void;
14
+ /**
15
+ * Hover handlers for the react-native-web twin — RN's own prop types omit them
16
+ * and they are inert on native. Spread it (`{...hoverHandlers(a, b)}`) instead
17
+ * of setting `onMouseEnter`/`onMouseLeave` inline: a JSX spread skips the
18
+ * excess-property check, so there is no `@ts-expect-error` to go stale the next
19
+ * time RN's types move.
20
+ */
21
+ export declare function hoverHandlers(onEnter: () => void, onLeave: () => void): {
22
+ onMouseEnter: () => void;
23
+ onMouseLeave: () => void;
24
+ };
4
25
  export declare function useBreakpoint(minWidth?: number): boolean;
5
26
  export type SurfaceLevel = 'flat' | 'raised' | 'elevated';
6
27
  export interface SurfaceProps {
@@ -1,5 +1,9 @@
1
1
  export { HowToPlayButton } from './components/HowToPlayButton';
2
2
  export type { HowToPlayButtonProps } from './components/HowToPlayButton';
3
+ export { HowToPlayPanel } from './components/HowToPlayPanel';
4
+ export type { HowToPlayPanelProps } from './components/HowToPlayPanel';
5
+ export { FilterChipRow, FilterChipCarousel } from './components/PropositionFilters';
6
+ export type { FilterChipRowProps, FilterChipCarouselProps, FilterChipGroup, FilterChipOption } from './components/PropositionFilters';
3
7
  export { GameSelector } from './components/GameSelector';
4
8
  export { SelectionReview } from './components/SelectionReview';
5
9
  export { EntrySubmission } from './components/EntrySubmission';
@@ -14,7 +18,11 @@ export type { GamePageProps } from './components/GamePage';
14
18
  export { EventFilterBanner } from './components/EventFilterBanner';
15
19
  export type { EventFilterBannerProps } from './components/EventFilterBanner';
16
20
  export { SelectionsPage, SelectionsPageTitle, SelectionsPageActions } from './components/SelectionsPage';
17
- export type { SelectionsPageProps } from './components/SelectionsPage';
21
+ export type { SelectionsPageProps, SelectionsView } from './components/SelectionsPage';
22
+ export { SwipeDeck, SwipeCard, SwipeCardFace } from './components/SwipeDeck';
23
+ export type { SwipeDeckProps, SwipeCardProps, SwipeCardFaceProps, SwipeCardApi, FlyDirection, } from './components/SwipeDeck';
24
+ export { useSwipeDeck, VISIBLE_DEPTH } from '../shared/swipe-deck';
25
+ export type { SwipeDeckState } from '../shared/swipe-deck';
18
26
  export { ConfirmPage, ConfirmPageTitle, ConfirmPageActions } from './components/ConfirmPage';
19
27
  export type { ConfirmPageProps } from './components/ConfirmPage';
20
28
  export { SuccessPage, SuccessPageTitle, SuccessPageActions } from './components/SuccessPage';
@@ -47,6 +55,10 @@ export { MirrorPage, MirrorPageTitle } from './components/MirrorPage';
47
55
  export type { MirrorPageProps } from './components/MirrorPage';
48
56
  export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
49
57
  export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
58
+ export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
59
+ export type { SafetyNetPageProps } from './components/SafetyNetPage';
60
+ export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
61
+ export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
50
62
  export { getGameFlow, getConfirmBoostCopy, isFixedCardExactGame, isOpenExactMultiGame } from '../shared/game-flow';
51
63
  export { GAME_TIER_LEVEL, GAME_TIER_TABS, resolveGameTierLevel, filterGamesByTierLevel, availableGameTierTabs, defaultGameTierId, } from '../shared/game-tiers';
52
64
  export type { GameTierId } from '../shared/game-tiers';
@@ -61,12 +73,12 @@ export { BrandLockup } from './components/BrandLockup';
61
73
  export type { BrandLockupProps } from './components/BrandLockup';
62
74
  export { GameLogo } from './components/GameLogo';
63
75
  export type { GameLogoProps } from './components/GameLogo';
64
- export { YesNoCategoryLabel, CategoryIcon, ChevronRightIcon } from './components/PickerBrand';
65
- export type { Game, SportSummary, Proposition, GameEntry, RuleExpressionObject, PlaceEntryFlowProps, GameSelectorProps, EntrySubmissionProps, SelectionReviewProps, GameEntriesProps, ResolvedEntryData, ShareData, ScreenSize, EvaluateRuleRequest, EvaluateRuleResponse, CalculatePayoutRequest, CalculatePayoutResponse, EntryPreviewRequest, EntryPreviewResponse, } from './types';
76
+ export { YesNoCategoryLabel, CategoryIcon, ChevronRightIcon, LockIcon } from './components/PickerBrand';
77
+ export type { Game, SportSummary, Proposition, GameEntry, RuleExpressionObject, PlaceEntryFlowProps, GameSelectorProps, EntrySubmissionProps, SelectionReviewProps, GameEntriesProps, ResolvedEntryData, ShareData, PendingBet, ScreenSize, EvaluateRuleRequest, EvaluateRuleResponse, CalculatePayoutRequest, CalculatePayoutResponse, EntryPreviewRequest, EntryPreviewResponse, } from './types';
66
78
  export { BladeApiClient } from './utils/api-client';
67
79
  export type { BladeApiClientConfig } from './utils/api-client';
68
80
  export { formatCurrency, formatDate, groupPropositionsBySport, isValidSelectionCount, getSportDisplayName, resolveSportDisplayName, resolveCategoryDisplayName, resolvePrice, getJackpotInfo, contrastTextColour, } from './utils';
69
- export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from './utils';
81
+ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, ComingSoonSport } from './utils';
70
82
  export { getTheme, getThemeSet, useResolvedTheme, resolveTheme, isThemeSet, themes, themeSets, defaultTheme, greenTheme, greenLightTheme, darkTheme, goldTheme, goldLightTheme, defaultThemeSet, greenThemeSet, goldThemeSet, themeHeading, themeLabel, themeValue, themeAccent, themeTextAlt, themeTextAltMuted, themeBodyFont, themeHeadingFont, } from './utils/themes';
71
83
  export type { BladeTheme, BladeThemeSet, ColorScheme } from './utils/themes';
72
84
  export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, } from './hooks';