@atlaskit/editor-plugin-selection-toolbar 3.3.0 → 3.4.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
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
|
|
8
|
+
[`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
|
|
10
|
+
`@atlassian/confluence-presets` package with Confluence `full-page` preset is created
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 3.3.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { selectionToolbarPlugin } from './selectionToolbarPlugin';
|
|
2
|
-
export type { SelectionToolbarPlugin } from './selectionToolbarPluginType';
|
|
2
|
+
export type { SelectionToolbarPlugin, SelectionToolbarPluginOptions, } from './selectionToolbarPluginType';
|
|
@@ -3,18 +3,17 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
3
3
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
4
|
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
|
|
5
5
|
import type { ToolbarDocking } from './types';
|
|
6
|
+
export type SelectionToolbarPluginOptions = {
|
|
7
|
+
/** @defaults false */
|
|
8
|
+
preferenceToolbarAboveSelection?: boolean;
|
|
9
|
+
userPreferencesProvider?: UserPreferencesProvider;
|
|
10
|
+
contextualFormattingEnabled?: boolean;
|
|
11
|
+
};
|
|
6
12
|
export type SelectionToolbarPlugin = NextEditorPlugin<'selectionToolbar', {
|
|
7
13
|
sharedState: {
|
|
8
14
|
toolbarDocking: ToolbarDocking;
|
|
9
15
|
};
|
|
10
|
-
pluginConfiguration:
|
|
11
|
-
/**
|
|
12
|
-
* Defaults to false
|
|
13
|
-
*/
|
|
14
|
-
preferenceToolbarAboveSelection?: boolean;
|
|
15
|
-
userPreferencesProvider?: UserPreferencesProvider;
|
|
16
|
-
contextualFormattingEnabled?: boolean;
|
|
17
|
-
};
|
|
16
|
+
pluginConfiguration: SelectionToolbarPluginOptions;
|
|
18
17
|
dependencies: [
|
|
19
18
|
OptionalPlugin<EditorViewModePlugin>,
|
|
20
19
|
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { selectionToolbarPlugin } from './selectionToolbarPlugin';
|
|
2
|
-
export type { SelectionToolbarPlugin } from './selectionToolbarPluginType';
|
|
2
|
+
export type { SelectionToolbarPlugin, SelectionToolbarPluginOptions, } from './selectionToolbarPluginType';
|
|
@@ -3,18 +3,17 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
3
3
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
4
|
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
|
|
5
5
|
import type { ToolbarDocking } from './types';
|
|
6
|
+
export type SelectionToolbarPluginOptions = {
|
|
7
|
+
/** @defaults false */
|
|
8
|
+
preferenceToolbarAboveSelection?: boolean;
|
|
9
|
+
userPreferencesProvider?: UserPreferencesProvider;
|
|
10
|
+
contextualFormattingEnabled?: boolean;
|
|
11
|
+
};
|
|
6
12
|
export type SelectionToolbarPlugin = NextEditorPlugin<'selectionToolbar', {
|
|
7
13
|
sharedState: {
|
|
8
14
|
toolbarDocking: ToolbarDocking;
|
|
9
15
|
};
|
|
10
|
-
pluginConfiguration:
|
|
11
|
-
/**
|
|
12
|
-
* Defaults to false
|
|
13
|
-
*/
|
|
14
|
-
preferenceToolbarAboveSelection?: boolean;
|
|
15
|
-
userPreferencesProvider?: UserPreferencesProvider;
|
|
16
|
-
contextualFormattingEnabled?: boolean;
|
|
17
|
-
};
|
|
16
|
+
pluginConfiguration: SelectionToolbarPluginOptions;
|
|
18
17
|
dependencies: [
|
|
19
18
|
OptionalPlugin<EditorViewModePlugin>,
|
|
20
19
|
OptionalPlugin<PrimaryToolbarPlugin>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/css": "^0.10.0",
|
|
37
|
-
"@atlaskit/editor-common": "^103.
|
|
37
|
+
"@atlaskit/editor-common": "^103.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
39
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^3.
|
|
40
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^3.
|
|
39
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
|
|
40
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/icon": "^25.5.0",
|
|
43
43
|
"@atlaskit/icon-lab": "^4.6.0",
|