@atlaskit/editor-plugin-type-ahead 6.5.20 → 6.5.21
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 6.5.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41a91a916c125`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41a91a916c125) -
|
|
8
|
+
EDITOR-2846 Change platform_synced_block to use editorExperiment and add Jira experiment
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 6.5.20
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -18,6 +18,7 @@ var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
|
18
18
|
var _menu = require("@atlaskit/menu");
|
|
19
19
|
var _colors = require("@atlaskit/theme/colors");
|
|
20
20
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
21
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
21
22
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
22
23
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
23
24
|
/**
|
|
@@ -272,8 +273,8 @@ var TypeAheadListItem = exports.TypeAheadListItem = /*#__PURE__*/_react.default.
|
|
|
272
273
|
}, (0, _react2.jsx)("div", {
|
|
273
274
|
css: itemBody
|
|
274
275
|
}, (0, _react2.jsx)("div", {
|
|
275
|
-
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge && (0,
|
|
276
|
-
}, item.title, (0,
|
|
276
|
+
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge && (0, _experiments.editorExperiment)('platform_synced_block', true) && titleWithLozengeStyle]
|
|
277
|
+
}, item.title, (0, _experiments.editorExperiment)('platform_synced_block', true) && item.lozenge), (0, _react2.jsx)("div", {
|
|
277
278
|
css: itemAfter
|
|
278
279
|
}, item.keyshortcut && (0, _react2.jsx)("div", {
|
|
279
280
|
css: _shortcut.shortcutStyle
|
|
@@ -15,6 +15,7 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
|
15
15
|
import { ButtonItem } from '@atlaskit/menu';
|
|
16
16
|
import { B400, N30, N800 } from '@atlaskit/theme/colors';
|
|
17
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
18
19
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
21
|
export const itemIcon = css({
|
|
@@ -286,8 +287,8 @@ export const TypeAheadListItem = /*#__PURE__*/React.memo(({
|
|
|
286
287
|
}, jsx("div", {
|
|
287
288
|
css: itemBody
|
|
288
289
|
}, jsx("div", {
|
|
289
|
-
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge &&
|
|
290
|
-
}, item.title,
|
|
290
|
+
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge && editorExperiment('platform_synced_block', true) && titleWithLozengeStyle]
|
|
291
|
+
}, item.title, editorExperiment('platform_synced_block', true) && item.lozenge), jsx("div", {
|
|
291
292
|
css: itemAfter
|
|
292
293
|
}, item.keyshortcut && jsx("div", {
|
|
293
294
|
css: shortcutStyle
|
|
@@ -17,6 +17,7 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
|
17
17
|
import { ButtonItem } from '@atlaskit/menu';
|
|
18
18
|
import { B400, N30, N800 } from '@atlaskit/theme/colors';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
21
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
21
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
23
|
export var itemIcon = css({
|
|
@@ -264,8 +265,8 @@ export var TypeAheadListItem = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
264
265
|
}, jsx("div", {
|
|
265
266
|
css: itemBody
|
|
266
267
|
}, jsx("div", {
|
|
267
|
-
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge &&
|
|
268
|
-
}, item.title,
|
|
268
|
+
css: [itemTitle, moreElementsInQuickInsertViewEnabled && itemTitleOverride, itemIsDisabled && disabledStyle, item.lozenge && editorExperiment('platform_synced_block', true) && titleWithLozengeStyle]
|
|
269
|
+
}, item.title, editorExperiment('platform_synced_block', true) && item.lozenge), jsx("div", {
|
|
269
270
|
css: itemAfter
|
|
270
271
|
}, item.keyshortcut && jsx("div", {
|
|
271
272
|
css: shortcutStyle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.21",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
48
48
|
"@atlaskit/theme": "^21.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^14.1.0",
|
|
50
50
|
"@atlaskit/tokens": "^8.4.0",
|
|
51
51
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|