@atlaskit/editor-plugin-synced-block 6.0.46 → 6.0.48

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-plugin-synced-block
2
2
 
3
+ ## 6.0.48
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ef5f5792a6aaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef5f5792a6aaf) -
8
+ Clean up platform_synced_block_patch_7 feature gate
9
+ - Updated dependencies
10
+
11
+ ## 6.0.47
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.0.46
4
18
 
5
19
  ### Patch Changes
@@ -252,7 +252,7 @@ var createPlugin = exports.createPlugin = function createPlugin(options, pmPlugi
252
252
  // Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
253
253
  // It prevents false "Changes may not be saved" warnings when publishing
254
254
  // Classic pages with sync blocks.
255
- (0, _platformFeatureFlags.fg)('platform_synced_block_patch_7') && syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
255
+ syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
256
256
  (0, _utils2.deferDispatch)(function () {
257
257
  api === null || api === void 0 || api.core.actions.execute(function (_ref7) {
258
258
  var tr = _ref7.tr;
@@ -217,7 +217,7 @@ export const createPlugin = (options, pmPluginFactoryParams, syncBlockStore, api
217
217
  // Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
218
218
  // It prevents false "Changes may not be saved" warnings when publishing
219
219
  // Classic pages with sync blocks.
220
- fg('platform_synced_block_patch_7') && syncBlockStore.sourceManager.registerFlushCompletionCallback(() => {
220
+ syncBlockStore.sourceManager.registerFlushCompletionCallback(() => {
221
221
  deferDispatch(() => {
222
222
  api === null || api === void 0 ? void 0 : api.core.actions.execute(({
223
223
  tr
@@ -245,7 +245,7 @@ export var createPlugin = function createPlugin(options, pmPluginFactoryParams,
245
245
  // Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
246
246
  // It prevents false "Changes may not be saved" warnings when publishing
247
247
  // Classic pages with sync blocks.
248
- fg('platform_synced_block_patch_7') && syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
248
+ syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
249
249
  deferDispatch(function () {
250
250
  api === null || api === void 0 || api.core.actions.execute(function (_ref7) {
251
251
  var tr = _ref7.tr;
@@ -5,4 +5,4 @@ import type { SyncedBlockPlugin } from '../../syncedBlockPluginType';
5
5
  *
6
6
  * @returns true if should ignore event happens within bodiedSyncBlock node when offline
7
7
  */
8
- export declare const shouldIgnoreDomEvent: (view: EditorView, event: MouseEvent | PointerEvent, api: ExtractInjectionAPI<SyncedBlockPlugin> | undefined) => true | undefined;
8
+ export declare const shouldIgnoreDomEvent: (view: EditorView, event: MouseEvent | PointerEvent, api: ExtractInjectionAPI<SyncedBlockPlugin> | undefined) => boolean | undefined;
@@ -5,4 +5,4 @@ import type { SyncedBlockPlugin } from '../../syncedBlockPluginType';
5
5
  *
6
6
  * @returns true if should ignore event happens within bodiedSyncBlock node when offline
7
7
  */
8
- export declare const shouldIgnoreDomEvent: (view: EditorView, event: MouseEvent | PointerEvent, api: ExtractInjectionAPI<SyncedBlockPlugin> | undefined) => true | undefined;
8
+ export declare const shouldIgnoreDomEvent: (view: EditorView, event: MouseEvent | PointerEvent, api: ExtractInjectionAPI<SyncedBlockPlugin> | undefined) => boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "6.0.46",
3
+ "version": "6.0.48",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^52.4.0",
32
- "@atlaskit/button": "23.10.10",
32
+ "@atlaskit/button": "23.11.0",
33
33
  "@atlaskit/dropdown-menu": "16.8.6",
34
34
  "@atlaskit/editor-json-transformer": "^8.31.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^8.0.0",
@@ -53,8 +53,8 @@
53
53
  "@atlaskit/modal-dialog": "^14.14.0",
54
54
  "@atlaskit/platform-feature-flags": "^1.1.0",
55
55
  "@atlaskit/primitives": "^18.1.0",
56
- "@atlaskit/spinner": "19.0.14",
57
- "@atlaskit/tmp-editor-statsig": "^54.4.0",
56
+ "@atlaskit/spinner": "19.1.0",
57
+ "@atlaskit/tmp-editor-statsig": "^54.5.0",
58
58
  "@atlaskit/tokens": "11.4.3",
59
59
  "@atlaskit/tooltip": "^21.1.0",
60
60
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -123,9 +123,6 @@
123
123
  "platform_synced_block_update_refactor": {
124
124
  "type": "boolean"
125
125
  },
126
- "platform_synced_block_patch_7": {
127
- "type": "boolean"
128
- },
129
126
  "platform_synced_block_patch_8": {
130
127
  "type": "boolean"
131
128
  }