@npm_leadtech/legal-contracts-ui 0.84.1 → 0.84.2

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.
@@ -110,6 +110,7 @@ export interface HowItWorksSectionProps {
110
110
  }
111
111
 
112
112
  export interface HowItWorksStep {
113
+ id: string;
113
114
  title: string;
114
115
  description: string;
115
116
  icon: ReactNode;
@@ -76,6 +76,7 @@ export interface HowItWorksSectionProps {
76
76
  }
77
77
 
78
78
  export interface HowItWorksStep {
79
+ id: string;
79
80
  title: string;
80
81
  description: string;
81
82
  icon: ReactNode;
@@ -11,6 +11,7 @@ export declare interface HowItWorksSectionProps {
11
11
  }
12
12
 
13
13
  export declare interface HowItWorksStep {
14
+ id: string;
14
15
  title: string;
15
16
  description: string;
16
17
  icon: ReactNode;
@@ -1,26 +1,22 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { SectionHeading as t } from "./SectionHeading.js";
3
- const o = ({ media: r, title: i, description: s, steps: d }) => /* @__PURE__ */ e("section", { className: "bg-white px-4 py-16", children: /* @__PURE__ */ a("div", { className: "mx-auto grid w-full max-w-6xl gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
4
- /* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-3xl shadow-[0_25px_80px_rgba(3,42,56,0.25)] lg:order-1", children: r }),
5
- /* @__PURE__ */ a("div", { className: "order-1 space-y-6 lg:order-2", children: [
6
- /* @__PURE__ */ e(t, { title: i, description: s, align: "start" }),
7
- /* @__PURE__ */ e("div", { className: "space-y-4", children: d.map((l) => /* @__PURE__ */ e(
8
- "article",
9
- {
10
- className: "bg-neutral-25 rounded-lg p-5",
11
- style: { boxShadow: "var(--shadow-small)" },
12
- children: /* @__PURE__ */ a("div", { className: "flex items-start gap-3", children: [
13
- /* @__PURE__ */ e("span", { className: "inline-flex h-6 w-6 shrink-0 items-center justify-center", children: l.icon }),
14
- /* @__PURE__ */ a("div", { children: [
15
- /* @__PURE__ */ e("p", { className: "text-medium font-bold text-neutral-800", children: l.title }),
16
- /* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: l.description })
17
- ] })
18
- ] })
19
- },
20
- l.title
21
- )) })
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { Markdown as c } from "./Markdown.js";
3
+ const m = ({ media: a, title: d, description: i, steps: s }) => /* @__PURE__ */ e("section", { className: "bg-white", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full flex-col gap-8 px-6 py-8 md:gap-12 lg:px-8 lg:py-12 xl:max-w-300 xl:flex-row xl:items-center xl:px-0", children: [
4
+ /* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-md shadow md:order-1 lg:mx-auto xl:shrink-0", children: a }),
5
+ /* @__PURE__ */ l("div", { className: "order-1 flex flex-col gap-6 text-neutral-800 md:order-2", children: [
6
+ /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: d }),
7
+ /* @__PURE__ */ e(c, { className: "text-medium [&_p:last-child]:mb-0", content: i }),
8
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: s.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
9
+ /* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
10
+ r.icon,
11
+ /* @__PURE__ */ e("p", { className: "text-medium font-bold", children: r.title })
12
+ ] }),
13
+ /* @__PURE__ */ l("p", { className: "text-small", children: [
14
+ r.description,
15
+ " "
16
+ ] })
17
+ ] }) }, r.id)) })
22
18
  ] })
23
19
  ] }) });
24
20
  export {
25
- o as HowItWorksSection
21
+ m as HowItWorksSection
26
22
  };