@atlaskit/editor-plugin-extension 1.3.5 → 1.4.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,23 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 1.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
14
+ [`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
15
+ Introduced new PortalProviderAPI behind a FF
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 1.3.5
4
22
 
5
23
  ### Patch Changes
@@ -1,6 +1,7 @@
1
1
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
3
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
4
+ import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
4
5
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
6
7
  import type { EditorAppearance, ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
@@ -18,7 +19,7 @@ export declare const handleUpdate: ({ view, prevState, domAtPos, extensionHandle
18
19
  extensionHandlers: ExtensionHandlers;
19
20
  applyChange: ApplyChangeHandler | undefined;
20
21
  }) => true | undefined;
21
- declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
22
+ declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
22
23
  appearance?: EditorAppearance;
23
24
  }, featureFlags?: FeatureFlags) => SafePlugin<import("../types").ExtensionState>;
24
25
  export { pluginKey, createPlugin, createCommand, getPluginState };
@@ -1,6 +1,7 @@
1
1
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
3
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
4
+ import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
4
5
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
6
7
  import type { EditorAppearance, ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
@@ -18,7 +19,7 @@ export declare const handleUpdate: ({ view, prevState, domAtPos, extensionHandle
18
19
  extensionHandlers: ExtensionHandlers;
19
20
  applyChange: ApplyChangeHandler | undefined;
20
21
  }) => true | undefined;
21
- declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
22
+ declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
22
23
  appearance?: EditorAppearance;
23
24
  }, featureFlags?: FeatureFlags) => SafePlugin<import("../types").ExtensionState>;
24
25
  export { pluginKey, createPlugin, createCommand, getPluginState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "1.3.5",
3
+ "version": "1.4.1",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,8 +30,8 @@
30
30
  "@atlaskit/avatar": "^21.6.0",
31
31
  "@atlaskit/button": "^17.14.0",
32
32
  "@atlaskit/checkbox": "^13.3.0",
33
- "@atlaskit/datetime-picker": "^13.4.0",
34
- "@atlaskit/editor-common": "^78.37.0",
33
+ "@atlaskit/datetime-picker": "^13.5.0",
34
+ "@atlaskit/editor-common": "^79.0.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.11.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
37
37
  "@atlaskit/editor-plugin-context-identifier": "^1.1.0",
@@ -46,14 +46,14 @@
46
46
  "@atlaskit/form": "^9.3.0",
47
47
  "@atlaskit/icon": "^22.1.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.2.0",
49
- "@atlaskit/primitives": "^5.7.0",
49
+ "@atlaskit/primitives": "^6.0.0",
50
50
  "@atlaskit/radio": "^6.3.0",
51
51
  "@atlaskit/section-message": "^6.5.0",
52
52
  "@atlaskit/select": "^17.8.0",
53
53
  "@atlaskit/smart-user-picker": "^6.9.0",
54
54
  "@atlaskit/spinner": "^16.1.0",
55
- "@atlaskit/tabs": "^16.0.0",
56
- "@atlaskit/textarea": "^5.3.0",
55
+ "@atlaskit/tabs": "^16.1.0",
56
+ "@atlaskit/textarea": "^5.4.0",
57
57
  "@atlaskit/textfield": "^6.3.0",
58
58
  "@atlaskit/theme": "^12.7.0",
59
59
  "@atlaskit/toggle": "^13.0.0",
@@ -71,7 +71,7 @@
71
71
  "react-intl-next": "npm:react-intl@^5.18.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@atlaskit/editor-test-helpers": "^18.21.0",
74
+ "@atlaskit/editor-test-helpers": "^18.22.0",
75
75
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
76
76
  "react-select": "^5.4.0",
77
77
  "typescript": "~5.4.2"