fansunited-frontend-components 1.1.1 → 1.2.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.
- package/BattleOfFans.js +427 -404
- package/Betslip.js +1 -1
- package/ChanceGame.js +1 -1
- package/ClassicQuizPlay.js +2 -2
- package/CollectLead.js +1 -1
- package/CompetitionStatistics.js +1 -1
- package/CompetitorCard.js +1 -1
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +2 -2
- package/EventCard.js +1 -1
- package/EventGamePlay.js +2 -2
- package/Leaderboard.js +1 -1
- package/List.js +4 -4
- package/MatchQuizPlay.js +2 -2
- package/Odds.js +1 -1
- package/PersonalityQuizPlay.js +2 -2
- package/PickThePair.js +1 -1
- package/PlayerOfTheMatch.js +805 -857
- package/PollVote.js +2 -2
- package/Predictor.js +1 -1
- package/ProfileStats.d.ts +4 -0
- package/ProfileStats.d.ts.map +1 -0
- package/ProfileStats.js +2781 -0
- package/README.md +61 -2
- package/Standings.js +1 -1
- package/TopX.js +1 -1
- package/chunks/index-CLJiQKNv.js +4 -0
- package/chunks/index-D6-V3WrE.js +4 -0
- package/chunks/index-Dt38wFLo.js +4 -0
- package/chunks/index-Ehvd1Qmz.js +4 -0
- package/chunks/index-QtarvzAb.js +4 -0
- package/chunks/index-kffkFNES.js +4 -0
- package/chunks/{main-DdL0UekL.js → main-BnuQygIM.js} +1853 -1783
- package/chunks/main-BpGmqCTf.js +2142 -0
- package/chunks/main-C0PSUCR_.js +3027 -0
- package/chunks/{main-LEE8n2cG.js → main-CfdOHNHz.js} +1268 -1203
- package/chunks/{main-D_QDfmAw.js → main-PpLP-LeG.js} +1797 -1753
- package/chunks/{main-C7X4dM_P.js → main-p1Qbq-Fw.js} +1532 -1483
- package/chunks/{withVersionStamp-CzdDF1rG.js → withVersionStamp-C1gbpK3-.js} +1 -1
- package/components.d.ts +2 -1
- package/components.d.ts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +11 -9
- package/package.json +6 -2
- package/chunks/index-BNl8scz6.js +0 -4
- package/chunks/index-CSa2JU4m.js +0 -4
- package/chunks/index-Cd1dg0KI.js +0 -4
- package/chunks/index-Cei2fzi7.js +0 -4
- package/chunks/index-Cxb4wEJU.js +0 -4
- package/chunks/index-w1LGN5dz.js +0 -4
- package/chunks/main-07vzblS8.js +0 -2091
- package/chunks/main-DmBfwyb4.js +0 -2992
package/Betslip.js
CHANGED
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-
|
|
8
|
+
import { w as Tt } from "./chunks/withVersionStamp-C1gbpK3-.js";
|
|
9
9
|
const Ge = {
|
|
10
10
|
display: "flex",
|
|
11
11
|
width: "100%",
|
package/ClassicQuizPlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as i } from "./chunks/main-
|
|
2
|
-
import { w as o } from "./chunks/withVersionStamp-
|
|
1
|
+
import { M as i } from "./chunks/main-BnuQygIM.js";
|
|
2
|
+
import { w as o } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
7
|
+
import { w as xe } from "./chunks/withVersionStamp-C1gbpK3-.js";
|
|
8
8
|
const V = (t) => /* @__PURE__ */ o(ue, { inheritColor: !0, ...t }), R = fe({
|
|
9
9
|
shadowRootElement: null,
|
|
10
10
|
language: null,
|
package/CompetitionStatistics.js
CHANGED
|
@@ -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-
|
|
10
|
+
import { w as Xt } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
11
|
+
import { w as yr } from "./chunks/withVersionStamp-C1gbpK3-.js";
|
|
12
12
|
const Sr = (e) => {
|
|
13
13
|
try {
|
|
14
14
|
const t = e.helpers.getSDKConfiguration();
|
package/Discussion.js
CHANGED
package/EitherOrPlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as r } from "./chunks/main-
|
|
2
|
-
import { w as o } from "./chunks/withVersionStamp-
|
|
1
|
+
import { M as r } from "./chunks/main-C0PSUCR_.js";
|
|
2
|
+
import { w as o } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
10
|
+
import { w as Ra } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
2
|
-
import { w as t } from "./chunks/withVersionStamp-
|
|
1
|
+
import { M as o } from "./chunks/main-p1Qbq-Fw.js";
|
|
2
|
+
import { w as t } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
9
|
+
import { w as Me } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
9
|
+
import { w as Me } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
413
|
-
() => import("./chunks/index-
|
|
414
|
-
), He = j(() => import("./chunks/index-
|
|
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-
|
|
2
|
-
import { w as t } from "./chunks/withVersionStamp-
|
|
1
|
+
import { M as o } from "./chunks/main-PpLP-LeG.js";
|
|
2
|
+
import { w as t } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
7
|
+
import { w as X } from "./chunks/withVersionStamp-C1gbpK3-.js";
|
|
8
8
|
const _ = ({
|
|
9
9
|
eventId: t,
|
|
10
10
|
sdk: n,
|
package/PersonalityQuizPlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as o } from "./chunks/main-
|
|
2
|
-
import { w as i } from "./chunks/withVersionStamp-
|
|
1
|
+
import { M as o } from "./chunks/main-CfdOHNHz.js";
|
|
2
|
+
import { w as i } from "./chunks/withVersionStamp-C1gbpK3-.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-
|
|
8
|
+
import { w as zt } from "./chunks/withVersionStamp-C1gbpK3-.js";
|
|
9
9
|
const t = {
|
|
10
10
|
fontPrimary: "var(--fu-ucrc-font-primary)",
|
|
11
11
|
fontSecondary: "var(--fu-ucrc-font-secondary)",
|