@npm_leadtech/legal-contracts-ui 0.151.0 → 0.152.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.
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export declare const AboutUsTemplate: FC<AboutUsTemplateProps>;
@@ -38,7 +37,7 @@ export interface ContactUsSectionProps {
38
37
  export interface CtaSectionProps {
39
38
  title: string;
40
39
  paragraph?: ReactNode;
41
- cta: LinkWrapper;
40
+ cta: LinkWrapperProps;
42
41
  children?: ReactNode;
43
42
  className?: string;
44
43
  contentClassName?: string;
@@ -65,7 +64,7 @@ export interface GuidelinesSectionProps {
65
64
  title: string;
66
65
  image: ReactNode;
67
66
  content: string;
68
- cta: LinkWrapper;
67
+ cta: LinkWrapperProps;
69
68
  };
70
69
  }
71
70
 
@@ -74,7 +73,7 @@ export type IconPosition = 'left' | 'right' | 'top';
74
73
  export interface IntroSectionProps {
75
74
  image: ReactNode;
76
75
  children: ReactNode;
77
- cta?: LinkWrapper;
76
+ cta?: LinkWrapperProps;
78
77
  className?: string;
79
78
  containerClassName?: string;
80
79
  firstColumnClassName?: string;
@@ -89,7 +88,7 @@ export interface Jumbotron2Props {
89
88
  variant?: 'default' | 'contact';
90
89
  }
91
90
 
92
- export interface LinkWrapper {
91
+ export interface LinkWrapperProps {
93
92
  children: ReactNode;
94
93
  size?: ButtonSize;
95
94
  variant?: ResponsiveButtonVariant;
@@ -98,8 +97,6 @@ export interface LinkWrapper {
98
97
  className?: string;
99
98
  }
100
99
 
101
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
102
-
103
100
  export interface MissionSectionProps {
104
101
  title: string;
105
102
  body: string;
@@ -157,7 +154,7 @@ export interface ValuesSectionProps {
157
154
  export interface WeHelpSectionProps {
158
155
  title: string;
159
156
  image: ReactNode;
160
- cta: LinkWrapper;
157
+ cta: LinkWrapperProps;
161
158
  body: string;
162
159
  }
163
160
 
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export type ButtonSize = 'small' | 'default' | 'large';
@@ -27,7 +26,7 @@ export declare const CtaSection: FC<CtaSectionProps>;
27
26
  export declare interface CtaSectionProps {
28
27
  title: string;
29
28
  paragraph?: ReactNode;
30
- cta: LinkWrapper;
29
+ cta: LinkWrapperProps;
31
30
  children?: ReactNode;
32
31
  className?: string;
33
32
  contentClassName?: string;
@@ -38,7 +37,7 @@ export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
38
37
 
39
38
  export type IconPosition = 'left' | 'right' | 'top';
40
39
 
41
- export interface LinkWrapper {
40
+ export interface LinkWrapperProps {
42
41
  children: ReactNode;
43
42
  size?: ButtonSize;
44
43
  variant?: ResponsiveButtonVariant;
@@ -47,8 +46,6 @@ export interface LinkWrapper {
47
46
  className?: string;
48
47
  }
49
48
 
50
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
51
-
52
49
  export type ResponsiveButtonVariant = ButtonVariant | {
53
50
  initial?: ButtonVariant;
54
51
  sm?: ButtonVariant;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export type ButtonSize = 'small' | 'default' | 'large';
@@ -19,13 +18,13 @@ export declare interface GuidelinesSectionProps {
19
18
  title: string;
20
19
  image: ReactNode;
21
20
  content: string;
22
- cta: LinkWrapper;
21
+ cta: LinkWrapperProps;
23
22
  };
24
23
  }
25
24
 
26
25
  export type IconPosition = 'left' | 'right' | 'top';
27
26
 
28
- export interface LinkWrapper {
27
+ export interface LinkWrapperProps {
29
28
  children: ReactNode;
30
29
  size?: ButtonSize;
31
30
  variant?: ResponsiveButtonVariant;
@@ -34,8 +33,6 @@ export interface LinkWrapper {
34
33
  className?: string;
35
34
  }
36
35
 
37
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
38
-
39
36
  export type ResponsiveButtonVariant = ButtonVariant | {
40
37
  initial?: ButtonVariant;
41
38
  sm?: ButtonVariant;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export type ButtonSize = 'small' | 'default' | 'large';
@@ -13,14 +12,14 @@ export declare const IntroSection: FC<IntroSectionProps>;
13
12
  export declare interface IntroSectionProps {
14
13
  image: ReactNode;
15
14
  children: ReactNode;
16
- cta?: LinkWrapper;
15
+ cta?: LinkWrapperProps;
17
16
  className?: string;
18
17
  containerClassName?: string;
19
18
  firstColumnClassName?: string;
20
19
  secondColumnClassName?: string;
21
20
  }
22
21
 
23
- export interface LinkWrapper {
22
+ export interface LinkWrapperProps {
24
23
  children: ReactNode;
25
24
  size?: ButtonSize;
26
25
  variant?: ResponsiveButtonVariant;
@@ -29,8 +28,6 @@ export interface LinkWrapper {
29
28
  className?: string;
30
29
  }
31
30
 
32
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
33
-
34
31
  export type ResponsiveButtonVariant = ButtonVariant | {
35
32
  initial?: ButtonVariant;
36
33
  sm?: ButtonVariant;
@@ -7,7 +7,9 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
7
7
 
8
8
  export type IconPosition = 'left' | 'right' | 'top';
9
9
 
10
- export declare interface LinkWrapper {
10
+ export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapperProps) => JSX.Element;
11
+
12
+ export declare interface LinkWrapperProps {
11
13
  children: ReactNode;
12
14
  size?: ButtonSize;
13
15
  variant?: ResponsiveButtonVariant;
@@ -16,8 +18,6 @@ export declare interface LinkWrapper {
16
18
  className?: string;
17
19
  }
18
20
 
19
- export declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
20
-
21
21
  export type ResponsiveButtonVariant = ButtonVariant | {
22
22
  initial?: ButtonVariant;
23
23
  sm?: ButtonVariant;
@@ -1,7 +1,14 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
2
  import { getButtonClasses as l } from "./Button.utils.js";
3
3
  import { clsx as m } from "clsx";
4
- const b = ({ size: e, variant: s, iconPosition: o, disabled: r = !1, className: t, children: a }) => {
4
+ const b = ({
5
+ size: e,
6
+ variant: s,
7
+ iconPosition: o,
8
+ disabled: r = !1,
9
+ className: t,
10
+ children: a
11
+ }) => {
5
12
  const n = l(e, s, o, r, t);
6
13
  return /* @__PURE__ */ f("span", { className: m(n, 'relative [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'), children: a });
7
14
  };
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export type ButtonSize = 'small' | 'default' | 'large';
@@ -34,7 +33,7 @@ export type IconPosition = 'left' | 'right' | 'top';
34
33
  export interface IntroSectionProps {
35
34
  image: ReactNode;
36
35
  children: ReactNode;
37
- cta?: LinkWrapper;
36
+ cta?: LinkWrapperProps;
38
37
  className?: string;
39
38
  containerClassName?: string;
40
39
  firstColumnClassName?: string;
@@ -49,7 +48,7 @@ export interface Jumbotron2Props {
49
48
  variant?: 'default' | 'contact';
50
49
  }
51
50
 
52
- export interface LinkWrapper {
51
+ export interface LinkWrapperProps {
53
52
  children: ReactNode;
54
53
  size?: ButtonSize;
55
54
  variant?: ResponsiveButtonVariant;
@@ -58,16 +57,6 @@ export interface LinkWrapper {
58
57
  className?: string;
59
58
  }
60
59
 
61
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
62
-
63
- export interface PricingHeroSectionProps {
64
- eyebrow: string;
65
- title: string;
66
- titleClassName?: string;
67
- image: ReactNode;
68
- paragraphs: ReactNode[];
69
- }
70
-
71
60
  export interface PricingOfferingItem {
72
61
  id: string;
73
62
  icon: ReactNode;
@@ -129,7 +118,6 @@ export declare const PricingTemplate: FC<PricingTemplateProps>;
129
118
  export declare interface PricingTemplateProps {
130
119
  jumbotron: Jumbotron2Props;
131
120
  intro: IntroSectionProps;
132
- hero: PricingHeroSectionProps;
133
121
  plans: PricingPlansSectionProps;
134
122
  resources: PricingResourcesSectionProps;
135
123
  support: PricingSupportTeaserSectionProps;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
2
  import { ReactNode } from 'react';
4
3
 
5
4
  export type ButtonSize = 'small' | 'default' | 'large';
@@ -8,7 +7,7 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
8
7
 
9
8
  export type IconPosition = 'left' | 'right' | 'top';
10
9
 
11
- export interface LinkWrapper {
10
+ export interface LinkWrapperProps {
12
11
  children: ReactNode;
13
12
  size?: ButtonSize;
14
13
  variant?: ResponsiveButtonVariant;
@@ -17,8 +16,6 @@ export interface LinkWrapper {
17
16
  className?: string;
18
17
  }
19
18
 
20
- declare const LinkWrapper: ({ size, variant, iconPosition, disabled, className, children }: LinkWrapper) => JSX.Element;
21
-
22
19
  export type ResponsiveButtonVariant = ButtonVariant | {
23
20
  initial?: ButtonVariant;
24
21
  sm?: ButtonVariant;
@@ -32,7 +29,7 @@ export declare const WeHelpSection: FC<WeHelpSectionProps>;
32
29
  export declare interface WeHelpSectionProps {
33
30
  title: string;
34
31
  image: ReactNode;
35
- cta: LinkWrapper;
32
+ cta: LinkWrapperProps;
36
33
  body: string;
37
34
  }
38
35