@simple-parlay/components 1.30.6-pre → 1.30.6-pre.11

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 (160) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.mjs +653 -451
  4. package/dist/react/components/CallGameCatalogue.d.ts +4 -0
  5. package/dist/react/components/CallPayoutTable.d.ts +12 -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 +13 -0
  10. package/dist/react/components/DenseGameCatalogue.d.ts +2 -0
  11. package/dist/react/components/DenseUi.d.ts +30 -0
  12. package/dist/react/components/EntriesPage.d.ts +0 -4
  13. package/dist/react/components/EntrySubmission.d.ts +1 -1
  14. package/dist/react/components/EventSwipeModal.d.ts +4 -0
  15. package/dist/react/components/GameCardParts.d.ts +28 -0
  16. package/dist/react/components/GameModeCard.d.ts +37 -6
  17. package/dist/react/components/GamePage.d.ts +3 -1
  18. package/dist/react/components/GameSelector.d.ts +1 -19
  19. package/dist/react/components/GameSetupPage.d.ts +6 -2
  20. package/dist/react/components/GameShelfCatalogue.d.ts +2 -0
  21. package/dist/react/components/GameShowcaseCatalogue.d.ts +11 -0
  22. package/dist/react/components/GameSkeletons.d.ts +24 -0
  23. package/dist/react/components/GameVariantCatalogue.d.ts +6 -0
  24. package/dist/react/components/HowToPlayButton.d.ts +5 -2
  25. package/dist/react/components/LoadingIndicators.d.ts +27 -10
  26. package/dist/react/components/MatchRail.d.ts +52 -0
  27. package/dist/react/components/MatchTopBar.d.ts +19 -0
  28. package/dist/react/components/MultiLegTable.d.ts +5 -1
  29. package/dist/react/components/PageBackButton.d.ts +35 -6
  30. package/dist/react/components/PageSkeletons.d.ts +24 -0
  31. package/dist/react/components/PickGroupSection.d.ts +37 -0
  32. package/dist/react/components/PickerBrand.d.ts +0 -5
  33. package/dist/react/components/PicksSkeletons.d.ts +30 -0
  34. package/dist/react/components/PlaceEntryProvider.d.ts +75 -6
  35. package/dist/react/components/PlaybookChooser.d.ts +7 -0
  36. package/dist/react/components/PropositionFilters.d.ts +2 -1
  37. package/dist/react/components/PropositionParts.d.ts +38 -0
  38. package/dist/react/components/QuickPickButton.d.ts +26 -1
  39. package/dist/react/components/QuickPickMenu.d.ts +19 -1
  40. package/dist/react/components/SafetyNetPage.d.ts +4 -1
  41. package/dist/react/components/ScrollShelf.d.ts +5 -1
  42. package/dist/react/components/SelectionReview.d.ts +1 -1
  43. package/dist/react/components/SelectionsPage.d.ts +7 -2
  44. package/dist/react/components/ShelfKit.d.ts +43 -0
  45. package/dist/react/components/SportRail.d.ts +13 -7
  46. package/dist/react/components/SportSelector.d.ts +2 -24
  47. package/dist/react/components/SuccessPage.d.ts +4 -2
  48. package/dist/react/components/SwipeDeck.d.ts +32 -3
  49. package/dist/react/components/YesNoMultiLogo.d.ts +13 -0
  50. package/dist/react/components/_primitives/index.d.ts +54 -13
  51. package/dist/react/index.cjs +1 -0
  52. package/dist/react/index.d.ts +46 -19
  53. package/dist/react/index.mjs +653 -451
  54. package/dist/react/utils/dom.d.ts +7 -0
  55. package/dist/react/utils/index.d.ts +1 -1
  56. package/dist/react/utils/themes.d.ts +1 -1
  57. package/dist/react-native/components/CallGameCatalogue.d.ts +17 -0
  58. package/dist/react-native/components/CallPayoutTable.d.ts +12 -0
  59. package/dist/react-native/components/CallTicketBuilder.d.ts +33 -0
  60. package/dist/react-native/components/CorrelationChoicesSkeleton.d.ts +3 -0
  61. package/dist/react-native/components/CorrelationPricingDebug.d.ts +2 -0
  62. package/dist/react-native/components/CorrelationPropPlaceholder.d.ts +7 -0
  63. package/dist/react-native/components/DenseGameCatalogue.d.ts +2 -0
  64. package/dist/react-native/components/DenseUi.d.ts +52 -0
  65. package/dist/react-native/components/EntrySubmission.d.ts +1 -1
  66. package/dist/react-native/components/EventSwipeModal.d.ts +5 -0
  67. package/dist/react-native/components/GameCardParts.d.ts +29 -0
  68. package/dist/react-native/components/GameModeCard.d.ts +34 -5
  69. package/dist/react-native/components/GamePage.d.ts +4 -1
  70. package/dist/react-native/components/GameSelector.d.ts +1 -20
  71. package/dist/react-native/components/GameSetupPage.d.ts +5 -14
  72. package/dist/react-native/components/GameShelfCatalogue.d.ts +2 -0
  73. package/dist/react-native/components/GameSkeletons.d.ts +23 -0
  74. package/dist/react-native/components/HowToPlayButton.d.ts +5 -2
  75. package/dist/react-native/components/LoadingIndicators.d.ts +23 -11
  76. package/dist/react-native/components/MatchRail.d.ts +57 -0
  77. package/dist/react-native/components/MatchTopBar.d.ts +17 -0
  78. package/dist/react-native/components/MultiLegTable.d.ts +5 -1
  79. package/dist/react-native/components/PageBackButton.d.ts +32 -9
  80. package/dist/react-native/components/PageSkeletons.d.ts +23 -0
  81. package/dist/react-native/components/PickGroupSection.d.ts +37 -0
  82. package/dist/react-native/components/PickerBrand.d.ts +0 -4
  83. package/dist/react-native/components/PicksSkeletons.d.ts +31 -0
  84. package/dist/react-native/components/PlaceEntryProvider.d.ts +68 -6
  85. package/dist/react-native/components/PlaybookChooser.d.ts +7 -0
  86. package/dist/react-native/components/PropositionFilters.d.ts +2 -1
  87. package/dist/react-native/components/PropositionParts.d.ts +35 -0
  88. package/dist/react-native/components/QuickPickButton.d.ts +26 -1
  89. package/dist/react-native/components/QuickPickMenu.d.ts +20 -1
  90. package/dist/react-native/components/SafetyNetPage.d.ts +4 -1
  91. package/dist/react-native/components/ScrollShelf.d.ts +8 -1
  92. package/dist/react-native/components/SelectionReview.d.ts +1 -1
  93. package/dist/react-native/components/SelectionsPage.d.ts +6 -2
  94. package/dist/react-native/components/ShelfKit.d.ts +62 -0
  95. package/dist/react-native/components/SportRail.d.ts +13 -7
  96. package/dist/react-native/components/SportSelector.d.ts +2 -29
  97. package/dist/react-native/components/SuccessPage.d.ts +4 -2
  98. package/dist/react-native/components/SwipeDeck.d.ts +37 -3
  99. package/dist/react-native/components/YesNoMultiLogo.d.ts +12 -0
  100. package/dist/react-native/components/_primitives/index.d.ts +93 -12
  101. package/dist/react-native/index.cjs +1 -0
  102. package/dist/react-native/index.d.ts +46 -19
  103. package/dist/react-native/index.mjs +561 -437
  104. package/dist/react-native/utils/index.d.ts +1 -1
  105. package/dist/react-native/utils/themes.d.ts +1 -1
  106. package/dist/shared/api-client.d.ts +4 -3
  107. package/dist/shared/button-ui.d.ts +62 -0
  108. package/dist/shared/call-presentation.d.ts +28 -0
  109. package/dist/shared/canvas.d.ts +14 -0
  110. package/dist/shared/correlation-steering.d.ts +56 -0
  111. package/dist/shared/date-filters.d.ts +0 -22
  112. package/dist/shared/dense-ui.d.ts +54 -0
  113. package/dist/shared/entry-progress.d.ts +38 -0
  114. package/dist/shared/game-artwork.d.ts +63 -0
  115. package/dist/shared/game-flow.d.ts +34 -1
  116. package/dist/shared/game-icons.d.ts +8 -4
  117. package/dist/shared/game-library.d.ts +58 -0
  118. package/dist/shared/game-set-bet.d.ts +0 -1
  119. package/dist/shared/game-shelf-artwork.d.ts +3 -0
  120. package/dist/shared/game-shelf-presentation.d.ts +79 -0
  121. package/dist/shared/game-variants.d.ts +5 -0
  122. package/dist/shared/hooks.d.ts +8 -8
  123. package/dist/shared/how-to-play-html.d.ts +1 -1
  124. package/dist/shared/how-to-play-logo.d.ts +1 -1
  125. package/dist/shared/menu-placement.d.ts +26 -0
  126. package/dist/shared/mirror.d.ts +55 -5
  127. package/dist/shared/picker-brand.d.ts +22 -6
  128. package/dist/shared/playbook.d.ts +29 -0
  129. package/dist/shared/selection-actions.d.ts +82 -4
  130. package/dist/shared/selection-caps.d.ts +124 -0
  131. package/dist/shared/selection-variants.d.ts +10 -1
  132. package/dist/shared/shelf-covers.d.ts +92 -0
  133. package/dist/shared/shelf-ui.d.ts +47 -0
  134. package/dist/shared/swipe-deck.d.ts +11 -1
  135. package/dist/shared/themes.d.ts +70 -8
  136. package/dist/shared/tokens.d.ts +7 -0
  137. package/dist/shared/types.d.ts +49 -3
  138. package/dist/shared/ui-system.d.ts +70 -0
  139. package/dist/shared/ui-variant.d.ts +16 -0
  140. package/dist/shared/use-call-payouts.d.ts +8 -0
  141. package/dist/shared/utils.d.ts +20 -7
  142. package/package.json +7 -8
  143. package/dist/index.js +0 -1
  144. package/dist/react/components/GameSetBetPage.d.ts +0 -21
  145. package/dist/react/components/LadderPage.d.ts +0 -21
  146. package/dist/react/components/MirrorPage.d.ts +0 -21
  147. package/dist/react/components/PerfectPickPage.d.ts +0 -22
  148. package/dist/react/components/PickYourDividendPage.d.ts +0 -21
  149. package/dist/react/components/RuleSetupPage.d.ts +0 -27
  150. package/dist/react/components/SixAgainPage.d.ts +0 -16
  151. package/dist/react/index.js +0 -1
  152. package/dist/react/utils/design.d.ts +0 -55
  153. package/dist/react-native/components/GameSetBetPage.d.ts +0 -19
  154. package/dist/react-native/components/LadderPage.d.ts +0 -19
  155. package/dist/react-native/components/MirrorPage.d.ts +0 -19
  156. package/dist/react-native/components/PerfectPickPage.d.ts +0 -20
  157. package/dist/react-native/components/PickYourDividendPage.d.ts +0 -19
  158. package/dist/react-native/components/RuleSetupPage.d.ts +0 -23
  159. package/dist/react-native/components/SixAgainPage.d.ts +0 -14
  160. package/dist/react-native/index.js +0 -1
