@plurid/plurid-react 0.0.0-20 → 0.0.0-21
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/distribution/distribution/services/logic/router/index.d.ts +2 -2
- package/distribution/index.es.js +4 -1
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +4 -1
- package/distribution/index.js.map +1 -1
- package/distribution/index.min.js +525 -525
- package/distribution/index.min.js.map +1 -1
- package/distribution/services/logic/router/index.d.ts +2 -2
- package/package.json +30 -30
package/distribution/index.js
CHANGED
|
@@ -5453,6 +5453,9 @@ const PluridView = properties => {
|
|
|
5453
5453
|
handlePubSubPublish(pubsub);
|
|
5454
5454
|
}
|
|
5455
5455
|
}), [ pluridPubSub.length, stateConfiguration, stateTransform ]);
|
|
5456
|
+
React.useEffect((() => {
|
|
5457
|
+
treeUpdateCallback();
|
|
5458
|
+
}), []);
|
|
5456
5459
|
const pluridContext = {
|
|
5457
5460
|
planesRegistrar: planesRegistrar,
|
|
5458
5461
|
planeContext: planeContext,
|
|
@@ -6357,7 +6360,7 @@ const PluridLink = properties => {
|
|
|
6357
6360
|
const [showLink, setShowLink] = React.useState(false);
|
|
6358
6361
|
const [planeID, setPlaneID] = React.useState("");
|
|
6359
6362
|
const [pluridPlaneID, setPluridPlaneID] = React.useState("");
|
|
6360
|
-
const [parentPlaneID, setParentPlaneID] = React.useState(
|
|
6363
|
+
const [parentPlaneID, setParentPlaneID] = React.useState(getPluridPlaneIDByData$1(linkElement.current));
|
|
6361
6364
|
const [linkCoordinates, setLinkCoordinates] = React.useState(defaultLinkCoordinates);
|
|
6362
6365
|
const getPluridLinkCoordinates = () => {
|
|
6363
6366
|
const link = linkElement.current;
|