@npm_leadtech/legal-contracts-ui 0.98.0 → 0.99.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.
|
@@ -42,8 +42,12 @@ export interface ContactUsSectionProps {
|
|
|
42
42
|
|
|
43
43
|
export interface CtaSectionProps {
|
|
44
44
|
title: string;
|
|
45
|
+
paragraph?: ReactNode;
|
|
45
46
|
cta: ButtonProps;
|
|
46
|
-
children
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
className?: string;
|
|
49
|
+
contentClassName?: string;
|
|
50
|
+
childrenClassName?: string;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
export interface ExpertsSectionProps {
|
|
@@ -13,14 +13,36 @@ export type ButtonSize = 'small' | 'default' | 'large';
|
|
|
13
13
|
|
|
14
14
|
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
15
|
|
|
16
|
+
export declare const CtaFeatureTag: FC<CtaFeatureTagProps>;
|
|
17
|
+
|
|
18
|
+
export declare interface CtaFeatureTagProps {
|
|
19
|
+
icon: string;
|
|
20
|
+
text: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare const CtaSample: FC<CtaSampleProps>;
|
|
25
|
+
|
|
26
|
+
export declare interface CtaSampleProps {
|
|
27
|
+
image: ReactNode;
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
16
32
|
export declare const CtaSection: FC<CtaSectionProps>;
|
|
17
33
|
|
|
18
34
|
export declare interface CtaSectionProps {
|
|
19
35
|
title: string;
|
|
36
|
+
paragraph?: ReactNode;
|
|
20
37
|
cta: ButtonProps;
|
|
21
|
-
children
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
contentClassName?: string;
|
|
41
|
+
childrenClassName?: string;
|
|
22
42
|
}
|
|
23
43
|
|
|
44
|
+
export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
45
|
+
|
|
24
46
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
25
47
|
|
|
26
48
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
@@ -1,12 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Button as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Button as c } from "./Button.js";
|
|
3
|
+
const p = ({
|
|
4
|
+
title: a,
|
|
5
|
+
paragraph: l,
|
|
6
|
+
cta: t,
|
|
7
|
+
children: s,
|
|
8
|
+
className: m = "",
|
|
9
|
+
contentClassName: i = "",
|
|
10
|
+
childrenClassName: d = "hidden lg:flex"
|
|
11
|
+
}) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${m}`, children: /* @__PURE__ */ r(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: `bg-primary-50 mx-auto flex w-full max-w-6xl flex-col items-center rounded-[1.25rem] px-8 pt-8 pb-0 md:px-16 md:pt-12 md:pb-0 lg:flex-row lg:items-stretch lg:gap-20 xl:pr-20 xl:pl-16 ${i}`,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ r("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
|
|
17
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col items-start gap-4", children: [
|
|
18
|
+
/* @__PURE__ */ e("h2", { className: "text-primary-900 text-[28px] leading-[32px] font-bold tracking-tight", children: a }),
|
|
19
|
+
!!l && /* @__PURE__ */ e("div", { className: "text-super-medium text-neutral-500", children: l })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "px-4 py-2.5", ...t })
|
|
22
|
+
] }),
|
|
23
|
+
!!s && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: s })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
) }), o = ({ image: a, children: l, className: t = "" }) => /* @__PURE__ */ r("div", { className: `relative flex items-end ${t}`, children: [
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "[&_img]:rounded-t-[0.75rem] [&_img]:shadow-[0px_-2px_6px_0px_rgba(2,55,74,0.15)] md:[&_img]:max-w-[25rem] lg:[&_img]:max-h-[30rem]", children: a }),
|
|
28
|
+
l
|
|
29
|
+
] }), g = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${t}`,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-4 w-4" }),
|
|
35
|
+
/* @__PURE__ */ e("span", { className: "text-primary-900 text-small font-bold", children: l })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
), u = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${t}`,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-5 w-5" }),
|
|
44
|
+
/* @__PURE__ */ e("span", { className: "text-small text-neutral-500", children: l })
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
);
|
|
10
48
|
export {
|
|
11
|
-
|
|
49
|
+
u as CtaFeatureTag,
|
|
50
|
+
o as CtaSample,
|
|
51
|
+
p as CtaSection,
|
|
52
|
+
g as CtaSummarizedTag
|
|
12
53
|
};
|