@simple-parlay/components 2.0.2 → 2.2.0

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.
Files changed (62) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.mjs +687 -653
  4. package/dist/react/components/CorrelationGuide.d.ts +5 -0
  5. package/dist/react/components/CorrelationPropPlaceholder.d.ts +1 -1
  6. package/dist/react/components/EntryRulePicks.d.ts +62 -0
  7. package/dist/react/components/EntrySubmission.d.ts +1 -1
  8. package/dist/react/components/GameEntries.d.ts +1 -1
  9. package/dist/react/components/GameShowcaseCatalogue.d.ts +2 -1
  10. package/dist/react/components/HowToPlayPanel.d.ts +19 -0
  11. package/dist/react/components/LoadingIndicators.d.ts +3 -0
  12. package/dist/react/components/MarkdownContent.d.ts +4 -1
  13. package/dist/react/components/MultiLegTable.d.ts +2 -1
  14. package/dist/react/components/PickGroupSection.d.ts +4 -3
  15. package/dist/react/components/PlaceEntryProvider.d.ts +13 -2
  16. package/dist/react/components/SelectionVariantList.d.ts +18 -0
  17. package/dist/react/components/ShelfKit.d.ts +1 -1
  18. package/dist/react/components/YesNoMultiLogo.d.ts +5 -2
  19. package/dist/react/components/_primitives/index.d.ts +4 -2
  20. package/dist/react/hooks/index.d.ts +1 -1
  21. package/dist/react/index.cjs +1 -1
  22. package/dist/react/index.d.ts +4 -1
  23. package/dist/react/index.mjs +687 -653
  24. package/dist/react/types/index.d.ts +1 -1
  25. package/dist/react-native/components/CorrelationGuide.d.ts +5 -0
  26. package/dist/react-native/components/EntryRulePicks.d.ts +66 -0
  27. package/dist/react-native/components/EntrySubmission.d.ts +1 -1
  28. package/dist/react-native/components/GameEntries.d.ts +1 -1
  29. package/dist/react-native/components/HowToPlayButton.d.ts +6 -11
  30. package/dist/react-native/components/HowToPlayPanel.d.ts +17 -0
  31. package/dist/react-native/components/LoadingIndicators.d.ts +5 -0
  32. package/dist/react-native/components/MultiLegTable.d.ts +2 -1
  33. package/dist/react-native/components/PickGroupSection.d.ts +4 -3
  34. package/dist/react-native/components/PlaceEntryProvider.d.ts +13 -6
  35. package/dist/react-native/components/SelectionVariantList.d.ts +40 -0
  36. package/dist/react-native/components/ShelfKit.d.ts +1 -1
  37. package/dist/react-native/components/_primitives/index.d.ts +3 -1
  38. package/dist/react-native/hooks/index.d.ts +1 -1
  39. package/dist/react-native/index.cjs +1 -1
  40. package/dist/react-native/index.d.ts +4 -1
  41. package/dist/react-native/index.mjs +587 -559
  42. package/dist/react-native/types/index.d.ts +1 -1
  43. package/dist/shared/api-client.d.ts +7 -1
  44. package/dist/shared/correlation-steering.d.ts +25 -5
  45. package/dist/shared/dense-ui.d.ts +1 -0
  46. package/dist/shared/entry-features.d.ts +34 -0
  47. package/dist/shared/entry-rules.d.ts +178 -0
  48. package/dist/shared/game-artwork.d.ts +0 -1
  49. package/dist/shared/game-flow.d.ts +7 -1
  50. package/dist/shared/hooks.d.ts +4 -0
  51. package/dist/shared/how-to-play-props-table.d.ts +1 -17
  52. package/dist/shared/markdown.d.ts +8 -0
  53. package/dist/shared/shelf-covers.d.ts +0 -2
  54. package/dist/shared/shelf-ui.d.ts +2 -1
  55. package/dist/shared/types.d.ts +93 -3
  56. package/dist/shared/utils.d.ts +1 -0
  57. package/package.json +4 -2
  58. package/dist/react/components/HowToPlayPropsTable.d.ts +0 -6
  59. package/dist/react/components/HtmlContent.d.ts +0 -5
  60. package/dist/shared/how-to-play-html.d.ts +0 -12
  61. package/dist/shared/how-to-play-logo.d.ts +0 -2
  62. package/dist/shared/how-to-play-styles.d.ts +0 -2
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Tells the player what correlation pricing does to their picks before they make any,
3
+ * and lets them size the multi. RN twin: CorrelationGuide in react-native/components.
4
+ */
5
+ export declare function CorrelationGuide(): import("react/jsx-runtime").JSX.Element | null;
@@ -3,7 +3,7 @@ import { default as React } from 'react';
3
3
  * Holds a row back while the choices are re-priced. The first load has no
