fansunited-frontend-components 0.0.62 → 0.0.63

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 (74) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +26 -26
  3. package/ClassicQuizPlay.js +20 -20
  4. package/CollectLead.js +6 -6
  5. package/Discussion.js +1 -1
  6. package/EitherOrPlay.js +21 -21
  7. package/EventCard.d.ts +5 -0
  8. package/EventCard.d.ts.map +1 -0
  9. package/EventGamePlay.js +24 -24
  10. package/Leaderboard.js +38 -38
  11. package/MatchQuizPlay.js +27 -27
  12. package/PersonalityQuizPlay.js +19 -19
  13. package/PickThePair.js +9 -9
  14. package/PollVote.js +17 -17
  15. package/Predictor.js +23 -23
  16. package/README.md +95 -3
  17. package/Standings.js +549 -483
  18. package/TopX.js +23 -23
  19. package/chunks/{AlertMessage-BllE5qFD.js → AlertMessage-AyMEW3JL.js} +8 -8
  20. package/chunks/{ArrowRightAlt-BiTgdRu8.js → ArrowRightAlt-DVXOeIJN.js} +10 -10
  21. package/chunks/{Avatar-Cu1ble0O.js → Avatar-CBP4sabd.js} +8 -8
  22. package/chunks/{Button-B6AgvrNy.js → Button-DOVRR2Sy.js} +2 -2
  23. package/chunks/{ChanceGameEmbedVariant-Bl7wNaFK.js → ChanceGameEmbedVariant-kBcjiKzu.js} +9 -9
  24. package/chunks/{CheckCircle-C_5yqc7h.js → CheckCircle-ByRrHC2p.js} +1 -1
  25. package/chunks/{Chip-CSzCsuuk.js → Chip-DeEjQ2-F.js} +61 -61
  26. package/chunks/{Close-C2dB2pGH.js → Close-CS-wfAnO.js} +1 -1
  27. package/chunks/{Close-CWE043CX.js → Close-CdWk2nDh.js} +1 -1
  28. package/chunks/{CollectLeadForm-CKtdH3qh.js → CollectLeadForm-DevgGzsO.js} +18 -18
  29. package/chunks/{Divider-c45ALRiJ.js → Divider-D6QU-XQ5.js} +6 -6
  30. package/chunks/{Edit-Xp8u6TcF.js → Edit-B2N_Ry9g.js} +29 -29
  31. package/chunks/{EmojiEvents-BNCAK98B.js → EmojiEvents-E7Oqv7rk.js} +1 -1
  32. package/chunks/{FavoriteBorder-CdZKkWGo.js → FavoriteBorder-CguT2h2c.js} +1 -1
  33. package/chunks/{FormControl-BlUjprF0.js → FormControl-D32DP14w.js} +21 -21
  34. package/chunks/{FormLabel-D1zquznp.js → FormLabel-BYtvETHS.js} +8 -8
  35. package/chunks/{Input-DDamXXdk.js → Input-D81KBU9B.js} +7 -7
  36. package/chunks/{KeyboardArrowDown-DShK5Qi8.js → KeyboardArrowDown-CvGmYfHu.js} +3 -3
  37. package/chunks/{ModalDialog-peOKIZXc.js → ModalDialog-D63x8ebf.js} +21 -21
  38. package/chunks/{NotFoundSkeleton-DkcP3ObG.js → NotFoundSkeleton-B4r94g0a.js} +69 -69
  39. package/chunks/{Notification-CBgecz1y.js → Notification-wXJmjBSg.js} +55 -55
  40. package/chunks/{OverlayApiErrorSkeleton-C3AiLheZ.js → OverlayApiErrorSkeleton-DwV9wIov.js} +16 -16
  41. package/chunks/{OverlayLeadAfterCollection-CcBH_vMY.js → OverlayLeadAfterCollection-CI5NIwUv.js} +10 -10
  42. package/chunks/{OverlayScoreStateSkeleton-BpRskXm2.js → OverlayScoreStateSkeleton-wpxvfC5x.js} +10 -10
  43. package/chunks/{Person-BXIPCBsZ.js → Person-DvjCrwnY.js} +1 -1
  44. package/chunks/{PickOneOfX-Bj-i9Iwy.js → PickOneOfX-DunXqSn1.js} +3 -3
  45. package/chunks/{Popper-CnXuZAJ1.js → Popper-0XuEHl9i.js} +40 -40
  46. package/chunks/{Portal-B-rP_973.js → Portal-4mtEzZlO.js} +6 -6
  47. package/chunks/{PrizeCard-Cvag91fI.js → PrizeCard-CjZXXFx3.js} +1402 -1037
  48. package/chunks/{Select-yCMYq4lA.js → Select-B_VR6iKu.js} +91 -91
  49. package/chunks/{Spinner-BEesqHOM.js → Spinner-htM_pA9-.js} +2 -2
  50. package/chunks/{SplitLeadAfterCollection-Dk9vmxDP.js → SplitLeadAfterCollection-CowadlL1.js} +6 -6
  51. package/chunks/{Stack-BPy5JIhW.js → Stack-BrwF24Ji.js} +21 -21
  52. package/chunks/{StandardContentSkeleton-Bp1LkrOb.js → StandardContentSkeleton-Bk0sSsby.js} +1 -1
  53. package/chunks/{Table-Cyvn0_n2.js → Table-OBls_6ml.js} +2 -2
  54. package/chunks/{Tabs-DZ5ua9ky.js → Tabs-DW1eIofJ.js} +22 -22
  55. package/chunks/{Textarea-Cq4YoC7-.js → Textarea-DDJ2mdR3.js} +27 -27
  56. package/chunks/{TimerOutlined-BSRZxa7B.js → TimerOutlined-BmAAC-Vi.js} +3 -3
  57. package/chunks/{Typography-BiwPcU3G.js → Typography-DjxaMiey.js} +1 -1
  58. package/chunks/{createSvgIcon-Cj99hGqV.js → createSvgIcon-C-cmTwJ_.js} +13 -13
  59. package/chunks/{helpers-CK3paymG.js → helpers-B7-TtMzO.js} +1 -1
  60. package/chunks/index-8rxXfewU.js +4 -0
  61. package/chunks/{index-Bl_qkb0h.js → index-BqoOC2KB.js} +1 -1
  62. package/chunks/{main-D5HUCuDx.js → main-Bgyyz19Z.js} +29 -29
  63. package/chunks/{main-B7547bxt.js → main-C8ApxGVj.js} +134 -134
  64. package/chunks/{useEventCallback-C4eLmDAp.js → useEventCallback-BpsnMnDw.js} +2 -2
  65. package/chunks/{useForwardedInput-K05ojiXo.js → useForwardedInput-D2NH4BlT.js} +5 -5
  66. package/chunks/{useImageVariant-BdSPF6s1.js → useImageVariant-qiW-rMPJ.js} +1 -1
  67. package/chunks/{variantColorInheritance-ByHn3-Og.js → variantColorInheritance-Bgtz8MKI.js} +37 -37
  68. package/components.d.ts +2 -1
  69. package/components.d.ts.map +1 -1
  70. package/index.d.ts +1 -0
  71. package/index.d.ts.map +1 -1
  72. package/index.js +1539 -39
  73. package/package.json +6 -2
  74. package/chunks/index-CLwe4rnO.js +0 -4
