@atlaskit/editor-plugin-type-ahead 27.0.4 → 27.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 +32 -0
- package/dist/cjs/pm-plugins/analytics.js +5 -5
- package/dist/cjs/pm-plugins/api.js +2 -2
- package/dist/cjs/pm-plugins/commands/insert-utils.js +2 -2
- package/dist/cjs/pm-plugins/commands/open-typeahead-at-cursor.js +1 -1
- package/dist/cjs/pm-plugins/input-rules.js +6 -5
- package/dist/cjs/pm-plugins/item-is-disabled.js +2 -2
- package/dist/cjs/pm-plugins/main.js +4 -4
- package/dist/cjs/pm-plugins/reducer.js +5 -5
- package/dist/cjs/pm-plugins/utils.js +10 -9
- package/dist/cjs/typeAheadPlugin.js +6 -6
- package/dist/cjs/ui/ContentComponent.js +2 -2
- package/dist/cjs/ui/InputQuery.js +22 -21
- package/dist/cjs/ui/TypeAheadErrorFallback/index.js +3 -3
- package/dist/cjs/ui/TypeAheadList.js +11 -10
- package/dist/cjs/ui/TypeAheadListItem.js +13 -12
- package/dist/cjs/ui/TypeAheadPopup.js +30 -29
- package/dist/cjs/ui/WrapperTypeAhead.js +4 -4
- package/dist/cjs/ui/registered-menu/RegisteredTypeAheadMenu.js +6 -5
- package/dist/cjs/ui/registered-menu/TypeAheadMenuRenderer.js +2 -2
- package/dist/cjs/ui/registered-menu/quick-insert/TypeAheadQuickInsertProvider.js +2 -2
- package/dist/cjs/ui/registered-menu/typeAheadSurfaces.js +4 -3
- package/dist/es2019/pm-plugins/analytics.js +1 -1
- package/dist/es2019/pm-plugins/api.js +1 -1
- package/dist/es2019/pm-plugins/commands/insert-utils.js +1 -1
- package/dist/es2019/pm-plugins/commands/open-typeahead-at-cursor.js +1 -1
- package/dist/es2019/pm-plugins/input-rules.js +3 -2
- package/dist/es2019/pm-plugins/item-is-disabled.js +1 -1
- package/dist/es2019/pm-plugins/main.js +2 -2
- package/dist/es2019/pm-plugins/reducer.js +2 -2
- package/dist/es2019/pm-plugins/utils.js +3 -2
- package/dist/es2019/typeAheadPlugin.js +1 -1
- package/dist/es2019/ui/ContentComponent.js +1 -1
- package/dist/es2019/ui/InputQuery.js +4 -3
- package/dist/es2019/ui/TypeAheadErrorFallback/index.js +1 -1
- package/dist/es2019/ui/TypeAheadList.js +5 -4
- package/dist/es2019/ui/TypeAheadListItem.js +7 -6
- package/dist/es2019/ui/TypeAheadPopup.js +5 -4
- package/dist/es2019/ui/WrapperTypeAhead.js +1 -1
- package/dist/es2019/ui/registered-menu/RegisteredTypeAheadMenu.js +5 -4
- package/dist/es2019/ui/registered-menu/TypeAheadMenuRenderer.js +1 -1
- package/dist/es2019/ui/registered-menu/quick-insert/TypeAheadQuickInsertProvider.js +1 -1
- package/dist/es2019/ui/registered-menu/typeAheadSurfaces.js +3 -2
- package/dist/esm/pm-plugins/analytics.js +1 -1
- package/dist/esm/pm-plugins/api.js +1 -1
- package/dist/esm/pm-plugins/commands/insert-utils.js +1 -1
- package/dist/esm/pm-plugins/commands/open-typeahead-at-cursor.js +1 -1
- package/dist/esm/pm-plugins/input-rules.js +3 -2
- package/dist/esm/pm-plugins/item-is-disabled.js +1 -1
- package/dist/esm/pm-plugins/main.js +2 -2
- package/dist/esm/pm-plugins/reducer.js +2 -2
- package/dist/esm/pm-plugins/utils.js +3 -2
- package/dist/esm/typeAheadPlugin.js +1 -1
- package/dist/esm/ui/ContentComponent.js +1 -1
- package/dist/esm/ui/InputQuery.js +4 -3
- package/dist/esm/ui/TypeAheadErrorFallback/index.js +1 -1
- package/dist/esm/ui/TypeAheadList.js +5 -4
- package/dist/esm/ui/TypeAheadListItem.js +7 -6
- package/dist/esm/ui/TypeAheadPopup.js +5 -4
- package/dist/esm/ui/WrapperTypeAhead.js +1 -1
- package/dist/esm/ui/registered-menu/RegisteredTypeAheadMenu.js +5 -4
- package/dist/esm/ui/registered-menu/TypeAheadMenuRenderer.js +1 -1
- package/dist/esm/ui/registered-menu/quick-insert/TypeAheadQuickInsertProvider.js +1 -1
- package/dist/esm/ui/registered-menu/typeAheadSurfaces.js +3 -2
- package/dist/types/pm-plugins/analytics.d.ts +3 -3
- package/dist/types/pm-plugins/api.d.ts +2 -2
- package/dist/types/pm-plugins/commands/clear-list-error.d.ts +1 -1
- package/dist/types/pm-plugins/commands/insert-type-ahead-item.d.ts +1 -1
- package/dist/types/pm-plugins/commands/open-typeahead-at-cursor.d.ts +1 -1
- package/dist/types/pm-plugins/commands/update-list-error.d.ts +1 -1
- package/dist/types/pm-plugins/commands/update-list-items.d.ts +2 -1
- package/dist/types/pm-plugins/commands/update-query.d.ts +1 -1
- package/dist/types/pm-plugins/commands/update-section-title.d.ts +2 -1
- package/dist/types/pm-plugins/commands/update-selected-index.d.ts +2 -1
- package/dist/types/pm-plugins/decorations.d.ts +2 -2
- package/dist/types/pm-plugins/input-rules.d.ts +1 -1
- package/dist/types/pm-plugins/item-is-disabled.d.ts +2 -1
- package/dist/types/pm-plugins/main.d.ts +2 -2
- package/dist/types/pm-plugins/utils.d.ts +2 -1
- package/dist/types/typeAheadPluginType.d.ts +8 -6
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/ui/ContentComponent.d.ts +1 -1
- package/dist/types/ui/InputQuery.d.ts +1 -1
- package/dist/types/ui/TypeAheadList.d.ts +2 -1
- package/dist/types/ui/TypeAheadListItem.d.ts +2 -1
- package/dist/types/ui/TypeAheadMenu.d.ts +1 -1
- package/dist/types/ui/TypeAheadPopup.d.ts +2 -1
- package/dist/types/ui/WrapperTypeAhead.d.ts +1 -1
- package/dist/types/ui/hooks/build-sectioned-result.d.ts +1 -1
- package/dist/types/ui/hooks/use-item-insert.d.ts +2 -1
- package/dist/types/ui/hooks/use-load-items.d.ts +2 -1
- package/dist/types/ui/hooks/use-on-force-select.d.ts +1 -1
- package/dist/types/ui/registered-menu/RegisteredTypeAheadMenu.d.ts +2 -1
- package/dist/types/ui/registered-menu/TypeAheadContext.d.ts +3 -2
- package/dist/types/ui/registered-menu/typeAheadSurfaces.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TypeAheadHandler, TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { TypeAheadHandler, TypeAheadItem } from '@atlaskit/editor-common/types/type-ahead';
|
|
2
2
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
type Props = {
|
|
4
4
|
closePopup: () => void;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { ExtractInjectionAPI
|
|
6
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
7
|
+
import type { TypeAheadHandler } from '@atlaskit/editor-common/types/type-ahead';
|
|
7
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
9
|
import type { CloseSelectionOptions } from '../../pm-plugins/constants';
|
|
9
10
|
import type { TypeAheadPlugin } from '../../typeAheadPluginType';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Context } from 'react';
|
|
2
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { ExtractInjectionAPI
|
|
2
|
+
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
3
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
4
|
+
import type { TypeAheadHandler } from '@atlaskit/editor-common/types/type-ahead';
|
|
4
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
6
|
import type { SurfaceContext } from '@atlaskit/editor-ui-control-model/types';
|
|
6
7
|
import type { TypeAheadPlugin } from '../../typeAheadPluginType';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { MessageDescriptor } from 'react-intl';
|
|
3
|
-
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
4
4
|
import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
|
|
5
5
|
import type { TypeAheadItemComponent } from './typeAheadMenuTypes';
|
|
6
6
|
export type TypeAheadSurface = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.6",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/primitives": "^22.5.0",
|
|
43
43
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
44
44
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^232.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^20.4.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"w3c-keyname": "^2.1.8"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@atlaskit/editor-common": "^130.
|
|
57
|
+
"@atlaskit/editor-common": "^130.4.0",
|
|
58
58
|
"react": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
60
60
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|