@atlaskit/editor-plugin-floating-toolbar 0.3.2 → 0.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,21 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 0.3.3
14
+
15
+ ### Patch Changes
16
+
17
+ - [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
18
+
3
19
  ## 0.3.2
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -1,3 +1,30 @@
1
- # EditorPluginFloatingToolbar
1
+ # Editor plugin floating toolbar
2
2
 
3
- Floating toolbar plugin for @atlaskit/editor-core.
3
+ Floating toolbar plugin for @atlaskit/editor-core
4
+
5
+ **Note:** This component is designed for internal Atlassian development.
6
+ External contributors will be able to use this component but will not be able to submit issues.
7
+
8
+ ## Install
9
+ ---
10
+ - **Install** - *yarn add @atlaskit/editor-plugin-floating-toolbar*
11
+ - **npm** - [@atlaskit/editor-plugin-floating-toolbar](https://www.npmjs.com/package/@atlaskit/editor-plugin-floating-toolbar)
12
+ - **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-floating-toolbar)
13
+ - **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-floating-toolbar/dist/)
14
+
15
+ ## Usage
16
+ ---
17
+ **Internal use only**
18
+
19
+ @atlaskit/editor-plugin-floating-toolbar is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.
20
+
21
+ Direct use of this component is not supported.
22
+
23
+ Please see [Atlaskit - Editor plugin floating toolbar](https://atlaskit.atlassian.com/packages/editor/editor-plugin-floating-toolbar) for documentation and examples for this package.
24
+
25
+ ## Support
26
+ ---
27
+ For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
28
+ ## License
29
+ ---
30
+ Please see [Atlassian Frontend - License](https://developer.atlassian.com/cloud/framework/atlassian-frontend/#license) for more licensing information.
@@ -1,8 +1,8 @@
1
1
  import type { FloatingToolbarConfig, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
3
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
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 featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
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 = {
@@ -17,11 +17,15 @@ export type FloatingToolbarPluginData = {
17
17
  confirmDialogForItem?: number;
18
18
  };
19
19
  export type ForceFocusSelector = (selector: string | null) => (tr: Transaction) => Transaction;
20
+ /**
21
+ * Floating toolbar plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
22
+ * from `@atlaskit/editor-core`.
23
+ */
20
24
  export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
21
25
  dependencies: [
22
- typeof featureFlagsPlugin,
23
- typeof decorationsPlugin,
24
- OptionalPlugin<typeof contextPanelPlugin>,
26
+ FeatureFlagsPlugin,
27
+ DecorationsPlugin,
28
+ OptionalPlugin<ContextPanelPlugin>,
25
29
  EditorDisabledPlugin
26
30
  ];
27
31
  actions: {
@@ -1,8 +1,8 @@
1
1
  import type { FloatingToolbarConfig, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
3
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
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 featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
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 = {
@@ -17,11 +17,15 @@ export type FloatingToolbarPluginData = {
17
17
  confirmDialogForItem?: number;
18
18
  };
19
19
  export type ForceFocusSelector = (selector: string | null) => (tr: Transaction) => Transaction;
20
+ /**
21
+ * Floating toolbar plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
22
+ * from `@atlaskit/editor-core`.
23
+ */
20
24
  export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
21
25
  dependencies: [
22
- typeof featureFlagsPlugin,
23
- typeof decorationsPlugin,
24
- OptionalPlugin<typeof contextPanelPlugin>,
26
+ FeatureFlagsPlugin,
27
+ DecorationsPlugin,
28
+ OptionalPlugin<ContextPanelPlugin>,
25
29
  EditorDisabledPlugin
26
30
  ];
27
31
  actions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -8,7 +8,7 @@
8
8
  "registry": "https://registry.npmjs.org/"
9
9
  },
10
10
  "atlassian": {
11
- "team": "Editor",
11
+ "team": "Editor: Lego",
12
12
  "singleton": true,
13
13
  "releaseModel": "continuous"
14
14
  },
@@ -23,11 +23,11 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^74.42.0",
27
- "@atlaskit/editor-plugin-context-panel": "^0.1.0",
28
- "@atlaskit/editor-plugin-decorations": "^0.1.0",
29
- "@atlaskit/editor-plugin-editor-disabled": "^0.1.0",
30
- "@atlaskit/editor-plugin-feature-flags": "^0.1.0",
26
+ "@atlaskit/editor-common": "^74.55.0",
27
+ "@atlaskit/editor-plugin-context-panel": "^0.2.0",
28
+ "@atlaskit/editor-plugin-decorations": "^0.2.0",
29
+ "@atlaskit/editor-plugin-editor-disabled": "^0.2.0",
30
+ "@atlaskit/editor-plugin-feature-flags": "^0.2.0",
31
31
  "@atlaskit/editor-prosemirror": "1.1.0",
32
32
  "@babel/runtime": "^7.0.0"
33
33
  },
package/report.api.md CHANGED
@@ -15,11 +15,11 @@
15
15
  <!--SECTION START: Main Entry Types-->
16
16
 
17
17
  ```ts
18
- import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
19
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
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 featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
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';
@@ -33,14 +33,14 @@ export type ConfigWithNodeInfo = {
33
33
  node: Node_2;
34
34
  };
35
35
 
36
- // @public (undocumented)
36
+ // @public
37
37
  export type FloatingToolbarPlugin = NextEditorPlugin<
38
38
  'floatingToolbar',
39
39
  {
40
40
  dependencies: [
41
- typeof featureFlagsPlugin,
42
- typeof decorationsPlugin,
43
- OptionalPlugin<typeof contextPanelPlugin>,
41
+ FeatureFlagsPlugin,
42
+ DecorationsPlugin,
43
+ OptionalPlugin<ContextPanelPlugin>,
44
44
  EditorDisabledPlugin,
45
45
  ];
46
46
  actions: {
@@ -4,11 +4,11 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
8
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
7
+ import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
8
+ import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
9
9
  import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
10
10
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
11
- import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
11
+ import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
12
12
  import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
13
13
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
14
14
  import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
@@ -22,12 +22,12 @@ export type ConfigWithNodeInfo = {
22
22
  node: Node_2;
23
23
  };
24
24
 
25
- // @public (undocumented)
25
+ // @public
26
26
  export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
27
27
  dependencies: [
28
- typeof featureFlagsPlugin,
29
- typeof decorationsPlugin,
30
- OptionalPlugin<typeof contextPanelPlugin>,
28
+ FeatureFlagsPlugin,
29
+ DecorationsPlugin,
30
+ OptionalPlugin<ContextPanelPlugin>,
31
31
  EditorDisabledPlugin
32
32
  ];
33
33
  actions: {
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.3.2",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.3.2",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.3.2",
4
- "sideEffects": false
5
- }