@npm_leadtech/legal-contracts-ui 0.87.0 → 0.87.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.
- package/dist/components/Storyline.js +37 -17
- package/dist/globals.css +1 -1
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -1214
|
@@ -1,20 +1,40 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
const
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
const i = ({ title: n, text: s, storyItems: l }) => /* @__PURE__ */ e("section", { className: "bg-secondary-100 p-6 md:px-6 md:py-12", children: /* @__PURE__ */ a("div", { className: "mx-auto max-w-6xl rounded-2xl bg-white p-6 md:p-12", children: [
|
|
3
|
+
/* @__PURE__ */ e("h2", { className: "pb-6 font-sans text-3xl font-bold tracking-tight text-neutral-800", children: n }),
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "pb-2 font-sans text-base text-neutral-800 md:pb-6", children: s }),
|
|
5
|
+
/* @__PURE__ */ a("ul", { className: "relative mt-4 pl-6 md:mt-0", children: [
|
|
6
|
+
/* @__PURE__ */ e(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: "absolute top-0 bottom-0 left-1 w-0.5 bg-[repeating-linear-gradient(to_bottom,currentColor,currentColor_0.75rem,transparent_0.75rem,transparent_1.25rem)] text-neutral-400",
|
|
10
|
+
"aria-hidden": "true"
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
l.map((t, r) => /* @__PURE__ */ a(
|
|
14
|
+
"li",
|
|
15
|
+
{
|
|
16
|
+
className: "bg-neutral-25 relative mt-4 flex list-none flex-col rounded-2xl p-6 first:mt-0 md:flex-row",
|
|
17
|
+
children: [
|
|
18
|
+
r === 0 && /* @__PURE__ */ e("div", { className: "absolute top-0 bottom-1/2 -left-6 z-0 w-2.5 bg-white", "aria-hidden": "true" }),
|
|
19
|
+
r === l.length - 1 && /* @__PURE__ */ e("div", { className: "absolute top-1/2 bottom-0 -left-6 z-0 w-2.5 bg-white", "aria-hidden": "true" }),
|
|
20
|
+
/* @__PURE__ */ e(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: "bg-primary-800 absolute top-1/2 -left-6 z-10 h-2.5 w-2.5 -translate-y-1/2 rounded-full",
|
|
24
|
+
"aria-hidden": "true"
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-neutral-200 p-2", children: t.icon }),
|
|
28
|
+
/* @__PURE__ */ a("div", { className: "md:flex-1 md:pl-4", children: [
|
|
29
|
+
/* @__PURE__ */ e("p", { className: "mt-4 font-sans text-lg font-bold text-neutral-800 md:mt-0", children: t.title }),
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "mt-2 font-sans text-base font-normal text-neutral-800", children: t.description })
|
|
31
|
+
] })
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
t.title
|
|
35
|
+
))
|
|
36
|
+
] })
|
|
17
37
|
] }) });
|
|
18
38
|
export {
|
|
19
|
-
|
|
39
|
+
i as Storyline
|
|
20
40
|
};
|