@simple-parlay/components 1.30.6-pre.8 → 2.0.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 (116) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.mjs +653 -485
  4. package/dist/react/components/CallPayoutTable.d.ts +7 -1
  5. package/dist/react/components/CorrelationPropPlaceholder.d.ts +6 -1
  6. package/dist/react/components/DenseUi.d.ts +1 -0
  7. package/dist/react/components/EntriesPage.d.ts +0 -4
  8. package/dist/react/components/EntrySubmission.d.ts +1 -1
  9. package/dist/react/components/EventSwipeModal.d.ts +4 -0
  10. package/dist/react/components/GameCardParts.d.ts +28 -0
  11. package/dist/react/components/GameModeCard.d.ts +37 -6
  12. package/dist/react/components/GamePage.d.ts +4 -2
  13. package/dist/react/components/GameSelector.d.ts +1 -27
  14. package/dist/react/components/GameSetupPage.d.ts +5 -1
  15. package/dist/react/components/GameShelfCatalogue.d.ts +1 -7
  16. package/dist/react/components/GameShowcaseCatalogue.d.ts +11 -0
  17. package/dist/react/components/GameSkeletons.d.ts +24 -0
  18. package/dist/react/components/HowToPlayButton.d.ts +2 -1
  19. package/dist/react/components/LoadingIndicators.d.ts +27 -10
  20. package/dist/react/components/MatchRail.d.ts +52 -0
  21. package/dist/react/components/MatchTopBar.d.ts +19 -0
  22. package/dist/react/components/MultiLegTable.d.ts +3 -1
  23. package/dist/react/components/PageBackButton.d.ts +35 -6
  24. package/dist/react/components/PageSkeletons.d.ts +24 -0
  25. package/dist/react/components/PickGroupSection.d.ts +37 -0
  26. package/dist/react/components/PickerBrand.d.ts +0 -5
  27. package/dist/react/components/PicksSkeletons.d.ts +30 -0
  28. package/dist/react/components/PlaceEntryProvider.d.ts +37 -4
  29. package/dist/react/components/PropositionFilters.d.ts +0 -1
  30. package/dist/react/components/PropositionParts.d.ts +38 -0
  31. package/dist/react/components/QuickPickButton.d.ts +27 -1
  32. package/dist/react/components/QuickPickMenu.d.ts +19 -1
  33. package/dist/react/components/SelectionsPage.d.ts +8 -4
  34. package/dist/react/components/ShelfKit.d.ts +43 -0
  35. package/dist/react/components/SportRail.d.ts +1 -1
  36. package/dist/react/components/SportSelector.d.ts +1 -36
  37. package/dist/react/components/SuccessPage.d.ts +7 -3
  38. package/dist/react/components/SwipeDeck.d.ts +32 -3
  39. package/dist/react/components/YesNoMultiLogo.d.ts +13 -0
  40. package/dist/react/components/_primitives/index.d.ts +57 -12
  41. package/dist/react/index.cjs +1 -1
  42. package/dist/react/index.d.ts +15 -13
  43. package/dist/react/index.mjs +653 -485
  44. package/dist/react/utils/dom.d.ts +7 -0
  45. package/dist/react/utils/themes.d.ts +1 -1
  46. package/dist/react-native/components/CallGameCatalogue.d.ts +1 -0
  47. package/dist/react-native/components/CallPayoutTable.d.ts +7 -1
  48. package/dist/react-native/components/CallTicketBuilder.d.ts +2 -0
  49. package/dist/react-native/components/DenseUi.d.ts +4 -10
  50. package/dist/react-native/components/EntrySubmission.d.ts +1 -1
  51. package/dist/react-native/components/EventSwipeModal.d.ts +5 -0
  52. package/dist/react-native/components/GameCardParts.d.ts +29 -0
  53. package/dist/react-native/components/GameModeCard.d.ts +34 -5
  54. package/dist/react-native/components/GamePage.d.ts +3 -1
  55. package/dist/react-native/components/GameSelector.d.ts +1 -28
  56. package/dist/react-native/components/GameSetupPage.d.ts +4 -13
  57. package/dist/react-native/components/GameShelfCatalogue.d.ts +1 -6
  58. package/dist/react-native/components/GameSkeletons.d.ts +23 -0
  59. package/dist/react-native/components/HowToPlayButton.d.ts +2 -1
  60. package/dist/react-native/components/LoadingIndicators.d.ts +22 -10
  61. package/dist/react-native/components/MatchRail.d.ts +57 -0
  62. package/dist/react-native/components/MatchTopBar.d.ts +17 -0
  63. package/dist/react-native/components/MultiLegTable.d.ts +3 -1
  64. package/dist/react-native/components/PageBackButton.d.ts +32 -9
  65. package/dist/react-native/components/PageSkeletons.d.ts +23 -0
  66. package/dist/react-native/components/PickGroupSection.d.ts +37 -0
  67. package/dist/react-native/components/PickerBrand.d.ts +0 -4
  68. package/dist/react-native/components/PicksSkeletons.d.ts +31 -0
  69. package/dist/react-native/components/PlaceEntryProvider.d.ts +37 -4
  70. package/dist/react-native/components/PropositionFilters.d.ts +0 -1
  71. package/dist/react-native/components/PropositionParts.d.ts +35 -0
  72. package/dist/react-native/components/QuickPickButton.d.ts +27 -1
  73. package/dist/react-native/components/QuickPickMenu.d.ts +20 -1
  74. package/dist/react-native/components/SelectionsPage.d.ts +7 -4
  75. package/dist/react-native/components/ShelfKit.d.ts +62 -0
  76. package/dist/react-native/components/SportRail.d.ts +1 -1
  77. package/dist/react-native/components/SportSelector.d.ts +1 -33
  78. package/dist/react-native/components/SuccessPage.d.ts +7 -3
  79. package/dist/react-native/components/SwipeDeck.d.ts +43 -3
  80. package/dist/react-native/components/YesNoMultiLogo.d.ts +12 -0
  81. package/dist/react-native/components/_primitives/index.d.ts +92 -10
  82. package/dist/react-native/index.cjs +1 -1
  83. package/dist/react-native/index.d.ts +14 -12
  84. package/dist/react-native/index.mjs +559 -474
  85. package/dist/react-native/utils/themes.d.ts +1 -1
  86. package/dist/shared/button-ui.d.ts +65 -0
  87. package/dist/shared/call-presentation.d.ts +9 -1
  88. package/dist/shared/canvas.d.ts +14 -0
  89. package/dist/shared/correlation-steering.d.ts +14 -1
  90. package/dist/shared/date-filters.d.ts +0 -23
  91. package/dist/shared/dense-ui.d.ts +0 -1
  92. package/dist/shared/entry-progress.d.ts +38 -0
  93. package/dist/shared/game-artwork.d.ts +22 -0
  94. package/dist/shared/game-flow.d.ts +22 -0
  95. package/dist/shared/game-icons.d.ts +2 -1
  96. package/dist/shared/game-library.d.ts +30 -6
  97. package/dist/shared/game-shelf-presentation.d.ts +36 -1
  98. package/dist/shared/game-variants.d.ts +1 -1
  99. package/dist/shared/hooks.d.ts +1 -1
  100. package/dist/shared/selection-actions.d.ts +70 -4
  101. package/dist/shared/selection-caps.d.ts +67 -10
  102. package/dist/shared/selection-variants.d.ts +7 -0
  103. package/dist/shared/shelf-covers.d.ts +92 -0
  104. package/dist/shared/shelf-ui.d.ts +47 -0
  105. package/dist/shared/swipe-deck.d.ts +10 -0
  106. package/dist/shared/themes.d.ts +53 -10
  107. package/dist/shared/tokens.d.ts +7 -0
  108. package/dist/shared/types.d.ts +21 -4
  109. package/dist/shared/ui-system.d.ts +71 -0
  110. package/dist/shared/ui-variant.d.ts +5 -3
  111. package/dist/shared/utils.d.ts +4 -1
  112. package/package.json +1 -1
  113. package/dist/react/components/PerfectPickPage.d.ts +0 -22
  114. package/dist/react/components/RuleSetupPage.d.ts +0 -27
  115. package/dist/react-native/components/PerfectPickPage.d.ts +0 -20
  116. package/dist/react-native/components/RuleSetupPage.d.ts +0 -23
