@atlaskit/editor-plugin-floating-toolbar 0.3.1 → 0.3.3
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 +12 -0
- package/dist/types/types.d.ts +6 -6
- package/dist/types-ts4.5/types.d.ts +6 -6
- package/package.json +3 -3
- package/report.api.md +6 -6
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
- package/tmp/api-report-tmp.d.ts +0 -57
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
|
|
8
|
+
|
|
9
|
+
## 0.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 0.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FloatingToolbarConfig, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
3
|
+
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
4
4
|
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
5
|
-
import type
|
|
5
|
+
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
6
6
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
export type ConfigWithNodeInfo = {
|
|
@@ -19,9 +19,9 @@ export type FloatingToolbarPluginData = {
|
|
|
19
19
|
export type ForceFocusSelector = (selector: string | null) => (tr: Transaction) => Transaction;
|
|
20
20
|
export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
|
|
21
21
|
dependencies: [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
OptionalPlugin<
|
|
22
|
+
FeatureFlagsPlugin,
|
|
23
|
+
DecorationsPlugin,
|
|
24
|
+
OptionalPlugin<ContextPanelPlugin>,
|
|
25
25
|
EditorDisabledPlugin
|
|
26
26
|
];
|
|
27
27
|
actions: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FloatingToolbarConfig, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
3
|
+
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
4
4
|
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
5
|
-
import type
|
|
5
|
+
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
6
6
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
export type ConfigWithNodeInfo = {
|
|
@@ -19,9 +19,9 @@ export type FloatingToolbarPluginData = {
|
|
|
19
19
|
export type ForceFocusSelector = (selector: string | null) => (tr: Transaction) => Transaction;
|
|
20
20
|
export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
|
|
21
21
|
dependencies: [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
OptionalPlugin<
|
|
22
|
+
FeatureFlagsPlugin,
|
|
23
|
+
DecorationsPlugin,
|
|
24
|
+
OptionalPlugin<ContextPanelPlugin>,
|
|
25
25
|
EditorDisabledPlugin
|
|
26
26
|
];
|
|
27
27
|
actions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/editor-common": "^74.
|
|
26
|
+
"@atlaskit/editor-common": "^74.52.0",
|
|
27
27
|
"@atlaskit/editor-plugin-context-panel": "^0.1.0",
|
|
28
28
|
"@atlaskit/editor-plugin-decorations": "^0.1.0",
|
|
29
29
|
"@atlaskit/editor-plugin-editor-disabled": "^0.1.0",
|
|
30
30
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
31
|
-
"@atlaskit/editor-prosemirror": "1.0
|
|
31
|
+
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
package/report.api.md
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
<!--SECTION START: Main Entry Types-->
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
18
|
+
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
19
|
+
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
20
20
|
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
21
21
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
22
|
-
import type
|
|
22
|
+
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
23
23
|
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
24
24
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
25
25
|
import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -38,9 +38,9 @@ export type FloatingToolbarPlugin = NextEditorPlugin<
|
|
|
38
38
|
'floatingToolbar',
|
|
39
39
|
{
|
|
40
40
|
dependencies: [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
OptionalPlugin<
|
|
41
|
+
FeatureFlagsPlugin,
|
|
42
|
+
DecorationsPlugin,
|
|
43
|
+
OptionalPlugin<ContextPanelPlugin>,
|
|
44
44
|
EditorDisabledPlugin,
|
|
45
45
|
];
|
|
46
46
|
actions: {
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED
package/dist/esm/version.json
DELETED
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,57 +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 { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
9
|
-
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
10
|
-
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
11
|
-
import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
|
|
12
|
-
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
14
|
-
import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
|
|
15
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
export type ConfigWithNodeInfo = {
|
|
20
|
-
config: FloatingToolbarConfig | undefined;
|
|
21
|
-
pos: number;
|
|
22
|
-
node: Node_2;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
|
|
27
|
-
dependencies: [
|
|
28
|
-
typeof featureFlagsPlugin,
|
|
29
|
-
typeof decorationsPlugin,
|
|
30
|
-
OptionalPlugin<typeof contextPanelPlugin>,
|
|
31
|
-
EditorDisabledPlugin
|
|
32
|
-
];
|
|
33
|
-
actions: {
|
|
34
|
-
forceFocusSelector: ForceFocusSelector;
|
|
35
|
-
};
|
|
36
|
-
sharedState: undefined | {
|
|
37
|
-
configWithNodeInfo: ConfigWithNodeInfo | undefined;
|
|
38
|
-
floatingToolbarData: FloatingToolbarPluginData | undefined;
|
|
39
|
-
};
|
|
40
|
-
}>;
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
export type FloatingToolbarPluginData = {
|
|
44
|
-
confirmDialogForItem?: number;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
// @public (undocumented)
|
|
48
|
-
export type FloatingToolbarPluginState = {
|
|
49
|
-
getConfigWithNodeInfo: (state: EditorState) => ConfigWithNodeInfo | null | undefined;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
// @public (undocumented)
|
|
53
|
-
export type ForceFocusSelector = (selector: null | string) => (tr: Transaction) => Transaction;
|
|
54
|
-
|
|
55
|
-
// (No @packageDocumentation comment for this package)
|
|
56
|
-
|
|
57
|
-
```
|