@simple-parlay/components 1.30.6-pre.6 → 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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +429 -457
- package/dist/react/components/CallGameCatalogue.d.ts +4 -0
- package/dist/react/components/CallPayoutTable.d.ts +6 -0
- package/dist/react/components/CallTicketBuilder.d.ts +3 -0
- package/dist/react/components/CorrelationChoicesSkeleton.d.ts +4 -0
- package/dist/react/components/CorrelationPricingDebug.d.ts +2 -0
- package/dist/react/components/CorrelationPropPlaceholder.d.ts +8 -0
- package/dist/react/components/DenseGameCatalogue.d.ts +2 -0
- package/dist/react/components/DenseUi.d.ts +29 -0
- package/dist/react/components/GamePage.d.ts +1 -1
- package/dist/react/components/GameSelector.d.ts +1 -1
- package/dist/react/components/GameSetupPage.d.ts +1 -1
- package/dist/react/components/HowToPlayButton.d.ts +3 -1
- package/dist/react/components/PlaceEntryProvider.d.ts +30 -2
- package/dist/react/components/_primitives/index.d.ts +3 -1
- package/dist/react/game-library.d.ts +21 -0
- package/dist/react/index.d.ts +14 -10
- package/dist/react/index.js +1 -1
- package/dist/react/index.mjs +429 -457
- package/dist/react-native/components/CallGameCatalogue.d.ts +16 -0
- package/dist/react-native/components/CallPayoutTable.d.ts +6 -0
- package/dist/react-native/components/CallTicketBuilder.d.ts +31 -0
- package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
- package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
- package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
- package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
- package/dist/react-native/components/DenseUi.d.ts +58 -0
- package/dist/react-native/components/GamePage.d.ts +1 -1
- package/dist/react-native/components/GameSelector.d.ts +1 -1
- package/dist/react-native/components/GameSetupPage.d.ts +1 -1
- package/dist/react-native/components/HowToPlayButton.d.ts +3 -1
- package/dist/react-native/components/PlaceEntryProvider.d.ts +23 -2
- package/dist/react-native/components/_primitives/index.d.ts +3 -1
- package/dist/react-native/game-library.d.ts +21 -0
- package/dist/react-native/index.d.ts +14 -10
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.mjs +438 -445
- package/dist/shared/api-client.d.ts +1 -0
- package/dist/shared/call-artwork.d.ts +2 -0
- package/dist/shared/call-presentation.d.ts +20 -0
- package/dist/shared/correlation-steering.d.ts +43 -0
- package/dist/shared/dense-ui.d.ts +52 -0
- package/dist/shared/game-library.d.ts +28 -0
- package/dist/shared/hooks.d.ts +4 -4
- package/dist/shared/selection-caps.d.ts +15 -3
- package/dist/shared/selection-variants.d.ts +3 -1
- package/dist/shared/types.d.ts +8 -0
- package/dist/shared/ui-variant.d.ts +12 -0
- package/dist/shared/use-call-payouts.d.ts +8 -0
- package/package.json +7 -2
- package/dist/react/utils/design.d.ts +0 -55
|
@@ -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,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,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;
|
|
@@ -31,7 +31,7 @@ export declare function GamePageTitle({ className, onBack, hideActions, }: {
|
|
|
31
31
|
className?: string;
|
|
32
32
|
onBack?: () => void;
|
|
33
33
|
hideActions?: boolean;
|
|
34
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
35
35
|
export declare function GamePageActions({ onCancel, className }: {
|
|
36
36
|
onCancel?: () => void;
|
|
37
37
|
onSelectGame?: () => void;
|
|
@@ -17,4 +17,4 @@ 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
|
+
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;
|
|
@@ -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;
|
|
@@ -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,20 @@
|
|
|
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';
|
|
6
|
+
import { BladeApiClient } from '../utils/api-client';
|
|
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
11
|
import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule } 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;
|
|
@@ -24,6 +32,8 @@ export interface PlaceEntryContextValue {
|
|
|
24
32
|
}[];
|
|
25
33
|
sportSummaries: SportSummary[];
|
|
26
34
|
loading: boolean;
|
|
35
|
+
/** Game metadata can render before the selection pool is ready. */
|
|
36
|
+
gameListLoading: boolean;
|
|
27
37
|
error: string | null;
|
|
28
38
|
step: 'game' | 'sport' | 'review' | 'confirm' | 'success';
|
|
29
39
|
selectedGame: Game | null;
|
|
@@ -32,6 +42,8 @@ export interface PlaceEntryContextValue {
|
|
|
32
42
|
selectedPropositionIds: number[];
|
|
33
43
|
selectedPropositions: Proposition[];
|
|
34
44
|
selectionValid: boolean;
|
|
45
|
+
showCorrelationDebug: boolean;
|
|
46
|
+
canSelectAnswer: (id: number, answer: 'yes' | 'no') => boolean;
|
|
35
47
|
answeredCount: number;
|
|
36
48
|
betAmount: number;
|
|
37
49
|
setBetAmount: (v: number) => void;
|
|
@@ -43,6 +55,8 @@ export interface PlaceEntryContextValue {
|
|
|
43
55
|
selectedRuleId: number | null;
|
|
44
56
|
setSelectedRuleId: (id: number | null) => void;
|
|
45
57
|
selectedRule: GamePermittedRule | null;
|
|
58
|
+
/** Read-only quote for the optional Call setup and ticket panels. */
|
|
59
|
+
previewCallPayouts?: PreviewCallPayouts;
|
|
46
60
|
winningCounts: number[];
|
|
47
61
|
payouts: Record<number, number>;
|
|
48
62
|
overloadPayouts: Record<number, number>;
|
|
@@ -60,6 +74,8 @@ export interface PlaceEntryContextValue {
|
|
|
60
74
|
goBack: () => void;
|
|
61
75
|
reset: () => void;
|
|
62
76
|
clearSelectedGame: () => void;
|
|
77
|
+
correlation: ReturnType<typeof useCorrelationSteering>;
|
|
78
|
+
correlationTargetCount: number;
|
|
63
79
|
toggleSelection: (id: number, answer: 'yes' | 'no') => void;
|
|
64
80
|
quickPickGame: (game: Game, count: number, stake?: number) => void;
|
|
65
81
|
quickPickSelections: (count: number) => number;
|
|
@@ -78,7 +94,9 @@ export interface PlaceEntryContextValue {
|
|
|
78
94
|
disableQuickPick: boolean;
|
|
79
95
|
renderTeamLogo?: RenderTeamLogo;
|
|
80
96
|
renderPropositionSilk?: RenderPropositionSilk;
|
|
81
|
-
/**
|
|
97
|
+
/** Optional presentation. Existing UI remains the default. */
|
|
98
|
+
uiVariant?: UiVariant;
|
|
99
|
+
/** Proposition layout override; undefined follows the UI variant. */
|
|
82
100
|
selectionVariant?: SelectionVariant;
|
|
83
101
|
/** Drop the per-fixture swipe deck the variant layouts offer. */
|
|
84
102
|
disableEventSwipe?: boolean;
|
|
@@ -114,6 +132,14 @@ export declare const PlaceEntryContext: React.Context<PlaceEntryContextValue | n
|
|
|
114
132
|
*/
|
|
115
133
|
export declare function usePlaceEntry(): PlaceEntryContextValue;
|
|
116
134
|
export interface PlaceEntryProviderProps {
|
|
135
|
+
/** Additional game implementations. Perfect Pick, H2H and Safety Net are built in. */
|
|
136
|
+
gameLibrary?: GameLibrary<PlaceEntryContextValue>;
|
|
137
|
+
/** Retain a client above route-keyed providers to reuse its scoped cache. */
|
|
138
|
+
apiClient?: BladeApiClient;
|
|
139
|
+
/** Fetch the selected sport's pool; use the sport catalogue for navigation. */
|
|
140
|
+
scopePropositionsToSport?: boolean;
|
|
141
|
+
/** Show calculated Correlation fair odds for development. Never enable in player-facing builds. */
|
|
142
|
+
showCorrelationDebug?: boolean;
|
|
117
143
|
apiUrl: string;
|
|
118
144
|
apiKey?: string;
|
|
119
145
|
fetchImpl?: typeof fetch;
|
|
@@ -140,6 +166,8 @@ export interface PlaceEntryProviderProps {
|
|
|
140
166
|
disableQuickPick?: boolean;
|
|
141
167
|
renderTeamLogo?: RenderTeamLogo;
|
|
142
168
|
renderPropositionSilk?: RenderPropositionSilk;
|
|
169
|
+
/** Optional presentation. Existing UI remains the default. */
|
|
170
|
+
uiVariant?: UiVariant;
|
|
143
171
|
selectionVariant?: SelectionVariant;
|
|
144
172
|
disableEventSwipe?: boolean;
|
|
145
173
|
yesNoLabels?: YesNoLabels;
|
|
@@ -157,4 +185,4 @@ export interface PlaceEntryProviderProps {
|
|
|
157
185
|
/** Map entry categories to UI labels. */
|
|
158
186
|
categoryDisplayNames?: CategoryDisplayNameOverrides;
|
|
159
187
|
}
|
|
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;
|
|
188
|
+
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, disableEventSwipe, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): 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;
|
|
@@ -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';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -53,28 +53,18 @@ export { RuleSetupPage, RuleSetupPageTitle, RuleSetupPageActions } from './compo
|
|
|
53
53
|
export type { RuleSetupPageProps } from './components/RuleSetupPage';
|
|
54
54
|
export { getRuleSetupConfig, gameNeedsRuleSetup, roundDividendAmount, } from '../shared/rule-setup';
|
|
55
55
|
export type { RuleSetupConfig, RuleSetupMode, RuleSetupOption, } from '../shared/rule-setup';
|
|
56
|
-
export { GameSetBetPage, GameSetBetPageTitle } from './components/GameSetBetPage';
|
|
57
|
-
export type { GameSetBetPageProps } from './components/GameSetBetPage';
|
|
58
56
|
export { getGameSetBetConfig, gameSetPrize, isGameSetBetGame, } from '../shared/game-set-bet';
|
|
59
57
|
export type { GameSetBetConfig, GameSetBetPrize, } from '../shared/game-set-bet';
|
|
60
|
-
export { PickYourDividendPage, PickYourDividendPageTitle } from './components/PickYourDividendPage';
|
|
61
|
-
export type { PickYourDividendPageProps } from './components/PickYourDividendPage';
|
|
62
58
|
export { getPickYourDividendConfig, isPickYourDividendGame, pydLadder, pydRung, PYD_RETAIL_DIVIDENDS, PYD_LEG_RUNGS, } from '../shared/pick-your-dividend';
|
|
63
59
|
export type { PickYourDividendConfig, PydDividendGame, PydRung, } from '../shared/pick-your-dividend';
|
|
64
|
-
export { LadderPage, LadderPageTitle } from './components/LadderPage';
|
|
65
|
-
export type { LadderPageProps } from './components/LadderPage';
|
|
66
60
|
export { getLadderConfig, isLadderGame, ladderTiers, ladderCollectAt, fullStackPrize, LADDER_FAMILY, LADDER_STAKES, LADDER_REFERENCE_BET, } from '../shared/ladder';
|
|
67
61
|
export type { LadderConfig, LadderDef, LadderTier, } from '../shared/ladder';
|
|
68
|
-
export { MirrorPage, MirrorPageTitle } from './components/MirrorPage';
|
|
69
|
-
export type { MirrorPageProps } from './components/MirrorPage';
|
|
70
62
|
export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
|
|
71
63
|
export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
|
|
72
64
|
export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
|
|
73
65
|
export type { SafetyNetPageProps } from './components/SafetyNetPage';
|
|
74
66
|
export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
|
|
75
67
|
export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
|
|
76
|
-
export { SixAgainPage, SixAgainPageTitle } from './components/SixAgainPage';
|
|
77
|
-
export type { SixAgainPageProps } from './components/SixAgainPage';
|
|
78
68
|
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';
|
|
79
69
|
export type { SixAgainConfig, SixAgainTicket, SixAgainBoost, SixAgainBoostId, SixAgainBoosts, } from '../shared/six-again';
|
|
80
70
|
export { getGameFlow, getConfirmBoostCopy, isFixedCardExactGame, isOpenExactMultiGame } from '../shared/game-flow';
|
|
@@ -100,3 +90,17 @@ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, ComingSoo
|
|
|
100
90
|
export { getTheme, getThemeSet, applyTheme, useBladeTheme, 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';
|
|
101
91
|
export type { BladeTheme, BladeThemeSet, ColorScheme } from './utils/themes';
|
|
102
92
|
export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, } from './hooks';
|
|
93
|
+
export { UI_VARIANTS } from '../shared/ui-variant';
|
|
94
|
+
export type { UiVariant } from '../shared/ui-variant';
|
|
95
|
+
export { isDenseUiVariant, uiVariantTheme, parseUiVariant, UI_VARIANT_LABELS } from '../shared/ui-variant';
|
|
96
|
+
export type { DenseUiVariant } from '../shared/ui-variant';
|
|
97
|
+
export { CorrelationChoicesSkeleton } from './components/CorrelationChoicesSkeleton';
|
|
98
|
+
export { CorrelationPricingDebug } from './components/CorrelationPricingDebug';
|
|
99
|
+
export { CorrelationPropPlaceholder } from './components/CorrelationPropPlaceholder';
|
|
100
|
+
export { useCorrelationSteering, usesCorrelationPricing, correlationDebugText } from '../shared/correlation-steering';
|
|
101
|
+
export type { CorrelationQuote, CorrelationRequest, CorrelationSuggestions } from '../shared/correlation-steering';
|
|
102
|
+
export { BASE_GAME_IDS } from '../shared/game-library';
|
|
103
|
+
export type GameLibrary = import('../shared/game-library').GameLibrary<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
|
|
104
|
+
export type GameDefinition = import('../shared/game-library').GameDefinition<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
|
|
105
|
+
export { IconSvg } from './components/IconSvg';
|
|
106
|
+
export type { IconSvgProps } from './components/IconSvg';
|