@simple-parlay/components 2.3.2 → 2.3.3-pre.2

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.
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export interface CategoryPickerPageProps {
3
+ /** Called after a category is picked — straight away, with no page shown, when there is only one. */
3
4
  onSelectCategory?: (category: string) => void;
4
5
  onCancel?: () => void;
5
6
  hideTitle?: boolean;
@@ -14,4 +15,4 @@ export declare function CategoryPickerPageTitle({ onBack, hideActions, }?: {
14
15
  export declare function CategoryPickerPageActions({ onCancel }: {
15
16
  onCancel?: () => void;
16
17
  }): import("react/jsx-runtime").JSX.Element | null;
17
- export declare function CategoryPickerPage({ onSelectCategory, onCancel, hideTitle, hideActions, renderCategoryIcon, getCategoryTagline: getCategoryTaglineProp, }: CategoryPickerPageProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function CategoryPickerPage({ onSelectCategory, onCancel, hideTitle, hideActions, renderCategoryIcon, getCategoryTagline: getCategoryTaglineProp, }: CategoryPickerPageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
1
  import { CallGameCatalogueProps } from '../../shared/dense-ui';
2
- export declare function GameShelfCatalogue({ games, selectedGame, theme, onPlay, maxPayouts, quickPickLoading }: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function GameShelfCatalogue({ games: all, theme, onPlay, maxPayouts }: CallGameCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -13,6 +13,8 @@ export interface HowToPlayButtonProps {
13
13
  variant?: 'pill' | 'icon' | 'link';
14
14
  /** Optional touch target size for compact layouts. */
15
15
  touchSize?: number;
16
+ /** Colour of the icon variant's ?, for a trigger drawn on its own chip (the Shelf covers' white one). */
17
+ iconInk?: string;
16
18
  colors: {
17
19
  text: string;
18
20
  textMuted: string;
@@ -25,7 +27,7 @@ export interface HowToPlayButtonProps {
25
27
  bodyFont?: string;
26
28
  headingFont?: string;
27
29
  }
28
- export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
30
+ export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, iconInk, colors, bodyFont, headingFont, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
29
31
  /** The How-to-Play sheet on its own, for triggers other than the button (the game-feature tiles). Web twin: HowToPlayModal. */
30
32
  export declare function HowToPlayModal({ open, onClose, title, content, panel, theme, extra, colors, bodyFont, headingFont, }: Omit<HowToPlayButtonProps, 'label' | 'variant' | 'touchSize'> & {
31
33
  open: boolean;
@@ -106,6 +106,9 @@ export interface PlaceEntryContextValue {
106
106
  } | null;
107
107
  undoSelectionChange: () => void;
108
108
  dismissSelectionUndo: () => void;
109
+ /** How many picks were just taken off the slip because BLADE withdrew or settled them; null when none. */
110
+ unavailablePicks: number | null;
111
+ dismissUnavailablePicks: () => void;
109
112
  selectedCategory: string | null;
110
113
  setSelectedCategory: (category: string | null) => void;
111
114
  selectedSport: string | null;
@@ -0,0 +1,2 @@
1
+ /** Said once when picks BLADE has withdrawn, suspended, voided or settled are taken off the slip. Web twin: UnavailablePicksBanner in the web components. */
2
+ export declare function UnavailablePicksBanner(): import("react/jsx-runtime").JSX.Element | null;