@@ -21,7 +21,7 @@ export { GamePage, GamePageTitle, GamePageActions } from './components/GamePage'
21
21
  export type { GamePageProps } from './components/GamePage';
22
22
  export { EventFilterBanner } from './components/EventFilterBanner';
23
23
  export type { EventFilterBannerProps } from './components/EventFilterBanner';
24
- export { SelectionsPage, SelectionsPageTitle, SelectionsPageActions } from './components/SelectionsPage';
24
+ export { SelectionsPage, SelectionsPageTitle, SelectionsPageActions, SelectionUndoSnackbar } from './components/SelectionsPage';
25
25
  export type { SelectionsPageProps, SelectionsView } from './components/SelectionsPage';
26
26
  export { SelectionVariantList } from './components/SelectionVariantList';
27
27
  export type { SelectionVariantListProps } from './components/SelectionVariantList';
@@ -32,7 +32,7 @@ export type { SelectionVariant, SelectionDay, SelectionEvent } from '../shared/s
32
32
  export { SwipeDeck, SwipeCard, SwipeCardFace } from './components/SwipeDeck';
33
33
  export type { SwipeDeckProps, SwipeCardProps, SwipeCardFaceProps, SwipeCardApi, FlyDirection, } from './components/SwipeDeck';
34
34
  export { useSwipeDeck, VISIBLE_DEPTH } from '../shared/swipe-deck';
