@atlaskit/editor-plugin-selection-marker 2.1.2 → 2.2.1

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,24 @@
1
1
  # @atlaskit/editor-plugin-selection-marker
2
2
 
3
+ ## 2.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
14
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
15
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
16
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 2.1.2
4
23
 
5
24
  ### 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.1",
4
4
  "description": "Selection marker plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,16 +31,16 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^103.0.0",
34
+ "@atlaskit/editor-common": "^104.0.0",
35
35
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
36
36
  "@atlaskit/editor-plugin-focus": "^1.5.0",
37
- "@atlaskit/editor-plugin-type-ahead": "^2.3.0",
37
+ "@atlaskit/editor-plugin-type-ahead": "^2.6.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.7.0",
41
41
  "@atlaskit/theme": "^18.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^4.6.0",
43
- "@atlaskit/tokens": "^4.7.0",
42
+ "@atlaskit/tmp-editor-statsig": "^4.16.0",
43
+ "@atlaskit/tokens": "^4.8.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1",
46
46
  "lodash": "^4.17.21"
@@ -50,10 +50,10 @@
50
50
  "react-dom": "^18.2.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@af/integration-testing": "^0.5.0",
54
- "@af/visual-regression": "^1.3.0",
55
- "@atlaskit/ssr": "^0.4.0",
56
- "@atlaskit/visual-regression": "^0.10.0",
53
+ "@af/integration-testing": "workspace:^",
54
+ "@af/visual-regression": "workspace:^",
55
+ "@atlaskit/ssr": "workspace:^",
56
+ "@atlaskit/visual-regression": "workspace:^",
57
57
  "@testing-library/react": "^13.4.0",
58
58
  "typescript": "~5.4.2",
59
59
  "wait-for-expect": "^1.2.0"