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