35
- export type { SwipeDeckState } from '../shared/swipe-deck';
35
+ export type { SwipeDeckState, SwipeVariant } from '../shared/swipe-deck';
36
36
  export { ConfirmPage, ConfirmPageTitle, ConfirmPageActions } from './components/ConfirmPage';
37
37
  export type { ConfirmPageProps } from './components/ConfirmPage';
38
38
  export { SuccessPage, SuccessPageTitle, SuccessPageActions } from './components/SuccessPage';
@@ -49,8 +49,6 @@ export { EventPickerPage } from './components/EventPickerPage';
49
49
  export type { EventPickerPageProps } from './components/EventPickerPage';
50
50
  export { CategoryPickerPage, CategoryPickerPageTitle, CategoryPickerPageActions } from './components/CategoryPickerPage';
51
51
  export type { CategoryPickerPageProps } from './components/CategoryPickerPage';
52
- export { RuleSetupPage, RuleSetupPageTitle, RuleSetupPageActions } from './components/RuleSetupPage';
53
- export type { RuleSetupPageProps } from './components/RuleSetupPage';
54
52
  export { getRuleSetupConfig, gameNeedsRuleSetup, roundDividendAmount, } from '../shared/rule-setup';
55
53
  export type { RuleSetupConfig, RuleSetupMode, RuleSetupOption, } from '../shared/rule-setup';
56
54
  export { getGameSetBetConfig, gameSetPrize, isGameSetBetGame, } from '../shared/game-set-bet';
