@simple-parlay/components 1.30.6-pre.6 → 1.30.6-pre.8

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 (80) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.mjs +447 -419
  4. package/dist/react/components/CallGameCatalogue.d.ts +4 -0
  5. package/dist/react/components/CallPayoutTable.d.ts +6 -0
  6. package/dist/react/components/CallTicketBuilder.d.ts +3 -0
  7. package/dist/react/components/CorrelationChoicesSkeleton.d.ts +4 -0
  8. package/dist/react/components/CorrelationPricingDebug.d.ts +2 -0
  9. package/dist/react/components/CorrelationPropPlaceholder.d.ts +8 -0
  10. package/dist/react/components/DenseGameCatalogue.d.ts +2 -0
  11. package/dist/react/components/DenseUi.d.ts +29 -0
  12. package/dist/react/components/GamePage.d.ts +4 -2
  13. package/dist/react/components/GameSelector.d.ts +9 -1
  14. package/dist/react/components/GameSetupPage.d.ts +1 -1
  15. package/dist/react/components/GameShelfCatalogue.d.ts +8 -0
  16. package/dist/react/components/GameVariantCatalogue.d.ts +6 -0
  17. package/dist/react/components/HowToPlayButton.d.ts +3 -1
  18. package/dist/react/components/PlaceEntryProvider.d.ts +38 -5
  19. package/dist/react/components/PlaybookChooser.d.ts +7 -0
  20. package/dist/react/components/SafetyNetPage.d.ts +4 -1
  21. package/dist/react/components/_primitives/index.d.ts +3 -1
  22. package/dist/react/index.cjs +1 -0
  23. package/dist/react/index.d.ts +33 -10
  24. package/dist/react/index.mjs +447 -419
  25. package/dist/react-native/components/CallGameCatalogue.d.ts +16 -0
  26. package/dist/react-native/components/CallPayoutTable.d.ts +6 -0
  27. package/dist/react-native/components/CallTicketBuilder.d.ts +31 -0
  28. package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
  29. package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
  30. package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
  31. package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
  32. package/dist/react-native/components/DenseUi.d.ts +58 -0
  33. package/dist/react-native/components/GamePage.d.ts +5 -2
  34. package/dist/react-native/components/GameSelector.d.ts +9 -1
  35. package/dist/react-native/components/GameSetupPage.d.ts +1 -1
  36. package/dist/react-native/components/GameShelfCatalogue.d.ts +7 -0
  37. package/dist/react-native/components/HowToPlayButton.d.ts +3 -1
  38. package/dist/react-native/components/PlaceEntryProvider.d.ts +31 -5
  39. package/dist/react-native/components/PlaybookChooser.d.ts +7 -0
  40. package/dist/react-native/components/SafetyNetPage.d.ts +4 -1
  41. package/dist/react-native/components/_primitives/index.d.ts +3 -1
  42. package/dist/react-native/index.cjs +1 -0
  43. package/dist/react-native/index.d.ts +33 -10
  44. package/dist/react-native/index.mjs +474 -445
  45. package/dist/shared/api-client.d.ts +4 -3
  46. package/dist/shared/call-presentation.d.ts +20 -0
  47. package/dist/shared/correlation-steering.d.ts +43 -0
  48. package/dist/shared/dense-ui.d.ts +54 -0
  49. package/dist/shared/game-artwork.d.ts +41 -0
  50. package/dist/shared/game-icons.d.ts +6 -3
  51. package/dist/shared/game-library.d.ts +34 -0
  52. package/dist/shared/game-shelf-artwork.d.ts +3 -0
  53. package/dist/shared/game-shelf-presentation.d.ts +42 -0
  54. package/dist/shared/game-variants.d.ts +5 -0
  55. package/dist/shared/hooks.d.ts +7 -7
  56. package/dist/shared/how-to-play-html.d.ts +1 -1
  57. package/dist/shared/how-to-play-logo.d.ts +1 -1
  58. package/dist/shared/playbook.d.ts +29 -0
  59. package/dist/shared/selection-caps.d.ts +15 -3
  60. package/dist/shared/selection-variants.d.ts +3 -1
  61. package/dist/shared/themes.d.ts +20 -0
  62. package/dist/shared/types.d.ts +17 -2
  63. package/dist/shared/ui-variant.d.ts +14 -0
  64. package/dist/shared/use-call-payouts.d.ts +8 -0
  65. package/dist/shared/utils.d.ts +4 -4
  66. package/package.json +7 -8
  67. package/dist/index.js +0 -1
  68. package/dist/react/components/GameSetBetPage.d.ts +0 -21
  69. package/dist/react/components/LadderPage.d.ts +0 -21
  70. package/dist/react/components/MirrorPage.d.ts +0 -21
  71. package/dist/react/components/PickYourDividendPage.d.ts +0 -21
  72. package/dist/react/components/SixAgainPage.d.ts +0 -16
  73. package/dist/react/index.js +0 -1
  74. package/dist/react/utils/design.d.ts +0 -55
  75. package/dist/react-native/components/GameSetBetPage.d.ts +0 -19
  76. package/dist/react-native/components/LadderPage.d.ts +0 -19
  77. package/dist/react-native/components/MirrorPage.d.ts +0 -19
  78. package/dist/react-native/components/PickYourDividendPage.d.ts +0 -19
  79. package/dist/react-native/components/SixAgainPage.d.ts +0 -14
  80. package/dist/react-native/index.js +0 -1
