@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 s } from "./Markdown.js";
4
- const n = ({ title: r, content: l }) => /* @__PURE__ */ o("div", { className: "border-secondary-200 hidden flex-col gap-4 rounded border p-6 md:flex", children: [
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("h5", { className: "text-small font-semibold text-neutral-900", children: r })
7
+ /* @__PURE__ */ e("p", { className: "text-small font-bold text-neutral-900", children: r })
8
8
  ] }),
9
- /* @__PURE__ */ e(s, { className: "text-small", variant: "tooltip", content: l })
9
+ /* @__PURE__ */ e(a, { className: "text-small", variant: "tooltip", content: l })
10
10
  ] });
11
11
  export {
12
- n as Tooltips
12
+ i as Tooltips
13
13
  };
@@ -1,21 +1,15 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import c from "clsx";
3
- const u = ({ variant: t = "default", children: e }) => {
4
- const l = {
5
- default: "flex list-inside list-disc flex-col px-4 text-neutral-900",
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
- }, i = s[t] ?? s.default, a = l[t] ?? l.default;
17
- return /* @__PURE__ */ r("ul", { className: c(i, a), children: e });
10
+ }, l = t[s] ?? t.default;
11
+ return /* @__PURE__ */ i("ul", { className: a(l), children: e });
18
12
  };
19
13
  export {
20
- u as UnorderedList
14
+ c as UnorderedList
21
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.152.0",
3
+ "version": "0.152.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",