@evergis/react 3.1.117 → 3.1.119
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/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +4 -3
- package/dist/react.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -5528,7 +5528,7 @@ const LayerTree = ({ layers, onlyMainTools }) => {
|
|
|
5528
5528
|
page.layers = treeNodesToProjectItems(page.layers, updatedNodes);
|
|
5529
5529
|
updateProject(newProjectInfo);
|
|
5530
5530
|
}, [pageIndex, projectInfo, updateProject]);
|
|
5531
|
-
return (jsxRuntime.jsx(uilibGl.DraggableTree, { nodes: nodes, disableDrag: onlyMainTools, options: { pastePlaceholderHeight: "0.
|
|
5531
|
+
return (jsxRuntime.jsx(uilibGl.DraggableTree, { nodes: nodes, disableDrag: onlyMainTools, options: { pastePlaceholderHeight: "0.025rem" }, onUpdate: onUpdate }));
|
|
5532
5532
|
};
|
|
5533
5533
|
|
|
5534
5534
|
const LayersListWrapper = styled(uilibGl.Flex) `
|
|
@@ -5541,6 +5541,7 @@ const LayerListContainer = styled(uilibGl.Flex) `
|
|
|
5541
5541
|
flex-grow: 1;
|
|
5542
5542
|
height: 100%;
|
|
5543
5543
|
box-sizing: border-box;
|
|
5544
|
+
padding-top: 0.25rem;
|
|
5544
5545
|
`;
|
|
5545
5546
|
|
|
5546
5547
|
const ElementValueWrapper = styled.div `
|
|
@@ -7746,7 +7747,7 @@ const LayerIconContainer = styled.div `
|
|
|
7746
7747
|
align-items: center;
|
|
7747
7748
|
justify-content: center;
|
|
7748
7749
|
min-width: 2rem;
|
|
7749
|
-
margin-right: 0.
|
|
7750
|
+
margin-right: 0.5rem;
|
|
7750
7751
|
`;
|
|
7751
7752
|
const AlertIconContainer = styled(uilibGl.Flex) `
|
|
7752
7753
|
align-items: center;
|
|
@@ -8179,7 +8180,7 @@ const useCameraAttribute = (cameraId) => {
|
|
|
8179
8180
|
// const { api } = useGlobalContext();
|
|
8180
8181
|
const [currentIndex, setCurrentIndex] = React.useState(0);
|
|
8181
8182
|
const [currentPage, setCurrentPage] = React.useState(0);
|
|
8182
|
-
const [timeline, /* setTimeline*/] = React.useState([]);
|
|
8183
|
+
const [timeline, /* setTimeline*/] = React.useState /* <ArchiveTimelineItemDc[]>*/([]);
|
|
8183
8184
|
const [isLoadingSnapshot, setLoadingSnapshot] = React.useState(false);
|
|
8184
8185
|
const [isLoadingTimeline, setLoadingTimeline] = React.useState(false);
|
|
8185
8186
|
const [isOpenGallery, toggleGallery] = useToggle();
|