@simple-parlay/components 1.30.6-pre.8 → 1.30.6-pre.9
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 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +337 -307
- package/dist/react/components/GameSelector.d.ts +1 -1
- package/dist/react/components/GameShowcaseCatalogue.d.ts +8 -0
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.mjs +337 -307
- package/dist/react-native/index.cjs +1 -1
- package/dist/react-native/index.mjs +2 -2
- package/dist/shared/game-artwork.d.ts +20 -0
- package/dist/shared/game-variants.d.ts +1 -1
- package/dist/shared/types.d.ts +3 -1
- package/package.json +1 -1
|
@@ -25,4 +25,4 @@ export declare function GameMark({ iconUrl, size, brandColor, iconColor, accentC
|
|
|
25
25
|
iconColor: string;
|
|
26
26
|
accentColor?: string;
|
|
27
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;
|
|
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, onlyListedGames, }: GameSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CallGameCatalogueProps } from '../../shared/dense-ui';
|
|
2
|
+
export interface GameShowcaseCatalogueProps extends CallGameCatalogueProps {
|
|
3
|
+
onBack?: () => void;
|
|
4
|
+
/** Show only the given games, without dimmed tiles for curated games the API is not offering. */
|
|
5
|
+
onlyListedGames?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** A hero-led carousel of games with an all-games strip and a dividends view. Browsing is local; Press to play commits. */
|
|
8
|
+
export declare function GameShowcaseCatalogue({ games, theme, onPlay, maxPayouts, quickPickLoading, onBack, onlyListedGames }: GameShowcaseCatalogueProps): import("react/jsx-runtime").JSX.Element;
|