@atlaskit/editor-plugin-status 2.6.7 → 2.7.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,17 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.6.7
4
16
 
5
17
  ### Patch Changes
@@ -134,10 +134,7 @@ var setFocusOnStatusInput = exports.setFocusOnStatusInput = function setFocusOnS
134
134
  return true;
135
135
  };
136
136
  };
137
- var handleClosingByArrows = function handleClosingByArrows(closingMethod, state, showStatusPickerAt, tr
138
- // Ignored via go/ees005
139
- // eslint-disable-next-line @typescript-eslint/max-params
140
- ) {
137
+ var handleClosingByArrows = function handleClosingByArrows(closingMethod, state, showStatusPickerAt, tr) {
141
138
  if (closingMethod === 'arrowLeft') {
142
139
  // put cursor right before status Lozenge
143
140
  tr = tr.setSelection(_state.Selection.near(state.tr.doc.resolve(showStatusPickerAt), -1));
@@ -116,10 +116,7 @@ export const setFocusOnStatusInput = () => (state, dispatch) => {
116
116
  dispatch(tr);
117
117
  return true;
118
118
  };
119
- const handleClosingByArrows = (closingMethod, state, showStatusPickerAt, tr
120
- // Ignored via go/ees005
121
- // eslint-disable-next-line @typescript-eslint/max-params
122
- ) => {
119
+ const handleClosingByArrows = (closingMethod, state, showStatusPickerAt, tr) => {
123
120
  if (closingMethod === 'arrowLeft') {
124
121
  // put cursor right before status Lozenge
125
122
  tr = tr.setSelection(Selection.near(state.tr.doc.resolve(showStatusPickerAt), -1));
@@ -127,10 +127,7 @@ export var setFocusOnStatusInput = function setFocusOnStatusInput() {
127
127
  return true;
128
128
  };
129
129
  };
130
- var handleClosingByArrows = function handleClosingByArrows(closingMethod, state, showStatusPickerAt, tr
131
- // Ignored via go/ees005
132
- // eslint-disable-next-line @typescript-eslint/max-params
133
- ) {
130
+ var handleClosingByArrows = function handleClosingByArrows(closingMethod, state, showStatusPickerAt, tr) {
134
131
  if (closingMethod === 'arrowLeft') {
135
132
  // put cursor right before status Lozenge
136
133
  tr = tr.setSelection(Selection.near(state.tr.doc.resolve(showStatusPickerAt), -1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "2.6.7",
3
+ "version": "2.7.0",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,16 +32,16 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/analytics-next": "^10.2.0",
36
- "@atlaskit/editor-common": "^99.3.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.10.0",
35
+ "@atlaskit/analytics-next": "^10.3.0",
36
+ "@atlaskit/editor-common": "^99.6.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.11.0",
38
38
  "@atlaskit/editor-prosemirror": "6.2.1",
39
39
  "@atlaskit/editor-shared-styles": "^3.2.0",
40
- "@atlaskit/icon": "^23.4.0",
40
+ "@atlaskit/icon": "^23.5.0",
41
41
  "@atlaskit/platform-feature-flags": "^0.3.0",
42
- "@atlaskit/status": "^1.8.0",
43
- "@atlaskit/theme": "^14.0.0",
44
- "@atlaskit/tokens": "^3.1.0",
42
+ "@atlaskit/status": "^1.9.0",
43
+ "@atlaskit/theme": "^14.1.0",
44
+ "@atlaskit/tokens": "^3.3.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
@@ -54,7 +54,7 @@
54
54
  "@af/visual-regression": "*",
55
55
  "@atlaskit/ssr": "*",
56
56
  "@atlaskit/visual-regression": "*",
57
- "@testing-library/react": "^12.1.5",
57
+ "@testing-library/react": "^13.4.0",
58
58
  "raf-stub": "^2.0.1",
59
59
  "typescript": "~5.4.2"
60
60
  },