@npm_leadtech/legal-contracts-ui 0.168.1 → 0.168.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/ContinueEditingBanner.js +9 -9
- package/dist/components/ProductInfo.js +17 -21
- package/dist/components/SecurityIcon.d.ts +4 -0
- package/dist/components/SecurityIcon.js +14 -0
- package/package.json +5 -5
- package/dist/components/Note.d.ts +0 -9
- package/dist/components/Note.js +0 -6
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Button as s } from "./Button.js";
|
|
5
|
-
const
|
|
5
|
+
const c = ({
|
|
6
6
|
editFormClicked: a,
|
|
7
|
-
tagLine:
|
|
8
|
-
title:
|
|
9
|
-
buttonLabel:
|
|
10
|
-
}) => /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ t("div", { className:
|
|
7
|
+
tagLine: n,
|
|
8
|
+
title: r,
|
|
9
|
+
buttonLabel: l
|
|
10
|
+
}) => /* @__PURE__ */ e("div", { className: "bg-primary-50 px-ds-sm py-0", children: /* @__PURE__ */ t("div", { 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", children: [
|
|
11
11
|
/* @__PURE__ */ t("div", { className: "gap-ds-2xs flex flex-col", children: [
|
|
12
|
-
/* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-100 lg:text-super-large", children:
|
|
13
|
-
/* @__PURE__ */ e("span", { className: "text-medium text-neutral-200", children:
|
|
12
|
+
/* @__PURE__ */ e("span", { className: "font-lora text-large text-primary-100 lg:text-super-large", children: r }),
|
|
13
|
+
/* @__PURE__ */ e("span", { className: "text-medium text-neutral-200", children: n })
|
|
14
14
|
] }),
|
|
15
|
-
/* @__PURE__ */ e(s, { "data-qa": "continue-editing-banner-button", className: "lg:w-auto", onClick: a, children:
|
|
15
|
+
/* @__PURE__ */ e(s, { "data-qa": "continue-editing-banner-button", className: "lg:w-auto", onClick: a, children: l })
|
|
16
16
|
] }) });
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
c as ContinueEditingBanner
|
|
19
19
|
};
|
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l
|
|
2
|
-
import {
|
|
3
|
-
import { HistoryIcon as
|
|
4
|
-
import { DocOutlineIcon as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* @__PURE__ */ e("span", { children: s })
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { SecurityIcon as c } from "./SecurityIcon.js";
|
|
3
|
+
import { HistoryIcon as n } from "./HistoryIcon.js";
|
|
4
|
+
import { DocOutlineIcon as s } from "./DocOutlineIcon.js";
|
|
5
|
+
const x = ({ lastUpdate: i, reviewer: t, alsoKnownAs: r }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 pt-4 pb-6 text-neutral-800 lg:px-8 xl:px-30", children: /* @__PURE__ */ e("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: /* @__PURE__ */ l("div", { className: "text-small flex flex-col gap-4 text-neutral-600 sm:gap-2", children: [
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-4 sm:gap-2", children: [
|
|
7
|
+
!!t && /* @__PURE__ */ l("div", { className: "text-primary-800 bg-primary-100 flex items-center gap-1 rounded border border-neutral-200 p-2", children: [
|
|
8
|
+
/* @__PURE__ */ e(c, { width: 16, height: 16, fill: "var(--primary-800)" }),
|
|
9
|
+
t
|
|
11
10
|
] }),
|
|
12
|
-
|
|
13
|
-
/* @__PURE__ */ e(
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
|
|
16
|
-
c
|
|
17
|
-
] })
|
|
11
|
+
/* @__PURE__ */ l("div", { className: "flex items-center gap-1 pl-2 text-neutral-600", children: [
|
|
12
|
+
/* @__PURE__ */ e(n, { width: 16, height: 16, fill: "var(--neutral-600)" }),
|
|
13
|
+
/* @__PURE__ */ e("span", { children: i })
|
|
18
14
|
] })
|
|
19
15
|
] }),
|
|
20
|
-
r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
21
|
-
/* @__PURE__ */ l(
|
|
22
|
-
/* @__PURE__ */ e(
|
|
16
|
+
r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2 pl-2", children: [
|
|
17
|
+
/* @__PURE__ */ l("div", { className: "flex items-center gap-1 text-neutral-600", children: [
|
|
18
|
+
/* @__PURE__ */ e(s, { width: 16, height: 16, fill: "var(--secondary-600)" }),
|
|
23
19
|
r.label
|
|
24
20
|
] }),
|
|
25
|
-
r.docs.map((
|
|
21
|
+
r.docs.map((a) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: a }, a))
|
|
26
22
|
] })
|
|
27
23
|
] }) }) });
|
|
28
24
|
export {
|
|
29
|
-
|
|
25
|
+
x as ProductInfo
|
|
30
26
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const r = (l) => /* @__PURE__ */ i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l, children: /* @__PURE__ */ i(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
fill: l.fill ?? "var(--color-primary-800)",
|
|
7
|
+
fillRule: "evenodd",
|
|
8
|
+
clipRule: "evenodd",
|
|
9
|
+
d: "M11.5939 1.18052C11.8524 1.0656 12.1476 1.0656 12.4061 1.18052L20.4061 4.73607C20.7673 4.89657 21 5.2547 21 5.64989V11C21 16.4648 17.277 21.5805 12.2367 22.9392C12.0818 22.981 11.9182 22.981 11.7633 22.9392C6.72298 21.5805 3 16.4648 3 11V5.64989C3 5.2547 3.23273 4.89657 3.59386 4.73607L11.5939 1.18052ZM19 11.99H12V3.19001L5 6.30001V12H12V20.93C15.72 19.78 18.47 16.11 19 11.99Z"
|
|
10
|
+
}
|
|
11
|
+
) });
|
|
12
|
+
export {
|
|
13
|
+
r as SecurityIcon
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.168.
|
|
3
|
+
"version": "0.168.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -58,10 +58,6 @@
|
|
|
58
58
|
"import": "./dist/components/NavMenuItem.js",
|
|
59
59
|
"types": "./dist/components/NavMenuItem.d.ts"
|
|
60
60
|
},
|
|
61
|
-
"./components/Note": {
|
|
62
|
-
"import": "./dist/components/Note.js",
|
|
63
|
-
"types": "./dist/components/Note.d.ts"
|
|
64
|
-
},
|
|
65
61
|
"./components/PhoneButton": {
|
|
66
62
|
"import": "./dist/components/PhoneButton.js",
|
|
67
63
|
"types": "./dist/components/PhoneButton.d.ts"
|
|
@@ -242,6 +238,10 @@
|
|
|
242
238
|
"import": "./dist/components/SearchIcon.js",
|
|
243
239
|
"types": "./dist/components/SearchIcon.d.ts"
|
|
244
240
|
},
|
|
241
|
+
"./components/SecurityIcon": {
|
|
242
|
+
"import": "./dist/components/SecurityIcon.js",
|
|
243
|
+
"types": "./dist/components/SecurityIcon.d.ts"
|
|
244
|
+
},
|
|
245
245
|
"./components/SinglePhoneIcon": {
|
|
246
246
|
"import": "./dist/components/SinglePhoneIcon.js",
|
|
247
247
|
"types": "./dist/components/SinglePhoneIcon.d.ts"
|
package/dist/components/Note.js
DELETED