@maestro_io/maestro-web-sdk 4.0.0-beta.2 → 4.0.0-beta.4

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 (141) hide show
  1. package/dist/maestro-web-sdk.esm.js +4 -4
  2. package/dist/maestro-web-sdk.esm.js.map +1 -1
  3. package/dist/maestro-web-sdk.umd.js +4 -4
  4. package/dist/maestro-web-sdk.umd.js.map +1 -1
  5. package/dist/package.json +13 -9
  6. package/dist/src/components/atoms/BaseButton/BaseButton.d.ts +1 -1
  7. package/dist/src/components/atoms/Image/index.d.ts +1 -1
  8. package/dist/src/components/atoms/Rive/index.d.ts +141 -11
  9. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.d.ts +1 -2
  10. package/dist/src/components/atoms/SvgIcon/BetsIcon.d.ts +1 -1
  11. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.d.ts +1 -1
  12. package/dist/src/components/atoms/SvgIcon/ChatIcon.d.ts +4 -0
  13. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.d.ts +1 -2
  14. package/dist/src/components/atoms/SvgIcon/CollapseIcon.d.ts +1 -2
  15. package/dist/src/components/atoms/SvgIcon/ExpandIcon.d.ts +1 -2
  16. package/dist/src/components/atoms/SvgIcon/FantasyIcon.d.ts +1 -1
  17. package/dist/src/components/atoms/SvgIcon/FlameIcon.d.ts +1 -1
  18. package/dist/src/components/atoms/SvgIcon/HelloWorldIcon.d.ts +3 -0
  19. package/dist/src/components/atoms/SvgIcon/Icon.d.ts +5 -5
  20. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.d.ts +1 -1
  21. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.d.ts +1 -1
  22. package/dist/src/components/atoms/SvgIcon/PlayIcon.d.ts +1 -1
  23. package/dist/src/components/atoms/SvgIcon/ShopIcon.d.ts +1 -1
  24. package/dist/src/components/atoms/SvgIcon/ShopifyIcon.d.ts +4 -0
  25. package/dist/src/components/atoms/SvgIcon/StatsIcon.d.ts +1 -1
  26. package/dist/src/components/atoms/SvgIcon/TimesIcon.d.ts +1 -2
  27. package/dist/src/components/atoms/SvgIcon/WarningIcon.d.ts +1 -1
  28. package/dist/src/components/core/App/App.d.ts +1 -1
  29. package/dist/src/components/core/PanelManager/PanelManager.d.ts +1 -1
  30. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.d.ts +8 -7
  31. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.js +7 -6
  32. package/dist/src/components/molecules/ActionButton/ActionButton.d.ts +53 -7
  33. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.d.ts +1 -1
  34. package/dist/src/components/molecules/Overlay/Overlay.d.ts +1 -1
  35. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.d.ts +53 -7
  36. package/dist/src/components/molecules/TabLoadError/TabLoadError.d.ts +53 -7
  37. package/dist/src/components/molecules/WatchButton/WatchButton.d.ts +1 -1
  38. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.d.ts +1 -1
  39. package/dist/src/components/organisms/SegmentController/SegmentController.d.ts +5 -4
  40. package/dist/src/development/TimeSeek.d.ts +1 -1
  41. package/dist/src/development/development.js +7 -4
  42. package/dist/src/external/ReactRenderer.js +15 -3
  43. package/dist/src/external/spatial-navigation/withFocusable.d.ts +53 -7
  44. package/dist/src/index.d.ts +1 -2
  45. package/dist/src/index.js +1 -1
  46. package/dist/src/interfaces/IMaestroEvent.d.ts +2 -2
  47. package/dist/src/interfaces/IMaestroManager.d.ts +2 -2
  48. package/dist/src/modules/bets/view/BetsView.d.ts +3 -3
  49. package/dist/src/modules/bets/view/HotProps/HotPropsView.d.ts +53 -7
  50. package/dist/src/modules/bets/view/SixPack/SixPackView.d.ts +5 -4
  51. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.d.ts +1 -1
  52. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.d.ts +53 -7
  53. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.d.ts +5 -4
  54. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.d.ts +1 -2
  55. package/dist/src/modules/bets/view/UserBets/Boost/Boost.d.ts +1 -2
  56. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.d.ts +1 -2
  57. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.d.ts +1 -2
  58. package/dist/src/modules/bets/view/UserBets/Straight/Straight.d.ts +1 -2
  59. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.d.ts +1 -2
  60. package/dist/src/modules/bets/view/UserBets/UserBetsView.d.ts +3 -3
  61. package/dist/src/modules/bets/view/components/Bet/Bet.d.ts +99 -11
  62. package/dist/src/modules/bets/view/components/BetPill/BetPill.d.ts +1 -1
  63. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.d.ts +1 -1
  64. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.d.ts +1 -1
  65. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.d.ts +1 -1
  66. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.d.ts +5 -4
  67. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.d.ts +1 -1
  68. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.d.ts +53 -7
  69. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.d.ts +53 -7
  70. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.d.ts +1 -1
  71. package/dist/src/modules/fantasy/view/FantasyItemView.d.ts +6 -5
  72. package/dist/src/modules/fantasy/view/FantasyView.d.ts +3 -3
  73. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.d.ts +1 -1
  74. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.d.ts +53 -7
  75. package/dist/src/modules/fantasy/view/LoginView/LoginView.d.ts +53 -7
  76. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.d.ts +53 -7
  77. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.d.ts +1 -1
  78. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.d.ts +53 -7
  79. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.d.ts +1 -1
  80. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.d.ts +53 -7
  81. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.d.ts +53 -7
  82. package/dist/src/modules/fantasy/view/PromoView/PromoView.d.ts +53 -7
  83. package/dist/src/modules/hello-world/HelloWorldImage.d.ts +3 -0
  84. package/dist/src/modules/hello-world/HelloWorldView.d.ts +11 -0
  85. package/dist/src/modules/hello-world/HelloWorldView.js +33 -0
  86. package/dist/src/modules/hello-world/index.d.ts +2 -0
  87. package/dist/src/modules/hello-world/index.js +2 -0
  88. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.d.ts +1 -1
  89. package/dist/src/modules/key-plays/view/KeyPlayCardView.d.ts +7 -6
  90. package/dist/src/modules/key-plays/view/KeyPlayCardView.js +6 -11
  91. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.d.ts +1 -1
  92. package/dist/src/modules/key-plays/view/KeyPlaysView.d.ts +3 -3
  93. package/dist/src/modules/shop/mocks.js +1 -0
  94. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.d.ts +1 -2
  95. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.js +5 -1
  96. package/dist/src/modules/shop/view/ShopView.d.ts +3 -3
  97. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.d.ts +54 -8
  98. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.js +1 -1
  99. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.d.ts +53 -7
  100. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.js +1 -1
  101. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.d.ts +1 -2
  102. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.d.ts +5 -4
  103. package/dist/src/modules/shop/view-model/ShopViewModel.js +5 -1
  104. package/dist/src/modules/stats/utils/renderTeamStatistic.d.ts +1 -2
  105. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.d.ts +2 -2
  106. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.d.ts +1 -2
  107. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.d.ts +1 -1
  108. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.d.ts +53 -7
  109. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.d.ts +1 -1
  110. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.d.ts +1 -1
  111. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.d.ts +1 -2
  112. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.d.ts +1 -2
  113. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.d.ts +5 -4
  114. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.d.ts +2 -2
  115. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.d.ts +53 -7
  116. package/dist/src/modules/stats/view/Penalties/Penalties.d.ts +1 -2
  117. package/dist/src/modules/stats/view/RecentGames/RecentGames.d.ts +53 -7
  118. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.d.ts +1 -1
  119. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.js +3 -1
  120. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.d.ts +53 -7
  121. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.d.ts +1 -2
  122. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.d.ts +5 -2
  123. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.js +20 -1
  124. package/dist/src/modules/stats/view/StatsItemView.d.ts +6 -5
  125. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.d.ts +53 -7
  126. package/dist/src/modules/stats/view/StatsView.d.ts +3 -3
  127. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.d.ts +53 -7
  128. package/dist/src/modules/stats/view/Teams/StatsCarousel.d.ts +2 -2
  129. package/dist/src/modules/stats/view/Teams/StatsProgressBar.d.ts +1 -2
  130. package/dist/src/modules/stats/view/Teams/Teams.d.ts +53 -7
  131. package/dist/src/modules/stats/view/Teams/Teams.js +17 -1
  132. package/dist/src/modules/stats/view/WinProbability/WinProbability.d.ts +53 -7
  133. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.d.ts +53 -7
  134. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.d.ts +1 -2
  135. package/dist/src/modules/stats/view-model/StatsViewModel.d.ts +1 -1
  136. package/dist/src/modules/stats/view-model/StatsViewModel.js +1 -1
  137. package/dist/src/services/AnalyticsService/AnalyticsService.js +3 -1
  138. package/dist/src/services/NetworkManager/NetworkManager.js +3 -3
  139. package/dist/src/view-models/MaestroEventViewModel.d.ts +1 -1
  140. package/dist/src/view-models/MaestroEventViewModel.js +6 -9
  141. package/package.json +13 -9
