@npm_leadtech/legal-contracts-ui 0.152.0 → 0.152.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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { QuestionIcon as t } from "./QuestionIcon.js";
|
|
3
|
-
import { Markdown as
|
|
4
|
-
const
|
|
3
|
+
import { Markdown as a } from "./Markdown.js";
|
|
4
|
+
const i = ({ title: r, content: l }) => /* @__PURE__ */ o("div", { className: "border-secondary-200 hidden flex-col gap-4 rounded border p-6 md:flex", children: [
|
|
5
5
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-1.5", children: [
|
|
6
6
|
/* @__PURE__ */ e(t, { fill: "var(--color-secondary-600)" }),
|
|
7
|
-
/* @__PURE__ */ e("
|
|
7
|
+
/* @__PURE__ */ e("p", { className: "text-small font-bold text-neutral-900", children: r })
|
|
8
8
|
] }),
|
|
9
|
-
/* @__PURE__ */ e(
|
|
9
|
+
/* @__PURE__ */ e(a, { className: "text-small", variant: "tooltip", content: l })
|
|
10
10
|
] });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
i as Tooltips
|
|
13
13
|
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
default: "
|
|
6
|
-
legal: "list-outside list-disc pl-8 pr-4 text-neutral-800",
|
|
7
|
-
ratafia: "list-outside list-disc pl-5 pr-1 text-white/85 marker:text-white/60",
|
|
8
|
-
tooltip: "flex list-inside list-disc flex-col px-4 text-neutral-900",
|
|
9
|
-
unsubscribe: "w-full list-outside list-disc pl-10 text-neutral-800"
|
|
10
|
-
}, s = {
|
|
11
|
-
default: "bg-primary-50 gap-4 mb-4 py-2 flex list-inside list-disc flex-col px-4 text-neutral-900",
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
const c = ({ variant: s = "default", children: e }) => {
|
|
4
|
+
const t = {
|
|
5
|
+
default: "bg-primary-50 mb-4 py-2 list-disc space-y-4 px-4 text-neutral-900 list-outside [&_li]:ml-4",
|
|
12
6
|
legal: "space-y-4 mb-4 py-2 list-outside list-disc pl-8 pr-4 text-neutral-800",
|
|
13
|
-
ratafia: "mb-3 space-y-2 py-0",
|
|
7
|
+
ratafia: "mb-3 space-y-2 py-0 list-outside list-disc pl-5 pr-1 text-white/85 marker:text-white/60",
|
|
14
8
|
tooltip: "gap-2 marker:text-secondary-600 flex list-inside list-disc flex-col px-4 text-neutral-900",
|
|
15
9
|
unsubscribe: "mb-4 py-2 w-full list-outside list-disc pl-10 text-neutral-800"
|
|
16
|
-
},
|
|
17
|
-
return /* @__PURE__ */
|
|
10
|
+
}, l = t[s] ?? t.default;
|
|
11
|
+
return /* @__PURE__ */ i("ul", { className: a(l), children: e });
|
|
18
12
|
};
|
|
19
13
|
export {
|
|
20
|
-
|
|
14
|
+
c as UnorderedList
|
|
21
15
|
};
|