@maestro_io/maestro-web-sdk 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/maestro-web-sdk.esm.js +5 -5
  2. package/dist/maestro-web-sdk.esm.js.map +1 -1
  3. package/dist/maestro-web-sdk.umd.js +5 -5
  4. package/dist/maestro-web-sdk.umd.js.map +1 -1
  5. package/dist/src/components/atoms/SvgIcon/Icon.d.ts +2 -0
  6. package/dist/src/components/atoms/SvgIcon/ShopIcon.d.ts +5 -0
  7. package/dist/src/interfaces/IMaestroEvent.d.ts +4 -0
  8. package/dist/src/interfaces/IUserSettings.d.ts +4 -0
  9. package/dist/src/models/IPanel.d.ts +1 -0
  10. package/dist/src/modules/fantasy/mocks.d.ts +7620 -0
  11. package/dist/src/modules/fantasy/types.d.ts +1 -1
  12. package/dist/src/modules/fantasy/view-model/FantasyViewModel.FantasyPolling.d.ts +2 -4
  13. package/dist/src/modules/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.d.ts +2 -2
  14. package/dist/src/modules/fantasy/view-model/FantasyViewModel.d.ts +4 -2
  15. package/dist/src/modules/shop/mocks.d.ts +22 -0
  16. package/dist/src/modules/shop/types.d.ts +161 -0
  17. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.d.ts +10 -0
  18. package/dist/src/modules/shop/view/ProductDetailView/index.d.ts +2 -0
  19. package/dist/src/modules/shop/view/ShopView.d.ts +35 -0
  20. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.d.ts +55 -0
  21. package/dist/src/modules/shop/view/components/BrowseCard/index.d.ts +2 -0
  22. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.d.ts +56 -0
  23. package/dist/src/modules/shop/view/components/ProductSummaryCard/index.d.ts +2 -0
  24. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.d.ts +9 -0
  25. package/dist/src/modules/shop/view/components/ShopPromoView/index.d.ts +1 -0
  26. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.d.ts +21 -0
  27. package/dist/src/modules/shop/view/components/ShopSection/index.d.ts +1 -0
  28. package/dist/src/modules/shop/view/index.d.ts +2 -0
  29. package/dist/src/modules/shop/view-model/ShopViewModel.ShopPolling.d.ts +31 -0
  30. package/dist/src/modules/shop/view-model/ShopViewModel.d.ts +77 -0
  31. package/dist/src/services/AnalyticsService/AnalyticsService.d.ts +16 -3
  32. package/dist/src/services/FantasyService.d.ts +3 -4
  33. package/dist/src/services/NetworkManager/types.d.ts +1 -0
  34. package/dist/src/services/ShopService.d.ts +23 -0
  35. package/dist/src/view-models/MaestroEventViewModel.d.ts +2 -0
  36. package/package.json +1 -3
@@ -8,6 +8,7 @@ import FlameIcon from './FlameIcon';
8
8
  import BetsWarningIcon from './BetsWarningIcon';
9
9
  import MobilePhoneIcon from './MobilePhoneIcon';
10
10
  import FantasyIcon from './FantasyIcon';
11
+ import ShopIcon from './ShopIcon';
11
12
  declare const iconImports: {
12
13
  keyPlays: typeof KeyPlaysIcon;
13
14
  play: typeof PlayIcon;
@@ -22,6 +23,7 @@ declare const iconImports: {
22
23
  betsWarning: typeof BetsWarningIcon;
23
24
  mobilePhone: typeof MobilePhoneIcon;
24
25
  fantasy: typeof FantasyIcon;
26
+ shop: typeof ShopIcon;
25
27
  };
26
28
  export type IconsName = keyof typeof iconImports;
27
29
  export type IconProps = {
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ export default class ShopIcon extends React.Component<IconProps> {
4
+ render(): React.JSX.Element;
5
+ }
@@ -105,6 +105,10 @@ declare const TEST_USE_CASES: {
105
105
  readonly showFootballInGameStatsMockData: "showFootballInGameStatsMockData";
106
106
  readonly showHockeyPreGameStatsMockData: "showHockeyPreGameStatsMockData";
107
107
  readonly showHockeyInGameStatsMockData: "showHockeyInGameStatsMockData";
108
+ readonly shopTabLoadFailure: "shopTabLoadFailure";
109
+ readonly shopEmptyState: "shopEmptyState";
110
+ readonly shopMockData: "shopMockData";
111
+ readonly shopLiveData: "shopLiveData";
108
112
  };
109
113
  export type TestUseCase = typeof TEST_USE_CASES[keyof typeof TEST_USE_CASES];
110
114
  export {};
@@ -22,6 +22,10 @@ export interface IUserSettings {
22
22
  /** Hide the entire fantasy panel from panel selection */
23
23
  hidePanel?: boolean;
24
24
  };
25
+ shop?: {
26
+ /** Hide the entire shop panel from panel selection */
27
+ hidePanel?: boolean;
28
+ };
25
29
  };
26
30
  }
27
31
  /**
@@ -3,6 +3,7 @@ export declare const MaestroPanelType: {
3
3
  readonly STATS: "stats";
4
4
  readonly BETS: "bets";
5
5
  readonly FANTASY: "fantasy";
6
+ readonly SHOP: "shop";
6
7
  };
7
8
  export type MaestroPanelType = typeof MaestroPanelType[keyof typeof MaestroPanelType];
8
9
  export interface PanelTypeInfo {