@atlaskit/editor-plugin-type-ahead 8.2.5 → 8.2.6
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 8.2.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`73b2fc243f544`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73b2fc243f544) -
|
|
8
|
+
Cleaning up getBrowserInfo which was behind experiment platform_editor_hydratable_ui and is now
|
|
9
|
+
rolled out
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 8.2.5
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -253,7 +253,7 @@ var InputQuery = exports.InputQuery = /*#__PURE__*/_react.default.memo(function
|
|
|
253
253
|
if (!ref.current) {
|
|
254
254
|
return;
|
|
255
255
|
}
|
|
256
|
-
var browser = (0,
|
|
256
|
+
var browser = (0, _browser.getBrowserInfo)();
|
|
257
257
|
var element = ref.current;
|
|
258
258
|
var _ref3 = (0, _utils2.getPluginState)(editorView.state) || {},
|
|
259
259
|
removePrefixTriggerOnCancel = _ref3.removePrefixTriggerOnCancel;
|
|
@@ -8,7 +8,7 @@ import React, { Fragment, useCallback, useLayoutEffect, useMemo, useRef, useStat
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { useIntl } from 'react-intl-next';
|
|
10
10
|
import { keyName as keyNameNormalized } from 'w3c-keyname';
|
|
11
|
-
import {
|
|
11
|
+
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
12
12
|
import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
|
|
13
13
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
14
14
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
@@ -237,7 +237,7 @@ export const InputQuery = /*#__PURE__*/React.memo(({
|
|
|
237
237
|
if (!ref.current) {
|
|
238
238
|
return;
|
|
239
239
|
}
|
|
240
|
-
const browser =
|
|
240
|
+
const browser = getBrowserInfo();
|
|
241
241
|
const {
|
|
242
242
|
current: element
|
|
243
243
|
} = ref;
|
|
@@ -9,7 +9,7 @@ import React, { Fragment, useCallback, useLayoutEffect, useMemo, useRef, useStat
|
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import { keyName as keyNameNormalized } from 'w3c-keyname';
|
|
12
|
-
import {
|
|
12
|
+
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
13
13
|
import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
|
|
14
14
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
15
15
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
@@ -243,7 +243,7 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
243
243
|
if (!ref.current) {
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
|
-
var browser =
|
|
246
|
+
var browser = getBrowserInfo();
|
|
247
247
|
var element = ref.current;
|
|
248
248
|
var _ref3 = getPluginState(editorView.state) || {},
|
|
249
249
|
removePrefixTriggerOnCancel = _ref3.removePrefixTriggerOnCancel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.6",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/primitives": "^19.0.0",
|
|
45
45
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^62.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^13.0.0",
|
|
49
49
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"w3c-keyname": "^2.1.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^112.
|
|
59
|
+
"@atlaskit/editor-common": "^112.21.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|