@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
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maestro_io/maestro-web-sdk",
3
3
  "private": false,
4
- "version": "3.3.1",
4
+ "version": "3.3.2",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "main": "dist/maestro-web-sdk.umd.js",
@@ -38,19 +38,19 @@
38
38
  "@babel/preset-env": "7.12.1",
39
39
  "@babel/preset-react": "7.12.1",
40
40
  "@babel/preset-typescript": "7.12.1",
41
- "@types/enzyme-adapter-react-15": "^1.0.9",
41
+ "@types/enzyme-adapter-react-16": "^1.0.6",
42
42
  "@types/jest": "24.0.25",
43
43
  "@types/node": "10",
44
44
  "@types/prop-types": "^15.7.10",
45
- "@types/react": "15",
46
- "@types/react-dom": "15",
45
+ "@types/react": "16.14.34",
46
+ "@types/react-dom": "16.9.18",
47
47
  "@typescript-eslint/eslint-plugin": "2.34.0",
48
48
  "@typescript-eslint/parser": "2.34.0",
49
49
  "babel-jest": "26.6.3",
50
50
  "babel-loader": "8",
51
51
  "css-loader": "5",
52
52
  "enzyme": "3.11.0",
53
- "enzyme-adapter-react-15": "1.0.6",
53
+ "enzyme-adapter-react-16": "1.15.7",
54
54
  "eslint": "6.8.0",
55
55
  "eslint-config-prettier": "6.0.0",
56
56
  "eslint-plugin-react": "7.20.0",
@@ -62,7 +62,7 @@
62
62
  "jest": "26.6.3",
63
63
  "nodemon": "^3.1.9",
64
64
  "prettier": "2.0.5",
65
- "react-test-renderer": "15",
65
+ "react-test-renderer": "16.14.0",
66
66
  "style-loader": "2",
67
67
  "tsconfig-paths-webpack-plugin": "^4.2.0",
68
68
  "typescript": "^4",
@@ -75,9 +75,13 @@
75
75
  "@sentry/browser": "7.68.0",
76
76
  "axios": "^0.27.2",
77
77
  "flexibility": "^2.0.1",
78
- "prop-types": "15",
79
- "react": "^15.0.0",
80
- "react-dom": "^15.0.0"
78
+ "prop-types": "15.8.1",
79
+ "react": "16.14.0",
80
+ "react-dom": "16.14.0"
81
+ },
82
+ "peerDependencies": {
83
+ "react": "^16.0.0",
84
+ "react-dom": "^16.0.0"
81
85
  },
82
86
  "resolutions": {
83
87
  "sockjs-client": "1.5.1",
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { ButtonHTMLAttributes } from 'react';
3
3
  import './BaseButton.styles.css';
4
4
  declare class BaseButton extends React.Component<ButtonHTMLAttributes<HTMLButtonElement>> {
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default BaseButton;
@@ -8,6 +8,6 @@ declare class Image extends React.Component<ImageProps> {
8
8
  };
9
9
  constructor(props: ImageProps);
10
10
  handleError: () => void;
11
- render(): React.JSX.Element | null;
11
+ render(): JSX.Element | null;
12
12
  }
13
13
  export default Image;
@@ -2,13 +2,19 @@
2
2
  import React from 'react';
3
3
  import { WithFocusableProps } from '@/external/spatial-navigation';
4
4
  declare const _default: {
5
- new (props?: (React.CanvasHTMLAttributes<HTMLCanvasElement> & {
5
+ new (props: (React.CanvasHTMLAttributes<HTMLCanvasElement> & {
6
6
  id: string;
7
7
  autoFocus: boolean;
8
8
  autoPlay: boolean;
9
9
  src: string;
10
10
  onLoadRiveInstance: (riveInstance: any) => void;
11
- } & WithFocusableProps) | undefined, context?: any): {
11
+ } & WithFocusableProps) | Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
12
+ id: string;
13
+ autoFocus: boolean;
14
+ autoPlay: boolean;
15
+ src: string;
16
+ onLoadRiveInstance: (riveInstance: any) => void;
17
+ } & WithFocusableProps>): {
12
18
  state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
13
19
  navigation: import("../../../external/spatial-navigation/spatialNavigation").default;
14
20
  getChildContext(): {
@@ -34,29 +40,45 @@ declare const _default: {
34
40
  autoPlay: boolean;
35
41
  src: string;
36
42
  onLoadRiveInstance: (riveInstance: any) => void;
37
- } & WithFocusableProps>;
38
- 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: React.CanvasHTMLAttributes<HTMLCanvasElement> & {
43
+ } & WithFocusableProps, string | React.JSXElementConstructor<any>>;
44
+ context: any;
45
+ 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<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
39
46
  id: string;
40
47
  autoFocus: boolean;
41
48
  autoPlay: boolean;
42
49
  src: string;
43
50
  onLoadRiveInstance: (riveInstance: any) => void;
44
- } & 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;
45
- forceUpdate(callBack?: (() => any) | undefined): void;
46
- props: Readonly<{
47
- children?: React.ReactNode;
48
- }> & Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
51
+ } & 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;
52
+ forceUpdate(callback?: (() => void) | undefined): void;
53
+ readonly props: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
49
54
  id: string;
50
55
  autoFocus: boolean;
51
56
  autoPlay: boolean;
52
57
  src: string;
53
58
  onLoadRiveInstance: (riveInstance: any) => void;
54
- } & WithFocusableProps>;
55
- context: any;
59
+ } & WithFocusableProps> & Readonly<{
60
+ children?: React.ReactNode;
61
+ }>;
56
62
  refs: {
57
63
  [key: string]: React.ReactInstance;
58
64
  };
