@atlaskit/editor-plugin-highlight 7.4.1 → 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-highlight
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.4.1
4
16
 
5
17
  ### Patch Changes
@@ -4,7 +4,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
4
4
  type HighlightPaddingPluginState = {
5
5
  decorationSet: DecorationSet;
6
6
  };
7
- export declare const highlightPaddingPluginKey: PluginKey<any>;
7
+ export declare const highlightPaddingPluginKey: PluginKey;
8
8
  /**
9
9
  * Plugin to add padding decorations around highlighted text.
10
10
  *
@@ -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 DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
3
8
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
9
  import { type EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -8,7 +13,7 @@ type FloatingToolbarHighlightColorProps = {
8
13
  editorView: EditorView | undefined;
9
14
  pluginInjectionApi: ExtractInjectionAPI<HighlightPlugin> | undefined;
10
15
  } & WrappedComponentProps;
11
- export declare const FloatingToolbarHighlightColorWithIntl: import("react").FC<import("react-intl-next").WithIntlProps<FloatingToolbarHighlightColorProps>> & {
12
- WrappedComponent: import("react").ComponentType<FloatingToolbarHighlightColorProps>;
16
+ export declare const FloatingToolbarHighlightColorWithIntl: FC<WithIntlProps<FloatingToolbarHighlightColorProps>> & {
17
+ WrappedComponent: ComponentType<FloatingToolbarHighlightColorProps>;
13
18
  };
14
19
  export {};
@@ -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 { HighlightPlugin } from '../highlightPluginType';
@@ -11,7 +16,7 @@ type PrimaryToolbarHighlightColorProps = {
11
16
  popupsMountPoint?: HTMLElement;
12
17
  popupsScrollableElement?: HTMLElement;
13
18
  } & WrappedComponentProps;
14
- export declare const PrimaryToolbarHighlightColorWithIntl: import("react").FC<import("react-intl-next").WithIntlProps<PrimaryToolbarHighlightColorProps>> & {
15
- WrappedComponent: import("react").ComponentType<PrimaryToolbarHighlightColorProps>;
19
+ export declare const PrimaryToolbarHighlightColorWithIntl: FC<WithIntlProps<PrimaryToolbarHighlightColorProps>> & {
20
+ WrappedComponent: ComponentType<PrimaryToolbarHighlightColorProps>;
16
21
  };
17
22
  export {};
@@ -13,7 +13,7 @@ export declare const useDropdownEvents: (args: UseDropdownEventArgs) => {
13
13
  handleKeyDown: (event: React.KeyboardEvent) => void;
14
14
  handleClickOutside: () => void;
15
15
  handleEscapeKeydown: () => void;
16
- handleColorChange: ({ color, inputMethod, }: {
16
+ handleColorChange: ({ color, inputMethod }: {
17
17
  color: string;
18
18
  inputMethod: INPUT_METHOD;
19
19
  }) => void;
@@ -4,7 +4,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
4
4
  type HighlightPaddingPluginState = {
5
5
  decorationSet: DecorationSet;
6
6
  };
7
- export declare const highlightPaddingPluginKey: PluginKey<any>;
7
+ export declare const highlightPaddingPluginKey: PluginKey;
8
8
  /**
9
9
  * Plugin to add padding decorations around highlighted text.
10
10
  *
@@ -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 DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
3
8
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
9
  import { type EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -8,7 +13,7 @@ type FloatingToolbarHighlightColorProps = {
8
13
  editorView: EditorView | undefined;
9
14
  pluginInjectionApi: ExtractInjectionAPI<HighlightPlugin> | undefined;
10
15
  } & WrappedComponentProps;
11
- export declare const FloatingToolbarHighlightColorWithIntl: import("react").FC<import("react-intl-next").WithIntlProps<FloatingToolbarHighlightColorProps>> & {
12
- WrappedComponent: import("react").ComponentType<FloatingToolbarHighlightColorProps>;
16
+ export declare const FloatingToolbarHighlightColorWithIntl: FC<WithIntlProps<FloatingToolbarHighlightColorProps>> & {
17
+ WrappedComponent: ComponentType<FloatingToolbarHighlightColorProps>;
13
18
  };
14
19
  export {};
@@ -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 { HighlightPlugin } from '../highlightPluginType';
@@ -11,7 +16,7 @@ type PrimaryToolbarHighlightColorProps = {
11
16
  popupsMountPoint?: HTMLElement;
12
17
  popupsScrollableElement?: HTMLElement;
13
18
  } & WrappedComponentProps;
14
- export declare const PrimaryToolbarHighlightColorWithIntl: import("react").FC<import("react-intl-next").WithIntlProps<PrimaryToolbarHighlightColorProps>> & {
15
- WrappedComponent: import("react").ComponentType<PrimaryToolbarHighlightColorProps>;
19
+ export declare const PrimaryToolbarHighlightColorWithIntl: FC<WithIntlProps<PrimaryToolbarHighlightColorProps>> & {
20
+ WrappedComponent: ComponentType<PrimaryToolbarHighlightColorProps>;
16
21
  };
17
22
  export {};
@@ -13,7 +13,7 @@ export declare const useDropdownEvents: (args: UseDropdownEventArgs) => {
13
13
  handleKeyDown: (event: React.KeyboardEvent) => void;
14
14
  handleClickOutside: () => void;
15
15
  handleEscapeKeydown: () => void;
16
- handleColorChange: ({ color, inputMethod, }: {
16
+ handleColorChange: ({ color, inputMethod }: {
17
17
  color: string;
18
18
  inputMethod: INPUT_METHOD;
19
19
  }) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-highlight",
3
- "version": "7.4.1",
3
+ "version": "8.0.1",
4
4
  "description": "Highlight plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,11 +35,11 @@
35
35
  "@atlaskit/adf-schema": "^52.2.0",
36
36
  "@atlaskit/css": "^0.19.0",
37
37
  "@atlaskit/editor-palette": "^2.1.0",
38
- "@atlaskit/editor-plugin-analytics": "^7.0.0",
39
- "@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
40
- "@atlaskit/editor-plugin-selection-toolbar": "^8.1.0",
41
- "@atlaskit/editor-plugin-text-formatting": "^7.2.0",
42
- "@atlaskit/editor-plugin-toolbar": "^4.1.0",
38
+ "@atlaskit/editor-plugin-analytics": "^8.0.0",
39
+ "@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
40
+ "@atlaskit/editor-plugin-selection-toolbar": "^9.0.0",
41
+ "@atlaskit/editor-plugin-text-formatting": "^8.0.0",
42
+ "@atlaskit/editor-plugin-toolbar": "^5.0.0",
43
43
  "@atlaskit/editor-prosemirror": "^7.3.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.10.0",
45
45
  "@atlaskit/editor-tables": "^2.9.0",
@@ -49,13 +49,13 @@
49
49
  "@atlaskit/icon": "^32.0.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
51
  "@atlaskit/primitives": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^35.0.0",
53
- "@atlaskit/tokens": "^11.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
53
+ "@atlaskit/tokens": "^11.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^111.30.0",
58
+ "@atlaskit/editor-common": "^112.0.0",
59
59
  "react": "^18.2.0",
60
60
  "react-intl-next": "npm:react-intl@^5.18.1"
61
61
  },