fansunited-frontend-components 0.0.4-RC2 → 0.0.4-RC3

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 (2) hide show
  1. package/components.js +75 -42
  2. package/package.json +1 -1
package/components.js CHANGED
@@ -24087,7 +24087,8 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
24087
24087
  gap: "8px",
24088
24088
  alignItems: "center",
24089
24089
  minWidth: "180px",
24090
- fontSize: "1em"
24090
+ fontSize: "1em",
24091
+ zIndex: 1
24091
24092
  },
24092
24093
  children: [
24093
24094
  /* @__PURE__ */ A.jsx(
@@ -24655,22 +24656,46 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
24655
24656
  ),
24656
24657
  sx: {
24657
24658
  gap: 1,
24658
- borderRadius: i.sm
24659
+ borderRadius: i.sm,
24660
+ fontSize: "0.875em",
24661
+ "--Icon-fontSize": "1.25em"
24659
24662
  },
24660
- children: /* @__PURE__ */ A.jsxs(sa, { children: [
24661
- t && /* @__PURE__ */ A.jsx(
24662
- oe,
24663
- {
24664
- level: "title-md",
24665
- color: l,
24666
- fontWeight: "bold",
24667
- sx: { fontFamily: s },
24668
- children: t
24669
- }
24670
- ),
24671
- /* @__PURE__ */ A.jsx(oe, { level: "body-sm", sx: { fontFamily: s }, children: o }),
24672
- n && /* @__PURE__ */ A.jsx(oe, { level: "body-xs", sx: { fontFamily: s }, children: n })
24673
- ] })
24663
+ children: /* @__PURE__ */ A.jsxs(
24664
+ sa,
24665
+ {
24666
+ sx: {
24667
+ fontSize: "1.5em"
24668
+ },
24669
+ children: [
24670
+ t && /* @__PURE__ */ A.jsx(
24671
+ oe,
24672
+ {
24673
+ level: "title-md",
24674
+ color: l,
24675
+ fontWeight: "bold",
24676
+ sx: { fontFamily: s, fontSize: "0.875em" },
24677
+ children: t
24678
+ }
24679
+ ),
24680
+ /* @__PURE__ */ A.jsx(
24681
+ oe,
24682
+ {
24683
+ level: "body-sm",
24684
+ sx: { fontFamily: s, fontSize: "0.675em" },
24685
+ children: o
24686
+ }
24687
+ ),
24688
+ n && /* @__PURE__ */ A.jsx(
24689
+ oe,
24690
+ {
24691
+ level: "body-xs",
24692
+ sx: { fontFamily: s, fontSize: "0.6em" },
24693
+ children: n
24694
+ }
24695
+ )
24696
+ ]
24697
+ }
24698
+ )
24674
24699
  }
24675
24700
  );
24676
24701
  }, dn = {
@@ -24822,13 +24847,16 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
24822
24847
  { value: "other", label: R("leads.form.genderOptions.other") },
24823
24848
  { value: "prefer_not_to_say", label: R("leads.form.genderOptions.notSay") }
24824
24849
  ], Z = {
24825
- color: `${b} !important`
24850
+ color: `${b} !important`,
24851
+ fontSize: "0.875em"
24826
24852
  }, F = {
24827
24853
  fontFamily: z,
24828
24854
  borderRadius: K,
24829
24855
  bgcolor: U.background.surface,
24830
24856
  borderColor: U.neutral.outlinedBorder,
24831
24857
  color: U.neutral.outlinedColor,
24858
+ fontSize: "1em",
24859
+ lineHeight: "2.25em",
24832
24860
  "&:hover": {
24833
24861
  bgcolor: U.neutral.outlinedHoverBg
24834
24862
  },
@@ -25166,7 +25194,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25166
25194
  bgcolor: M,
25167
25195
  color: O
25168
25196
  },
25169
- fontSize: "0.8125em"
25197
+ fontSize: "1em"
25170
25198
  },
25171
25199
  onClick: u,
25172
25200
  children: be
@@ -25216,7 +25244,11 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25216
25244
  oe,
25217
25245
  {
25218
25246
  level: "h4",
25219
- sx: { fontFamily: Xe().primary, color: D },
25247
+ sx: {
25248
+ fontFamily: Xe().primary,
25249
+ color: D,
25250
+ fontSize: "1.25em"
25251
+ },
25220
25252
  children: I
25221
25253
  }
25222
25254
  ),