@@ -61,8 +59,6 @@ export { getLadderConfig, isLadderGame, ladderTiers, ladderCollectAt, fullStackP
61
59
  export type { LadderConfig, LadderDef, LadderTier, } from '../shared/ladder';
62
60
  export { getMirrorConfig, mirrorPrize, isMirrorGame, MIRROR_STANDARD_MARGIN, } from '../shared/mirror';
63
61
  export type { MirrorConfig, MirrorPrize, } from '../shared/mirror';
64
- export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
65
- export type { SafetyNetPageProps } from './components/SafetyNetPage';
66
62
  export { getSafetyNetConfig, getSafetyNetPricing, isSafetyNetGame, safetyNetTicket, safetyNetCollect, EXTRA_SHOT_MIN_LEGS, DOUBLE_SHOT_MIN_LEGS, } from '../shared/safety-net';
67
63
  export type { SafetyNetConfig, SafetyNetMode, SafetyNetModeId, SafetyNetPricing, SafetyNetTicket, } from '../shared/safety-net';
68
64
  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';
@@ -74,11 +70,13 @@ export type { GameTierId } from '../shared/game-tiers';
74
70
  export type { GameCategory } from '../shared/types';
75
71
  export { filterPropositionsToEvent, formatSameGameMultiEventLabel, getPropositionEventId, groupSameGameMultiEvents, isSameGameMultiGame, isSelectableSameGameMultiProposition, propositionsBelongToEvent, } from '../shared/same-game-multi';
76
72
  export type { SameGameMultiEvent } from '../shared/same-game-multi';
77
- export { GameSetupPage } from './components/GameSetupPage';
73
+ export { GameSetupPage, GameSetupPageTitle } from './components/GameSetupPage';
78
74
  export type { GameSetupPageProps } from './components/GameSetupPage';
79
- export { PerfectPickPage, PerfectPickPageTitle } from './components/PerfectPickPage';
80
- export type { PerfectPickPageProps } from './components/PerfectPickPage';
75
+ export { SafetyNetPage, SafetyNetPageTitle } from './components/SafetyNetPage';
76
+ export type { SafetyNetPageProps } from './components/SafetyNetPage';
81
77
  export { BrandLockup } from './components/BrandLockup';
78
+ export { YesNoMultiLogo, YesNoMultiFooter } from './components/YesNoMultiLogo';
79
+ export type { YesNoMultiLogoProps } from './components/YesNoMultiLogo';
82
80
  export type { BrandLockupProps } from './components/BrandLockup';
83
81
  export { GameLogo } from './components/GameLogo';
84
82
  export type { GameLogoProps } from './components/GameLogo';
@@ -107,12 +105,16 @@ export { IconSvg } from './components/IconSvg';
107
105
  export type { IconSvgProps } from './components/IconSvg';
108
106
  export { GAME_VARIANTS, GAME_VARIANT_LABELS, parseGameVariant } from '../shared/game-variants';
109
107
  export type { GameVariant } from '../shared/game-variants';
108
+ export { Button, IconButton, PressCard, usePress } from './components/_primitives';
109
+ export type { ButtonProps, IconButtonProps, PressCardProps } from './components/_primitives';
110
+ export { BUTTON_UI, buttonLook, optionLook, previewTint } from '../shared/button-ui';
111
+ export type { ButtonVariant, ButtonSize, PressState } from '../shared/button-ui';
110
112
  export { PlaceEntryContext } from './components/PlaceEntryProvider';
111
113
  export { YesNoLabelsProvider } from './components/_primitives';
112
114
  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';
115
+ export type { GameSetupProps, GameSetupFrameProps, GameSetupNav, GameSetupTicket } from '../shared/game-library';
116
+ export { GameModeCard, GameModeKitStyles, GamePageHeader, GameSportRow, BrandChipTile, BrandTile, useBrandTileColors, KitCard, PlayModeCards, LegPips, OptionStrip, OPTION_STRIP_ITEM, hexA } from './components/GameModeCard';
117
+ export { PageBackLink, PageHeader, PageTitleBackRow } from './components/PageBackButton';
116
118
  export { CallTicketBuilder } from './components/CallTicketBuilder';
117
119
  export { accentOnSurface, themeSelectionCard } from './utils/themes';
118
120
  export { roundQuotedPayout } from '../shared/game-flow';
@@ -121,5 +123,5 @@ export { GAME_ICON_SVG, GAME_ICON_SCHEME, resolveGameIconId, resolveGameIconUrl,
121
123
  export type { GameIconId } from '../shared/game-icons';
122
124
  export { gameShelfArtwork, categoryShelfArtwork } from '../shared/game-shelf-artwork';
123
125
  export { findCategoryGamePreset, mergeGameArtwork, BASE_GAME_ARTWORK, GameArtworkContext, useGameArtwork } from '../shared/game-artwork';
124
- export type { CategoryGamePreset, GameSuiteCategory, GameArtwork } from '../shared/game-artwork';
126
+ export type { CategoryGamePreset, GameSuiteCategory, GameArtwork, ShowcaseCard, ShowcaseCatalogue, ShowcaseCategory } from '../shared/game-artwork';
125
127
  export { resolveShelfArtwork, previewCopy, shelfGameName } from '../shared/game-shelf-presentation';