@npm_leadtech/legal-contracts-ui 0.169.4 → 0.169.6
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,27 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as e, jsxs as
|
|
3
|
-
import "react";
|
|
4
|
-
import s from "../assets/Black-01-LC.png.js";
|
|
2
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
5
3
|
import { Button as o } from "./Button.js";
|
|
6
|
-
const
|
|
4
|
+
const m = ({
|
|
7
5
|
editFormClicked: a,
|
|
8
|
-
tagLine:
|
|
9
|
-
title:
|
|
10
|
-
buttonLabel:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
tagLine: l,
|
|
7
|
+
title: r,
|
|
8
|
+
buttonLabel: s,
|
|
9
|
+
backgroundImageUrl: t
|
|
10
|
+
}) => {
|
|
11
|
+
const i = t ? { backgroundImage: `url(${t})` } : void 0;
|
|
12
|
+
return /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ n(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: "gap-ds-sm p-ds-lg flex flex-col items-center rounded-sm bg-neutral-900 bg-[length:auto_90%] bg-left-bottom bg-no-repeat text-center",
|
|
16
|
+
style: i,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ n("div", { className: "gap-ds-2xs flex flex-col", children: [
|
|
19
|
+
/* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-100 lg:text-super-large", children: r }),
|
|
20
|
+
/* @__PURE__ */ e("span", { className: "text-medium text-neutral-200", children: l })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ e(o, { "data-qa": "continue-editing-banner-button", className: "lg:w-auto", onClick: a, children: s })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
) });
|
|
26
|
+
};
|
|
25
27
|
export {
|
|
26
|
-
|
|
28
|
+
m as ContinueEditingBanner
|
|
27
29
|
};
|
package/dist/components/Item.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { isValidElement as p, cloneElement as f } from "react";
|
|
3
|
-
import
|
|
3
|
+
import s from "clsx";
|
|
4
4
|
import { ChevronRightIcon as h } from "./ChevronRightIcon.js";
|
|
5
|
-
const x = (e,
|
|
5
|
+
const x = (e, r) => {
|
|
6
6
|
if (!p(e)) return e;
|
|
7
|
-
if (
|
|
8
|
-
const
|
|
7
|
+
if (r) {
|
|
8
|
+
const t = e.props["data-qa"];
|
|
9
9
|
return f(e, {
|
|
10
|
-
"data-qa":
|
|
10
|
+
"data-qa": t ? `${t}${r}` : void 0
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
return e;
|
|
14
14
|
}, N = ({
|
|
15
15
|
id: e,
|
|
16
|
-
image:
|
|
17
|
-
description:
|
|
16
|
+
image: r,
|
|
17
|
+
description: t,
|
|
18
18
|
url: n,
|
|
19
|
-
urlDataQaSuffix:
|
|
19
|
+
urlDataQaSuffix: i,
|
|
20
20
|
variant: a = "default",
|
|
21
|
-
className:
|
|
21
|
+
className: d = ""
|
|
22
22
|
}) => {
|
|
23
|
-
const c = x(n,
|
|
24
|
-
return /* @__PURE__ */
|
|
23
|
+
const c = x(n, i), m = a === "default";
|
|
24
|
+
return /* @__PURE__ */ o(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
27
|
+
className: s(
|
|
28
28
|
'hover:bg-primary-50 relative flex cursor-pointer items-center gap-4 rounded-sm [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]',
|
|
29
29
|
{
|
|
30
30
|
default: "py-4 px-2 items-start",
|
|
31
31
|
card: "border border-0.5 border-neutral-200 shadow-lg bg-white pl-6 pr-4 py-5"
|
|
32
32
|
}[a],
|
|
33
|
-
|
|
33
|
+
d
|
|
34
34
|
),
|
|
35
35
|
children: [
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
|
|
36
|
+
r,
|
|
37
|
+
/* @__PURE__ */ o("div", { className: "flex flex-1 flex-col gap-1", children: [
|
|
38
|
+
/* @__PURE__ */ l("p", { className: s("text-medium break-all text-neutral-800", m ? "" : "font-bold"), children: c }),
|
|
39
|
+
t && /* @__PURE__ */ l("p", { className: "text-extra-small break-all text-neutral-600", children: t })
|
|
40
40
|
] }),
|
|
41
|
-
a === "card" && /* @__PURE__ */
|
|
41
|
+
a === "card" && /* @__PURE__ */ l(h, { width: 20, height: 20 })
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
e
|