@npm_leadtech/legal-contracts-ui 0.44.22 → 0.44.24
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/Item.js +14 -16
- package/package.json +1 -1
package/dist/components/Item.js
CHANGED
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
image: l,
|
|
3
|
+
const h = ({
|
|
4
|
+
image: s,
|
|
6
5
|
title: r,
|
|
7
6
|
description: a,
|
|
8
|
-
documentUrl:
|
|
9
|
-
actions:
|
|
10
|
-
variant:
|
|
11
|
-
className:
|
|
12
|
-
titleClassName:
|
|
7
|
+
documentUrl: l,
|
|
8
|
+
actions: d,
|
|
9
|
+
variant: n = "default",
|
|
10
|
+
className: m = "",
|
|
11
|
+
titleClassName: o = ""
|
|
13
12
|
}) => /* @__PURE__ */ t(
|
|
14
13
|
"a",
|
|
15
14
|
{
|
|
16
|
-
href:
|
|
15
|
+
href: l,
|
|
17
16
|
className: `hover:bg-primary-50 flex cursor-pointer items-center gap-4 rounded-sm p-4 pl-6 ${{
|
|
18
17
|
default: "",
|
|
19
18
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white"
|
|
20
|
-
}[
|
|
19
|
+
}[n]} ${m}`,
|
|
21
20
|
children: [
|
|
22
|
-
|
|
21
|
+
s,
|
|
23
22
|
/* @__PURE__ */ t("div", { className: "flex-1", children: [
|
|
24
|
-
r && /* @__PURE__ */ e("p", { className: `text-medium font-semibold text-neutral-900 ${
|
|
23
|
+
r && /* @__PURE__ */ e("p", { className: `text-medium font-semibold text-neutral-900 ${o}`, children: r }),
|
|
25
24
|
a && /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-600", children: a })
|
|
26
25
|
] }),
|
|
27
|
-
/* @__PURE__ */ e("div", { children:
|
|
26
|
+
/* @__PURE__ */ e("div", { children: d })
|
|
28
27
|
]
|
|
29
|
-
}
|
|
30
|
-
s
|
|
28
|
+
}
|
|
31
29
|
);
|
|
32
30
|
export {
|
|
33
|
-
|
|
31
|
+
h as Item
|
|
34
32
|
};
|