@simple-parlay/components 1.30.6-pre.6 → 1.30.6-pre.8

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 (80) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.mjs +447 -419
  4. package/dist/react/components/CallGameCatalogue.d.ts +4 -0
  5. package/dist/react/components/CallPayoutTable.d.ts +6 -0
  6. package/dist/react/components/CallTicketBuilder.d.ts +3 -0
  7. package/dist/react/components/CorrelationChoicesSkeleton.d.ts +4 -0
  8. package/dist/react/components/CorrelationPricingDebug.d.ts +2 -0
  9. package/dist/react/components/CorrelationPropPlaceholder.d.ts +8 -0
  10. package/dist/react/components/DenseGameCatalogue.d.ts +2 -0
  11. package/dist/react/components/DenseUi.d.ts +29 -0
  12. package/dist/react/components/GamePage.d.ts +4 -2
  13. package/dist/react/components/GameSelector.d.ts +9 -1
  14. package/dist/react/components/GameSetupPage.d.ts +1 -1
  15. package/dist/react/components/GameShelfCatalogue.d.ts +8 -0
  16. package/dist/react/components/GameVariantCatalogue.d.ts +6 -0
  17. package/dist/react/components/HowToPlayButton.d.ts +3 -1
  18. package/dist/react/components/PlaceEntryProvider.d.ts +38 -5
  19. package/dist/react/components/PlaybookChooser.d.ts +7 -0
  20. package/dist/react/components/SafetyNetPage.d.ts +4 -1
  21. package/dist/react/components/_primitives/index.d.ts +3 -1
  22. package/dist/react/index.cjs +1 -0
  23. package/dist/react/index.d.ts +33 -10
  24. package/dist/react/index.mjs +447 -419
  25. package/dist/react-native/components/CallGameCatalogue.d.ts +16 -0
  26. package/dist/react-native/components/CallPayoutTable.d.ts +6 -0
  27. package/dist/react-native/components/CallTicketBuilder.d.ts +31 -0
  28. package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
  29. package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
  30. package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
  31. package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
  32. package/dist/react-native/components/DenseUi.d.ts +58 -0
  33. package/dist/react-native/components/GamePage.d.ts +5 -2
  34. package/dist/react-native/components/GameSelector.d.ts +9 -1
  35. package/dist/react-native/components/GameSetupPage.d.ts +1 -1
  36. package/dist/react-native/components/GameShelfCatalogue.d.ts +7 -0
  37. package/dist/react-native/components/HowToPlayButton.d.ts +3 -1
  38. package/dist/react-native/components/PlaceEntryProvider.d.ts +31 -5
  39. package/dist/react-native/components/PlaybookChooser.d.ts +7 -0
  40. package/dist/react-native/components/SafetyNetPage.d.ts +4 -1
  41. package/dist/react-native/components/_primitives/index.d.ts +3 -1
  42. package/dist/react-native/index.cjs +1 -0
  43. package/dist/react-native/index.d.ts +33 -10
  44. package/dist/react-native/index.mjs +474 -445
  45. package/dist/shared/api-client.d.ts +4 -3
  46. package/dist/shared/call-presentation.d.ts +20 -0
  47. package/dist/shared/correlation-steering.d.ts +43 -0
  48. package/dist/shared/dense-ui.d.ts +54 -0
  49. package/dist/shared/game-artwork.d.ts +41 -0
  50. package/dist/shared/game-icons.d.ts +6 -3
  51. package/dist/shared/game-library.d.ts +34 -0
  52. package/dist/shared/game-shelf-artwork.d.ts +3 -0
  53. package/dist/shared/game-shelf-presentation.d.ts +42 -0
  54. package/dist/shared/game-variants.d.ts +5 -0
  55. package/dist/shared/hooks.d.ts +7 -7
  56. package/dist/shared/how-to-play-html.d.ts +1 -1
  57. package/dist/shared/how-to-play-logo.d.ts +1 -1
  58. package/dist/shared/playbook.d.ts +29 -0
  59. package/dist/shared/selection-caps.d.ts +15 -3
  60. package/dist/shared/selection-variants.d.ts +3 -1
  61. package/dist/shared/themes.d.ts +20 -0
  62. package/dist/shared/types.d.ts +17 -2
  63. package/dist/shared/ui-variant.d.ts +14 -0
  64. package/dist/shared/use-call-payouts.d.ts +8 -0
  65. package/dist/shared/utils.d.ts +4 -4
  66. package/package.json +7 -8
  67. package/dist/index.js +0 -1
  68. package/dist/react/components/GameSetBetPage.d.ts +0 -21
  69. package/dist/react/components/LadderPage.d.ts +0 -21
  70. package/dist/react/components/MirrorPage.d.ts +0 -21
  71. package/dist/react/components/PickYourDividendPage.d.ts +0 -21
  72. package/dist/react/components/SixAgainPage.d.ts +0 -16
  73. package/dist/react/index.js +0 -1
  74. package/dist/react/utils/design.d.ts +0 -55
  75. package/dist/react-native/components/GameSetBetPage.d.ts +0 -19
  76. package/dist/react-native/components/LadderPage.d.ts +0 -19
  77. package/dist/react-native/components/MirrorPage.d.ts +0 -19
  78. package/dist/react-native/components/PickYourDividendPage.d.ts +0 -19
  79. package/dist/react-native/components/SixAgainPage.d.ts +0 -14
  80. package/dist/react-native/index.js +0 -1
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { Game, TopPayoutsResponse } from '../../shared/types';
3
+ import { BladeTheme } from '../../shared/themes';
4
+ interface Props {
5
+ games: Game[];
6
+ selectedGame: Game | null;
7
+ theme: BladeTheme;
8
+ onPlay: (game: Game, count: number) => void;
9
+ maxPayouts?: Record<number, TopPayoutsResponse>;
10
+ quickPickLoading?: boolean;
11
+ tierFilter?: React.ReactNode;
12
+ showTier?: boolean;
13
+ showCategory?: boolean;
14
+ }
15
+ export declare function CallGameCatalogue({ games, theme, onPlay, maxPayouts, quickPickLoading, showTier }: Props): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,6 @@
1
+ import { CallPayoutView } from '../../shared/call-presentation';
2
+ import { BladeTheme } from '../../shared/themes';
3
+ export declare function CallPayoutTable({ view, theme }: {
4
+ view: CallPayoutView;
5
+ theme: BladeTheme;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { Game } from '../../shared/types';
2
+ import { BladeTheme } from '../../shared/themes';
3
+ import { CallPayoutView } from '../../shared/call-presentation';
4
+ interface Props {
5
+ game: Game;
6
+ theme: BladeTheme;
7
+ legs: number;
8
+ legOptions: number[];
9
+ onLegs: (n: number) => void;
10
+ stake: number;
11
+ onStake: (n: number) => void;
12
+ stakes?: number[];
13
+ minStake?: number;
14
+ maxStake?: number | null;
15
+ modes?: {
16
+ id: string;
17
+ label: string;
18
+ detail: string;
19
+ }[];
20
+ modeId?: string;
21
+ onMode?: (id: string) => void;
22
+ expectedCorrect?: number;
23
+ ruleId?: number | null;
24
+ view: CallPayoutView;
25
+ valid?: boolean;
26
+ onPick: () => void;
27
+ onQuickPick: () => void;
28
+ onBack?: () => void;
29
+ }
30
+ export declare function CallTicketBuilder(p: Props): import("react/jsx-runtime").JSX.Element;
31
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare function CorrelationChoicesSkeleton({ view }: {
2
+ view: 'list' | 'swipe';
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** Opt-in diagnostics, shared by selection and confirmation. */
2
+ export declare function CorrelationPricingDebug(): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export declare function CorrelationPropPlaceholder({ id, kind, stretch, children }: {
3
+ id: number;
4
+ kind: 'text' | 'answers';
5
+ stretch?: boolean;
6
+ children: React.ReactNode;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
+ export declare function DenseGameCatalogue(p: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,58 @@
1
+ import { default as React } from 'react';
2
+ import { BladeTheme } from '../../shared/themes';
3
+ import { CallPayoutView } from '../../shared/call-presentation';
4
+ import { CallTicketBuilderProps, DenseTicketActionsProps } from '../../shared/dense-ui';
5
+ export declare function denseTokens(theme: BladeTheme): {
6
+ text: {
7
+ color: string;
8
+ fontFamily: string;
9
+ fontSize: number;
10
+ };
11
+ muted: {
12
+ color: string;
13
+ fontFamily: string;
14
+ fontSize: number;
15
+ };
16
+ row: {
17
+ flexDirection: "row";
18
+ alignItems: "center";
19
+ gap: number;
20
+ };
21
+ btn: {
22
+ minHeight: number;
23
+ paddingVertical: number;
24
+ paddingHorizontal: number;
25
+ borderRadius: number;
26
+ borderWidth: number;
27
+ borderColor: string;
28
+ justifyContent: "center";
29
+ backgroundColor: string;
30
+ };
31
+ };
32
+ export declare function DenseButton({ theme, label, onPress, selected, disabled, primary, }: {
33
+ theme: BladeTheme;
34
+ label: string;
35
+ onPress?: () => void;
36
+ selected?: boolean;
37
+ disabled?: boolean;
38
+ primary?: boolean;
39
+ }): import("react/jsx-runtime").JSX.Element;
40
+ export declare function DenseOutcome({ view, theme, compact, }: {
41
+ view: CallPayoutView;
42
+ theme: BladeTheme;
43
+ compact?: boolean;
44
+ }): import("react/jsx-runtime").JSX.Element;
45
+ export declare function DenseSportControl({ actions }: {
46
+ actions?: React.ReactNode;
47
+ }): import("react/jsx-runtime").JSX.Element;
48
+ export declare function DenseHeader({ onBack, children, }: {
49
+ onBack?: () => void;
50
+ children?: React.ReactNode;
51
+ }): import("react/jsx-runtime").JSX.Element;
52
+ export declare function DenseSelectionHeader({ onBack }: {
53
+ onBack?: () => void;
54
+ }): import("react/jsx-runtime").JSX.Element;
55
+ export declare function DenseTicketBuilder(p: CallTicketBuilderProps & {
56
+ quotedView: CallPayoutView;
57
+ }): import("react/jsx-runtime").JSX.Element;
58
+ export declare function DenseTicketActions(p: DenseTicketActionsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,8 @@
1
+ import { GameVariant } from '../../shared/game-variants';
1
2
  import { GameFlow } from '../../shared/game-flow';
2
3
  export interface GamePageProps {
4
+ /** Overrides the provider game layout. Native supports `shelf`. */
5
+ gameVariant?: GameVariant;
3
6
  /** Called after a game is selected (e.g. navigate to selections screen) */
4
7
  onSelectGame?: () => void;
5
8
  /**
@@ -34,9 +37,9 @@ export interface GamePageProps {
34
37
  export declare function GamePageTitle({ onBack, hideActions, }?: {
35
38
  onBack?: () => void;
36
39
  hideActions?: boolean;
37
- }): import("react/jsx-runtime").JSX.Element;
40
+ }): import("react/jsx-runtime").JSX.Element | null;
38
41
  export declare function GamePageActions({ onCancel, onSelectGame }: {
39
42
  onCancel?: () => void;
40
43
  onSelectGame?: () => void;
41
44
  }): import("react/jsx-runtime").JSX.Element | null;
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;
45
+ export declare function GamePage({ gameVariant, onSelectGame, onGameSetup, onRuleSetup, onGameSetBet, onPickYourDividend, onLadder, onMirror, onSafetyNet, onQuickPick, onCancel, hideTitle, hideActions, showPerfectPickSetup, showTierFilter }: GamePageProps): import("react/jsx-runtime").JSX.Element;
@@ -18,4 +18,12 @@ 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: allGames, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, showTier, showCategory, showTierFilter, onPropositionCountChange, onPropositionCountSelected, onQuickPickGame, maxPayouts, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
21
+ /** PressToPlayTile's stacked-tile mark, cropped — no card frame or caption. */
22
+ export declare function GameMark({ iconUrl, size, brandColor, iconColor, accentColor, }: {
23
+ iconUrl: string;
24
+ size: number;
25
+ brandColor: string;
26
+ iconColor: string;
27
+ accentColor?: string;
28
+ }): import("react/jsx-runtime").JSX.Element;
29
+ export declare function GameSelector({ games: allGames, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, uiVariant: uiVariantProp, gameVariant, onBack, showTier, showCategory, showTierFilter, onPropositionCountChange, onPropositionCountSelected, onQuickPickGame, quickPickLoading, maxPayouts, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
@@ -21,4 +21,4 @@ export interface GameSetupPageProps {
21
21
  /** Label for the back link (where "back" leads). @default 'Games' */
22
22
  backLabel?: string;
23
23
  }
24
- export declare function GameSetupPage({ onPickYourOwn, onQuickPick, onBack, hideTitle, backLabel, }: GameSetupPageProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function GameSetupPage({ onPickYourOwn, onQuickPick, onBack, hideTitle, backLabel, }: GameSetupPageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
+ /**
3
+ * Filterable cover grid with a mobile details sheet and a wide side preview.
4
+ */
5
+ export declare function GameShelfCatalogue({ games, selectedGame, theme, onPlay, maxPayouts, quickPickLoading, onBack }: CallGameCatalogueProps & {
6
+ onBack?: () => void;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -10,6 +10,8 @@ export interface HowToPlayButtonProps {
10
10
  title?: string;
11
11
  label?: string;
12
12
  variant?: 'pill' | 'icon';
13
+ /** Optional touch target size for compact layouts. */
14
+ touchSize?: number;
13
15
  colors: {
14
16
  text: string;
15
17
  textMuted: string;
@@ -22,4 +24,4 @@ export interface HowToPlayButtonProps {
22
24
  bodyFont?: string;
23
25
  headingFont?: string;
24
26
  }
25
- export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
27
+ export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,12 +1,20 @@
1
+ import { GameVariant } from '../../shared/game-variants';
2
+ import { GameLibrary } from '../../shared/game-library';
3
+ import { GameFlow } from '../../shared/game-flow';
4
+ import { PreviewCallPayouts } from '../../shared/use-call-payouts';
5
+ import { UiVariant } from '../../shared/ui-variant';
1
6
  import { default as React } from 'react';
2
7
  import { YesNoLabels } from '../../shared/utils';
3
8
  import { Game, Proposition, SportSummary, GameEntry, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
4
9
  import { BladeTheme, BladeThemeSet, ColorScheme } from '../utils/themes';
5
10
  import { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from '../utils';
6
- import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule } from '../../shared/types';
11
+ import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule, GameCategory } from '../../shared/types';
7
12
  import { SelectionVariant } from '../../shared/selection-variants';
13
+ import { useCorrelationSteering } from '../../shared/correlation-steering';
8
14
  import { SameGameMultiEvent } from '../../shared/same-game-multi';
9
15
  export interface PlaceEntryContextValue {
16
+ gameLibrary: GameLibrary<PlaceEntryContextValue>;
17
+ getGameFlow: (game: Game | null | undefined) => GameFlow;
10
18
  theme: BladeTheme;
11
19
  bodyFont: string;
12
20
  headingFont: string;
@@ -32,6 +40,8 @@ export interface PlaceEntryContextValue {
32
40
  selectedPropositionIds: number[];
33
41
  selectedPropositions: Proposition[];
34
42
  selectionValid: boolean;
43
+ showCorrelationDebug: boolean;
44
+ canSelectAnswer: (id: number, answer: 'yes' | 'no') => boolean;
35
45
  answeredCount: number;
36
46
  betAmount: number;
37
47
  setBetAmount: (v: number) => void;
@@ -43,6 +53,8 @@ export interface PlaceEntryContextValue {
43
53
  selectedRuleId: number | null;
44
54
  setSelectedRuleId: (id: number | null) => void;
45
55
  selectedRule: GamePermittedRule | null;
56
+ /** Read-only quote for the optional Call setup and ticket panels. */
57
+ previewCallPayouts?: PreviewCallPayouts;
46
58
  winningCounts: number[];
47
59
  payouts: Record<number, number>;
48
60
  overloadPayouts: Record<number, number>;
@@ -60,6 +72,8 @@ export interface PlaceEntryContextValue {
60
72
  goBack: () => void;
61
73
  reset: () => void;
62
74
  clearSelectedGame: () => void;
75
+ correlation: ReturnType<typeof useCorrelationSteering>;
76
+ correlationTargetCount: number;
63
77
  toggleSelection: (id: number, answer: 'yes' | 'no') => void;
64
78
  quickPickGame: (game: Game, count: number, stake?: number) => void;
65
79
  quickPickSelections: (count: number) => number;
@@ -78,8 +92,12 @@ export interface PlaceEntryContextValue {
78
92
  disableQuickPick: boolean;
79
93
  renderTeamLogo?: RenderTeamLogo;
80
94
  renderPropositionSilk?: RenderPropositionSilk;
81
- /** Proposition layout for the selection screens; undefined = the packaged list. */
95
+ /** Optional presentation. Existing UI remains the default. */
96
+ uiVariant?: UiVariant;
97
+ /** Proposition layout override; undefined follows the UI variant. */
82
98
  selectionVariant?: SelectionVariant;
99
+ /** Game discovery layout; native supports `shelf`, with web-only layouts falling back. */
100
+ gameVariant?: GameVariant;
83
101
  /** Drop the per-fixture swipe deck the variant layouts offer. */
84
102
  disableEventSwipe?: boolean;
85
103
  /** Let players star a sport in the rail to pin it up front (per device). Off by default. */
@@ -89,7 +107,7 @@ export interface PlaceEntryContextValue {
89
107
  initialEventId?: string;
90
108
  initialEventLabel?: string;
91
109
  sportBaseKey?: string;
92
- gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
110
+ gameCategory?: GameCategory;
93
111
  screenSize: ScreenSize;
94
112
  eventFilterActive: boolean;
95
113
  eventFilterLabel?: string;
@@ -110,6 +128,10 @@ declare const PlaceEntryContext: React.Context<PlaceEntryContextValue | null>;
110
128
  export { PlaceEntryContext };
111
129
  export declare function usePlaceEntry(): PlaceEntryContextValue;
112
130
  export interface PlaceEntryProviderProps {
131
+ /** Additional game implementations. Perfect Pick, H2H and Safety Net are built in. */
132
+ gameLibrary?: GameLibrary<PlaceEntryContextValue>;
133
+ /** Show calculated Correlation fair odds for development. Never enable in player-facing builds. */
134
+ showCorrelationDebug?: boolean;
113
135
  apiUrl: string;
114
136
  apiKey?: string;
115
137
  fetchImpl?: typeof fetch;
@@ -124,7 +146,7 @@ export interface PlaceEntryProviderProps {
124
146
  demoEntries?: GameEntry[];
125
147
  /** Demo dividend/max-payout data (the /max-payout fetch is skipped for demo data). */
126
148
  demoMaxPayouts?: Record<number, TopPayoutsResponse>;
127
- gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
149
+ gameCategory?: GameCategory;
128
150
  jurisdiction?: string;
129
151
  initialGameId?: number;
130
152
  filterSport?: string;
@@ -135,7 +157,11 @@ export interface PlaceEntryProviderProps {
135
157
  disableQuickPick?: boolean;
136
158
  renderTeamLogo?: RenderTeamLogo;
137
159
  renderPropositionSilk?: RenderPropositionSilk;
160
+ /** Optional presentation. Existing UI remains the default. */
161
+ uiVariant?: UiVariant;
138
162
  selectionVariant?: SelectionVariant;
163
+ /** Game discovery layout; native supports `shelf`, with web-only layouts falling back. */
164
+ gameVariant?: GameVariant;
139
165
  disableEventSwipe?: boolean;
140
166
  /** Let players star a sport in the rail to pin it up front (per device). Off by default. */
141
167
  yesNoLabels?: YesNoLabels;
@@ -151,4 +177,4 @@ export interface PlaceEntryProviderProps {
151
177
  sportDisplayNames?: SportDisplayNameOverrides;
152
178
  categoryDisplayNames?: CategoryDisplayNameOverrides;
153
179
  }
154
- 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, renderPropositionSilk, selectionVariant, disableEventSwipe, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
180
+ export declare function PlaceEntryProvider({ gameLibrary, showCorrelationDebug, apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, getUserBalance, children, theme: themeProp, colorScheme, demoGames, demoPropositions, demoEntries, demoMaxPayouts, gameCategory, jurisdiction, initialGameId, filterSport, initialSport, initialEventId, initialEventLabel, sportBaseKey, disableQuickPick, renderTeamLogo, renderPropositionSilk, uiVariant, selectionVariant, gameVariant, disableEventSwipe, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
+ /**
3
+ * Playbook chooser: one featured hero (press-to-play tile, name, tagline,
4
+ * payout hook) above a comparison grid of every game. Tapping a card previews
5
+ * it in the hero; the tile plays it. Twin of the web PlaybookChooser.
6
+ */
7
+ export declare function PlaybookChooser({ games, selectedGame, theme, onPlay, maxPayouts, quickPickLoading }: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { SafetyNetConfig } from '../../shared/safety-net';
2
3
  export interface SafetyNetPageProps {
3
4
  onQuickPick?: () => void;
@@ -6,9 +7,11 @@ export interface SafetyNetPageProps {
6
7
  hideTitle?: boolean;
7
8
  config?: SafetyNetConfig | null;
8
9
  backLabel?: string;
10
+ /** Replace the default game heading; pass null when the host supplies a header. */
11
+ header?: React.ReactNode;
9
12
  }
10
13
  export declare function SafetyNetPageTitle({ onBack, hideActions, }?: {
11
14
  onBack?: () => void;
12
15
  hideActions?: boolean;
13
16
  }): 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;
17
+ export declare function SafetyNetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, header, config: configOverride, backLabel, }: SafetyNetPageProps): import("react/jsx-runtime").JSX.Element;
@@ -92,12 +92,14 @@ export interface YesNoButtonsProps {
92
92
  /** Fill the row, each side taking half — the roomy card layouts want this. */
93
93
  stretch?: boolean;
94
94
  disabled?: boolean;
95
+ yesDisabled?: boolean;
96
+ noDisabled?: boolean;
95
97
  yesLabel?: string;
96
98
  noLabel?: string;
97
99
  style?: StyleProp<ViewStyle>;
98
100
  }
99
101
  /** The interactive Yes/No pair. Identical everywhere it is used. */
100
- export declare function YesNoButtons({ theme, value, onYes, onNo, size, stretch, disabled, yesLabel, noLabel, style, }: YesNoButtonsProps): import("react/jsx-runtime").JSX.Element;
102
+ export declare function YesNoButtons({ theme, value, onYes, onNo, size, stretch, disabled, yesDisabled, noDisabled, yesLabel, noLabel, style, }: YesNoButtonsProps): import("react/jsx-runtime").JSX.Element;
101
103
  /** Read-only Yes/No chip — the settled answer, same product tokens. */
102
104
  export declare function YesNoTag({ theme, value, size, style, }: {
103
105
  theme: BladeTheme;