@npm_leadtech/legal-contracts-ui 0.102.0 → 0.103.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.
@@ -100,7 +100,7 @@ export interface MissionSectionProps {
100
100
 
101
101
  export interface PartnersSectionProps {
102
102
  header: SectionHeadingProps;
103
- children: ReactNode;
103
+ body: string;
104
104
  partners: Array<{
105
105
  name: string;
106
106
  logo: ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
2
  import a from "clsx";
3
- const p = ({ title: o, subtitle: r, className: n, children: l, variant: c = "default" }) => {
4
- const e = c === "contact";
3
+ const p = ({ title: o, subtitle: r, className: n, children: l, variant: x = "default" }) => {
4
+ const e = x === "contact";
5
5
  return /* @__PURE__ */ s("section", { className: `mx-auto px-4 pb-10 text-center md:px-8 ${n ?? ""}`, children: [
6
6
  /* @__PURE__ */ s("div", { className: "flex flex-col items-center gap-2", children: [
7
7
  /* @__PURE__ */ t("h1", { className: a("text-small font-bold", e ? "text-neutral-600" : "text-neutral-900"), children: o }),
@@ -18,7 +18,7 @@ const p = ({ title: o, subtitle: r, className: n, children: l, variant: c = "def
18
18
  children: r
19
19
  }
20
20
  ),
21
- !!l && /* @__PURE__ */ t("div", { className: a(!e && "mt-4"), children: l })
21
+ !!l && /* @__PURE__ */ t("div", { className: a(!e && "mt-4", e && "xl:max-w-202"), children: l })
22
22
  ] });
23
23
  };
24
24
  export {
@@ -5,7 +5,7 @@ export declare const PartnersSection: FC<PartnersSectionProps>;
5
5
 
6
6
  export declare interface PartnersSectionProps {
7
7
  header: SectionHeadingProps;
8
- children: ReactNode;
8
+ body: string;
9
9
  partners: Array<{
10
10
  name: string;
11
11
  logo: ReactNode;
@@ -1,10 +1,11 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { SectionHeading as c } from "./SectionHeading.js";
3
- const m = ({ header: n, children: s, partners: l }) => l.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 py-16", children: /* @__PURE__ */ a("div", { className: "mx-auto max-w-6xl space-y-8", children: [
4
- /* @__PURE__ */ e(c, { ...n }),
5
- s,
6
- /* @__PURE__ */ e("div", { className: "flex flex-row gap-10", children: l.map((i) => /* @__PURE__ */ e("div", { className: "flex h-20 items-center justify-center", children: i.logo }, i.name)) })
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { SectionHeading as i } from "./SectionHeading.js";
3
+ import { Markdown as s } from "./Markdown.js";
4
+ const x = ({ header: t, body: n, partners: a }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 py-16", children: /* @__PURE__ */ r("div", { className: "mx-auto max-w-6xl space-y-8", children: [
5
+ /* @__PURE__ */ e(i, { ...t }),
6
+ /* @__PURE__ */ e(s, { content: n, variant: "legal", className: "text-center" }),
7
+ /* @__PURE__ */ e("div", { className: "flex flex-row flex-wrap justify-center gap-7 md:gap-5 xl:gap-9", children: a.map((l) => /* @__PURE__ */ e("div", { className: "flex h-20 w-32 items-center justify-around md:w-24 lg:w-20", children: l.logo }, l.name)) })
7
8
  ] }) });
8
9
  export {
9
- m as PartnersSection
10
+ x as PartnersSection
10
11
  };