@atlaskit/editor-plugin-status 17.1.5 → 17.2.0

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,22 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 17.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
8
+ Remove stale API report artifacts from published Platform packages.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 17.1.6
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 17.1.5
4
21
 
5
22
  ### Patch Changes
@@ -505,7 +505,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
505
505
  (_suggestedStatusButto = suggestedStatusButtons[nextIndex]) === null || _suggestedStatusButto === void 0 || _suggestedStatusButto.focus();
506
506
  }
507
507
  }]);
508
- }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
508
+ }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
509
509
  var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = (0, _reactIntl.injectIntl)(StatusPickerWithIntl);
510
510
  var _default_1 = (0, _withAnalyticsEvents.default)()(StatusPickerWithoutAnalytcs);
511
511
  var _default = exports.default = _default_1;
@@ -471,7 +471,7 @@ class StatusPickerWithIntl extends React.Component {
471
471
  }
472
472
  }
473
473
 
474
- // eslint-disable-next-line @typescript-eslint/ban-types
474
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
475
475
  export const StatusPickerWithoutAnalytcs = injectIntl(StatusPickerWithIntl);
476
476
  const _default_1 = withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
477
477
  export default _default_1;
@@ -502,7 +502,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
502
502
  (_suggestedStatusButto = suggestedStatusButtons[nextIndex]) === null || _suggestedStatusButto === void 0 || _suggestedStatusButto.focus();
503
503
  }
504
504
  }]);
505
- }(React.Component); // eslint-disable-next-line @typescript-eslint/ban-types
505
+ }(React.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
506
506
  export var StatusPickerWithoutAnalytcs = injectIntl(StatusPickerWithIntl);
507
507
  var _default_1 = withAnalyticsEvents()(StatusPickerWithoutAnalytcs);
508
508
  export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "17.1.5",
3
+ "version": "17.2.0",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,26 +22,26 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^57.2.0",
25
- "@atlaskit/analytics-next": "^12.4.0",
25
+ "@atlaskit/analytics-next": "^12.5.0",
26
26
  "@atlaskit/browser-apis": "^1.2.0",
27
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
27
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
28
28
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
29
29
  "@atlaskit/editor-prosemirror": "^8.0.0",
30
- "@atlaskit/editor-shared-styles": "^4.0.0",
30
+ "@atlaskit/editor-shared-styles": "^4.1.0",
31
31
  "@atlaskit/editor-ui-control-model": "^2.9.0",
32
- "@atlaskit/icon": "^37.5.0",
32
+ "@atlaskit/icon": "^37.6.0",
33
33
  "@atlaskit/icon-lab": "^7.7.0",
34
34
  "@atlaskit/platform-feature-experiments": "^0.3.0",
35
- "@atlaskit/platform-feature-flags": "^2.1.0",
36
- "@atlaskit/status": "^5.8.0",
37
- "@atlaskit/tmp-editor-statsig": "^167.0.0",
38
- "@atlaskit/tokens": "^16.9.0",
39
- "@atlaskit/visually-hidden": "^4.3.0",
35
+ "@atlaskit/platform-feature-flags": "^2.2.0",
36
+ "@atlaskit/status": "^5.9.0",
37
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
38
+ "@atlaskit/tokens": "^16.10.0",
39
+ "@atlaskit/visually-hidden": "^4.4.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/react": "^11.7.1"
42
42
  },
43
43
  "peerDependencies": {
44
- "@atlaskit/editor-common": "^120.7.0",
44
+ "@atlaskit/editor-common": "^120.9.0",
45
45
  "react": "^18.2.0 || ^19.2.0",
46
46
  "react-dom": "^18.2.0 || ^19.2.0",
47
47
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
package/report.api.md DELETED
@@ -1,107 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-status"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
20
- import type { Color } from '@atlaskit/status/element';
21
- import type { Command } from '@atlaskit/editor-common/types';
22
- import type { EditorCommand } from '@atlaskit/editor-common/types';
23
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
24
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
25
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
26
- import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
27
-
28
- // @public (undocumented)
29
- enum closingMethods {
30
- // (undocumented)
31
- ArrowLeft = 'arrowLeft',
32
- // (undocumented)
33
- ArrowRight = 'arrowRight',
34
- }
35
-
36
- // @public (undocumented)
37
- type ClosingPayload = {
38
- closingMethod: closingMethods;
39
- };
40
-
41
- // @public (undocumented)
42
- const commitStatusPicker: (closingPayload?: ClosingPayload) => (editorView: EditorView) => void;
43
-
44
- // @public (undocumented)
45
- const removeStatus: (showStatusPickerAt: number) => EditorCommand;
46
-
47
- // @public (undocumented)
48
- export type StatusPlugin = NextEditorPlugin<
49
- 'status',
50
- {
51
- dependencies: [OptionalPlugin<AnalyticsPlugin>];
52
- pluginConfiguration: StatusPluginOptions | undefined;
53
- actions: {
54
- commitStatusPicker: typeof commitStatusPicker;
55
- updateStatus: UpdateStatus;
56
- };
57
- commands: {
58
- removeStatus: typeof removeStatus;
59
- };
60
- }
61
- >;
62
-
63
- // @public (undocumented)
64
- export const statusPlugin: StatusPlugin;
65
-
66
- // @public (undocumented)
67
- interface StatusPluginOptions {
68
- // (undocumented)
69
- allowZeroWidthSpaceAfter?: boolean;
70
- // (undocumented)
71
- menuDisabled: boolean;
72
- }
73
-
74
- // @public (undocumented)
75
- export type StatusState = {
76
- isNew: boolean;
77
- showStatusPickerAt: null | number;
78
- focusStatusInput?: boolean;
79
- };
80
-
81
- // @public (undocumented)
82
- export type StatusType = {
83
- color: Color;
84
- text: string;
85
- localId?: string;
86
- };
87
-
88
- // @public (undocumented)
89
- type UpdateStatus = (inputMethod: TOOLBAR_MENU_TYPE, status?: StatusType) => Command;
90
-
91
- // (No @packageDocumentation comment for this package)
92
- ```
93
-
94
- <!--SECTION END: Main Entry Types-->
95
-
96
- ### Peer Dependencies
97
-
98
- <!--SECTION START: Peer Dependencies-->
99
-
100
- ```json
101
- {
102
- "react": "^16.8.0",
103
- "react-intl": "npm:react-intl@^5.18.1"
104
- }
105
- ```
106
-
107
- <!--SECTION END: Peer Dependencies-->