package/MatchQuizPlay.js CHANGED
@@ -1,36 +1,36 @@
1
1
  import { jsx as t, jsxs as d, Fragment as p } from "react/jsx-runtime";
2
2
  import tt, { useState as ne, useEffect as gt, createContext as bn, memo as bt, useCallback as qe, useMemo as nt } from "react";
3
- import { d as ee, i as se, B as i, u as ie, b as L, c as ce, f as Ce, k as Ue, g as Le, l as Rn, q as Tn, j as Pn, C as zn, a as De, W as be, e as Rt, m as rt, h as mn } from "./chunks/PrizeCard-Cvag91fI.js";
4
- import { P as kn } from "./chunks/Portal-B-rP_973.js";
3
+ import { b as ee, l as se, B as i, u as ie, a as L, c as ce, e as Ce, q as Ue, m as Le, r as Rn, w as Tn, p as Pn, n as zn, j as De, W as be, k as Rt, s as rt, o as mn } from "./chunks/PrizeCard-CjZXXFx3.js";
4
+ import { P as kn } from "./chunks/Portal-4mtEzZlO.js";
5
5
  import "react-dom";
6
- import { g as In, e as Tt, a as Nt, h as Se, s as St, b as wn } from "./chunks/helpers-CK3paymG.js";
7
- import { S as Ht } from "./chunks/Spinner-BEesqHOM.js";
8
- import { S as An, a as Fn, b as vn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-Bl7wNaFK.js";
9
- import { N as kt } from "./chunks/Notification-CBgecz1y.js";
6
+ import { g as In, e as Tt, a as Nt, h as Se, s as St, b as wn } from "./chunks/helpers-B7-TtMzO.js";
7
+ import { S as Ht } from "./chunks/Spinner-htM_pA9-.js";
8
+ import { S as An, a as Fn, b as vn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-kBcjiKzu.js";
9
+ import { N as kt } from "./chunks/Notification-wXJmjBSg.js";
10
10
  import { m as En, o as c, l as un } from "./chunks/index-BBrO1Htm.js";
11
- import { T as on, D as Dn, O as _n, S as gn, R as Ct, N as Ln } from "./chunks/NotFoundSkeleton-DkcP3ObG.js";
12
- import { d as at, a as ot, b as pe } from "./chunks/useImageVariant-BdSPF6s1.js";
13
- import { T as y } from "./chunks/Typography-BiwPcU3G.js";
14
- import { C as Mn } from "./chunks/CollectLeadForm-CKtdH3qh.js";
15
- import { K as Qn, a as On } from "./chunks/KeyboardArrowDown-DShK5Qi8.js";
16
- import { K as Ut, a as Gt, H as Hn, D as Bn, E as Wn } from "./chunks/Edit-Xp8u6TcF.js";
17
- import { I as _e, B as ze } from "./chunks/Button-B6AgvrNy.js";
18
- import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-DZ5ua9ky.js";
19
- import { F as rn, C as cn } from "./chunks/FormControl-BlUjprF0.js";
20
- import { C as Vn } from "./chunks/Close-CWE043CX.js";
21
- import { M as jn, a as $n } from "./chunks/ModalDialog-peOKIZXc.js";
22
- import { S as xn, T as yn } from "./chunks/Table-Cyvn0_n2.js";
23
- import { A as It, S as Nn, O as Un } from "./chunks/OverlayApiErrorSkeleton-C3AiLheZ.js";
24
- import { C as Gn } from "./chunks/CheckCircle-C_5yqc7h.js";
25
- import { A as Yn, I as qn, W as Xn } from "./chunks/AlertMessage-BllE5qFD.js";
26
- import { S as Kn } from "./chunks/Stack-BPy5JIhW.js";
27
- import { P as sn } from "./chunks/Person-BXIPCBsZ.js";
28
- import { A as dn } from "./chunks/Avatar-Cu1ble0O.js";
11
+ import { T as on, D as Dn, O as _n, S as gn, R as Ct, N as Ln } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
12
+ import { d as at, a as ot, b as pe } from "./chunks/useImageVariant-qiW-rMPJ.js";
13
+ import { T as y } from "./chunks/Typography-DjxaMiey.js";
14
+ import { C as Mn } from "./chunks/CollectLeadForm-DevgGzsO.js";
15
+ import { a as Qn, K as On } from "./chunks/KeyboardArrowDown-CvGmYfHu.js";
16
+ import { K as Ut, a as Gt, H as Hn, D as Bn, E as Wn } from "./chunks/Edit-B2N_Ry9g.js";
17
+ import { I as _e, B as ze } from "./chunks/Button-DOVRR2Sy.js";
18
+ import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-DW1eIofJ.js";
19
+ import { F as rn, C as cn } from "./chunks/FormControl-D32DP14w.js";
20
+ import { C as Vn } from "./chunks/Close-CdWk2nDh.js";
21
+ import { M as jn, a as $n } from "./chunks/ModalDialog-D63x8ebf.js";
22
+ import { S as xn, T as yn } from "./chunks/Table-OBls_6ml.js";
23
+ import { A as It, S as Nn, O as Un } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
24
+ import { C as Gn } from "./chunks/CheckCircle-ByRrHC2p.js";
25
+ import { A as Yn, I as qn, W as Xn } from "./chunks/AlertMessage-AyMEW3JL.js";
26
+ import { S as Kn } from "./chunks/Stack-BrwF24Ji.js";
27
+ import { P as sn } from "./chunks/Person-DvjCrwnY.js";
28
+ import { A as dn } from "./chunks/Avatar-CBP4sabd.js";
29
29
  import { C as Zn, a as Jn } from "./chunks/chevrons-right-CRIN5sOe.js";
30
30
  import { C as pn, a as ei } from "./chunks/chevron-right-B3IZtaMT.js";
31
- import { O as ti } from "./chunks/OverlayScoreStateSkeleton-BpRskXm2.js";
32
- import { S as ni, O as ii, a as ai, b as oi } from "./chunks/OverlayLeadAfterCollection-CcBH_vMY.js";
33
- import { S as li, a as ri } from "./chunks/SplitLeadAfterCollection-Dk9vmxDP.js";
31
+ import { O as ti } from "./chunks/OverlayScoreStateSkeleton-wpxvfC5x.js";
32
+ import { S as ni, O as ii, a as ai, b as oi } from "./chunks/OverlayLeadAfterCollection-CI5NIwUv.js";
33
+ import { S as li, a as ri } from "./chunks/SplitLeadAfterCollection-CowadlL1.js";
34
34
  const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", ut = (e) => e === "PLAYER_SCORE" || e === "PLAYER_YELLOW_CARD" || e === "PLAYER_RED_CARD" || e === "PLAYER_SCORE_FIRST_GOAL" || e === "PLAYER_SCORE_HATTRICK" || e === "PLAYER_SCORE_TWICE", Yt = (e) => {
35
35
  const n = (/* @__PURE__ */ new Date()).getTime(), o = new Date(e).getTime();
36
36
  return n > o;
@@ -1,26 +1,26 @@
1
1
  import { jsx as t, jsxs as A, Fragment as K } from "react/jsx-runtime";
2
2
  import Pe, { useState as G, useEffect as Ae, useMemo as Oe } from "react";
3
- import { a as X, b as Q, c as J, d as Y, e as we, f as ae, B as o, i as U, u as V, g as Qe, C as Le, h as De, W as j, j as at, k as ot, m as Ke, n as lt } from "./chunks/PrizeCard-Cvag91fI.js";
4
- import { P as rt } from "./chunks/Portal-B-rP_973.js";
3
+ import { j as X, a as Q, c as J, b as Y, k as we, e as ae, B as o, l as U, u as V, m as Qe, n as Le, o as De, W as j, p as at, q as ot, s as Ke, i as lt } from "./chunks/PrizeCard-CjZXXFx3.js";
4
+ import { P as rt } from "./chunks/Portal-4mtEzZlO.js";
5
5
  import "react-dom";
6
- import { g as ct, e as ze, h as ue, s as st, a as Je, b as dt } from "./chunks/helpers-CK3paymG.js";
7
- import { S as _e } from "./chunks/Spinner-BEesqHOM.js";
8
- import { S as mt, a as gt, b as Xe, C as Ne, c as Ge } from "./chunks/ChanceGameEmbedVariant-Bl7wNaFK.js";
6
+ import { g as ct, e as ze, h as ue, s as st, a as Je, b as dt } from "./chunks/helpers-B7-TtMzO.js";
7
+ import { S as _e } from "./chunks/Spinner-htM_pA9-.js";
8
+ import { S as mt, a as gt, b as Xe, C as Ne, c as Ge } from "./chunks/ChanceGameEmbedVariant-kBcjiKzu.js";
9
9
  import { g as ut, y as et } from "./chunks/index-BBrO1Htm.js";
10
- import { A as Be, O as yt } from "./chunks/ArrowRightAlt-BiTgdRu8.js";
11
- import { A as Te, O as ft, S as xt, N as ht } from "./chunks/NotFoundSkeleton-DkcP3ObG.js";
12
- import { u as ye, d as de, a as me, b as le } from "./chunks/useImageVariant-BdSPF6s1.js";
13
- import { T as k } from "./chunks/Typography-BiwPcU3G.js";
14
- import { C as bt } from "./chunks/CollectLeadForm-CKtdH3qh.js";
15
- import { B as Z } from "./chunks/Button-B6AgvrNy.js";
16
- import { A as pe, R as ve, O as tt, S as nt } from "./chunks/OverlayApiErrorSkeleton-C3AiLheZ.js";
17
- import { S as Ze } from "./chunks/StandardContentSkeleton-Bp1LkrOb.js";
18
- import { T as Fe, a as ke, b as Ce, t as Ye, c as Ie } from "./chunks/Tabs-DZ5ua9ky.js";
19
- import { C as St } from "./chunks/CheckCircle-C_5yqc7h.js";
20
- import { A as Ct, I as It, W as Pt } from "./chunks/AlertMessage-BllE5qFD.js";
21
- import { S as zt } from "./chunks/Stack-BPy5JIhW.js";
22
- import { S as At, O as Tt, a as Ft, b as kt } from "./chunks/OverlayLeadAfterCollection-CcBH_vMY.js";
23
- import { S as Rt, a as wt } from "./chunks/SplitLeadAfterCollection-Dk9vmxDP.js";
10
+ import { A as Be, O as yt } from "./chunks/ArrowRightAlt-DVXOeIJN.js";
11
+ import { A as Te, O as ft, S as xt, N as ht } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
12
+ import { u as ye, d as de, a as me, b as le } from "./chunks/useImageVariant-qiW-rMPJ.js";
13
+ import { T as k } from "./chunks/Typography-DjxaMiey.js";
14
+ import { C as bt } from "./chunks/CollectLeadForm-DevgGzsO.js";
15
+ import { B as Z } from "./chunks/Button-DOVRR2Sy.js";
16
+ import { A as pe, R as ve, O as tt, S as nt } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
17
+ import { S as Ze } from "./chunks/StandardContentSkeleton-Bk0sSsby.js";
18
+ import { T as Fe, a as ke, b as Ce, t as Ye, c as Ie } from "./chunks/Tabs-DW1eIofJ.js";
19
+ import { C as St } from "./chunks/CheckCircle-ByRrHC2p.js";
20
+ import { A as Ct, I as It, W as Pt } from "./chunks/AlertMessage-AyMEW3JL.js";
21
+ import { S as zt } from "./chunks/Stack-BrwF24Ji.js";
22
+ import { S as At, O as Tt, a as Ft, b as kt } from "./chunks/OverlayLeadAfterCollection-CI5NIwUv.js";
23
+ import { S as Rt, a as wt } from "./chunks/SplitLeadAfterCollection-CowadlL1.js";
24
24
  const Qt = (e, n) => {
25
25
  const [c, a] = G(null), r = async () => {
26
26
  try {
package/PickThePair.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { jsx as t, jsxs as w, Fragment as Q } from "react/jsx-runtime";
2
- import { g as Ie, h as se, c as We, l as De } from "./chunks/helpers-CK3paymG.js";
2
+ import { g as Ie, h as se, c as We, l as De } from "./chunks/helpers-B7-TtMzO.js";
3
3
  import K, { useMemo as me, useCallback as ze, useEffect as de, useState as G } from "react";
4
- import { u as ne, i as Z, h as Le, c as ee, b as X, e as ge, B as h, x as ae, d as re, o as Be, a as ue, f as te, k as ke, W as fe, y as Ue, n as Ae, z as $e, A as _e, D as He, E as Ee, F as Oe } from "./chunks/PrizeCard-Cvag91fI.js";
5
- import { S as je } from "./chunks/Spinner-BEesqHOM.js";
4
+ import { u as ne, l as Z, o as Le, c as ee, a as X, k as ge, B as h, F as ae, b as re, t as Be, j as ue, e as te, q as ke, W as fe, H as Ue, i as Ae, f as $e, C as _e, g as He, E as Ee, h as Oe } from "./chunks/PrizeCard-CjZXXFx3.js";
5
+ import { S as je } from "./chunks/Spinner-htM_pA9-.js";
6
6
  import { createPortal as Me } from "react-dom";
7
7
  import { u as Ne } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as Ve, S as Ye, O as qe } from "./chunks/NotFoundSkeleton-DkcP3ObG.js";
9
- import { C as Xe } from "./chunks/CollectLeadForm-CKtdH3qh.js";
10
- import { b as he, d as Ge, a as Qe } from "./chunks/useImageVariant-BdSPF6s1.js";
11
- import { T as p } from "./chunks/Typography-BiwPcU3G.js";
12
- import { T as Je } from "./chunks/TimerOutlined-BSRZxa7B.js";
13
- import { B as pe } from "./chunks/Button-B6AgvrNy.js";
8
+ import { N as Ve, S as Ye, O as qe } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
9
+ import { C as Xe } from "./chunks/CollectLeadForm-DevgGzsO.js";
10
+ import { b as he, d as Ge, a as Qe } from "./chunks/useImageVariant-qiW-rMPJ.js";
11
+ import { T as p } from "./chunks/Typography-DjxaMiey.js";
12
+ import { T as Je } from "./chunks/TimerOutlined-BmAAC-Vi.js";
13
+ import { B as pe } from "./chunks/Button-DOVRR2Sy.js";
14
14
  const xe = ({
15
15
  sdk: e,
16
16
  contentId: n,
package/PollVote.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import { jsxs as x, Fragment as B, jsx as t } from "react/jsx-runtime";
2
2
  import Ie, { useState as J, useEffect as Be, useMemo as Xe } from "react";
3
- import { i as G, a as Z, f as ee, d as _, c as Y, b as F, m as ze, W as U, B as l, o as ot, u as N, e as je, g as Te, C as Ae, h as We, k as at, l as rt, p as ct, n as st } from "./chunks/PrizeCard-Cvag91fI.js";
4
- import { P as dt } from "./chunks/Portal-B-rP_973.js";
3
+ import { l as G, j as Z, e as ee, b as _, c as Y, a as F, s as ze, W as U, B as l, t as ot, u as N, k as je, m as Te, n as Ae, o as We, q as at, r as rt, v as ct, i as st } from "./chunks/PrizeCard-CjZXXFx3.js";
4
+ import { P as dt } from "./chunks/Portal-4mtEzZlO.js";
5
5
  import "react-dom";
6
- import { h as Ce, s as Ue, g as gt, e as Ve, a as tt, b as mt } from "./chunks/helpers-CK3paymG.js";
7
- import { S as ut } from "./chunks/Spinner-BEesqHOM.js";
8
- import { S as ft, a as xt, b as nt, C as Ze, c as et } from "./chunks/ChanceGameEmbedVariant-Bl7wNaFK.js";
6
+ import { h as Ce, s as Ue, g as gt, e as Ve, a as tt, b as mt } from "./chunks/helpers-B7-TtMzO.js";
7
+ import { S as ut } from "./chunks/Spinner-htM_pA9-.js";
8
+ import { S as ft, a as xt, b as nt, C as Ze, c as et } from "./chunks/ChanceGameEmbedVariant-kBcjiKzu.js";
9
9
  import { f as yt, M as ht } from "./chunks/index-BBrO1Htm.js";
10
- import { R as Ee, A as Me, O as bt, S as Ct, N as St } from "./chunks/NotFoundSkeleton-DkcP3ObG.js";
11
- import { d as he, a as be, b as ie } from "./chunks/useImageVariant-BdSPF6s1.js";
10
+ import { R as Ee, A as Me, O as bt, S as Ct, N as St } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
11
+ import { d as he, a as be, b as ie } from "./chunks/useImageVariant-qiW-rMPJ.js";
12
12
  import { u as Oe } from "./chunks/useEmbedCode-DCWnWGak.js";
13
- import { T as h } from "./chunks/Typography-BiwPcU3G.js";
14
- import { C as It } from "./chunks/CollectLeadForm-CKtdH3qh.js";
15
- import { B as p } from "./chunks/Button-B6AgvrNy.js";
16
- import { A as Ne, R as pe, O as lt, S as it } from "./chunks/OverlayApiErrorSkeleton-C3AiLheZ.js";
17
- import { C as Tt } from "./chunks/CheckCircle-C_5yqc7h.js";
18
- import { A as At, I as Pt, W as kt } from "./chunks/AlertMessage-BllE5qFD.js";
19
- import { S as vt } from "./chunks/Stack-BPy5JIhW.js";
20
- import { O as Ft } from "./chunks/OverlayScoreStateSkeleton-BpRskXm2.js";
21
- import { S as Dt, O as Rt, a as Lt, b as wt } from "./chunks/OverlayLeadAfterCollection-CcBH_vMY.js";
22
- import { S as Bt, a as zt } from "./chunks/SplitLeadAfterCollection-Dk9vmxDP.js";
13
+ import { T as h } from "./chunks/Typography-DjxaMiey.js";
14
+ import { C as It } from "./chunks/CollectLeadForm-DevgGzsO.js";
15
+ import { B as p } from "./chunks/Button-DOVRR2Sy.js";
16
+ import { A as Ne, R as pe, O as lt, S as it } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
17
+ import { C as Tt } from "./chunks/CheckCircle-ByRrHC2p.js";
18
+ import { A as At, I as Pt, W as kt } from "./chunks/AlertMessage-AyMEW3JL.js";
19
+ import { S as vt } from "./chunks/Stack-BrwF24Ji.js";
20
+ import { O as Ft } from "./chunks/OverlayScoreStateSkeleton-wpxvfC5x.js";
21
+ import { S as Dt, O as Rt, a as Lt, b as wt } from "./chunks/OverlayLeadAfterCollection-CI5NIwUv.js";
22
+ import { S as Bt, a as zt } from "./chunks/SplitLeadAfterCollection-CowadlL1.js";
23
23
  const Wt = (e) => {
24
24
  var n, o, i;
25
25
  return {
package/Predictor.js CHANGED
@@ -1,31 +1,31 @@
1
1
  import { jsx as e, jsxs as p, Fragment as ze } from "react/jsx-runtime";
2
2
  import be, { createContext as ir, useContext as sr, useState as T, useCallback as q, useRef as Te, useMemo as pe, useEffect as le, lazy as ar, Suspense as lr, useLayoutEffect as $o } from "react";
3
- import { b as ae, f as re, B as r, u as Ie, c as me, d as ue, g as ft, C as xt, i as Bt, a as cr, k as Lo, e as zo } from "./chunks/PrizeCard-Cvag91fI.js";
4
- import { P as dr } from "./chunks/Portal-B-rP_973.js";
3
+ import { a as ae, e as re, B as r, u as Ie, c as me, b as ue, m as ft, n as xt, l as Bt, j as cr, q as Lo, k as zo } from "./chunks/PrizeCard-CjZXXFx3.js";
4
+ import { P as dr } from "./chunks/Portal-4mtEzZlO.js";
5
5
  import { createPortal as pr } from "react-dom";
6
- import { b as It, M as ur } from "./chunks/main-D5HUCuDx.js";
6
+ import { b as It, M as ur } from "./chunks/main-Bgyyz19Z.js";
7
7
  import { Y as mr, X as fr, J as xr, j as hr, o as gr } from "./chunks/index-BBrO1Htm.js";
8
- import { S as yr } from "./chunks/Stack-BPy5JIhW.js";
9
- import { F as br, C as Sr } from "./chunks/FormControl-BlUjprF0.js";
10
- import { T as S } from "./chunks/Typography-BiwPcU3G.js";
11
- import { B as we, I as st } from "./chunks/Button-B6AgvrNy.js";
12
- import { S as Ro, W as Cr, E as $t, M as kr, D as Fo, A as vr, C as To, a as Wo, b as wr, G as Tt, c as Wt, d as qt, e as Ir, m as $r, f as Po, g as Lr, h as zr, i as Eo, j as Rr, L as Fr, V as Ot, k as Tr, l as Wr, n as Ao, o as Pr, P as Er, p as Jt, q as Ar, r as ut, s as Dr, t as Do, H as co, R as Mo, u as po, v as Mr, w as Br, x as Hr, y as uo, T as jr, z as Nr, B as Vr, N as Or, F as _r, I as Yr, J as Ur } from "./chunks/index-Bl_qkb0h.js";
13
- import { P as yt } from "./chunks/Person-BXIPCBsZ.js";
14
- import { n as Ge, h as pt, o as Xr } from "./chunks/helpers-CK3paymG.js";
15
- import { S as Kr } from "./chunks/Spinner-BEesqHOM.js";
8
+ import { S as yr } from "./chunks/Stack-BrwF24Ji.js";
9
+ import { F as br, C as Sr } from "./chunks/FormControl-D32DP14w.js";
10
+ import { T as S } from "./chunks/Typography-DjxaMiey.js";
11
+ import { B as we, I as st } from "./chunks/Button-DOVRR2Sy.js";
12
+ import { S as Ro, W as Cr, E as $t, M as kr, D as Fo, A as vr, C as To, a as Wo, b as wr, G as Tt, c as Wt, d as qt, e as Ir, m as $r, f as Po, g as Lr, h as zr, i as Eo, j as Rr, L as Fr, V as Ot, k as Tr, l as Wr, n as Ao, o as Pr, P as Er, p as Jt, q as Ar, r as ut, s as Dr, t as Do, H as co, R as Mo, u as po, v as Mr, w as Br, x as Hr, y as uo, T as jr, z as Nr, B as Vr, N as Or, F as _r, I as Yr, J as Ur } from "./chunks/index-BqoOC2KB.js";
13
+ import { P as yt } from "./chunks/Person-DvjCrwnY.js";
14
+ import { n as Ge, h as pt, o as Xr } from "./chunks/helpers-B7-TtMzO.js";
15
+ import { S as Kr } from "./chunks/Spinner-htM_pA9-.js";
16
16
  import { C as Gr, a as qr } from "./chunks/chevrons-right-CRIN5sOe.js";
17
17
  import { C as Jr, a as Zr } from "./chunks/chevron-right-B3IZtaMT.js";
18
- import { S as Pt, T as _t } from "./chunks/Table-Cyvn0_n2.js";
19
- import { A as Et } from "./chunks/Avatar-Cu1ble0O.js";
20
- import { E as mt } from "./chunks/EmojiEvents-BNCAK98B.js";
21
- import { N as At } from "./chunks/Notification-CBgecz1y.js";
22
- import { M as Zt, a as Qt } from "./chunks/ModalDialog-peOKIZXc.js";
23
- import { C as Bo } from "./chunks/Close-CWE043CX.js";
24
- import { I as bt } from "./chunks/Input-DDamXXdk.js";
25
- import { T as Ho } from "./chunks/Textarea-Cq4YoC7-.js";
26
- import { K as jo, a as No } from "./chunks/KeyboardArrowDown-DShK5Qi8.js";
27
- import { D as Qr } from "./chunks/Divider-c45ALRiJ.js";
28
- import { a as en } from "./chunks/AlertMessage-BllE5qFD.js";
18
+ import { S as Pt, T as _t } from "./chunks/Table-OBls_6ml.js";
19
+ import { A as Et } from "./chunks/Avatar-CBP4sabd.js";
20
+ import { E as mt } from "./chunks/EmojiEvents-E7Oqv7rk.js";
21
+ import { N as At } from "./chunks/Notification-wXJmjBSg.js";
22
+ import { M as Zt, a as Qt } from "./chunks/ModalDialog-D63x8ebf.js";
23
+ import { C as Bo } from "./chunks/Close-CdWk2nDh.js";
24
+ import { I as bt } from "./chunks/Input-D81KBU9B.js";
25
+ import { T as Ho } from "./chunks/Textarea-DDJ2mdR3.js";
26
+ import { a as jo, K as No } from "./chunks/KeyboardArrowDown-CvGmYfHu.js";
27
+ import { D as Qr } from "./chunks/Divider-D6QU-XQ5.js";
28
+ import { a as en } from "./chunks/AlertMessage-AyMEW3JL.js";
29
29
  const tn = "https://search.fansunitedapi.com/v1", on = (t) => (t ?? "").split("-")[0].toUpperCase(), rn = (t, o) => {
30
30
  var n;
31
31
  const l = (n = t.translations) == null ? void 0 : n.find(
@@ -12016,7 +12016,7 @@ const Li = ({
12016
12016
  ]
12017
12017
  }
12018
12018
  );
12019
- }, Xi = be.memo(Ui), Ki = ar(() => import("./chunks/index-CLwe4rnO.js")), Gi = ({
12019
+ }, Xi = be.memo(Ui), Ki = ar(() => import("./chunks/index-8rxXfewU.js")), Gi = ({
12020
12020
  league: t,
12021
12021
  onBack: o,
12022
12022
  onLeagueLeft: l,
package/README.md CHANGED
@@ -4646,13 +4646,16 @@ A sport-agnostic league/competition standings table — position, team, stats (p
4646
4646
 
4647
4647
  ```ts
4648
4648
  type StandingsColumnKey =
4649
- | "played" | "won" | "drawn" | "lost" | "goals" | "points" | "winPercentage" | "form";
4649
+ | "played" | "won" | "drawn" | "lost"
4650
+ | "goals" | "goalsFor" | "goalsAgainst" | "goalsDifference"
4651
+ | "points" | "winPercentage" | "form";
4650
4652
  ```
4651
4653
 
4652
- `columns` is a request, not a guarantee — any column a competition can't support is dropped even if explicitly listed:
4654
+ Default (when `columns` is omitted): `played`, `won`, `drawn`, `lost`, `goals`, `points` (or `winPercentage` in its place), `form` — each still subject to the sport-based drops below. `columns` lets you request a subset, or opt into extra columns — but it's a request, not a guarantee: any column a competition can't support is dropped even if explicitly listed:
4653
4655
 
4656
+ - **`goalsFor` / `goalsAgainst` / `goalsDifference` (opt-in only)**: the combined `goals` column already shows for/against/difference together in one cell. These three keys break that same data into separate columns instead. Never part of the default set — list one or all three in `columns` to use them.
4654
4657
  - **Hockey**: `drawn` and `form` are always dropped (no ties; no match-event data source yet).
4655
- - **Basketball**: `drawn`, `form`, and `goals` are always dropped (no ties, no goal-based scoring).
4658
+ - **Basketball**: `drawn`, `form`, `goals`, `goalsFor`, `goalsAgainst`, and `goalsDifference` are always dropped (no ties, no goal-based scoring).
4656
4659
  - **`points` vs. `winPercentage`**: detected per competition, not per sport — if a group's standings carry no `points` stat at all (e.g. the Canadian Elite Basketball League, which ranks by win percentage), `points` is dropped and `winPercentage` (`won / played`, shown as `.714`) takes its place.
4657
4660
  - **`form`**: only fetched when the competition's sport is `"football"` — there's no match-event data source for other sports yet.
4658
4661
 
@@ -4663,6 +4666,14 @@ type StandingsColumnKey =
4663
4666
  language="en"
4664
4667
  columns={["played", "won", "drawn", "lost", "points"]}
4665
4668
  />
4669
+
4670
+ // Or with goals split into separate columns:
4671
+ <Standings
4672
+ entityId="fb:c:1"
4673
+ sdk={sdkInstance}
4674
+ language="en"
4675
+ columns={["played", "won", "drawn", "lost", "goalsFor", "goalsAgainst", "goalsDifference", "points"]}
4676
+ />
4666
4677
  ```
4667
4678
 
4668
4679
  #### Zone Colors & Labels
@@ -4731,6 +4742,86 @@ import { Standings } from "fansunited-frontend-components";
4731
4742
  />
4732
4743
  ```
4733
4744
 
4745
+ ### EventCard
4746
+
4747
+ A single-event card — a competition header over the two competitors and their kickoff time, live score, or final result. Team sports show one score column; tennis shows a per-set breakdown with an expandable scoreboard. Live events auto-refresh. Sport-agnostic: adapts its status labels and score layout to whichever sport the Sports API returns (football, basketball, tennis, ice hockey, American football, …).
4748
+
4749
+ **Key Features:**
4750
+
4751
+ - Three visual templates — `compact` (livescore row), `standard` (crest beside name flanking the score/time), `hero` (large stacked crest-over-name in an inset panel with a live accent bar)
4752
+ - Sport-aware status labels — upcoming / live / finished / cancelled, with a clock-vs-tennis finished label (`FT` vs `Finished`)
4753
+ - Tennis per-set scoreboard with tiebreak superscripts, collapsed by default and expandable
4754
+ - Live auto-refresh while the event is `LIVE`, on a configurable interval
4755
+ - Contained load-failed / not-available states that never break the host layout
4756
+
4757
+ #### Required Props
4758
+
4759
+ | Prop | Type | Description |
4760
+ | ---------- | -------------------- | ------------------ |
4761
+ | `eventId` | `string` | Event ID, e.g. `"fb:m:12345"` |
4762
+ | `sdk` | `FansUnitedSDKModel` | SDK instance |
4763
+ | `language` | `LanguageType` | Display language |
4764
+
4765
+ #### Optional Props
4766
+
4767
+ | Prop | Type | Description |
4768
+ | ----------------- | ------------------------ | --------------------------------------------------------------------------- |
4769
+ | `themeOptions` | `CustomThemeOptions` | Theme configuration |
4770
+ | `type` | `"header" \| "detailed"` | Kind of card. Defaults to `"header"`. `"detailed"` is reserved (not implemented yet) |
4771
+ | `template` | `"compact" \| "standard" \| "hero"` | Visual density. Defaults to `"standard"` |
4772
+ | `showCompetition` | `boolean` | Show the competition header. Defaults to `true` |
4773
+ | `showOdds` | `boolean` | Render betting odds. Defaults to `true` — not yet backed by the API, so currently renders nothing |
4774
+ | `liveRefresh` | `boolean` | Poll while the event is `LIVE`. Defaults to `true` |
4775
+ | `refreshInterval` | `number` | Live-refresh interval in ms. Defaults to `30000` (30s) |
4776
+
4777
+ #### Templates
4778
+
4779
+ `template` picks the visual prominence of the same card — it does not change what data is shown.
4780
+
4781
+ | Value | Layout |
4782
+ | --- | --- |
4783
+ | `"compact"` | Livescore-style row: time/status on the left, competitors stacked on the right with a single score column (team sports) or per-set grid (tennis) |
4784
+ | `"standard"` (default) | Competitors flank a central kickoff time / score, each crest beside its name |
4785
+ | `"hero"` | Large card — crest stacked over each name, score/time centered in an inset panel with a live accent bar |
4786
+
4787
+ ```tsx
4788
+ <EventCard eventId="fb:m:12345" sdk={sdkInstance} language="en" template="hero" />
4789
+ ```
4790
+
4791
+ #### Card Type
4792
+
4793
+ | Value | Behavior |
4794
+ | --- | --- |
4795
+ | `"header"` (default) | The condensed event card (header + competitors + time/score). The only kind implemented today |
4796
+ | `"detailed"` | A richer event view (lineups, stats, timeline). **Reserved, not implemented yet** — passing it has no effect; the header card renders regardless |
4797
+
4798
+
4799
+ #### Live Refresh
4800
+
4801
+ When `liveRefresh` is `true` (default) and the event is `LIVE`, the card re-fetches on `refreshInterval` so the score/status stay current. Only live events poll — upcoming and finished events are fetched once. Set `liveRefresh={false}` to disable polling.
4802
+
4803
+ #### Examples
4804
+
4805
+ ##### Basic
4806
+
4807
+ ```tsx
4808
+ import { EventCard } from "fansunited-frontend-components";
4809
+
4810
+ <EventCard eventId="fb:m:12345" sdk={sdkInstance} language="en" />;
4811
+ ```
4812
+
4813
+ ##### Compact Livescore Row
4814
+
4815
+ ```tsx
4816
+ <EventCard eventId="fb:m:12345" sdk={sdkInstance} language="en" template="compact" />
4817
+ ```
4818
+
4819
+ ##### Finished Event, No Live Polling
4820
+
4821
+ ```tsx
4822
+ <EventCard eventId="fb:m:12345" sdk={sdkInstance} language="en" liveRefresh={false} />
4823
+ ```
4824
+
4734
4825
  ---
4735
4826
 
4736
4827
  ## Available Components
@@ -4751,6 +4842,7 @@ This package exports the following components:
4751
4842
  - **`TopX`** - Multi-tab competitive picks predictor with game navigation, leaderboard, private leagues, rules, and prizes
4752
4843
  - **`Betslip`** - Floating betslip with bookmaker deep-link integration, six viewport positions, and command bus API
4753
4844
  - **`Standings`** - Sport-agnostic competition standings table with zone highlighting, rank movement, and team form
4845
+ - **`EventCard`** - Single-event card with compact/standard/hero templates, team + tennis scoring, sport-aware status labels, and live auto-refresh
4754
4846
 
4755
4847
  ## Related Packages
4756
4848