@atlaskit/editor-plugin-type-ahead 11.3.5 → 12.0.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 +37 -0
- package/commands/package.json +1 -8
- package/dist/cjs/pm-plugins/commands/update-section-title.js +6 -9
- package/dist/cjs/ui/TypeAheadList.js +75 -48
- package/dist/cjs/ui/TypeAheadPopup.js +1 -0
- package/dist/cjs/ui/hooks/build-sectioned-result.js +8 -4
- package/dist/es2019/pm-plugins/commands/update-section-title.js +5 -5
- package/dist/es2019/ui/TypeAheadList.js +42 -11
- package/dist/es2019/ui/TypeAheadPopup.js +1 -0
- package/dist/es2019/ui/hooks/build-sectioned-result.js +8 -4
- package/dist/esm/pm-plugins/commands/update-section-title.js +6 -8
- package/dist/esm/ui/TypeAheadList.js +75 -48
- package/dist/esm/ui/TypeAheadPopup.js +1 -0
- package/dist/esm/ui/hooks/build-sectioned-result.js +8 -4
- package/dist/types/pm-plugins/commands/update-section-title.d.ts +1 -1
- package/dist/types/typeAheadPluginType.d.ts +2 -2
- package/dist/types/types/index.d.ts +4 -4
- package/dist/types/ui/TypeAheadList.d.ts +4 -1
- package/package.json +20 -28
- package/type-ahead-plugin/package.json +1 -8
- package/type-ahead-plugin-type/package.json +1 -8
- package/types/package.json +1 -8
- package/dist/types-ts4.5/entry-points/commands.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/type-ahead-plugin-type.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/type-ahead-plugin.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/actions.d.ts +0 -12
- package/dist/types-ts4.5/pm-plugins/analytics.d.ts +0 -8
- package/dist/types-ts4.5/pm-plugins/api.d.ts +0 -60
- package/dist/types-ts4.5/pm-plugins/commands/clear-list-error.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/close-type-ahead.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/insert-type-ahead-item.d.ts +0 -12
- package/dist/types-ts4.5/pm-plugins/commands/insert-utils.d.ts +0 -18
- package/dist/types-ts4.5/pm-plugins/commands/open-typeahead-at-cursor.d.ts +0 -5
- package/dist/types-ts4.5/pm-plugins/commands/set-selection-before-query.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/update-list-error.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/update-list-items.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/commands/update-query.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/update-section-title.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/commands/update-selected-index.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/constants.d.ts +0 -8
- package/dist/types-ts4.5/pm-plugins/decorations.d.ts +0 -17
- package/dist/types-ts4.5/pm-plugins/input-rules.d.ts +0 -6
- package/dist/types-ts4.5/pm-plugins/insert-item-plugin.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/isInsertionTransaction.d.ts +0 -4
- package/dist/types-ts4.5/pm-plugins/item-is-disabled.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/key.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/main.d.ts +0 -18
- package/dist/types-ts4.5/pm-plugins/reducer.d.ts +0 -10
- package/dist/types-ts4.5/pm-plugins/stats-modifier.d.ts +0 -20
- package/dist/types-ts4.5/pm-plugins/utils.d.ts +0 -42
- package/dist/types-ts4.5/typeAheadPlugin.d.ts +0 -10
- package/dist/types-ts4.5/typeAheadPluginType.d.ts +0 -52
- package/dist/types-ts4.5/types/index.d.ts +0 -114
- package/dist/types-ts4.5/ui/ContentComponent.d.ts +0 -12
- package/dist/types-ts4.5/ui/InputQuery.d.ts +0 -31
- package/dist/types-ts4.5/ui/ListRow.d.ts +0 -21
- package/dist/types-ts4.5/ui/MoreOptions.d.ts +0 -16
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/EmptyState.d.ts +0 -9
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/GenericErrorSVG.d.ts +0 -6
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/MinHeightContainer.d.ts +0 -10
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/TypeAheadList.d.ts +0 -55
- package/dist/types-ts4.5/ui/TypeAheadListItem.d.ts +0 -25
- package/dist/types-ts4.5/ui/TypeAheadMenu.d.ts +0 -14
- package/dist/types-ts4.5/ui/TypeAheadPopup.d.ts +0 -38
- package/dist/types-ts4.5/ui/WrapperTypeAhead.d.ts +0 -21
- package/dist/types-ts4.5/ui/hooks/build-sectioned-result.d.ts +0 -11
- package/dist/types-ts4.5/ui/hooks/use-item-insert.d.ts +0 -9
- package/dist/types-ts4.5/ui/hooks/use-load-items.d.ts +0 -5
- package/dist/types-ts4.5/ui/hooks/use-on-force-select.d.ts +0 -11
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TypeAheadHandler, TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
type Props = {
|
|
4
|
-
closePopup: () => void;
|
|
5
|
-
editorView: EditorView;
|
|
6
|
-
items: Array<TypeAheadItem>;
|
|
7
|
-
query: string;
|
|
8
|
-
triggerHandler: TypeAheadHandler;
|
|
9
|
-
};
|
|
10
|
-
export declare const useOnForceSelect: ({ triggerHandler, items, query, editorView, closePopup, }: Props) => void;
|
|
11
|
-
export {};
|