@simple-parlay/components 1.30.6-pre.3 → 1.30.6-pre.4
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 +212 -215
- package/dist/react/components/MultiLegTable.d.ts +3 -1
- package/dist/react/components/PlaceEntryProvider.d.ts +1 -0
- package/dist/react/index.js +1 -1
- package/dist/react/index.mjs +212 -215
- package/dist/react-native/components/MultiLegTable.d.ts +3 -1
- package/dist/react-native/components/PlaceEntryProvider.d.ts +1 -0
- package/dist/react-native/components/SportSelector.d.ts +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.mjs +332 -332
- package/dist/shared/game-flow.d.ts +12 -1
- package/dist/shared/game-set-bet.d.ts +0 -1
- package/dist/shared/menu-placement.d.ts +26 -0
- package/dist/shared/mirror.d.ts +5 -3
- package/dist/shared/selection-actions.d.ts +8 -4
- package/dist/shared/selection-caps.d.ts +0 -1
- package/dist/shared/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { Game } from '../../shared/types';
|
|
1
2
|
export interface MultiLegTableTier {
|
|
2
3
|
count: number;
|
|
3
4
|
payout20: number;
|
|
4
5
|
}
|
|
5
6
|
export interface MultiLegTableProps {
|
|
6
7
|
tiers: MultiLegTableTier[];
|
|
8
|
+
game?: Game | null;
|
|
7
9
|
selectedCount?: number;
|
|
8
10
|
onSelect: (count: number) => void;
|
|
9
11
|
colors: {
|
|
@@ -37,4 +39,4 @@ export interface MultiLegTableProps {
|
|
|
37
39
|
* Renders a compact Legs / Dividend / $X returns table identical to the
|
|
38
40
|
* one on the Game Page. Used by both GameSelector and ConfirmPage.
|
|
39
41
|
*/
|
|
40
|
-
export declare function MultiLegTable({ tiers, selectedCount, onSelect, colors: c, bodyFont, extraBetAmount, buttonLabel, columnLabel, buildYourOwn, quickPickOnly, onQuickPick, collapsible, expanded: expandedProp, onExpandedChange, summaryTiers }: MultiLegTableProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare function MultiLegTable({ tiers, game, selectedCount, onSelect, colors: c, bodyFont, extraBetAmount, buttonLabel, columnLabel, buildYourOwn, quickPickOnly, onQuickPick, collapsible, expanded: expandedProp, onExpandedChange, summaryTiers }: MultiLegTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -61,6 +61,7 @@ export interface PlaceEntryContextValue {
|
|
|
61
61
|
clearSelectedGame: () => void;
|
|
62
62
|
toggleSelection: (id: number, answer: 'yes' | 'no') => void;
|
|
63
63
|
quickPickGame: (game: Game, count: number, stake?: number) => void;
|
|
64
|
+
quickPickSelections: (count: number) => number;
|
|
64
65
|
selectedCategory: string | null;
|
|
65
66
|
setSelectedCategory: (category: string | null) => void;
|
|
66
67
|
selectedSport: string | null;
|