@leatcom/portal-sessions 0.0.43-beta.2 → 0.0.43-beta.3

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.
@@ -6901,7 +6901,7 @@ const a1 = Pr(
6901
6901
  };
6902
6902
  ct.displayName = "Button";
6903
6903
  function St({ children: e }) {
6904
- return /* @__PURE__ */ u.jsx("div", { className: "flex h-full max-h-full flex-col bg-white md:h-fit md:rounded-lg md:shadow-overlay", children: e });
6904
+ return /* @__PURE__ */ u.jsx("div", { className: "flex h-full max-h-full flex-col bg-white md:h-fit md:rounded-lg md:border md:shadow-md", children: e });
6905
6905
  }
6906
6906
  function Et({ children: e }) {
6907
6907
  return /* @__PURE__ */ u.jsx("div", { className: "grow overflow-y-auto px-6 py-4", children: e });
@@ -10704,10 +10704,7 @@ function ns({ state: e }) {
10704
10704
  i && !a && !h && E();
10705
10705
  }, [i, a, h, E]), /* @__PURE__ */ u.jsxs(St, { children: [
10706
10706
  /* @__PURE__ */ u.jsx(Ct, { children: /* @__PURE__ */ u.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ u.jsx("p", { children: n("scanOrEnterX", { x: "identifier" }) }) }) }),
10707
- /* @__PURE__ */ u.jsxs(Et, { children: [
10708
- /* @__PURE__ */ u.jsx("p", { children: "Are we seeing this?" }),
10709
- /* @__PURE__ */ u.jsx(rs, { dataSetter: s, setDefer: v, label: n("contactIdentifier") })
10710
- ] }),
10707
+ /* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(rs, { dataSetter: s, setDefer: v, label: n("contactIdentifier") }) }),
10711
10708
  /* @__PURE__ */ u.jsx(Pt, { children: /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-2", children: [
10712
10709
  /* @__PURE__ */ u.jsx(ct, { label: n("continue"), onClick: E }),
10713
10710
  f.input_data.enable_email_identification && /* @__PURE__ */ u.jsx(
@@ -16574,7 +16571,7 @@ function mh({ subscription: e, onChange: t, editable: n = !1 }) {
16574
16571
  }
16575
16572
  function Rx({ contact: e }) {
16576
16573
  const t = At(), { t: n } = ze();
16577
- return /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-4 py-4 lg:flex-row lg:items-center lg:justify-between", children: [
16574
+ return /* @__PURE__ */ u.jsxs("div", { className: "inline-grid w-full items-center gap-4 py-4 lg:grid-cols-2", children: [
16578
16575
  /* @__PURE__ */ u.jsxs("div", { className: "flex items-center gap-4", children: [
16579
16576
  /* @__PURE__ */ u.jsx(rc, { src: e.current_display_values.avatar, size: "2xl" }),
16580
16577
  /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-1", children: [
@@ -16586,7 +16583,7 @@ function Rx({ contact: e }) {
16586
16583
  ] }),
16587
16584
  /* @__PURE__ */ u.jsx(ic, { label: e.current_display_values.tier, size: "sm", stroke: !0 })
16588
16585
  ] }),
16589
- /* @__PURE__ */ u.jsxs("p", { className: "text-sm text-core-gray-500", children: [
16586
+ /* @__PURE__ */ u.jsxs("p", { className: "text-sm text-core-gray-500 ", children: [
16590
16587
  n("joined"),
16591
16588
  " ",
16592
16589
  new Date(e.current_values.created_at).toLocaleDateString(Nt.language, {
@@ -16596,11 +16593,10 @@ function Rx({ contact: e }) {
16596
16593
  ] })
16597
16594
  ] })
16598
16595
  ] }),
16599
- /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col items-start gap-2 lg:flex-row", children: [
16596
+ /* @__PURE__ */ u.jsxs("div", { className: "inline-grid gap-2 lg:grid-cols-2", children: [
16600
16597
  /* @__PURE__ */ u.jsx(
16601
16598
  ct,
16602
16599
  {
16603
- className: "w-full lg:w-fit",
16604
16600
  label: n("goToX", { x: "identifiers" }),
16605
16601
  variant: "secondary",
16606
16602
  size: "md",
@@ -16610,7 +16606,6 @@ function Rx({ contact: e }) {
16610
16606
  /* @__PURE__ */ u.jsx(
16611
16607
  ct,
16612
16608
  {
16613
- className: "w-full lg:w-fit",
16614
16609
  before: /* @__PURE__ */ u.jsx(jt, { icon: "edit" }),
16615
16610
  label: n("editProfile"),
16616
16611
  variant: "secondary",
@@ -16979,7 +16974,7 @@ function Mx() {
16979
16974
  return /* @__PURE__ */ u.jsxs("div", { className: "h-full md:container", children: [
16980
16975
  /* @__PURE__ */ u.jsxs(St, { children: [
16981
16976
  /* @__PURE__ */ u.jsx(Ct, { children: /* @__PURE__ */ u.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ u.jsx("p", { children: e("vouchers") }) }) }),
16982
- /* @__PURE__ */ u.jsx(Et, { children: n ? /* @__PURE__ */ u.jsx(fs, { rows: 2 }) : /* @__PURE__ */ u.jsx("div", { className: "flex flex-col gap-1 md:max-h-[528px]", children: t && t.length ? t.map((o) => /* @__PURE__ */ u.jsx(
16977
+ /* @__PURE__ */ u.jsx(Et, { children: n ? /* @__PURE__ */ u.jsx(fs, { rows: 4 }) : /* @__PURE__ */ u.jsx("div", { className: "flex flex-col gap-1 md:max-h-[528px]", children: t && t.length ? t.map((o) => /* @__PURE__ */ u.jsx(
16983
16978
  ka,
16984
16979
  {
16985
16980
  voucher: o,
@@ -17094,7 +17089,7 @@ function Fx() {
17094
17089
  /* @__PURE__ */ u.jsx("p", { className: "text-sm text-core-gray-500", children: f.custom_credit_name ? f.custom_credit_name : e("points") })
17095
17090
  ] })
17096
17091
  ] }) }),
17097
- /* @__PURE__ */ u.jsx(Et, { children: n || v ? /* @__PURE__ */ u.jsx(fs, { rows: 2 }) : /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-1 overflow-auto md:max-h-[528px]", children: [
17092
+ /* @__PURE__ */ u.jsx(Et, { children: n || v ? /* @__PURE__ */ u.jsx(fs, { rows: 4 }) : /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-1 overflow-auto md:max-h-[528px]", children: [
17098
17093
  /* @__PURE__ */ u.jsx("p", { className: "text-sm font-light text-core-gray-500", children: e("redeemableRewards") }),
17099
17094
  t.filter((y) => y.required_credits <= h.credit_balance.balance).map((y) => /* @__PURE__ */ u.jsx(
17100
17095
  Qs,