@atlaskit/editor-plugin-selection-toolbar 2.0.7 → 2.0.8
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-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 2.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#126126](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/126126)
|
|
8
|
+
[`468f52001a847`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/468f52001a847) -
|
|
9
|
+
Tidy up contextual formatting toolbar experiment and switch to `platform_editor_controls` flag
|
|
10
|
+
|
|
3
11
|
## 2.0.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -187,7 +187,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
|
|
|
187
187
|
if (Array.isArray((_resolved$i = resolved[i]) === null || _resolved$i === void 0 ? void 0 : _resolved$i.items)) {
|
|
188
188
|
items.push.apply(items, (0, _toConsumableArray2.default)(resolved[i].items));
|
|
189
189
|
}
|
|
190
|
-
if ((0, _experiments.editorExperiment)('
|
|
190
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
|
|
191
191
|
var shouldNotAddSeparator = false;
|
|
192
192
|
if (resolved[i] && resolved[i + 1]) {
|
|
193
193
|
var _resolved$i2, _resolved, _resolved$i3, _resolved2;
|
|
@@ -176,7 +176,7 @@ export const selectionToolbarPlugin = ({
|
|
|
176
176
|
if (Array.isArray((_resolved$i = resolved[i]) === null || _resolved$i === void 0 ? void 0 : _resolved$i.items)) {
|
|
177
177
|
items.push(...resolved[i].items);
|
|
178
178
|
}
|
|
179
|
-
if (editorExperiment('
|
|
179
|
+
if (editorExperiment('platform_editor_controls', 'variant1')) {
|
|
180
180
|
let shouldNotAddSeparator = false;
|
|
181
181
|
if (resolved[i] && resolved[i + 1]) {
|
|
182
182
|
var _resolved$i2, _resolved, _resolved$i3, _resolved2;
|
|
@@ -180,7 +180,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
|
|
|
180
180
|
if (Array.isArray((_resolved$i = resolved[i]) === null || _resolved$i === void 0 ? void 0 : _resolved$i.items)) {
|
|
181
181
|
items.push.apply(items, _toConsumableArray(resolved[i].items));
|
|
182
182
|
}
|
|
183
|
-
if (editorExperiment('
|
|
183
|
+
if (editorExperiment('platform_editor_controls', 'variant1')) {
|
|
184
184
|
var shouldNotAddSeparator = false;
|
|
185
185
|
if (resolved[i] && resolved[i + 1]) {
|
|
186
186
|
var _resolved$i2, _resolved, _resolved$i3, _resolved2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^102.
|
|
36
|
+
"@atlaskit/editor-common": "^102.5.0",
|
|
37
37
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/menu": "^3.1.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/tmp-editor-statsig": "^3.6.0",
|
|
44
|
-
"@atlaskit/tokens": "^4.
|
|
44
|
+
"@atlaskit/tokens": "^4.5.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"bind-event-listener": "^3.0.0"
|