@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;
@@ -19,4 +20,4 @@ export declare function CategoryPickerPageActions({ onCancel, className, }: {
19
20
  onCancel?: () => void;
20
21
  className?: string;
21
22
  }): import("react/jsx-runtime").JSX.Element | null;
22
- export declare function CategoryPickerPage({ onSelectCategory, onCancel, hideTitle, hideActions, renderCategoryIcon, getCategoryTagline: getCategoryTaglineProp, className, }: CategoryPickerPageProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function CategoryPickerPage({ onSelectCategory, onCancel, hideTitle, hideActions, renderCategoryIcon, getCategoryTagline: getCategoryTaglineProp, className, }: 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;
@@ -35,9 +35,11 @@ export interface HowToPlayButtonProps {
35
35
  variant?: 'pill' | 'icon' | 'link';
36
36
  /** Optional touch target size for compact layouts. */
37
37
  touchSize?: number;
38
+ /** Colour of the icon variant's ?, for a trigger drawn on its own chip (the Shelf covers' white one). */
39
+ iconInk?: string;
38
40
  colors: HowToPlayModalProps['colors'];
39
41
  bodyFont?: string;
40
42
  headingFont?: string;
41
43
  className?: string;
42
44
  }
43
- export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, colors, bodyFont, headingFont, className, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
45
+ export declare function HowToPlayButton({ content, panel, theme, extra, title, label, variant, touchSize, iconInk, colors, bodyFont, headingFont, className, }: HowToPlayButtonProps): import("react/jsx-runtime").JSX.Element | null;
@@ -109,6 +109,9 @@ export interface PlaceEntryContextValue {
109
109
  } | null;
110
110
  undoSelectionChange: () => void;
111
111
  dismissSelectionUndo: () => void;
112
+ /** How many picks were just taken off the slip because BLADE withdrew or settled them; null when none. */
113
+ unavailablePicks: number | null;
114
+ dismissUnavailablePicks: () => void;
112
115
  selectedCategory: string | null;
113
116
  setSelectedCategory: (category: string | null) => void;
114
117
  selectedSport: string | null;
@@ -0,0 +1,4 @@
1
+ /** Said once when picks BLADE has withdrawn, suspended, voided or settled are taken off the slip. RN twin: UnavailablePicksBanner in the RN components. */
2
+ export declare function UnavailablePicksBanner({ className }: {
3
+ className?: string;
4
+ }): import("react/jsx-runtime").JSX.Element | null;