65
+ shouldComponentUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
66
+ id: string;
67
+ autoFocus: boolean;
68
+ autoPlay: boolean;
69
+ src: string;
70
+ onLoadRiveInstance: (riveInstance: any) => void;
71
+ } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
72
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
73
+ getSnapshotBeforeUpdate?(prevProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
74
+ id: string;
75
+ autoFocus: boolean;
76
+ autoPlay: boolean;
77
+ src: string;
78
+ onLoadRiveInstance: (riveInstance: any) => void;
79
+ } & WithFocusableProps>, prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
59
80
  componentWillMount?(): void;
81
+ UNSAFE_componentWillMount?(): void;
60
82
  componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
61
83
  id: string;
62
84
  autoFocus: boolean;
@@ -64,6 +86,82 @@ declare const _default: {
64
86
  src: string;
65
87
  onLoadRiveInstance: (riveInstance: any) => void;
66
88
  } & WithFocusableProps>, nextContext: any): void;
89
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
90
+ id: string;
91
+ autoFocus: boolean;
92
+ autoPlay: boolean;
93
+ src: string;
94
+ onLoadRiveInstance: (riveInstance: any) => void;
95
+ } & WithFocusableProps>, nextContext: any): void;
96
+ componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
97
+ id: string;
98
+ autoFocus: boolean;
99
+ autoPlay: boolean;
100
+ src: string;
101
+ onLoadRiveInstance: (riveInstance: any) => void;
102
+ } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
103
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
104
+ id: string;
105
+ autoFocus: boolean;
106
+ autoPlay: boolean;
107
+ src: string;
108
+ onLoadRiveInstance: (riveInstance: any) => void;
109
+ } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
110
+ };
111
+ new (props: React.CanvasHTMLAttributes<HTMLCanvasElement> & {
112
+ id: string;
113
+ autoFocus: boolean;
114
+ autoPlay: boolean;
115
+ src: string;
116
+ onLoadRiveInstance: (riveInstance: any) => void;
117
+ } & WithFocusableProps, context: any): {
118
+ state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
119
+ navigation: import("../../../external/spatial-navigation/spatialNavigation").default;
120
+ getChildContext(): {
121
+ parentFocusKey: string;
122
+ };
123
+ setFocus: (focusKey: string) => void;
124
+ navigateByDirection: (direction: import("../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
125
+ stealFocus: () => void;
126
+ onUpdateFocus: (focused: boolean) => void;
127
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
128
+ onEnterPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
129
+ onEnterReleaseHandler: () => void;
130
+ onBackPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
131
+ onArrowPressHandler: (direction: import("../../../external/spatial-navigation/utils").Direction, details: import("../../../external/spatial-navigation/utils").Details) => boolean | void;
132
+ onBecameFocusedHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
133
+ onBecameBlurredHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
134
+ componentDidMount(): void;
135
+ componentDidUpdate(): void;
136
+ componentWillUnmount(): void;
137
+ render(): React.ReactElement<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
138
+ id: string;
139
+ autoFocus: boolean;
140
+ autoPlay: boolean;
141
+ src: string;
142
+ onLoadRiveInstance: (riveInstance: any) => void;
143
+ } & WithFocusableProps, string | React.JSXElementConstructor<any>>;
144
+ context: any;
145
+ 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<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
146
+ id: string;
147
+ autoFocus: boolean;
148
+ autoPlay: boolean;
149
+ src: string;
150
+ onLoadRiveInstance: (riveInstance: any) => void;
151
+ } & 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;
152
+ forceUpdate(callback?: (() => void) | undefined): void;
153
+ readonly props: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
154
+ id: string;
155
+ autoFocus: boolean;
156
+ autoPlay: boolean;
157
+ src: string;
158
+ onLoadRiveInstance: (riveInstance: any) => void;
159
+ } & WithFocusableProps> & Readonly<{
160
+ children?: React.ReactNode;
161
+ }>;
162
+ refs: {
163
+ [key: string]: React.ReactInstance;
164
+ };
67
165
  shouldComponentUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
