fansunited-widgets-cdn 0.0.86-RC3 → 0.0.86-RC5
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/chunks/{Alert-CuOsmojH.js → Alert-B6o66mYo.js} +39 -39
- package/chunks/{CardContent-CD-WZh1l.js → CardContent-NCZhfGcZ.js} +16 -16
- package/chunks/{Snackbar-DHxnbCA3.js → ChevronRight-1pLZ7T0v.js} +100 -94
- package/chunks/{ClassicQuizWrapper-t04e9_6c.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
- package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
- package/chunks/{CollectLeadWrapper-CVAVswua.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
- package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
- package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
- package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
- package/chunks/{EventGameWrapper-BxyLL3eA.js → EventGameWrapper-BphusLTk.js} +208 -219
- package/chunks/{Grid-Dpv_ZL23.js → Grid-yjqNNhEx.js} +32 -32
- package/chunks/{IconButton-Lt9Xks7c.js → IconButton-D7onwgY0.js} +22 -22
- package/chunks/{List-DLPlZGTP.js → List-8Vy9IZiv.js} +26 -29
- package/chunks/{MatchPredictionContainer-Ct6gXvLw.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
- package/chunks/{MatchQuizWrapper-Fu6RfWVn.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
- package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
- package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
- package/chunks/{PersonalityQuizWrapper-MpUK4n3Y.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
- package/chunks/{PlayerOfTheMatch-D4vuR7pz.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
- package/chunks/{PollWrapper-CzKj8xxE.js → PollWrapper-QpIKCCVF.js} +30 -34
- package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
- package/chunks/{PreviewQuizById-WWS_LyJR.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
- package/chunks/Sheet-U5EnSrgg.js +282 -0
- package/chunks/{Stack-Dgf2LXN0.js → Stack-DbDi7kPO.js} +30 -30
- package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
- package/chunks/{TeamNextMatchPrediction-C7HilNqW.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
- package/chunks/Tutorial-CRJLOovs.js +1072 -0
- package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
- package/chunks/{createSvgIcon-DVA0KIUd.js → createSvgIcon-D9D4a1R9.js} +412 -390
- package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
- package/chunks/{index-C9MpfjqV.js → index-0ADq_9jd.js} +1 -1
- package/chunks/{index-DePIySlY.js → index-B74jHeYm.js} +2 -2
- package/chunks/{index-tzsdMoo-.js → index-BfVvJg5R.js} +1 -1
- package/chunks/{index-BqCHiyI6.js → index-BycLbIYY.js} +1 -1
- package/chunks/{index-DvgG9XJj.js → index-C6KAc5B_.js} +1 -1
- package/chunks/{index-24AwmTVJ.js → index-CHV6tlpH.js} +5 -5
- package/chunks/{index-C5qRf4TV.js → index-CILd3yUc.js} +1 -1
- package/chunks/index-CJqcqbHq.js +5 -0
- package/chunks/{index-CMmQs5A5.js → index-CK2RXrJm.js} +1 -1
- package/chunks/{index-BU6iona7.js → index-CPTAlr_t.js} +1 -1
- package/chunks/{index-DNeawo0R.js → index-CiB_Gqim.js} +1 -1
- package/chunks/{index-QpZE-92Y.js → index-CvGJXa6l.js} +1 -1
- package/chunks/{index-BSD7mvEU.js → index-CviTG4Nv.js} +1 -1
- package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
- package/chunks/{index-rgFj976B.js → index-Da0AXb_O.js} +1 -1
- package/chunks/{index-DoRYU_1L.js → index-DwR4J2nN.js} +1 -1
- package/chunks/{index-3vJS8JzK.js → index-UwW9niUj.js} +1 -1
- package/chunks/index.es-wHqA4PHm.js +11480 -0
- package/chunks/{init-BEkECL0v.js → init-C-gCorsh.js} +1 -1
- package/chunks/{main-XP7dqk6g.js → main-Bh6iw92_.js} +548 -564
- package/chunks/{Button-BV7YIFkS.js → resolveProps-Bgg0H6c2.js} +471 -313
- package/chunks/{users-D_xgC4iQ.js → users-CXdzg3DM.js} +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +310 -257
- package/manifest.json +56 -72
- package/package.json +1 -1
- package/chunks/AspectRatio-D3Sgxj7p.js +0 -125
- package/chunks/Avatar-BTsEKfhc.js +0 -186
- package/chunks/Card-DRIT0wtY.js +0 -129
- package/chunks/ChevronRight-BrCKlr3T.js +0 -11
- package/chunks/Chip-6HLNTHMI.js +0 -281
- package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +0 -1560
- package/chunks/DialogActions-C5kAgHal.js +0 -45
- package/chunks/DialogContent-MIXff4nd.js +0 -60
- package/chunks/EitherOrById-CAo8gPjm.js +0 -1496
- package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +0 -47
- package/chunks/Error-DhQL89pn-BwTV1meb.js +0 -418
- package/chunks/Link-DLuj1USf.js +0 -228
- package/chunks/ListItemDecorator-CE2eQLip.js +0 -1882
- package/chunks/ModalDialog-Ci3hulZA.js +0 -619
- package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +0 -2764
- package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +0 -12717
- package/chunks/Portal-DA1mxzSo.js +0 -41
- package/chunks/Select-p_cHpLhi.js +0 -3418
- package/chunks/Sheet-BaCzogZK.js +0 -167
- package/chunks/Tabs-CSu_cWNi.js +0 -784
- package/chunks/Tutorial-DFNZxmAx.js +0 -427
- package/chunks/createLucideIcon-B6NxpYkb.js +0 -79
- package/chunks/createSvgIcon-7h7XC877.js +0 -119
- package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
- package/chunks/getReactElementRef-BD-S8A24.js +0 -25
- package/chunks/index-CicEY2Jv.js +0 -5
- package/chunks/index.es-CHqz6mjo.js +0 -6162
- package/chunks/resolveProps-BfYZubfk.js +0 -37
- package/chunks/variantColorInheritance-DI3wUohX.js +0 -28
package/manifest.json
CHANGED
|
@@ -1,84 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fansunited-widgets-cdn",
|
|
3
|
-
"version": "0.0.86-
|
|
4
|
-
"buildDate": "2026-01-
|
|
3
|
+
"version": "0.0.86-RC5",
|
|
4
|
+
"buildDate": "2026-01-19T12:38:47.011Z",
|
|
5
5
|
"files": {
|
|
6
6
|
"iife": "fu-widgets.iife.js",
|
|
7
7
|
"esm": "fu-widgets.es.js"
|
|
8
8
|
},
|
|
9
9
|
"chunks": {
|
|
10
|
-
"Alert-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"PlayerOfTheMatch-D4vuR7pz.js": "chunks/PlayerOfTheMatch-D4vuR7pz.js",
|
|
40
|
-
"PollWrapper-CzKj8xxE.js": "chunks/PollWrapper-CzKj8xxE.js",
|
|
41
|
-
"Portal-BWqqFvVm-TuHZWjxn.js": "chunks/Portal-BWqqFvVm-TuHZWjxn.js",
|
|
42
|
-
"Portal-DA1mxzSo.js": "chunks/Portal-DA1mxzSo.js",
|
|
43
|
-
"PreviewQuizById-WWS_LyJR.js": "chunks/PreviewQuizById-WWS_LyJR.js",
|
|
44
|
-
"Select-p_cHpLhi.js": "chunks/Select-p_cHpLhi.js",
|
|
45
|
-
"Sheet-BaCzogZK.js": "chunks/Sheet-BaCzogZK.js",
|
|
46
|
-
"Snackbar-DHxnbCA3.js": "chunks/Snackbar-DHxnbCA3.js",
|
|
47
|
-
"Stack-Dgf2LXN0.js": "chunks/Stack-Dgf2LXN0.js",
|
|
48
|
-
"Tabs-CSu_cWNi.js": "chunks/Tabs-CSu_cWNi.js",
|
|
49
|
-
"TeamNextMatchPrediction-C7HilNqW.js": "chunks/TeamNextMatchPrediction-C7HilNqW.js",
|
|
50
|
-
"Tutorial-DFNZxmAx.js": "chunks/Tutorial-DFNZxmAx.js",
|
|
51
|
-
"createLucideIcon-B6NxpYkb.js": "chunks/createLucideIcon-B6NxpYkb.js",
|
|
52
|
-
"createSvgIcon-7h7XC877.js": "chunks/createSvgIcon-7h7XC877.js",
|
|
53
|
-
"createSvgIcon-DVA0KIUd.js": "chunks/createSvgIcon-DVA0KIUd.js",
|
|
10
|
+
"Alert-B6o66mYo.js": "chunks/Alert-B6o66mYo.js",
|
|
11
|
+
"CardContent-NCZhfGcZ.js": "chunks/CardContent-NCZhfGcZ.js",
|
|
12
|
+
"ChevronRight-1pLZ7T0v.js": "chunks/ChevronRight-1pLZ7T0v.js",
|
|
13
|
+
"ClassicQuizWrapper-n2epPO4k.js": "chunks/ClassicQuizWrapper-n2epPO4k.js",
|
|
14
|
+
"CollectLeadForm-C_3plJtn-Dr8J3eDw.js": "chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js",
|
|
15
|
+
"CollectLeadWrapper-CCtTZAxL.js": "chunks/CollectLeadWrapper-CCtTZAxL.js",
|
|
16
|
+
"EitherOrById-ClGwMK0b.js": "chunks/EitherOrById-ClGwMK0b.js",
|
|
17
|
+
"EitherOrPreviewWrapper-BYiKyYwi.js": "chunks/EitherOrPreviewWrapper-BYiKyYwi.js",
|
|
18
|
+
"Error-BurPfBJw-DWYn31sK.js": "chunks/Error-BurPfBJw-DWYn31sK.js",
|
|
19
|
+
"EventGameWrapper-BphusLTk.js": "chunks/EventGameWrapper-BphusLTk.js",
|
|
20
|
+
"Grid-yjqNNhEx.js": "chunks/Grid-yjqNNhEx.js",
|
|
21
|
+
"IconButton-D7onwgY0.js": "chunks/IconButton-D7onwgY0.js",
|
|
22
|
+
"List-8Vy9IZiv.js": "chunks/List-8Vy9IZiv.js",
|
|
23
|
+
"MatchPredictionContainer-BGytBwLo.js": "chunks/MatchPredictionContainer-BGytBwLo.js",
|
|
24
|
+
"MatchQuizWrapper-BGjldBpF.js": "chunks/MatchQuizWrapper-BGjldBpF.js",
|
|
25
|
+
"OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js": "chunks/OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js",
|
|
26
|
+
"OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js": "chunks/OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js",
|
|
27
|
+
"PersonalityQuizWrapper-BgLFw5tM.js": "chunks/PersonalityQuizWrapper-BgLFw5tM.js",
|
|
28
|
+
"PlayerOfTheMatch-CImBLG3T.js": "chunks/PlayerOfTheMatch-CImBLG3T.js",
|
|
29
|
+
"PollWrapper-QpIKCCVF.js": "chunks/PollWrapper-QpIKCCVF.js",
|
|
30
|
+
"Portal-DegkUXpU-ByGP9zS1.js": "chunks/Portal-DegkUXpU-ByGP9zS1.js",
|
|
31
|
+
"PreviewQuizById-Ba6yhxKV.js": "chunks/PreviewQuizById-Ba6yhxKV.js",
|
|
32
|
+
"Sheet-U5EnSrgg.js": "chunks/Sheet-U5EnSrgg.js",
|
|
33
|
+
"Stack-DbDi7kPO.js": "chunks/Stack-DbDi7kPO.js",
|
|
34
|
+
"Tabs-leN3Fb8D--YMyy3EM.js": "chunks/Tabs-leN3Fb8D--YMyy3EM.js",
|
|
35
|
+
"TeamNextMatchPrediction-9VSQOCcC.js": "chunks/TeamNextMatchPrediction-9VSQOCcC.js",
|
|
36
|
+
"Tutorial-CRJLOovs.js": "chunks/Tutorial-CRJLOovs.js",
|
|
37
|
+
"createLucideIcon-CMWOQsDL.js": "chunks/createLucideIcon-CMWOQsDL.js",
|
|
38
|
+
"createSvgIcon-D9D4a1R9.js": "chunks/createSvgIcon-D9D4a1R9.js",
|
|
54
39
|
"dataAttributeParser-CF9vxaVN.js": "chunks/dataAttributeParser-CF9vxaVN.js",
|
|
55
|
-
"default-quiz-bg-
|
|
56
|
-
"
|
|
57
|
-
"index-
|
|
58
|
-
"index-
|
|
59
|
-
"index-
|
|
60
|
-
"index-
|
|
61
|
-
"index-
|
|
62
|
-
"index-
|
|
63
|
-
"index-
|
|
64
|
-
"index-
|
|
65
|
-
"index-
|
|
66
|
-
"index-
|
|
67
|
-
"index-
|
|
68
|
-
"index-
|
|
69
|
-
"index-
|
|
70
|
-
"index-
|
|
71
|
-
"index-
|
|
72
|
-
"index-
|
|
73
|
-
"index.es-
|
|
74
|
-
"init-
|
|
75
|
-
"main-
|
|
76
|
-
"resolveProps-
|
|
77
|
-
"users-
|
|
78
|
-
"variantColorInheritance-DI3wUohX.js": "chunks/variantColorInheritance-DI3wUohX.js"
|
|
40
|
+
"default-quiz-bg-ADjjIfPj.js": "chunks/default-quiz-bg-ADjjIfPj.js",
|
|
41
|
+
"index-0ADq_9jd.js": "chunks/index-0ADq_9jd.js",
|
|
42
|
+
"index-B74jHeYm.js": "chunks/index-B74jHeYm.js",
|
|
43
|
+
"index-BfVvJg5R.js": "chunks/index-BfVvJg5R.js",
|
|
44
|
+
"index-BycLbIYY.js": "chunks/index-BycLbIYY.js",
|
|
45
|
+
"index-C6KAc5B_.js": "chunks/index-C6KAc5B_.js",
|
|
46
|
+
"index-CHV6tlpH.js": "chunks/index-CHV6tlpH.js",
|
|
47
|
+
"index-CILd3yUc.js": "chunks/index-CILd3yUc.js",
|
|
48
|
+
"index-CJqcqbHq.js": "chunks/index-CJqcqbHq.js",
|
|
49
|
+
"index-CK2RXrJm.js": "chunks/index-CK2RXrJm.js",
|
|
50
|
+
"index-CPTAlr_t.js": "chunks/index-CPTAlr_t.js",
|
|
51
|
+
"index-CiB_Gqim.js": "chunks/index-CiB_Gqim.js",
|
|
52
|
+
"index-CvGJXa6l.js": "chunks/index-CvGJXa6l.js",
|
|
53
|
+
"index-CviTG4Nv.js": "chunks/index-CviTG4Nv.js",
|
|
54
|
+
"index-DUQ2LFod-Cw45tHim.js": "chunks/index-DUQ2LFod-Cw45tHim.js",
|
|
55
|
+
"index-Da0AXb_O.js": "chunks/index-Da0AXb_O.js",
|
|
56
|
+
"index-DwR4J2nN.js": "chunks/index-DwR4J2nN.js",
|
|
57
|
+
"index-UwW9niUj.js": "chunks/index-UwW9niUj.js",
|
|
58
|
+
"index.es-wHqA4PHm.js": "chunks/index.es-wHqA4PHm.js",
|
|
59
|
+
"init-C-gCorsh.js": "chunks/init-C-gCorsh.js",
|
|
60
|
+
"main-Bh6iw92_.js": "chunks/main-Bh6iw92_.js",
|
|
61
|
+
"resolveProps-Bgg0H6c2.js": "chunks/resolveProps-Bgg0H6c2.js",
|
|
62
|
+
"users-CXdzg3DM.js": "chunks/users-CXdzg3DM.js"
|
|
79
63
|
},
|
|
80
64
|
"integrity": {
|
|
81
|
-
"iife": "sha384-
|
|
82
|
-
"esm": "sha384-
|
|
65
|
+
"iife": "sha384-ogRPvH3AD0K6llhb0Zl1pTKxV+e3tREmhkWJ/BlJgZ2tMRBUvBKzjLFEQ941YUe4",
|
|
66
|
+
"esm": "sha384-COXlPo1YuIFpQxXe41WuuL3OPhun4WA7vM5aZB78/vd+tefz9uIBZNoOZSRFG28y"
|
|
83
67
|
}
|
|
84
68
|
}
|
package/package.json
CHANGED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { F as U, G as z, r as a, v as B, _ as D, w as s, x as p, y as h, j as d, z as m, D as J } from "./main-XP7dqk6g.js";
|
|
2
|
-
function N(t) {
|
|
3
|
-
return U("MuiAspectRatio", t);
|
|
4
|
-
}
|
|
5
|
-
z("MuiAspectRatio", ["root", "content", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
|
|
6
|
-
const T = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color", "variant", "component", "flex", "slots", "slotProps"], W = (t) => {
|
|
7
|
-
const {
|
|
8
|
-
variant: o,
|
|
9
|
-
color: e
|
|
10
|
-
} = t, i = {
|
|
11
|
-
root: ["root"],
|
|
12
|
-
content: ["content", o && `variant${m(o)}`, e && `color${m(e)}`]
|
|
13
|
-
};
|
|
14
|
-
return J(i, N, {});
|
|
15
|
-
}, I = h("div", {
|
|
16
|
-
name: "JoyAspectRatio",
|
|
17
|
-
slot: "Root",
|
|
18
|
-
overridesResolver: (t, o) => o.root
|
|
19
|
-
})(({
|
|
20
|
-
ownerState: t,
|
|
21
|
-
theme: o
|
|
22
|
-
}) => {
|
|
23
|
-
const e = typeof t.minHeight == "number" ? `${t.minHeight}px` : t.minHeight, i = typeof t.maxHeight == "number" ? `${t.maxHeight}px` : t.maxHeight;
|
|
24
|
-
return {
|
|
25
|
-
// a context variable for any child component
|
|
26
|
-
"--AspectRatio-paddingBottom": `clamp(var(--AspectRatio-minHeight), calc(100% / (${t.ratio})), var(--AspectRatio-maxHeight))`,
|
|
27
|
-
"--AspectRatio-maxHeight": i || "9999px",
|
|
28
|
-
"--AspectRatio-minHeight": e || "0px",
|
|
29
|
-
"--Icon-color": t.color !== "neutral" || t.variant === "solid" ? "currentColor" : o.vars.palette.text.icon,
|
|
30
|
-
borderRadius: "var(--AspectRatio-radius)",
|
|
31
|
-
display: t.flex ? "flex" : "block",
|
|
32
|
-
flex: t.flex ? 1 : "initial",
|
|
33
|
-
flexDirection: "column",
|
|
34
|
-
margin: "var(--AspectRatio-margin)"
|
|
35
|
-
};
|
|
36
|
-
}), M = h("div", {
|
|
37
|
-
name: "JoyAspectRatio",
|
|
38
|
-
slot: "Content",
|
|
39
|
-
overridesResolver: (t, o) => o.content
|
|
40
|
-
})(({
|
|
41
|
-
theme: t,
|
|
42
|
-
ownerState: o
|
|
43
|
-
}) => {
|
|
44
|
-
var e;
|
|
45
|
-
return s({
|
|
46
|
-
flex: 1,
|
|
47
|
-
position: "relative",
|
|
48
|
-
borderRadius: "inherit",
|
|
49
|
-
height: 0,
|
|
50
|
-
paddingBottom: "calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",
|
|
51
|
-
overflow: "hidden",
|
|
52
|
-
transition: "inherit",
|
|
53
|
-
// makes it easy to add transition to the content
|
|
54
|
-
// use data-attribute instead of :first-child to support zero config SSR (emotion)
|
|
55
|
-
// use nested selector for integrating with nextjs image `fill` layout (spans are inserted on top of the img)
|
|
56
|
-
"& [data-first-child]": {
|
|
57
|
-
display: "flex",
|
|
58
|
-
justifyContent: "center",
|
|
59
|
-
alignItems: "center",
|
|
60
|
-
boxSizing: "border-box",
|
|
61
|
-
position: "absolute",
|
|
62
|
-
width: "100%",
|
|
63
|
-
height: "100%",
|
|
64
|
-
objectFit: o.objectFit,
|
|
65
|
-
margin: 0,
|
|
66
|
-
padding: 0,
|
|
67
|
-
"& > img": {
|
|
68
|
-
// support art-direction that uses <picture><img /></picture>
|
|
69
|
-
width: "100%",
|
|
70
|
-
height: "100%",
|
|
71
|
-
objectFit: o.objectFit
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}, t.typography["body-md"], (e = t.variants[o.variant]) == null ? void 0 : e[o.color]);
|
|
75
|
-
}), G = /* @__PURE__ */ a.forwardRef(function(o, e) {
|
|
76
|
-
const i = B({
|
|
77
|
-
props: o,
|
|
78
|
-
name: "JoyAspectRatio"
|
|
79
|
-
}), {
|
|
80
|
-
children: x,
|
|
81
|
-
ratio: g = "16 / 9",
|
|
82
|
-
minHeight: v,
|
|
83
|
-
maxHeight: u,
|
|
84
|
-
objectFit: R = "cover",
|
|
85
|
-
color: f = "neutral",
|
|
86
|
-
variant: y = "soft",
|
|
87
|
-
component: A,
|
|
88
|
-
flex: b = !1,
|
|
89
|
-
slots: H = {},
|
|
90
|
-
slotProps: j = {}
|
|
91
|
-
} = i, C = D(i, T), r = s({}, i, {
|
|
92
|
-
flex: b,
|
|
93
|
-
minHeight: v,
|
|
94
|
-
maxHeight: u,
|
|
95
|
-
objectFit: R,
|
|
96
|
-
ratio: g,
|
|
97
|
-
color: f,
|
|
98
|
-
variant: y
|
|
99
|
-
}), c = W(r), l = s({}, C, {
|
|
100
|
-
component: A,
|
|
101
|
-
slots: H,
|
|
102
|
-
slotProps: j
|
|
103
|
-
}), [P, F] = p("root", {
|
|
104
|
-
ref: e,
|
|
105
|
-
className: c.root,
|
|
106
|
-
elementType: I,
|
|
107
|
-
externalForwardedProps: l,
|
|
108
|
-
ownerState: r
|
|
109
|
-
}), [$, _] = p("content", {
|
|
110
|
-
className: c.content,
|
|
111
|
-
elementType: M,
|
|
112
|
-
externalForwardedProps: l,
|
|
113
|
-
ownerState: r
|
|
114
|
-
});
|
|
115
|
-
return /* @__PURE__ */ d.jsx(P, s({}, F, {
|
|
116
|
-
children: /* @__PURE__ */ d.jsx($, s({}, _, {
|
|
117
|
-
children: a.Children.map(x, (n, E) => E === 0 && /* @__PURE__ */ a.isValidElement(n) ? /* @__PURE__ */ a.cloneElement(n, {
|
|
118
|
-
"data-first-child": ""
|
|
119
|
-
}) : n)
|
|
120
|
-
}))
|
|
121
|
-
}));
|
|
122
|
-
});
|
|
123
|
-
export {
|
|
124
|
-
G as A
|
|
125
|
-
};
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import { j as d, F as L, G as M, r as v, y as p, w as l, v as T, _ as U, x as z, z as h, D as w } from "./main-XP7dqk6g.js";
|
|
2
|
-
import { c as E } from "./createSvgIcon-7h7XC877.js";
|
|
3
|
-
const D = E(/* @__PURE__ */ d.jsx("path", {
|
|
4
|
-
d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
|
|
5
|
-
}), "Person");
|
|
6
|
-
function W(r) {
|
|
7
|
-
return L("MuiAvatar", r);
|
|
8
|
-
}
|
|
9
|
-
M("MuiAvatar", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "fallback", "sizeSm", "sizeMd", "sizeLg", "img", "variantOutlined", "variantSoft", "variantSolid"]);
|
|
10
|
-
const H = /* @__PURE__ */ v.createContext(void 0);
|
|
11
|
-
p("div", {
|
|
12
|
-
name: "JoyAvatarGroup",
|
|
13
|
-
slot: "Root",
|
|
14
|
-
overridesResolver: (r, a) => a.root
|
|
15
|
-
})(({
|
|
16
|
-
ownerState: r,
|
|
17
|
-
theme: a
|
|
18
|
-
}) => l({}, r.size === "sm" && {
|
|
19
|
-
"--AvatarGroup-gap": "-0.375rem",
|
|
20
|
-
"--Avatar-ringSize": "2px"
|
|
21
|
-
}, r.size === "md" && {
|
|
22
|
-
"--AvatarGroup-gap": "-0.5rem",
|
|
23
|
-
"--Avatar-ringSize": "2px"
|
|
24
|
-
}, r.size === "lg" && {
|
|
25
|
-
"--AvatarGroup-gap": "-0.625rem",
|
|
26
|
-
"--Avatar-ringSize": "4px"
|
|
27
|
-
}, {
|
|
28
|
-
"--Avatar-ring": `0 0 0 var(--Avatar-ringSize) var(--Avatar-ringColor, ${a.vars.palette.background.surface})`,
|
|
29
|
-
"--Avatar-marginInlineStart": "var(--AvatarGroup-gap)",
|
|
30
|
-
display: "flex",
|
|
31
|
-
marginInlineStart: "calc(-1 * var(--AvatarGroup-gap))"
|
|
32
|
-
}));
|
|
33
|
-
const O = ["alt", "color", "size", "variant", "src", "srcSet", "children", "component", "slots", "slotProps"], q = (r) => {
|
|
34
|
-
const {
|
|
35
|
-
size: a,
|
|
36
|
-
variant: t,
|
|
37
|
-
color: e,
|
|
38
|
-
src: o,
|
|
39
|
-
srcSet: s
|
|
40
|
-
} = r, n = {
|
|
41
|
-
root: ["root", t && `variant${h(t)}`, e && `color${h(e)}`, a && `size${h(a)}`],
|
|
42
|
-
img: [(o || s) && "img"],
|
|
43
|
-
fallback: ["fallback"]
|
|
44
|
-
};
|
|
45
|
-
return w(n, W, {});
|
|
46
|
-
}, B = p("div", {
|
|
47
|
-
name: "JoyAvatar",
|
|
48
|
-
slot: "Root",
|
|
49
|
-
overridesResolver: (r, a) => a.root
|
|
50
|
-
})(({
|
|
51
|
-
theme: r,
|
|
52
|
-
ownerState: a
|
|
53
|
-
}) => {
|
|
54
|
-
var t;
|
|
55
|
-
return l({
|
|
56
|
-
"--Icon-color": a.color !== "neutral" || a.variant === "solid" ? "currentColor" : r.vars.palette.text.icon
|
|
57
|
-
}, r.typography[`title-${a.size}`], a.size === "sm" && {
|
|
58
|
-
width: "var(--Avatar-size, 2rem)",
|
|
59
|
-
height: "var(--Avatar-size, 2rem)",
|
|
60
|
-
fontSize: "calc(var(--Avatar-size, 2rem) * 0.4375)"
|
|
61
|
-
// default as 14px
|
|
62
|
-
}, a.size === "md" && {
|
|
63
|
-
width: "var(--Avatar-size, 2.5rem)",
|
|
64
|
-
height: "var(--Avatar-size, 2.5rem)",
|
|
65
|
-
fontSize: "calc(var(--Avatar-size, 2.5rem) * 0.4)"
|
|
66
|
-
// default as 16px
|
|
67
|
-
}, a.size === "lg" && {
|
|
68
|
-
width: "var(--Avatar-size, 3rem)",
|
|
69
|
-
height: "var(--Avatar-size, 3rem)",
|
|
70
|
-
fontSize: "calc(var(--Avatar-size, 3rem) * 0.375)"
|
|
71
|
-
// default as 18px
|
|
72
|
-
}, {
|
|
73
|
-
marginInlineStart: "var(--Avatar-marginInlineStart)",
|
|
74
|
-
boxShadow: "var(--Avatar-ring)",
|
|
75
|
-
position: "relative",
|
|
76
|
-
display: "flex",
|
|
77
|
-
alignItems: "center",
|
|
78
|
-
justifyContent: "center",
|
|
79
|
-
flexShrink: 0,
|
|
80
|
-
lineHeight: 1,
|
|
81
|
-
overflow: "hidden",
|
|
82
|
-
borderRadius: "var(--Avatar-radius, 50%)",
|
|
83
|
-
userSelect: "none"
|
|
84
|
-
}, (t = r.variants[a.variant]) == null ? void 0 : t[a.color]);
|
|
85
|
-
}), K = p("img", {
|
|
86
|
-
name: "JoyAvatar",
|
|
87
|
-
slot: "Img",
|
|
88
|
-
overridesResolver: (r, a) => a.img
|
|
89
|
-
})({
|
|
90
|
-
width: "100%",
|
|
91
|
-
height: "100%",
|
|
92
|
-
textAlign: "center",
|
|
93
|
-
// Handle non-square image. The property isn't supported by IE11.
|
|
94
|
-
objectFit: "cover",
|
|
95
|
-
// Hide alt text.
|
|
96
|
-
color: "transparent",
|
|
97
|
-
// Hide the image broken icon, only works on Chrome.
|
|
98
|
-
textIndent: 1e4
|
|
99
|
-
}), Q = p(D, {
|
|
100
|
-
name: "JoyAvatar",
|
|
101
|
-
slot: "Fallback",
|
|
102
|
-
overridesResolver: (r, a) => a.fallback
|
|
103
|
-
})({
|
|
104
|
-
width: "64%",
|
|
105
|
-
height: "64%"
|
|
106
|
-
});
|
|
107
|
-
function V({
|
|
108
|
-
crossOrigin: r,
|
|
109
|
-
referrerPolicy: a,
|
|
110
|
-
src: t,
|
|
111
|
-
srcSet: e
|
|
112
|
-
}) {
|
|
113
|
-
const [o, s] = v.useState(!1);
|
|
114
|
-
return v.useEffect(() => {
|
|
115
|
-
if (!t && !e)
|
|
116
|
-
return;
|
|
117
|
-
s(!1);
|
|
118
|
-
let n = !0;
|
|
119
|
-
const i = new Image();
|
|
120
|
-
return i.onload = () => {
|
|
121
|
-
n && s("loaded");
|
|
122
|
-
}, i.onerror = () => {
|
|
123
|
-
n && s("error");
|
|
124
|
-
}, i.crossOrigin = r, i.referrerPolicy = a, t && (i.src = t), e && (i.srcset = e), () => {
|
|
125
|
-
n = !1;
|
|
126
|
-
};
|
|
127
|
-
}, [r, a, t, e]), o;
|
|
128
|
-
}
|
|
129
|
-
const ra = /* @__PURE__ */ v.forwardRef(function(a, t) {
|
|
130
|
-
const e = T({
|
|
131
|
-
props: a,
|
|
132
|
-
name: "JoyAvatar"
|
|
133
|
-
}), o = v.useContext(H), {
|
|
134
|
-
alt: s,
|
|
135
|
-
color: n = "neutral",
|
|
136
|
-
size: i = "md",
|
|
137
|
-
variant: I = "soft",
|
|
138
|
-
src: g,
|
|
139
|
-
srcSet: u,
|
|
140
|
-
children: x,
|
|
141
|
-
component: S,
|
|
142
|
-
slots: b = {},
|
|
143
|
-
slotProps: C = {}
|
|
144
|
-
} = e, P = U(e, O), k = a.variant || (o == null ? void 0 : o.variant) || I, R = a.color || (o == null ? void 0 : o.color) || n, j = a.size || (o == null ? void 0 : o.size) || i;
|
|
145
|
-
let c = null;
|
|
146
|
-
const m = l({}, e, {
|
|
147
|
-
color: R,
|
|
148
|
-
size: j,
|
|
149
|
-
variant: k,
|
|
150
|
-
grouped: !!o
|
|
151
|
-
}), A = q(m), f = l({}, P, {
|
|
152
|
-
component: S,
|
|
153
|
-
slots: b,
|
|
154
|
-
slotProps: C
|
|
155
|
-
}), [F, G] = z("root", {
|
|
156
|
-
ref: t,
|
|
157
|
-
className: A.root,
|
|
158
|
-
elementType: B,
|
|
159
|
-
externalForwardedProps: f,
|
|
160
|
-
ownerState: m
|
|
161
|
-
}), [N, y] = z("img", {
|
|
162
|
-
additionalProps: {
|
|
163
|
-
alt: s,
|
|
164
|
-
src: g,
|
|
165
|
-
srcSet: u
|
|
166
|
-
},
|
|
167
|
-
className: A.img,
|
|
168
|
-
elementType: K,
|
|
169
|
-
externalForwardedProps: f,
|
|
170
|
-
ownerState: m
|
|
171
|
-
}), [$, J] = z("fallback", {
|
|
172
|
-
className: A.fallback,
|
|
173
|
-
elementType: Q,
|
|
174
|
-
externalForwardedProps: f,
|
|
175
|
-
ownerState: m
|
|
176
|
-
}), _ = V(l({}, y, {
|
|
177
|
-
src: g,
|
|
178
|
-
srcSet: u
|
|
179
|
-
}));
|
|
180
|
-
return (g || u) && _ !== "error" ? c = /* @__PURE__ */ d.jsx(N, l({}, y)) : x != null ? c = x : s ? c = s[0] : c = /* @__PURE__ */ d.jsx($, l({}, J)), /* @__PURE__ */ d.jsx(F, l({}, G, {
|
|
181
|
-
children: c
|
|
182
|
-
}));
|
|
183
|
-
});
|
|
184
|
-
export {
|
|
185
|
-
ra as A
|
|
186
|
-
};
|
package/chunks/Card-DRIT0wtY.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { F as N, G as O, r as l, v as U, _ as I, w as c, x as $, y, E as k, j as F, z as v, D as J } from "./main-XP7dqk6g.js";
|
|
2
|
-
import { i as L, r as T, g as V, h as A } from "./Button-BV7YIFkS.js";
|
|
3
|
-
function G(a) {
|
|
4
|
-
return N("MuiCard", a);
|
|
5
|
-
}
|
|
6
|
-
const Y = O("MuiCard", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg", "horizontal", "vertical"]), q = ["className", "color", "component", "invertedColors", "size", "variant", "children", "orientation", "slots", "slotProps"], B = (a) => {
|
|
7
|
-
const {
|
|
8
|
-
size: r,
|
|
9
|
-
variant: i,
|
|
10
|
-
color: o,
|
|
11
|
-
orientation: s
|
|
12
|
-
} = a, d = {
|
|
13
|
-
root: ["root", s, i && `variant${v(i)}`, o && `color${v(o)}`, r && `size${v(r)}`]
|
|
14
|
-
};
|
|
15
|
-
return J(d, G, {});
|
|
16
|
-
}, H = y("div")(({
|
|
17
|
-
theme: a,
|
|
18
|
-
ownerState: r
|
|
19
|
-
}) => {
|
|
20
|
-
var i;
|
|
21
|
-
const {
|
|
22
|
-
p: o,
|
|
23
|
-
padding: s,
|
|
24
|
-
borderRadius: d
|
|
25
|
-
} = T({
|
|
26
|
-
theme: a,
|
|
27
|
-
ownerState: r
|
|
28
|
-
}, ["p", "padding", "borderRadius"]);
|
|
29
|
-
return [c({
|
|
30
|
-
"--Icon-color": r.color !== "neutral" || r.variant === "solid" ? "currentColor" : a.vars.palette.text.icon,
|
|
31
|
-
// a context variable for any child component
|
|
32
|
-
"--Card-childRadius": "max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))",
|
|
33
|
-
// AspectRatio integration
|
|
34
|
-
"--AspectRatio-radius": "var(--Card-childRadius)",
|
|
35
|
-
// Link integration
|
|
36
|
-
"--unstable_actionMargin": "calc(-1 * var(--variant-borderWidth, 0px))",
|
|
37
|
-
// Link, Radio, Checkbox integration
|
|
38
|
-
"--unstable_actionRadius": "var(--Card-radius)",
|
|
39
|
-
// CardCover integration
|
|
40
|
-
"--CardCover-radius": "calc(var(--Card-radius) - var(--variant-borderWidth, 0px))",
|
|
41
|
-
// CardOverflow integration
|
|
42
|
-
"--CardOverflow-offset": "calc(-1 * var(--Card-padding))",
|
|
43
|
-
"--CardOverflow-radius": "calc(var(--Card-radius) - var(--variant-borderWidth, 0px))",
|
|
44
|
-
// Divider integration
|
|
45
|
-
"--Divider-inset": "calc(-1 * var(--Card-padding))"
|
|
46
|
-
}, r.size === "sm" && {
|
|
47
|
-
"--Card-radius": a.vars.radius.sm,
|
|
48
|
-
"--Card-padding": "0.625rem",
|
|
49
|
-
gap: "0.5rem"
|
|
50
|
-
}, r.size === "md" && {
|
|
51
|
-
"--Card-radius": a.vars.radius.md,
|
|
52
|
-
"--Card-padding": "1rem",
|
|
53
|
-
gap: "0.75rem 1rem"
|
|
54
|
-
}, r.size === "lg" && {
|
|
55
|
-
"--Card-radius": a.vars.radius.lg,
|
|
56
|
-
"--Card-padding": "1.5rem",
|
|
57
|
-
gap: "1rem 1.5rem"
|
|
58
|
-
}, {
|
|
59
|
-
padding: "var(--Card-padding)",
|
|
60
|
-
borderRadius: "var(--Card-radius)",
|
|
61
|
-
backgroundColor: a.vars.palette.background.surface,
|
|
62
|
-
position: "relative",
|
|
63
|
-
display: "flex",
|
|
64
|
-
flexDirection: r.orientation === "horizontal" ? "row" : "column"
|
|
65
|
-
}, a.typography[`body-${r.size}`], r.variant === "solid" && r.color && r.invertedColors && V(r.color)(a), r.variant === "soft" && r.color && r.invertedColors && A(r.color)(a), (i = a.variants[r.variant]) == null ? void 0 : i[r.color]), o !== void 0 && {
|
|
66
|
-
"--Card-padding": o
|
|
67
|
-
}, s !== void 0 && {
|
|
68
|
-
"--Card-padding": s
|
|
69
|
-
}, d !== void 0 && {
|
|
70
|
-
"--Card-radius": d
|
|
71
|
-
}];
|
|
72
|
-
}), K = y(H, {
|
|
73
|
-
name: "JoyCard",
|
|
74
|
-
slot: "Root",
|
|
75
|
-
overridesResolver: (a, r) => r.root
|
|
76
|
-
})({}), Z = /* @__PURE__ */ l.forwardRef(function(r, i) {
|
|
77
|
-
const o = U({
|
|
78
|
-
props: r,
|
|
79
|
-
name: "JoyCard"
|
|
80
|
-
}), {
|
|
81
|
-
className: s,
|
|
82
|
-
color: d = "neutral",
|
|
83
|
-
component: p = "div",
|
|
84
|
-
invertedColors: z = !1,
|
|
85
|
-
size: b = "md",
|
|
86
|
-
variant: R = "outlined",
|
|
87
|
-
children: u,
|
|
88
|
-
orientation: C = "vertical",
|
|
89
|
-
slots: h = {},
|
|
90
|
-
slotProps: P = {}
|
|
91
|
-
} = o, W = I(o, q), g = c({}, o, {
|
|
92
|
-
color: d,
|
|
93
|
-
component: p,
|
|
94
|
-
orientation: C,
|
|
95
|
-
size: b,
|
|
96
|
-
variant: R,
|
|
97
|
-
invertedColors: z
|
|
98
|
-
}), E = B(g), D = c({}, W, {
|
|
99
|
-
component: p,
|
|
100
|
-
slots: h,
|
|
101
|
-
slotProps: P
|
|
102
|
-
}), [M, _] = $("root", {
|
|
103
|
-
ref: i,
|
|
104
|
-
className: k(E.root, s),
|
|
105
|
-
elementType: K,
|
|
106
|
-
externalForwardedProps: D,
|
|
107
|
-
ownerState: g
|
|
108
|
-
});
|
|
109
|
-
return /* @__PURE__ */ F.jsx(M, c({}, _, {
|
|
110
|
-
children: l.Children.map(u, (t, m) => {
|
|
111
|
-
if (!/* @__PURE__ */ l.isValidElement(t))
|
|
112
|
-
return t;
|
|
113
|
-
const n = {};
|
|
114
|
-
if (L(t, ["Divider"])) {
|
|
115
|
-
var f, x;
|
|
116
|
-
const e = t.props;
|
|
117
|
-
n.inset = (f = e == null ? void 0 : e.inset) != null ? f : "context";
|
|
118
|
-
const j = C === "vertical" ? "horizontal" : "vertical";
|
|
119
|
-
n.orientation = (x = e == null ? void 0 : e.orientation) != null ? x : j;
|
|
120
|
-
}
|
|
121
|
-
return m === 0 && (n["data-first-child"] = ""), m === l.Children.count(u) - 1 && (n["data-last-child"] = ""), /* @__PURE__ */ l.cloneElement(t, n);
|
|
122
|
-
})
|
|
123
|
-
}));
|
|
124
|
-
});
|
|
125
|
-
export {
|
|
126
|
-
Z as C,
|
|
127
|
-
H as S,
|
|
128
|
-
Y as c
|
|
129
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { j as o } from "./main-XP7dqk6g.js";
|
|
2
|
-
import { c as t } from "./createSvgIcon-DVA0KIUd.js";
|
|
3
|
-
const n = t(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
-
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
5
|
-
}), "ChevronLeft"), s = t(/* @__PURE__ */ o.jsx("path", {
|
|
6
|
-
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
7
|
-
}), "ChevronRight");
|
|
8
|
-
export {
|
|
9
|
-
n as C,
|
|
10
|
-
s as a
|
|
11
|
-
};
|