fansunited-widgets-cdn 0.0.86-RC4 → 0.0.86-RC6

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 (85) hide show
  1. package/chunks/{Alert-DuMXT9be.js → Alert-B6o66mYo.js} +39 -39
  2. package/chunks/{CardContent-COgjZl3_.js → CardContent-NCZhfGcZ.js} +16 -16
  3. package/chunks/{Snackbar-DJz-WddP.js → ChevronRight-1pLZ7T0v.js} +100 -94
  4. package/chunks/{ClassicQuizWrapper-C7svf4eh.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
  5. package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
  6. package/chunks/{CollectLeadWrapper-DACvBsa_.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
  7. package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
  8. package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
  9. package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
  10. package/chunks/{EventGameWrapper-DmjaKr3I.js → EventGameWrapper-BphusLTk.js} +208 -219
  11. package/chunks/{Grid-BbegUe2J.js → Grid-yjqNNhEx.js} +32 -32
  12. package/chunks/{IconButton-zh1RLwcE.js → IconButton-D7onwgY0.js} +22 -22
  13. package/chunks/{List-CA3L6bUS.js → List-8Vy9IZiv.js} +26 -29
  14. package/chunks/{MatchPredictionContainer-CmHKsJ_z.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
  15. package/chunks/{MatchQuizWrapper-BxHHl4a5.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
  16. package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
  17. package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
  18. package/chunks/{PersonalityQuizWrapper-B-Rkzvc0.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
  19. package/chunks/{PlayerOfTheMatch-CzGMT1jr.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
  20. package/chunks/{PollWrapper-Cdl3AbXE.js → PollWrapper-QpIKCCVF.js} +30 -34
  21. package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
  22. package/chunks/{PreviewQuizById-CPiwewW_.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
  23. package/chunks/Sheet-U5EnSrgg.js +282 -0
  24. package/chunks/{Stack-BBjT-MoB.js → Stack-DbDi7kPO.js} +30 -30
  25. package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
  26. package/chunks/{TeamNextMatchPrediction-BOOGeVEv.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
  27. package/chunks/Tutorial-CRJLOovs.js +1072 -0
  28. package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
  29. package/chunks/{createSvgIcon-cOpRx8M1.js → createSvgIcon-D9D4a1R9.js} +412 -390
  30. package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
  31. package/chunks/{index-CNAE4RYY.js → index-0ADq_9jd.js} +1 -1
  32. package/chunks/{index-D9kNvflO.js → index-B74jHeYm.js} +2 -2
  33. package/chunks/{index-Dr-yGqo_.js → index-BfVvJg5R.js} +1 -1
  34. package/chunks/{index-D3wDyWq_.js → index-BycLbIYY.js} +1 -1
  35. package/chunks/{index-BKyd0MUt.js → index-C6KAc5B_.js} +1 -1
  36. package/chunks/{index-BkU2GDR4.js → index-CHV6tlpH.js} +5 -5
  37. package/chunks/{index-Uv42o9aR.js → index-CILd3yUc.js} +1 -1
  38. package/chunks/index-CJqcqbHq.js +5 -0
  39. package/chunks/{index-DrlzgjUf.js → index-CK2RXrJm.js} +1 -1
  40. package/chunks/{index-DFXrZaoM.js → index-CPTAlr_t.js} +1 -1
  41. package/chunks/{index-D1SEUyHT.js → index-CiB_Gqim.js} +1 -1
  42. package/chunks/{index-CNukXTLi.js → index-CvGJXa6l.js} +1 -1
  43. package/chunks/{index-CpFMxpj1.js → index-CviTG4Nv.js} +1 -1
  44. package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
  45. package/chunks/{index-DbZ10tsY.js → index-Da0AXb_O.js} +1 -1
  46. package/chunks/{index-CiI_vSMR.js → index-DwR4J2nN.js} +1 -1
  47. package/chunks/{index-CMhbRdLz.js → index-UwW9niUj.js} +1 -1
  48. package/chunks/index.es-wHqA4PHm.js +11480 -0
  49. package/chunks/{init-DYY4CJtu.js → init-C-gCorsh.js} +1 -1
  50. package/chunks/{main-NO9IQFuY.js → main-Bh6iw92_.js} +94 -110
  51. package/chunks/{Button-DJj0KOh3.js → resolveProps-Bgg0H6c2.js} +471 -313
  52. package/chunks/{users-C-6eqEb6.js → users-CXdzg3DM.js} +1 -1
  53. package/fu-widgets.es.js +2 -2
  54. package/fu-widgets.iife.js +310 -257
  55. package/manifest.json +56 -72
  56. package/package.json +1 -1
  57. package/chunks/AspectRatio-CKWgGwn-.js +0 -125
  58. package/chunks/Avatar-Cv70g9HX.js +0 -186
  59. package/chunks/Card-BDn3dk3E.js +0 -129
  60. package/chunks/ChevronRight-BwGivLSL.js +0 -11
  61. package/chunks/Chip-BkY7Uww3.js +0 -281
  62. package/chunks/CollectLeadForm-DtmR2Vuf-DvAoHDnn.js +0 -1560
  63. package/chunks/DialogActions-CuXgjeCi.js +0 -45
  64. package/chunks/DialogContent-CyQJ8yz-.js +0 -60
  65. package/chunks/EitherOrById-B8v0nJmv.js +0 -1496
  66. package/chunks/EitherOrPreviewWrapper-C9O6TEVe.js +0 -47
  67. package/chunks/Error-DhQL89pn-DD0O1kEt.js +0 -418
  68. package/chunks/Link-Cw8ci6QQ.js +0 -228
  69. package/chunks/ListItemDecorator-DwvO_ty1.js +0 -1882
  70. package/chunks/ModalDialog-DLPhSR9-.js +0 -619
  71. package/chunks/NotFoundSkeleton-BYJTzYJR-JURKfNZv.js +0 -2764
  72. package/chunks/Portal-BWqqFvVm-pvatNKfM.js +0 -12717
  73. package/chunks/Portal-BsATdUrC.js +0 -41
  74. package/chunks/Select-Cewujqtd.js +0 -3418
  75. package/chunks/Sheet-B8wNvQTa.js +0 -167
  76. package/chunks/Tabs-BP1RMTCA.js +0 -784
  77. package/chunks/Tutorial-B1LWDD9l.js +0 -427
  78. package/chunks/createLucideIcon-nPUeaUEe.js +0 -79
  79. package/chunks/createSvgIcon-DhITitgm.js +0 -119
  80. package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
  81. package/chunks/getReactElementRef-66jU_By9.js +0 -25
  82. package/chunks/index-BPH9IX2Q.js +0 -5
  83. package/chunks/index.es-BZbN3xaq.js +0 -6162
  84. package/chunks/resolveProps-BfYZubfk.js +0 -37
  85. package/chunks/variantColorInheritance-DVZ9CGcB.js +0 -28
@@ -1,281 +0,0 @@
1
- import { G as U, F, r as g, v as G, _ as q, w as e, x as h, y as C, E as K, a0 as Q, j as c, z as b, D as X } from "./main-NO9IQFuY.js";
2
- import { V as Y } from "./variantColorInheritance-DVZ9CGcB.js";
3
- import { u as Z, r as w } from "./Button-DJj0KOh3.js";
4
- function ii(o) {
5
- return F("MuiChip", o);
6
- }
7
- const x = U("MuiChip", ["root", "clickable", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "disabled", "endDecorator", "focusVisible", "label", "labelSm", "labelMd", "labelLg", "sizeSm", "sizeMd", "sizeLg", "startDecorator", "variantPlain", "variantSolid", "variantSoft", "variantOutlined"]), oi = /* @__PURE__ */ g.createContext({
8
- disabled: void 0,
9
- variant: void 0,
10
- color: void 0
11
- }), ri = ["children", "className", "color", "onClick", "disabled", "size", "variant", "startDecorator", "endDecorator", "component", "slots", "slotProps"], ai = (o) => {
12
- const {
13
- disabled: i,
14
- size: a,
15
- color: r,
16
- clickable: n,
17
- variant: t,
18
- focusVisible: l
19
- } = o, u = {
20
- root: ["root", i && "disabled", r && `color${b(r)}`, a && `size${b(a)}`, t && `variant${b(t)}`, n && "clickable"],
21
- action: ["action", i && "disabled", l && "focusVisible"],
22
- label: ["label", a && `label${b(a)}`],
23
- startDecorator: ["startDecorator"],
24
- endDecorator: ["endDecorator"]
25
- };
26
- return X(u, ii, {});
27
- }, ei = C("div", {
28
- name: "JoyChip",
29
- slot: "Root",
30
- overridesResolver: (o, i) => i.root
31
- })(({
32
- theme: o,
33
- ownerState: i
34
- }) => {
35
- var a, r, n;
36
- const t = (a = o.variants[i.variant]) == null ? void 0 : a[i.color], {
37
- borderRadius: l
38
- } = w({
39
- theme: o,
40
- ownerState: i
41
- }, ["borderRadius"]);
42
- return [e({
43
- // for controlling chip delete margin offset
44
- "--Chip-decoratorChildOffset": "min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))",
45
- "--Chip-decoratorChildRadius": "max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))",
46
- "--Chip-deleteRadius": "var(--Chip-decoratorChildRadius)",
47
- "--Chip-deleteSize": "var(--Chip-decoratorChildHeight)",
48
- "--Avatar-radius": "var(--Chip-decoratorChildRadius)",
49
- "--Avatar-size": "var(--Chip-decoratorChildHeight)",
50
- "--Icon-margin": "initial",
51
- // reset the icon's margin.
52
- "--Icon-color": "currentColor",
53
- "--unstable_actionRadius": "var(--_Chip-radius)"
54
- }, i.size === "sm" && {
55
- "--Chip-paddingInline": "0.375rem",
56
- "--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))",
57
- "--Icon-fontSize": o.vars.fontSize.sm,
58
- "--_Chip-minHeight": "var(--Chip-minHeight, 1.25rem)",
59
- // 20px
60
- gap: "3px"
61
- }, i.size === "md" && {
62
- "--Chip-paddingInline": "0.5rem",
63
- "--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))",
64
- "--Icon-fontSize": o.vars.fontSize.md,
65
- "--_Chip-minHeight": "var(--Chip-minHeight, 1.5rem)",
66
- // 26px
67
- gap: "0.25rem"
68
- }, i.size === "lg" && {
69
- "--Chip-paddingInline": "0.75rem",
70
- "--Chip-decoratorChildHeight": "calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))",
71
- "--Icon-fontSize": o.vars.fontSize.lg,
72
- "--_Chip-minHeight": "var(--Chip-minHeight, 1.75rem)",
73
- // 28px
74
- gap: "0.375rem"
75
- }, {
76
- "--_Chip-radius": "var(--Chip-radius, 1.5rem)",
77
- "--_Chip-paddingBlock": "max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",
78
- minHeight: "var(--_Chip-minHeight)",
79
- maxWidth: "max-content",
80
- // to prevent Chip from stretching to full width when used with flexbox
81
- paddingInline: "var(--Chip-paddingInline)",
82
- borderRadius: "var(--_Chip-radius)",
83
- position: "relative",
84
- display: "inline-flex",
85
- alignItems: "center",
86
- justifyContent: "center",
87
- whiteSpace: "nowrap",
88
- textDecoration: "none",
89
- verticalAlign: "middle",
90
- boxSizing: "border-box"
91
- }, o.typography[`body-${{
92
- sm: "xs",
93
- md: "sm",
94
- lg: "md"
95
- }[i.size]}`], {
96
- fontWeight: o.vars.fontWeight.md,
97
- [`&.${x.disabled}`]: {
98
- color: (r = o.variants[`${i.variant}Disabled`]) == null || (r = r[i.color]) == null ? void 0 : r.color
99
- }
100
- }), ...i.clickable ? [{
101
- "--variant-borderWidth": "0px",
102
- color: t == null ? void 0 : t.color
103
- }] : [e({
104
- backgroundColor: o.vars.palette.background.surface
105
- }, t, {
106
- [`&.${x.disabled}`]: (n = o.variants[`${i.variant}Disabled`]) == null ? void 0 : n[i.color]
107
- })], l !== void 0 && {
108
- "--_Chip-radius": l
109
- }];
110
- }), ti = C("span", {
111
- name: "JoyChip",
112
- slot: "Label",
113
- overridesResolver: (o, i) => i.label
114
- })(({
115
- ownerState: o
116
- }) => e({
117
- display: "inline-block",
118
- overflow: "hidden",
119
- textOverflow: "ellipsis",
120
- order: 1,
121
- minInlineSize: 0,
122
- flexGrow: 1
123
- }, o.clickable && {
124
- zIndex: 1,
125
- pointerEvents: "none"
126
- })), ni = C("button", {
127
- name: "JoyChip",
128
- slot: "Action",
129
- overridesResolver: (o, i) => i.action
130
- })(({
131
- theme: o,
132
- ownerState: i
133
- }) => {
134
- var a, r, n, t;
135
- return [{
136
- "--Icon-color": i.color !== "neutral" || i.variant === "solid" ? "currentColor" : o.vars.palette.text.icon,
137
- position: "absolute",
138
- zIndex: 0,
139
- top: 0,
140
- left: 0,
141
- bottom: 0,
142
- right: 0,
143
- width: "100%",
144
- // To fix Firefox issue (https://github.com/mui/material-ui/issues/36877)
145
- border: "none",
146
- cursor: "pointer",
147
- padding: "initial",
148
- margin: "initial",
149
- backgroundColor: "initial",
150
- textDecoration: "none",
151
- borderRadius: "inherit",
152
- [o.focus.selector]: o.focus.default
153
- }, e({
154
- backgroundColor: o.vars.palette.background.surface
155
- }, (a = o.variants[i.variant]) == null ? void 0 : a[i.color]), {
156
- "&:hover": {
157
- "@media (hover: hover)": (r = o.variants[`${i.variant}Hover`]) == null ? void 0 : r[i.color]
158
- }
159
- }, {
160
- "&:active": (n = o.variants[`${i.variant}Active`]) == null ? void 0 : n[i.color]
161
- }, {
162
- [`&.${x.disabled}`]: (t = o.variants[`${i.variant}Disabled`]) == null ? void 0 : t[i.color]
163
- }];
164
- }), si = C("span", {
165
- name: "JoyChip",
166
- slot: "StartDecorator",
167
- overridesResolver: (o, i) => i.startDecorator
168
- })({
169
- "--Avatar-marginInlineStart": "calc(var(--Chip-decoratorChildOffset) * -1)",
170
- "--IconButton-margin": "0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)",
171
- "--Icon-margin": "0 0 0 calc(var(--Chip-paddingInline) / -4)",
172
- display: "inherit",
173
- // set zIndex to 1 with order to stay on top of other controls, for example Checkbox, Radio
174
- order: 0,
175
- zIndex: 1,
176
- pointerEvents: "none"
177
- }), li = C("span", {
178
- name: "JoyChip",
179
- slot: "EndDecorator",
180
- overridesResolver: (o, i) => i.endDecorator
181
- })({
182
- "--IconButton-margin": "0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)",
183
- "--Icon-margin": "0 calc(var(--Chip-paddingInline) / -4) 0 0",
184
- display: "inherit",
185
- // set zIndex to 1 with order to stay on top of other controls, for example Checkbox, Radio
186
- order: 2,
187
- zIndex: 1,
188
- pointerEvents: "none"
189
- }), vi = /* @__PURE__ */ g.forwardRef(function(i, a) {
190
- const r = G({
191
- props: i,
192
- name: "JoyChip"
193
- }), {
194
- children: n,
195
- className: t,
196
- color: l = "neutral",
197
- onClick: u,
198
- disabled: m = !1,
199
- size: H = "md",
200
- variant: D = "soft",
201
- startDecorator: _,
202
- endDecorator: y,
203
- component: $,
204
- slots: P = {},
205
- slotProps: d = {}
206
- } = r, k = q(r, ri), I = !!u || !!d.action, s = e({}, r, {
207
- disabled: m,
208
- size: H,
209
- color: l,
210
- variant: D,
211
- clickable: I,
212
- focusVisible: !1
213
- }), f = typeof d.action == "function" ? d.action(s) : d.action, W = g.useRef(null), {
214
- focusVisible: j,
215
- getRootProps: V
216
- } = Z(e({}, f, {
217
- disabled: m,
218
- rootRef: W
219
- }));
220
- s.focusVisible = j;
221
- const p = ai(s), v = e({}, k, {
222
- component: $,
223
- slots: P,
224
- slotProps: d
225
- }), [A, E] = h("root", {
226
- ref: a,
227
- className: K(p.root, t),
228
- elementType: ei,
229
- externalForwardedProps: v,
230
- ownerState: s
231
- }), [S, z] = h("label", {
232
- className: p.label,
233
- elementType: ti,
234
- externalForwardedProps: v,
235
- ownerState: s
236
- }), R = Q(z.id), [N, B] = h("action", {
237
- className: p.action,
238
- elementType: ni,
239
- externalForwardedProps: v,
240
- ownerState: s,
241
- getSlotProps: V,
242
- additionalProps: {
243
- "aria-labelledby": R,
244
- as: f == null ? void 0 : f.component,
245
- onClick: u
246
- }
247
- }), [J, L] = h("startDecorator", {
248
- className: p.startDecorator,
249
- elementType: si,
250
- externalForwardedProps: v,
251
- ownerState: s
252
- }), [O, T] = h("endDecorator", {
253
- className: p.endDecorator,
254
- elementType: li,
255
- externalForwardedProps: v,
256
- ownerState: s
257
- }), M = g.useMemo(() => ({
258
- disabled: m
259
- }), [m]);
260
- return /* @__PURE__ */ c.jsx(oi.Provider, {
261
- value: M,
262
- children: /* @__PURE__ */ c.jsx(Y, {
263
- variant: D,
264
- color: l,
265
- children: /* @__PURE__ */ c.jsxs(A, e({}, E, {
266
- children: [I && /* @__PURE__ */ c.jsx(N, e({}, B)), /* @__PURE__ */ c.jsx(S, e({}, z, {
267
- id: R,
268
- children: n
269
- })), _ && /* @__PURE__ */ c.jsx(J, e({}, L, {
270
- children: _
271
- })), y && /* @__PURE__ */ c.jsx(O, e({}, T, {
272
- children: y
273
- }))]
274
- }))
275
- })
276
- });
277
- });
278
- export {
279
- vi as C,
280
- oi as a
281
- };