@kashifd/jwero-components 0.6.92 → 0.6.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/dist/index.es.js CHANGED
@@ -48813,11 +48813,11 @@ const VF = /* @__PURE__ */ zo(WF), YF = ({ ...e }) => /* @__PURE__ */ b.jsxs(
48813
48813
  }, ZF = Ee(zc)(({ size: e, name: t, showGradientBackground: r }) => ({
48814
48814
  width: e,
48815
48815
  height: e,
48816
- color: gt.colors.primary,
48816
+ color: "#fff",
48817
48817
  fontFamily: "Inter, sans-serif",
48818
- fontSize: e > 20 ? e / 3.5 : e / 2.5,
48818
+ fontSize: e > 20 ? e / 3.5 : e / 2.7,
48819
48819
  fontStyle: "normal",
48820
- fontWeight: 500,
48820
+ fontWeight: 600,
48821
48821
  lineHeight: "normal",
48822
48822
  background: r ? KF(t) : gt.colors.light_blue
48823
48823
  })), Id = ({
@@ -48836,7 +48836,7 @@ const VF = /* @__PURE__ */ zo(WF), YF = ({ ...e }) => /* @__PURE__ */ b.jsxs(
48836
48836
  isChecked: O = !1,
48837
48837
  onClick: R,
48838
48838
  avatarTooltip: I,
48839
- showGradientBackground: j = !0
48839
+ showGradientBackground: j = !1
48840
48840
  }) => {
48841
48841
  var M, Y, U;
48842
48842
  const P = (U = (Y = (M = e == null ? void 0 : e.split(" ")) == null ? void 0 : M.map((L) => L[0])) == null ? void 0 : Y.join("")) == null ? void 0 : U.toUpperCase(), H = T || (r === "small" ? 28 : r === "medium" ? 50 : 80);
@@ -48856,7 +48856,7 @@ const VF = /* @__PURE__ */ zo(WF), YF = ({ ...e }) => /* @__PURE__ */ b.jsxs(
48856
48856
  size: H,
48857
48857
  name: e,
48858
48858
  showGradientBackground: j,
48859
- children: !t && /* @__PURE__ */ b.jsx("span", { className: "avatarContent", children: P })
48859
+ children: !t && /* @__PURE__ */ b.jsx("span", { className: "avatarContent", style: { fontWeight: 900 }, children: P })
48860
48860
  }
48861
48861
  ) }),
48862
48862
  d && /* @__PURE__ */ b.jsx(
@@ -62662,42 +62662,70 @@ const MH = ({
62662
62662
  icon: t,
62663
62663
  label: r,
62664
62664
  isComingSoon: a
62665
- }) => /* @__PURE__ */ b.jsxs(Ue, { onClick: e, alignItems: "center", sx: { gap: "0.75rem" }, children: [
62666
- /* @__PURE__ */ b.jsx(
62667
- nr,
62668
- {
62669
- sx: {
62670
- display: "flex",
62671
- justifyContent: "center",
62672
- alignItems: "center",
62673
- padding: "0.5rem 0.6rem",
62674
- borderRadius: "0.5rem",
62675
- boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.40)",
62676
- cursor: "pointer",
62677
- height: "3.5rem",
62678
- width: "3.5rem",
62679
- transition: "0.3s ease",
62680
- "&:hover": {
62681
- backgroundColor: "#fafafa"
62665
+ }) => /* @__PURE__ */ b.jsxs(
62666
+ Ue,
62667
+ {
62668
+ onClick: e,
62669
+ alignItems: "center",
62670
+ sx: { gap: "0.75rem", position: "relative" },
62671
+ children: [
62672
+ /* @__PURE__ */ b.jsx(
62673
+ nr,
62674
+ {
62675
+ sx: {
62676
+ display: "flex",
62677
+ justifyContent: "center",
62678
+ alignItems: "center",
62679
+ padding: "0.5rem 0.6rem",
62680
+ borderRadius: "0.5rem",
62681
+ boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.40)",
62682
+ cursor: "pointer",
62683
+ height: "3.5rem",
62684
+ width: "3.5rem",
62685
+ transition: "0.3s ease",
62686
+ "&:hover": {
62687
+ backgroundColor: "#fafafa"
62688
+ }
62689
+ },
62690
+ children: t
62682
62691
  }
62683
- },
62684
- children: t
62685
- }
62686
- ),
62687
- /* @__PURE__ */ b.jsx(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: /* @__PURE__ */ b.jsx(
62688
- xt,
62689
- {
62690
- variant: "xlSemibold",
62691
- sx: {
62692
- textAlign: "center",
62693
- color: gt.colors.text_primary,
62694
- maxWidth: "5rem"
62695
- },
62696
- children: r
62697
- }
62698
- ) }),
62699
- a && /* @__PURE__ */ b.jsx(jd, { label: "Coming soon...", value: r })
62700
- ] });
62692
+ ),
62693
+ /* @__PURE__ */ b.jsx(Ue, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: /* @__PURE__ */ b.jsx(
62694
+ xt,
62695
+ {
62696
+ variant: "xlSemibold",
62697
+ sx: {
62698
+ textAlign: "center",
62699
+ color: gt.colors.text_primary,
62700
+ maxWidth: "5rem"
62701
+ },
62702
+ children: r
62703
+ }
62704
+ ) }),
62705
+ a && /* @__PURE__ */ b.jsx(Ue, { sx: { position: "absolute", top: "-0.75rem", right: "-2rem" }, children: /* @__PURE__ */ b.jsx(
62706
+ jd,
62707
+ {
62708
+ label: "Coming soon",
62709
+ value: r,
62710
+ boxSx: {
62711
+ width: "fit-content",
62712
+ padding: "0.25rem 0.35rem",
62713
+ backgroundColor: gt.colors.positive
62714
+ },
62715
+ labelProps: {
62716
+ sx: {
62717
+ textAlign: "center",
62718
+ whiteSpace: "nowrap",
62719
+ fontSize: "0.65rem",
62720
+ fontWeight: 600,
62721
+ color: "#fff"
62722
+ }
62723
+ }
62724
+ }
62725
+ ) })
62726
+ ]
62727
+ }
62728
+ );
62701
62729
  var QH = function(e) {
62702
62730
  var t = {};
62703
62731
  function r(a) {