@npm_leadtech/legal-contracts-ui 0.69.6 → 0.70.1
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/AllDocumentsTemplate.d.ts +4 -4
- package/dist/components/Breadcrumb.d.ts +5 -4
- package/dist/components/Breadcrumb.js +11 -11
- package/dist/components/CategoryProductTemplate.d.ts +4 -4
- package/dist/components/ProductTemplate.d.ts +4 -4
- package/dist/components/index.d.ts +1018 -0
- package/dist/globals.css +1 -1
- package/package.json +1 -1
|
@@ -25,10 +25,10 @@ export interface BaseSubtypeDocumentProps {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface BreadcrumbProps {
|
|
28
|
-
breadcrumbs
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
28
|
+
breadcrumbs: {
|
|
29
|
+
id: string;
|
|
30
|
+
link: ReactNode;
|
|
31
|
+
}[];
|
|
32
32
|
className?: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
4
5
|
|
|
5
6
|
export declare interface BreadcrumbProps {
|
|
6
|
-
breadcrumbs
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
breadcrumbs: {
|
|
8
|
+
id: string;
|
|
9
|
+
link: ReactNode;
|
|
10
|
+
}[];
|
|
10
11
|
className?: string;
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { Fragment as
|
|
3
|
-
import { ChevronRightIcon as
|
|
4
|
-
const
|
|
5
|
-
a
|
|
6
|
-
|
|
7
|
-
/* @__PURE__ */ e(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment as o } from "react";
|
|
3
|
+
import { ChevronRightIcon as s } from "./ChevronRightIcon.js";
|
|
4
|
+
const h = ({ breadcrumbs: r, className: l = "" }) => /* @__PURE__ */ e("div", { className: `w-full ${l}`, children: /* @__PURE__ */ e("nav", { "aria-label": "Breadcrumb", className: "text-extra-small text-primary-700 flex items-center font-bold", children: r.map((n, a) => {
|
|
5
|
+
const t = a === r.length - 1;
|
|
6
|
+
return /* @__PURE__ */ i(o, { children: [
|
|
7
|
+
/* @__PURE__ */ e("span", { className: t ? "hover:no-underline" : "hover:underline", children: n.link }),
|
|
8
|
+
!t && /* @__PURE__ */ e(s, {})
|
|
9
|
+
] }, n.id);
|
|
10
|
+
}) }) });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
h as Breadcrumb
|
|
13
13
|
};
|