@simple-parlay/components 1.30.6-pre → 1.30.6-pre.10
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 +448 -432
- package/dist/react/components/CallGameCatalogue.d.ts +4 -0
- package/dist/react/components/CallPayoutTable.d.ts +6 -0
- package/dist/react/components/CallTicketBuilder.d.ts +3 -0
- package/dist/react/components/CorrelationChoicesSkeleton.d.ts +4 -0
- package/dist/react/components/CorrelationPricingDebug.d.ts +2 -0
- package/dist/react/components/CorrelationPropPlaceholder.d.ts +13 -0
- package/dist/react/components/DenseGameCatalogue.d.ts +2 -0
- package/dist/react/components/DenseUi.d.ts +30 -0
- package/dist/react/components/EntriesPage.d.ts +0 -4
- package/dist/react/components/EntrySubmission.d.ts +1 -1
- package/dist/react/components/GameModeCard.d.ts +33 -6
- package/dist/react/components/GamePage.d.ts +3 -1
- package/dist/react/components/GameSelector.d.ts +9 -1
- package/dist/react/components/GameSetupPage.d.ts +6 -2
- package/dist/react/components/GameShelfCatalogue.d.ts +2 -0
- package/dist/react/components/GameShowcaseCatalogue.d.ts +9 -0
- package/dist/react/components/GameVariantCatalogue.d.ts +6 -0
- package/dist/react/components/HowToPlayButton.d.ts +3 -1
- package/dist/react/components/MatchRail.d.ts +30 -0
- package/dist/react/components/MultiLegTable.d.ts +3 -1
- package/dist/react/components/PageBackButton.d.ts +8 -0
- package/dist/react/components/PlaceEntryProvider.d.ts +43 -5
- package/dist/react/components/PlaybookChooser.d.ts +7 -0
- package/dist/react/components/PropositionFilters.d.ts +3 -1
- package/dist/react/components/QuickPickButton.d.ts +3 -1
- package/dist/react/components/ScrollShelf.d.ts +5 -1
- package/dist/react/components/SelectionReview.d.ts +1 -1
- package/dist/react/components/SportRail.d.ts +13 -7
- package/dist/react/components/SportSelector.d.ts +16 -3
- package/dist/react/components/_primitives/index.d.ts +7 -1
- package/dist/react/index.cjs +1 -0
- package/dist/react/index.d.ts +36 -17
- package/dist/react/index.mjs +448 -432
- package/dist/react/utils/dom.d.ts +7 -0
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react-native/components/CallGameCatalogue.d.ts +16 -0
- package/dist/react-native/components/CallPayoutTable.d.ts +6 -0
- package/dist/react-native/components/CallTicketBuilder.d.ts +33 -0
- package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
- package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
- package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
- package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
- package/dist/react-native/components/DenseUi.d.ts +59 -0
- package/dist/react-native/components/EntrySubmission.d.ts +1 -1
- package/dist/react-native/components/GameModeCard.d.ts +32 -5
- 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/GameSetupPage.d.ts +5 -14
- package/dist/react-native/components/GameShelfCatalogue.d.ts +7 -0
- package/dist/react-native/components/HowToPlayButton.d.ts +3 -1
- package/dist/react-native/components/LoadingIndicators.d.ts +1 -1
- package/dist/react-native/components/MatchRail.d.ts +36 -0
- package/dist/react-native/components/MultiLegTable.d.ts +3 -1
- package/dist/react-native/components/PageBackButton.d.ts +7 -0
- package/dist/react-native/components/PlaceEntryProvider.d.ts +36 -5
- package/dist/react-native/components/PlaybookChooser.d.ts +7 -0
- package/dist/react-native/components/PropositionFilters.d.ts +3 -1
- package/dist/react-native/components/QuickPickButton.d.ts +3 -1
- package/dist/react-native/components/ScrollShelf.d.ts +8 -1
- package/dist/react-native/components/SelectionReview.d.ts +1 -1
- package/dist/react-native/components/SportRail.d.ts +13 -7
- package/dist/react-native/components/SportSelector.d.ts +8 -3
- package/dist/react-native/components/_primitives/index.d.ts +10 -2
- package/dist/react-native/index.cjs +1 -0
- package/dist/react-native/index.d.ts +36 -17
- package/dist/react-native/index.mjs +438 -437
- package/dist/react-native/utils/index.d.ts +1 -1
- package/dist/shared/api-client.d.ts +4 -3
- package/dist/shared/call-presentation.d.ts +20 -0
- package/dist/shared/correlation-steering.d.ts +49 -0
- package/dist/shared/date-filters.d.ts +5 -4
- package/dist/shared/dense-ui.d.ts +54 -0
- package/dist/shared/game-artwork.d.ts +61 -0
- package/dist/shared/game-flow.d.ts +14 -1
- package/dist/shared/game-icons.d.ts +6 -3
- package/dist/shared/game-library.d.ts +58 -0
- package/dist/shared/game-set-bet.d.ts +0 -1
- package/dist/shared/game-shelf-artwork.d.ts +3 -0
- package/dist/shared/game-shelf-presentation.d.ts +43 -0
- package/dist/shared/game-variants.d.ts +5 -0
- package/dist/shared/hooks.d.ts +8 -8
- 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/menu-placement.d.ts +26 -0
- package/dist/shared/mirror.d.ts +55 -5
- package/dist/shared/picker-brand.d.ts +22 -6
- package/dist/shared/playbook.d.ts +29 -0
- package/dist/shared/selection-actions.d.ts +15 -4
- package/dist/shared/selection-caps.d.ts +68 -0
- package/dist/shared/selection-variants.d.ts +5 -1
- package/dist/shared/swipe-deck.d.ts +1 -1
- package/dist/shared/themes.d.ts +22 -0
- package/dist/shared/types.d.ts +43 -2
- package/dist/shared/ui-system.d.ts +69 -0
- package/dist/shared/ui-variant.d.ts +16 -0
- package/dist/shared/use-call-payouts.d.ts +8 -0
- package/dist/shared/utils.d.ts +18 -7
- package/package.json +7 -8
- 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/PerfectPickPage.d.ts +0 -22
- package/dist/react/components/PickYourDividendPage.d.ts +0 -21
- package/dist/react/components/RuleSetupPage.d.ts +0 -27
- package/dist/react/components/SafetyNetPage.d.ts +0 -16
- package/dist/react/components/SixAgainPage.d.ts +0 -16
- package/dist/react/index.js +0 -1
- package/dist/react/utils/design.d.ts +0 -55
- 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/PerfectPickPage.d.ts +0 -20
- package/dist/react-native/components/PickYourDividendPage.d.ts +0 -19
- package/dist/react-native/components/RuleSetupPage.d.ts +0 -23
- package/dist/react-native/components/SafetyNetPage.d.ts +0 -14
- package/dist/react-native/components/SixAgainPage.d.ts +0 -14
- package/dist/react-native/index.js +0 -1
|
@@ -12,6 +12,8 @@ export { GameEntries } from './components/GameEntries';
|
|
|
12
12
|
export { QuickPickButton } from './components/QuickPickButton';
|
|
13
13
|
export type { QuickPickButtonProps } from './components/QuickPickButton';
|
|
14
14
|
export { PlaceEntryProvider, usePlaceEntry } from './components/PlaceEntryProvider';
|
|
15
|
+
export { useYesNoLabels } from './components/_primitives';
|
|
16
|
+
export type { YesNoLabels } from '../shared/utils';
|
|
15
17
|
export type { PlaceEntryProviderProps, PlaceEntryContextValue } from './components/PlaceEntryProvider';
|
|
16
18
|
export { GamePage, GamePageTitle, GamePageActions } from './components/GamePage';
|
|
17
19
|
export type { GamePageProps } from './components/GamePage';
|
|
@@ -43,46 +45,31 @@ export { SportPickerPage, SportPickerPageTitle, SportPickerPageActions } from '.
|
|
|
43
45
|
export type { SportPickerPageProps } from './components/SportPickerPage';
|
|
44
46
|
export { CategoryPickerPage, CategoryPickerPageTitle, CategoryPickerPageActions } from './components/CategoryPickerPage';
|
|
45
47
|
export type { CategoryPickerPageProps } from './components/CategoryPickerPage';
|
|
46
|
-
export { RuleSetupPage, RuleSetupPageTitle, RuleSetupPageActions } from './components/RuleSetupPage';
|
|
47
|
-
export type { RuleSetupPageProps } from './components/RuleSetupPage';
|
|
48
48
|
export { getRuleSetupConfig, gameNeedsRuleSetup, roundDividendAmount, } from '../shared/rule-setup';
|
|
49
49
|
export type { RuleSetupConfig, RuleSetupMode, RuleSetupOption, } from '../shared/rule-setup';
|
|
50
50
|
export { EventPickerPage } from './components/EventPickerPage';
|
|
51
51
|
export type { EventPickerPageProps } from './components/EventPickerPage';
|
|
52
|
-
export { GameSetBetPage, GameSetBetPageTitle } from './components/GameSetBetPage';
|
|
53
|
-
export type { GameSetBetPageProps } from './components/GameSetBetPage';
|
|
54
52
|
export { getGameSetBetConfig, gameSetPrize, isGameSetBetGame, } from '../shared/game-set-bet';
|
|
55
53
|
export type { GameSetBetConfig, GameSetBetPrize, } from '../shared/game-set-bet';
|
|
56
|
-
export { PickYourDividendPage, PickYourDividendPageTitle } from './components/PickYourDividendPage';
|
|
57
|
-
export type { PickYourDividendPageProps } from './components/PickYourDividendPage';
|
|
58
54
|
export { getPickYourDividendConfig, isPickYourDividendGame, pydLadder, pydRung, PYD_RETAIL_DIVIDENDS, PYD_LEG_RUNGS, } from '../shared/pick-your-dividend';
|
|
59
55
|
export type { PickYourDividendConfig, PydDividendGame, PydRung, } from '../shared/pick-your-dividend';
|
|
60
|
-
export { LadderPage, LadderPageTitle } from './components/LadderPage';
|
|
61
|
-
export type { LadderPageProps } from './components/LadderPage';
|
|
62
56
|
export { getLadderConfig, isLadderGame, ladderTiers, ladderCollectAt, fullStackPrize, LADDER_FAMILY, LADDER_STAKES, LADDER_REFERENCE_BET, } from '../shared/ladder';
|
|
63
57
|
export type { LadderConfig, LadderDef, LadderTier, } from '../shared/ladder';
|
|
64
|
-
export { MirrorPage, MirrorPageTitle } from './components/MirrorPage';
|
|
65
|
-
export type { MirrorPageProps } from './components/MirrorPage';
|
|
66
58
|
export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
|
|
67
59
|
export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
|
|
68
|
-
export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
|
|
69
|
-
export type { SafetyNetPageProps } from './components/SafetyNetPage';
|
|
70
60
|
export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
|
|
71
61
|
export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
|
|
72
|
-
export { SixAgainPage, SixAgainPageTitle } from './components/SixAgainPage';
|
|
73
|
-
export type { SixAgainPageProps } from './components/SixAgainPage';
|
|
74
62
|
export { getSixAgainConfig, isSixAgainGame, sixAgainTicket, sixAgainRuleId, sixAgainStakeMultiples, NO_BOOSTS, SIX_AGAIN_MARGIN, SIX_AGAIN_LEGS, CHALLENGE_MULTIPLE, CHALLENGE_MISSES, GOLDEN_POINT_FACTOR, } from '../shared/six-again';
|
|
75
63
|
export type { SixAgainConfig, SixAgainTicket, SixAgainBoost, SixAgainBoostId, SixAgainBoosts, } from '../shared/six-again';
|
|
76
64
|
export { getGameFlow, getConfirmBoostCopy, isFixedCardExactGame, isOpenExactMultiGame } from '../shared/game-flow';
|
|
77
65
|
export { GAME_TIER_LEVEL, GAME_TIER_TABS, resolveGameTierLevel, filterGamesByTierLevel, availableGameTierTabs, defaultGameTierId, } from '../shared/game-tiers';
|
|
78
66
|
export type { GameTierId } from '../shared/game-tiers';
|
|
67
|
+
export type { GameCategory } from '../shared/types';
|
|
79
68
|
export type { GameFlow, ConfirmBoostCopy } from '../shared/game-flow';
|
|
80
69
|
export { filterPropositionsToEvent, formatSameGameMultiEventLabel, getPropositionEventId, groupSameGameMultiEvents, isSameGameMultiGame, isSelectableSameGameMultiProposition, propositionsBelongToEvent, } from '../shared/same-game-multi';
|
|
81
70
|
export type { SameGameMultiEvent } from '../shared/same-game-multi';
|
|
82
|
-
export { GameSetupPage } from './components/GameSetupPage';
|
|
71
|
+
export { GameSetupPage, GameSetupPageTitle } from './components/GameSetupPage';
|
|
83
72
|
export type { GameSetupPageProps } from './components/GameSetupPage';
|
|
84
|
-
export { PerfectPickPage, PerfectPickPageTitle } from './components/PerfectPickPage';
|
|
85
|
-
export type { PerfectPickPageProps } from './components/PerfectPickPage';
|
|
86
73
|
export { BrandLockup } from './components/BrandLockup';
|
|
87
74
|
export type { BrandLockupProps } from './components/BrandLockup';
|
|
88
75
|
export { GameLogo } from './components/GameLogo';
|
|
@@ -96,3 +83,35 @@ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, ComingSoo
|
|
|
96
83
|
export { getTheme, getThemeSet, useResolvedTheme, resolveTheme, isThemeSet, themes, themeSets, defaultTheme, greenTheme, greenLightTheme, darkTheme, goldTheme, goldLightTheme, defaultThemeSet, greenThemeSet, goldThemeSet, themeHeading, themeLabel, themeValue, themeAccent, themeTextAlt, themeTextAltMuted, themeBodyFont, themeHeadingFont, } from './utils/themes';
|
|
97
84
|
export type { BladeTheme, BladeThemeSet, ColorScheme } from './utils/themes';
|
|
98
85
|
export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, } from './hooks';
|
|
86
|
+
export { UI_VARIANTS } from '../shared/ui-variant';
|
|
87
|
+
export type { UiVariant } from '../shared/ui-variant';
|
|
88
|
+
export { isDenseUiVariant, uiVariantTheme, parseUiVariant, UI_VARIANT_LABELS } from '../shared/ui-variant';
|
|
89
|
+
export type { DenseUiVariant } from '../shared/ui-variant';
|
|
90
|
+
export { CorrelationChoicesSkeleton } from './components/CorrelationChoicesSkeleton';
|
|
91
|
+
export { CorrelationPricingDebug } from './components/CorrelationPricingDebug';
|
|
92
|
+
export { CorrelationPropPlaceholder } from './components/CorrelationPropPlaceholder';
|
|
93
|
+
export { useCorrelationSteering, usesCorrelationPricing, correlationDebugText } from '../shared/correlation-steering';
|
|
94
|
+
export type { CorrelationQuote, CorrelationRequest, CorrelationSuggestions } from '../shared/correlation-steering';
|
|
95
|
+
export { BASE_GAME_IDS } from '../shared/game-library';
|
|
96
|
+
export type GameLibrary = import('../shared/game-library').GameLibrary<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
|
|
97
|
+
export type GameDefinition = import('../shared/game-library').GameDefinition<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
|
|
98
|
+
export { IconSvg } from './components/IconSvg';
|
|
99
|
+
export type { IconSvgProps } from './components/IconSvg';
|
|
100
|
+
export { PlaceEntryContext } from './components/PlaceEntryProvider';
|
|
101
|
+
export { YesNoLabelsProvider, Entrance, hoverHandlers } from './components/_primitives';
|
|
102
|
+
export { UiVariantContext, useUiVariant } from '../shared/ui-variant';
|
|
103
|
+
export type { GameSetupProps, GameSetupFrameProps, GameSetupNav, GameSetupTicket } from '../shared/game-library';
|
|
104
|
+
export { GameModeCard, GamePageHeader, GameSportRow, BrandChipTile, BrandTile, useBrandTileColors, KitCard, PlayModeCards, LegPips, OptionStrip, optionStripItemStyle, hexA } from './components/GameModeCard';
|
|
105
|
+
export { PageBackLink, PageHeader, PageTitleBackRow } from './components/PageBackButton';
|
|
106
|
+
export { CallTicketBuilder } from './components/CallTicketBuilder';
|
|
107
|
+
export { accentOnSurface, themeSelectionCard } from './utils/themes';
|
|
108
|
+
export { roundQuotedPayout } from '../shared/game-flow';
|
|
109
|
+
export { MIRROR_TICK, MIRROR_CROSS, mirrorPrizeRows, mirrorSuitePrize, mirrorVariantGames, collapseMirrorSet } from '../shared/mirror';
|
|
110
|
+
export { GAME_ICON_SVG, GAME_ICON_SCHEME, resolveGameIconId, resolveGameIconUrl, resolveGameIconMarkup, isGameIconUrl } from '../shared/game-icons';
|
|
111
|
+
export type { GameIconId } from '../shared/game-icons';
|
|
112
|
+
export { gameShelfArtwork, categoryShelfArtwork } from '../shared/game-shelf-artwork';
|
|
113
|
+
export { findCategoryGamePreset, mergeGameArtwork, BASE_GAME_ARTWORK, GameArtworkContext, useGameArtwork } from '../shared/game-artwork';
|
|
114
|
+
export type { CategoryGamePreset, GameSuiteCategory, GameArtwork } from '../shared/game-artwork';
|
|
115
|
+
export { resolveShelfArtwork, previewCopy, shelfGameName } from '../shared/game-shelf-presentation';
|
|
116
|
+
export { GAME_VARIANTS, GAME_VARIANT_LABELS, parseGameVariant } from '../shared/game-variants';
|
|
117
|
+
export type { GameVariant } from '../shared/game-variants';
|