fansunited-frontend-components 1.0.0 → 1.0.2

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/Betslip.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { M as o } from "./chunks/main-P2WNvBZE.js";
2
- import { w as t } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as t } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
8
+ import { w as Tt } from "./chunks/withVersionStamp-KKp-FjR1.js";
9
9
  const Ge = {
10
10
  display: "flex",
11
11
  width: "100%",
@@ -1,5 +1,5 @@
1
1
  import { M as i } from "./chunks/main-DdL0UekL.js";
2
- import { w as o } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as o } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
7
+ import { w as xe } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
10
+ import { w as Xt } from "./chunks/withVersionStamp-KKp-FjR1.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 rr, u as ar } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
8
  import { ArrowRight as lr, Info as cr, CalendarDays as dr, Users as ur, ChartColumn as mr, ChevronLeft as hr, ChevronDown as fr, Check as gr, X as pr, Minus as yr } from "fansunited-frontend-core/ui/icons/lucide";
9
9
  import { createPortal as Sr } from "react-dom";
10
10
  import "fansunited-sdk-esm/enums";
11
- import { w as wr } from "./chunks/withVersionStamp-CPDfSE5H.js";
11
+ import { w as wr } from "./chunks/withVersionStamp-KKp-FjR1.js";
12
12
  const vr = (e) => {
13
13
  try {
14
14
  const t = e.helpers.getSDKConfiguration();
package/Discussion.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "./chunks/main-gV165E-A.js";
2
- import { w as i } from "./chunks/withVersionStamp-CPDfSE5H.js";
1
+ import { M as o } from "./chunks/main-WkCv5Rjl.js";
2
+ import { w as i } from "./chunks/withVersionStamp-KKp-FjR1.js";
3
3
  const t = i(o);
4
4
  export {
5
5
  t as Discussion
package/EitherOrPlay.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { M as r } from "./chunks/main-DmBfwyb4.js";
2
- import { w as o } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as o } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
10
+ import { w as Ra } from "./chunks/withVersionStamp-KKp-FjR1.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
1
  import { M as o } from "./chunks/main-C7X4dM_P.js";
2
- import { w as t } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as t } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
9
+ import { w as Me } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
9
+ import { w as Me } from "./chunks/withVersionStamp-KKp-FjR1.js";
10
10
  const se = (t) => {
11
11
  const n = t.entityModel;
12
12
  if (!n) return null;
package/MatchQuizPlay.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { M as o } from "./chunks/main-D_QDfmAw.js";
2
- import { w as t } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as t } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
7
+ import { w as X } from "./chunks/withVersionStamp-KKp-FjR1.js";
8
8
  const _ = ({
9
9
  eventId: t,
10
10
  sdk: n,
@@ -1,5 +1,5 @@
1
1
  import { M as o } from "./chunks/main-LEE8n2cG.js";
2
- import { w as i } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as i } from "./chunks/withVersionStamp-KKp-FjR1.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-CPDfSE5H.js";
8
+ import { w as zt } from "./chunks/withVersionStamp-KKp-FjR1.js";
9
9
  const t = {
10
10
  fontPrimary: "var(--fu-ucrc-font-primary)",
11
11
  fontSecondary: "var(--fu-ucrc-font-secondary)",
@@ -6,7 +6,7 @@ import { useRef as $e, useEffect as U, useState as I, useMemo as Ce } from "reac
6
6
  import { css as r } from "@emotion/react";
7
7
  import { ChevronLeftIcon as Lo, ChevronRightIcon as Wo, StarIcon as Qe, SearchIcon as Fo, CloseIcon as Ho, FilterAltIcon as lt, AccessTimeIcon as qt, HowToVoteIcon as Oo, CheckCircleIcon as No } from "fansunited-frontend-core/ui/icons";
8
8
  import { X as Xo } from "fansunited-frontend-core/ui/icons/lucide";
9
- import { w as Vo } from "./chunks/withVersionStamp-CPDfSE5H.js";
9
+ import { w as Vo } from "./chunks/withVersionStamp-KKp-FjR1.js";
10
10
  const e = {
11
11
  fontPrimary: "var(--fu-ucrc-font-primary)",
12
12
  fontSecondary: "var(--fu-ucrc-font-secondary)",
package/PollVote.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { M as o } from "./chunks/main-07vzblS8.js";
2
- import { w as t } from "./chunks/withVersionStamp-CPDfSE5H.js";
2
+ import { w as t } from "./chunks/withVersionStamp-KKp-FjR1.js";
3
3
  const m = t(o);
4
4
  export {
5
5
  m as PollVote
package/Predictor.js CHANGED
@@ -7,10 +7,10 @@ import { componentEventsEmitter as Is, betslipApi as Mo, DirectionalIcon as io,
7
7
  import { i as kr, p as Ls, s as Os, u as As, a as $s, O as Bs } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
8
  import "fansunited-sdk-esm/enums";
9
9
  import { css as s, keyframes as nt } from "@emotion/react";
10
- import { c as I, p as X, f as z, a as Ve, L as Ns, b as go, m as Sr, d as Fs, G as Ps, P as zs, R as Ws, e as Hs } from "./chunks/predictionsHelpers-fwXaMadu.js";
10
+ import { c as I, p as X, f as z, a as Ve, L as Ns, b as go, m as Sr, d as Fs, G as Ps, P as zs, R as Ws, e as Hs } from "./chunks/predictionsHelpers-D8j0Y78z.js";
11
11
  import { ShieldOutlinedIcon as qo, KeyboardArrowDownIcon as Tr, KeyboardArrowUpIcon as Vs } from "fansunited-frontend-core/ui/icons";
12
12
  import "fansunited-frontend-core/ui/icons/lucide";
13
- import { w as js } from "./chunks/withVersionStamp-CPDfSE5H.js";
13
+ import { w as js } from "./chunks/withVersionStamp-KKp-FjR1.js";
14
14
  const Rr = Es(null), Er = ({ children: e, ...t }) => /* @__PURE__ */ o(Rr.Provider, { value: t, children: e }), Je = () => {
15
15
  const e = _s(Rr);
16
16
  if (!e)
package/Standings.js CHANGED
@@ -7,7 +7,7 @@ import { hexToRgb as Ge, useDisableCache as je, extractSdkErrorMessage as it, us
7
7
  import { MatchFilters as ke } from "fansunited-sdk-esm/models";
8
8
  import { EmojiEventsIcon as dt } from "fansunited-frontend-core/ui/icons";
9
9
  import { createPortal as ut } from "react-dom";
10
- import { w as pt } from "./chunks/withVersionStamp-CPDfSE5H.js";
10
+ import { w as pt } from "./chunks/withVersionStamp-KKp-FjR1.js";
11
11
  const ft = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().replace(
12
12
  /\S+/g,
13
13
  (n) => n.charAt(0).toUpperCase() + n.slice(1).toLowerCase()
package/TopX.js CHANGED
@@ -7,10 +7,10 @@ import { useDisableCache as Xt, extractSdkErrorMessage as Bt, betslipApi as Rn,
7
7
  import { MarketEnum as yr } from "fansunited-sdk-esm/enums";
8
8
  import { u as br, s as $n, a as xr, O as vr } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
9
9
  import { css as n, keyframes as he } from "@emotion/react";
10
- import { c as x, p as N, f as P, a as Ie, L as kr, b as Dn, m as Pn, d as Sr, G as wr, P as Cr, R as Tr, e as Ir } from "./chunks/predictionsHelpers-fwXaMadu.js";
10
+ import { c as x, p as N, f as P, a as Ie, L as kr, b as Dn, m as Pn, d as Sr, G as wr, P as Cr, R as Tr, e as Ir } from "./chunks/predictionsHelpers-D8j0Y78z.js";
11
11
  import { ShieldOutlinedIcon as Nn, PersonIcon as Er } from "fansunited-frontend-core/ui/icons";
12
12
  import "fansunited-frontend-core/ui/icons/lucide";
13
- import { w as Lr } from "./chunks/withVersionStamp-CPDfSE5H.js";
13
+ import { w as Lr } from "./chunks/withVersionStamp-KKp-FjR1.js";
14
14
  const On = gr(null), Rr = ({ children: e, ...o }) => /* @__PURE__ */ t(On.Provider, { value: o, children: e }), Ye = () => {
15
15
  const e = hr(On);
16
16
  if (!e)
@@ -0,0 +1,4 @@
1
+ import { M as o } from "./main-WkCv5Rjl.js";
2
+ export {
3
+ o as default
4
+ };