@atlaskit/editor-plugin-type-ahead 2.5.0 → 2.5.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 2.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142352](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142352)
|
|
8
|
+
[`05903fde6d94d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/05903fde6d94d) -
|
|
9
|
+
Internal change to use Compiled variant of `@atlaskit/primitives`.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 2.5.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -18,7 +18,7 @@ var _typeAhead = require("@atlaskit/editor-common/type-ahead");
|
|
|
18
18
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
19
19
|
var _menu = require("@atlaskit/menu");
|
|
20
20
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
|
-
var
|
|
21
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
22
22
|
var _updateSelectedIndex = require("../pm-plugins/commands/update-selected-index");
|
|
23
23
|
var _constants = require("../pm-plugins/constants");
|
|
24
24
|
var _utils = require("../pm-plugins/utils");
|
|
@@ -340,17 +340,17 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
|
|
|
340
340
|
return null;
|
|
341
341
|
}
|
|
342
342
|
var menuGroupId = ((_decorationElement$qu2 = decorationElement.querySelector("[role='combobox']")) === null || _decorationElement$qu2 === void 0 ? void 0 : _decorationElement$qu2.getAttribute('aria-controls')) || _constants.TYPE_AHEAD_DECORATION_ELEMENT_ID;
|
|
343
|
-
var EmptyResultView = (0, _react2.jsx)(
|
|
343
|
+
var EmptyResultView = (0, _react2.jsx)(_compiled.Box, {
|
|
344
344
|
paddingBlock: "space.150",
|
|
345
345
|
paddingInline: "space.250"
|
|
346
|
-
}, (0, _react2.jsx)(
|
|
346
|
+
}, (0, _react2.jsx)(_compiled.Text, {
|
|
347
347
|
align: "center",
|
|
348
348
|
as: "p"
|
|
349
|
-
}, intl.formatMessage(_typeAhead.typeAheadListMessages.emptySearchResults)), (0, _react2.jsx)(
|
|
349
|
+
}, intl.formatMessage(_typeAhead.typeAheadListMessages.emptySearchResults)), (0, _react2.jsx)(_compiled.Text, {
|
|
350
350
|
align: "center",
|
|
351
351
|
as: "p"
|
|
352
352
|
}, intl.formatMessage(_typeAhead.typeAheadListMessages.emptySearchResultsSuggestion, {
|
|
353
|
-
buttonName: (0, _react2.jsx)(
|
|
353
|
+
buttonName: (0, _react2.jsx)(_compiled.Text, {
|
|
354
354
|
weight: "medium"
|
|
355
355
|
}, intl.formatMessage(_messages.toolbarInsertBlockMessages.viewMore))
|
|
356
356
|
})));
|
|
@@ -16,7 +16,7 @@ import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/t
|
|
|
16
16
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
17
17
|
import { MenuGroup } from '@atlaskit/menu';
|
|
18
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
|
-
import { Text, Box } from '@atlaskit/primitives';
|
|
19
|
+
import { Text, Box } from '@atlaskit/primitives/compiled';
|
|
20
20
|
import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
|
|
21
21
|
import { TYPE_AHEAD_DECORATION_ELEMENT_ID } from '../pm-plugins/constants';
|
|
22
22
|
import { getTypeAheadListAriaLabels, moveSelectedIndex } from '../pm-plugins/utils';
|
|
@@ -17,7 +17,7 @@ import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/t
|
|
|
17
17
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
18
18
|
import { MenuGroup } from '@atlaskit/menu';
|
|
19
19
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
|
-
import { Text, Box } from '@atlaskit/primitives';
|
|
20
|
+
import { Text, Box } from '@atlaskit/primitives/compiled';
|
|
21
21
|
import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
|
|
22
22
|
import { TYPE_AHEAD_DECORATION_ELEMENT_ID } from '../pm-plugins/constants';
|
|
23
23
|
import { getTypeAheadListAriaLabels, moveSelectedIndex } from '../pm-plugins/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
|
-
"@atlaskit/editor-common": "^103.
|
|
37
|
+
"@atlaskit/editor-common": "^103.12.0",
|
|
38
38
|
"@atlaskit/editor-element-browser": "^0.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^14.4.0",
|
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^4.12.0",
|
|
53
53
|
"@atlaskit/tokens": "^4.8.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|