@simple-parlay/components 1.30.6-pre.9 → 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.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +653 -515
- package/dist/react/components/CallPayoutTable.d.ts +7 -1
- package/dist/react/components/CorrelationPropPlaceholder.d.ts +6 -1
- package/dist/react/components/DenseUi.d.ts +1 -0
- package/dist/react/components/EntriesPage.d.ts +0 -4
- package/dist/react/components/EntrySubmission.d.ts +1 -1
- package/dist/react/components/EventSwipeModal.d.ts +4 -0
- package/dist/react/components/GameCardParts.d.ts +28 -0
- package/dist/react/components/GameModeCard.d.ts +37 -6
- package/dist/react/components/GamePage.d.ts +4 -2
- package/dist/react/components/GameSelector.d.ts +1 -27
- package/dist/react/components/GameSetupPage.d.ts +5 -1
- package/dist/react/components/GameShelfCatalogue.d.ts +1 -7
- package/dist/react/components/GameShowcaseCatalogue.d.ts +4 -1
- package/dist/react/components/GameSkeletons.d.ts +24 -0
- package/dist/react/components/HowToPlayButton.d.ts +2 -1
- package/dist/react/components/LoadingIndicators.d.ts +27 -10
- package/dist/react/components/MatchRail.d.ts +52 -0
- package/dist/react/components/MatchTopBar.d.ts +19 -0
- package/dist/react/components/MultiLegTable.d.ts +3 -1
- package/dist/react/components/PageBackButton.d.ts +35 -6
- package/dist/react/components/PageSkeletons.d.ts +24 -0
- package/dist/react/components/PickGroupSection.d.ts +37 -0
- package/dist/react/components/PickerBrand.d.ts +0 -5
- package/dist/react/components/PicksSkeletons.d.ts +30 -0
- package/dist/react/components/PlaceEntryProvider.d.ts +37 -4
- package/dist/react/components/PropositionFilters.d.ts +0 -1
- package/dist/react/components/PropositionParts.d.ts +38 -0
- package/dist/react/components/QuickPickButton.d.ts +27 -1
- package/dist/react/components/QuickPickMenu.d.ts +19 -1
- package/dist/react/components/SelectionsPage.d.ts +8 -4
- package/dist/react/components/ShelfKit.d.ts +43 -0
- package/dist/react/components/SportRail.d.ts +1 -1
- package/dist/react/components/SportSelector.d.ts +1 -36
- package/dist/react/components/SuccessPage.d.ts +7 -3
- package/dist/react/components/SwipeDeck.d.ts +32 -3
- package/dist/react/components/YesNoMultiLogo.d.ts +13 -0
- package/dist/react/components/_primitives/index.d.ts +57 -12
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +14 -12
- package/dist/react/index.mjs +653 -515
- package/dist/react/utils/dom.d.ts +7 -0
- package/dist/react/utils/themes.d.ts +1 -1
- package/dist/react-native/components/CallGameCatalogue.d.ts +1 -0
- package/dist/react-native/components/CallPayoutTable.d.ts +7 -1
- package/dist/react-native/components/CallTicketBuilder.d.ts +2 -0
- package/dist/react-native/components/DenseUi.d.ts +4 -10
- package/dist/react-native/components/EntrySubmission.d.ts +1 -1
- package/dist/react-native/components/EventSwipeModal.d.ts +5 -0
- package/dist/react-native/components/GameCardParts.d.ts +29 -0
- package/dist/react-native/components/GameModeCard.d.ts +34 -5
- package/dist/react-native/components/GamePage.d.ts +3 -1
- package/dist/react-native/components/GameSelector.d.ts +1 -28
- package/dist/react-native/components/GameSetupPage.d.ts +4 -13
- package/dist/react-native/components/GameShelfCatalogue.d.ts +1 -6
- package/dist/react-native/components/GameSkeletons.d.ts +23 -0
- package/dist/react-native/components/HowToPlayButton.d.ts +2 -1
- package/dist/react-native/components/LoadingIndicators.d.ts +22 -10
- package/dist/react-native/components/MatchRail.d.ts +57 -0
- package/dist/react-native/components/MatchTopBar.d.ts +17 -0
- package/dist/react-native/components/MultiLegTable.d.ts +3 -1
- package/dist/react-native/components/PageBackButton.d.ts +32 -9
- package/dist/react-native/components/PageSkeletons.d.ts +23 -0
- package/dist/react-native/components/PickGroupSection.d.ts +37 -0
- package/dist/react-native/components/PickerBrand.d.ts +0 -4
- package/dist/react-native/components/PicksSkeletons.d.ts +31 -0
- package/dist/react-native/components/PlaceEntryProvider.d.ts +37 -4
- package/dist/react-native/components/PropositionFilters.d.ts +0 -1
- package/dist/react-native/components/PropositionParts.d.ts +35 -0
- package/dist/react-native/components/QuickPickButton.d.ts +27 -1
- package/dist/react-native/components/QuickPickMenu.d.ts +20 -1
- package/dist/react-native/components/SelectionsPage.d.ts +7 -4
- package/dist/react-native/components/ShelfKit.d.ts +62 -0
- package/dist/react-native/components/SportRail.d.ts +1 -1
- package/dist/react-native/components/SportSelector.d.ts +1 -33
- package/dist/react-native/components/SuccessPage.d.ts +7 -3
- package/dist/react-native/components/SwipeDeck.d.ts +43 -3
- package/dist/react-native/components/YesNoMultiLogo.d.ts +12 -0
- package/dist/react-native/components/_primitives/index.d.ts +92 -10
- package/dist/react-native/index.cjs +1 -1
- package/dist/react-native/index.d.ts +14 -12
- package/dist/react-native/index.mjs +559 -474
- package/dist/react-native/utils/themes.d.ts +1 -1
- package/dist/shared/button-ui.d.ts +65 -0
- package/dist/shared/call-presentation.d.ts +9 -1
- package/dist/shared/canvas.d.ts +14 -0
- package/dist/shared/correlation-steering.d.ts +14 -1
- package/dist/shared/date-filters.d.ts +0 -23
- package/dist/shared/dense-ui.d.ts +0 -1
- package/dist/shared/entry-progress.d.ts +38 -0
- package/dist/shared/game-artwork.d.ts +2 -0
- package/dist/shared/game-flow.d.ts +22 -0
- package/dist/shared/game-icons.d.ts +2 -1
- package/dist/shared/game-library.d.ts +30 -6
- package/dist/shared/game-shelf-presentation.d.ts +36 -1
- package/dist/shared/hooks.d.ts +1 -1
- package/dist/shared/selection-actions.d.ts +70 -4
- package/dist/shared/selection-caps.d.ts +67 -10
- package/dist/shared/selection-variants.d.ts +7 -0
- package/dist/shared/shelf-covers.d.ts +92 -0
- package/dist/shared/shelf-ui.d.ts +47 -0
- package/dist/shared/swipe-deck.d.ts +10 -0
- package/dist/shared/themes.d.ts +53 -10
- package/dist/shared/tokens.d.ts +7 -0
- package/dist/shared/types.d.ts +19 -4
- package/dist/shared/ui-system.d.ts +71 -0
- package/dist/shared/ui-variant.d.ts +5 -3
- package/dist/shared/utils.d.ts +4 -1
- package/package.json +1 -1
- package/dist/react/components/PerfectPickPage.d.ts +0 -22
- package/dist/react/components/RuleSetupPage.d.ts +0 -27
- package/dist/react-native/components/PerfectPickPage.d.ts +0 -20
- package/dist/react-native/components/RuleSetupPage.d.ts +0 -23
package/dist/react/index.d.ts
CHANGED
|
@@ -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 {
|
|
80
|
-
export type {
|
|
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';
|