@@ -1,3 +1,4 @@
1
+ /// <reference types="prop-types" />
1
2
  import React from 'react';
2
3
  import { Direction, Layout } from '@/external/spatial-navigation/utils';
3
4
  import { FantasyItem } from '../view-model/FantasyViewModel';
@@ -7,15 +8,15 @@ type Props = {
7
8
  };
8
9
  declare class FantasyItemView extends React.Component<Props> {
9
10
  static contextTypes: {
10
- refsMap: React.Requireable<any>;
11
- setRef: React.Requireable<any>;
12
- scrollToFocusedElement: React.Requireable<any>;
11
+ refsMap: import("prop-types").Requireable<(HTMLElement | null | undefined)[]>;
12
+ setRef: import("prop-types").Requireable<(...args: any[]) => any>;
13
+ scrollToFocusedElement: import("prop-types").Requireable<(...args: any[]) => any>;
13
14
  };
14
15
  context: import("@/components/core/ScrollableContainer/ScrollableContainer").ScrollableContainerContextType;
15
16
  onBecameFocused: (layout: Layout) => void;
16
17
  onArrowPress: (d: Direction) => void;
17
18
  onEnterPress: () => void;
18
- renderItem(): React.JSX.Element | null;
19
- render(): React.JSX.Element;
19
+ renderItem(): JSX.Element | null;
20
+ render(): JSX.Element;
20
21
  }
