@atlaskit/editor-plugin-insert-block 8.6.3 → 8.7.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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 8.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`19911524eaec5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/19911524eaec5) -
|
|
14
|
+
Cleanup A/A test for cc_fd_db_top_editor_toolbar experiment.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 8.6.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -40,8 +40,6 @@ var DEFAULT_HEIGHT = exports.DEFAULT_HEIGHT = 560;
|
|
|
40
40
|
this newer implementation matches how the "quick insert menu" sorts elements
|
|
41
41
|
*/
|
|
42
42
|
var sortPrioritizedElements = exports.sortPrioritizedElements = function sortPrioritizedElements(featuredItems, formatMessage) {
|
|
43
|
-
// temporary for A/A test
|
|
44
|
-
['new-description', 'orig-description'].includes((0, _expVal.expVal)('cc_fd_db_top_editor_toolbar_aa', 'cohort', 'control'));
|
|
45
43
|
if (['new-description', 'orig-description'].includes((0, _expVal.expVal)('cc_fd_db_top_editor_toolbar', 'cohort', 'control'))) {
|
|
46
44
|
// Sort by priority (lower first) on the concatenated list so items
|
|
47
45
|
// with "priority" are at the top (e.g. Whiteboard before Database)
|
|
@@ -30,8 +30,6 @@ export const DEFAULT_HEIGHT = 560;
|
|
|
30
30
|
this newer implementation matches how the "quick insert menu" sorts elements
|
|
31
31
|
*/
|
|
32
32
|
export const sortPrioritizedElements = (featuredItems, formatMessage) => {
|
|
33
|
-
// temporary for A/A test
|
|
34
|
-
['new-description', 'orig-description'].includes(expVal('cc_fd_db_top_editor_toolbar_aa', 'cohort', 'control'));
|
|
35
33
|
if (['new-description', 'orig-description'].includes(expVal('cc_fd_db_top_editor_toolbar', 'cohort', 'control'))) {
|
|
36
34
|
// Sort by priority (lower first) on the concatenated list so items
|
|
37
35
|
// with "priority" are at the top (e.g. Whiteboard before Database)
|
|
@@ -37,8 +37,6 @@ export var DEFAULT_HEIGHT = 560;
|
|
|
37
37
|
this newer implementation matches how the "quick insert menu" sorts elements
|
|
38
38
|
*/
|
|
39
39
|
export var sortPrioritizedElements = function sortPrioritizedElements(featuredItems, formatMessage) {
|
|
40
|
-
// temporary for A/A test
|
|
41
|
-
['new-description', 'orig-description'].includes(expVal('cc_fd_db_top_editor_toolbar_aa', 'cohort', 'control'));
|
|
42
40
|
if (['new-description', 'orig-description'].includes(expVal('cc_fd_db_top_editor_toolbar', 'cohort', 'control'))) {
|
|
43
41
|
// Sort by priority (lower first) on the concatenated list so items
|
|
44
42
|
// with "priority" are at the top (e.g. Whiteboard before Database)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.1",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/icon-lab": "^5.16.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
67
67
|
"@atlaskit/theme": "^21.0.0",
|
|
68
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
68
|
+
"@atlaskit/tmp-editor-statsig": "^28.0.0",
|
|
69
69
|
"@atlaskit/tokens": "^11.0.0",
|
|
70
70
|
"@babel/runtime": "^7.0.0",
|
|
71
71
|
"@emotion/react": "^11.7.1",
|