@npm_leadtech/legal-contracts-ui 0.53.7 → 0.54.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.
- package/dist/components/FaqSection.js +5 -5
- package/dist/components/Footer.js +1 -1
- package/dist/components/index.d.ts +856 -0
- package/dist/globals.css +1 -1
- package/dist/node_modules/.pnpm/hast-util-raw@9.1.0/node_modules/hast-util-raw/lib/index.js +1 -1
- package/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/index.js +1 -1
- package/package.json +1 -1
- /package/dist/node_modules/.pnpm/{unist-util-visit@5.0.0 → unist-util-visit@5.1.0}/node_modules/unist-util-visit/lib/index.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Markdown as
|
|
4
|
-
import { FaqItem as
|
|
3
|
+
import { Markdown as m } from "./Markdown.js";
|
|
4
|
+
import { FaqItem as n } from "./FaqItem.js";
|
|
5
5
|
const p = ({ title: l, description: o, faqItems: r, className: s = "" }) => {
|
|
6
6
|
if (r.length === 0) return null;
|
|
7
7
|
const c = l.toLowerCase().replace(/\s+/g, "-");
|
|
8
|
-
return /* @__PURE__ */ a("div", { id: c, className: `flex flex-col gap-2 text-neutral-800 ${s} p-0.5`, children: [
|
|
8
|
+
return /* @__PURE__ */ a("div", { id: c, className: `flex flex-col gap-2 text-neutral-800 ${s} scroll-mt-12 p-0.5`, children: [
|
|
9
9
|
/* @__PURE__ */ a("div", { className: "mb-4 flex flex-col", children: [
|
|
10
10
|
/* @__PURE__ */ e("h3", { className: "text-super-large font-bold", children: l }),
|
|
11
|
-
o !== "" && /* @__PURE__ */ e(
|
|
11
|
+
o !== "" && /* @__PURE__ */ e(m, { content: o, className: "text-medium mt-6" })
|
|
12
12
|
] }),
|
|
13
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: r.map((t) => /* @__PURE__ */ e(n, { ...t }, t.question)) })
|
|
14
14
|
] });
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
@@ -16,7 +16,7 @@ const N = ({
|
|
|
16
16
|
x.map((a) => /* @__PURE__ */ e(o, { ...a }, a.title)),
|
|
17
17
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
|
|
18
18
|
/* @__PURE__ */ l("div", { className: "", children: [
|
|
19
|
-
/* @__PURE__ */ e("div", { className: "mb-
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "mb-4 xl:hidden", children: !!r && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: r }) }),
|
|
20
20
|
/* @__PURE__ */ l("div", { children: [
|
|
21
21
|
/* @__PURE__ */ e("p", { className: "text-small font-bold text-white", children: t.phoneNumber }),
|
|
22
22
|
/* @__PURE__ */ l("p", { className: "text-neutral-25 text-center text-[16px] md:text-left md:text-[12px]", children: [
|