@npm_leadtech/legal-contracts-ui 0.24.10 → 0.25.0

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.
@@ -6,6 +6,9 @@ export declare const ProductInfo: FC<ProductInfoProps>;
6
6
  export declare interface ProductInfoProps {
7
7
  lastUpdate: string;
8
8
  reviewer?: ReactNode;
9
- alsoKnownAs: string[];
9
+ alsoKnownAs: {
10
+ label: string;
11
+ docs: string[];
12
+ };
10
13
  }
11
14
 
@@ -1,28 +1,29 @@
1
- import { jsx as e, jsxs as l, Fragment as c } from "react/jsx-runtime";
2
- import { Note as r } from "./Note.js";
1
+ import { jsx as e, jsxs as l, Fragment as s } from "react/jsx-runtime";
2
+ import { Note as a } from "./Note.js";
3
3
  import { HistoryIcon as i } from "./HistoryIcon.js";
4
- import { DoneCircleIcon as o } from "./DoneCircleIcon.js";
5
- import { DocOutlineIcon as m } from "./DocOutlineIcon.js";
6
- const u = ({ lastUpdate: s, reviewer: a, alsoKnownAs: n }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 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-2 text-neutral-600", children: [
4
+ import { DoneCircleIcon as m } from "./DoneCircleIcon.js";
5
+ import { DocOutlineIcon as o } from "./DocOutlineIcon.js";
6
+ const u = ({ lastUpdate: n, reviewer: t, alsoKnownAs: r }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 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-2 text-neutral-600", children: [
7
7
  /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2 sm:gap-4", children: [
8
- /* @__PURE__ */ l(r, { children: [
8
+ /* @__PURE__ */ l(a, { children: [
9
9
  /* @__PURE__ */ e(i, { className: "size-4.5", fill: "var(--neutral-600)" }),
10
- /* @__PURE__ */ e("span", { children: s })
10
+ /* @__PURE__ */ e("span", { children: n })
11
11
  ] }),
12
- !!a && /* @__PURE__ */ l(c, { children: [
12
+ !!t && /* @__PURE__ */ l(s, { children: [
13
13
  /* @__PURE__ */ e("span", { className: "hidden h-5 w-px bg-neutral-600 sm:block", "aria-hidden": !0 }),
14
- /* @__PURE__ */ l(r, { children: [
15
- /* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
16
- a
14
+ /* @__PURE__ */ l(a, { children: [
15
+ /* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--neutral-600)" }),
16
+ t
17
17
  ] })
18
18
  ] })
19
19
  ] }),
20
- n.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
21
- /* @__PURE__ */ l(r, { children: [
22
- /* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--neutral-600)" }),
23
- " Also Known As:"
20
+ r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
21
+ /* @__PURE__ */ l(a, { children: [
22
+ /* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
23
+ " ",
24
+ r.label
24
25
  ] }),
25
- n.map((t) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: t }, t))
26
+ r.docs.map((c) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: c }, c))
26
27
  ] })
27
28
  ] }) }) });
28
29
  export {
@@ -86,7 +86,10 @@ export interface PreviewSectionProps {
86
86
  export interface ProductInfoProps {
87
87
  lastUpdate: string;
88
88
  reviewer?: ReactNode;
89
- alsoKnownAs: string[];
89
+ alsoKnownAs: {
90
+ label: string;
91
+ docs: string[];
92
+ };
90
93
  }
91
94
 
92
95
  export declare const ProductTemplate: FC<ProductTemplateProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.24.10",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",