@atlaskit/editor-core 181.0.0 → 181.0.1

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 (41) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/create-editor/create-plugins-list.js +7 -2
  3. package/dist/cjs/create-editor/feature-flags-from-props.js +31 -26
  4. package/dist/cjs/plugins/type-ahead/index.js +4 -1
  5. package/dist/cjs/plugins/type-ahead/pm-plugins/decorations.js +4 -2
  6. package/dist/cjs/plugins/type-ahead/pm-plugins/main.js +4 -2
  7. package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +41 -4
  8. package/dist/cjs/plugins/type-ahead/ui/TypeAheadList.js +2 -0
  9. package/dist/cjs/plugins/type-ahead/ui/WrapperTypeAhead.js +9 -5
  10. package/dist/cjs/plugins/type-ahead/utils.js +22 -2
  11. package/dist/cjs/version-wrapper.js +1 -1
  12. package/dist/cjs/version.json +1 -1
  13. package/dist/es2019/create-editor/create-plugins-list.js +7 -2
  14. package/dist/es2019/create-editor/feature-flags-from-props.js +31 -26
  15. package/dist/es2019/plugins/type-ahead/index.js +4 -1
  16. package/dist/es2019/plugins/type-ahead/pm-plugins/decorations.js +4 -2
  17. package/dist/es2019/plugins/type-ahead/pm-plugins/main.js +4 -2
  18. package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +41 -4
  19. package/dist/es2019/plugins/type-ahead/ui/TypeAheadList.js +2 -0
  20. package/dist/es2019/plugins/type-ahead/ui/WrapperTypeAhead.js +9 -5
  21. package/dist/es2019/plugins/type-ahead/utils.js +22 -2
  22. package/dist/es2019/version-wrapper.js +1 -1
  23. package/dist/es2019/version.json +1 -1
  24. package/dist/esm/create-editor/create-plugins-list.js +7 -2
  25. package/dist/esm/create-editor/feature-flags-from-props.js +31 -26
  26. package/dist/esm/plugins/type-ahead/index.js +4 -1
  27. package/dist/esm/plugins/type-ahead/pm-plugins/decorations.js +4 -2
  28. package/dist/esm/plugins/type-ahead/pm-plugins/main.js +4 -2
  29. package/dist/esm/plugins/type-ahead/ui/InputQuery.js +41 -4
  30. package/dist/esm/plugins/type-ahead/ui/TypeAheadList.js +2 -0
  31. package/dist/esm/plugins/type-ahead/ui/WrapperTypeAhead.js +9 -5
  32. package/dist/esm/plugins/type-ahead/utils.js +22 -2
  33. package/dist/esm/version-wrapper.js +1 -1
  34. package/dist/esm/version.json +1 -1
  35. package/dist/types/plugins/type-ahead/index.d.ts +1 -0
  36. package/dist/types/plugins/type-ahead/pm-plugins/decorations.d.ts +2 -1
  37. package/dist/types/plugins/type-ahead/pm-plugins/main.d.ts +2 -1
  38. package/dist/types/plugins/type-ahead/ui/InputQuery.d.ts +1 -0
  39. package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -0
  40. package/dist/types/plugins/type-ahead/utils.d.ts +2 -1
  41. package/package.json +2 -2
@@ -21,6 +21,7 @@ declare type InputQueryProps = {
21
21
  reopenQuery?: string;
22
22
  editorView: EditorView;
23
23
  items: any[];
24
+ useBetterTypeaheadNavigation: boolean;
24
25
  };
25
26
  export declare const InputQuery: React.FC<InputQueryProps>;
26
27
  export {};
@@ -15,6 +15,7 @@ declare type WrapperProps = {
15
15
  popupsScrollableElement?: HTMLElement;
16
16
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
17
17
  inputMethod?: TypeAheadInputMethod;
18
+ useBetterTypeaheadNavigation: boolean;
18
19
  };
19
20
  export declare const WrapperTypeAhead: React.FC<WrapperProps>;
20
21
  export {};
@@ -18,8 +18,9 @@ export declare const findHandlerByTrigger: ({ trigger, editorState, }: {
18
18
  declare type MoveSelectedIndexProps = {
19
19
  editorView: EditorView;
20
20
  direction: 'next' | 'previous';
21
+ useBetterTypeaheadNavigation?: boolean;
21
22
  };
22
- export declare const moveSelectedIndex: ({ editorView, direction }: MoveSelectedIndexProps) => () => void;
23
+ export declare const moveSelectedIndex: ({ editorView, direction, useBetterTypeaheadNavigation, }: MoveSelectedIndexProps) => () => void;
23
24
  declare type TypeAheadAssistiveLabels = {
24
25
  popupAriaLabel: string;
25
26
  listItemAriaLabel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "181.0.0",
3
+ "version": "181.0.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -71,7 +71,7 @@
71
71
  "@atlaskit/radio": "^5.4.0",
72
72
  "@atlaskit/section-message": "^6.3.0",
73
73
  "@atlaskit/select": "^16.1.0",
74
- "@atlaskit/smart-card": "^25.1.0",
74
+ "@atlaskit/smart-card": "^25.2.0",
75
75
  "@atlaskit/smart-user-picker": "^6.0.0",
76
76
  "@atlaskit/spinner": "^15.4.0",
77
77
  "@atlaskit/status": "^1.2.0",