@@ -53,34 +53,25 @@ export { RuleSetupPage, RuleSetupPageTitle, RuleSetupPageActions } from './compo
53
53
  export type { RuleSetupPageProps } from './components/RuleSetupPage';
54
54
  export { getRuleSetupConfig, gameNeedsRuleSetup, roundDividendAmount, } from '../shared/rule-setup';
55
55
  export type { RuleSetupConfig, RuleSetupMode, RuleSetupOption, } from '../shared/rule-setup';
56
- export { GameSetBetPage, GameSetBetPageTitle } from './components/GameSetBetPage';
57
- export type { GameSetBetPageProps } from './components/GameSetBetPage';
58
56
  export { getGameSetBetConfig, gameSetPrize, isGameSetBetGame, } from '../shared/game-set-bet';
59
57
  export type { GameSetBetConfig, GameSetBetPrize, } from '../shared/game-set-bet';
60
- export { PickYourDividendPage, PickYourDividendPageTitle } from './components/PickYourDividendPage';
61
- export type { PickYourDividendPageProps } from './components/PickYourDividendPage';
62
58
  export { getPickYourDividendConfig, isPickYourDividendGame, pydLadder, pydRung, PYD_RETAIL_DIVIDENDS, PYD_LEG_RUNGS, } from '../shared/pick-your-dividend';
63
59
  export type { PickYourDividendConfig, PydDividendGame, PydRung, } from '../shared/pick-your-dividend';
64
- export { LadderPage, LadderPageTitle } from './components/LadderPage';
65
- export type { LadderPageProps } from './components/LadderPage';
66
60
  export { getLadderConfig, isLadderGame, ladderTiers, ladderCollectAt, fullStackPrize, LADDER_FAMILY, LADDER_STAKES, LADDER_REFERENCE_BET, } from '../shared/ladder';
67
61
  export type { LadderConfig, LadderDef, LadderTier, } from '../shared/ladder';
68
- export { MirrorPage, MirrorPageTitle } from './components/MirrorPage';
69
- export type { MirrorPageProps } from './components/MirrorPage';
70
62
  export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
71
63
  export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
72
64
  export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
73
65
  export type { SafetyNetPageProps } from './components/SafetyNetPage';
74
66
  export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
75
67
  export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
76
- export { SixAgainPage, SixAgainPageTitle } from './components/SixAgainPage';
77
- export type { SixAgainPageProps } from './components/SixAgainPage';
78
68
  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';
79
69
  export type { SixAgainConfig, SixAgainTicket, SixAgainBoost, SixAgainBoostId, SixAgainBoosts, } from '../shared/six-again';
80
70
  export { getGameFlow, getConfirmBoostCopy, isFixedCardExactGame, isOpenExactMultiGame } from '../shared/game-flow';
81
71
  export type { GameFlow, ConfirmBoostCopy } from '../shared/game-flow';
82
72
  export { GAME_TIER_LEVEL, GAME_TIER_TABS, resolveGameTierLevel, filterGamesByTierLevel, availableGameTierTabs, defaultGameTierId, } from '../shared/game-tiers';
83
73
  export type { GameTierId } from '../shared/game-tiers';
