@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,4 @@
1
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
+ export type { CallGameCatalogueProps } from '../../shared/dense-ui';
3
+ /** Catalogue discovery is local presentation state; only Play commits the game. */
4
+ export declare function CallGameCatalogue({ games, theme, onPlay, maxPayouts, quickPickLoading, showTier, showCategory }: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -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,3 @@
1
+ import { CallTicketBuilderProps } from '../../shared/dense-ui';
2
+ export type { CallTicketBuilderProps } from '../../shared/dense-ui';
3
+ export declare function CallTicketBuilder(p: CallTicketBuilderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ /** Only unselected choices refresh; selected rows and page controls stay usable. */
2
+ export declare function CorrelationChoicesSkeleton({ view }: {
3
+ view: 'list' | 'swipe';
4
+ }): 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,8 @@
1
+ import { default as React } from 'react';
2
+ /** Preserve the original content's dimensions, replacing only its paint. */
3
+ export declare function CorrelationPropPlaceholder({ id, kind, stretch, children }: {
4
+ id: number;
5
+ kind: 'text' | 'answers';
6
+ stretch?: boolean;
7
+ children: React.ReactNode;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { CallGameCatalogueProps } from './CallGameCatalogue';
2
+ export declare function DenseGameCatalogue(p: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,29 @@
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 DenseSurface({ theme, children, className, }: {
6
+ theme: BladeTheme;
7
+ children: React.ReactNode;
8
+ className?: string;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export declare function DenseOutcome({ view, compact, }: {
11
+ view: CallPayoutView;
12
+ compact?: boolean;
13
+ }): import("react/jsx-runtime").JSX.Element;
14
+ export declare function DenseSportControl({ actions }: {
15
+ actions?: React.ReactNode;
16
+ }): import("react/jsx-runtime").JSX.Element;
17
+ export declare function DenseHeader({ onBack, title, children, }: {
18
+ onBack?: () => void;
19
+ title?: string;
20
+ children?: React.ReactNode;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ export declare function DenseSelectionHeader({ onBack }: {
23
+ onBack?: () => void;
24
+ }): import("react/jsx-runtime").JSX.Element;
25
+ export declare function DenseTicketBuilder(p: CallTicketBuilderProps & {
26
+ quotedView: CallPayoutView;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ export type { DenseTicketActionsProps } from '../../shared/dense-ui';
29
+ export declare function DenseTicketActions(p: DenseTicketActionsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
+ import { GameVariant } from '../../shared/game-variants';
1
2
  import { GameFlow } from '../../shared/game-flow';
2
3
  export interface GamePageProps {
4
+ gameVariant?: GameVariant;
3
5
  /** Called after a game is selected (e.g. navigate to selections page) */
4
6
  onSelectGame?: () => void;
5
7
  onGameSetup?: (flow: GameFlow) => void;
@@ -31,10 +33,10 @@ export declare function GamePageTitle({ className, onBack, hideActions, }: {
31
33
  className?: string;
32
34
  onBack?: () => void;
33
35
  hideActions?: boolean;
34
- }): import("react/jsx-runtime").JSX.Element;
36
+ }): import("react/jsx-runtime").JSX.Element | null;
35
37
  export declare function GamePageActions({ onCancel, className }: {
36
38
  onCancel?: () => void;
37
39
  onSelectGame?: () => void;
38
40
  className?: string;
39
41
  }): import("react/jsx-runtime").JSX.Element | null;
40
- export declare function GamePage({ onSelectGame, onGameSetup, onRuleSetup, onGameSetBet, onPickYourDividend, onLadder, onMirror, onSafetyNet, onQuickPick, onCancel, hideTitle, hideActions, showPerfectPickSetup, showTierFilter, className }: GamePageProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function GamePage({ gameVariant, onSelectGame, onGameSetup, onRuleSetup, onGameSetBet, onPickYourDividend, onLadder, onMirror, onSafetyNet, onQuickPick, onCancel, hideTitle, hideActions, showPerfectPickSetup, showTierFilter, className }: GamePageProps): import("react/jsx-runtime").JSX.Element;
@@ -17,4 +17,12 @@ export declare function CardDividends({ tiers, modes, pydDividends, onPlayCount,
17
17
  bodyFont: string | undefined;
18
18
  headingFont: string | undefined;
19
19
  }): import("react/jsx-runtime").JSX.Element | null;
20
- 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;
20
+ /** PressToPlayTile's stacked-tile mark, cropped — no card frame or caption. */
21
+ export declare function GameMark({ iconUrl, size, brandColor, iconColor, accentColor, }: {
22
+ iconUrl: string;
23
+ size: number;
24
+ brandColor: string;
25
+ iconColor: string;
26
+ accentColor?: string;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ 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;
@@ -10,4 +10,4 @@ export interface GameSetupPageProps {
10
10
  backLabel?: string;
11
11
  className?: string;
12
12
  }
13
- export declare function GameSetupPage({ onPickYourOwn, onQuickPick, onBack, hideTitle, backLabel, className, }: GameSetupPageProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function GameSetupPage({ onPickYourOwn, onQuickPick, onBack, hideTitle, backLabel, className, }: GameSetupPageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
+ /**
3
+ * Filterable cover grid. Mobile details open in a bottom sheet; wide layouts
4
+ * keep a side preview. Browsing never commits a game until Choose is pressed.
5
+ */
6
+ export declare function GameShelfCatalogue({ games, selectedGame, theme, onPlay, maxPayouts, quickPickLoading, onBack }: CallGameCatalogueProps & {
7
+ onBack?: () => void;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { GameVariant } from '../../shared/game-variants';
2
+ import { CallGameCatalogueProps } from '../../shared/dense-ui';
3
+ /** Browsing is local; only Continue commits a game to the host flow. */
4
+ export declare function GameVariantCatalogue({ variant, games, selectedGame, theme, onPlay, maxPayouts, quickPickLoading, tierFilter, showTier, showCategory }: CallGameCatalogueProps & {
5
+ variant: GameVariant;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -32,9 +32,11 @@ export interface HowToPlayButtonProps {
32
32
  title?: string;
33
33
  label?: string;
34
34
  variant?: 'pill' | 'icon';
35
+ /** Optional touch target size for compact layouts. */
36
+ touchSize?: number;
35
37
  colors: HowToPlayModalProps['colors'];
36
38
  bodyFont?: string;
37
39
  headingFont?: string;
38
40
  className?: string;
39
41
  }
40
- export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, colors, bodyFont, headingFont, className, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
42
+ export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, colors, bodyFont, headingFont, className, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,12 +1,21 @@
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';
7
+ import { BladeApiClient } from '../utils/api-client';
2
8
  import { YesNoLabels } from '../../shared/utils';
3
9
  import { Game, Proposition, SportSummary, GameEntry, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
4
10
  import { BladeTheme, BladeThemeSet, ColorScheme } from '../utils/themes';
5
11
  import { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from '../utils';
6
- import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule } from '../../shared/types';
12
+ import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule, GameCategory } from '../../shared/types';
7
13
  import { SelectionVariant } from '../../shared/selection-variants';
14
+ import { useCorrelationSteering } from '../../shared/correlation-steering';
8
15
  import { SameGameMultiEvent } from '../../shared/same-game-multi';
9
16
  export interface PlaceEntryContextValue {
17
+ gameLibrary: GameLibrary<PlaceEntryContextValue>;
18
+ getGameFlow: (game: Game | null | undefined) => GameFlow;
10
19
  theme: BladeTheme;
11
20
  bodyFont: string;
12
21
  headingFont: string;
@@ -24,6 +33,8 @@ export interface PlaceEntryContextValue {
24
33
  }[];
25
34
  sportSummaries: SportSummary[];
26
35
  loading: boolean;
36
+ /** Game metadata can render before the selection pool is ready. */
37
+ gameListLoading: boolean;
27
38
  error: string | null;
28
39
  step: 'game' | 'sport' | 'review' | 'confirm' | 'success';
29
40
  selectedGame: Game | null;
@@ -32,6 +43,8 @@ export interface PlaceEntryContextValue {
32
43
  selectedPropositionIds: number[];
33
44
  selectedPropositions: Proposition[];
34
45
  selectionValid: boolean;
46
+ showCorrelationDebug: boolean;
47
+ canSelectAnswer: (id: number, answer: 'yes' | 'no') => boolean;
35
48
  answeredCount: number;
36
49
  betAmount: number;
37
50
  setBetAmount: (v: number) => void;
@@ -43,6 +56,8 @@ export interface PlaceEntryContextValue {
43
56
  selectedRuleId: number | null;
44
57
  setSelectedRuleId: (id: number | null) => void;
45
58
  selectedRule: GamePermittedRule | null;
59
+ /** Read-only quote for the optional Call setup and ticket panels. */
60
+ previewCallPayouts?: PreviewCallPayouts;
46
61
  winningCounts: number[];
47
62
  payouts: Record<number, number>;
48
63
  overloadPayouts: Record<number, number>;
@@ -60,6 +75,8 @@ export interface PlaceEntryContextValue {
60
75
  goBack: () => void;
61
76
  reset: () => void;
62
77
  clearSelectedGame: () => void;
78
+ correlation: ReturnType<typeof useCorrelationSteering>;
79
+ correlationTargetCount: number;
63
80
  toggleSelection: (id: number, answer: 'yes' | 'no') => void;
64
81
  quickPickGame: (game: Game, count: number, stake?: number) => void;
65
82
  quickPickSelections: (count: number) => number;
@@ -78,8 +95,12 @@ export interface PlaceEntryContextValue {
78
95
  disableQuickPick: boolean;
79
96
  renderTeamLogo?: RenderTeamLogo;
80
97
  renderPropositionSilk?: RenderPropositionSilk;
81
- /** Proposition layout for the selection screens; undefined = the packaged list. */
98
+ /** Optional presentation. Existing UI remains the default. */
99
+ uiVariant?: UiVariant;
100
+ /** Proposition layout override; undefined follows the UI variant. */
82
101
  selectionVariant?: SelectionVariant;
102
+ /** Optional game discovery layout, independent of uiVariant. `cards`, `split` and `compare` are web-only; native renders `shelf`. */
103
+ gameVariant?: GameVariant;
83
104
  /** Drop the per-fixture swipe deck the variant layouts offer. */
84
105
  disableEventSwipe?: boolean;
85
106
  enableSportFavourites?: boolean;
@@ -88,7 +109,7 @@ export interface PlaceEntryContextValue {
88
109
  initialEventId?: string;
89
110
  initialEventLabel?: string;
90
111
  sportBaseKey?: string;
91
- gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
112
+ gameCategory?: GameCategory;
92
113
  screenSize: ScreenSize;
93
114
  eventFilterActive: boolean;
94
115
  eventFilterLabel?: string;
@@ -114,6 +135,14 @@ export declare const PlaceEntryContext: React.Context<PlaceEntryContextValue | n
114
135
  */
115
136
  export declare function usePlaceEntry(): PlaceEntryContextValue;
116
137
  export interface PlaceEntryProviderProps {
138
+ /** Additional game implementations. Perfect Pick, H2H and Safety Net are built in. */
139
+ gameLibrary?: GameLibrary<PlaceEntryContextValue>;
140
+ /** Retain a client above route-keyed providers to reuse its scoped cache. */
141
+ apiClient?: BladeApiClient;
142
+ /** Fetch the selected sport's pool; use the sport catalogue for navigation. */
143
+ scopePropositionsToSport?: boolean;
144
+ /** Show calculated Correlation fair odds for development. Never enable in player-facing builds. */
145
+ showCorrelationDebug?: boolean;
117
146
  apiUrl: string;
118
147
  apiKey?: string;
119
148
  fetchImpl?: typeof fetch;
@@ -129,7 +158,7 @@ export interface PlaceEntryProviderProps {
129
158
  demoEntries?: GameEntry[];
130
159
  /** Demo dividend/max-payout data (the /max-payout fetch is skipped for demo data). */
131
160
  demoMaxPayouts?: Record<number, TopPayoutsResponse>;
132
- gameCategory?: 'sports' | 'casino' | 'racing' | 'prediction';
161
+ gameCategory?: GameCategory;
133
162
  jurisdiction?: string;
134
163
  initialGameId?: number;
135
164
  filterSport?: string;
@@ -140,7 +169,11 @@ export interface PlaceEntryProviderProps {
140
169
  disableQuickPick?: boolean;
141
170
  renderTeamLogo?: RenderTeamLogo;
142
171
  renderPropositionSilk?: RenderPropositionSilk;
172
+ /** Optional presentation. Existing UI remains the default. */
173
+ uiVariant?: UiVariant;
143
174
  selectionVariant?: SelectionVariant;
175
+ /** Optional game discovery layout, independent of uiVariant. `cards`, `split` and `compare` are web-only; native renders `shelf`. */
176
+ gameVariant?: GameVariant;
144
177
  disableEventSwipe?: boolean;
145
178
  yesNoLabels?: YesNoLabels;
146
179
  enableSportFavourites?: boolean;
@@ -157,4 +190,4 @@ export interface PlaceEntryProviderProps {
157
190
  /** Map entry categories to UI labels. */
158
191
  categoryDisplayNames?: CategoryDisplayNameOverrides;
159
192
  }
160
- 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;
193
+ export declare function PlaceEntryProvider({ gameLibrary, apiClient: suppliedApiClient, scopePropositionsToSport, 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.
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;
@@ -7,10 +8,12 @@ export interface SafetyNetPageProps {
7
8
  config?: SafetyNetConfig | null;
8
9
  backLabel?: string;
9
10
  className?: string;
11
+ /** Replace the default game heading; pass null when the host supplies a header. */
12
+ header?: React.ReactNode;
10
13
  }
11
14
  export declare function SafetyNetPageTitle({ className, onBack, hideActions, }: {
12
15
  className?: string;
13
16
  onBack?: () => void;
14
17
  hideActions?: boolean;
15
18
  }): import("react/jsx-runtime").JSX.Element;
16
- export declare function SafetyNetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: SafetyNetPageProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function SafetyNetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, header, config: configOverride, backLabel, className, }: SafetyNetPageProps): import("react/jsx-runtime").JSX.Element;
@@ -83,13 +83,15 @@ export interface YesNoButtonsProps {
83
83
  /** Fill the row, each side taking half — the roomy card layouts want this. */
84
84
  stretch?: boolean;
85
85
  disabled?: boolean;
86
+ yesDisabled?: boolean;
87
+ noDisabled?: boolean;
86
88
  yesLabel?: string;
87
89
  noLabel?: string;
88
90
  className?: string;
89
91
  style?: CSSProperties;
90
92
  }
91
93
  /** The interactive Yes/No pair. Identical everywhere it is used. */
92
- export declare function YesNoButtons({ theme, value, onYes, onNo, size, stretch, disabled, yesLabel, noLabel, className, style, }: YesNoButtonsProps): import("react/jsx-runtime").JSX.Element;
94
+ export declare function YesNoButtons({ theme, value, onYes, onNo, size, stretch, disabled, yesDisabled, noDisabled, yesLabel, noLabel, className, style, }: YesNoButtonsProps): import("react/jsx-runtime").JSX.Element;
93
95
  /** Read-only Yes/No chip — the settled answer, same product tokens. */
94
96
  export declare function YesNoTag({ theme, value, size, style, }: {
95
97
  theme: BladeTheme;