@@ -25227,7 +25259,8 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25227
25259
  sx: {
25228
25260
  fontFamily: Xe().primary,
25229
25261
  color: C,
25230
- opacity: 0.6
25262
+ opacity: 0.6,
25263
+ fontSize: "0.875em"
25231
25264
  },
25232
25265
  children: m
25233
25266
  }
@@ -25295,7 +25328,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25295
25328
  justifyContent: "space-between",
25296
25329
  gap: "40px",
25297
25330
  p: e.spacingScale.xl,
25298
- boxShadow: "xl",
25331
+ boxShadow: "md",
25299
25332
  border: (t = e.brandingColors) != null && t.borderColor ? `${e.borderSize} solid ${e.brandingColors.borderColor}` : "none",
25300
25333
  overflow: "hidden",
25301
25334
  backgroundImage: e.backgroundImage,
@@ -25723,7 +25756,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25723
25756
  color: "#FFFFFF",
25724
25757
  opacity: "12%"
25725
25758
  },
25726
- fontSize: "0.8125em"
25759
+ fontSize: "0.9375em"
25727
25760
  },
25728
25761
  endDecorator: e.endDecorator,
25729
25762
  onClick: e.onClick,
@@ -25733,6 +25766,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25733
25766
  sx: {
25734
25767
  fontFamily: t,
25735
25768
  fontWeight: 500,
25769
+ fontSize: "0.9375em",
25736
25770
  lineHeight: "24px",
25737
25771
  letterSpacing: "0.46px",
25738
25772
  textTransform: "uppercase",
@@ -25926,7 +25960,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25926
25960
  fontWeight: 700,
25927
25961
  lineHeight: "133%",
25928
25962
  letterSpacing: "0px",
25929
- fontSize: "1.5rem",
25963
+ fontSize: "1.5em",
25930
25964
  color: e.textColor,
25931
25965
  fontFamily: e.fontFamilyPrimary,
25932
25966
  textAlign: { xs: "center", md: "left" }
@@ -25936,7 +25970,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
25936
25970
  fontWeight: 700,
25937
25971
  lineHeight: "133%",
25938
25972
  letterSpacing: "0px",
25939
- fontSize: "1.5rem",
25973
+ fontSize: "1.5em",
25940
25974
  color: e.textColor,
25941
25975
  fontFamily: e.fontFamilyPrimary
25942
25976
  },
@@ -26596,12 +26630,16 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
26596
26630
  color: e.onPrimaryColor
26597
26631
  },
26598
26632
  animation: "pulse 1s infinite",
26599
- fontSize: "0.9375em"
26633
+ fontSize: "0.9375em",
26634
+ py: "10px",
26635
+ pr: "12px",
26636
+ pl: "16px"
26600
26637
  },
26601
26638
  // Start button text
26602
26639
  startButtonText: {
26603
26640
  fontFamily: e.fontFamilyPrimary,
26604
26641
  fontWeight: 500,
26642
+ fontSize: "0.9375em",
26605
26643
  lineHeight: "24px",
26606
26644
  letterSpacing: "0.46px",
26607
26645
  textTransform: "uppercase",
@@ -28050,8 +28088,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28050
28088
  flexDirection: "column",
28051
28089
  backdropFilter: "blur(4px)",
28052
28090
  bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
28053
- borderRadius: e.borderRadius.sm,
28054
- boxShadow: "lg"
28091
+ borderRadius: e.borderRadius.sm
28055
28092
  },
28056
28093
  // Score content wrapper
28057
28094
  scoreContentWrapper: {
@@ -28233,7 +28270,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28233
28270
  "&:hover": {
28234
28271
  bgcolor: e.onSurfaceColor
28235
28272
  },
28236
- fontSize: "0.8125em"
28273
+ fontSize: "0.9375em"
28237
28274
  },
28238
28275
  // Play again button content
28239
28276
  playAgainButtonContent: {
@@ -28257,6 +28294,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28257
28294
  color: e.textPrimary,
28258
28295
  textAlign: "center",
28259
28296
  fontFamily: e.fontFamilyPrimary,
28297
+ fontSize: "0.9375em",
28260
28298
  fontStyle: "normal",
28261
28299
  fontWeight: 500,
28262
28300
  lineHeight: "22px",
@@ -28277,7 +28315,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28277
28315
  "&:hover": {
28278
28316
  bgcolor: e.primaryColor
28279
28317
  },
28280
- fontSize: "0.8125em"
28318
+ fontSize: "0.9375em"
28281
28319
  },
28282
28320
  // Share button content
