@atlaskit/editor-plugin-help-dialog 3.1.4 → 3.1.6

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,19 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 3.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+ - Updated dependencies
10
+
11
+ ## 3.1.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 3.1.4
4
18
 
5
19
  ### Patch Changes
@@ -2,24 +2,24 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
4
4
  export interface HelpDialogSharedState {
5
- isVisible: boolean;
6
- imageEnabled: boolean;
7
5
  aiEnabled: boolean;
6
+ imageEnabled: boolean;
7
+ isVisible: boolean;
8
8
  }
9
9
  export type HelpDialogDependencies = [
10
10
  OptionalPlugin<AnalyticsPlugin>,
11
11
  OptionalPlugin<QuickInsertPlugin>
12
12
  ];
13
13
  export type HelpDialogPluginOptions = boolean | {
14
- imageUploadProviderExists?: boolean;
15
14
  aiEnabled?: boolean;
15
+ imageUploadProviderExists?: boolean;
16
16
  };
17
17
  export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
18
- dependencies: HelpDialogDependencies;
19
- pluginConfiguration: HelpDialogPluginOptions;
20
- sharedState: HelpDialogSharedState | null;
21
18
  actions: {
22
- openHelp(): void;
23
19
  closeHelp(): void;
20
+ openHelp(): void;
24
21
  };
22
+ dependencies: HelpDialogDependencies;
23
+ pluginConfiguration: HelpDialogPluginOptions;
24
+ sharedState: HelpDialogSharedState | null;
25
25
  }>;
@@ -1,7 +1,7 @@
1
1
  export interface Format {
2
- name: string;
3
- type: string;
4
- keymap?: Function;
5
2
  autoFormatting?: Function;
6
3
  imageEnabled?: boolean;
4
+ keymap?: Function;
5
+ name: string;
6
+ type: string;
7
7
  }
@@ -3,8 +3,8 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { HelpDialogPlugin } from '../helpDialogPluginType';
5
5
  export interface HelpDialogProps {
6
- pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
7
6
  editorView: EditorView;
7
+ pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
8
8
  quickInsertEnabled?: boolean;
9
9
  }
10
10
  declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
@@ -2,24 +2,24 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
4
4
  export interface HelpDialogSharedState {
5
- isVisible: boolean;
6
- imageEnabled: boolean;
7
5
  aiEnabled: boolean;
6
+ imageEnabled: boolean;
7
+ isVisible: boolean;
8
8
  }
9
9
  export type HelpDialogDependencies = [
10
10
  OptionalPlugin<AnalyticsPlugin>,
11
11
  OptionalPlugin<QuickInsertPlugin>
12
12
  ];
13
13
  export type HelpDialogPluginOptions = boolean | {
14
- imageUploadProviderExists?: boolean;
15
14
  aiEnabled?: boolean;
15
+ imageUploadProviderExists?: boolean;
16
16
  };
17
17
  export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
18
- dependencies: HelpDialogDependencies;
19
- pluginConfiguration: HelpDialogPluginOptions;
20
- sharedState: HelpDialogSharedState | null;
21
18
  actions: {
22
- openHelp(): void;
23
19
  closeHelp(): void;
20
+ openHelp(): void;
24
21
  };
22
+ dependencies: HelpDialogDependencies;
23
+ pluginConfiguration: HelpDialogPluginOptions;
24
+ sharedState: HelpDialogSharedState | null;
25
25
  }>;
@@ -1,7 +1,7 @@
1
1
  export interface Format {
2
- name: string;
3
- type: string;
4
- keymap?: Function;
5
2
  autoFormatting?: Function;
6
3
  imageEnabled?: boolean;
4
+ keymap?: Function;
5
+ name: string;
6
+ type: string;
7
7
  }
@@ -3,8 +3,8 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { HelpDialogPlugin } from '../helpDialogPluginType';
5
5
  export interface HelpDialogProps {
6
- pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
7
6
  editorView: EditorView;
7
+ pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
8
8
  quickInsertEnabled?: boolean;
9
9
  }
10
10
  declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,12 +37,12 @@
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
38
  "@atlaskit/editor-shared-styles": "^3.6.0",
39
39
  "@atlaskit/heading": "^5.2.0",
40
- "@atlaskit/icon": "^27.12.0",
40
+ "@atlaskit/icon": "^28.0.0",
41
41
  "@atlaskit/modal-dialog": "^14.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@atlaskit/primitives": "^14.11.0",
44
44
  "@atlaskit/theme": "^19.0.0",
45
- "@atlaskit/tmp-editor-statsig": "^11.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^11.5.0",
46
46
  "@atlaskit/tokens": "^6.0.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@emotion/react": "^11.7.1",
@@ -53,7 +53,7 @@
53
53
  "@testing-library/react": "^13.4.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^107.25.0",
56
+ "@atlaskit/editor-common": "^107.28.0",
57
57
  "react": "^18.2.0"
58
58
  },
59
59
  "techstack": {