@atlaskit/editor-plugin-quick-insert 3.0.2 → 3.0.4
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 3.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#186309](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/186309)
|
|
14
|
+
[`286ffe3c6aa33`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/286ffe3c6aa33) -
|
|
15
|
+
[ED-28522] Fix a regression where view more button in quick insert in comment editor is shown,
|
|
16
|
+
which it should not
|
|
17
|
+
|
|
3
18
|
## 3.0.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -54,7 +54,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
|
|
|
54
54
|
}
|
|
55
55
|
return result;
|
|
56
56
|
},
|
|
57
|
-
getMoreOptionsButtonConfig: function
|
|
57
|
+
getMoreOptionsButtonConfig: options !== null && options !== void 0 && options.enableElementBrowser || !(0, _platformFeatureFlags.fg)('platform_editor_controls_fix_view_more_in_comment') ? function (_ref3) {
|
|
58
58
|
var formatMessage = _ref3.formatMessage;
|
|
59
59
|
return {
|
|
60
60
|
title: formatMessage(_messages.toolbarInsertBlockMessages.viewMore),
|
|
@@ -64,7 +64,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
|
|
|
64
64
|
label: ""
|
|
65
65
|
})
|
|
66
66
|
};
|
|
67
|
-
}
|
|
67
|
+
} : undefined
|
|
68
68
|
};
|
|
69
69
|
var intl;
|
|
70
70
|
return {
|
|
@@ -43,7 +43,7 @@ export const quickInsertPlugin = ({
|
|
|
43
43
|
}
|
|
44
44
|
return result;
|
|
45
45
|
},
|
|
46
|
-
getMoreOptionsButtonConfig: ({
|
|
46
|
+
getMoreOptionsButtonConfig: options !== null && options !== void 0 && options.enableElementBrowser || !fg('platform_editor_controls_fix_view_more_in_comment') ? ({
|
|
47
47
|
formatMessage
|
|
48
48
|
}) => {
|
|
49
49
|
return {
|
|
@@ -54,7 +54,7 @@ export const quickInsertPlugin = ({
|
|
|
54
54
|
label: ""
|
|
55
55
|
})
|
|
56
56
|
};
|
|
57
|
-
}
|
|
57
|
+
} : undefined
|
|
58
58
|
};
|
|
59
59
|
let intl;
|
|
60
60
|
return {
|
|
@@ -47,7 +47,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
47
47
|
}
|
|
48
48
|
return result;
|
|
49
49
|
},
|
|
50
|
-
getMoreOptionsButtonConfig: function
|
|
50
|
+
getMoreOptionsButtonConfig: options !== null && options !== void 0 && options.enableElementBrowser || !fg('platform_editor_controls_fix_view_more_in_comment') ? function (_ref3) {
|
|
51
51
|
var formatMessage = _ref3.formatMessage;
|
|
52
52
|
return {
|
|
53
53
|
title: formatMessage(messages.viewMore),
|
|
@@ -57,7 +57,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
57
57
|
label: ""
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
|
-
}
|
|
60
|
+
} : undefined
|
|
61
61
|
};
|
|
62
62
|
var intl;
|
|
63
63
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,22 +32,22 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/button": "^23.
|
|
36
|
-
"@atlaskit/editor-plugin-connectivity": "^3.
|
|
35
|
+
"@atlaskit/button": "^23.3.0",
|
|
36
|
+
"@atlaskit/editor-plugin-connectivity": "^3.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-metrics": "^4.0.0",
|
|
38
|
-
"@atlaskit/editor-plugin-type-ahead": "^3.
|
|
38
|
+
"@atlaskit/editor-plugin-type-ahead": "^3.1.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
40
|
-
"@atlaskit/icon": "^27.
|
|
41
|
-
"@atlaskit/modal-dialog": "^14.
|
|
40
|
+
"@atlaskit/icon": "^27.9.0",
|
|
41
|
+
"@atlaskit/modal-dialog": "^14.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/theme": "^19.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
45
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^9.22.0",
|
|
45
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atlaskit/editor-common": "^107.
|
|
50
|
+
"@atlaskit/editor-common": "^107.16.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -105,6 +105,9 @@
|
|
|
105
105
|
},
|
|
106
106
|
"platform_editor_fix_space_triggering_ai": {
|
|
107
107
|
"type": "boolean"
|
|
108
|
+
},
|
|
109
|
+
"platform_editor_controls_fix_view_more_in_comment": {
|
|
110
|
+
"type": "boolean"
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
}
|