@atlaskit/editor-plugin-type-ahead 17.0.5 → 17.0.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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 17.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c5ff0c329170a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5ff0c329170a) -
|
|
8
|
+
Add a dedicated createSurfaceContext entrypoint and use it in editor runtime packages.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 17.0.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -15,7 +15,7 @@ var _reactIntl = require("react-intl");
|
|
|
15
15
|
var _typeAheadSurfaceContext = require("@atlaskit/editor-common/type-ahead-surface-context");
|
|
16
16
|
var _typeAheadIsSectionOverflowItemKey = require("@atlaskit/editor-common/type-ahead-is-section-overflow-item-key");
|
|
17
17
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
18
|
-
var
|
|
18
|
+
var _createSurfaceContext = require("@atlaskit/editor-ui-control-model/create-surface-context");
|
|
19
19
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
21
|
var _InputQuery = require("../InputQuery");
|
|
@@ -63,7 +63,7 @@ var RegisteredTypeAheadMenu = exports.RegisteredTypeAheadMenu = function Registe
|
|
|
63
63
|
_useState2 = (0, _slicedToArray2.default)(_useState, 1),
|
|
64
64
|
typeAheadSurfaceContext = _useState2[0];
|
|
65
65
|
var surfaceContext = (0, _react.useMemo)(function () {
|
|
66
|
-
return (0,
|
|
66
|
+
return (0, _createSurfaceContext.createSurfaceContext)(_typeAheadSurfaceContext.TYPE_AHEAD_SURFACE_CONTEXT, typeAheadSurfaceContext);
|
|
67
67
|
}, [typeAheadSurfaceContext]);
|
|
68
68
|
var _useState3 = (0, _react.useState)(0),
|
|
69
69
|
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
@@ -6,7 +6,7 @@ import { useIntl } from 'react-intl';
|
|
|
6
6
|
import { TYPE_AHEAD_SURFACE_CONTEXT } from '@atlaskit/editor-common/type-ahead-surface-context';
|
|
7
7
|
import { isSectionOverflowItemKey } from '@atlaskit/editor-common/type-ahead-is-section-overflow-item-key';
|
|
8
8
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
9
|
-
import { createSurfaceContext } from '@atlaskit/editor-ui-control-model/
|
|
9
|
+
import { createSurfaceContext } from '@atlaskit/editor-ui-control-model/create-surface-context';
|
|
10
10
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
11
11
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { InputQuery } from '../InputQuery';
|
|
@@ -7,7 +7,7 @@ import { useIntl } from 'react-intl';
|
|
|
7
7
|
import { TYPE_AHEAD_SURFACE_CONTEXT } from '@atlaskit/editor-common/type-ahead-surface-context';
|
|
8
8
|
import { isSectionOverflowItemKey } from '@atlaskit/editor-common/type-ahead-is-section-overflow-item-key';
|
|
9
9
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
10
|
-
import { createSurfaceContext } from '@atlaskit/editor-ui-control-model/
|
|
10
|
+
import { createSurfaceContext } from '@atlaskit/editor-ui-control-model/create-surface-context';
|
|
11
11
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
12
12
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import { InputQuery } from '../InputQuery';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.6",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
32
32
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
33
|
-
"@atlaskit/editor-ui-control-model": "^2.
|
|
33
|
+
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
34
34
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
35
35
|
"@atlaskit/heading": "^7.1.0",
|
|
36
36
|
"@atlaskit/icon": "^37.5.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/primitives": "^22.4.0",
|
|
42
42
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
43
43
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^164.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^164.1.0",
|
|
45
45
|
"@atlaskit/tokens": "^16.8.0",
|
|
46
46
|
"@atlaskit/visually-hidden": "^4.3.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"w3c-keyname": "^2.1.8"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^120.
|
|
56
|
+
"@atlaskit/editor-common": "^120.6.0",
|
|
57
57
|
"react": "^18.2.0 || ^19.2.0",
|
|
58
58
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|