@atlaskit/editor-plugin-status 8.1.29 → 9.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-status
2
2
 
3
+ ## 9.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.1.29
4
16
 
5
17
  ### Patch Changes
@@ -351,6 +351,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
351
351
  }, intl.formatMessage(_messages.statusMessages.statusPickerOpenedAlert)), (0, _react2.jsx)(_uiReact.OutsideClickTargetRefContext.Consumer, null, this.renderWithSetOutsideClickTargetRef.bind(this)));
352
352
  }
353
353
  }]);
354
- }(_react.default.Component);
354
+ }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
355
355
  var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = (0, _reactIntlNext.injectIntl)(StatusPickerWithIntl);
356
- var _default = exports.default = (0, _analyticsNext.withAnalyticsEvents)()(StatusPickerWithoutAnalytcs);
356
+ var _default_1 = (0, _analyticsNext.withAnalyticsEvents)()(StatusPickerWithoutAnalytcs);
357
+ var _default = exports.default = _default_1;
@@ -325,5 +325,8 @@ class StatusPickerWithIntl extends React.Component {
325
325
  }, intl.formatMessage(messages.statusPickerOpenedAlert)), jsx(OutsideClickTargetRefContext.Consumer, null, this.renderWithSetOutsideClickTargetRef.bind(this)));
326
326
  }
327
327
  }
328
+
329
+ // eslint-disable-next-line @typescript-eslint/ban-types
328
330
  export const StatusPickerWithoutAnalytcs = injectIntl(StatusPickerWithIntl);
329
- export default withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
331
+ const _default_1 = withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
332
+ export default _default_1;
@@ -348,6 +348,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
348
348
  }, intl.formatMessage(messages.statusPickerOpenedAlert)), jsx(OutsideClickTargetRefContext.Consumer, null, this.renderWithSetOutsideClickTargetRef.bind(this)));
349
349
  }
350
350
  }]);
351
- }(React.Component);
351
+ }(React.Component); // eslint-disable-next-line @typescript-eslint/ban-types
352
352
  export var StatusPickerWithoutAnalytcs = injectIntl(StatusPickerWithIntl);
353
- export default withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
353
+ var _default_1 = withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
354
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types';
3
3
  import type { StatusPluginOptions } from '../types';
4
- declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin<any>;
4
+ declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin;
5
5
  export default createPlugin;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type WrappedComponentProps } from 'react-intl-next';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
3
+ import type { CreateUIAnalyticsEvent, WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  import type { ColorType as Color } from '@atlaskit/status/picker';
@@ -40,10 +40,10 @@ export interface State {
40
40
  localId?: string;
41
41
  text: string;
42
42
  }
43
- export declare const StatusPickerWithoutAnalytcs: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
43
+ export declare const StatusPickerWithoutAnalytcs: React.FC<WithIntlProps<Props>> & {
44
44
  WrappedComponent: React.ComponentType<Props>;
45
45
  };
46
- declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Props, "intl"> & {
46
+ declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<Props, 'intl'> & {
47
47
  forwardedRef?: React.Ref<any>;
48
- }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
49
- export default _default;
48
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
49
+ export default _default_1;
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types';
3
3
  import type { StatusPluginOptions } from '../types';
4
- declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin<any>;
4
+ declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin;
5
5
  export default createPlugin;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type WrappedComponentProps } from 'react-intl-next';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
3
+ import type { CreateUIAnalyticsEvent, WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  import type { ColorType as Color } from '@atlaskit/status/picker';
@@ -40,10 +40,10 @@ export interface State {
40
40
  localId?: string;
41
41
  text: string;
42
42
  }
43
- export declare const StatusPickerWithoutAnalytcs: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
43
+ export declare const StatusPickerWithoutAnalytcs: React.FC<WithIntlProps<Props>> & {
44
44
  WrappedComponent: React.ComponentType<Props>;
45
45
  };
46
- declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Props, "intl"> & {
46
+ declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<Props, 'intl'> & {
47
47
  forwardedRef?: React.Ref<any>;
48
- }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
49
- export default _default;
48
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
49
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "8.1.29",
3
+ "version": "9.0.1",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,21 +32,21 @@
32
32
  "@atlaskit/adf-schema": "^52.2.0",
33
33
  "@atlaskit/analytics-next": "^11.1.0",
34
34
  "@atlaskit/browser-apis": "^0.0.1",
35
- "@atlaskit/editor-plugin-analytics": "^7.0.0",
35
+ "@atlaskit/editor-plugin-analytics": "^8.0.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
37
  "@atlaskit/editor-shared-styles": "^3.10.0",
38
38
  "@atlaskit/icon": "^32.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/status": "^3.1.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/visually-hidden": "^3.0.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@atlaskit/editor-common": "^111.30.0",
49
+ "@atlaskit/editor-common": "^112.0.0",
50
50
  "react": "^18.2.0",
51
51
  "react-dom": "^18.2.0",
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"