be-components 3.8.5 → 3.8.7

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 (122) hide show
  1. package/lib/commonjs/Checkout/index.js +88 -74
  2. package/lib/commonjs/Checkout/index.js.map +1 -1
  3. package/lib/commonjs/Components/Themed.js +6 -0
  4. package/lib/commonjs/Components/Themed.js.map +1 -1
  5. package/lib/commonjs/Components/Toggle.js +0 -1
  6. package/lib/commonjs/Components/Toggle.js.map +1 -1
  7. package/lib/commonjs/SocialComponents/ArticleCard.js +31 -22
  8. package/lib/commonjs/SocialComponents/ArticleCard.js.map +1 -1
  9. package/lib/commonjs/SocialComponents/CompanyProfile/index.js +300 -267
  10. package/lib/commonjs/SocialComponents/CompanyProfile/index.js.map +1 -1
  11. package/lib/commonjs/SocialComponents/PlayerCard.js +28 -41
  12. package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
  13. package/lib/commonjs/SocialComponents/PlayerList.js +9 -8
  14. package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
  15. package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +36 -43
  16. package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -1
  17. package/lib/commonjs/SocialComponents/PlayerProfile/index.js +384 -356
  18. package/lib/commonjs/SocialComponents/PlayerProfile/index.js.map +1 -1
  19. package/lib/commonjs/SocialComponents/PodcastCard.js +14 -12
  20. package/lib/commonjs/SocialComponents/PodcastCard.js.map +1 -1
  21. package/lib/commonjs/SocialComponents/PodcastModule/index.js +0 -1
  22. package/lib/commonjs/SocialComponents/PodcastModule/index.js.map +1 -1
  23. package/lib/commonjs/SocialComponents/SocialOrdersList.js +5 -1
  24. package/lib/commonjs/SocialComponents/SocialOrdersList.js.map +1 -1
  25. package/lib/commonjs/constants/useColors.js +2 -0
  26. package/lib/commonjs/constants/useColors.js.map +1 -1
  27. package/lib/module/Checkout/index.js +89 -74
  28. package/lib/module/Checkout/index.js.map +1 -1
  29. package/lib/module/Components/Themed.js +6 -0
  30. package/lib/module/Components/Themed.js.map +1 -1
  31. package/lib/module/Components/Toggle.js +0 -1
  32. package/lib/module/Components/Toggle.js.map +1 -1
  33. package/lib/module/SocialComponents/ArticleCard.js +27 -18
  34. package/lib/module/SocialComponents/ArticleCard.js.map +1 -1
  35. package/lib/module/SocialComponents/CompanyProfile/index.js +297 -264
  36. package/lib/module/SocialComponents/CompanyProfile/index.js.map +1 -1
  37. package/lib/module/SocialComponents/PlayerCard.js +22 -35
  38. package/lib/module/SocialComponents/PlayerCard.js.map +1 -1
  39. package/lib/module/SocialComponents/PlayerList.js +8 -7
  40. package/lib/module/SocialComponents/PlayerList.js.map +1 -1
  41. package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +28 -35
  42. package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -1
  43. package/lib/module/SocialComponents/PlayerProfile/index.js +382 -355
  44. package/lib/module/SocialComponents/PlayerProfile/index.js.map +1 -1
  45. package/lib/module/SocialComponents/PodcastCard.js +11 -9
  46. package/lib/module/SocialComponents/PodcastCard.js.map +1 -1
  47. package/lib/module/SocialComponents/PodcastModule/index.js +0 -1
  48. package/lib/module/SocialComponents/PodcastModule/index.js.map +1 -1
  49. package/lib/module/SocialComponents/SocialOrdersList.js +5 -1
  50. package/lib/module/SocialComponents/SocialOrdersList.js.map +1 -1
  51. package/lib/module/constants/useColors.js +2 -0
  52. package/lib/module/constants/useColors.js.map +1 -1
  53. package/lib/typescript/lib/commonjs/Checkout/index.d.ts.map +1 -1
  54. package/lib/typescript/lib/commonjs/Components/Themed.d.ts.map +1 -1
  55. package/lib/typescript/lib/commonjs/Components/Toggle.d.ts.map +1 -1
  56. package/lib/typescript/lib/commonjs/SocialComponents/ArticleCard.d.ts.map +1 -1
  57. package/lib/typescript/lib/commonjs/SocialComponents/CompanyProfile/index.d.ts.map +1 -1
  58. package/lib/typescript/lib/commonjs/SocialComponents/PlayerCard.d.ts +1 -3
  59. package/lib/typescript/lib/commonjs/SocialComponents/PlayerCard.d.ts.map +1 -1
  60. package/lib/typescript/lib/commonjs/SocialComponents/PlayerList.d.ts +1 -2
  61. package/lib/typescript/lib/commonjs/SocialComponents/PlayerList.d.ts.map +1 -1
  62. package/lib/typescript/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts +2 -2
  63. package/lib/typescript/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts.map +1 -1
  64. package/lib/typescript/lib/commonjs/SocialComponents/PlayerProfile/index.d.ts +1 -2
  65. package/lib/typescript/lib/commonjs/SocialComponents/PlayerProfile/index.d.ts.map +1 -1
  66. package/lib/typescript/lib/commonjs/SocialComponents/PodcastCard.d.ts.map +1 -1
  67. package/lib/typescript/lib/commonjs/SocialComponents/PodcastModule/index.d.ts.map +1 -1
  68. package/lib/typescript/lib/commonjs/SocialComponents/SocialOrdersList.d.ts.map +1 -1
  69. package/lib/typescript/lib/commonjs/constants/useColors.d.ts +1 -0
  70. package/lib/typescript/lib/commonjs/constants/useColors.d.ts.map +1 -1
  71. package/lib/typescript/lib/module/Checkout/index.d.ts.map +1 -1
  72. package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -1
  73. package/lib/typescript/lib/module/Components/Toggle.d.ts.map +1 -1
  74. package/lib/typescript/lib/module/SocialComponents/ArticleCard.d.ts +1 -2
  75. package/lib/typescript/lib/module/SocialComponents/ArticleCard.d.ts.map +1 -1
  76. package/lib/typescript/lib/module/SocialComponents/CompanyProfile/index.d.ts +1 -2
  77. package/lib/typescript/lib/module/SocialComponents/CompanyProfile/index.d.ts.map +1 -1
  78. package/lib/typescript/lib/module/SocialComponents/PlayerCard.d.ts +2 -5
  79. package/lib/typescript/lib/module/SocialComponents/PlayerCard.d.ts.map +1 -1
  80. package/lib/typescript/lib/module/SocialComponents/PlayerList.d.ts +2 -4
  81. package/lib/typescript/lib/module/SocialComponents/PlayerList.d.ts.map +1 -1
  82. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts +3 -4
  83. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts.map +1 -1
  84. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/index.d.ts +2 -5
  85. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/index.d.ts.map +1 -1
  86. package/lib/typescript/lib/module/SocialComponents/PodcastCard.d.ts +1 -2
  87. package/lib/typescript/lib/module/SocialComponents/PodcastCard.d.ts.map +1 -1
  88. package/lib/typescript/lib/module/SocialComponents/PodcastModule/index.d.ts.map +1 -1
  89. package/lib/typescript/lib/module/SocialComponents/SocialOrdersList.d.ts.map +1 -1
  90. package/lib/typescript/lib/module/constants/useColors.d.ts +1 -0
  91. package/lib/typescript/lib/module/constants/useColors.d.ts.map +1 -1
  92. package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
  93. package/lib/typescript/src/Components/Themed.d.ts +1 -1
  94. package/lib/typescript/src/Components/Themed.d.ts.map +1 -1
  95. package/lib/typescript/src/SocialComponents/ArticleCard.d.ts.map +1 -1
  96. package/lib/typescript/src/SocialComponents/CompanyProfile/index.d.ts.map +1 -1
  97. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts +2 -4
  98. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts.map +1 -1
  99. package/lib/typescript/src/SocialComponents/PlayerList.d.ts +2 -2
  100. package/lib/typescript/src/SocialComponents/PlayerList.d.ts.map +1 -1
  101. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts +2 -1
  102. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts.map +1 -1
  103. package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts +3 -4
  104. package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts.map +1 -1
  105. package/lib/typescript/src/SocialComponents/PodcastCard.d.ts.map +1 -1
  106. package/lib/typescript/src/SocialComponents/PodcastModule/index.d.ts.map +1 -1
  107. package/lib/typescript/src/constants/useColors.d.ts +1 -0
  108. package/lib/typescript/src/constants/useColors.d.ts.map +1 -1
  109. package/package.json +1 -1
  110. package/src/Checkout/index.tsx +60 -54
  111. package/src/Components/Themed.tsx +7 -1
  112. package/src/Components/Toggle.tsx +1 -1
  113. package/src/SocialComponents/ArticleCard.tsx +15 -20
  114. package/src/SocialComponents/CompanyProfile/index.tsx +186 -160
  115. package/src/SocialComponents/PlayerCard.tsx +16 -24
  116. package/src/SocialComponents/PlayerList.tsx +6 -7
  117. package/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx +25 -33
  118. package/src/SocialComponents/PlayerProfile/index.tsx +228 -221
  119. package/src/SocialComponents/PodcastCard.tsx +8 -9
  120. package/src/SocialComponents/PodcastModule/index.tsx +0 -1
  121. package/src/SocialComponents/SocialOrdersList.tsx +1 -1
  122. package/src/constants/useColors.tsx +2 -0
