@atlaskit/editor-plugin-selection-marker 2.1.2 → 2.2.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-marker
2
2
 
3
+ ## 2.2.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
  ## 2.1.2
4
17
 
5
18
  ### Patch Changes
@@ -1,2 +1,2 @@
1
1
  export { selectionMarkerPlugin } from './selectionMarkerPlugin';
2
- export type { SelectionMarkerPlugin, SelectionMarkerPluginConfiguration, ReleaseHiddenDecoration, } from './selectionMarkerPluginType';
2
+ export type { SelectionMarkerPlugin, SelectionMarkerPluginConfiguration, SelectionMarkerPluginOptions, ReleaseHiddenDecoration, } from './selectionMarkerPluginType';
@@ -5,16 +5,22 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
5
5
  export type ReleaseHiddenDecoration = () => boolean | undefined;
6
6
  type SetCleanup = (cb: ReleaseHiddenDecoration | undefined) => void;
7
7
  type CancelQueue = (() => void) | undefined;
8
- export type SelectionMarkerPluginConfiguration = {
8
+ export type SelectionMarkerPluginOptions = {
9
9
  hideCursorOnInit?: boolean;
10
10
  };
11
+ /**
12
+ * @private
13
+ * @deprecated Use {@link SelectionMarkerPluginOptions} instead.
14
+ * @see https://product-fabric.atlassian.net/browse/ED-27496
15
+ */
16
+ export type SelectionMarkerPluginConfiguration = SelectionMarkerPluginOptions;
11
17
  export type SelectionMarkerPlugin = NextEditorPlugin<'selectionMarker', {
12
18
  dependencies: [
13
19
  FocusPlugin,
14
20
  OptionalPlugin<TypeAheadPlugin>,
15
21
  OptionalPlugin<EditorDisabledPlugin>
16
22
  ];
17
- pluginConfiguration?: SelectionMarkerPluginConfiguration;
23
+ pluginConfiguration?: SelectionMarkerPluginOptions;
18
24
  sharedState: {
19
25
  isForcedHidden: boolean;
20
26
  isMarkerActive: boolean;
@@ -1,2 +1,2 @@
1
1
  export { selectionMarkerPlugin } from './selectionMarkerPlugin';
2
- export type { SelectionMarkerPlugin, SelectionMarkerPluginConfiguration, ReleaseHiddenDecoration, } from './selectionMarkerPluginType';
2
+ export type { SelectionMarkerPlugin, SelectionMarkerPluginConfiguration, SelectionMarkerPluginOptions, ReleaseHiddenDecoration, } from './selectionMarkerPluginType';
@@ -5,16 +5,22 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
5
5
  export type ReleaseHiddenDecoration = () => boolean | undefined;
6
6
  type SetCleanup = (cb: ReleaseHiddenDecoration | undefined) => void;
7
7
  type CancelQueue = (() => void) | undefined;
8
- export type SelectionMarkerPluginConfiguration = {
8
+ export type SelectionMarkerPluginOptions = {
9
9
  hideCursorOnInit?: boolean;
10
10
  };
11
+ /**
12
+ * @private
13
+ * @deprecated Use {@link SelectionMarkerPluginOptions} instead.
14
+ * @see https://product-fabric.atlassian.net/browse/ED-27496
15
+ */
16
+ export type SelectionMarkerPluginConfiguration = SelectionMarkerPluginOptions;
11
17
  export type SelectionMarkerPlugin = NextEditorPlugin<'selectionMarker', {
12
18
  dependencies: [
13
19
  FocusPlugin,
14
20
  OptionalPlugin<TypeAheadPlugin>,
15
21
  OptionalPlugin<EditorDisabledPlugin>
16
22
  ];
17
- pluginConfiguration?: SelectionMarkerPluginConfiguration;
23
+ pluginConfiguration?: SelectionMarkerPluginOptions;
18
24
  sharedState: {
19
25
  isForcedHidden: boolean;
20
26
  isMarkerActive: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-marker",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Selection marker plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,13 +31,13 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^103.0.0",
34
+ "@atlaskit/editor-common": "^103.4.0",
35
35
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
36
36
  "@atlaskit/editor-plugin-focus": "^1.5.0",
37
37
  "@atlaskit/editor-plugin-type-ahead": "^2.3.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
- "@atlaskit/primitives": "^14.3.0",
40
+ "@atlaskit/primitives": "^14.4.0",
41
41
  "@atlaskit/theme": "^18.0.0",
42
42
  "@atlaskit/tmp-editor-statsig": "^4.6.0",
43
43
  "@atlaskit/tokens": "^4.7.0",