68
166
  id: string;
69
167
  autoFocus: boolean;
@@ -71,6 +169,30 @@ declare const _default: {
71
169
  src: string;
72
170
  onLoadRiveInstance: (riveInstance: any) => void;
73
171
  } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
172
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
173
+ getSnapshotBeforeUpdate?(prevProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
174
+ id: string;
175
+ autoFocus: boolean;
176
+ autoPlay: boolean;
177
+ src: string;
178
+ onLoadRiveInstance: (riveInstance: any) => void;
179
+ } & WithFocusableProps>, prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
180
+ componentWillMount?(): void;
181
+ UNSAFE_componentWillMount?(): void;
182
+ componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
183
+ id: string;
184
+ autoFocus: boolean;
185
+ autoPlay: boolean;
186
+ src: string;
187
+ onLoadRiveInstance: (riveInstance: any) => void;
188
+ } & WithFocusableProps>, nextContext: any): void;
189
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
190
+ id: string;
191
+ autoFocus: boolean;
192
+ autoPlay: boolean;
193
+ src: string;
194
+ onLoadRiveInstance: (riveInstance: any) => void;
195
+ } & WithFocusableProps>, nextContext: any): void;
74
196
  componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
75
197
  id: string;
76
198
  autoFocus: boolean;
@@ -78,6 +200,13 @@ declare const _default: {
78
200
  src: string;
79
201
  onLoadRiveInstance: (riveInstance: any) => void;
80
202
  } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
203
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
204
+ id: string;
205
+ autoFocus: boolean;
206
+ autoPlay: boolean;
207
+ src: string;
208
+ onLoadRiveInstance: (riveInstance: any) => void;
209
+ } & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
81
210
  };
82
211
  contextTypes: {
83
212
  parentFocusKey: import("prop-types").Requireable<string>;
@@ -85,5 +214,6 @@ declare const _default: {
85
214
  childContextTypes: {
86
215
  parentFocusKey: import("prop-types").Requireable<string>;
87
216
  };
217
+ contextType?: React.Context<any> | undefined;
88
218
  };
89
219
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconProps } from './Icon';
3
- declare const BetGeneralIcon: (props: IconProps) => React.JSX.Element;
2
+ declare const BetGeneralIcon: (props: IconProps) => JSX.Element;
4
3
  export default BetGeneralIcon;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class BetsIcon extends React.Component<IconProps> {
4
4
  constructor(props: IconProps);
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default BetsIcon;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class BetsWarningIcon extends React.Component<IconProps> {
4
4
  constructor(props: IconProps);
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default BetsWarningIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare const ChatIcon: (props: IconProps) => React.JSX.Element;
4
+ export default ChatIcon;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconProps } from './Icon';
3
- declare const CheckmarkIcon: (props: IconProps) => React.JSX.Element;
2
+ declare const CheckmarkIcon: (props: IconProps) => JSX.Element;
4
3
  export default CheckmarkIcon;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconProps } from './Icon';
