fansunited-frontend-components 0.0.92 → 0.0.94
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 +1 -1
- package/ChanceGame.js +139 -146
- package/ClassicQuizPlay.js +1 -1
- package/CollectLead.js +14 -20
- package/CompetitionStatistics.js +27 -27
- package/CompetitorCard.js +895 -891
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +1 -1
- package/EventCard.js +1494 -1571
- package/EventGamePlay.js +1 -1
- package/Leaderboard.js +249 -257
- package/List.js +319 -436
- package/MatchQuizPlay.js +1 -1
- package/Odds.js +30 -30
- package/PersonalityQuizPlay.js +1 -1
- package/PickThePair.js +627 -693
- package/PlayerOfTheMatch.js +256 -279
- package/PollVote.js +1 -1
- package/Predictor.js +19443 -2
- package/README.md +2 -1
- package/Standings.js +94 -99
- package/TopX.js +5871 -6988
- package/chunks/ChanceGameEmbedVariant-C3NGwvTF.js +21 -0
- package/chunks/OddsSkeleton-Bav8FHHN.js +26 -0
- package/chunks/{OddsStrip-B159Nivm.js → OddsStrip-CviVfQI4.js} +51 -53
- package/chunks/{PickOneOfX-D9qlxKTD.js → PickOneOfX-a6Dv0-rR.js} +210 -212
- package/chunks/index-B1d9q8fX.js +4 -0
- package/chunks/index-BP0pvFJ4.js +4 -0
- package/chunks/index-CHZyL_g_.js +4 -0
- package/chunks/index-CeCUdRmF.js +4 -0
- package/chunks/index-Ckyyw-I8.js +4 -0
- package/chunks/index-DGvCP5G8.js +4 -0
- package/chunks/index-yjMVOgwO.js +4 -0
- package/chunks/{main-CcPVuc5G.js → main-CFwRpvUi.js} +219 -238
- package/chunks/{main-By2Fg4Us.js → main-D9tFZv2q.js} +272 -309
- package/chunks/{main-Db4YC1C9.js → main-Dj4Manb5.js} +386 -407
- package/chunks/{main-BhONg691.js → main-DjiQz1dv.js} +764 -1125
- package/chunks/{main-BoLNJccN.js → main-Dys2_Jt2.js} +1625 -1954
- package/chunks/{main-JAewg2VD.js → main-dwV_55lz.js} +409 -432
- package/chunks/main-eAQMCxQ7.js +1949 -0
- package/chunks/{main-CWfREbUv.js → main-gexg6lc-.js} +959 -977
- package/index.js +40 -44
- package/package.json +13 -5
- package/chunks/AccessTime-B7Q_InTi.js +0 -10
- package/chunks/AlertMessage-CTbc9daZ.js +0 -318
- package/chunks/Avatar-Ve0m4ut_.js +0 -353
- package/chunks/Button-x1sQVMH2.js +0 -665
- package/chunks/Card-DfxnA3Cz.js +0 -196
- package/chunks/CardActions-TMBAbk8a.js +0 -140
- package/chunks/CardContent-CLQHztIU.js +0 -106
- package/chunks/ChanceGameEmbedVariant-C3TKbPI4.js +0 -913
- package/chunks/CheckCircle-DW1VzjQO.js +0 -8
- package/chunks/Chip-BUoNpinI.js +0 -365
- package/chunks/CircularProgress-D88LgW2V.js +0 -317
- package/chunks/Close-BxLZcPtb.js +0 -9
- package/chunks/Close-DVx6f5-e.js +0 -8
- package/chunks/CollectLeadForm-DtUFKk99.js +0 -3419
- package/chunks/ConsentsList-BcIMKviP.js +0 -339
- package/chunks/DirectionScope-CK0duYt8.js +0 -36
- package/chunks/Divider-D_ALv2uC.js +0 -166
- package/chunks/Edit-CiKqhDom.js +0 -99
- package/chunks/EmojiEvents-BYoxruEl.js +0 -8
- package/chunks/FavoriteBorder-YhT6RHv5.js +0 -11
- package/chunks/FormControl-BNG04EhC.js +0 -656
- package/chunks/FormControlContext-Ct0huDDM.js +0 -6
- package/chunks/FormLabel-Bl7hTa8O.js +0 -130
- package/chunks/GlobalStyles-PokSS9bO.js +0 -12
- package/chunks/InlineSpinner-BhKW6lxZ.js +0 -28
- package/chunks/Input-B7kPqO0b.js +0 -391
- package/chunks/KeyboardArrowDown-OGGGLEnE.js +0 -8
- package/chunks/KeyboardArrowRight-DN7qrp17.js +0 -11
- package/chunks/KeyboardArrowUp-jvN5m_A0.js +0 -8
- package/chunks/Link-brb09X-6.js +0 -319
- package/chunks/ListItemButton-BFG5QJbo.js +0 -1151
- package/chunks/ModalClose-D3i-AyMB.js +0 -153
- package/chunks/ModalDialog-Be6w76fh.js +0 -880
- package/chunks/NotFoundSkeleton-BHRVG8yg.js +0 -83
- package/chunks/Notification-CC66HKXb.js +0 -614
- package/chunks/OddsSkeleton-BBOVhfsn.js +0 -137
- package/chunks/OverlayScoreStateSkeleton-D5rnBJ_w.js +0 -154
- package/chunks/OverlayScoreStateWrapperSkeleton-CTXzD0bm.js +0 -81
- package/chunks/OverlaySignInSkeleton-T8A_9Tco.js +0 -518
- package/chunks/OverlaySkeleton-y02LRXZy.js +0 -1193
- package/chunks/Person-BD-IO4aX.js +0 -8
- package/chunks/PersonOutline-Nxl_9g9S.js +0 -8
- package/chunks/Popper-CGfJHTbM.js +0 -1263
- package/chunks/Portal-DQQSLiON.js +0 -74
- package/chunks/Portal-X8O64KaQ.js +0 -66
- package/chunks/Predictor-BJBBwZ6R.js +0 -19513
- package/chunks/PrizeCard-B2tBhY45.js +0 -36400
- package/chunks/Search-jaDXe8g7.js +0 -14
- package/chunks/Select-CzBMHr7z.js +0 -1165
- package/chunks/Sheet-x-YGYOYz.js +0 -132
- package/chunks/SignInCta-3NFxIOuf.js +0 -79
- package/chunks/Spinner-_5U881sC.js +0 -39
- package/chunks/SportsSoccer-DLUgspA-.js +0 -20
- package/chunks/Stack-CDpKA1D-.js +0 -169
- package/chunks/StandardContentSkeleton-DaZftDxZ.js +0 -57
- package/chunks/Table-IJ9-D2DF.js +0 -394
- package/chunks/Tabs-iyOvjGfd.js +0 -1084
- package/chunks/Textarea-Dv_Z4l5j.js +0 -475
- package/chunks/TimerOutlined-jNsK__Zz.js +0 -8
- package/chunks/Tooltip-clSjN1oC.js +0 -535
- package/chunks/Typography-BsucZNXl.js +0 -775
- package/chunks/areArraysEqual-B3mXtHvh.js +0 -6
- package/chunks/colorInversionUtils-AoR_6ghW.js +0 -347
- package/chunks/createSvgIcon-BWoHeNkc.js +0 -2813
- package/chunks/createSvgIcon-DBkOhFdn.js +0 -206
- package/chunks/dividerClasses-BkQMLbsL.js +0 -9
- package/chunks/elementAcceptingRef-DjUfkpLB.js +0 -25
- package/chunks/enums-B1lTCQvC.js +0 -15
- package/chunks/formLabelClasses-N0g8NZ67.js +0 -9
- package/chunks/getReactElementRef-B3MFPBbS.js +0 -21
- package/chunks/helpers-CKFwVhwj.js +0 -558
- package/chunks/index-Bg5jypgn.js +0 -11
- package/chunks/index-Bnad45hB.js +0 -4
- package/chunks/index-C6rtfeRX.js +0 -4
- package/chunks/index-CFc0WTOi.js +0 -848
- package/chunks/index-C_kf8WZI.js +0 -4
- package/chunks/index-CaVpDbdC.js +0 -4
- package/chunks/index-DJJVbXn_.js +0 -4
- package/chunks/index-DQO7VDRC.js +0 -4
- package/chunks/index-Kgehqf8J.js +0 -4
- package/chunks/main-W_W6YBtr.js +0 -3280
- package/chunks/ownerWindow-PI509BpA.js +0 -7
- package/chunks/searchEntities-SJcoznz0.js +0 -38
- package/chunks/sportsEvents-CGX-WkNB.js +0 -27
- package/chunks/useButton-C9taTgFS.js +0 -106
- package/chunks/useConsents-BLhgfEDf.js +0 -1168
- package/chunks/useControlled-BYdyS7Pn.js +0 -31
- package/chunks/useEmbedCode-DCWnWGak.js +0 -31
- package/chunks/useEventCallback-C9W0M_8l.js +0 -14
- package/chunks/useForwardedInput-CkAnayh_.js +0 -180
- package/chunks/useImageVariant-B62O7iLC.js +0 -15
- package/chunks/useInfoPage-BHdgKdme.js +0 -50
- package/chunks/useParticipationDraft-Brnd_p3w.js +0 -307
- package/chunks/useSwitch-DLSSqtcZ.js +0 -66
- package/chunks/variantColorInheritance-DZr7CNx6.js +0 -30
- package/chunks/visuallyHidden-B8J7BVSJ.js +0 -14
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { G as N, F as U, _ as r, H as J, P as o, J as u } from "./PrizeCard-B2tBhY45.js";
|
|
2
|
-
import * as d from "react";
|
|
3
|
-
import { s as E, a as F, b as L, c as W } from "./Typography-BsucZNXl.js";
|
|
4
|
-
import { S as G } from "./Button-x1sQVMH2.js";
|
|
5
|
-
import { C as H } from "./Close-BxLZcPtb.js";
|
|
6
|
-
import { C as q, b as w, c as A } from "./ModalDialog-Be6w76fh.js";
|
|
7
|
-
import { jsx as M } from "react/jsx-runtime";
|
|
8
|
-
import { u as K } from "./useButton-C9taTgFS.js";
|
|
9
|
-
function Q(e) {
|
|
10
|
-
return N("MuiModalClose", e);
|
|
11
|
-
}
|
|
12
|
-
U("MuiModalClose", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg"]);
|
|
13
|
-
var b;
|
|
14
|
-
const X = ["component", "color", "variant", "size", "onClick", "slots", "slotProps"], Y = (e) => {
|
|
15
|
-
const {
|
|
16
|
-
variant: s,
|
|
17
|
-
color: t,
|
|
18
|
-
disabled: n,
|
|
19
|
-
focusVisible: a,
|
|
20
|
-
size: l
|
|
21
|
-
} = e, i = {
|
|
22
|
-
root: ["root", n && "disabled", a && "focusVisible", s && `variant${u(s)}`, t && `color${u(t)}`, l && `size${u(l)}`]
|
|
23
|
-
};
|
|
24
|
-
return W(i, Q, {});
|
|
25
|
-
}, Z = E(G, {
|
|
26
|
-
name: "JoyModalClose",
|
|
27
|
-
slot: "Root",
|
|
28
|
-
overridesResolver: (e, s) => s.root
|
|
29
|
-
})(({
|
|
30
|
-
ownerState: e,
|
|
31
|
-
theme: s
|
|
32
|
-
}) => {
|
|
33
|
-
var t;
|
|
34
|
-
return r({}, e.size === "sm" && {
|
|
35
|
-
"--IconButton-size": "1.75rem"
|
|
36
|
-
}, e.size === "md" && {
|
|
37
|
-
"--IconButton-size": "2rem"
|
|
38
|
-
}, e.size === "lg" && {
|
|
39
|
-
"--IconButton-size": "2.25rem"
|
|
40
|
-
}, {
|
|
41
|
-
position: "absolute",
|
|
42
|
-
zIndex: 1,
|
|
43
|
-
// stay on top of the title in case it is positioned relatively
|
|
44
|
-
top: "var(--ModalClose-inset, 0.625rem)",
|
|
45
|
-
right: "var(--ModalClose-inset, 0.625rem)",
|
|
46
|
-
borderRadius: `var(--ModalClose-radius, ${s.vars.radius.sm})`
|
|
47
|
-
}, !((t = s.variants[e.variant]) != null && (t = t[e.color]) != null && t.backgroundColor) && {
|
|
48
|
-
color: s.vars.palette.text.secondary
|
|
49
|
-
});
|
|
50
|
-
}), oo = {
|
|
51
|
-
plain: "plain",
|
|
52
|
-
outlined: "plain",
|
|
53
|
-
soft: "soft",
|
|
54
|
-
solid: "solid"
|
|
55
|
-
}, so = /* @__PURE__ */ d.forwardRef(function(s, t) {
|
|
56
|
-
var n, a, l, i, m, C;
|
|
57
|
-
const c = F({
|
|
58
|
-
props: s,
|
|
59
|
-
name: "JoyModalClose"
|
|
60
|
-
}), {
|
|
61
|
-
component: f = "button",
|
|
62
|
-
color: x = "neutral",
|
|
63
|
-
variant: P = "plain",
|
|
64
|
-
size: _ = "md",
|
|
65
|
-
onClick: v,
|
|
66
|
-
slots: O = {},
|
|
67
|
-
slotProps: T = {}
|
|
68
|
-
} = c, R = J(c, X), g = d.useContext(q), p = d.useContext(w), S = (n = (a = s.variant) != null ? a : oo[p == null ? void 0 : p.variant]) != null ? n : P, $ = (l = (i = s.color) != null ? i : p == null ? void 0 : p.color) != null ? l : x, h = d.useContext(A), D = (m = (C = s.size) != null ? C : h) != null ? m : _, {
|
|
69
|
-
focusVisible: I,
|
|
70
|
-
getRootProps: V
|
|
71
|
-
} = K(r({}, c, {
|
|
72
|
-
rootRef: t
|
|
73
|
-
})), y = r({}, c, {
|
|
74
|
-
color: $,
|
|
75
|
-
component: f,
|
|
76
|
-
variant: S,
|
|
77
|
-
size: D,
|
|
78
|
-
focusVisible: I
|
|
79
|
-
}), k = Y(y), [j, B] = L("root", {
|
|
80
|
-
ref: t,
|
|
81
|
-
elementType: Z,
|
|
82
|
-
getSlotProps: V,
|
|
83
|
-
externalForwardedProps: r({
|
|
84
|
-
onClick: (z) => {
|
|
85
|
-
g == null || g(z, "closeClick"), v == null || v(z);
|
|
86
|
-
}
|
|
87
|
-
}, R, {
|
|
88
|
-
component: f,
|
|
89
|
-
slots: O,
|
|
90
|
-
slotProps: T
|
|
91
|
-
}),
|
|
92
|
-
className: k.root,
|
|
93
|
-
ownerState: y
|
|
94
|
-
});
|
|
95
|
-
return /* @__PURE__ */ M(j, r({}, B, {
|
|
96
|
-
children: b || (b = /* @__PURE__ */ M(H, {}))
|
|
97
|
-
}));
|
|
98
|
-
});
|
|
99
|
-
process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
100
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
101
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
102
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
103
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
104
|
-
/**
|
|
105
|
-
* @ignore
|
|
106
|
-
*/
|
|
107
|
-
children: o.node,
|
|
108
|
-
/**
|
|
109
|
-
* The color of the component. It supports those theme colors that make sense for this component.
|
|
110
|
-
* @default 'neutral'
|
|
111
|
-
*/
|
|
112
|
-
color: o.oneOfType([o.oneOf(["danger", "neutral", "primary", "success", "warning"]), o.string]),
|
|
113
|
-
/**
|
|
114
|
-
* The component used for the root node.
|
|
115
|
-
* Either a string to use a HTML element or a component.
|
|
116
|
-
*/
|
|
117
|
-
component: o.elementType,
|
|
118
|
-
/**
|
|
119
|
-
* @ignore
|
|
120
|
-
*/
|
|
121
|
-
onClick: o.func,
|
|
122
|
-
/**
|
|
123
|
-
* The size of the component.
|
|
124
|
-
* @default 'md'
|
|
125
|
-
*/
|
|
126
|
-
size: o.oneOfType([o.oneOf(["sm", "md", "lg"]), o.string]),
|
|
127
|
-
/**
|
|
128
|
-
* The props used for each slot inside.
|
|
129
|
-
* @default {}
|
|
130
|
-
*/
|
|
131
|
-
slotProps: o.shape({
|
|
132
|
-
root: o.oneOfType([o.func, o.object])
|
|
133
|
-
}),
|
|
134
|
-
/**
|
|
135
|
-
* The components used for each slot inside.
|
|
136
|
-
* @default {}
|
|
137
|
-
*/
|
|
138
|
-
slots: o.shape({
|
|
139
|
-
root: o.elementType
|
|
140
|
-
}),
|
|
141
|
-
/**
|
|
142
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
143
|
-
*/
|
|
144
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
145
|
-
/**
|
|
146
|
-
* The [global variant](https://mui.com/joy-ui/main-features/global-variants/) to use.
|
|
147
|
-
* @default 'plain'
|
|
148
|
-
*/
|
|
149
|
-
variant: o.oneOfType([o.oneOf(["outlined", "plain", "soft", "solid"]), o.string])
|
|
150
|
-
});
|
|
151
|
-
export {
|
|
152
|
-
so as M
|
|
153
|
-
};
|