@atlaskit/editor-plugin-type-ahead 2.7.6 → 2.7.8
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 2.7.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#161707](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161707)
|
|
8
|
+
[`e43a999ba12ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e43a999ba12ab) -
|
|
9
|
+
[ED-28087] Fix typeahead pre-emptively selecting from menu when pressing space
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 2.7.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 2.7.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -14,12 +14,12 @@ var _TypeAheadMenu = require("./modern/TypeAheadMenu");
|
|
|
14
14
|
var _TypeAheadMenu2 = require("./TypeAheadMenu");
|
|
15
15
|
var useSharedState = (0, _hooks.sharedPluginStateHookMigratorFactory)(function (api) {
|
|
16
16
|
var triggerHandler = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.triggerHandler');
|
|
17
|
-
var items = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.items');
|
|
18
17
|
var errorInfo = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.errorInfo');
|
|
19
18
|
var decorationElement = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.decorationElement');
|
|
20
19
|
var decorationSet = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.decorationSet');
|
|
21
20
|
var query = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.query');
|
|
22
21
|
var selectedIndex = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.selectedIndex');
|
|
22
|
+
var items = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'typeAhead.items');
|
|
23
23
|
return {
|
|
24
24
|
triggerHandler: triggerHandler,
|
|
25
25
|
items: items,
|
|
@@ -7,12 +7,12 @@ import { TypeAheadMenu as TypeAheadMenuModern } from './modern/TypeAheadMenu';
|
|
|
7
7
|
import { TypeAheadMenu } from './TypeAheadMenu';
|
|
8
8
|
const useSharedState = sharedPluginStateHookMigratorFactory(api => {
|
|
9
9
|
const triggerHandler = useSharedPluginStateSelector(api, 'typeAhead.triggerHandler');
|
|
10
|
-
const items = useSharedPluginStateSelector(api, 'typeAhead.items');
|
|
11
10
|
const errorInfo = useSharedPluginStateSelector(api, 'typeAhead.errorInfo');
|
|
12
11
|
const decorationElement = useSharedPluginStateSelector(api, 'typeAhead.decorationElement');
|
|
13
12
|
const decorationSet = useSharedPluginStateSelector(api, 'typeAhead.decorationSet');
|
|
14
13
|
const query = useSharedPluginStateSelector(api, 'typeAhead.query');
|
|
15
14
|
const selectedIndex = useSharedPluginStateSelector(api, 'typeAhead.selectedIndex');
|
|
15
|
+
const items = useSharedPluginStateSelector(api, 'typeAhead.items');
|
|
16
16
|
return {
|
|
17
17
|
triggerHandler,
|
|
18
18
|
items,
|
|
@@ -7,12 +7,12 @@ import { TypeAheadMenu as TypeAheadMenuModern } from './modern/TypeAheadMenu';
|
|
|
7
7
|
import { TypeAheadMenu } from './TypeAheadMenu';
|
|
8
8
|
var useSharedState = sharedPluginStateHookMigratorFactory(function (api) {
|
|
9
9
|
var triggerHandler = useSharedPluginStateSelector(api, 'typeAhead.triggerHandler');
|
|
10
|
-
var items = useSharedPluginStateSelector(api, 'typeAhead.items');
|
|
11
10
|
var errorInfo = useSharedPluginStateSelector(api, 'typeAhead.errorInfo');
|
|
12
11
|
var decorationElement = useSharedPluginStateSelector(api, 'typeAhead.decorationElement');
|
|
13
12
|
var decorationSet = useSharedPluginStateSelector(api, 'typeAhead.decorationSet');
|
|
14
13
|
var query = useSharedPluginStateSelector(api, 'typeAhead.query');
|
|
15
14
|
var selectedIndex = useSharedPluginStateSelector(api, 'typeAhead.selectedIndex');
|
|
15
|
+
var items = useSharedPluginStateSelector(api, 'typeAhead.items');
|
|
16
16
|
return {
|
|
17
17
|
triggerHandler: triggerHandler,
|
|
18
18
|
items: items,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.8",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
|
-
"@atlaskit/editor-common": "^105.
|
|
37
|
+
"@atlaskit/editor-common": "^105.11.0",
|
|
38
38
|
"@atlaskit/editor-element-browser": "^0.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
40
40
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
45
45
|
"@atlaskit/heading": "^5.2.0",
|
|
46
|
-
"@atlaskit/icon": "^26.
|
|
46
|
+
"@atlaskit/icon": "^26.4.0",
|
|
47
47
|
"@atlaskit/menu": "^8.0.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^14.8.0",
|
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^5.2.0",
|
|
53
53
|
"@atlaskit/tokens": "^4.9.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|