@npm_leadtech/legal-contracts-ui 0.90.0 → 0.90.1
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/components/GuidelinesSection.js +17 -19
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1144
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { SectionHeading as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ l("
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
a.content,
|
|
17
|
-
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", ...a.cta })
|
|
1
|
+
import { jsx as l, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as s } from "./SectionHeading.js";
|
|
3
|
+
import { Button as r } from "./Button.js";
|
|
4
|
+
const c = ({ header: i, guidelineCards: n, footerCard: e }) => /* @__PURE__ */ l("section", { className: "bg-neutral-25 py-8", children: /* @__PURE__ */ a("div", { className: "mx-auto w-full max-w-6xl px-4 md:px-6", children: [
|
|
5
|
+
/* @__PURE__ */ l(s, { ...i, align: "start" }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "my-8 flex flex-col gap-6 lg:mt-8 lg:mb-4 lg:flex-row", children: n.map((t) => /* @__PURE__ */ a("article", { className: "flex flex-1 flex-col rounded-2xl bg-white p-6 shadow-sm", children: [
|
|
7
|
+
/* @__PURE__ */ l("div", { className: "w-full rounded-2xl", children: t.image }),
|
|
8
|
+
/* @__PURE__ */ l("p", { className: "my-6 font-sans text-lg leading-6 font-bold tracking-[-0.3px] text-neutral-800", children: t.title }),
|
|
9
|
+
/* @__PURE__ */ l("div", { className: "font-sans text-base leading-[22px] text-neutral-800 [&_li]:mb-0 [&_ol]:mb-4 [&_ol]:ml-4 [&_ol]:list-decimal [&_ul]:mb-4 [&_ul]:ml-4 [&_ul]:list-disc", children: t.content })
|
|
10
|
+
] }, t.title)) }),
|
|
11
|
+
/* @__PURE__ */ a("div", { className: "my-8 flex flex-col justify-between overflow-hidden rounded-2xl bg-white shadow-sm lg:mb-4 lg:flex-row lg:overflow-visible lg:p-6", children: [
|
|
12
|
+
/* @__PURE__ */ a("div", { className: "order-2 flex flex-1 flex-col justify-start p-6 text-neutral-800 lg:order-1 lg:mr-12 lg:p-0", children: [
|
|
13
|
+
/* @__PURE__ */ l("p", { className: "mb-4 font-sans text-[18px] leading-[24px] font-bold tracking-[-0.3px] text-neutral-800", children: e.title }),
|
|
14
|
+
/* @__PURE__ */ l("div", { className: "[&_a]:text-primary-800 mb-6 font-sans text-[16px] leading-[22px] font-normal tracking-[-0.3px] [&_a]:font-normal", children: e.content }),
|
|
15
|
+
/* @__PURE__ */ l("div", { className: "mt-10 self-start", children: /* @__PURE__ */ l(r, { size: "large", variant: "primary-darkgreen", ...e.cta }) })
|
|
18
16
|
] }),
|
|
19
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ l("div", { className: "order-1 mb-8 w-full lg:order-2 lg:mb-0 lg:w-1/2", children: /* @__PURE__ */ l("div", { className: "w-full", children: e.image }) })
|
|
20
18
|
] })
|
|
21
19
|
] }) });
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
c as GuidelinesSection
|
|
24
22
|
};
|