be-components 3.5.2 → 3.5.3

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 (68) hide show
  1. package/lib/commonjs/Competition/index.js +7 -1
  2. package/lib/commonjs/Competition/index.js.map +1 -1
  3. package/lib/commonjs/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -1
  4. package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js +11 -9
  5. package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js.map +1 -1
  6. package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js +18 -18
  7. package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -1
  8. package/lib/commonjs/SocialComponents/PostCard/index.js +35 -35
  9. package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -1
  10. package/lib/commonjs/SocialComponents/SocialOrderCard.js +64 -48
  11. package/lib/commonjs/SocialComponents/SocialOrderCard.js.map +1 -1
  12. package/lib/commonjs/SocialComponents/SocialOrdersList.js +3 -2
  13. package/lib/commonjs/SocialComponents/SocialOrdersList.js.map +1 -1
  14. package/lib/commonjs/SocialComponents/index.js +7 -0
  15. package/lib/commonjs/SocialComponents/index.js.map +1 -1
  16. package/lib/module/Competition/index.js +8 -2
  17. package/lib/module/Competition/index.js.map +1 -1
  18. package/lib/module/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -1
  19. package/lib/module/SocialComponents/PostCard/components/PostHeader.js +8 -6
  20. package/lib/module/SocialComponents/PostCard/components/PostHeader.js.map +1 -1
  21. package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js +14 -13
  22. package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -1
  23. package/lib/module/SocialComponents/PostCard/index.js +30 -30
  24. package/lib/module/SocialComponents/PostCard/index.js.map +1 -1
  25. package/lib/module/SocialComponents/SocialOrderCard.js +46 -30
  26. package/lib/module/SocialComponents/SocialOrderCard.js.map +1 -1
  27. package/lib/module/SocialComponents/SocialOrdersList.js +2 -1
  28. package/lib/module/SocialComponents/SocialOrdersList.js.map +1 -1
  29. package/lib/module/SocialComponents/index.js +2 -1
  30. package/lib/module/SocialComponents/index.js.map +1 -1
  31. package/lib/typescript/lib/commonjs/Competition/index.d.ts.map +1 -1
  32. package/lib/typescript/lib/commonjs/SocialComponents/PostCard/components/PostHeader.d.ts.map +1 -1
  33. package/lib/typescript/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.d.ts.map +1 -1
  34. package/lib/typescript/lib/commonjs/SocialComponents/PostCard/index.d.ts.map +1 -1
  35. package/lib/typescript/lib/commonjs/SocialComponents/SocialOrderCard.d.ts.map +1 -1
  36. package/lib/typescript/lib/commonjs/SocialComponents/SocialOrdersList.d.ts.map +1 -1
  37. package/lib/typescript/lib/commonjs/SocialComponents/index.d.ts +1 -0
  38. package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
  39. package/lib/typescript/lib/module/SocialComponents/PostCard/components/PostHeader.d.ts +1 -2
  40. package/lib/typescript/lib/module/SocialComponents/PostCard/components/PostHeader.d.ts.map +1 -1
  41. package/lib/typescript/lib/module/SocialComponents/PostCard/components/PostReactionBar.d.ts +1 -2
  42. package/lib/typescript/lib/module/SocialComponents/PostCard/components/PostReactionBar.d.ts.map +1 -1
  43. package/lib/typescript/lib/module/SocialComponents/PostCard/index.d.ts.map +1 -1
  44. package/lib/typescript/lib/module/SocialComponents/SocialOrderCard.d.ts +1 -2
  45. package/lib/typescript/lib/module/SocialComponents/SocialOrderCard.d.ts.map +1 -1
  46. package/lib/typescript/lib/module/SocialComponents/SocialOrdersList.d.ts +1 -2
  47. package/lib/typescript/lib/module/SocialComponents/SocialOrdersList.d.ts.map +1 -1
  48. package/lib/typescript/lib/module/SocialComponents/index.d.ts +2 -1
  49. package/lib/typescript/lib/module/SocialComponents/index.d.ts.map +1 -1
  50. package/lib/typescript/src/Competition/index.d.ts.map +1 -1
  51. package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -1
  52. package/lib/typescript/src/SocialComponents/PostCard/components/PostHeader.d.ts.map +1 -1
  53. package/lib/typescript/src/SocialComponents/PostCard/components/PostReactionBar.d.ts.map +1 -1
  54. package/lib/typescript/src/SocialComponents/PostCard/index.d.ts +4 -3
  55. package/lib/typescript/src/SocialComponents/PostCard/index.d.ts.map +1 -1
  56. package/lib/typescript/src/SocialComponents/SocialOrderCard.d.ts.map +1 -1
  57. package/lib/typescript/src/SocialComponents/SocialOrdersList.d.ts.map +1 -1
  58. package/lib/typescript/src/SocialComponents/index.d.ts +2 -1
  59. package/lib/typescript/src/SocialComponents/index.d.ts.map +1 -1
  60. package/package.json +1 -1
  61. package/src/Competition/index.tsx +19 -13
  62. package/src/SocialComponents/PostCard/components/DraftTextViewer.tsx +5 -4
  63. package/src/SocialComponents/PostCard/components/PostHeader.tsx +6 -7
  64. package/src/SocialComponents/PostCard/components/PostReactionBar.tsx +13 -14
  65. package/src/SocialComponents/PostCard/index.tsx +33 -26
  66. package/src/SocialComponents/SocialOrderCard.tsx +29 -28
  67. package/src/SocialComponents/SocialOrdersList.tsx +2 -1
  68. package/src/SocialComponents/index.tsx +3 -1
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","View","FlatList","SocialOrderCard","SocialComponentApi","SocialOrderHelpers","SocialOrdersList","maxWidth","players","show_player","orders","direction","onCopyOrder","onFadeOrder","list_data","setListData","loading","leagues","events","tournaments","matches","athletes","teams","setEnvironment","getDataFromServer","length","event_ids","tournament_ids","match_ids","athlete_ids","team_ids","getIdsFromOrders","l","getLeagues","e","getEventsByEventIds","t","getTournamentsByTournamentIds","m","getMatchesByMatchIds","a","getAthletesByIds","tm","getTeamsByIds","renderOrders","data","title","time","league","team","athlete","getContestDetails","item","player","find","p","player_id","createElement","contest_title","contest_time","order","style","justifyContent","renderItem","horizontal","keyExtractor","order_id","toString"],"sourceRoot":"../../../src","sources":["SocialComponents/SocialOrdersList.tsx"],"mappings":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;MACjBQ,aAAa,EAAEZ,KAAM;MACrBa,YAAY,EAAEZ,IAAK;MACnBa,KAAK,EAAEf,IAAI,CAACO,IAAK;MACjBvC,WAAW,EAAEA,WAAY;MACzBD,WAAW,EAAEA;IAAY,CAC5B,CACC,CAAC;EAEf,CAAC;EAED,oBACId,KAAA,CAAA2D,aAAA,CAACxD,IAAI;IAAC4D,KAAK,EAAE;MAAEC,cAAc,EAAC;IAAS;EAAE,gBACrChE,KAAA,CAAA2D,aAAA,CAACvD,QAAQ;IACL2C,IAAI,EAAEnC,MAAO;IACbqD,UAAU,EAAEnB,YAAa;IACzBoB,UAAU,EAAErD,SAAS,IAAI,YAAY,GAAG,IAAI,GAAG,KAAM;IACrDsD,YAAY,EAAGb,IAAI,IAAKA,IAAI,CAACc,QAAQ,CAACC,QAAQ,CAAC;EAAE,CACpD,CACC,CAAC;AAEf,CAAC;AAED,eAAe7D,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","FlatList","SocialOrderCard","SocialComponentApi","SocialOrderHelpers","View","SocialOrdersList","maxWidth","players","show_player","orders","direction","onCopyOrder","onFadeOrder","list_data","setListData","loading","leagues","events","tournaments","matches","athletes","teams","setEnvironment","getDataFromServer","length","event_ids","tournament_ids","match_ids","athlete_ids","team_ids","getIdsFromOrders","l","getLeagues","e","getEventsByEventIds","t","getTournamentsByTournamentIds","m","getMatchesByMatchIds","a","getAthletesByIds","tm","getTeamsByIds","renderOrders","data","title","time","league","team","athlete","getContestDetails","item","player","find","p","player_id","createElement","contest_title","contest_time","order","style","justifyContent","renderItem","horizontal","keyExtractor","order_id","toString"],"sourceRoot":"../../../src","sources":["SocialComponents/SocialOrdersList.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,QAAQ,QAAQ,cAAc;AAEvC,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,kBAAkB,EAAEC,kBAAkB,QAAQ,O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5B,CACC,CAAC;EAEf,CAAC;EAED,oBACId,KAAA,CAAA2D,aAAA,CAACpD,IAAI;IAACwD,KAAK,EAAE;MAAEC,cAAc,EAAC;IAAS;EAAE,gBACrChE,KAAA,CAAA2D,aAAA,CAACxD,QAAQ;IACL4C,IAAI,EAAEnC,MAAO;IACbqD,UAAU,EAAEnB,YAAa;IACzBoB,UAAU,EAAErD,SAAS,IAAI,YAAY,GAAG,IAAI,GAAG,KAAM;IACrDsD,YAAY,EAAGb,IAAI,IAAKA,IAAI,CAACc,QAAQ,CAACC,QAAQ,CAAC;EAAE,CACpD,CACC,CAAC;AAEf,CAAC;AAED,eAAe7D,gBAAgB","ignoreList":[]}
@@ -5,5 +5,6 @@ import CompanyProfile from './CompanyProfile';
5
5
  import PodcastModule from './PodcastModule';