21
22
  export default FantasyItemView;
@@ -1,4 +1,4 @@
1
- import React, { Component } from 'react';
1
+ import { Component } from 'react';
2
2
  import './FantasyView.styles.css';
3
3
  import { Direction } from '@/external/spatial-navigation/utils';
4
4
  import FantasyViewModel, { FantasyErrorState, FantasyItem } from '../view-model/FantasyViewModel';
@@ -21,7 +21,7 @@ declare class FantasyView extends Component<{}, State> {
21
21
  clearTabLoadFailure: () => void;
22
22
  onArrowPress: (d: Direction) => void;
23
23
  onEnterPress: (item: FantasyItem) => void;
24
- renderItems: () => React.JSX.Element | React.JSX.Element[] | null;
25
- render(): React.JSX.Element;
24
+ renderItems: () => JSX.Element | JSX.Element[] | null;
25
+ render(): JSX.Element;
26
26
  }
27
27
  export default FantasyView;
@@ -18,6 +18,6 @@ declare class DraftDateCountDown extends React.Component<{
18
18
  label: string;
19
19
  value: string;
20
20
  }[];
21
- render(): React.JSX.Element;
21
+ render(): JSX.Element;
22
22
  }
23
23
  export default DraftDateCountDown;
@@ -7,7 +7,7 @@ type Props = {
7
7
  item: InactiveLeague;
8
8
  };
