@npm_leadtech/legal-contracts-ui 0.63.4 → 0.64.0

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsxs as l, Fragment as h, jsx as e } from "react/jsx-runtime";
3
- import { useState as u, useRef as g, useEffect as N } from "react";
4
- import { TrustedBadge as b } from "./TrustedBadge.js";
3
+ import { useState as u, useRef as g, useEffect as b } from "react";
4
+ import { TrustedBadge as N } from "./TrustedBadge.js";
5
5
  import { LinkWrapper as s } from "./LinkWrapper.js";
6
6
  const j = ({
7
7
  trustedBadge: r,
@@ -12,7 +12,7 @@ const j = ({
12
12
  wordDownload: n
13
13
  }) => {
14
14
  const [f, x] = u(!1), i = g(null);
15
- return N(() => {
15
+ return b(() => {
16
16
  const a = i.current;
17
17
  if (!a) return;
18
18
  const m = new IntersectionObserver(
@@ -31,8 +31,8 @@ const j = ({
31
31
  ref: i,
32
32
  className: "relative mx-auto flex max-w-300 flex-col items-center justify-center gap-8 rounded bg-white px-6 py-8 shadow-md sm:px-4 md:flex-row lg:px-14",
33
33
  children: [
34
- r && /* @__PURE__ */ e(b, { ...r }),
35
- /* @__PURE__ */ e("div", { className: "shadow", children: d }),
34
+ r && /* @__PURE__ */ e(N, { ...r }),
35
+ /* @__PURE__ */ e("div", { className: "border border-neutral-200 shadow", children: d }),
36
36
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-8 self-start", children: [
37
37
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
38
38
  /* @__PURE__ */ e("h2", { className: "text-big md:text-large font-bold", children: o }),
@@ -38,7 +38,7 @@ const H = ({
38
38
  s.map((a) => /* @__PURE__ */ m(v, { ...a }, a.id)),
39
39
  /* @__PURE__ */ m(B, { ...n })
40
40
  ] }),
41
- /* @__PURE__ */ m("aside", { className: "sticky top-10 hidden pt-4 md:block", children: /* @__PURE__ */ m(T, { ...x }) })
41
+ /* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(T, { ...x }) })
42
42
  ] })
43
43
  ] }) }),
44
44
  e && /* @__PURE__ */ m(k, { ...e }),