@atlaskit/editor-synced-block-renderer 5.9.2 → 5.9.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-synced-block-renderer
|
|
2
2
|
|
|
3
|
+
## 5.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`469aa2343e484`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/469aa2343e484) -
|
|
8
|
+
Misc fixes for synced blocks
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 5.9.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 5.9.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -36,7 +36,9 @@ var SyncedBlockNodeComponentRenderer = exports.SyncedBlockNodeComponentRenderer
|
|
|
36
36
|
};
|
|
37
37
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
38
38
|
}, []);
|
|
39
|
-
|
|
39
|
+
(0, _react.useEffect)(function () {
|
|
40
|
+
syncBlockStoreManager.referenceManager.updateFireAnalyticsEvent(fireAnalyticsEvent);
|
|
41
|
+
}, [syncBlockStoreManager.referenceManager, fireAnalyticsEvent]);
|
|
40
42
|
var _useFetchSyncBlockDat = (0, _editorSyncedBlockProvider.useFetchSyncBlockData)(syncBlockStoreManager, resourceId, localId, fireAnalyticsEvent),
|
|
41
43
|
syncBlockInstance = _useFetchSyncBlockDat.syncBlockInstance,
|
|
42
44
|
isLoading = _useFetchSyncBlockDat.isLoading,
|
|
@@ -26,7 +26,9 @@ export const SyncedBlockNodeComponentRenderer = ({
|
|
|
26
26
|
};
|
|
27
27
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
28
28
|
}, []);
|
|
29
|
-
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
syncBlockStoreManager.referenceManager.updateFireAnalyticsEvent(fireAnalyticsEvent);
|
|
31
|
+
}, [syncBlockStoreManager.referenceManager, fireAnalyticsEvent]);
|
|
30
32
|
const {
|
|
31
33
|
syncBlockInstance,
|
|
32
34
|
isLoading,
|
|
@@ -27,7 +27,9 @@ export var SyncedBlockNodeComponentRenderer = function SyncedBlockNodeComponentR
|
|
|
27
27
|
};
|
|
28
28
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
29
29
|
}, []);
|
|
30
|
-
|
|
30
|
+
useEffect(function () {
|
|
31
|
+
syncBlockStoreManager.referenceManager.updateFireAnalyticsEvent(fireAnalyticsEvent);
|
|
32
|
+
}, [syncBlockStoreManager.referenceManager, fireAnalyticsEvent]);
|
|
31
33
|
var _useFetchSyncBlockDat = useFetchSyncBlockData(syncBlockStoreManager, resourceId, localId, fireAnalyticsEvent),
|
|
32
34
|
syncBlockInstance = _useFetchSyncBlockDat.syncBlockInstance,
|
|
33
35
|
isLoading = _useFetchSyncBlockDat.isLoading,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-synced-block-renderer",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.4",
|
|
4
4
|
"description": "SyncedBlockRenderer for @atlaskit/editor-plugin-synced-block",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@atlaskit/editor-plugin-synced-block": "^5.3.0",
|
|
34
34
|
"@atlaskit/editor-synced-block-provider": "^3.31.0",
|
|
35
35
|
"@atlaskit/heading": "^5.3.0",
|
|
36
|
-
"@atlaskit/icon": "^
|
|
37
|
-
"@atlaskit/icon-lab": "^5.
|
|
36
|
+
"@atlaskit/icon": "^32.0.0",
|
|
37
|
+
"@atlaskit/icon-lab": "^5.17.0",
|
|
38
38
|
"@atlaskit/image": "^3.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^18.0.0",
|