@atlaskit/editor-plugin-synced-block 27.0.9 → 28.0.0
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 +9 -0
- package/dist/types/editor-commands/index.d.ts +2 -2
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-synced-block
|
|
2
2
|
|
|
3
|
+
## 28.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7e91f3141329d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e91f3141329d) -
|
|
8
|
+
Decouple Quick Insert menu rendering and interaction from typeahead under the existing
|
|
9
|
+
`platform_editor_slash_command` experiment.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 27.0.9
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics/types/dispatch-analytics-event';
|
|
2
2
|
import { type INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
3
|
+
import type { InsertContentCallback } from '@atlaskit/editor-common/insert';
|
|
3
4
|
import type { Command } from '@atlaskit/editor-common/types/command';
|
|
4
5
|
import type { EditorCommand } from '@atlaskit/editor-common/types/editor-command';
|
|
5
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
6
|
-
import type { TypeAheadInsert } from '@atlaskit/editor-common/types/type-ahead';
|
|
7
7
|
import { type Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider/syncBlockStoreManager';
|
|
@@ -17,7 +17,7 @@ type createSyncedBlockProps = {
|
|
|
17
17
|
inputMethod?: INPUT_METHOD;
|
|
18
18
|
syncBlockStore: SyncBlockStoreManager;
|
|
19
19
|
tr: Transaction;
|
|
20
|
-
typeAheadInsert?:
|
|
20
|
+
typeAheadInsert?: InsertContentCallback;
|
|
21
21
|
};
|
|
22
22
|
export declare const createSyncedBlock: ({ tr, syncBlockStore, typeAheadInsert, fireAnalyticsEvent, inputMethod, }: createSyncedBlockProps) => false | Transaction;
|
|
23
23
|
export declare const copySyncedBlockReferenceToClipboardEditorCommand: (syncBlockStore: SyncBlockStoreManager, inputMethod: INPUT_METHOD, api?: ExtractInjectionAPI<SyncedBlockPlugin>, isLivePage?: boolean) => EditorCommand;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-synced-block",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "28.0.0",
|
|
4
4
|
"description": "SyncedBlock plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"@atlaskit/button": "25.6.1",
|
|
25
25
|
"@atlaskit/dropdown-menu": "21.0.2",
|
|
26
26
|
"@atlaskit/editor-json-transformer": "^10.0.0",
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
28
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
29
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
30
|
-
"@atlaskit/editor-plugin-connectivity": "
|
|
31
|
-
"@atlaskit/editor-plugin-content-format": "^
|
|
32
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
33
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
34
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
35
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
36
|
-
"@atlaskit/editor-plugin-focus": "^
|
|
37
|
-
"@atlaskit/editor-plugin-history": "^
|
|
38
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
39
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
40
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
41
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^30.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-block-controls": "^31.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-block-menu": "^29.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-connectivity": "30.0.0",
|
|
31
|
+
"@atlaskit/editor-plugin-content-format": "^24.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-decorations": "^30.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-editor-disabled": "^30.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^32.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-focus": "^29.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-history": "^30.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-selection": "^30.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-toolbar": "^27.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^24.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-user-intent": "^28.0.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
43
43
|
"@atlaskit/editor-shared-styles": "^4.6.0",
|
|
44
|
-
"@atlaskit/editor-synced-block-provider": "^
|
|
44
|
+
"@atlaskit/editor-synced-block-provider": "^26.0.0",
|
|
45
45
|
"@atlaskit/editor-toolbar": "^2.8.0",
|
|
46
46
|
"@atlaskit/flag": "^19.0.0",
|
|
47
47
|
"@atlaskit/icon": "38.0.2",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"memoize-one": "^6.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@atlaskit/editor-common": "^
|
|
68
|
+
"@atlaskit/editor-common": "^134.0.0",
|
|
69
69
|
"react": "^18.2.0 || ^19.2.0",
|
|
70
70
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
71
71
|
},
|