@npm_leadtech/legal-contracts-ui 0.35.6 → 0.35.7

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.
@@ -4,15 +4,14 @@ export declare const ContentItem: FC<ContentItemProps>;
4
4
 
5
5
  export declare interface ContentItemProps {
6
6
  slug: string;
7
- categorySlug: string;
8
- items: ItemProps[];
7
+ categorySlug?: string | null;
8
+ items: SingleContentItemProps[];
9
9
  }
10
10
 
11
- export interface ItemProps {
11
+ export declare interface SingleContentItemProps {
12
12
  id: string;
13
13
  title: string | null;
14
14
  content: string | null;
15
- showLinkedItems: boolean;
16
15
  subTypesList: SubTypeProps[];
17
16
  }
18
17
 
@@ -30,8 +30,8 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
30
30
 
31
31
  export interface ContentItemProps {
32
32
  slug: string;
33
- categorySlug: string;
34
- items: ItemProps[];
33
+ categorySlug?: string | null;
34
+ items: SingleContentItemProps[];
35
35
  }
36
36
 
37
37
  export interface FaqItemProps {
@@ -48,14 +48,6 @@ export interface FaqSectionProps {
48
48
 
49
49
  export type IconPosition = 'left' | 'right' | 'top';
50
50
 
51
- export interface ItemProps {
52
- id: string;
53
- title: string | null;
54
- content: string | null;
55
- showLinkedItems: boolean;
56
- subTypesList: SubTypeProps[];
57
- }
58
-
59
51
  export interface JumbotronProps {
60
52
  title: string;
61
53
  description: string;
@@ -115,6 +107,13 @@ export declare interface ProductTemplateProps {
115
107
  tryNowSection: TryNowSectionProps;
116
108
  }
117
109
 
110
+ export interface SingleContentItemProps {
111
+ id: string;
112
+ title: string | null;
113
+ content: string | null;
114
+ subTypesList: SubTypeProps[];
115
+ }
116
+
118
117
  export type SubTypeProps = {
119
118
  label: string | null;
120
119
  slug: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.35.6",
3
+ "version": "0.35.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",