@atlaskit/editor-plugin-help-dialog 7.2.10 → 8.0.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,17 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 8.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 7.2.10
4
16
 
5
17
  ### Patch Changes
@@ -11,7 +11,7 @@ var _ModalContent = require("./ModalContent");
11
11
  * @jsxRuntime classic
12
12
  * @jsx jsx
13
13
  */
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
15
15
 
16
16
  var Modal = function Modal(_ref) {
17
17
  var formatting = _ref.formatting;
@@ -23,7 +23,7 @@ var _utils = require("./utils");
23
23
  */
24
24
  /** @jsxFrag */
25
25
 
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
27
27
 
28
28
  var ModalContent = exports.ModalContent = function ModalContent(_ref) {
29
29
  var formatting = _ref.formatting,
@@ -16,7 +16,7 @@ var _utils = require("./utils");
16
16
  * @jsxRuntime classic
17
17
  * @jsx jsx
18
18
  */
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
20
20
 
21
21
  var ModalFooter = function ModalFooter() {
22
22
  return (
@@ -18,6 +18,7 @@ var _styles = require("./styles");
18
18
  * @jsxRuntime classic
19
19
  * @jsx jsx
20
20
  */
21
+
21
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
23
 
23
24
  var toolbarFocusStyles = (0, _react.css)({
@@ -71,4 +71,5 @@ var HelpDialog = function HelpDialog(_ref) {
71
71
  formatting: formatting
72
72
  })) : null);
73
73
  };
74
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(HelpDialog);
74
+ var _default_1 = (0, _reactIntlNext.injectIntl)(HelpDialog);
75
+ var _default = exports.default = _default_1;
@@ -13,7 +13,7 @@ var _styles = require("./styles");
13
13
  * @jsxRuntime classic
14
14
  * @jsx jsx
15
15
  */
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
17
17
 
18
18
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
19
 
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
7
  import { useModal } from '@atlaskit/modal-dialog';
8
8
  import { ModalContent } from './ModalContent';
@@ -5,7 +5,7 @@
5
5
  /** @jsxFrag */
6
6
  import { Fragment } from 'react';
7
7
 
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { jsx } from '@emotion/react';
10
10
  import { FormattedMessage, useIntl } from 'react-intl-next';
11
11
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { jsx } from '@emotion/react';
8
8
  import { FormattedMessage } from 'react-intl-next';
9
9
  import { openHelp } from '@atlaskit/editor-common/keymaps';
@@ -2,6 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+
5
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { jsx, css } from '@emotion/react';
7
8
  import { FormattedMessage, injectIntl } from 'react-intl-next';
@@ -67,4 +67,5 @@ const HelpDialog = ({
67
67
  formatting: formatting
68
68
  })) : null);
69
69
  };
70
- export default injectIntl(HelpDialog);
70
+ const _default_1 = injectIntl(HelpDialog);
71
+ export default _default_1;
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
7
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
8
8
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
7
  import { useModal } from '@atlaskit/modal-dialog';
8
8
  import { ModalContent } from './ModalContent';
@@ -5,7 +5,7 @@
5
5
  /** @jsxFrag */
6
6
  import { Fragment } from 'react';
7
7
 
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { jsx } from '@emotion/react';
10
10
  import { FormattedMessage, useIntl } from 'react-intl-next';
11
11
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { jsx } from '@emotion/react';
8
8
  import { FormattedMessage } from 'react-intl-next';
9
9
  import { openHelp } from '@atlaskit/editor-common/keymaps';
@@ -2,6 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+
5
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { jsx, css } from '@emotion/react';
7
8
  import { FormattedMessage, injectIntl } from 'react-intl-next';
@@ -61,4 +61,5 @@ var HelpDialog = function HelpDialog(_ref) {
61
61
  formatting: formatting
62
62
  })) : null);
63
63
  };
64
- export default injectIntl(HelpDialog);
64
+ var _default_1 = injectIntl(HelpDialog);
65
+ export default _default_1;
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
7
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
8
8
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
@@ -1,2 +1,2 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- export declare function createPlugin(dispatch: Function, imageEnabled: boolean, aiEnabled: boolean): SafePlugin<any>;
2
+ export declare function createPlugin(dispatch: Function, imageEnabled: boolean, aiEnabled: boolean): SafePlugin;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const pluginKey: PluginKey<any>;
2
+ export declare const pluginKey: PluginKey;
@@ -1,3 +1,4 @@
1
+ import type { ComponentType, PropsWithChildren } from 'react';
1
2
  import Loadable from 'react-loadable';
2
3
  import type { HelpDialogProps } from './index';
