@dotcms/react 0.0.1-alpha.6 → 0.0.1-alpha.8
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/react",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"react": "
|
|
6
|
-
"react-dom": "
|
|
7
|
-
"@dotcms/client": "0.0.1-alpha.
|
|
5
|
+
"react": ">=18",
|
|
6
|
+
"react-dom": ">=18",
|
|
7
|
+
"@dotcms/client": "0.0.1-alpha.8"
|
|
8
8
|
},
|
|
9
9
|
"description": "Official React Components library to render a dotCMS page.",
|
|
10
10
|
"repository": {
|
|
@@ -9,6 +9,7 @@ export interface ContainerData {
|
|
|
9
9
|
path: string;
|
|
10
10
|
identifier: string;
|
|
11
11
|
maxContentlets: number;
|
|
12
|
+
parentPermissionable: Record<string, string>;
|
|
12
13
|
};
|
|
13
14
|
containerStructures: {
|
|
14
15
|
contentTypeVar: string;
|
|
@@ -19,6 +20,7 @@ export interface ContainerData {
|
|
|
19
20
|
identifier: string;
|
|
20
21
|
title: string;
|
|
21
22
|
inode: string;
|
|
23
|
+
onNumberOfPages: number;
|
|
22
24
|
widgetTitle?: string;
|
|
23
25
|
}[];
|
|
24
26
|
};
|
package/src/lib/utils/utils.d.ts
CHANGED
|
@@ -25,11 +25,6 @@ export declare function getPageElementBound(rowsNodes: HTMLDivElement[] | null):
|
|
|
25
25
|
}[];
|
|
26
26
|
}[];
|
|
27
27
|
}[];
|
|
28
|
-
export declare const getPageContainers: (containers: ContainerData) => {
|
|
29
|
-
identifier: string;
|
|
30
|
-
uuid: string;
|
|
31
|
-
contentletsId: string[];
|
|
32
|
-
}[];
|
|
33
28
|
export declare const getContainersData: (containers: ContainerData, containerRef: PageProviderContext['layout']['body']['rows'][0]['columns'][0]['containers'][0]) => {
|
|
34
29
|
acceptTypes: string;
|
|
35
30
|
contentlets: {
|
|
@@ -37,16 +32,14 @@ export declare const getContainersData: (containers: ContainerData, containerRef
|
|
|
37
32
|
identifier: string;
|
|
38
33
|
title: string;
|
|
39
34
|
inode: string;
|
|
35
|
+
onNumberOfPages: number;
|
|
40
36
|
widgetTitle?: string | undefined;
|
|
41
37
|
}[];
|
|
42
|
-
|
|
43
|
-
identifier: string;
|
|
44
|
-
uuid: string;
|
|
45
|
-
contentletsId: string[];
|
|
46
|
-
}[];
|
|
38
|
+
variantId: string;
|
|
47
39
|
path: string;
|
|
48
40
|
identifier: string;
|
|
49
41
|
maxContentlets: number;
|
|
42
|
+
parentPermissionable: Record<string, string>;
|
|
50
43
|
};
|
|
51
44
|
export declare const combineClasses: (classes: string[]) => string;
|
|
52
45
|
export declare const getPositionStyleClasses: (start: number, end: number) => {
|