@simple-parlay/components 1.30.6-pre.7 → 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.
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +485 -429
- package/dist/react/components/GamePage.d.ts +3 -1
- package/dist/react/components/GameSelector.d.ts +9 -1
- package/dist/react/components/GameShelfCatalogue.d.ts +8 -0
- package/dist/react/components/GameVariantCatalogue.d.ts +6 -0
- package/dist/react/components/PlaceEntryProvider.d.ts +9 -4
- package/dist/react/components/PlaybookChooser.d.ts +7 -0
- package/dist/react/components/SafetyNetPage.d.ts +4 -1
- package/dist/react/index.cjs +1 -0
- package/dist/react/index.d.ts +19 -0
- package/dist/react/index.mjs +485 -429
- package/dist/react-native/components/GamePage.d.ts +4 -1
- package/dist/react-native/components/GameSelector.d.ts +9 -1
- package/dist/react-native/components/GameShelfCatalogue.d.ts +7 -0
- package/dist/react-native/components/PlaceEntryProvider.d.ts +9 -4
- package/dist/react-native/components/PlaybookChooser.d.ts +7 -0
- package/dist/react-native/components/SafetyNetPage.d.ts +4 -1
- package/dist/react-native/index.cjs +1 -0
- package/dist/react-native/index.d.ts +19 -0
- package/dist/react-native/index.mjs +474 -438
- package/dist/shared/api-client.d.ts +3 -3
- package/dist/shared/dense-ui.d.ts +2 -0
- package/dist/shared/game-artwork.d.ts +41 -0
- package/dist/shared/game-icons.d.ts +6 -3
- package/dist/shared/game-library.d.ts +9 -3
- package/dist/shared/game-shelf-artwork.d.ts +3 -0
- package/dist/shared/game-shelf-presentation.d.ts +42 -0
- package/dist/shared/game-variants.d.ts +5 -0
- package/dist/shared/hooks.d.ts +3 -3
- package/dist/shared/how-to-play-html.d.ts +1 -1
- package/dist/shared/how-to-play-logo.d.ts +1 -1
- package/dist/shared/playbook.d.ts +29 -0
- package/dist/shared/selection-variants.d.ts +1 -1
- package/dist/shared/themes.d.ts +20 -0
- package/dist/shared/types.d.ts +9 -2
- package/dist/shared/ui-variant.d.ts +4 -2
- package/dist/shared/utils.d.ts +4 -4
- package/package.json +6 -12
- package/dist/index.js +0 -1
- package/dist/react/components/GameSetBetPage.d.ts +0 -21
- package/dist/react/components/LadderPage.d.ts +0 -21
- package/dist/react/components/MirrorPage.d.ts +0 -21
- package/dist/react/components/PickYourDividendPage.d.ts +0 -21
- package/dist/react/components/SixAgainPage.d.ts +0 -16
- package/dist/react/game-library.d.ts +0 -21
- package/dist/react/index.js +0 -1
- package/dist/react-native/components/GameSetBetPage.d.ts +0 -19
- package/dist/react-native/components/LadderPage.d.ts +0 -19
- package/dist/react-native/components/MirrorPage.d.ts +0 -19
- package/dist/react-native/components/PickYourDividendPage.d.ts +0 -19
- package/dist/react-native/components/SixAgainPage.d.ts +0 -14
- package/dist/react-native/game-library.d.ts +0 -21
- package/dist/react-native/index.js +0 -1
- package/dist/shared/call-artwork.d.ts +0 -2
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { GameSetBetConfig } from '../../shared/game-set-bet';
|
|
2
|
-
export interface GameSetBetPageProps {
|
|
3
|
-
/** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
|
|
4
|
-
onQuickPick?: () => void;
|
|
5
|
-
/** Called when the user chooses to answer the legs themselves (navigate to selections). */
|
|
6
|
-
onPickYourOwn?: () => void;
|
|
7
|
-
onBack?: () => void;
|
|
8
|
-
/** Hide the built-in eyebrow title (use `<GameSetBetPageTitle />` separately). */
|
|
9
|
-
hideTitle?: boolean;
|
|
10
|
-
/** Override the built-in config (leg options, stake ladder, margin). */
|
|
11
|
-
config?: GameSetBetConfig | null;
|
|
12
|
-
/** Label for the back link (where "back" leads). @default 'Games' */
|
|
13
|
-
backLabel?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function GameSetBetPageTitle({ className, onBack, hideActions, }: {
|
|
17
|
-
className?: string;
|
|
18
|
-
onBack?: () => void;
|
|
19
|
-
hideActions?: boolean;
|
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function GameSetBetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: GameSetBetPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LadderConfig } from '../../shared/ladder';
|
|
2
|
-
export interface LadderPageProps {
|
|
3
|
-
/** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
|
|
4
|
-
onQuickPick?: () => void;
|
|
5
|
-
/** Called when the user chooses to answer the legs themselves (navigate to selections). */
|
|
6
|
-
onPickYourOwn?: () => void;
|
|
7
|
-
onBack?: () => void;
|
|
8
|
-
/** Hide the built-in eyebrow title (use `<LadderPageTitle />` separately). */
|
|
9
|
-
hideTitle?: boolean;
|
|
10
|
-
/** Override the built-in config (ladder family, stakes). */
|
|
11
|
-
config?: LadderConfig | null;
|
|
12
|
-
/** Label for the back link (where "back" leads). @default 'Games' */
|
|
13
|
-
backLabel?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function LadderPageTitle({ className, onBack, hideActions, }: {
|
|
17
|
-
className?: string;
|
|
18
|
-
onBack?: () => void;
|
|
19
|
-
hideActions?: boolean;
|
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function LadderPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: LadderPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { MirrorConfig } from '../../shared/mirror';
|
|
2
|
-
export interface MirrorPageProps {
|
|
3
|
-
/** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
|
|
4
|
-
onQuickPick?: () => void;
|
|
5
|
-
/** Called when the user chooses to answer the legs themselves (navigate to selections). */
|
|
6
|
-
onPickYourOwn?: () => void;
|
|
7
|
-
onBack?: () => void;
|
|
8
|
-
/** Hide the built-in eyebrow title (use `<MirrorPageTitle />` separately). */
|
|
9
|
-
hideTitle?: boolean;
|
|
10
|
-
/** Override the built-in config (leg options, stake ladder, margin). */
|
|
11
|
-
config?: MirrorConfig | null;
|
|
12
|
-
/** Label for the back link (where "back" leads). @default 'Games' */
|
|
13
|
-
backLabel?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function MirrorPageTitle({ className, onBack, hideActions, }: {
|
|
17
|
-
className?: string;
|
|
18
|
-
onBack?: () => void;
|
|
19
|
-
hideActions?: boolean;
|
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function MirrorPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: MirrorPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PickYourDividendConfig } from '../../shared/pick-your-dividend';
|
|
2
|
-
export interface PickYourDividendPageProps {
|
|
3
|
-
/** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
|
|
4
|
-
onQuickPick?: () => void;
|
|
5
|
-
/** Called when the user chooses to answer the legs themselves (navigate to selections). */
|
|
6
|
-
onPickYourOwn?: () => void;
|
|
7
|
-
onBack?: () => void;
|
|
8
|
-
/** Hide the built-in eyebrow title (use `<PickYourDividendPageTitle />` separately). */
|
|
9
|
-
hideTitle?: boolean;
|
|
10
|
-
/** Override the built-in config (dividend tiers, rungs). */
|
|
11
|
-
config?: PickYourDividendConfig | null;
|
|
12
|
-
/** Label for the back link (where "back" leads). @default 'Games' */
|
|
13
|
-
backLabel?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function PickYourDividendPageTitle({ className, onBack, hideActions, }: {
|
|
17
|
-
className?: string;
|
|
18
|
-
onBack?: () => void;
|
|
19
|
-
hideActions?: boolean;
|
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function PickYourDividendPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: PickYourDividendPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SixAgainConfig } from '../../shared/six-again';
|
|
2
|
-
export interface SixAgainPageProps {
|
|
3
|
-
onQuickPick?: () => void;
|
|
4
|
-
onPickYourOwn?: () => void;
|
|
5
|
-
onBack?: () => void;
|
|
6
|
-
hideTitle?: boolean;
|
|
7
|
-
config?: SixAgainConfig | null;
|
|
8
|
-
backLabel?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function SixAgainPageTitle({ className, onBack, hideActions, }: {
|
|
12
|
-
className?: string;
|
|
13
|
-
onBack?: () => void;
|
|
14
|
-
hideActions?: boolean;
|
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare function SixAgainPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, className, }: SixAgainPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
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';
|