@@ -1,55 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { BladeTheme } from '../../shared/themes';
3
- export declare const trackedCaps: CSSProperties;
4
- export declare const trackedCapsTight: CSSProperties;
5
- export declare const tabularNums: CSSProperties;
6
- export declare const displayFigure: CSSProperties;
7
- /** Single-pixel hairline rule — used for separators between glass rows. */
8
- export declare function hairline(color: string): string;
9
- /**
10
- * Spatial OS elevation. These are luminous, layered shadows: an inset top
11
- * highlight that mimics a Vision-Pro-style glass edge plus a soft ambient
12
- * drop. Use 'high' for floating popovers, 'med' for cards, 'low' for rows.
13
- */
14
- export declare function softShadow(intensity?: 'low' | 'med' | 'high'): string;
15
- /** Smooth, slow-curve easing used everywhere — feels like inertial spatial OS. */
16
- export declare const EASE = "cubic-bezier(0.16, 1, 0.3, 1)";
17
- /** Compose a hover lift transform consistent across the system. */
18
- export declare const liftHover: CSSProperties;
19
- /** Resolve a theme's display font with a guaranteed sans fallback. */
20
- export declare function displayFont(theme: BladeTheme): string;
21
- /** Resolve a theme's mono font with a guaranteed monospaced fallback. */
22
- export declare function monoFont(theme: BladeTheme): string;
23
- /** Mix a CSS color with the page background to soft-tint a hue. */
24
- export declare function tint(color: string, alphaHex?: string): string;
25
- /** Tiny dot + tracked caps label — used as a section eyebrow. */
26
- export declare const eyebrowStyle: (color: string) => CSSProperties;
27
- /**
28
- * Returns the inline style fragment used for a glass card surface.
29
- * In light scheme the glass sits on top of a luminous backdrop and stays
30
- * mostly opaque; in dark scheme it leans translucent with heavy blur.
31
- */
32
- export declare function glassCard(theme: BladeTheme, elevation?: 'low' | 'med' | 'high'): CSSProperties;
33
- /** Construct the conic accent gradient used for halo rings, multiplier badges, etc. */
34
- export declare function accentGradient(theme: BladeTheme, mode?: 'linear' | 'conic'): string;
35
- /** A soft radial wash anchored to the top-right — used inside hero cards. */
36
- export declare function ambientWash(theme: BladeTheme, opacity?: number): string;
37
- /** Hex/rgba color with explicit alpha — handles `#RRGGBB`, `rgb()`, `rgba()`. */
38
- export declare function withAlpha(color: string, alpha: number): string;
39
- /**
40
- * Primary CTA — a solid bright pill on dark schemes, near-black on light.
41
- * Used for "Continue", "Place entry", "Select game" etc.
42
- */
43
- export declare function primaryButton(theme: BladeTheme, opts?: {
44
- compact?: boolean;
45
- disabled?: boolean;
46
- }): CSSProperties;
47
- /** Glass / ghost button used for "Back", "Cancel", secondary affordances. */
48
- export declare function ghostButton(theme: BladeTheme, opts?: {
49
- compact?: boolean;
50
- }): CSSProperties;
51
- /**
52
- * Token-level animation keyframes injected once by the dev shell.
53
- * Components reference these by name (no per-component <style> blocks).
54
- */
55
- export declare const GLOBAL_KEYFRAMES = "\n@keyframes glass-rise {\n from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(8px); }\n to { opacity: 1; transform: none; filter: none; }\n}\n@keyframes glass-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n@keyframes halo-rotate {\n to { transform: rotate(360deg); }\n}\n@keyframes pulse-soft {\n 0%, 100% { opacity: 0.55; }\n 50% { opacity: 1; }\n}\n@keyframes drift-1 {\n 0%, 100% { transform: translate3d(0, 0, 0) scale(1); }\n 50% { transform: translate3d(40px, -30px, 0) scale(1.08); }\n}\n@keyframes drift-2 {\n 0%, 100% { transform: translate3d(0, 0, 0) scale(1); }\n 50% { transform: translate3d(-30px, 40px, 0) scale(1.12); }\n}\n@keyframes drift-3 {\n 0%, 100% { transform: translate3d(0, 0, 0) scale(1); }\n 50% { transform: translate3d(20px, 20px, 0) scale(0.94); }\n}\n@keyframes ticker {\n from { transform: translateX(0); }\n to { transform: translateX(-50%); }\n}\n@keyframes sweep {\n 0% { transform: translateX(-110%); }\n 60% { transform: translateX(110%); }\n 100% { transform: translateX(110%); }\n}\n@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }\n";
@@ -1,19 +0,0 @@
1
- import { GameSetBetConfig } from '../../shared/game-set-bet';
2
- export interface GameSetBetPageProps {
3
- /** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
4
- onQuickPick?: () => void;
5
- /** Called when the user chooses to answer the legs themselves (navigate to selections). */
6
- onPickYourOwn?: () => void;
7
- onBack?: () => void;
8
- /** Hide the built-in eyebrow title (use `<GameSetBetPageTitle />` separately). */
9
- hideTitle?: boolean;
10
- /** Override the built-in config (leg options, stake ladder, margin). */
11
- config?: GameSetBetConfig | null;
12
- /** Label for the back link (where "back" leads). @default 'Games' */
13
- backLabel?: string;
14
- }
15
- export declare function GameSetBetPageTitle({ onBack, hideActions, }?: {
16
- onBack?: () => void;
17
- hideActions?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function GameSetBetPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: GameSetBetPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +0,0 @@
1
- import { LadderConfig } from '../../shared/ladder';
2
- export interface LadderPageProps {
3
- /** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
4
- onQuickPick?: () => void;
5
- /** Called when the user chooses to answer the legs themselves (navigate to selections). */
6
- onPickYourOwn?: () => void;
7
- onBack?: () => void;
8
- /** Hide the built-in eyebrow title (use `<LadderPageTitle />` separately). */
9
- hideTitle?: boolean;
10
- /** Override the built-in config (ladder family, stakes). */
11
- config?: LadderConfig | null;
12
- /** Label for the back link (where "back" leads). @default 'Games' */
13
- backLabel?: string;
14
- }
15
- export declare function LadderPageTitle({ onBack, hideActions, }?: {
16
- onBack?: () => void;
17
- hideActions?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function LadderPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: LadderPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +0,0 @@
1
- import { MirrorConfig } from '../../shared/mirror';
2
- export interface MirrorPageProps {
3
- /** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
4
- onQuickPick?: () => void;
5
- /** Called when the user chooses to answer the legs themselves (navigate to selections). */
6
- onPickYourOwn?: () => void;
7
- onBack?: () => void;
8
- /** Hide the built-in eyebrow title (use `<MirrorPageTitle />` separately). */
9
- hideTitle?: boolean;
10
- /** Override the built-in config (leg options, stake ladder, margin). */
11
- config?: MirrorConfig | null;
12
- /** Label for the back link (where "back" leads). @default 'Games' */
13
- backLabel?: string;
14
- }
15
- export declare function MirrorPageTitle({ onBack, hideActions, }?: {
16
- onBack?: () => void;
17
- hideActions?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function MirrorPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: MirrorPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +0,0 @@
1
- /**
2
- * Setup page for exact-rule games (Perfect Pick, Head to Head, Total Points):
3
- * brand lockup plus the same two mode cards as every other unique game.
4
- */
5
- export interface PerfectPickPageProps {
6
- /** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
7
- onQuickPick?: () => void;
8
- /** Called when the user chooses to answer the legs themselves (navigate to selections). */
9
- onPickYourOwn?: () => void;
10
- onBack?: () => void;
11
- /** Hide the built-in eyebrow title. */
12
- hideTitle?: boolean;
13
- /** Label for the back link (where "back" leads). @default 'Games' */
14
- backLabel?: string;
15
- }
16
- export declare function PerfectPickPageTitle({ onBack, hideActions, }?: {
17
- onBack?: () => void;
18
- hideActions?: boolean;
19
- }): import("react/jsx-runtime").JSX.Element;
20
- export declare function PerfectPickPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, backLabel, }: PerfectPickPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +0,0 @@
1
- import { PickYourDividendConfig } from '../../shared/pick-your-dividend';
2
- export interface PickYourDividendPageProps {
3
- /** Called after Quick Pick fills the slip (navigate to the bet slip / confirm page). */
4
- onQuickPick?: () => void;
5
- /** Called when the user chooses to answer the legs themselves (navigate to selections). */
6
- onPickYourOwn?: () => void;
7
- onBack?: () => void;
8
- /** Hide the built-in eyebrow title (use `<PickYourDividendPageTitle />` separately). */
9
- hideTitle?: boolean;
10
- /** Override the built-in config (dividend tiers, rungs). */
11
- config?: PickYourDividendConfig | null;
12
- /** Label for the back link (where "back" leads). @default 'Games' */
13
- backLabel?: string;
14
- }
15
- export declare function PickYourDividendPageTitle({ onBack, hideActions, }?: {
16
- onBack?: () => void;
17
- hideActions?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function PickYourDividendPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: PickYourDividendPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,23 +0,0 @@
1
- import { default as React } from 'react';
2
- import { RuleSetupConfig, RuleSetupOption } from '../../shared/rule-setup';
3
- export interface RuleSetupPageProps {
4
- onContinue?: () => void;
5
- onBack?: () => void;
6
- /** Hide the built-in title section (use `<RuleSetupPageTitle />` separately). The game lockup always renders in the page body. */
7
- hideTitle?: boolean;
8
- hideActions?: boolean;
9
- config?: RuleSetupConfig | null;
10
- renderDividends?: (option: RuleSetupOption) => React.ReactNode;
11
- /** Label for the back link (where "back" leads). @default 'Games' */
12
- backLabel?: string;
13
- }
14
- export declare function RuleSetupPageTitle({ onBack, hideActions, }?: {
15
- onBack?: () => void;
16
- hideActions?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
18
- export declare function RuleSetupPageActions({ onContinue, canContinue, continueLabel, }: {
19
- onContinue?: () => void;
20
- canContinue?: boolean;
21
- continueLabel?: string;
22
- }): import("react/jsx-runtime").JSX.Element | null;
23
- export declare function RuleSetupPage({ onContinue, onBack, hideTitle, config: configOverride, renderDividends, backLabel, }: RuleSetupPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,14 +0,0 @@
1
- import { SixAgainConfig } from '../../shared/six-again';
2
- export interface SixAgainPageProps {
3
- onQuickPick?: () => void;
4
- onPickYourOwn?: () => void;
5
- onBack?: () => void;
6
- hideTitle?: boolean;
7
- config?: SixAgainConfig | null;
8
- backLabel?: string;
9
- }
10
- export declare function SixAgainPageTitle({ onBack, hideActions, }?: {
11
- onBack?: () => void;
12
- hideActions?: boolean;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- export declare function SixAgainPage({ onQuickPick, onPickYourOwn, onBack, hideTitle, config: configOverride, backLabel, }: SixAgainPageProps): import("react/jsx-runtime").JSX.Element;