@@ -1,12 +1,11 @@
1
1
  export default PlayerFollowersList;
2
- declare function PlayerFollowersList({ status, total, height, viewing_player, player_id, onClose }: {
2
+ declare function PlayerFollowersList({ status, total, viewing_player, player_id, onClose, onSelectPlayer }: {
3
3
  status: any;
4
4
  total: any;
5
- height: any;
6
5
  viewing_player: any;
7
6
  player_id: any;
8
7
  onClose: any;
9
- }): React.CElement<import("react-native").ViewProps, View>;
10
- import { View } from 'react-native';
8
+ onSelectPlayer: any;
9
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
11
10
  import React from 'react';
12
11
  //# sourceMappingURL=PlayerFollowersList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerFollowersList.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js"],"names":[],"mappings":";AAOA;;;;;;;2DAuHC;qBA7H0D,cAAc;kBAD9B,OAAO"}
1
+ {"version":3,"file":"PlayerFollowersList.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js"],"names":[],"mappings":";AAOA;;;;;;;kGAgHC;kBAvH0C,OAAO"}
@@ -1,7 +1,6 @@
1
1
  export default PlayerProfile;
2
- declare function PlayerProfile({ viewing_player_id, maxWidth, padding_insets, player_id, height, onStartChat, onHeadToHead, onCopyOrder, onFadeOrder, onViewPostComments, onEditProfile, onSelectPlayer, onRequestAuthenticate, onBack }: {
2
+ declare function PlayerProfile({ viewing_player_id, padding_insets, player_id, height, onStartChat, onHeadToHead, onCopyOrder, onFadeOrder, onViewPostComments, onEditProfile, onSelectPlayer, onRequestAuthenticate, onBack }: {
3
3
  viewing_player_id: any;
4
- maxWidth: any;
5
4
  padding_insets: any;
6
5
  player_id: any;
7
6
  height: any;
@@ -14,8 +13,6 @@ declare function PlayerProfile({ viewing_player_id, maxWidth, padding_insets, pl
14
13
  onSelectPlayer: any;
15
14
  onRequestAuthenticate: any;
16
15
  onBack: any;
17
- }): React.CElement<import("react-native").ActivityIndicatorProps, ActivityIndicator> | React.CElement<import("react-native").ViewProps, View>;
18
- import { ActivityIndicator } from 'react-native';
16
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
19
17
  import React from 'react';
20
- import { View } from 'react-native';
21
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PlayerProfile/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;8IAyjBC;kCAnkByG,cAAc;kBAD7E,OAAO;qBACwD,cAAc"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PlayerProfile/index.js"],"names":[],"mappings":";AAYA;;;;;;;;;;;;;;kGAulBC;kBAnmB0C,OAAO"}
@@ -3,7 +3,6 @@ declare function PodcastCard({ podcast, width, onSelectPodcast }: {
3
3
  podcast: any;
4
4
  width: any;
5
5
  onSelectPodcast: any;
6
- }): React.FunctionComponentElement<import("react-native").TouchableOpacityProps & React.RefAttributes<View>>;
7
- import { View } from 'react-native';
6
+ }): React.FunctionComponentElement<any>;
8
7
  import React from 'react';
9
8
  //# sourceMappingURL=PodcastCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PodcastCard.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/PodcastCard.js"],"names":[],"mappings":";AAMA;;;;6GAqCC;qBA1C6C,cAAc;kBAD1C,OAAO"}
1
+ {"version":3,"file":"PodcastCard.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/PodcastCard.js"],"names":[],"mappings":";AAKA;;;;wCAwCC;kBA7CiB,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PodcastModule/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;2DAkeC;qBA5esF,cAAc;kBAD1D,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PodcastModule/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;2DAieC;qBA3esF,cAAc;kBAD1D,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";AAKA;;;;;;;;kGA8FC;kBAnG0C,OAAO"}
1
+ {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";AAKA;;;;;;;;kGAkGC;kBAvG0C,OAAO"}
@@ -102,6 +102,7 @@ export function useColors(): {
102
102
  };
103
103
  background: {
104
104
  success: string;
105
+ action: string;
105
106
  error: string;
106
107
  close: string;
107
108
  info: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useColors.d.ts","sourceRoot":"","sources":["../../../../module/constants/useColors.js"],"names":[],"mappings":"AAEO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqLN"}
1
+ {"version":3,"file":"useColors.d.ts","sourceRoot":"","sources":["../../../../module/constants/useColors.js"],"names":[],"mappings":"AAEO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuLN"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Checkout/index.tsx"],"names":[],"mappings":"AAAA,OAAQ,KAA8B,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAgB,kBAAkB,EAAE,cAAc,EAAgD,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAiBjJ,KAAK,aAAa,GAAG;IACjB,UAAU,EAAC,cAAc,CAAC;IAC1B,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,eAAe,CAAC,EAAC,CAAC,GAAG,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAClD,mBAAmB,EAAC,MAAM,IAAI,CAAC;IAC/B,eAAe,EAAC,CAAC,UAAU,EAAC,cAAc,EAAE,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAClF,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,QAAQ,wGAAwG,aAAa,sBAmblI,CAAA;AAGD,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Checkout/index.tsx"],"names":[],"mappings":"AAAA,OAAQ,KAA8B,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAgB,kBAAkB,EAAE,cAAc,EAAgD,gBAAgB,EAAE,MAAM,UAAU,CAAC;AA4BjJ,KAAK,aAAa,GAAG;IACjB,UAAU,EAAC,cAAc,CAAC;IAC1B,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,eAAe,CAAC,EAAC,CAAC,GAAG,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAClD,mBAAmB,EAAC,MAAM,IAAI,CAAC;IAC/B,eAAe,EAAC,CAAC,UAAU,EAAC,cAAc,EAAE,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAClF,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,QAAQ,wGAAwG,aAAa,sBA8alI,CAAA;AAGD,eAAe,QAAQ,CAAA"}
@@ -24,7 +24,7 @@ type BEButtonProps = {
24
24
  transparent?: boolean;
25
25
  title_color?: string;
26
26
  borderColor?: string;
27
- type?: 'info' | 'close' | 'success' | 'warning' | 'error' | 'text' | 'squares' | 'competition';
27
+ type?: 'info' | 'close' | 'success' | 'warning' | 'error' | 'text' | 'squares' | 'competition' | 'action';
28
28
  };
29
29
  export type ButtonProps = BEButtonProps & TouchableOpacityProps;
30
30
  export declare const Button: (props: ButtonProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Themed.d.ts","sourceRoot":"","sources":["../../../../src/Components/Themed.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAqB,IAAI,IAAI,WAAW,EAAE,IAAI,IAAI,WAAW,EAAyC,KAAK,qBAAqB,EAAkB,MAAM,cAAc,CAAC;AAI7M,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,IAAI,GAAC,IAAI,GAAC,aAAa,GAAC,OAAO,GAAC,SAAS,GAAC,SAAS,GAAC,OA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SocialComponents/ArticleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAK5E,KAAK,gBAAgB,GAAG;IACpB,YAAY,CAAC,EAAC,gBAAgB,CAAC;IAC/B,OAAO,EAAC,YAAY,CAAC;IACrB,KAAK,EAAC,MAAM,CAAC;IACb,OAAO,CAAC,EAAC,CAAC,QAAQ,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AACD,QAAA,MAAM,WAAW,+DAA+D,gBAAgB,sBAqC/F,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"ArticleCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/ArticleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAG5E,KAAK,gBAAgB,GAAG;IACpB,YAAY,CAAC,EAAC,gBAAgB,CAAC;IAC/B,OAAO,EAAC,YAAY,CAAC;IACrB,KAAK,EAAC,MAAM,CAAC;IACb,OAAO,CAAC,EAAC,CAAC,QAAQ,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AACD,QAAA,MAAM,WAAW,+DAA+D,gBAAgB,sBAkC/F,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/CompanyProfile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAoB,YAAY,EAAE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,UAAU,EAAC,MAAM,CAAC;IAClB,cAAc,CAAC,EAAC;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,CAAA;KAAE,CAAC;IAC9C,mBAAmB,EAAC,CAAC,CAAC,EAAC,gBAAgB,KAAK,IAAI,CAAC;IACjD,0BAA0B,EAAC,CAAC,EAAE,EAAC,uBAAuB,KAAK,IAAI,CAAC;IAChE,0BAA0B,EAAC,CAAC,EAAE,EAAC,uBAAuB,KAAK,IAAI,CAAC;IAChE,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAC,CAAC,QAAQ,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,eAAe,EAAC,CAAC,GAAG,EAAC,YAAY,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAC,CAAC,MAAM,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAClD,MAAM,CAAC,EAAC,MAAM,IAAI,CAAC;IACnB,cAAc,CAAC,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AAGD,QAAA,MAAM,cAAc,mMAAmM,mBAAmB,sBAsbzO,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -9,11 +9,9 @@ type PlayerCardProps = {
9
9
  player_following?: PlayerFollowerProps;
10
10
  show_follow?: boolean;
11
11
  style?: any;
12
- border?: boolean;
13
- float?: boolean;
14
- onSelectPlayer: (p: PublicPlayerProps) => void;
12
+ onSelectPlayer?: (p: PublicPlayerProps) => void;
15
13
  onFollowingUpdate: (pf: PlayerFollowerProps) => void;
16
14
  };
17
- declare const PlayerCard: ({ player, width, border, follow_loading, alignment, style, float, show_follow, player_follower, player_following, onSelectPlayer, onFollowingUpdate }: PlayerCardProps) => React.JSX.Element;
15
+ declare const PlayerCard: ({ player, width, follow_loading, alignment, style, show_follow, player_follower, player_following, onSelectPlayer, onFollowingUpdate }: PlayerCardProps) => React.JSX.Element;
18
16
  export default PlayerCard;
19
17
  //# sourceMappingURL=PlayerCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAOvE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAC,iBAAiB,CAAC;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,cAAc,CAAC,EAAC,OAAO,CAAC;IACxB,SAAS,CAAC,EAAC,UAAU,GAAC,YAAY,CAAC;IACnC,eAAe,CAAC,EAAC,mBAAmB,CAAC;IACrC,gBAAgB,CAAC,EAAC,mBAAmB,CAAC;IACtC,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,MAAM,CAAC,EAAC,OAAO,CAAC;IAChB,KAAK,CAAC,EAAC,OAAO,CAAC;IACf,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAC,CAAC,EAAE,EAAC,mBAAmB,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,QAAA,MAAM,UAAU,0JAA0J,eAAe,sBA2CxL,CAAA;AAoBD,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAMvE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAC,iBAAiB,CAAC;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,cAAc,CAAC,EAAC,OAAO,CAAC;IACxB,SAAS,CAAC,EAAC,UAAU,GAAC,YAAY,CAAC;IACnC,eAAe,CAAC,EAAC,mBAAmB,CAAC;IACrC,gBAAgB,CAAC,EAAC,mBAAmB,CAAC;IACtC,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC9C,iBAAiB,EAAC,CAAC,EAAE,EAAC,mBAAmB,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,QAAA,MAAM,UAAU,2IAA2I,eAAe,sBAyCzK,CAAA;AAiBD,eAAe,UAAU,CAAA"}
@@ -3,12 +3,12 @@ import type { PublicPlayerProps } from '../types';
3
3
  type PlayerListProps = {
4
4
  players: PublicPlayerProps[];
5
5
  style?: any;
6
- onPlayerSelect: (p: PublicPlayerProps) => void;
6
+ onPlayerSelect?: (p: PublicPlayerProps) => void;
7
7
  options: {
8
8
  follow_status?: boolean;
9
9
  direction: 'horizontal' | 'vertical';
10
10
  };
11
11
  };
12
- declare const PlayerList: ({ players, style, options, onPlayerSelect }: PlayerListProps) => React.JSX.Element;
12
+ declare const PlayerList: ({ players, options, onPlayerSelect }: PlayerListProps) => React.JSX.Element;
13
13
  export default PlayerList;
14
14
  //# sourceMappingURL=PlayerList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEvE,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE;QACL,aAAa,CAAC,EAAC,OAAO,CAAC;QACvB,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;KACxC,CAAA;CACJ,CAAA;AAED,QAAA,MAAM,UAAU,gDAAgD,eAAe,sBAyD9E,CAAA;AAQD,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"PlayerList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGvE,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC9C,OAAO,EAAE;QACL,aAAa,CAAC,EAAC,OAAO,CAAC;QACvB,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;KACxC,CAAA;CACJ,CAAA;AAED,QAAA,MAAM,UAAU,yCAAyC,eAAe,sBAuDvE,CAAA;AAQD,eAAe,UAAU,CAAA"}
@@ -3,11 +3,12 @@ import type { PublicPlayerProps } from '../../../types';
3
3
  type PlayerFollowersListProps = {
4
4
  status: 'following' | 'followers';
5
5
  viewing_player: PublicPlayerProps;
6
+ onSelectPlayer?: (p: PublicPlayerProps) => void;
6
7
  total?: number;
7
8
  player_id?: string;
8
9
  height?: number;
9
10
  onClose: () => void;
10
11
  };
11
- declare const PlayerFollowersList: ({ status, total, height, viewing_player, player_id, onClose }: PlayerFollowersListProps) => React.JSX.Element;
12
+ declare const PlayerFollowersList: ({ status, total, viewing_player, player_id, onClose, onSelectPlayer }: PlayerFollowersListProps) => React.JSX.Element;
12
13
  export default PlayerFollowersList;
13
14
  //# sourceMappingURL=PlayerFollowersList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerFollowersList.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAO7E,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAE,WAAW,GAAC,WAAW,CAAC;IAChC,cAAc,EAAC,iBAAiB,CAAC;IACjC,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,mBAAmB,kEAAkE,wBAAwB,sBA0FlH,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"PlayerFollowersList.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAO7E,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAE,WAAW,GAAC,WAAW,CAAC;IAChC,cAAc,EAAC,iBAAiB,CAAC;IACjC,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,mBAAmB,0EAA0E,wBAAwB,sBAiF1H,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import type { OrderProps } from '../../types';
2
+ import type { OrderProps, PublicPlayerProps } from '../../types';
3
3
  type PlayerProfileProps = {
4
4
  viewing_player_id: string;
5
5
  player_id?: string;
6
6
  height?: number;
7
- maxWidth: number;
8
7
  padding_insets?: {
9
8
  top: number;
10
9
  bottom: number;
@@ -16,11 +15,11 @@ type PlayerProfileProps = {
16
15
  onShareProfile?: (player_id: string) => void;
17
16
  onSharePost?: (post_id: string) => void;
18
17
  onViewPostComments: (post_id: string) => void;
19
- onSelectPlayer: (player_id: string) => void;
18
+ onSelectPlayer: (player: PublicPlayerProps) => void;
20
19
  onRequestAuthenticate: () => void;
21
20
  onEditProfile: () => void;
22
21
  onBack?: () => void;
23
22
  };
24
- declare const PlayerProfile: ({ viewing_player_id, maxWidth, padding_insets, player_id, height, onStartChat, onHeadToHead, onCopyOrder, onFadeOrder, onViewPostComments, onEditProfile, onSelectPlayer, onRequestAuthenticate, onBack }: PlayerProfileProps) => React.JSX.Element;
23
+ declare const PlayerProfile: ({ viewing_player_id, padding_insets, player_id, height, onStartChat, onHeadToHead, onCopyOrder, onFadeOrder, onViewPostComments, onEditProfile, onSelectPlayer, onRequestAuthenticate, onBack }: PlayerProfileProps) => React.JSX.Element;
25
24
  export default PlayerProfile;
26
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PlayerProfile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAqF,MAAM,aAAa,CAAC;AAWjI,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAC,MAAM,CAAC;IACzB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,QAAQ,EAAC,MAAM,CAAC;IAChB,cAAc,CAAC,EAAC;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,CAAA;KAAE,CAAC;IAC9C,WAAW,CAAC,EAAC,CAAC,SAAS,EAAC,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,C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EAAC,UAAU,KAAK,IAAI,CAAC;IACxC,WAAW,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAC;IACvC,cAAc,CAAC,EAAC,CAAC,SAAS,EAAC,MAAM,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAC,CAAC,OAAO,EAAC,MAAM,KAAK,IAAI,CAAC;IACtC,kBAAkB,EAAC,CAAC,OAAO,EAAC,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAC,CAAC,MAAM,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAClD,qBAAqB,EAAC,MAAM,IAAI,CAAC;IACjC,aAAa,EAAC,MAAM,IAAI,CAAC;IACzB,MAAM,CAAC,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AAGD,QAAA,MAAM,aAAa,oMAAoM,kBAAkB,sBA2ZxO,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PodcastCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PodcastCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAM7C,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,YAAY,CAAC;IACrB,KAAK,EAAC,MAAM,CAAC;IACb,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AACD,QAAA,MAAM,WAAW,wCAAwC,eAAe,sBAgBvE,CAAA;AACD,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"PodcastCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PodcastCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAK7C,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,YAAY,CAAC;IACrB,KAAK,EAAC,MAAM,CAAC;IACb,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AACD,QAAA,MAAM,WAAW,wCAAwC,eAAe,sBAgBvE,CAAA;AACD,eAAe,WAAW,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PodcastModule/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAA4C,oBAAoB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAWnI,KAAK,kBAAkB,GAAG;IACtB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,UAAU,EAAC,MAAM,CAAC;IAClB,cAAc,CAAC,EAAC;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,CAAA;KAAE,CAAC;IAC9C,MAAM,CAAC,EAAC,MAAM,IAAI,CAAC;IACnB,cAAc,CAAC,EAAC,CAAC,EAAE,EAAC,oBAAoB,KAAK,IAAI,CAAC;IAClD,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,eAAe,EAAC,CAAC,EAAE,EAAC,oBAAoB,KAAK,IAAI,CAAA;IACjD,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAA;CAChD,CAAA;AAED,QAAA,MAAM,aAAa,uHAAuH,kBAAkB,sBA8R3J,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PodcastModule/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAA4C,oBAAoB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAWnI,KAAK,kBAAkB,GAAG;IACtB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,UAAU,EAAC,MAAM,CAAC;IAClB,cAAc,CAAC,EAAC;QAAE,GAAG,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,CAAA;KAAE,CAAC;IAC9C,MAAM,CAAC,EAAC,MAAM,IAAI,CAAC;IACnB,cAAc,CAAC,EAAC,CAAC,EAAE,EAAC,oBAAoB,KAAK,IAAI,CAAC;IAClD,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,eAAe,EAAC,CAAC,EAAE,EAAC,oBAAoB,KAAK,IAAI,CAAA;IACjD,cAAc,CAAC,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAA;CAChD,CAAA;AAED,QAAA,MAAM,aAAa,uHAAuH,kBAAkB,sBA6R3J,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -102,6 +102,7 @@ export declare const useColors: () => {
102
102
  };
103
103
  background: {
104
104
  success: string;
105
+ action: string;
105
106
  error: string;
106
107
  close: string;
107
108
  info: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useColors.d.ts","sourceRoot":"","sources":["../../../../src/constants/useColors.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKrB,CAAA"}
1
+ {"version":3,"file":"useColors.d.ts","sourceRoot":"","sources":["../../../../src/constants/useColors.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqKrB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "3.8.5",
3
+ "version": "3.8.7",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -17,6 +17,17 @@ import { Button, Text, View } from '../Components/Themed';
17
17
  import { useColors } from '../constants/useColors';
18
18
  import WebView from 'react-native-webview';
19
19
 
20
+ /*
21
+ Modal Management
22
+ - Confirm Order ->
23
+ 1) When the order comes back launch the confirm or redirect modal
24
+ 2) If redirect. HandleRedirect does the following
25
+ -Launches the completing modal (Web view)
26
+ 3) When the order comes back with a new status of not redirect
27
+ - Close the completing modal
28
+ */
29
+
30
+
20
31
  type CheckoutProps = {
21
32
  item_order:ItemOrderProps,
22
33
  account_id?:string,
@@ -29,6 +40,8 @@ type CheckoutProps = {
29
40
  const Checkout = ({ item_order, height, account_id, onCancel, onCompleteOrder, onFocusPosition, onRequestNewAccount }:CheckoutProps) => {
30
41
  const Colors = useColors();
31
42
  const [ loading, setLoading ] = useState(false);
43
+ const [ redirect_visible, setRedirectVisible ] = useState(false);
44
+
32
45
  const [ completing, setCompleting ] = useState(false);
33
46
  const [ error, setError ] = useState<string|undefined>();
34
47
  const [ show_addresses, setShowAddresses ] = useState<{
@@ -128,8 +141,10 @@ const Checkout = ({ item_order, height, account_id, onCancel, onCompleteOrder, o
128
141
  setCheckout({
129
142
  ip_item_order: resp.item_order,
130
143
  ip_transaction: resp.transaction
131
- })
144
+ });
145
+ if(resp.transaction.status == 'redirect'){ setRedirectVisible(true) }
132
146
  } catch (e) {
147
+ console.log(e)
133
148
  setError('Unable to complete your order. Please try again or reach out to support if the issue persists')
134
149
  setLoading(false);
135
150
  }
@@ -151,6 +166,8 @@ const Checkout = ({ item_order, height, account_id, onCancel, onCompleteOrder, o
151
166
  setTimeout(() => {
152
167
  checkTransactionStatus()
153
168
  }, 2000);
169
+ } else {
170
+ setCompleting(false);
154
171
  }
155
172
 
156
173
  }
@@ -318,59 +335,8 @@ const Checkout = ({ item_order, height, account_id, onCancel, onCompleteOrder, o
318
335
  : <></>}
319
336
  </View>
320
337
  </PayPalScriptProvider>
321
- {Platform.OS != 'web' ?
322
- <Modal
323
- transparent
324
- visible={completing && ip_transaction && ip_transaction.status == 'redirect' && ip_transaction.redirect_url ? true : false}
325
- style={{ flex:1 }}
326
- >
327
- <View type='blur' style={{ flex:1, padding:20, paddingTop:50, paddingBottom:50 }}>
328
- <View float style={{flex:1}}>
329
- {completing && ip_transaction && ip_transaction.redirect_url ?
330
- <WebView
331
- style={{ flex:1 }}
332
- originWhitelist={['*']}
333
- source={{ uri:ip_transaction.redirect_url }}
334
- />
335
-
336
- :<></>}
337
- </View>
338
- </View>
339
- </Modal>
340
- :<></>}
341
- <Modal
342
- visible={show_addresses.visible}
343
- transparent
344
- animationType='slide'
345
- style={{flex:1}}
346
- >
347
- <View type='blur' style={{ flex:1 }}>
348
- <AddressManager
349
- player={player}
350
- onFocusPosition={onFocusPosition}
351
- player_addresses={player_addresses}
352
- location={location}
353
- onCancel={() => setShowAddresses({ visible:false })}
354
- onRemoveAddress={(addy) => {
355
- let selected_addy = billing_address && billing_address.player_address_id == addy.player_address_id ? undefined : billing_address
356
- if(show_addresses.address_type == 'billing'){
357
- setCheckoutData({ ...checkout_data, billing_address: selected_addy, player_addresses: player_addresses.filter(pa => pa.player_address_id != addy.player_address_id) })
358
- } else {
359
- setCheckoutData({ ...checkout_data, shipping_address: selected_addy, player_addresses: player_addresses.filter(pa => pa.player_address_id != addy.player_address_id) })
360
- }
361
- }}
362
- onAddAddress={(addy) => handleChangeBillingAddress(addy, show_addresses.address_type)}
363
- onSelect={(addy) => handleChangeBillingAddress(addy, show_addresses.address_type)}
364
- />
365
- </View>
366
- </Modal>
367
- <Modal
368
- transparent
369
- animationType='slide'
370
- visible={ip_transaction && ip_transaction ? true : false}
371
- style={{flex:1}}
372
- >
373
- <View type='blur' style={{ flex:1, justifyContent:'flex-end' }}>
338
+ {redirect_visible ?
339
+ <View type='blur' style={{ flex:1, position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'flex-end' }}>
374
340
  {ip_item_order && ip_transaction ?
375
341
  <View float style={{ borderTopRightRadius:22, borderTopLeftRadius:22 }}>
376
342
  {ip_transaction.status == 'posted' ?
@@ -446,8 +412,48 @@ const Checkout = ({ item_order, height, account_id, onCancel, onCompleteOrder, o
446
412
  </View>
447
413
  :<></>}
448
414
  </View>
415
+ :<></>}
416
+ {Platform.OS != 'web' && completing ?
417
+ <View type='blur' style={{ flex:1, position:'absolute', top:0, left:0, right:0, bottom:0, padding:20, paddingTop:50, paddingBottom:50 }}>
418
+ <View float style={{flex:1}}>
419
+ {completing && ip_transaction && ip_transaction.redirect_url ?
420
+ <WebView
421
+ style={{ flex:1 }}
422
+ originWhitelist={['*']}
423
+ source={{ uri:ip_transaction.redirect_url }}
424
+ />
425
+ :<></>}
426
+ </View>
427
+ </View>
428
+ :<></>}
429
+ <Modal
430
+ visible={show_addresses.visible}
431
+ transparent
432
+ animationType='slide'
433
+ style={{flex:1}}
434
+ >
435
+ <View type='blur' style={{ flex:1 }}>
436
+ <AddressManager
437
+ player={player}
438
+ onFocusPosition={onFocusPosition}
439
+ player_addresses={player_addresses}
440
+ location={location}
441
+ onCancel={() => setShowAddresses({ visible:false })}
442
+ onRemoveAddress={(addy) => {
443
+ let selected_addy = billing_address && billing_address.player_address_id == addy.player_address_id ? undefined : billing_address
444
+ if(show_addresses.address_type == 'billing'){
445
+ setCheckoutData({ ...checkout_data, billing_address: selected_addy, player_addresses: player_addresses.filter(pa => pa.player_address_id != addy.player_address_id) })
446
+ } else {
447
+ setCheckoutData({ ...checkout_data, shipping_address: selected_addy, player_addresses: player_addresses.filter(pa => pa.player_address_id != addy.player_address_id) })
448
+ }
449
+ }}
450
+ onAddAddress={(addy) => handleChangeBillingAddress(addy, show_addresses.address_type)}
451
+ onSelect={(addy) => handleChangeBillingAddress(addy, show_addresses.address_type)}
452
+ />
453
+ </View>
449
454
  </Modal>
450
455
 
456
+
451
457
  {show_location ?
452
458
  <View style={{ position:'absolute', top:0, bottom:0, left:0, right:0, justifyContent:'flex-end' }}>
453
459
  <LocationTracker
@@ -112,7 +112,7 @@ type BEButtonProps = {
112
112
  transparent?:boolean,
113
113
  title_color?:string,
114
114
  borderColor?:string,
115
- type?: 'info'|'close'|'success'|'warning'|'error'|'text'|'squares'|'competition'
115
+ type?: 'info'|'close'|'success'|'warning'|'error'|'text'|'squares'|'competition'|'action'
116
116
  }
117
117
  export type ButtonProps = BEButtonProps & TouchableOpacityProps;
118
118
 
@@ -145,6 +145,12 @@ export const Button = (props:ButtonProps) => {
145
145
  border_width: 0,
146
146
  border_color:'transparent'
147
147
  }
148
+ case 'action':
149
+ return {
150
+ background_color:C.buttons.background.action,
151
+ text_color:C.text.white,
152
+ border_width:0
153
+ }
148
154
  case 'text':
149
155
  return {
150
156
  background_color: 'transparent',
@@ -56,7 +56,7 @@ const Toggle = ({ options, background_color, active_title_color, toggle_padding,
56
56
  }
57
57
 
58
58
  return (
59
- <View style={{ flexGrow:1,borderRadius:border_radius ?? 8, backgroundColor:background_color ?? Colors.toggle.background, padding:4 }} onLayout={(ev) => {
59
+ <View style={{ borderRadius:border_radius ?? 8, backgroundColor:background_color ?? Colors.toggle.background, padding:4 }} onLayout={(ev) => {
60
60
  const { width } = ev.nativeEvent.layout;
61
61
  setToggleWidth(width)
62
62
  }}>
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
- import { View, Image, TouchableOpacity } from 'react-native';
2
+ import { Image } from 'react-native';
3
3
  import type { ArticleFeedProps, ArticleProps, BEEventProps } from "../types"
4
- import { Text } from '../Components';
5
- import { view_styles } from '../constants/styles';
6
- import Colors from '../constants/colors';
4
+ import { Button, Text, View } from '../Components/Themed';
7
5
 
8
6
  type ArticleCardProps = {
9
7
  article_feed?:ArticleFeedProps,
@@ -13,9 +11,8 @@ type ArticleCardProps = {
13
11
  onSelectArticle:(article:ArticleProps) => void
14
12
  }
15
13
  const ArticleCard = ({ article_feed, article, width, onSelectArticle, onEvent }:ArticleCardProps) => {
16
-
17
14
  return (
18
- <TouchableOpacity style={{ ...view_styles.section, width, flex:1 }} onPress={() => {
15
+ <Button style={{ flex:1, width:width, padding:0, borderRadius:8 }} onPress={() => {
19
16
  onSelectArticle(article)
20
17
  if(onEvent){
21
18
  onEvent({
@@ -29,25 +26,23 @@ const ArticleCard = ({ article_feed, article, width, onSelectArticle, onEvent }:
29
26
  }
30
27
  }}>
31
28
  {article_feed ?
32
- <View style={{ ...view_styles.section_header, backgroundColor:Colors.shades.shade100 }}>
33
- <View style={{ flex:1 }}>
34
- <Text theme='header_2'>{article_feed.feed_name}</Text>
29
+ <View type='header' style={{ flexDirection:'row', alignItems:'center', padding:10, borderTopRightRadius:8, borderTopLeftRadius:8 }}>
30
+ <View transparent style={{ flex:1 }}>
31
+ <Text theme='h1'>{article_feed.feed_name}</Text>
35
32
  </View>
36
33
  </View>
37
34
  :<></>}
38
- <View style={{ ...view_styles.section_body, padding:0 }}>
39
- <View>
40
- <Image
41
- source={{ uri: article.image?.url }}
42
- style={{ width:width, height:width * 0.66 }}
43
- resizeMode='cover'
44
- />
45
- </View>
46
- <View style={{ padding:5 }}>
47
- <Text theme='header_2'>{article.title}</Text>
35
+ <View type='body' style={{ flex:1, padding:0, borderBottomRightRadius:8, borderBottomLeftRadius:8 }}>
36
+ <Image
37
+ source={{ uri: article.image?.url }}
38
+ style={{ width:width, height:width * 0.5}}
39
+ resizeMode='cover'
40
+ />
41
+ <View transparent style={{ padding:5, flex:1 }}>
42
+ <Text theme='h2'>{article.title}</Text>
48
43
  </View>
49
44
  </View>
50
- </TouchableOpacity>
45
+ </Button>
51
46
  )
52
47
  }
53
48