28283
28321
  shareButtonContent: {
@@ -28301,6 +28339,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28301
28339
  color: e.onPrimaryColor,
28302
28340
  textAlign: "center",
28303
28341
  fontFamily: e.fontFamilyPrimary,
28342
+ fontSize: "0.9375em",
28304
28343
  fontStyle: "normal",
28305
28344
  fontWeight: 500,
28306
28345
  lineHeight: "22px",
@@ -28319,8 +28358,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28319
28358
  flexDirection: "column",
28320
28359
  backdropFilter: "blur(4px)",
28321
28360
  bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
28322
- borderRadius: e.borderRadius.sm,
28323
- boxShadow: "lg"
28361
+ borderRadius: e.borderRadius.sm
28324
28362
  },
28325
28363
  // Lead content wrapper
28326
28364
  leadContentWrapper: {
@@ -28495,8 +28533,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28495
28533
  flexDirection: "column",
28496
28534
  backdropFilter: "blur(4px)",
28497
28535
  bgcolor: `rgba(${x ? pn(x || "").replace(/[^\d,]/g, "") : ""}, 0.5)`,
28498
- borderRadius: D.sm,
28499
- boxShadow: "lg"
28536
+ borderRadius: D.sm
28500
28537
  },
28501
28538
  children: [
28502
28539
  /* @__PURE__ */ A.jsx(V, { sx: b.ctaContainer, children: /* @__PURE__ */ A.jsxs(V, { sx: b.ctaContentWrapper, children: [
@@ -28554,8 +28591,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28554
28591
  flexDirection: "column",
28555
28592
  backdropFilter: "blur(4px)",
28556
28593
  bgcolor: `rgba(${x ? pn(x || "").replace(/[^\d,]/g, "") : ""}, 0.5)`,
28557
- borderRadius: D.sm,
28558
- boxShadow: "lg"
28594
+ borderRadius: D.sm
28559
28595
  },
28560
28596
  children: /* @__PURE__ */ A.jsx(V, { sx: b.ctaContainer, children: /* @__PURE__ */ A.jsxs(V, { sx: b.ctaContentWrapper, children: [
28561
28597
  /* @__PURE__ */ A.jsx(oe, { level: "body-lg", sx: b.thanksText, children: r("classicQuiz.thanksForPlaying") }),
@@ -28615,7 +28651,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28615
28651
  }, DI = (e) => ({
28616
28652
  // Main container with background overlay (with explanations)
28617
28653
  mainContainerWithExplanations: {
28618
- boxShadow: "xl",
28654
+ boxShadow: "md",
28619
28655
  border: `${e.borderSize} solid ${e.borderColor}`,
28620
28656
  overflow: "hidden",
28621
28657
  backgroundImage: e.backgroundImage,
@@ -28642,7 +28678,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
28642
28678
  flexDirection: "column",
28643
28679
  gap: "40px",
28644
28680
  p: e.spacingScale.xl,
28645
- boxShadow: "xl",
28681
+ boxShadow: "md",
28646
28682
  border: `${e.borderSize} solid ${e.borderColor}`,
28647
28683
  overflow: "hidden",
28648
28684
  backgroundImage: e.backgroundImage,
@@ -29421,10 +29457,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
29421
29457
  },
29422
29458
  // Alert container
29423
29459
  alertContainer: {
29424
- px: e.spacingScale.md,
29425
- pt: e.spacingScale.md,
29426
- pb: e.spacingScale.lg,
29427
- gap: e.spacingScale.md,
29460
+ py: e.spacingScale.md,
29428
29461
  display: "flex",
29429
29462
  flexDirection: "column",
29430
29463
  backdropFilter: "blur(4px)"
@@ -29698,7 +29731,7 @@ const Rn = Pn(/* @__PURE__ */ A.jsx("path", {
29698
29731
  justifyContent: "space-between",
29699
29732
  gap: "40px",
29700
29733
  p: e.spacingScale.xl,
29701
- boxShadow: "xl",
29734
+ boxShadow: "md",
29702
29735
  border: (t = e.brandingColors) != null && t.borderColor ? `${e.borderSize} solid ${e.brandingColors.borderColor}` : "none",
29703
29736
  overflow: "hidden",
29704
29737
  backgroundImage: e.backgroundImage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-frontend-components",
3
- "version": "0.0.4-RC2",
3
+ "version": "0.0.4-RC3",
4
4
  "description": "Various user centric components for Fans United features",
5
5
  "main": "components.js",
6
6
  "types": "components.d.ts",