9
9
  declare const _default: {
10
- new (props?: (Props & WithFocusableProps) | undefined, context?: any): {
10
+ new (props: (Props & WithFocusableProps) | Readonly<Props & WithFocusableProps>): {
11
11
  state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
12
12
  navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
13
13
  getChildContext(): {
@@ -27,20 +27,65 @@ declare const _default: {
27
27
  componentDidMount(): void;
28
28
  componentDidUpdate(): void;
29
29
  componentWillUnmount(): void;
30
- render(): React.ReactElement<Props & WithFocusableProps>;
31
- setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Props & WithFocusableProps) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
32
- forceUpdate(callBack?: (() => any) | undefined): void;
33
- props: Readonly<{
34
- children?: React.ReactNode;
35
- }> & Readonly<Props & WithFocusableProps>;
30
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
36
31
  context: any;
32
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
33
+ forceUpdate(callback?: (() => void) | undefined): void;
34
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
35
+ children?: React.ReactNode;
36
+ }>;
37
37
  refs: {
38
38
  [key: string]: React.ReactInstance;
39
39
  };
40
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
41
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
42
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
40
43
  componentWillMount?(): void;
44
+ UNSAFE_componentWillMount?(): void;
41
45
  componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
46
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
47
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
48
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
49
+ };
50
+ new (props: Props & WithFocusableProps, context: any): {
51
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
52
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
53
+ getChildContext(): {
54
+ parentFocusKey: string;
55
+ };
56
+ setFocus: (focusKey: string) => void;
57
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
58
+ stealFocus: () => void;
59
+ onUpdateFocus: (focused: boolean) => void;
60
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
61
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
62
+ onEnterReleaseHandler: () => void;
63
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
64
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
65
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
66
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
67
+ componentDidMount(): void;
68
+ componentDidUpdate(): void;
69
+ componentWillUnmount(): void;
70
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
71
+ context: any;
72
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
73
+ forceUpdate(callback?: (() => void) | undefined): void;
74
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
75
+ children?: React.ReactNode;
76
+ }>;
77
+ refs: {
78
+ [key: string]: React.ReactInstance;
79
+ };
42
80
  shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
81
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
82
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
83
+ componentWillMount?(): void;
84
+ UNSAFE_componentWillMount?(): void;
85
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
86
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
43
87
  componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
88
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
44
89
  };
45
90
  contextTypes: {
46
91
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -48,5 +93,6 @@ declare const _default: {
48
93
  childContextTypes: {
49
94
  parentFocusKey: import("prop-types").Requireable<string>;
50
95
  };
96
+ contextType?: React.Context<any> | undefined;
51
97
  };
52
98
  export default _default;
@@ -3,7 +3,7 @@ import { WithFocusableProps } from '@/external/spatial-navigation';
3
3
  import React from 'react';
4
4
  import './LoginView.styles.css';
5
5
  declare const _default: {
6
- new (props?: (object & WithFocusableProps) | undefined, context?: any): {
6
+ new (props: (object & WithFocusableProps) | Readonly<object & WithFocusableProps>): {
7
7
  state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
8
8
  navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
9
9
  getChildContext(): {
@@ -23,20 +23,65 @@ declare const _default: {
23
23
  componentDidMount(): void;
24
24
  componentDidUpdate(): void;
25
25
  componentWillUnmount(): void;
26
- render(): React.ReactElement<object & WithFocusableProps>;
27
- setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: object & WithFocusableProps) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
28
- forceUpdate(callBack?: (() => any) | undefined): void;
29
- props: Readonly<{
30
- children?: React.ReactNode;
31
- }> & Readonly<object & WithFocusableProps>;
26
+ render(): React.ReactElement<object & WithFocusableProps, string | React.JSXElementConstructor<any>>;
32
27
  context: any;
28
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<object & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
29
+ forceUpdate(callback?: (() => void) | undefined): void;
30
+ readonly props: Readonly<object & WithFocusableProps> & Readonly<{
31
+ children?: React.ReactNode;
32
+ }>;
33
33
  refs: {
34
34
  [key: string]: React.ReactInstance;
35
35
  };
36
+ shouldComponentUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
37
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
38
+ getSnapshotBeforeUpdate?(prevProps: Readonly<object & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
36
39
  componentWillMount?(): void;
40
+ UNSAFE_componentWillMount?(): void;
37
41
  componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
42
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
43
+ componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
44
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
45
+ };
46
+ new (props: object & WithFocusableProps, context: any): {
47
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
48
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
49
+ getChildContext(): {
50
+ parentFocusKey: string;
51
+ };
52
+ setFocus: (focusKey: string) => void;
53
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
54
+ stealFocus: () => void;
55
+ onUpdateFocus: (focused: boolean) => void;
56
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
57
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
58
+ onEnterReleaseHandler: () => void;
59
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
60
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
61
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
62
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
63
+ componentDidMount(): void;
64
+ componentDidUpdate(): void;
65
+ componentWillUnmount(): void;
66
+ render(): React.ReactElement<object & WithFocusableProps, string | React.JSXElementConstructor<any>>;
67
+ context: any;
68
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<object & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
69
+ forceUpdate(callback?: (() => void) | undefined): void;
70
+ readonly props: Readonly<object & WithFocusableProps> & Readonly<{
71
+ children?: React.ReactNode;
72
+ }>;
73
+ refs: {
74
+ [key: string]: React.ReactInstance;
75
+ };
38
76
  shouldComponentUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
77
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
78
+ getSnapshotBeforeUpdate?(prevProps: Readonly<object & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
79
+ componentWillMount?(): void;
80
+ UNSAFE_componentWillMount?(): void;
81
+ componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
82
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
39
83
  componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
84
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
40
85
  };
41
86
  contextTypes: {
42
87
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -44,5 +89,6 @@ declare const _default: {
44
89
  childContextTypes: {
45
90
  parentFocusKey: import("prop-types").Requireable<string>;
46
91
  };
92
+ contextType?: React.Context<any> | undefined;
47
93
  };
48
94
  export default _default;
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import './DoubleAthleteCard.styles.css';
5
5
  import { MatchupPairRoster } from '@/modules/fantasy/view-model/FantasyViewModel';
6
6
  declare const _default: {
7
- new (props?: (MatchupPairRoster & WithFocusableProps) | undefined, context?: any): {
7
+ new (props: (MatchupPairRoster & WithFocusableProps) | Readonly<MatchupPairRoster & WithFocusableProps>): {
8
8
  state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState;
9
9
  navigation: import("../../../../../external/spatial-navigation/spatialNavigation").default;
10
10
  getChildContext(): {
@@ -24,20 +24,65 @@ declare const _default: {
24
24
  componentDidMount(): void;
25
25
  componentDidUpdate(): void;
26
26
  componentWillUnmount(): void;
27
- render(): React.ReactElement<MatchupPairRoster & WithFocusableProps>;
28
- setState<K extends keyof import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: MatchupPairRoster & WithFocusableProps) => import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
29
- forceUpdate(callBack?: (() => any) | undefined): void;
30
- props: Readonly<{
31
- children?: React.ReactNode;
32
- }> & Readonly<MatchupPairRoster & WithFocusableProps>;
27
+ render(): React.ReactElement<MatchupPairRoster & WithFocusableProps, string | React.JSXElementConstructor<any>>;
33
28
  context: any;
29
+ setState<K extends keyof import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<MatchupPairRoster & WithFocusableProps>) => import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
30
+ forceUpdate(callback?: (() => void) | undefined): void;
31
+ readonly props: Readonly<MatchupPairRoster & WithFocusableProps> & Readonly<{
32
+ children?: React.ReactNode;
33
+ }>;
34
34
  refs: {
35
35
  [key: string]: React.ReactInstance;
36
36
  };
37
+ shouldComponentUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
38
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
39
+ getSnapshotBeforeUpdate?(prevProps: Readonly<MatchupPairRoster & WithFocusableProps>, prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
37
40
  componentWillMount?(): void;
41
+ UNSAFE_componentWillMount?(): void;
38
42
  componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
43
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
44
+ componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
45
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
46
+ };
47
+ new (props: MatchupPairRoster & WithFocusableProps, context: any): {
48
+ state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState;
49
+ navigation: import("../../../../../external/spatial-navigation/spatialNavigation").default;
50
+ getChildContext(): {
51
+ parentFocusKey: string;
52
+ };
53
+ setFocus: (focusKey: string) => void;
54
+ navigateByDirection: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
55
+ stealFocus: () => void;
56
+ onUpdateFocus: (focused: boolean) => void;
57
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
58
+ onEnterPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
59
+ onEnterReleaseHandler: () => void;
60
+ onBackPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
61
+ onArrowPressHandler: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details: import("../../../../../external/spatial-navigation/utils").Details) => boolean | void;
62
+ onBecameFocusedHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
63
+ onBecameBlurredHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
64
+ componentDidMount(): void;
65
+ componentDidUpdate(): void;
66
+ componentWillUnmount(): void;
67
+ render(): React.ReactElement<MatchupPairRoster & WithFocusableProps, string | React.JSXElementConstructor<any>>;
68
+ context: any;
69
+ setState<K extends keyof import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<MatchupPairRoster & WithFocusableProps>) => import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
70
+ forceUpdate(callback?: (() => void) | undefined): void;
71
+ readonly props: Readonly<MatchupPairRoster & WithFocusableProps> & Readonly<{
72
+ children?: React.ReactNode;
73
+ }>;
74
+ refs: {
75
+ [key: string]: React.ReactInstance;
76
+ };
39
77
  shouldComponentUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
78
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
79
+ getSnapshotBeforeUpdate?(prevProps: Readonly<MatchupPairRoster & WithFocusableProps>, prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
80
+ componentWillMount?(): void;
81
+ UNSAFE_componentWillMount?(): void;
82
+ componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
83
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
40
84
  componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
85
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
41
86
  };
42
87
  contextTypes: {
43
88
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -45,5 +90,6 @@ declare const _default: {
45
90
  childContextTypes: {
46
91
  parentFocusKey: import("prop-types").Requireable<string>;
47
92
  };
93
+ contextType?: React.Context<any> | undefined;
48
94
  };
49
95
  export default _default;
@@ -9,6 +9,6 @@ type Props = {
9
9
  onBackPress: () => void;
10
10
  };
11
11
  declare class ExpandedDoubleAthleteCards extends React.Component<Props> {
12
- render(): React.JSX.Element;
12
+ render(): JSX.Element;
13
13
  }
14
14
  export default ExpandedDoubleAthleteCards;
@@ -9,7 +9,7 @@ type Props = {
9
9
  onEnterPress: () => void;
10
10
  };
11
11
  declare const _default: {
12
- new (props?: (Props & WithFocusableProps) | undefined, context?: any): {
12
+ new (props: (Props & WithFocusableProps) | Readonly<Props & WithFocusableProps>): {
13
13
  state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
14
14
  navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
15
15
  getChildContext(): {
@@ -29,20 +29,65 @@ declare const _default: {
29
29
  componentDidMount(): void;
30
30
  componentDidUpdate(): void;
31
31
  componentWillUnmount(): void;
32
- render(): React.ReactElement<Props & WithFocusableProps>;
33
- setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Props & WithFocusableProps) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
34
- forceUpdate(callBack?: (() => any) | undefined): void;
35
- props: Readonly<{
36
- children?: React.ReactNode;
37
- }> & Readonly<Props & WithFocusableProps>;
32
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
38
33
  context: any;
34
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
35
+ forceUpdate(callback?: (() => void) | undefined): void;
36
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
37
+ children?: React.ReactNode;
38
+ }>;
39
39
  refs: {
40
40
  [key: string]: React.ReactInstance;
41
41
  };
42
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
43
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
44
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
42
45
  componentWillMount?(): void;
46
+ UNSAFE_componentWillMount?(): void;
43
47
  componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
48
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
49
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
50
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
51
+ };
52
+ new (props: Props & WithFocusableProps, context: any): {
53
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
54
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
55
+ getChildContext(): {
56
+ parentFocusKey: string;
57
+ };
58
+ setFocus: (focusKey: string) => void;
59
+ navigateByDirection: (direction: Direction, details?: Record<string, any>) => void;
60
+ stealFocus: () => void;
61
+ onUpdateFocus: (focused: boolean) => void;
62
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
63
+ onEnterPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
64
+ onEnterReleaseHandler: () => void;
65
+ onBackPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
66
+ onArrowPressHandler: (direction: Direction, details: import("@/external/spatial-navigation/utils").Details) => boolean | void;
67
+ onBecameFocusedHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
68
+ onBecameBlurredHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
69
+ componentDidMount(): void;
70
+ componentDidUpdate(): void;
71
+ componentWillUnmount(): void;
72
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
73
+ context: any;
74
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
75
+ forceUpdate(callback?: (() => void) | undefined): void;
76
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
77
+ children?: React.ReactNode;
78
+ }>;
79
+ refs: {
80
+ [key: string]: React.ReactInstance;
81
+ };
44
82
  shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
83
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
84
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
85
+ componentWillMount?(): void;
86
+ UNSAFE_componentWillMount?(): void;
87
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
88
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
45
89
  componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
90
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
46
91
  };
47
92
  contextTypes: {
48
93
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -50,5 +95,6 @@ declare const _default: {
50
95
  childContextTypes: {
51
96
  parentFocusKey: import("prop-types").Requireable<string>;
52
97
  };
98
+ contextType?: React.Context<any> | undefined;
53
99
  };
54
100
  export default _default;
@@ -9,6 +9,6 @@ type Props = {
9
9
  onBackPress: () => void;
10
10
  };
11
11
  declare class ExpandedSingleAthleteCards extends React.Component<Props> {
12
- render(): React.JSX.Element;
12
+ render(): JSX.Element;
13
13
  }
14
14
  export default ExpandedSingleAthleteCards;
@@ -9,7 +9,7 @@ type Props = {
9
9
  onEnterPress: () => void;
10
10
  };
11
11
  declare const _default: {
12
- new (props?: (Props & WithFocusableProps) | undefined, context?: any): {
12
+ new (props: (Props & WithFocusableProps) | Readonly<Props & WithFocusableProps>): {
13
13
  state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
14
14
  navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
15
15
  getChildContext(): {
@@ -29,20 +29,65 @@ declare const _default: {
29
29
  componentDidMount(): void;
30
30
  componentDidUpdate(): void;
31
31
  componentWillUnmount(): void;
32
- render(): React.ReactElement<Props & WithFocusableProps>;
33
- setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Props & WithFocusableProps) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
34
- forceUpdate(callBack?: (() => any) | undefined): void;
35
- props: Readonly<{
36
- children?: React.ReactNode;
37
- }> & Readonly<Props & WithFocusableProps>;
32
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
38
33
  context: any;
34
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
35
+ forceUpdate(callback?: (() => void) | undefined): void;
36
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
37
+ children?: React.ReactNode;
38
+ }>;
39
39
  refs: {
40
40
  [key: string]: React.ReactInstance;
41
41
  };
42
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
43
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
44
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
42
45
  componentWillMount?(): void;
46
+ UNSAFE_componentWillMount?(): void;
43
47
  componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
48
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
49
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
50
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
51
+ };
52
+ new (props: Props & WithFocusableProps, context: any): {
53
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
54
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
55
+ getChildContext(): {
56
+ parentFocusKey: string;
57
+ };
58
+ setFocus: (focusKey: string) => void;
59
+ navigateByDirection: (direction: Direction, details?: Record<string, any>) => void;
60
+ stealFocus: () => void;
61
+ onUpdateFocus: (focused: boolean) => void;
62
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
63
+ onEnterPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
64
+ onEnterReleaseHandler: () => void;
65
+ onBackPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
66
+ onArrowPressHandler: (direction: Direction, details: import("@/external/spatial-navigation/utils").Details) => boolean | void;
67
+ onBecameFocusedHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
68
+ onBecameBlurredHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
69
+ componentDidMount(): void;
70
+ componentDidUpdate(): void;
71
+ componentWillUnmount(): void;
72
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
73
+ context: any;
74
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
75
+ forceUpdate(callback?: (() => void) | undefined): void;
76
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
77
+ children?: React.ReactNode;
78
+ }>;
79
+ refs: {
80
+ [key: string]: React.ReactInstance;
81
+ };
44
82
  shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
83
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
84
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
85
+ componentWillMount?(): void;
86
+ UNSAFE_componentWillMount?(): void;
87
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
88
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
45
89
  componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
90
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
46
91
  };
47
92
  contextTypes: {
48
93
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -50,5 +95,6 @@ declare const _default: {
50
95
  childContextTypes: {
51
96
  parentFocusKey: import("prop-types").Requireable<string>;
52
97
  };
98
+ contextType?: React.Context<any> | undefined;
53
99
  };
54
100
  export default _default;