fansunited-frontend-components 1.1.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/BattleOfFans.js +427 -404
  2. package/Betslip.js +2 -2
  3. package/ChanceGame.js +1 -1
  4. package/ClassicQuizPlay.js +2 -2
  5. package/CollectLead.js +1 -1
  6. package/CompetitionStatistics.js +1 -1
  7. package/CompetitorCard.js +1 -1
  8. package/Discussion.js +1 -1
  9. package/EitherOrPlay.js +2 -2
  10. package/EventCard.js +1 -1
  11. package/EventGamePlay.js +2 -2
  12. package/Leaderboard.js +1 -1
  13. package/List.js +4 -4
  14. package/MatchQuizPlay.js +2 -2
  15. package/Odds.js +1 -1
  16. package/PersonalityQuizPlay.js +2 -2
  17. package/PickThePair.js +1 -1
  18. package/PlayerOfTheMatch.js +805 -857
  19. package/PollVote.js +2 -2
  20. package/Predictor.js +1576 -1569
  21. package/ProfileStats.d.ts +4 -0
  22. package/ProfileStats.d.ts.map +1 -0
  23. package/ProfileStats.js +2781 -0
  24. package/README.md +101 -2
  25. package/Standings.js +1 -1
  26. package/TopX.js +722 -715
  27. package/chunks/index-CLJiQKNv.js +4 -0
  28. package/chunks/index-D6-V3WrE.js +4 -0
  29. package/chunks/index-Dt38wFLo.js +4 -0
  30. package/chunks/index-Ehvd1Qmz.js +4 -0
  31. package/chunks/index-QtarvzAb.js +4 -0
  32. package/chunks/index-kffkFNES.js +4 -0
  33. package/chunks/{main-P2WNvBZE.js → main-8Yt_jn04.js} +402 -392
  34. package/chunks/{main-DdL0UekL.js → main-BnuQygIM.js} +1853 -1783
  35. package/chunks/main-BpGmqCTf.js +2142 -0
  36. package/chunks/main-C0PSUCR_.js +3027 -0
  37. package/chunks/{main-LEE8n2cG.js → main-CfdOHNHz.js} +1268 -1203
  38. package/chunks/{main-D_QDfmAw.js → main-PpLP-LeG.js} +1797 -1753
  39. package/chunks/{main-C7X4dM_P.js → main-p1Qbq-Fw.js} +1532 -1483
  40. package/chunks/{withVersionStamp-CzdDF1rG.js → withVersionStamp-BOktiTgW.js} +1 -1
  41. package/components.d.ts +2 -1
  42. package/components.d.ts.map +1 -1
  43. package/index.d.ts +1 -0
  44. package/index.d.ts.map +1 -1
  45. package/index.js +11 -9
  46. package/package.json +6 -2
  47. package/chunks/index-BNl8scz6.js +0 -4
  48. package/chunks/index-CSa2JU4m.js +0 -4
  49. package/chunks/index-Cd1dg0KI.js +0 -4
  50. package/chunks/index-Cei2fzi7.js +0 -4
  51. package/chunks/index-Cxb4wEJU.js +0 -4
  52. package/chunks/index-w1LGN5dz.js +0 -4
  53. package/chunks/main-07vzblS8.js +0 -2091
  54. package/chunks/main-DmBfwyb4.js +0 -2992
