@atlaskit/editor-plugin-type-ahead 8.0.0 → 8.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/ui/InputQuery.js +1 -1
- package/dist/cjs/ui/MoreOptions.js +1 -1
- package/dist/cjs/ui/TypeAheadErrorFallback/GenericErrorSVG.js +1 -1
- package/dist/cjs/ui/TypeAheadErrorFallback/index.js +1 -1
- package/dist/cjs/ui/TypeAheadList.js +2 -0
- package/dist/cjs/ui/TypeAheadListItem.js +1 -1
- package/dist/cjs/ui/TypeAheadPopup.js +1 -1
- package/dist/es2019/ui/InputQuery.js +1 -1
- package/dist/es2019/ui/MoreOptions.js +1 -1
- package/dist/es2019/ui/TypeAheadErrorFallback/GenericErrorSVG.js +1 -1
- package/dist/es2019/ui/TypeAheadErrorFallback/index.js +1 -1
- package/dist/es2019/ui/TypeAheadList.js +2 -0
- package/dist/es2019/ui/TypeAheadListItem.js +1 -1
- package/dist/es2019/ui/TypeAheadPopup.js +1 -1
- package/dist/esm/ui/InputQuery.js +1 -1
- package/dist/esm/ui/MoreOptions.js +1 -1
- package/dist/esm/ui/TypeAheadErrorFallback/GenericErrorSVG.js +1 -1
- package/dist/esm/ui/TypeAheadErrorFallback/index.js +1 -1
- package/dist/esm/ui/TypeAheadList.js +2 -0
- package/dist/esm/ui/TypeAheadListItem.js +1 -1
- package/dist/esm/ui/TypeAheadPopup.js +1 -1
- package/dist/types/pm-plugins/utils.d.ts +2 -2
- package/dist/types/ui/ListRow.d.ts +1 -1
- package/dist/types/ui/MoreOptions.d.ts +1 -1
- package/dist/types/ui/TypeAheadList.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/utils.d.ts +2 -2
- package/dist/types-ts4.5/ui/ListRow.d.ts +1 -1
- package/dist/types-ts4.5/ui/MoreOptions.d.ts +1 -1
- package/dist/types-ts4.5/ui/TypeAheadList.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
27
27
|
* @jsx jsx
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
31
31
|
|
|
32
32
|
var placeholderStyles = (0, _react2.css)({
|
|
33
33
|
'&::after': {
|
|
@@ -14,7 +14,7 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
|
14
14
|
* @jsx jsx
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
18
18
|
|
|
19
19
|
var buttonStyles = (0, _react2.css)({
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
* @jsxRuntime classic
|
|
12
12
|
* @jsx jsx
|
|
13
13
|
*/
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
15
15
|
|
|
16
16
|
var HEIGHT = 90;
|
|
17
17
|
var genericErrorStyles = (0, _react.css)({
|
|
@@ -13,7 +13,7 @@ var _GenericErrorSVG = require("./GenericErrorSVG");
|
|
|
13
13
|
* @jsxRuntime classic
|
|
14
14
|
* @jsx jsx
|
|
15
15
|
*/
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
17
17
|
|
|
18
18
|
var minHeightComponentStyles = (0, _react.css)({
|
|
19
19
|
display: 'flex',
|
|
@@ -397,5 +397,7 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
|
|
|
397
397
|
numberOfResults: itemsLength.toString()
|
|
398
398
|
})));
|
|
399
399
|
});
|
|
400
|
+
|
|
401
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
400
402
|
var TypeAheadList = exports.TypeAheadList = (0, _reactIntlNext.injectIntl)(TypeAheadListComponent);
|
|
401
403
|
TypeAheadList.displayName = 'TypeAheadList';
|
|
@@ -25,7 +25,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
|
25
25
|
* @jsxRuntime classic
|
|
26
26
|
* @jsx jsx
|
|
27
27
|
*/
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
29
29
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
31
|
var itemIcon = exports.itemIcon = (0, _react2.css)({
|
|
@@ -29,7 +29,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
29
29
|
* @jsx jsx
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
33
33
|
|
|
34
34
|
var DEFAULT_TYPEAHEAD_MENU_HEIGHT = 380;
|
|
35
35
|
var VIEWMORE_BUTTON_HEIGHT = 53;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { Fragment, useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { useIntl } from 'react-intl-next';
|
|
10
10
|
import { keyName as keyNameNormalized } from 'w3c-keyname';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { useEffect, useRef } from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { ButtonItem, Section } from '@atlaskit/menu';
|
|
10
10
|
import { N30 } from '@atlaskit/theme/colors';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
* @jsxRuntime classic
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
const HEIGHT = 90;
|
|
9
9
|
const genericErrorStyles = css({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import { typeAheadListMessages as messages } from '@atlaskit/editor-common/type-ahead';
|
|
@@ -377,5 +377,7 @@ const TypeAheadListComponent = /*#__PURE__*/React.memo(({
|
|
|
377
377
|
numberOfResults: itemsLength.toString()
|
|
378
378
|
})));
|
|
379
379
|
});
|
|
380
|
+
|
|
381
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
380
382
|
export const TypeAheadList = injectIntl(TypeAheadListComponent);
|
|
381
383
|
TypeAheadList.displayName = 'TypeAheadList';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { useCallback, useLayoutEffect, useMemo } from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { useIntl } from 'react-intl-next';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import rafSchedule from 'raf-schd';
|
|
10
10
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { Fragment, useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import { keyName as keyNameNormalized } from 'w3c-keyname';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { useEffect, useRef } from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { ButtonItem, Section } from '@atlaskit/menu';
|
|
10
10
|
import { N30 } from '@atlaskit/theme/colors';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
* @jsxRuntime classic
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
var HEIGHT = 90;
|
|
9
9
|
var genericErrorStyles = css({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import { typeAheadListMessages as messages } from '@atlaskit/editor-common/type-ahead';
|
|
@@ -388,5 +388,7 @@ var TypeAheadListComponent = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
388
388
|
numberOfResults: itemsLength.toString()
|
|
389
389
|
})));
|
|
390
390
|
});
|
|
391
|
+
|
|
392
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
391
393
|
export var TypeAheadList = injectIntl(TypeAheadListComponent);
|
|
392
394
|
TypeAheadList.displayName = 'TypeAheadList';
|
|
@@ -6,7 +6,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
|
6
6
|
*/
|
|
7
7
|
import React, { useCallback, useLayoutEffect, useMemo } from 'react';
|
|
8
8
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { useIntl } from 'react-intl-next';
|
|
12
12
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import rafSchedule from 'raf-schd';
|
|
11
11
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
@@ -3,11 +3,11 @@ import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-c
|
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
6
|
-
import type { TypeAheadHandler } from '../types';
|
|
6
|
+
import type { TypeAheadHandler, TypeAheadPluginState } from '../types';
|
|
7
7
|
export declare const isTypeAheadHandler: (handler: any) => handler is TypeAheadHandler;
|
|
8
8
|
/** Is a typeahead plugin open? */
|
|
9
9
|
export declare const isTypeAheadOpen: (editorState: EditorState) => boolean;
|
|
10
|
-
export declare const getPluginState: (editorState: EditorState) =>
|
|
10
|
+
export declare const getPluginState: (editorState: EditorState) => TypeAheadPluginState | undefined;
|
|
11
11
|
export declare const getTypeAheadHandler: (editorState: EditorState) => TypeAheadHandler | undefined;
|
|
12
12
|
export declare const getTypeAheadQuery: (editorState: EditorState) => string | undefined;
|
|
13
13
|
export declare const isTypeAheadAllowed: (state: EditorState) => boolean;
|
|
@@ -17,4 +17,4 @@ export declare const ListRow: React.ForwardRefExoticComponent<{
|
|
|
17
17
|
children: ReactNode;
|
|
18
18
|
measure: () => void;
|
|
19
19
|
onMouseMove: MouseEventHandler<HTMLDivElement>;
|
|
20
|
-
} & Pick<ListRowProps,
|
|
20
|
+
} & Pick<ListRowProps, 'index' | 'isScrolling' | 'isVisible' | 'style'> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
title: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const MoreOptions: ({ onClick, isFocused, title, ariaLabel, iconBefore }: Props) => jsx.JSX.Element;
|
|
9
|
+
export declare const MoreOptions: ({ onClick, isFocused, title, ariaLabel, iconBefore, }: Props) => jsx.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
8
8
|
import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
10
|
import { type InputMethodType } from '../pm-plugins/analytics';
|
|
11
11
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
12
12
|
import type { TypeAheadHandler } from '../types';
|
|
13
|
-
export declare const TypeAheadList: React.FC<
|
|
13
|
+
export declare const TypeAheadList: React.FC<WithIntlProps<{
|
|
14
14
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
15
15
|
decorationElement: HTMLElement;
|
|
16
16
|
editorView: EditorView;
|
|
@@ -3,11 +3,11 @@ import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-c
|
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
6
|
-
import type { TypeAheadHandler } from '../types';
|
|
6
|
+
import type { TypeAheadHandler, TypeAheadPluginState } from '../types';
|
|
7
7
|
export declare const isTypeAheadHandler: (handler: any) => handler is TypeAheadHandler;
|
|
8
8
|
/** Is a typeahead plugin open? */
|
|
9
9
|
export declare const isTypeAheadOpen: (editorState: EditorState) => boolean;
|
|
10
|
-
export declare const getPluginState: (editorState: EditorState) =>
|
|
10
|
+
export declare const getPluginState: (editorState: EditorState) => TypeAheadPluginState | undefined;
|
|
11
11
|
export declare const getTypeAheadHandler: (editorState: EditorState) => TypeAheadHandler | undefined;
|
|
12
12
|
export declare const getTypeAheadQuery: (editorState: EditorState) => string | undefined;
|
|
13
13
|
export declare const isTypeAheadAllowed: (state: EditorState) => boolean;
|
|
@@ -17,4 +17,4 @@ export declare const ListRow: React.ForwardRefExoticComponent<{
|
|
|
17
17
|
children: ReactNode;
|
|
18
18
|
measure: () => void;
|
|
19
19
|
onMouseMove: MouseEventHandler<HTMLDivElement>;
|
|
20
|
-
} & Pick<ListRowProps,
|
|
20
|
+
} & Pick<ListRowProps, 'index' | 'isScrolling' | 'isVisible' | 'style'> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
title: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const MoreOptions: ({ onClick, isFocused, title, ariaLabel, iconBefore }: Props) => jsx.JSX.Element;
|
|
9
|
+
export declare const MoreOptions: ({ onClick, isFocused, title, ariaLabel, iconBefore, }: Props) => jsx.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
8
8
|
import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
10
|
import { type InputMethodType } from '../pm-plugins/analytics';
|
|
11
11
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
12
12
|
import type { TypeAheadHandler } from '../types';
|
|
13
|
-
export declare const TypeAheadList: React.FC<
|
|
13
|
+
export declare const TypeAheadList: React.FC<WithIntlProps<{
|
|
14
14
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
15
15
|
decorationElement: HTMLElement;
|
|
16
16
|
editorView: EditorView;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
47
47
|
"@atlaskit/theme": "^22.0.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
49
49
|
"@atlaskit/tokens": "^11.1.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|