@simple-parlay/components 1.30.6-pre.5 → 1.30.6-pre.7

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 (59) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.mjs +429 -457
  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 +1 -1
  13. package/dist/react/components/GameSelector.d.ts +1 -1
  14. package/dist/react/components/GameSetupPage.d.ts +1 -1
  15. package/dist/react/components/HowToPlayButton.d.ts +3 -1
  16. package/dist/react/components/PlaceEntryProvider.d.ts +30 -2
  17. package/dist/react/components/ScrollShelf.d.ts +5 -1
  18. package/dist/react/components/SportRail.d.ts +13 -3
  19. package/dist/react/components/_primitives/index.d.ts +3 -1
  20. package/dist/react/game-library.d.ts +21 -0
  21. package/dist/react/index.d.ts +14 -10
  22. package/dist/react/index.js +1 -1
  23. package/dist/react/index.mjs +429 -457
  24. package/dist/react-native/components/CallGameCatalogue.d.ts +16 -0
  25. package/dist/react-native/components/CallPayoutTable.d.ts +6 -0
  26. package/dist/react-native/components/CallTicketBuilder.d.ts +31 -0
  27. package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
  28. package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
  29. package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
  30. package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
  31. package/dist/react-native/components/DenseUi.d.ts +58 -0
  32. package/dist/react-native/components/GamePage.d.ts +1 -1
  33. package/dist/react-native/components/GameSelector.d.ts +1 -1
  34. package/dist/react-native/components/GameSetupPage.d.ts +1 -1
  35. package/dist/react-native/components/HowToPlayButton.d.ts +3 -1
  36. package/dist/react-native/components/PlaceEntryProvider.d.ts +23 -2
  37. package/dist/react-native/components/ScrollShelf.d.ts +8 -1
  38. package/dist/react-native/components/SportRail.d.ts +8 -4
  39. package/dist/react-native/components/_primitives/index.d.ts +3 -1
  40. package/dist/react-native/game-library.d.ts +21 -0
  41. package/dist/react-native/index.d.ts +14 -10
  42. package/dist/react-native/index.js +1 -1
  43. package/dist/react-native/index.mjs +438 -445
  44. package/dist/shared/api-client.d.ts +1 -0
  45. package/dist/shared/call-artwork.d.ts +2 -0
  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 +52 -0
  49. package/dist/shared/game-library.d.ts +28 -0
  50. package/dist/shared/hooks.d.ts +4 -4
  51. package/dist/shared/picker-brand.d.ts +20 -0
  52. package/dist/shared/selection-actions.d.ts +2 -2
  53. package/dist/shared/selection-caps.d.ts +19 -3
  54. package/dist/shared/selection-variants.d.ts +3 -1
  55. package/dist/shared/types.d.ts +14 -1
  56. package/dist/shared/ui-variant.d.ts +12 -0
  57. package/dist/shared/use-call-payouts.d.ts +8 -0
  58. package/package.json +7 -2
  59. package/dist/react/utils/design.d.ts +0 -55