3
- export declare const HelpDialogLoader: import("react").ComponentType<import("react").PropsWithChildren<HelpDialogProps>> & Loadable.LoadableComponent;
4
+ export declare const HelpDialogLoader: ComponentType<PropsWithChildren<HelpDialogProps>> & Loadable.LoadableComponent;
@@ -1,9 +1,14 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import type { ComponentType, FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
3
8
  interface ModalHeaderProps extends WrappedComponentProps {
4
9
  onClose: OnCloseHandler | undefined;
5
10
  }
6
- declare const ModalHeader: import("react").FC<import("react-intl-next").WithIntlProps<ModalHeaderProps>> & {
7
- WrappedComponent: import("react").ComponentType<ModalHeaderProps>;
11
+ declare const ModalHeader: FC<WithIntlProps<ModalHeaderProps>> & {
12
+ WrappedComponent: ComponentType<ModalHeaderProps>;
8
13
  };
9
14
  export default ModalHeader;
@@ -1,4 +1,9 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ComponentType, type FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
9
  import type { HelpDialogPlugin } from '../helpDialogPluginType';
@@ -7,7 +12,7 @@ export interface HelpDialogProps {
7
12
  pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
8
13
  quickInsertEnabled?: boolean;
9
14
  }
10
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
11
- WrappedComponent: import("react").ComponentType<HelpDialogProps & WrappedComponentProps>;
15
+ declare const _default_1: FC<WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
16
+ WrappedComponent: ComponentType<HelpDialogProps & WrappedComponentProps>;
12
17
  };
13
- export default _default;
18
+ export default _default_1;
@@ -14,8 +14,8 @@ export declare const row: SerializedStyles;
14
14
  export declare const dialogHeader: {
15
15
  '&': {
16
16
  fontSize: string;
17
- fontWeight: "var(--ds-font-weight-regular)";
18
- color: "var(--ds-text-subtle)";
17
+ fontWeight: 'var(--ds-font-weight-regular)';
18
+ color: 'var(--ds-text-subtle)';
19
19
  letterSpacing: string;
20
20
  lineHeight: number;
21
21
  };
@@ -1,2 +1,2 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- export declare function createPlugin(dispatch: Function, imageEnabled: boolean, aiEnabled: boolean): SafePlugin<any>;
2
+ export declare function createPlugin(dispatch: Function, imageEnabled: boolean, aiEnabled: boolean): SafePlugin;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const pluginKey: PluginKey<any>;
2
+ export declare const pluginKey: PluginKey;
@@ -1,3 +1,4 @@
1
+ import type { ComponentType, PropsWithChildren } from 'react';
1
2
  import Loadable from 'react-loadable';
2
3
  import type { HelpDialogProps } from './index';
3
- export declare const HelpDialogLoader: import("react").ComponentType<import("react").PropsWithChildren<HelpDialogProps>> & Loadable.LoadableComponent;
4
+ export declare const HelpDialogLoader: ComponentType<PropsWithChildren<HelpDialogProps>> & Loadable.LoadableComponent;
@@ -1,9 +1,14 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import type { ComponentType, FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
3
8
  interface ModalHeaderProps extends WrappedComponentProps {
4
9
  onClose: OnCloseHandler | undefined;
5
10
  }
6
- declare const ModalHeader: import("react").FC<import("react-intl-next").WithIntlProps<ModalHeaderProps>> & {
7
- WrappedComponent: import("react").ComponentType<ModalHeaderProps>;
11
+ declare const ModalHeader: FC<WithIntlProps<ModalHeaderProps>> & {
12
+ WrappedComponent: ComponentType<ModalHeaderProps>;
8
13
  };
9
14
  export default ModalHeader;
@@ -1,4 +1,9 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ComponentType, type FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
9
  import type { HelpDialogPlugin } from '../helpDialogPluginType';
@@ -7,7 +12,7 @@ export interface HelpDialogProps {
7
12
  pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
8
13
  quickInsertEnabled?: boolean;
9
14
  }
10
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
11
- WrappedComponent: import("react").ComponentType<HelpDialogProps & WrappedComponentProps>;
15
+ declare const _default_1: FC<WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
16
+ WrappedComponent: ComponentType<HelpDialogProps & WrappedComponentProps>;
12
17
  };
13
- export default _default;
18
+ export default _default_1;
@@ -14,8 +14,8 @@ export declare const row: SerializedStyles;
14
14
  export declare const dialogHeader: {
15
15
  '&': {
16
16
  fontSize: string;
17
- fontWeight: "var(--ds-font-weight-regular)";
18
- color: "var(--ds-text-subtle)";
17
+ fontWeight: 'var(--ds-font-weight-regular)';
18
+ color: 'var(--ds-text-subtle)';
19
19
  letterSpacing: string;
20
20
  lineHeight: number;
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "7.2.10",
3
+ "version": "8.0.1",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,8 +29,8 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-plugin-analytics": "^7.0.0",
33
- "@atlaskit/editor-plugin-quick-insert": "^7.5.0",
32
+ "@atlaskit/editor-plugin-analytics": "^8.0.0",
33
+ "@atlaskit/editor-plugin-quick-insert": "^8.0.0",
34
34
  "@atlaskit/editor-prosemirror": "^7.3.0",
35
35
  "@atlaskit/editor-shared-styles": "^3.10.0",
36
36
  "@atlaskit/heading": "^5.3.0",
@@ -39,8 +39,8 @@
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^18.0.0",
41
41
  "@atlaskit/theme": "^22.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^35.0.0",
43
- "@atlaskit/tokens": "^11.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
43
+ "@atlaskit/tokens": "^11.1.0",
44
44
  "@atlaskit/tooltip": "^20.14.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1",
@@ -51,7 +51,7 @@
51
51
  "@testing-library/react": "^16.3.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^111.30.0",
54
+ "@atlaskit/editor-common": "^112.0.0",
55
55
  "react": "^18.2.0"
56
56
  },
57
57
  "techstack": {