@atlaskit/editor-plugin-floating-toolbar 0.2.1 → 0.2.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
8
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
14
+ - Updated dependencies
15
+
3
16
  ## 0.2.1
4
17
 
5
18
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,8 +1,8 @@
1
- import type { EditorView } from 'prosemirror-view';
2
1
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
3
2
  import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
4
3
  import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
5
4
  import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
5
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  export type ForceFocusSelector = (selector: string | null, view?: EditorView) => void;
7
7
  export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
8
8
  dependencies: [
@@ -1,8 +1,8 @@
1
- import type { EditorView } from 'prosemirror-view';
2
1
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
3
2
  import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
4
3
  import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
5
4
  import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
5
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  export type ForceFocusSelector = (selector: string | null, view?: EditorView) => void;
7
7
  export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
8
8
  dependencies: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -9,7 +9,8 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor",
12
- "releaseModel": "scheduled"
12
+ "singleton": true,
13
+ "releaseModel": "continuous"
13
14
  },
14
15
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
15
16
  "main": "dist/cjs/index.js",
@@ -22,23 +23,18 @@
22
23
  ".": "./src/index.ts"
23
24
  },
24
25
  "dependencies": {
25
- "@atlaskit/editor-common": "^74.2.0",
26
+ "@atlaskit/editor-common": "^74.29.0",
26
27
  "@atlaskit/editor-plugin-context-panel": "^0.1.0",
27
28
  "@atlaskit/editor-plugin-decorations": "^0.1.0",
28
29
  "@atlaskit/editor-plugin-feature-flags": "^0.1.0",
29
- "@babel/runtime": "^7.0.0",
30
- "prosemirror-view": "1.23.7"
30
+ "@atlaskit/editor-prosemirror": "1.0.2",
31
+ "@babel/runtime": "^7.0.0"
31
32
  },
32
33
  "peerDependencies": {
33
34
  "react": "^16.8.0"
34
35
  },
35
36
  "devDependencies": {
36
- "@atlaskit/docs": "*",
37
- "@atlaskit/editor-core": "^185.1.6",
38
- "@atlaskit/editor-test-helpers": "^18.7.0",
39
- "@atlaskit/ssr": "*",
40
37
  "@atlaskit/visual-regression": "*",
41
- "@atlaskit/webdriver-runner": "*",
42
38
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
43
39
  "@testing-library/react": "^12.1.5",
44
40
  "react-dom": "^16.8.0",
package/report.api.md ADDED
@@ -0,0 +1,61 @@
1
+ <!-- API Report Version: 2.3 -->
2
+
3
+ ## API Report File for "@atlaskit/editor-plugin-floating-toolbar"
4
+
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
9
+
10
+ - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
12
+
13
+ ### Main Entry Types
14
+
15
+ <!--SECTION START: Main Entry Types-->
16
+
17
+ ```ts
18
+ import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
19
+ import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
20
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
21
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
22
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
23
+ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
24
+
25
+ // @public (undocumented)
26
+ export type FloatingToolbarPlugin = NextEditorPlugin<
27
+ 'floatingToolbar',
28
+ {
29
+ dependencies: [
30
+ typeof featureFlagsPlugin,
31
+ typeof decorationsPlugin,
32
+ OptionalPlugin<typeof contextPanelPlugin>,
33
+ ];
34
+ actions: {
35
+ forceFocusSelector: ForceFocusSelector;
36
+ };
37
+ }
38
+ >;
39
+
40
+ // @public (undocumented)
41
+ export type ForceFocusSelector = (
42
+ selector: null | string,
43
+ view?: EditorView,
44
+ ) => void;
45
+
46
+ // (No @packageDocumentation comment for this package)
47
+ ```
48
+
49
+ <!--SECTION END: Main Entry Types-->
50
+
51
+ ### Peer Dependencies
52
+
53
+ <!--SECTION START: Peer Dependencies-->
54
+
55
+ ```json
56
+ {
57
+ "react": "^16.8.0"
58
+ }
59
+ ```
60
+
61
+ <!--SECTION END: Peer Dependencies-->
@@ -0,0 +1,31 @@
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 { EditorView } from '@atlaskit/editor-prosemirror/view';
10
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
11
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
12
+ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
13
+
14
+ // @public (undocumented)
15
+ export type FloatingToolbarPlugin = NextEditorPlugin<'floatingToolbar', {
16
+ dependencies: [
17
+ typeof featureFlagsPlugin,
18
+ typeof decorationsPlugin,
19
+ OptionalPlugin<typeof contextPanelPlugin>
20
+ ];
21
+ actions: {
22
+ forceFocusSelector: ForceFocusSelector;
23
+ };
24
+ }>;
25
+
26
+ // @public (undocumented)
27
+ export type ForceFocusSelector = (selector: null | string, view?: EditorView) => void;
28
+
29
+ // (No @packageDocumentation comment for this package)
30
+
31
+ ```