@atlaskit/editor-plugin-floating-toolbar 0.7.11 → 0.7.12
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 +6 -0
- package/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +0 -64
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.7.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
8
|
+
|
|
3
9
|
## 0.7.11
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/adf-schema": "^34.0.
|
|
26
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
27
27
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
28
28
|
"@atlaskit/button": "^16.17.0",
|
|
29
29
|
"@atlaskit/checkbox": "^13.0.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-floating-toolbar"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
8
|
-
import type { CopyButtonPlugin } from '@atlaskit/editor-plugin-copy-button';
|
|
9
|
-
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
10
|
-
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
11
|
-
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
12
|
-
import type { ExtensionPlugin } from '@atlaskit/editor-plugin-extension';
|
|
13
|
-
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
14
|
-
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
15
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
|
|
17
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
18
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
19
|
-
|
|
20
|
-
// @public (undocumented)
|
|
21
|
-
export type ConfigWithNodeInfo = {
|
|
22
|
-
config: FloatingToolbarConfig | undefined;
|
|
23
|
-
pos: number;
|
|
24
|
-
node: Node_2;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
// @public
|
|
28
|
-
export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
|
|
29
|
-
dependencies: [
|
|
30
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
31
|
-
DecorationsPlugin,
|
|
32
|
-
OptionalPlugin<ContextPanelPlugin>,
|
|
33
|
-
OptionalPlugin<ExtensionPlugin>,
|
|
34
|
-
CopyButtonPlugin,
|
|
35
|
-
EditorDisabledPlugin
|
|
36
|
-
];
|
|
37
|
-
actions: {
|
|
38
|
-
forceFocusSelector: ForceFocusSelector;
|
|
39
|
-
};
|
|
40
|
-
sharedState: undefined | {
|
|
41
|
-
configWithNodeInfo: ConfigWithNodeInfo | undefined;
|
|
42
|
-
floatingToolbarData: FloatingToolbarPluginData | undefined;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export const floatingToolbarPlugin: FloatingToolbarPlugin;
|
|
48
|
-
|
|
49
|
-
// @public (undocumented)
|
|
50
|
-
export type FloatingToolbarPluginData = {
|
|
51
|
-
confirmDialogForItem?: number;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
// @public (undocumented)
|
|
55
|
-
export type FloatingToolbarPluginState = {
|
|
56
|
-
getConfigWithNodeInfo: (state: EditorState) => ConfigWithNodeInfo | null | undefined;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// @public (undocumented)
|
|
60
|
-
export type ForceFocusSelector = (selector: null | string) => (tr: Transaction) => Transaction;
|
|
61
|
-
|
|
62
|
-
// (No @packageDocumentation comment for this package)
|
|
63
|
-
|
|
64
|
-
```
|