@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.
Files changed (72) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/commands/package.json +1 -8
  3. package/dist/cjs/pm-plugins/commands/update-section-title.js +6 -9
  4. package/dist/cjs/ui/TypeAheadList.js +75 -48
  5. package/dist/cjs/ui/TypeAheadPopup.js +1 -0
  6. package/dist/cjs/ui/hooks/build-sectioned-result.js +8 -4
  7. package/dist/es2019/pm-plugins/commands/update-section-title.js +5 -5
  8. package/dist/es2019/ui/TypeAheadList.js +42 -11
  9. package/dist/es2019/ui/TypeAheadPopup.js +1 -0
  10. package/dist/es2019/ui/hooks/build-sectioned-result.js +8 -4
  11. package/dist/esm/pm-plugins/commands/update-section-title.js +6 -8
  12. package/dist/esm/ui/TypeAheadList.js +75 -48
  13. package/dist/esm/ui/TypeAheadPopup.js +1 -0
  14. package/dist/esm/ui/hooks/build-sectioned-result.js +8 -4
  15. package/dist/types/pm-plugins/commands/update-section-title.d.ts +1 -1
  16. package/dist/types/typeAheadPluginType.d.ts +2 -2
  17. package/dist/types/types/index.d.ts +4 -4
  18. package/dist/types/ui/TypeAheadList.d.ts +4 -1
  19. package/package.json +20 -28
  20. package/type-ahead-plugin/package.json +1 -8
  21. package/type-ahead-plugin-type/package.json +1 -8
  22. package/types/package.json +1 -8
  23. package/dist/types-ts4.5/entry-points/commands.d.ts +0 -1
  24. package/dist/types-ts4.5/entry-points/type-ahead-plugin-type.d.ts +0 -1
  25. package/dist/types-ts4.5/entry-points/type-ahead-plugin.d.ts +0 -1
  26. package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
  27. package/dist/types-ts4.5/index.d.ts +0 -3
  28. package/dist/types-ts4.5/pm-plugins/actions.d.ts +0 -12
  29. package/dist/types-ts4.5/pm-plugins/analytics.d.ts +0 -8
  30. package/dist/types-ts4.5/pm-plugins/api.d.ts +0 -60
  31. package/dist/types-ts4.5/pm-plugins/commands/clear-list-error.d.ts +0 -2
  32. package/dist/types-ts4.5/pm-plugins/commands/close-type-ahead.d.ts +0 -2
  33. package/dist/types-ts4.5/pm-plugins/commands/insert-type-ahead-item.d.ts +0 -12
  34. package/dist/types-ts4.5/pm-plugins/commands/insert-utils.d.ts +0 -18
  35. package/dist/types-ts4.5/pm-plugins/commands/open-typeahead-at-cursor.d.ts +0 -5
  36. package/dist/types-ts4.5/pm-plugins/commands/set-selection-before-query.d.ts +0 -2
  37. package/dist/types-ts4.5/pm-plugins/commands/update-list-error.d.ts +0 -2
  38. package/dist/types-ts4.5/pm-plugins/commands/update-list-items.d.ts +0 -3
  39. package/dist/types-ts4.5/pm-plugins/commands/update-query.d.ts +0 -2
  40. package/dist/types-ts4.5/pm-plugins/commands/update-section-title.d.ts +0 -2
  41. package/dist/types-ts4.5/pm-plugins/commands/update-selected-index.d.ts +0 -3
  42. package/dist/types-ts4.5/pm-plugins/constants.d.ts +0 -8
  43. package/dist/types-ts4.5/pm-plugins/decorations.d.ts +0 -17
  44. package/dist/types-ts4.5/pm-plugins/input-rules.d.ts +0 -6
  45. package/dist/types-ts4.5/pm-plugins/insert-item-plugin.d.ts +0 -2
  46. package/dist/types-ts4.5/pm-plugins/isInsertionTransaction.d.ts +0 -4
  47. package/dist/types-ts4.5/pm-plugins/item-is-disabled.d.ts +0 -3
  48. package/dist/types-ts4.5/pm-plugins/key.d.ts +0 -3
  49. package/dist/types-ts4.5/pm-plugins/main.d.ts +0 -18
  50. package/dist/types-ts4.5/pm-plugins/reducer.d.ts +0 -10
  51. package/dist/types-ts4.5/pm-plugins/stats-modifier.d.ts +0 -20
  52. package/dist/types-ts4.5/pm-plugins/utils.d.ts +0 -42
  53. package/dist/types-ts4.5/typeAheadPlugin.d.ts +0 -10
  54. package/dist/types-ts4.5/typeAheadPluginType.d.ts +0 -52
  55. package/dist/types-ts4.5/types/index.d.ts +0 -114
  56. package/dist/types-ts4.5/ui/ContentComponent.d.ts +0 -12
  57. package/dist/types-ts4.5/ui/InputQuery.d.ts +0 -31
  58. package/dist/types-ts4.5/ui/ListRow.d.ts +0 -21
  59. package/dist/types-ts4.5/ui/MoreOptions.d.ts +0 -16
  60. package/dist/types-ts4.5/ui/TypeAheadErrorFallback/EmptyState.d.ts +0 -9
  61. package/dist/types-ts4.5/ui/TypeAheadErrorFallback/GenericErrorSVG.d.ts +0 -6
  62. package/dist/types-ts4.5/ui/TypeAheadErrorFallback/MinHeightContainer.d.ts +0 -10
  63. package/dist/types-ts4.5/ui/TypeAheadErrorFallback/index.d.ts +0 -6
  64. package/dist/types-ts4.5/ui/TypeAheadList.d.ts +0 -55
  65. package/dist/types-ts4.5/ui/TypeAheadListItem.d.ts +0 -25
  66. package/dist/types-ts4.5/ui/TypeAheadMenu.d.ts +0 -14
  67. package/dist/types-ts4.5/ui/TypeAheadPopup.d.ts +0 -38
  68. package/dist/types-ts4.5/ui/WrapperTypeAhead.d.ts +0 -21
  69. package/dist/types-ts4.5/ui/hooks/build-sectioned-result.d.ts +0 -11
  70. package/dist/types-ts4.5/ui/hooks/use-item-insert.d.ts +0 -9
  71. package/dist/types-ts4.5/ui/hooks/use-load-items.d.ts +0 -5
  72. 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 {};