6
6
  import AudioPlayer from "./AudioPlayer";
7
7
  import { useContacts } from "./Contacts/useContacts";
8
- export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts };
8
+ import PostCard from './PostCard';
9
+ export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts, PostCard };
9
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["PlayerCard","PlayerList","PlayerProfile","CompanyProfile","PodcastModule","AudioPlayer","useContacts"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":"AAAA,OAAOA,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,cAAc,MAAM,kBAAkB;AAC7C,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,WAAW,MAAM,eAAe;AACvC,SAASC,WAAW,QAAQ,wBAAwB;AACpD,SACIN,UAAU,EACVC,UAAU,EACVC,aAAa,EACbC,cAAc,EACdC,aAAa,EACbC,WAAW,EACXC,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["PlayerCard","PlayerList","PlayerProfile","CompanyProfile","PodcastModule","AudioPlayer","useContacts","PostCard"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":"AAAA,OAAOA,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,cAAc,MAAM,kBAAkB;AAC7C,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,WAAW,MAAM,eAAe;AACvC,SAASC,WAAW,QAAQ,wBAAwB;AACpD,OAAOC,QAAQ,MAAM,YAAY;AACjC,SACIP,UAAU,EACVC,UAAU,EACVC,aAAa,EACbC,cAAc,EACdC,aAAa,EACbC,WAAW,EACXC,WAAW,EACXC,QAAQ","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/Competition/index.js"],"names":[],"mappings":";;AA0BA;;;;;;;;;QAyuBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/Competition/index.js"],"names":[],"mappings":";;AA0BA;;;;;;;;;QA+uBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/SocialComponents/PostCard/components/PostHeader.js"],"names":[],"mappings":";;AAYA;;;QAiCC"}
1
+ {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/SocialComponents/PostCard/components/PostHeader.js"],"names":[],"mappings":";;AAWA;;;QAoCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/SocialComponents/PostCard/components/PostReactionBar.js"],"names":[],"mappings":";;AAuCA;;;;;;QAiGC"}
1
+ {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/SocialComponents/PostCard/components/PostReactionBar.js"],"names":[],"mappings":";;AAsCA;;;;;;QAkGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/SocialComponents/PostCard/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;QAmNC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/SocialComponents/PostCard/index.js"],"names":[],"mappings":";;AAoBA;;;;;;;;;QAqNC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../commonjs/SocialComponents/SocialOrderCard.js"],"names":[],"mappings":";;AAiBA;;;;;;;;;;;;QAoNC"}
1
+ {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../commonjs/SocialComponents/SocialOrderCard.js"],"names":[],"mappings":";;AAiBA;;;;;;;;;;;;QAoOC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../commonjs/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";;AAaA;;;;;;;;QA8FC"}
1
+ {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../commonjs/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";;AAcA;;;;;;;;QA8FC"}
@@ -5,6 +5,7 @@ export const PlayerCard: any;
5
5
  export const PlayerList: any;
6
6
  export const PlayerProfile: any;
7
7
  export const PodcastModule: any;
8
+ export const PostCard: any;
8
9
  export const useContacts: ({ referral_code }: {
9
10
  referral_code: any;
10
11
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/Competition/index.js"],"names":[],"mappings":";AAiBA;;;;;;;;;kGAyuBC;kBA1vB0C,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/Competition/index.js"],"names":[],"mappings":";AAiBA;;;;;;;;;kGA+uBC;kBAhwB0C,OAAO"}
@@ -2,7 +2,6 @@ export default PostHeader;
2
2
  declare function PostHeader({ player, post }: {
3
3
  player: any;
4
4
  post: any;
5
- }): React.CElement<import("react-native").ViewProps, View>;
6
- import { View } from 'react-native';
5
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
7
6
  import React from 'react';
8
7
  //# sourceMappingURL=PostHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PostCard/components/PostHeader.js"],"names":[],"mappings":";AAKA;;;2DAiCC;qBArC2B,cAAc;kBADxB,OAAO"}
1
+ {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PostCard/components/PostHeader.js"],"names":[],"mappings":";AAIA;;;kGAoCC;kBAxCiB,OAAO"}
@@ -5,7 +5,6 @@ declare function PostReactionBar({ post_id, loading, post_reaction_stats, my_pos
5
5
  post_reaction_stats: any;
6
6
  my_post_reactions: any;
7
7
  onReactionSelect: any;
8
- }): React.CElement<import("react-native").ViewProps, View>;
9
- import { View } from "react-native";
8
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
10
9
  import React from 'react';
11
10
  //# sourceMappingURL=PostReactionBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PostCard/components/PostReactionBar.js"],"names":[],"mappings":";AA8BA;;;;;;2DAiGC;qBA9HmE,cAAc;kBADlD,OAAO"}
1
+ {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../module/SocialComponents/PostCard/components/PostReactionBar.js"],"names":[],"mappings":";AA8BA;;;;;;kGAkGC;kBAhI+B,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PostCard/index.js"],"names":[],"mappings":";AAaA;;;;;;;;;kGAmNC;kBAhOkD,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/SocialComponents/PostCard/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;kGAqNC;kBAhOkD,OAAO"}
@@ -11,7 +11,6 @@ declare function SocialOrderCard({ player, show_player, maxWidth, league, team,
11
11
  contest_time: any;
12
12
  onCopyOrder: any;
13
13
  onFadeOrder: any;
14
- }): React.CElement<import("react-native").ViewProps, View>;
15
- import { View } from 'react-native';
14
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
16
15
  import React from 'react';
17
16
  //# sourceMappingURL=SocialOrderCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrderCard.js"],"names":[],"mappings":";AAQA;;;;;;;;;;;;2DAoNC;qBA3N2B,cAAc;kBADV,OAAO"}
1
+ {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrderCard.js"],"names":[],"mappings":";AAQA;;;;;;;;;;;;kGAoOC;kBA5O+B,OAAO"}
@@ -7,7 +7,6 @@ declare function SocialOrdersList({ maxWidth, players, show_player, orders, dire
7
7
  direction: any;
8
8
  onCopyOrder: any;
9
9
  onFadeOrder: any;
10
- }): React.CElement<import("react-native").ViewProps, View>;
11
- import { View } from 'react-native';
10
+ }): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
12
11
  import React from 'react';
13
12
  //# sourceMappingURL=SocialOrdersList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";AAIA;;;;;;;;2DA8FC;qBAjG8B,cAAc;kBADF,OAAO"}
1
+ {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/SocialOrdersList.js"],"names":[],"mappings":";AAKA;;;;;;;;kGA8FC;kBAnG0C,OAAO"}
@@ -5,5 +5,6 @@ import CompanyProfile from './CompanyProfile';
5
5
  import PodcastModule from './PodcastModule';
6
6
  import AudioPlayer from "./AudioPlayer";
7
7
  import { useContacts } from "./Contacts/useContacts";
8
- export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts };
8
+ import PostCard from './PostCard';
9
+ export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts, PostCard };
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/index.js"],"names":[],"mappings":"uBAAuB,cAAc;uBACd,cAAc;0BACX,iBAAiB;2BAChB,kBAAkB;0BACnB,iBAAiB;wBACnB,eAAe;4BACX,wBAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/SocialComponents/index.js"],"names":[],"mappings":"uBAAuB,cAAc;uBACd,cAAc;0BACX,iBAAiB;2BAChB,kBAAkB;0BACnB,iBAAiB;wBACnB,eAAe;4BACX,wBAAwB;qBAC/B,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Competition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAAgB,YAAY,EAA4H,gBAAgB,EAA8B,sBAAsB,EAAiO,MAAM,UAAU,CAAC;AAY1d,KAAK,sBAAsB,GAAG;IAC1B,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,cAAc,EAAC,MAAM,CAAC;IACtB,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAC,CAAC,KAAK,EAAC,YAAY,KAAK,IAAI,CAAC;IACtC,mBAAmB,EAAC,CAAC,cAAc,EAAC,MAAM,KAAK,IAAI,CAAC;IACpD,uBAAuB,EAAC,CAAC,gBAAgB,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;IAC3D,kBAAkB,EAAC,CAAC,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAC1D,uBAAuB,EAAC,CAAC,EAAE,EAAC,sBAAsB,KAAK,IAAI,CAAA;CAC9D,CAAA;AAKD,QAAA,MAAM,iBAAiB,uJAAuJ,sBAAsB,sBAwlBnM,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Competition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAAgB,YAAY,EAA4H,gBAAgB,EAA8B,sBAAsB,EAAiO,MAAM,UAAU,CAAC;AAY1d,KAAK,sBAAsB,GAAG;IAC1B,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,cAAc,EAAC,MAAM,CAAC;IACtB,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAC,CAAC,KAAK,EAAC,YAAY,KAAK,IAAI,CAAC;IACtC,mBAAmB,EAAC,CAAC,cAAc,EAAC,MAAM,KAAK,IAAI,CAAC;IACpD,uBAAuB,EAAC,CAAC,gBAAgB,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;IAC3D,kBAAkB,EAAC,CAAC,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAC1D,uBAAuB,EAAC,CAAC,EAAE,EAAC,sBAAsB,KAAK,IAAI,CAAA;CAC9D,CAAA;AAKD,QAAA,MAAM,iBAAiB,uJAAuJ,sBAAsB,sBA8lBnM,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DraftTextViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/DraftTextViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAC,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,MAAM,GAAC,SAAS,GAAC,SAAS,CAAA;CACxC,CAAA;AAED,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,EAAC,oBAAoB,qBA0CvF;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"DraftTextViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/DraftTextViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAC,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,MAAM,GAAC,SAAS,GAAC,SAAS,CAAA;CACxC,CAAA;AAED,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,EAAC,oBAAoB,qBA2CvF;AAED,eAAe,eAAe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAInE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,EAAC,SAAS,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,UAAU,qBAAqB,eAAe,sBAcnD,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAInE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,EAAC,SAAS,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,UAAU,qBAAqB,eAAe,sBAcnD,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostReactionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAKhF,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAC,MAAM,CAAC;IACf,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAC9C,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,gBAAgB,EAAE,CAAC,aAAa,EAAC,iBAAiB,KAAK,IAAI,CAAA;CAC9D,CAAA;AAaD,QAAA,MAAM,eAAe,mFAAmF,oBAAoB,sBA+D3H,CAAA;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostReactionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAKhF,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAC,MAAM,CAAC;IACf,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAC9C,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,gBAAgB,EAAE,CAAC,aAAa,EAAC,iBAAiB,KAAK,IAAI,CAAA;CAC9D,CAAA;AAaD,QAAA,MAAM,eAAe,mFAAmF,oBAAoB,sBA8D3H,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
- import type { OrderProps, PostProps, PublicPlayerProps } from '../../types';
2
+ import type { ArticleProps, OrderProps, PostProps, PublicPlayerProps } from '../../types';
3
3
  type PostCardProps = {
4
4
  post: PostProps;
5
- player: PublicPlayerProps;
5
+ player?: PublicPlayerProps;
6
+ articles: ArticleProps[];
6
7
  orders: OrderProps[];
7
8
  player_id?: string;
8
9
  onRequestAuthenticate: () => void;
9
10
  onCopyOrder?: (order: OrderProps) => void;
10
11
  onFadeOrder?: (order: OrderProps) => void;
11
- onViewComments: (post_id: string) => void;
12
+ onViewComments?: (post_id: string) => void;
12
13
  };
13
14
  declare const PostCard: ({ player_id, post, player, orders, onRequestAuthenticate, onCopyOrder, onFadeOrder, onViewComments }: PostCardProps) => React.JSX.Element;
14
15
  export default PostCard;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PostCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,UAAU,EAAwB,SAAS,EAA6C,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAa7I,KAAK,aAAa,GAAG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- {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAQpG,KAAK,oBAAoB,GAAG;IACxB,MAAM,CAAC,EAAC,iBAAiB,CAAC;IAC1B,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,aAAa,EAAC,MAAM,CAAC;IACrB,YAAY,EAAC,MAAM,CAAC;IACpB,KAAK,EAAC,UAAU,CAAC;IACjB,OAAO,CAAC,EAAC,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,IAAI,CAAC,EAAC,SAAS,CAAC;IAChB,MAAM,CAAC,EAAC,WAAW,CAAC;IACpB,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,eAAe,2HAA2H,oBAAoB,sBA+HnK,CAAA;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAQpG,KAAK,oBAAoB,GAAG;IACxB,MAAM,CAAC,EAAC,iBAAiB,CAAC;IAC1B,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,aAAa,EAAC,MAAM,CAAC;IACrB,YAAY,EAAC,MAAM,CAAC;IACpB,KAAK,EAAC,UAAU,CAAC;IACjB,OAAO,CAAC,EAAC,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,IAAI,CAAC,EAAC,SAAS,CAAC;IAChB,MAAM,CAAC,EAAC,WAAW,CAAC;IACpB,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,eAAe,2HAA2H,oBAAoB,sBAgInK,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrdersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAqD,UAAU,EAAE,iBAAiB,EAA8B,MAAM,UAAU,CAAC;AAI7I,KAAK,qBAAqB,GAAG;IACzB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,SAAS,EAAE,UAAU,GAAC,YAAY,CAAC;IACnC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,gBAAgB,oFAAoF,qBAAqB,sBAmF9H,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrdersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAqD,UAAU,EAAE,iBAAiB,EAA8B,MAAM,UAAU,CAAC;AAK7I,KAAK,qBAAqB,GAAG;IACzB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB,SAAS,EAAE,UAAU,GAAC,YAAY,CAAC;IACnC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,gBAAgB,oFAAoF,qBAAqB,sBAmF9H,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -5,5 +5,6 @@ import CompanyProfile from './CompanyProfile';
5
5
  import PodcastModule from './PodcastModule';
6
6
  import AudioPlayer from "./AudioPlayer";
7
7
  import { useContacts } from "./Contacts/useContacts";
8
- export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts };
8
+ import PostCard from './PostCard';
9
+ export { PlayerCard, PlayerList, PlayerProfile, CompanyProfile, PodcastModule, AudioPlayer, useContacts, PostCard };
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EACH,UAAU,EACV,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,EACX,WAAW,EACd,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EACH,UAAU,EACV,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,EACX,WAAW,EACX,QAAQ,EACX,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import { CompetitionApi, CompetitionHelpers, CompetitionMatchApi, CompetitionPlayerApi, PlayerPicksApi } from './api';
3
- import { Image, ActivityIndicator, Modal, FlatList } from 'react-native';
3
+ import { Image, ActivityIndicator, Modal, FlatList, KeyboardAvoidingView, Platform } from 'react-native';
4
4
  import { view_styles } from '../constants/styles';
5
5
  import { ConfirmationModal, Icons } from '../Components';
6
6
  import Colors from '../constants/colors';
@@ -518,18 +518,24 @@ const CompetitionModule = ({ competition_id, player_id, confirm_padding, onManag
518
518
  onRequestClose={() => setShowEnterPrompt(false)}
519
519
  animationType='slide'
520
520
  >
521
- <View type='blur' style={{ flex:1, justifyContent:'flex-end' }}>
522
- <WagerPickForm
523
- event_start={draft_player_pick.event_start ?? ''}
524
- event_title={draft_player_pick.event_title ?? ''}
525
- width={module_size.width}
526
- balance={authenticated_competition_player?.wager_based_balance ?? 0}
527
- loading={pick_loading}
528
- player_pick={draft_player_pick.draft_pick}
529
- onCancel={() => setDraftPlayerPick({})}
530
- onSubmit={(pp) => handleWagerSubmit(pp)}
531
- />
532
- </View>
521
+ <KeyboardAvoidingView
522
+ style={{ flex:1 }}
523
+ keyboardVerticalOffset={-150}
524
+ behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
525
+ >
526
+ <View type='blur' style={{ flex:1, justifyContent:'flex-end' }}>
527
+ <WagerPickForm
528
+ event_start={draft_player_pick.event_start ?? ''}
529
+ event_title={draft_player_pick.event_title ?? ''}
530
+ width={module_size.width}
531
+ balance={authenticated_competition_player?.wager_based_balance ?? 0}
532
+ loading={pick_loading}
533
+ player_pick={draft_player_pick.draft_pick}
534
+ onCancel={() => setDraftPlayerPick({})}
535
+ onSubmit={(pp) => handleWagerSubmit(pp)}
536
+ />
537
+ </View>
538
+ </KeyboardAvoidingView>
533
539
  </Modal>
534
540
  :<></>}
535
541
  <Modal
@@ -14,6 +14,7 @@ type DraftTextViewerProps = {
14
14
  }
15
15
 
16
16
  function DraftTextViewer({ post_id, formatted_body, text_fallback }:DraftTextViewerProps) {
17
+
17
18
  const [ failed, setFailed ] = useState(false)
18
19
  const [editorState, setEditorState] = useState(
19
20
  () => EditorState.createEmpty(),
@@ -48,10 +49,10 @@ function DraftTextViewer({ post_id, formatted_body, text_fallback }:DraftTextVie
48
49
  if(failed){ return (<></>) }
49
50
  return (
50
51
  <View>
51
- <Editor
52
- readOnly
53
- editorState={editorState}
54
- onChange={setEditorState} />
52
+ <Editor
53
+ readOnly
54
+ editorState={editorState}
55
+ onChange={setEditorState} />
55
56
  </View>
56
57
 
57
58
  )
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
- import { Image, View } from 'react-native';
3
- import { view_styles } from '../../../constants/styles';
2
+ import { Image } from 'react-native';
4
3
  import type { PostProps, PublicPlayerProps } from '../../../types';
5
- import { Text } from '../../../Components';
6
4
  import moment from 'moment-mini';
5
+ import { Text, View } from '../../../Components/Themed';
7
6
 
8
7
  type PostHeaderProps = {
9
8
  player: PublicPlayerProps,
@@ -12,15 +11,15 @@ type PostHeaderProps = {
12
11
 
13
12
  const PostHeader = ({ player, post }:PostHeaderProps) => {
14
13
  return (
15
- <View style={{ ...view_styles.section_header, paddingLeft:10, padding:10 }}>
14
+ <View type='header' style={{ flexDirection:'row', alignItems:'center', paddingLeft:10, padding:10 }}>
16
15
  <Image
17
16
  source={{ uri: player.profile_pic && player.profile_pic != '' ? player.profile_pic : 'https://res.cloudinary.com/hoabts6mc/image/upload/v1722453927/default_man_n96ofq.webp' }}
18
17
  style={{ height:32, width:32, borderRadius:100 }}
19
18
  resizeMode='cover'
20
19
  />
21
- <View style={{ flex:1, marginLeft:10 }}>
22
- <Text theme='header_2'>{player.first_name} {player.last_name}</Text>
23
- <Text style={{ marginTop:3 }} theme='body_2'>@{player.username} • {moment(post.create_datetime).fromNow()}</Text>
20
+ <View transparent style={{ flex:1, marginLeft:10 }}>
21
+ <Text theme='h2'>{player.first_name} {player.last_name}</Text>
22
+ <Text style={{ marginTop:3 }} theme='description'>@{player.username} • {moment(post.create_datetime).fromNow()}</Text>
24
23
  </View>
25
24
  </View>
26
25
  )
@@ -1,9 +1,9 @@
1
1
  import React, { useState } from 'react';
2
- import { FlatList, View, TouchableOpacity, ActivityIndicator } from "react-native"
2
+ import { FlatList, ActivityIndicator } from "react-native"
3
3
  import type { PostReactionProps, PostReactionStatsProps } from '../../../types';
4
- import { Button, Text } from '../../../Components';
5
- import Colors from '../../../constants/colors';
6
4
  import { view_styles } from '../../../constants/styles';
5
+ import { Button, Text, View } from '../../../Components/Themed';
6
+ import { useColors } from '../../../constants/useColors';
7
7
 
8
8
  type PostReactionBarProps = {
9
9
  post_id:string,
@@ -26,6 +26,7 @@ const available_reactions = [
26
26
  ]
27
27
 
28
28
  const PostReactionBar = ({ post_id, loading, post_reaction_stats, my_post_reactions, onReactionSelect }:PostReactionBarProps) => {
29
+ const Colors = useColors();
29
30
  const [ more_selected, setMoreSelected ] = useState(false);
30
31
 
31
32
  const handleReaction = async(reaction:string) => {
@@ -50,17 +51,17 @@ const PostReactionBar = ({ post_id, loading, post_reaction_stats, my_post_reacti
50
51
  const my_reaction = my_post_reactions.find(pr => pr.reaction === data.item.reaction)
51
52
  const selected = my_reaction?.status === 'visible' ? true : false
52
53
  return (
53
- <TouchableOpacity style={
54
+ <Button style={
54
55
  reacted ?
55
- { ...view_styles.float, marginBottom:5, marginLeft:data.index===0?0:-5, paddingRight:10, paddingLeft:5, flexDirection:'row', alignItems:'center', padding:2, borderRadius:100, backgroundColor:selected?Colors.highlights.highlight200:Colors.shades.white }
56
+ { ...view_styles.float, marginBottom:5, marginLeft:data.index===0?0:-5, paddingRight:10, paddingLeft:5, flexDirection:'row', alignItems:'center', padding:2, borderRadius:100, backgroundColor:selected?Colors.text.success:Colors.text.white }
56
57
  :
57
- {}} onPress={() => handleReaction(data.item.reaction)}>
58
+ { padding:3 }} onPress={() => handleReaction(data.item.reaction)}>
58
59
 
59
60
  <Text style={{fontSize:12, padding:6}}>{data.item.label}</Text>
60
61
  {reaction_stat && !more_selected && post_reaction_stats.length < 5 ?
61
- <Text size={12} color={selected ? Colors.shades.white : Colors.brand.midnight} weight='regular' style={{ padding:3 }}>{reaction_stat.reaction_count}</Text>
62
+ <Text size={12} color={selected ? Colors.text.h1 : Colors.text.h1} weight='regular' style={{ padding:3 }}>{reaction_stat.reaction_count}</Text>
62
63
  :<></>}
63
- </TouchableOpacity>
64
+ </Button>
64
65
  )
65
66
  }
66
67
 
@@ -74,16 +75,14 @@ const PostReactionBar = ({ post_id, loading, post_reaction_stats, my_post_reacti
74
75
  {post_reaction_stats.length > 0 && !more_selected ?
75
76
  <Button
76
77
  title='MORE'
77
- title_color={Colors.brand.electric}
78
- title_size={10}
79
- style={{ marginLeft:4 }}
80
- padding={0}
78
+ type='text'
79
+ style={{ padding:5 }}
81
80
  onPress={() => setMoreSelected(true)}
82
81
  />
83
82
  :<></>}
84
83
  {loading ?
85
- <View style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', backgroundColor:Colors.shades.black_faded, borderRadius:22 }}>
86
- <ActivityIndicator size='small' color={Colors.brand.midnight} />
84
+ <View type='blur' style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', borderRadius:22 }}>
85
+ <ActivityIndicator size='small' color={Colors.text.h1} />
87
86
  </View>
88
87
  :<></>}
89
88
  </View>
@@ -1,30 +1,31 @@
1
1
  import React, { useEffect, useRef, useState } from 'react';
2
- import { View, TouchableOpacity } from 'react-native';
3
- import DraftTextViewer from './components/DraftTextViewer';
4
- import type { OrderProps, PostCommentStatProps, PostProps, PostReactionProps, PostReactionStatsProps, PublicPlayerProps } from '../../types';
2
+ import type { ArticleProps, OrderProps, PostCommentStatProps, PostProps, PostReactionProps, PostReactionStatsProps, PublicPlayerProps } from '../../types';
5
3
  import PostHeader from './components/PostHeader';
6
- import { view_styles } from '../../constants/styles';
7
4
  import { useIsInViewport } from '../../Components/ViewportObserver';
8
5
  import { SocialProfileApi } from '../PlayerProfile/api';
9
6
 
10
7
  import PostReactionBar from './components/PostReactionBar';
11
- import Colors from '../../constants/colors';
12
- import { Icons, Text } from '../../Components';
8
+ import { Icons } from '../../Components';
13
9
  import SocialOrdersList from '../SocialOrdersList';
14
10
  import ImageList from './components/ImageList';
15
11
  import { SocialComponentApi } from '../api';
12
+ import { Button, Text, View } from '../../Components/Themed';
13
+ import { useColors } from '../../constants/useColors';
14
+
16
15
 
17
16
  type PostCardProps = {
18
17
  post: PostProps,
19
- player:PublicPlayerProps,
18
+ player?:PublicPlayerProps,
19
+ articles:ArticleProps[],
20
20
  orders:OrderProps[],
21
21
  player_id?:string,
22
22
  onRequestAuthenticate:() => void,
23
23
  onCopyOrder?:(order:OrderProps) => void,
24
24
  onFadeOrder?:(order:OrderProps) => void,
25
- onViewComments:(post_id:string) => void
25
+ onViewComments?:(post_id:string) => void
26
26
  }
27
27
  const PostCard = ({ player_id, post, player, orders, onRequestAuthenticate, onCopyOrder, onFadeOrder, onViewComments }:PostCardProps) => {
28
+ const Colors = useColors();
28
29
  const [ post_data, setPostData ] = useState<{
29
30
  loading:boolean,
30
31
  reactions_loaded:boolean,
@@ -36,6 +37,7 @@ const PostCard = ({ player_id, post, player, orders, onRequestAuthenticate, onCo
36
37
  post_comment_stat: { activity_post_id:post.memo_post_id, comment_count: 0 },
37
38
  post_reaction_stats: []
38
39
  })
40
+
39
41
  const { reactions_loaded, post_reaction_stats, post_comment_stat } = post_data;
40
42
 
41
43
  const [ my_data, setMyData ] = useState<{
@@ -117,28 +119,31 @@ const PostCard = ({ player_id, post, player, orders, onRequestAuthenticate, onCo
117
119
  }
118
120
  }
119
121
 
122
+
120
123
  return (
121
- <View ref={post_ref as any} style={{ ...view_styles.section, padding:0, borderWidth:1, borderColor:Colors.shades.shade600 }}>
124
+ <View float ref={post_ref as any}>
125
+ {player ?
122
126
  <PostHeader
123
127
  player={player}
124
128
  post={post}
125
129
  />
126
- <View style={{ padding:10 }}>
127
- <Text theme='header_2'>{post.title}</Text>
130
+ :<></>}
131
+ <View transparent style={{ padding:10 }}>
132
+ <Text theme='h2'>{post.title}</Text>
133
+ </View>
134
+ <View transparent style={{ padding:10, paddingTop:0, paddingBottom:0 }}>
135
+ <Text theme='description'>{post.body}</Text>
128
136
  </View>
129
- <View style={{ padding:10, paddingTop:0, paddingBottom:0 }}>
130
- <DraftTextViewer
131
- post_id={post.memo_post_id}
132
- formatted_body={post.formatted_body}
133
- view_type='memo'
134
- text_fallback={post.body}
135
- />
137
+ {post.memo_articles && post.memo_articles.length > 0 ?
138
+ <View transparent>
139
+
136
140
  </View>
137
- {post.memo_orders && post.memo_orders.length > 0 ?
141
+ :<></>}
142
+ {player && post.memo_orders && post.memo_orders.length > 0 ?
138
143
  <SocialOrdersList
139
144
  players={[player]}
140
145
  orders={orders}
141
- maxWidth={275}
146
+ maxWidth={300}
142
147
  direction='horizontal'
143
148
  onCopyOrder={onCopyOrder}
144
149
  onFadeOrder={onFadeOrder}
@@ -151,8 +156,8 @@ const PostCard = ({ player_id, post, player, orders, onRequestAuthenticate, onCo
151
156
  width={300}
152
157
  />
153
158
  :<></>}
154
- <View style={{ ...view_styles.section_footer, padding:5, backgroundColor:Colors.shades.white }}>
155
- <View style={{}}>
159
+ <View type='footer' style={{ flexDirection:'row', alignItems:'center', padding:5 }}>
160
+ <View float transparent style={{ padding:5 }}>
156
161
  <PostReactionBar
157
162
  loading={my_data_loading}
158
163
  post_id={post.memo_post_id}
@@ -161,13 +166,15 @@ const PostCard = ({ player_id, post, player, orders, onRequestAuthenticate, onCo
161
166
  onReactionSelect={(r) => handleReaction(r)}
162
167
  />
163
168
  </View>
164
- <TouchableOpacity
169
+ {onViewComments ?
170
+ <Button
165
171
  style={{ flex:1, flexDirection:'row', alignItems:'center', justifyContent:'flex-end' }}
166
172
  onPress={() => onViewComments(post.memo_post_id)}
167
173
  >
168
- <Text style={{ marginRight:4 }} theme='header_2'>{post_comment_stat.comment_count}</Text>
169
- <Icons.ChatIcon size={18} color={Colors.brand.midnight}/>
170
- </TouchableOpacity>
174
+ <Text style={{ marginRight:4 }} theme='h2'>{post_comment_stat.comment_count}</Text>
175
+ <Icons.ChatIcon size={18} color={Colors.text.h1}/>
176
+ </Button>
177
+ :<></>}
171
178
  </View>
172
179
  </View>
173
180
  )