74
+ export type { GameCategory } from '../shared/types';
84
75
  export { filterPropositionsToEvent, formatSameGameMultiEventLabel, getPropositionEventId, groupSameGameMultiEvents, isSameGameMultiGame, isSelectableSameGameMultiProposition, propositionsBelongToEvent, } from '../shared/same-game-multi';
85
76
  export type { SameGameMultiEvent } from '../shared/same-game-multi';
86
77
  export { GameSetupPage } from './components/GameSetupPage';
@@ -100,3 +91,35 @@ export type { SportDisplayNameOverrides, CategoryDisplayNameOverrides, ComingSoo
100
91
  export { getTheme, getThemeSet, applyTheme, useBladeTheme, 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';
101
92
  export type { BladeTheme, BladeThemeSet, ColorScheme } from './utils/themes';
102
93
  export { useGames, usePropositions, useSports, useGameEntries, useCreateGameEntry, useGameMaxPayouts, usePlaceEntryFlow, useEvaluateRule, useCalculatePayout, useEntryPreview, } from './hooks';
94
+ export { UI_VARIANTS } from '../shared/ui-variant';
95
+ export type { UiVariant } from '../shared/ui-variant';
96
+ export { isDenseUiVariant, uiVariantTheme, parseUiVariant, UI_VARIANT_LABELS } from '../shared/ui-variant';
97
+ export type { DenseUiVariant } from '../shared/ui-variant';
98
+ export { CorrelationChoicesSkeleton } from './components/CorrelationChoicesSkeleton';
99
+ export { CorrelationPricingDebug } from './components/CorrelationPricingDebug';
100
+ export { CorrelationPropPlaceholder } from './components/CorrelationPropPlaceholder';
101
+ export { useCorrelationSteering, usesCorrelationPricing, correlationDebugText } from '../shared/correlation-steering';
102
+ export type { CorrelationQuote, CorrelationRequest, CorrelationSuggestions } from '../shared/correlation-steering';
103
+ export { BASE_GAME_IDS } from '../shared/game-library';
104
+ export type GameLibrary = import('../shared/game-library').GameLibrary<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
105
+ export type GameDefinition = import('../shared/game-library').GameDefinition<import('./components/PlaceEntryProvider').PlaceEntryContextValue>;
106
+ export { IconSvg } from './components/IconSvg';
107
+ export type { IconSvgProps } from './components/IconSvg';
108
+ export { GAME_VARIANTS, GAME_VARIANT_LABELS, parseGameVariant } from '../shared/game-variants';
109
+ export type { GameVariant } from '../shared/game-variants';
110
+ export { PlaceEntryContext } from './components/PlaceEntryProvider';
111
+ export { YesNoLabelsProvider } from './components/_primitives';
112
+ export { UiVariantContext, useUiVariant } from '../shared/ui-variant';
113
+ export type { GameSetupProps } from '../shared/game-library';
114
+ export { GameModeCard, GameModeKitStyles, GamePageHeader, GameSportRow, BrandChipTile, LegPips, OptionStrip, OPTION_STRIP_ITEM, hexA } from './components/GameModeCard';
115
+ export { PageBackLink, PageTitleBackRow } from './components/PageBackButton';
116
+ export { CallTicketBuilder } from './components/CallTicketBuilder';
117
+ export { accentOnSurface, themeSelectionCard } from './utils/themes';
118
+ export { roundQuotedPayout } from '../shared/game-flow';
119
+ export { MIRROR_TICK, MIRROR_CROSS, mirrorPrizeRows, mirrorSuitePrize, mirrorVariantGames, collapseMirrorSet } from '../shared/mirror';
120
+ export { GAME_ICON_SVG, GAME_ICON_SCHEME, resolveGameIconId, resolveGameIconUrl, resolveGameIconMarkup, isGameIconUrl } from '../shared/game-icons';
121
+ export type { GameIconId } from '../shared/game-icons';
122
+ export { gameShelfArtwork, categoryShelfArtwork } from '../shared/game-shelf-artwork';
123
+ export { findCategoryGamePreset, mergeGameArtwork, BASE_GAME_ARTWORK, GameArtworkContext, useGameArtwork } from '../shared/game-artwork';
124
+ export type { CategoryGamePreset, GameSuiteCategory, GameArtwork } from '../shared/game-artwork';
125
+ export { resolveShelfArtwork, previewCopy, shelfGameName } from '../shared/game-shelf-presentation';