@@ -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;
@@ -34,7 +34,7 @@ export interface GamePageProps {
34
34
  export declare function GamePageTitle({ onBack, hideActions, }?: {
35
35
  onBack?: () => void;
36
36
  hideActions?: boolean;
37
- }): import("react/jsx-runtime").JSX.Element;
37
+ }): import("react/jsx-runtime").JSX.Element | null;
38
38
  export declare function GamePageActions({ onCancel, onSelectGame }: {
39
39
  onCancel?: () => void;
40
40
  onSelectGame?: () => void;
@@ -18,4 +18,4 @@ export declare function CardDividends({ tiers, modes, pydDividends, onPlayCount,
18
18
  bodyFont: string | undefined;
19
19
  headingFont: string | undefined;
20
20
  }): import("react/jsx-runtime").JSX.Element | null;
21
- export declare function GameSelector({ games: allGames, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, showTier, showCategory, showTierFilter, onPropositionCountChange, onPropositionCountSelected, onQuickPickGame, maxPayouts, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function GameSelector({ games: allGames, selectedGame, onSelectGame, loading, error, theme: themeProp, colorScheme, uiVariant: uiVariantProp, 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;
@@ -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,3 +1,7 @@
1
+ import { GameLibrary } from '../../shared/game-library';
2
+ import { GameFlow } from '../../shared/game-flow';
3
+ import { PreviewCallPayouts } from '../../shared/use-call-payouts';
4
+ import { UiVariant } from '../../shared/ui-variant';
1
5
  import { default as React } from 'react';
2
6
  import { YesNoLabels } from '../../shared/utils';
3
7
  import { Game, Proposition, SportSummary, GameEntry, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
@@ -5,8 +9,11 @@ import { BladeTheme, BladeThemeSet, ColorScheme } from '../utils/themes';
5
9
  import { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from '../utils';
6
10
  import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule } from '../../shared/types';
7
11
  import { SelectionVariant } from '../../shared/selection-variants';
12
+ import { useCorrelationSteering } from '../../shared/correlation-steering';
8
13
  import { SameGameMultiEvent } from '../../shared/same-game-multi';
9
14
  export interface PlaceEntryContextValue {
15
+ gameLibrary: GameLibrary<PlaceEntryContextValue>;
16
+ getGameFlow: (game: Game | null | undefined) => GameFlow;
10
17
  theme: BladeTheme;
11
18
  bodyFont: string;
12
19
  headingFont: string;
@@ -32,6 +39,8 @@ export interface PlaceEntryContextValue {
32
39
  selectedPropositionIds: number[];
33
40
  selectedPropositions: Proposition[];
34
41
  selectionValid: boolean;
42
+ showCorrelationDebug: boolean;
43
+ canSelectAnswer: (id: number, answer: 'yes' | 'no') => boolean;
35
44
  answeredCount: number;
36
45
  betAmount: number;
37
46
  setBetAmount: (v: number) => void;
@@ -43,6 +52,8 @@ export interface PlaceEntryContextValue {
43
52
  selectedRuleId: number | null;
44
53
  setSelectedRuleId: (id: number | null) => void;
45
54
  selectedRule: GamePermittedRule | null;
55
+ /** Read-only quote for the optional Call setup and ticket panels. */
56
+ previewCallPayouts?: PreviewCallPayouts;
46
57
  winningCounts: number[];
47
58
  payouts: Record<number, number>;
48
59
  overloadPayouts: Record<number, number>;
@@ -60,6 +71,8 @@ export interface PlaceEntryContextValue {
60
71
  goBack: () => void;
61
72
  reset: () => void;
62
73
  clearSelectedGame: () => void;
74
+ correlation: ReturnType<typeof useCorrelationSteering>;
75
+ correlationTargetCount: number;
63
76
  toggleSelection: (id: number, answer: 'yes' | 'no') => void;
64
77
  quickPickGame: (game: Game, count: number, stake?: number) => void;
65
78
  quickPickSelections: (count: number) => number;
@@ -78,7 +91,9 @@ export interface PlaceEntryContextValue {
78
91
  disableQuickPick: boolean;
79
92
  renderTeamLogo?: RenderTeamLogo;
80
93
  renderPropositionSilk?: RenderPropositionSilk;
81
- /** Proposition layout for the selection screens; undefined = the packaged list. */
94
+ /** Optional presentation. Existing UI remains the default. */
95
+ uiVariant?: UiVariant;
96
+ /** Proposition layout override; undefined follows the UI variant. */
82
97
  selectionVariant?: SelectionVariant;
83
98
  /** Drop the per-fixture swipe deck the variant layouts offer. */
84
99
  disableEventSwipe?: boolean;
@@ -110,6 +125,10 @@ declare const PlaceEntryContext: React.Context<PlaceEntryContextValue | null>;
110
125
  export { PlaceEntryContext };
111
126
  export declare function usePlaceEntry(): PlaceEntryContextValue;
112
127
  export interface PlaceEntryProviderProps {
128
+ /** Additional game implementations. Perfect Pick, H2H and Safety Net are built in. */
129
+ gameLibrary?: GameLibrary<PlaceEntryContextValue>;
130
+ /** Show calculated Correlation fair odds for development. Never enable in player-facing builds. */
131
+ showCorrelationDebug?: boolean;
113
132
  apiUrl: string;
114
133
  apiKey?: string;
115
134
  fetchImpl?: typeof fetch;
@@ -135,6 +154,8 @@ export interface PlaceEntryProviderProps {
135
154
  disableQuickPick?: boolean;
136
155
  renderTeamLogo?: RenderTeamLogo;
137
156
  renderPropositionSilk?: RenderPropositionSilk;
157
+ /** Optional presentation. Existing UI remains the default. */
158
+ uiVariant?: UiVariant;
138
159
  selectionVariant?: SelectionVariant;
139
160
  disableEventSwipe?: boolean;
140
161
  /** Let players star a sport in the rail to pin it up front (per device). Off by default. */
@@ -151,4 +172,4 @@ export interface PlaceEntryProviderProps {
151
172
  sportDisplayNames?: SportDisplayNameOverrides;
152
173
  categoryDisplayNames?: CategoryDisplayNameOverrides;
153
174
  }
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;
175
+ 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, disableEventSwipe, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,13 @@ export interface ScrollShelfProps {
5
5
  theme: BladeTheme;
6
6
  /** Padding/gap for the row's content — cards need more room than chips. */
7
7
  contentContainerStyle?: StyleProp<ViewStyle>;
8
+ /** Drop the arrow discs — they overhang, which a pill-shaped shelf clips. */
9
+ hideArrows?: boolean;
10
+ /** Row width vs. its content, so a caller can shorten labels that don't fit. */
11
+ onMetrics?: (metrics: {
12
+ viewport: number;
13
+ content: number;
14
+ }) => void;
8
15
  style?: StyleProp<ViewStyle>;
9
16
  children: React.ReactNode;
10
17
  }
@@ -13,4 +20,4 @@ export interface ScrollShelfProps {
13
20
  * more in that direction. Shared so the filter chips and the sport rail scroll
14
21
  * identically.
15
22
  */
16
- export declare function ScrollShelf({ theme, contentContainerStyle, style, children, }: ScrollShelfProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function ScrollShelf({ theme, contentContainerStyle, hideArrows, onMetrics, style, children, }: ScrollShelfProps): import("react/jsx-runtime").JSX.Element;
@@ -5,8 +5,8 @@ export interface SportRailProps {
5
5
  label?: string | null;
6
6
  /** Line under the heading. Pass `null` to drop it; omit for the default hint. */
7
7
  sublabel?: string | null;
8
- /** Custom renderer for the sport tile. */
9
- renderSportLogo?: (sportKey: string) => React.ReactNode;
8
+ /** Controls parked on the heading's right — the track keeps the full width. */
9
+ actions?: React.ReactNode;
10
10
  style?: StyleProp<ViewStyle>;
11
11
  }
12
12
  /**
@@ -14,10 +14,14 @@ export interface SportRailProps {
14
14
  * no setup page — above the proposition list, so there is always one place to
15
15
  * change it. Never on the game grid.
16
16
  *
17
- * A bet is one sport: once the slip has picks the rail locks, and the only way
17
+ * One oval track: every sport rides it as its short code, and the selected one
18
+ * opens out to its full name on a filled thumb. Codes keep the track compact,
19
+ * the selection says what it is in plain English.
20
+ *
21
+ * A bet is one sport: once the slip has picks the track locks, and the only way
18
22
  * across is to clear the bet — silently wiping the card on a mis-tap was worse.
19
23
  *
20
24
  * Renders nothing at all when the sport is not a choice, which is every
21
25
  * single-sport game.
22
26
  */
23
- export declare function SportRail({ label, sublabel, renderSportLogo, style }: SportRailProps): import("react/jsx-runtime").JSX.Element | null;
27
+ export declare function SportRail({ label, sublabel, actions, style }: SportRailProps): import("react/jsx-runtime").JSX.Element | null;
@@ -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;
@@ -0,0 +1,21 @@
1
+ import { PlaceEntryContextValue } from './components/PlaceEntryProvider';
2
+ import { GameDefinition as Definition, GameLibrary as Library } from '../shared/game-library';
3
+ export type GameDefinition = Definition<PlaceEntryContextValue>;
4
+ export type GameLibrary = Library<PlaceEntryContextValue>;
5
+ export declare const gameSetBet: GameDefinition;
6
+ export declare const pickYourDividend: GameDefinition;
7
+ export declare const ladder: GameDefinition;
8
+ export declare const mirror: GameDefinition;
9
+ export declare const sixAgain: GameDefinition;
10
+ export declare const correlation: GameDefinition;
11
+ export declare const sameGameMulti: GameDefinition;
12
+ export declare const totalPoints: GameDefinition;
13
+ export declare const ruleGame: GameDefinition;
14
+ export declare const quickPick: GameDefinition;
15
+ export declare const standardGame: GameDefinition;
16
+ /** Pass all games, or an array of selected exports, to PlaceEntryProvider. */
17
+ export declare const games: GameLibrary;
18
+ export { IconSvg } from './components/IconSvg';
19
+ export type { IconSvgProps } from './components/IconSvg';
20
+ export { GAME_ICON_SVG, GAME_ICON_SCHEME, resolveGameIconId, resolveGameIconUrl, resolveGameIconMarkup, isGameIconUrl } from '../shared/game-icons';
21
+ export type { GameIconId } from '../shared/game-icons';
@@ -51,28 +51,18 @@ export { getRuleSetupConfig, gameNeedsRuleSetup, roundDividendAmount, } from '..
51
51
  export type { RuleSetupConfig, RuleSetupMode, RuleSetupOption, } from '../shared/rule-setup';
52
52
  export { EventPickerPage } from './components/EventPickerPage';
53
53
  export type { EventPickerPageProps } from './components/EventPickerPage';
54
- export { GameSetBetPage, GameSetBetPageTitle } from './components/GameSetBetPage';
55
- export type { GameSetBetPageProps } from './components/GameSetBetPage';
56
54
  export { getGameSetBetConfig, gameSetPrize, isGameSetBetGame, } from '../shared/game-set-bet';
57
55
  export type { GameSetBetConfig, GameSetBetPrize, } from '../shared/game-set-bet';
58
- export { PickYourDividendPage, PickYourDividendPageTitle } from './components/PickYourDividendPage';
59
- export type { PickYourDividendPageProps } from './components/PickYourDividendPage';
60
56
  export { getPickYourDividendConfig, isPickYourDividendGame, pydLadder, pydRung, PYD_RETAIL_DIVIDENDS, PYD_LEG_RUNGS, } from '../shared/pick-your-dividend';
61
57
  export type { PickYourDividendConfig, PydDividendGame, PydRung, } from '../shared/pick-your-dividend';
62
- export { LadderPage, LadderPageTitle } from './components/LadderPage';
63
- export type { LadderPageProps } from './components/LadderPage';
64
58
  export { getLadderConfig, isLadderGame, ladderTiers, ladderCollectAt, fullStackPrize, LADDER_FAMILY, LADDER_STAKES, LADDER_REFERENCE_BET, } from '../shared/ladder';
65
59
  export type { LadderConfig, LadderDef, LadderTier, } from '../shared/ladder';
66
- export { MirrorPage, MirrorPageTitle } from './components/MirrorPage';
67
- export type { MirrorPageProps } from './components/MirrorPage';
68
60
  export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
69
61
  export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
70
62
  export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
71
63
  export type { SafetyNetPageProps } from './components/SafetyNetPage';
72
64
  export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
73
65
  export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
74
- export { SixAgainPage, SixAgainPageTitle } from './components/SixAgainPage';
75
- export type { SixAgainPageProps } from './components/SixAgainPage';
76
66
  export { getSixAgainConfig, isSixAgainGame, sixAgainTicket, sixAgainRuleId, sixAgainStakeMultiples, NO_BOOSTS, SIX_AGAIN_MARGIN, SIX_AGAIN_LEGS, CHALLENGE_MULTIPLE, CHALLENGE_MISSES, GOLDEN_POINT_FACTOR, } from '../shared/six-again';
77
67
  export type { SixAgainConfig, SixAgainTicket, SixAgainBoost, SixAgainBoostId, SixAgainBoosts, } from '../shared/six-again';
78
68
  export { getGameFlow, getConfirmBoostCopy, isFixedCardExactGame, isOpenExactMultiGame } from '../shared/game-flow';
@@ -98,3 +88,17 @@ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, ComingSoo
98
88
  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';
99
89
  export type { BladeTheme, BladeThemeSet, ColorScheme } from './utils/themes';
100
90
  export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, } from './hooks';
91
+ export { UI_VARIANTS } from '../shared/ui-variant';
92
+ export type { UiVariant } from '../shared/ui-variant';
93
+ export { isDenseUiVariant, uiVariantTheme, parseUiVariant, UI_VARIANT_LABELS } from '../shared/ui-variant';
94
+ export type { DenseUiVariant } from '../shared/ui-variant';
95
+ export { CorrelationChoicesSkeleton } from './components/CorrelationChoicesSkeleton';
96
+ export { CorrelationPricingDebug } from './components/CorrelationPricingDebug';
97
+ export { CorrelationPropPlaceholder } from './components/CorrelationPropPlaceholder';
98
+ export { useCorrelationSteering, usesCorrelationPricing, correlationDebugText } from '../shared/correlation-steering';
99
+ export type { CorrelationQuote, CorrelationRequest, CorrelationSuggestions } from '../shared/correlation-steering';
100
+ export { BASE_GAME_IDS } from '../shared/game-library';
101
+ export type GameLibrary = import('../shared/game-library').GameLibrary<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
102
+ export type GameDefinition = import('../shared/game-library').GameDefinition<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
103
+ export { IconSvg } from './components/IconSvg';
104
+ export type { IconSvgProps } from './components/IconSvg';