@npm_leadtech/legal-contracts-ui 0.69.0 → 0.69.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.
@@ -99,8 +99,9 @@ export interface ImageWithPreviewProps {
99
99
  export interface JumboCardProps {
100
100
  title: string;
101
101
  description: string;
102
- subtitle: string;
102
+ subtitle?: string;
103
103
  bgImage: ReactNode | null;
104
+ lastUpdate?: string;
104
105
  }
105
106
 
106
107
  export interface LinkedProductProps {
@@ -1,27 +1,27 @@
1
- import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { JumboCard as p } from "./JumboCard.js";
3
- import { Breadcrumb as c } from "./Breadcrumb.js";
4
- import { DocumentCategories as n } from "./DocumentCategories.js";
5
- import { DocumentSection as x } from "./DocumentSection.js";
6
- import { ContentItem as d } from "./ContentItem.js";
7
- import { FaqSection as f } from "./FaqSection.js";
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { JumboCard as c } from "./JumboCard.js";
3
+ import { Breadcrumb as i } from "./Breadcrumb.js";
4
+ import { DocumentCategories as x } from "./DocumentCategories.js";
5
+ import { DocumentSection as n } from "./DocumentSection.js";
6
+ import { ContentItem as f } from "./ContentItem.js";
7
+ import { FaqSection as d } from "./FaqSection.js";
8
8
  const w = ({
9
- jumbo: l,
10
- breadcrumb: r,
11
- categories: t,
9
+ jumbo: m,
10
+ breadcrumb: t,
11
+ categories: r,
12
12
  documentSections: o,
13
- contentItems: s,
14
- faqSection: i
15
- }) => /* @__PURE__ */ m("main", { className: "mx-auto flex-1 px-6 py-8 lg:px-8 xl:max-w-300 xl:px-0", children: [
16
- /* @__PURE__ */ e(p, { ...l }),
17
- /* @__PURE__ */ e(c, { ...r, className: "pb-4" }),
18
- /* @__PURE__ */ m("div", { className: "mx-auto flex justify-center gap-4 text-neutral-800 lg:gap-26.5 xl:gap-31.5", children: [
19
- /* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(n, { ...t }) }),
20
- /* @__PURE__ */ m("div", { className: "flex flex-col gap-10", children: [
21
- o.map((a) => /* @__PURE__ */ e(x, { ...a }, a.id)),
13
+ contentItems: p,
14
+ faqSection: s
15
+ }) => /* @__PURE__ */ a("main", { className: "mx-auto flex flex-1 flex-col gap-4 px-6 pt-8 pb-8 lg:px-8 lg:pb-16 xl:max-w-300 xl:px-0", children: [
16
+ /* @__PURE__ */ e(c, { ...m }),
17
+ /* @__PURE__ */ e(i, { ...t, className: "pt-2" }),
18
+ /* @__PURE__ */ a("div", { className: "mx-auto flex justify-center gap-4 text-neutral-800 lg:gap-26.5 xl:gap-31.5", children: [
19
+ /* @__PURE__ */ e("aside", { className: "sticky top-24 hidden self-start md:block", children: /* @__PURE__ */ e(x, { ...r }) }),
20
+ /* @__PURE__ */ a("div", { className: "flex flex-col gap-10", children: [
21
+ o.map((l) => /* @__PURE__ */ e(n, { ...l }, l.id)),
22
22
  /* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
23
- /* @__PURE__ */ e("div", { className: "w-full", children: s.map((a) => /* @__PURE__ */ e(d, { ...a }, a.id)) }),
24
- /* @__PURE__ */ e(f, { ...i })
23
+ /* @__PURE__ */ e("div", { className: "w-full", children: p.map((l) => /* @__PURE__ */ e(f, { ...l }, l.id)) }),
24
+ /* @__PURE__ */ e(d, { ...s })
25
25
  ] })
26
26
  ] })
27
27
  ] });
@@ -111,8 +111,9 @@ export interface ImageWithPreviewProps {
111
111
  export interface JumboCardProps {
112
112
  title: string;
113
113
  description: string;
114
- subtitle: string;
114
+ subtitle?: string;
115
115
  bgImage: ReactNode | null;
116
+ lastUpdate?: string;
116
117
  }
117
118
 
118
119
  export interface LinkedProductProps {
@@ -1,12 +1,12 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import "react";
3
- const i = (e) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...e, children: /* @__PURE__ */ l(
3
+ const i = ({ fill: e = "var(--neutral-600)", ...o }) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...o, children: /* @__PURE__ */ l(
4
4
  "path",
5
5
  {
6
6
  fillRule: "evenodd",
7
7
  clipRule: "evenodd",
8
8
  d: "M3.219 9.003a6.757 6.757 0 016.945-6.75c3.517.097 6.457 3.037 6.555 6.555a6.757 6.757 0 01-6.75 6.945c-1.568 0-3-.533-4.14-1.433-.353-.27-.375-.802-.06-1.117.27-.27.69-.293.99-.06a5.171 5.171 0 003.21 1.11 5.253 5.253 0 005.25-5.325c-.038-2.79-2.385-5.138-5.175-5.175a5.248 5.248 0 00-5.325 5.25H6.06c.338 0 .503.405.27.637l-2.092 2.1a.371.371 0 01-.533 0l-2.092-2.1a.371.371 0 01.262-.637H3.22zm6-2.438c0-.307.255-.562.562-.562.308 0 .563.255.563.555v2.55l2.16 1.282a.568.568 0 01.195.773.568.568 0 01-.773.195L9.586 9.97a.759.759 0 01-.367-.645v-2.76z",
9
- fill: "var(--neutral-600)"
9
+ fill: e
10
10
  }
11
11
  ) });
12
12
  export {
@@ -6,7 +6,8 @@ export declare const JumboCard: FC<JumboCardProps>;
6
6
  export declare interface JumboCardProps {
7
7
  title: string;
8
8
  description: string;
9
- subtitle: string;
9
+ subtitle?: string;
10
10
  bgImage: ReactNode | null;
11
+ lastUpdate?: string;
11
12
  }
12
13
 
@@ -1,12 +1,18 @@
1
- import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- const i = ({ title: a, subtitle: t, description: l, bgImage: s }) => /* @__PURE__ */ e("section", { className: "pb-6", children: /* @__PURE__ */ r("div", { className: "bg-primary-900 relative overflow-hidden rounded px-6 py-10 text-white shadow-lg md:px-12", children: [
3
- /* @__PURE__ */ r("div", { className: "max-w-2xl space-y-4", children: [
4
- /* @__PURE__ */ e("p", { className: "text-extra-small text-primary-200 font-bold uppercase", children: t }),
5
- /* @__PURE__ */ e("h1", { className: "font-lora text-hero text-neutral-25", children: a }),
6
- /* @__PURE__ */ e("p", { className: "text-medium text-primary-100", children: l })
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { Markdown as o } from "./Markdown.js";
3
+ import { HistoryIcon as m } from "./HistoryIcon.js";
4
+ const h = ({ title: i, subtitle: t, description: s, lastUpdate: a, bgImage: r }) => /* @__PURE__ */ l("section", { className: "bg-primary-900 relative rounded p-6 shadow-lg md:px-12 md:py-10", children: [
5
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 lg:max-w-135", children: [
6
+ t && /* @__PURE__ */ e("p", { className: "text-extra-small text-primary-200 font-bold uppercase", children: t }),
7
+ /* @__PURE__ */ e("h1", { className: "font-lora text-hero text-white", children: i }),
8
+ /* @__PURE__ */ e(o, { className: "text-medium text-neutral-400 [&_p:last-child]:mb-0", content: s }),
9
+ a && /* @__PURE__ */ l("div", { className: "hidden items-center gap-1 md:flex", children: [
10
+ /* @__PURE__ */ e(m, { width: 18, height: 18, fill: "white" }),
11
+ /* @__PURE__ */ e("span", { className: "text-small", children: a })
12
+ ] })
7
13
  ] }),
8
- s
9
- ] }) });
14
+ !!r && /* @__PURE__ */ e("div", { className: "absolute top-0 right-0 hidden lg:block", children: r })
15
+ ] });
10
16
  export {
11
- i as JumboCard
17
+ h as JumboCard
12
18
  };