4
4
  * quote to show yet, so it paints a skeleton over the original's dimensions.
5
5
  * After that the rows on screen are the last quote's: they stay readable,
6
- * dimmed, until the next one lands, so a tap never wipes the list.
6
+ * pulsing, until the next one lands, so a tap never wipes the list.
7
7
  */
8
8
  export declare function CorrelationPropPlaceholder({ id, kind, stretch, children }: {
9
9
  id: number;
@@ -0,0 +1,62 @@
1
+ import { default as React } from 'react';
2
+ import { EntryFeatureClient, EntryRuleAction, GameEntry, Proposition } from '../types';
3
+ import { RenderTeamLogo } from '../../shared/types';
4
+ import { BladeTheme } from '../utils/themes';
5
+ import { EntryRuleId, EntryRuleResult } from '../../shared/entry-rules';
6
+ /** A game feature the player opened from an entry card. */
7
+ export type EntryRuleView = {
8
+ rule: 'double_down' | 'late_swap';
9
+ entry: GameEntry;
10
+ drop: Proposition;
11
+ dropAnswer?: 'yes' | 'no';
12
+ } | {
13
+ rule: 'press';
14
+ entry: GameEntry;
15
+ winnings: number;
16
+ } | {
17
+ rule: 'second_thoughts';
18
+ entry: GameEntry;
19
+ picks: {
20
+ prop: Proposition;
21
+ answer?: 'yes' | 'no';
22
+ }[];
23
+ } | {
24
+ rule: 'hot_hand';
25
+ entry: GameEntry;
26
+ };
27
+ export declare const RULE_EYEBROW: React.CSSProperties;
28
+ /**
29
+ * The feature's mark: its glyph in the accent on a primary tile, like the game emblems.
30
+ * `explain` makes it the way in to the feature's explainer: a hover lift and ring, a `?` badge, and a tap opens it.
31
+ */
32
+ export declare function RuleTile({ theme, rule, size, explain }: {
33
+ theme: BladeTheme;
34
+ rule: EntryRuleId;
35
+ size?: number;
36
+ explain?: boolean;
37
+ }): import("react/jsx-runtime").JSX.Element;
38
+ /** What a feature does, in the How-to-Play guide's shape: the mark and one line, three numbered steps, what it costs. */
39
+ export declare function RuleExplainer({ theme, rule }: {
40
+ theme: BladeTheme;
41
+ rule: EntryRuleId;
42
+ }): import("react/jsx-runtime").JSX.Element;
43
+ /** One pick as a row: what was called and the call. */
44
+ export declare function RulePickRow({ theme, prop, answer, struck }: {
45
+ theme: BladeTheme;
46
+ prop: Proposition;
47
+ answer?: 'yes' | 'no';
48
+ struck?: boolean;
49
+ }): import("react/jsx-runtime").JSX.Element;
50
+ /**
51
+ * The picks screen, pointed at a game feature: the Shelf picks list and a checkout dock. BLADE quotes
52
+ * the exact stake and payout for the picks as they stand; the button arms, then accepts that quote.
53
+ */
54
+ export declare function EntryRulePicks({ view, pool, theme, client, renderTeamLogo, onBack, onDone }: {
55
+ view: EntryRuleView;
56
+ pool: Proposition[];
57
+ theme: BladeTheme;
58
+ client: EntryFeatureClient | null;
59
+ renderTeamLogo?: RenderTeamLogo;
60
+ onBack: () => void;
61
+ onDone: (action: EntryRuleAction, result: EntryRuleResult) => void;
62
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { EntrySubmissionProps } from '../types';
2
- export declare function EntrySubmission({ game, propositions, selections, onToggleSelection, onRemoveSelection, onSubmit, onBack, loading, error, expectedCorrect, onExpectedCorrectChange, betAmount, onBetAmountChange, theme: themeProp, colorScheme, hideActions, winningCounts: winningCountsProp, payouts: payoutsProp, renderTeamLogo, componentById, showCustomAmount, betAmountLocked, betAmountLockedNote, canSubmit: canSubmitProp, confirming, authenticated, userBalance, onRecharge, boostBanner, aboveDock, }: EntrySubmissionProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function EntrySubmission({ game, propositions, selections, onToggleSelection, onRemoveSelection, onSubmit, onBack, loading, error, expectedCorrect, onExpectedCorrectChange, betAmount, onBetAmountChange, theme: themeProp, colorScheme, hideActions, winningCounts: winningCountsProp, payouts: payoutsProp, payoutPending, renderTeamLogo, componentById, showCustomAmount, betAmountLocked, betAmountLockedNote, canSubmit: canSubmitProp, confirming, authenticated, userBalance, onRecharge, boostBanner, aboveDock, }: EntrySubmissionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { GameEntriesProps } from '../types';
2
- export declare function GameEntries({ apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, demoEntries, demoGames, demoPropositions, onSelectEntry, theme: themeProp, colorScheme, className, renderTeamLogo, filterSport, }: GameEntriesProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function GameEntries({ apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, demoEntries, demoGames, demoPropositions, onSelectEntry, theme: themeProp, colorScheme, className, renderTeamLogo, filterSport, onEntryRule, entryFeatureClient, }: GameEntriesProps): import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,7 @@ export interface GameShowcaseCatalogueProps extends CallGameCatalogueProps {
6
6
  onlyListedGames?: boolean;
7
7
  /** Leave out the hero image. */
8
8
  disableImage?: boolean;
9
+ showTierFilter?: boolean;
9
10
  }
10
11
  /** A hero-led carousel of games with an all-games strip and a dividends view. Browsing is local; Press to play commits. */
11
- export declare function GameShowcaseCatalogue({ games, theme, onPlay, maxPayouts, quickPickLoading, onlyListedGames, disableImage }: GameShowcaseCatalogueProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function GameShowcaseCatalogue({ games, theme, onPlay, maxPayouts, quickPickLoading, onlyListedGames, disableImage, showTierFilter }: GameShowcaseCatalogueProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,25 @@
1
1
  import { default as React } from 'react';
2
2
  import { BladeTheme } from '../types';
3
3
  import { HowToPlayPanelContent } from '../../shared/how-to-play-panel';
4
+ /** The panel's tab track; the markdown guide's section buttons use it too. RN twin: PanelTabs in the RN HowToPlayPanel. */
5
+ export declare function PanelTabs<Id extends string>({ theme, font, tabs, active, onSelect }: {
6
+ theme: BladeTheme;
7
+ font?: string;
8
+ tabs: readonly {
9
+ id: Id;
10
+ label: string;
11
+ }[];
12
+ active: Id;
13
+ onSelect: (id: Id) => void;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ /** The guide's YES / NO example rows as real prop rows: tap an answer, as on the picks page. RN twin: GuidePropRows in the RN HowToPlayPanel. */
16
+ export declare function GuidePropRows({ theme, rows, font }: {
17
+ theme: BladeTheme;
18
+ rows: readonly {
19
+ question: string;
20
+ }[];
21
+ font?: string;
22
+ }): import("react/jsx-runtime").JSX.Element;
4
23
  export interface HowToPlayPanelProps {
5
24
  panel: HowToPlayPanelContent;
6
25
  theme: BladeTheme;
@@ -23,6 +23,9 @@ export declare function Shimmer({ color, className, style, }: {
23
23
  className?: string;
24
24
  style?: React.CSSProperties;
25
25
  }): import("react/jsx-runtime").JSX.Element;
26
+ export declare function AmountShimmer({ color }: {
27
+ color?: string;
28
+ }): import("react/jsx-runtime").JSX.Element;
26
29
  export declare function PickerPageShell({ className, bodyFont, children, }: {
27
30
  className?: string;
28
31
  bodyFont: string;
@@ -1,3 +1,4 @@
1
+ import { BladeTheme } from '../types';
1
2
  export interface MarkdownContentProps {
2
3
  content: string;
3
4
  colors: {
@@ -6,8 +7,10 @@ export interface MarkdownContentProps {
6
7
  border: string;
7
8
  primary?: string;
8
9
  };
10
+ /** Each `#` section gets a button and shows one at a time. Defaults to the provider's theme. */
11
+ theme?: BladeTheme;
9
12
  bodyFont?: string;
10
13
  headingFont?: string;
11
14
  className?: string;
12
15
  }
13
- export declare function MarkdownContent({ content, colors, bodyFont, headingFont, className, }: MarkdownContentProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function MarkdownContent({ content, colors, theme, bodyFont, headingFont, className, }: MarkdownContentProps): import("react/jsx-runtime").JSX.Element;
@@ -25,6 +25,7 @@ export interface MultiLegTableProps {
25
25
  };
26
26
  bodyFont?: string;
27
27
  extraBetAmount?: number;
28
+ pending?: boolean;
28
29
  buttonLabel?: (count: number) => string;
29
30
  /** Left-column label above the tier buttons. @default 'Legs' */
30
31
  columnLabel?: string;
@@ -41,4 +42,4 @@ export interface MultiLegTableProps {
41
42
  * Renders a compact Legs / Dividend / $X returns table identical to the
42
43
  * one on the Game Page. Used by both GameSelector and ConfirmPage.
43
44
  */
44
- export declare function MultiLegTable({ tiers, game, selectedCount, onSelect, colors: c, bodyFont, extraBetAmount, buttonLabel, columnLabel, buildYourOwn, quickPickOnly, onQuickPick, collapsible, expanded: expandedProp, onExpandedChange, summaryTiers, theme }: MultiLegTableProps): import("react/jsx-runtime").JSX.Element;
45
+ export declare function MultiLegTable({ tiers, game, selectedCount, onSelect, colors: c, bodyFont, extraBetAmount, buttonLabel, columnLabel, buildYourOwn, quickPickOnly, onQuickPick, collapsible, expanded: expandedProp, onExpandedChange, summaryTiers, theme, pending }: MultiLegTableProps): import("react/jsx-runtime").JSX.Element;
@@ -22,6 +22,7 @@ export interface PickGroupSectionProps {
22
22
  pickOrder?: readonly number[];
23
23
  /** Stretch to fill the card (the last group of a shelf card). */
24
24
  last?: boolean;
25
+ rowsBackground?: string;
25
26
  /** One row. `swap` is set on a row a full limit folded: answering it swaps it in, resolving the picks it replaces on the tap. */
26
27
  renderRow: (prop: Proposition, opts: {
27
28
  top: boolean;
@@ -29,9 +30,9 @@ export interface PickGroupSectionProps {
29
30
  }) => React.ReactNode;
30
31
  }
31
32
  /**
32
- * One group of a match's questions (the line, the total, the players): a rounded rail tile (icon, label, the limit
33
- * when there are more options than it allows) beside its rows. Once the limit is full, the rows it blocks fold away
33
+ * One group of a match's questions (the line, the total, the players): a flush, square rail column (icon, label, the
34
+ * limit when there are more options than it allows) beside its rows, the same shape as the rows. Once the limit is full, the rows it blocks fold away
34
35
  * in place behind one tile; opened, each of them swaps in for the held pick. Every system's picks page draws it.
35
36
  * RN twin: PickGroupSection in the RN components.
36
37
  */
37
- export declare function PickGroupSection({ theme, group, selections, caps, game, pool, componentById, pickOrder, last, renderRow }: PickGroupSectionProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function PickGroupSection({ theme, group, selections, caps, game, pool, componentById, pickOrder, last, rowsBackground, renderRow }: PickGroupSectionProps): import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,11 @@ import { GameLibrary } from '../../shared/game-library';
3
3
  import { GameFlow } from '../../shared/game-flow';
4
4
  import { PreviewCallPayouts } from '../../shared/use-call-payouts';
5
5
  import { UiVariant } from '../../shared/ui-variant';
6
+ import { UiSystem } from '../../shared/ui-system';
6
7
  import { default as React } from 'react';
7
8
  import { BladeApiClient } from '../utils/api-client';
8
9
  import { YesNoLabels, EntryCategory } from '../../shared/utils';
9
- import { Game, Proposition, SportSummary, GameEntry, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
10
+ import { Game, Proposition, SportSummary, GameEntry, GameEntriesProps, TopPayoutsResponse, ShareData, ScreenSize } from '../types';
10
11
  import { BladeTheme, BladeThemeSet, ColorScheme } from '../utils/themes';
11
12
  import { SportDisplayNameOverrides, CategoryDisplayNameOverrides } from '../utils';
12
13
  import { RenderTeamLogo, RenderPropositionSilk, GamePermittedRule, GameCategory } from '../../shared/types';
@@ -124,6 +125,8 @@ export interface PlaceEntryContextValue {
124
125
  renderPropositionSilk?: RenderPropositionSilk;
125
126
  /** Optional presentation. Existing UI remains the default. */
126
127
  uiVariant?: UiVariant;
128
+ /** The resolved UI_SYSTEMS entry for `uiVariant`; the game library draws its setup pages from it. */
129
+ uiSystemSpec: UiSystem;
127
130
  /** Proposition layout override; undefined follows the UI variant. */
128
131
  selectionVariant?: SelectionVariant;
129
132
  /** Optional game discovery layout, independent of uiVariant. `cards`, `split` and `compare` are web-only; native renders `shelf`. */
@@ -134,6 +137,10 @@ export interface PlaceEntryContextValue {
134
137
  swipeVariant?: SwipeVariant;
135
138
  enableSportFavourites?: boolean;
136
139
  filterSport?: string;
140
+ /** Called when the player uses a game feature (Double Down, Press, Late Swap) on an entry. */
141
+ onEntryRule?: GameEntriesProps['onEntryRule'];
142
+ /** Overrides the BLADE calls behind game features (the playground's demo pricer). */
143
+ entryFeatureClient?: GameEntriesProps['entryFeatureClient'];
137
144
  initialSport?: string;
138
145
  initialEventId?: string;
139
146
  initialEventLabel?: string;
@@ -148,6 +155,8 @@ export interface PlaceEntryContextValue {
148
155
  /** Resolve an entry category to its UI label (host overrides applied). */
149
156
  displayCategoryName: (category: string) => string;
150
157
  maxPayouts: Record<number, TopPayoutsResponse>;
158
+ stakePayouts?: TopPayoutsResponse;
159
+ quotePending: boolean;
151
160
  howToPlayMarkdown: string | null;
152
161
  onEntryPlaced?: (entry: GameEntry) => void;
153
162
  onCancel?: () => void;
@@ -191,6 +200,8 @@ export interface PlaceEntryProviderProps {
191
200
  jurisdiction?: string;
192
201
  initialGameId?: number;
193
202
  filterSport?: string;
203
+ onEntryRule?: GameEntriesProps['onEntryRule'];
204
+ entryFeatureClient?: GameEntriesProps['entryFeatureClient'];
194
205
  initialSport?: string;
195
206
  initialEventId?: string;
196
207
  initialEventLabel?: string;
@@ -223,4 +234,4 @@ export interface PlaceEntryProviderProps {
223
234
  /** Map entry categories to UI labels. */
224
235
  categoryDisplayNames?: CategoryDisplayNameOverrides;
225
236
  }
226
- export declare function PlaceEntryProvider({ gameLibrary, apiClient: suppliedApiClient, scopePropositionsToSport, showCorrelationDebug, apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, getUserBalance, children, theme: themeProp, colorScheme, demoGames, demoPropositions, demoEntries, demoMaxPayouts, gameCategory, jurisdiction, initialGameId, filterSport, initialSport, initialEventId, initialEventLabel, sportBaseKey, disableQuickPick, renderTeamLogo, renderPropositionSilk, uiVariant, selectionVariant, gameVariant, disableEventSwipe, swipeVariant, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, entryReference, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
237
+ export declare function PlaceEntryProvider({ gameLibrary, apiClient: suppliedApiClient, scopePropositionsToSport, showCorrelationDebug, apiUrl, apiKey, fetchImpl, getAuthHeaders, userId, getUserBalance, children, theme: themeProp, colorScheme, demoGames, demoPropositions, demoEntries, demoMaxPayouts, gameCategory, jurisdiction, initialGameId, filterSport, onEntryRule, entryFeatureClient, initialSport, initialEventId, initialEventLabel, sportBaseKey, disableQuickPick, renderTeamLogo, renderPropositionSilk, uiVariant, selectionVariant, gameVariant, disableEventSwipe, swipeVariant, enableSportFavourites, yesNoLabels, onEntryPlaced, onBeforeSubmit, entryReference, onCancel, onShare, onRecharge, onClearEventFilter, screenSize, howToPlayMarkdown: howToPlayMarkdownProp, sportDisplayNames, categoryDisplayNames, }: PlaceEntryProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,23 @@ import { Proposition } from '../types';
2
2
  import { BladeTheme } from '../utils/themes';
3
3
  import { SelectionVariant } from '../../shared/selection-variants';
4
4
  import { RenderTeamLogo } from '../../shared/types';
5
+ /**
6
+ * The fixture-first proposition layouts — YESNO's own designs, ported from the
7
+ * demo site and folded into the packaged selector.
8
+ *
9
+ * It draws only the list body. Filters, quick pick, the header and the action
10
+ * bar stay with `SportSelector`, and the propositions arrive already filtered
11
+ * and already grouped, so a variant can never disagree with the default list
12
+ * about what is on offer.
13
+ */
14
+ /** Question type per layout — the reference site's own ramp, not the packaged one. */
15
+ export declare const QUESTION_TYPE: {
16
+ readonly split: "text-[13px] leading-snug";
17
+ readonly compact: "text-[11px] leading-snug";
18
+ readonly shelf: "text-[14px] font-medium leading-snug";
19
+ readonly dense: "text-[16px] font-semibold leading-snug";
20
+ readonly call: "text-[15px] font-semibold leading-relaxed";
21
+ };
5
22
  export interface SelectionVariantListProps {
6
23
  variant: SelectionVariant;
7
24
  /** Already filtered and grouped by `groupPropositionsForDisplay`. */
@@ -18,3 +35,4 @@ export interface SelectionVariantListProps {
18
35
  disableEventSwipe?: boolean;
19
36
  }
20
37
  export declare function SelectionVariantList({ variant, groups, racing, selections, onToggleSelection, atMax, theme, renderTeamLogo, componentById, disableEventSwipe, }: SelectionVariantListProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare const SHELF_ROW_CSS = ".blade-shelf-row{grid-template-columns:minmax(0,1fr) auto}@container (max-width:439px){.blade-shelf-row{grid-template-columns:minmax(0,1fr)}.blade-shelf-row .blade-shelf-answers>div{width:100%}.blade-shelf-row .blade-shelf-answers button{flex:1}}";
@@ -23,7 +23,7 @@ type OptionProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'style'>
23
23
  };
24
24
  /** Every chip, filter, tab and option: teal with light text when chosen, white with a hairline when not. */
25
25
  export declare function ShelfOption({ theme: themeProp, selected, sub, children, disabled, type, style, onMouseEnter, onMouseLeave, onPointerDown, onPointerUp, onFocus, onBlur, ...rest }: OptionProps): import("react/jsx-runtime").JSX.Element;
26
- /** One progress mark per pick: right fills teal, a miss is outlined, still to play is a hairline grey. */
26
+ /** One progress mark per pick: right fills teal, a miss is outlined, still to play is a hairline grey, a miss you can undo is the accent. */
27
27
  export declare function ShelfPips({ theme: themeProp, states, label, style }: {
28
28
  theme?: BladeTheme;
29
29
  states: readonly ShelfPipState[];
@@ -1,6 +1,9 @@
1
+ import { BladeTheme } from '../utils/themes';
1
2
  export interface YesNoMultiLogoProps {
2
3
  /** Wordmark font size in px; the tiles and pipe scale with it. @default 22 */
3
4
  size?: number;
5
+ color?: string;
6
+ theme?: BladeTheme;
4
7
  className?: string;
5
8
  }
6
9
  /**
@@ -8,6 +11,6 @@ export interface YesNoMultiLogoProps {
8
11
  * Drawn in type and shapes from the brand master (62_YESNO_Multi_Horizontal.svg) so it
9
12
  * follows the theme ink. RN twin: src/react-native/components/YesNoMultiLogo.tsx.
10
13
  */
11
- export declare function YesNoMultiLogo({ size, className }: YesNoMultiLogoProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function YesNoMultiLogo({ size, color, theme: themeProp, className }: YesNoMultiLogoProps): import("react/jsx-runtime").JSX.Element;
12
15
  /** The page sign-off every page ends with: the logo, small and quiet, centred under the content. */
13
- export declare function YesNoMultiFooter(): import("react/jsx-runtime").JSX.Element;
16
+ export declare function YesNoMultiFooter({ color, theme }?: Pick<YesNoMultiLogoProps, 'color' | 'theme'>): import("react/jsx-runtime").JSX.Element;
@@ -81,7 +81,8 @@ export declare const PressCard: React.ForwardRefExoticComponent<PressCardProps &
81
81
  export type IconButtonProps = Omit<ButtonProps, 'variant' | 'size' | 'block'> & {
82
82
  'aria-label': string;
83
83
  size?: number;
84
- tone?: 'default' | 'danger';
84
+ tone?: 'default' | 'danger'; /** The glyph alone: no disc or ring; hover recolours it. */
85
+ bare?: boolean;
85
86
  };
86
87
  /**
87
88
  * Icon-only button (back, close, remove, previous / next): a round disc with a
@@ -92,7 +93,8 @@ export type IconButtonProps = Omit<ButtonProps, 'variant' | 'size' | 'block'> &
92
93
  export declare const IconButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "variant" | "size" | "block"> & {
93
94
  'aria-label': string;
94
95
  size?: number;
95
- tone?: "default" | "danger";
96
+ tone?: "default" | "danger"; /** The glyph alone: no disc or ring; hover recolours it. */
97
+ bare?: boolean;
96
98
  } & React.RefAttributes<HTMLButtonElement>>;
97
99
  export interface TextProps {
98
100
  theme: BladeTheme;
@@ -1 +1 @@
1
- export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, useCompositeComponentLookup, } from '../../shared/hooks';
1
+ export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, useStakePayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, useCompositeComponentLookup, } from '../../shared/hooks';