package/Betslip.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "./chunks/main-P2WNvBZE.js";
2
- import { w as t } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as o } from "./chunks/main-8Yt_jn04.js";
2
+ import { w as t } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const m = t(o);
4
4
  export {
5
5
  m as Betslip
package/ChanceGame.js CHANGED
@@ -5,7 +5,7 @@ import { NotFound as wt, StandardSkeleton as Ze, OverlaySkeleton as et, Presente
5
5
  import { useTranslation as ue } from "react-i18next";
6
6
  import { css as n, keyframes as tt } from "@emotion/react";
7
7
  import { c as re, V as e, h as ze, d as ke, o as se, u as ot, e as zt, S as ce, f as nt, D as it, C as Bt, W as Rt, g as Mt, i as _t, j as $t, O as Wt, F as Ft, b as Se, a as Ct, P as Dt } from "./chunks/PickOneOfX-IvE4OvyT.js";
8
- import { w as Tt } from "./chunks/withVersionStamp-CzdDF1rG.js";
8
+ import { w as Tt } from "./chunks/withVersionStamp-BOktiTgW.js";
9
9
  const Ge = {
10
10
  display: "flex",
11
11
  width: "100%",
@@ -1,5 +1,5 @@
1
- import { M as i } from "./chunks/main-DdL0UekL.js";
2
- import { w as o } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as i } from "./chunks/main-BnuQygIM.js";
2
+ import { w as o } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const s = o(i);
4
4
  export {
5
5
  s as ClassicQuizPlay
package/CollectLead.js CHANGED
@@ -4,7 +4,7 @@ import { PresentedBy as ue, CollectLeadForm as me, space as k, useBreakpointUp a
4
4
  import pe, { createContext as fe } from "react";
5
5
  import { css as n } from "@emotion/react";
6
6
  import { useTranslation as he } from "react-i18next";
7
- import { w as xe } from "./chunks/withVersionStamp-CzdDF1rG.js";
7
+ import { w as xe } from "./chunks/withVersionStamp-BOktiTgW.js";
8
8
  const V = (t) => /* @__PURE__ */ o(ue, { inheritColor: !0, ...t }), R = fe({
9
9
  shadowRootElement: null,
10
10
  language: null,
@@ -7,7 +7,7 @@ import { useTranslation as Gt } from "react-i18next";
7
7
  import { ChevronLeft as Ht, ChevronRight as jt, Tv as Ut } from "fansunited-frontend-core/ui/icons/lucide";
8
8
  import { O as Vt, u as Kt } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
9
9
  import "fansunited-sdk-esm/enums";
10
- import { w as Xt } from "./chunks/withVersionStamp-CzdDF1rG.js";
10
+ import { w as Xt } from "./chunks/withVersionStamp-BOktiTgW.js";
11
11
  const wt = "https://sports.fansunitedapi.com/v1", vt = (e) => {
12
12
  try {
13
13
  const t = e.helpers.getSDKConfiguration();
package/CompetitorCard.js CHANGED
@@ -8,7 +8,7 @@ import { O as ir, u as sr } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
8
  import { ArrowRight as rr, Info as ar, CalendarDays as lr, Users as cr, ChartColumn as dr, ChevronLeft as ur, ChevronDown as mr, Check as hr, X as fr, Minus as gr } from "fansunited-frontend-core/ui/icons/lucide";
9
9
  import { createPortal as pr } from "react-dom";
10
10
  import "fansunited-sdk-esm/enums";
11
- import { w as yr } from "./chunks/withVersionStamp-CzdDF1rG.js";
11
+ import { w as yr } from "./chunks/withVersionStamp-BOktiTgW.js";
12
12
  const Sr = (e) => {
13
13
  try {
14
14
  const t = e.helpers.getSDKConfiguration();
package/Discussion.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { M as o } from "./chunks/main-WkCv5Rjl.js";
2
- import { w as i } from "./chunks/withVersionStamp-CzdDF1rG.js";
2
+ import { w as i } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const t = i(o);
4
4
  export {
5
5
  t as Discussion
package/EitherOrPlay.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as r } from "./chunks/main-DmBfwyb4.js";
2
- import { w as o } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as r } from "./chunks/main-C0PSUCR_.js";
2
+ import { w as o } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const a = o(r);
4
4
  export {
5
5
  a as EitherOrPlay
package/EventCard.js CHANGED
@@ -7,7 +7,7 @@ import { getSportsApiCredentials as na, fetchSearchEntitiesByIds as oa, toIntlLo
7
7
  import { u as ha, O as fa } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
8
  import { EmojiEventsIcon as On, KeyboardArrowDownIcon as lt, CheckRoundedIcon as Gt, HowToVoteRoundedIcon as ai, KeyboardArrowRightIcon as ga, KeyboardArrowLeftIcon as ya, KeyboardArrowUpIcon as ba, SearchRoundedIcon as si, PersonOutlineIcon as wa, FlagRoundedIcon as xa, EditOutlinedIcon as Sa, DeleteOutlineIcon as qn, CheckCircleRoundedIcon as va, BoltRoundedIcon as Ea, PersonIcon as li, ShieldOutlinedIcon as Ca, SportsSoccerIcon as _a } from "fansunited-frontend-core/ui/icons";
9
9
  import { createPortal as ka } from "react-dom";
10
- import { w as Ra } from "./chunks/withVersionStamp-CzdDF1rG.js";
10
+ import { w as Ra } from "./chunks/withVersionStamp-BOktiTgW.js";
11
11
  const Zn = (e) => {
12
12
  var l, d, c, m, p, b;
13
13
  if (!(e != null && e.event)) return [];
package/EventGamePlay.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "./chunks/main-C7X4dM_P.js";
2
- import { w as t } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as o } from "./chunks/main-p1Qbq-Fw.js";
2
+ import { w as t } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const r = t(o);
4
4
  export {
5
5
  r as EventGamePlay
package/Leaderboard.js CHANGED
@@ -6,7 +6,7 @@ import { Select as ge, Spinner as ye, DataTable as be, Avatar as K, Button as S,
6
6
  import { useInternalTheme as ce, useColors as xe, useIsExtraSmall as Ce, hexToRgb as ee, stripHtmlTags as Te, DirectionalIcon as $, useDisableCache as Pe } from "fansunited-frontend-core";
7
7
  import { PersonIcon as Le } from "fansunited-frontend-core/ui/icons";
8
8
  import { ChevronsLeft as Ae, ChevronLeft as Ee, ChevronRight as we, ChevronsRight as Ie } from "fansunited-frontend-core/ui/icons/lucide";
9
- import { w as Me } from "./chunks/withVersionStamp-CzdDF1rG.js";
9
+ import { w as Me } from "./chunks/withVersionStamp-BOktiTgW.js";
10
10
  const Oe = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()).join(" "), D = {
11
11
  root: v({
12
12
  display: "flex",
package/List.js CHANGED
@@ -6,7 +6,7 @@ import { useState as k, useRef as _, useCallback as Y, useEffect as ye, lazy as
6
6
  import { useTranslation as q } from "react-i18next";
7
7
  import { Users as be, ChevronsLeft as ve, ChevronLeft as Ce, ChevronRight as Se, ChevronsRight as Ie } from "fansunited-frontend-core/ui/icons/lucide";
8
8
  import { CloseIcon as we } from "fansunited-frontend-core/ui/icons";
9
- import { w as Me } from "./chunks/withVersionStamp-CzdDF1rG.js";
9
+ import { w as Me } from "./chunks/withVersionStamp-BOktiTgW.js";
10
10
  const se = (t) => {
11
11
  const n = t.entityModel;
12
12
  if (!n) return null;
@@ -409,9 +409,9 @@ const se = (t) => {
409
409
  ] })
410
410
  ] })
411
411
  ] });
412
- }, Ae = j(() => import("./chunks/index-CSa2JU4m.js")), ke = j(
413
- () => import("./chunks/index-w1LGN5dz.js")
414
- ), He = j(() => import("./chunks/index-Cxb4wEJU.js")), We = j(() => import("./chunks/index-Cei2fzi7.js")), Be = j(() => import("./chunks/index-BNl8scz6.js")), Qe = j(() => import("./chunks/index-Cd1dg0KI.js")), oe = "rgba(var(--fu-ucrc-shadow-channel) / var(--fu-ucrc-shadow-opacity))", D = {
412
+ }, Ae = j(() => import("./chunks/index-Ehvd1Qmz.js")), ke = j(
413
+ () => import("./chunks/index-CLJiQKNv.js")
414
+ ), He = j(() => import("./chunks/index-Dt38wFLo.js")), We = j(() => import("./chunks/index-QtarvzAb.js")), Be = j(() => import("./chunks/index-D6-V3WrE.js")), Qe = j(() => import("./chunks/index-kffkFNES.js")), oe = "rgba(var(--fu-ucrc-shadow-channel) / var(--fu-ucrc-shadow-opacity))", D = {
415
415
  // Joy's outlined ModalDialog, centred in the modal's fixed root, with no padding.
416
416
  dialog: i({
417
417
  position: "absolute",
package/MatchQuizPlay.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "./chunks/main-D_QDfmAw.js";
2
- import { w as t } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as o } from "./chunks/main-PpLP-LeG.js";
2
+ import { w as t } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const r = t(o);
4
4
  export {
5
5
  r as MatchQuizPlay
package/Odds.js CHANGED
@@ -4,7 +4,7 @@ import f from "react";
4
4
  import { useDisableCache as E, fetchEventById as F } from "fansunited-frontend-core";
5
5
  import { u as M, O as R } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
6
6
  import "fansunited-sdk-esm/enums";
7
- import { w as X } from "./chunks/withVersionStamp-CzdDF1rG.js";
7
+ import { w as X } from "./chunks/withVersionStamp-BOktiTgW.js";
8
8
  const _ = ({
9
9
  eventId: t,
10
10
  sdk: n,
@@ -1,5 +1,5 @@
1
- import { M as o } from "./chunks/main-LEE8n2cG.js";
2
- import { w as i } from "./chunks/withVersionStamp-CzdDF1rG.js";
1
+ import { M as o } from "./chunks/main-CfdOHNHz.js";
2
+ import { w as i } from "./chunks/withVersionStamp-BOktiTgW.js";
3
3
  const a = i(o);
4
4
  export {
5
5
  a as PersonalityQuizPlay
package/PickThePair.js CHANGED
@@ -5,7 +5,7 @@ import nt, { useMemo as at, useCallback as $t, useEffect as Pe, useState as V }
5
5
  import { useTranslation as ce } from "react-i18next";
6
6
  import { keyframes as he, css as i } from "@emotion/react";
7
7
  import { TimerOutlinedIcon as At } from "fansunited-frontend-core/ui/icons";
8
- import { w as zt } from "./chunks/withVersionStamp-CzdDF1rG.js";
8
+ import { w as zt } from "./chunks/withVersionStamp-BOktiTgW.js";
9
9
  const t = {
10
10
  fontPrimary: "var(--fu-ucrc-font-primary)",
11
11
  fontSecondary: "var(--fu-ucrc-font-secondary)",