@atlaskit/editor-plugin-type-ahead 29.0.1 → 29.0.2
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
|
+
## 29.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`31dd8d40ffba2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31dd8d40ffba2) -
|
|
8
|
+
Cleanup `experiment` `cc-markdown-mode`. Markdown mode is unshipped: the markdown schema rebuild,
|
|
9
|
+
source-view toolbar bridge, and markdown-mode layout paths are removed.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 29.0.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -17,7 +17,6 @@ var _typeAhead = require("@atlaskit/editor-common/type-ahead");
|
|
|
17
17
|
var _useSharedPluginStateWithSelector = require("@atlaskit/editor-common/useSharedPluginStateWithSelector");
|
|
18
18
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
19
19
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
20
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
21
20
|
var _analytics = require("../pm-plugins/analytics");
|
|
22
21
|
var _constants2 = require("../pm-plugins/constants");
|
|
23
22
|
var _utils2 = require("../pm-plugins/utils");
|
|
@@ -53,9 +52,6 @@ var typeAheadWrapperWithViewMoreOverride = (0, _react2.css)({
|
|
|
53
52
|
display: 'flex',
|
|
54
53
|
flexDirection: 'column'
|
|
55
54
|
});
|
|
56
|
-
var typeAheadContentOverrideBorder = (0, _react2.css)({
|
|
57
|
-
borderRadius: "var(--ds-radius-large, 8px)"
|
|
58
|
-
});
|
|
59
55
|
var Highlight = function Highlight(_ref) {
|
|
60
56
|
var state = _ref.state,
|
|
61
57
|
triggerHandler = _ref.triggerHandler;
|
|
@@ -337,7 +333,7 @@ var TypeAheadPopup = exports.TypeAheadPopup = /*#__PURE__*/_react.default.memo(f
|
|
|
337
333
|
}
|
|
338
334
|
}
|
|
339
335
|
}, (0, _react2.jsx)("div", {
|
|
340
|
-
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride
|
|
336
|
+
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride]
|
|
341
337
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
342
338
|
,
|
|
343
339
|
className: _constants2.TYPE_AHEAD_POPUP_CONTENT_CLASS,
|
|
@@ -14,7 +14,6 @@ import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
|
|
|
14
14
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
15
15
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
16
16
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
17
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
17
|
import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
|
|
19
18
|
import { CloseSelectionOptions, TYPE_AHEAD_DECORATION_DATA_ATTRIBUTE, TYPE_AHEAD_POPUP_CONTENT_CLASS } from '../pm-plugins/constants';
|
|
20
19
|
import { getPluginState } from '../pm-plugins/utils';
|
|
@@ -42,9 +41,6 @@ const typeAheadWrapperWithViewMoreOverride = css({
|
|
|
42
41
|
display: 'flex',
|
|
43
42
|
flexDirection: 'column'
|
|
44
43
|
});
|
|
45
|
-
const typeAheadContentOverrideBorder = css({
|
|
46
|
-
borderRadius: "var(--ds-radius-large, 8px)"
|
|
47
|
-
});
|
|
48
44
|
const Highlight = ({
|
|
49
45
|
state,
|
|
50
46
|
triggerHandler
|
|
@@ -332,7 +328,7 @@ export const TypeAheadPopup = /*#__PURE__*/React.memo(props => {
|
|
|
332
328
|
}
|
|
333
329
|
}
|
|
334
330
|
}, jsx("div", {
|
|
335
|
-
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride
|
|
331
|
+
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride]
|
|
336
332
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
337
333
|
,
|
|
338
334
|
className: TYPE_AHEAD_POPUP_CONTENT_CLASS,
|
|
@@ -15,7 +15,6 @@ import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
|
|
|
15
15
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
16
16
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
17
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
18
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
18
|
import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
|
|
20
19
|
import { CloseSelectionOptions, TYPE_AHEAD_DECORATION_DATA_ATTRIBUTE, TYPE_AHEAD_POPUP_CONTENT_CLASS } from '../pm-plugins/constants';
|
|
21
20
|
import { getPluginState } from '../pm-plugins/utils';
|
|
@@ -43,9 +42,6 @@ var typeAheadWrapperWithViewMoreOverride = css({
|
|
|
43
42
|
display: 'flex',
|
|
44
43
|
flexDirection: 'column'
|
|
45
44
|
});
|
|
46
|
-
var typeAheadContentOverrideBorder = css({
|
|
47
|
-
borderRadius: "var(--ds-radius-large, 8px)"
|
|
48
|
-
});
|
|
49
45
|
var Highlight = function Highlight(_ref) {
|
|
50
46
|
var state = _ref.state,
|
|
51
47
|
triggerHandler = _ref.triggerHandler;
|
|
@@ -327,7 +323,7 @@ export var TypeAheadPopup = /*#__PURE__*/React.memo(function (props) {
|
|
|
327
323
|
}
|
|
328
324
|
}
|
|
329
325
|
}, jsx("div", {
|
|
330
|
-
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride
|
|
326
|
+
css: [typeAheadContent, moreElementsInQuickInsertViewEnabled && typeAheadContentOverride, showMoreOptionsButton && typeAheadWrapperWithViewMoreOverride]
|
|
331
327
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
332
328
|
,
|
|
333
329
|
className: TYPE_AHEAD_POPUP_CONTENT_CLASS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.2",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/primitives": "^22.6.0",
|
|
43
43
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
44
44
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^242.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^20.6.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|