3
- declare const CollapseIcon: (props: IconProps) => React.JSX.Element;
2
+ declare const CollapseIcon: (props: IconProps) => JSX.Element;
4
3
  export default CollapseIcon;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconProps } from './Icon';
3
- declare const ExpandIcon: (props: IconProps) => React.JSX.Element;
2
+ declare const ExpandIcon: (props: IconProps) => JSX.Element;
4
3
  export default ExpandIcon;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class FantasyIcon extends React.Component<IconProps> {
4
4
  constructor(props: IconProps);
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default FantasyIcon;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class FlameIcon extends React.Component<IconProps> {
4
4
  constructor(props: IconProps);
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default FlameIcon;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const HelloWorldIcon: () => React.JSX.Element;
3
+ export default HelloWorldIcon;
@@ -15,10 +15,10 @@ declare const iconImports: {
15
15
  bets: typeof BetsIcon;
16
16
  stats: typeof StatsIcon;
17
17
  warning: typeof WarningIcon;
18
- expand: (props: IconProps) => React.JSX.Element;
19
- collapse: (props: IconProps) => React.JSX.Element;
20
- times: (props: IconProps) => React.JSX.Element;
21
- checkmark: (props: IconProps) => React.JSX.Element;
18
+ expand: (props: IconProps) => JSX.Element;
19
+ collapse: (props: IconProps) => JSX.Element;
20
+ times: (props: IconProps) => JSX.Element;
21
+ checkmark: (props: IconProps) => JSX.Element;
22
22
  flame: typeof FlameIcon;
23
23
  betsWarning: typeof BetsWarningIcon;
24
24
  mobilePhone: typeof MobilePhoneIcon;
@@ -35,6 +35,6 @@ interface IconState {
35
35
  loaded: boolean;
36
36
  }
37
37
  declare class Icon extends React.Component<IconProps, IconState> {
38
- render(): React.JSX.Element;
38
+ render(): JSX.Element;
39
39
  }
40
40
  export default Icon;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class KeyPlaysIcon extends React.Component<IconProps, {}> {
4
- render(): React.JSX.Element;
4
+ render(): JSX.Element;
5
5
  }
6
6
  export default KeyPlaysIcon;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class MobilePhoneIcon extends React.Component<IconProps> {
4
4
  constructor(props: IconProps);
5
- render(): React.JSX.Element;
5
+ render(): JSX.Element;
6
6
  }
7
7
  export default MobilePhoneIcon;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class PlayIcon extends React.Component<IconProps, {}> {
4
- render(): React.JSX.Element;
4
+ render(): JSX.Element;
5
5
  }
6
6
  export default PlayIcon;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  export default class ShopIcon extends React.Component<IconProps> {
4
- render(): React.JSX.Element;
4
+ render(): JSX.Element;
5
5
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare const ShopifyIcon: (props: IconProps) => React.JSX.Element;
4
+ export default ShopifyIcon;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class StatsIcon extends React.Component<IconProps, {}> {
4
- render(): React.JSX.Element;
4
+ render(): JSX.Element;
5
5
  }
6
6
  export default StatsIcon;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IconProps } from './Icon';
3
- declare const TimesIcon: (props: IconProps) => React.JSX.Element;
2
+ declare const TimesIcon: (props: IconProps) => JSX.Element;
4
3
  export default TimesIcon;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from './Icon';
3
3
  declare class WarningIcon extends React.Component<IconProps, {}> {
4
- render(): React.JSX.Element;
4
+ render(): JSX.Element;
5
5
  }
6
6
  export default WarningIcon;
@@ -6,6 +6,6 @@ declare class App extends React.Component<{
6
6
  get colors(): import("@/models/ITheme").IThemeColors;
7
7
  componentDidMount(): void;
8
8
  componentWillUnmount(): void;
9
- render(): React.JSX.Element;
9
+ render(): JSX.Element;
10
10
  }
11
11
  export default App;
@@ -16,6 +16,6 @@ declare class PanelManager extends React.Component<{}, PanelManagerState> {
16
16
  componentDidMount(): void;
17
17
  componentWillUnmount(): void;
18
18
  goToPanel(panel: MaestroPanelType): () => void;
19
- render(): React.JSX.Element;
19
+ render(): JSX.Element;
20
20
  }
21
21
  export default PanelManager;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import PropTypes from 'prop-types';
2
3
  import './ScrollableContainer.styles.css';
3
4
  import { Layout } from '@/external/spatial-navigation/utils';
4
5
  export interface ScrollableContainerContextType {
@@ -55,9 +56,9 @@ declare class ScrollableContainer extends React.Component<ScrollableContainerPro
55
56
  };
56
57
  setRef: (ref: HTMLElement) => void;
57
58
  static childContextTypes: {
58
- refsMap: React.Requireable<any>;
59
- setRef: React.Requireable<any>;
60
- scrollToFocusedElement: React.Requireable<any>;
59
+ refsMap: PropTypes.Requireable<(HTMLElement | null | undefined)[]>;
60
+ setRef: PropTypes.Requireable<(...args: any[]) => any>;
61
+ scrollToFocusedElement: PropTypes.Requireable<(...args: any[]) => any>;
61
62
  };
62
63
  getOrderedRefs: () => HTMLElement[];
63
64
  /**
@@ -66,12 +67,12 @@ declare class ScrollableContainer extends React.Component<ScrollableContainerPro
66
67
  private scrollToFocusedElement;
67
68
  getChildContext(): ScrollableContainerContextType;
68
69
  componentWillUnmount(): void;
69
- render(): React.JSX.Element;
70
+ render(): JSX.Element;
70
71
  }
71
72
  export declare const DEFAULT_SCROLLABLE_CONTAINER_CONTEXT: ScrollableContainerContextType;
72
73
  export declare const SCROLLABLE_CONTEXT_TYPE: {
73
- refsMap: React.Requireable<any>;
74
- setRef: React.Requireable<any>;
75
- scrollToFocusedElement: React.Requireable<any>;
74
+ refsMap: PropTypes.Requireable<(HTMLElement | null | undefined)[]>;
75
+ setRef: PropTypes.Requireable<(...args: any[]) => any>;
76
+ scrollToFocusedElement: PropTypes.Requireable<(...args: any[]) => any>;
76
77
  };
77
78
  export default ScrollableContainer;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import PropTypes from 'prop-types';
2
3
  import './ScrollableContainer.styles.css';
3
4
  const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
4
5
  /**
@@ -150,9 +151,9 @@ Object.defineProperty(ScrollableContainer, "childContextTypes", {
150
151
  configurable: true,
151
152
  writable: true,
152
153
  value: {
153
- refsMap: React.PropTypes.arrayOf(React.PropTypes.instanceOf(HTMLElement)),
154
- setRef: React.PropTypes.func,
155
- scrollToFocusedElement: React.PropTypes.func,
154
+ refsMap: PropTypes.arrayOf(PropTypes.instanceOf(HTMLElement)),
155
+ setRef: PropTypes.func,
156
+ scrollToFocusedElement: PropTypes.func,
156
157
  }
157
158
  });
158
159
  export const DEFAULT_SCROLLABLE_CONTAINER_CONTEXT = {
@@ -161,8 +162,8 @@ export const DEFAULT_SCROLLABLE_CONTAINER_CONTEXT = {
161
162
  refsMap: [],
162
163
  };
163
164
  export const SCROLLABLE_CONTEXT_TYPE = {
164
- refsMap: React.PropTypes.arrayOf(React.PropTypes.instanceOf(HTMLElement)),
165
- setRef: React.PropTypes.func,
166
- scrollToFocusedElement: React.PropTypes.func,
165
+ refsMap: PropTypes.arrayOf(PropTypes.instanceOf(HTMLElement)),
166
+ setRef: PropTypes.func,
167
+ scrollToFocusedElement: PropTypes.func,
167
168
  };
168
169
  export default ScrollableContainer;
@@ -3,7 +3,7 @@ import './ActionButton.styles.css';
3
3
  import { WithFocusableProps } from '@/external/spatial-navigation';
4
4
  import React from 'react';
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;