@atlaskit/editor-plugin-block-controls 2.13.18 → 2.13.19
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-block-controls
|
|
2
2
|
|
|
3
|
+
## 2.13.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#166785](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166785)
|
|
8
|
+
[`d892942b6debe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d892942b6debe) -
|
|
9
|
+
[ux] ED-25750: Updated layout column tooltip texts
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 2.13.18
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -394,6 +394,13 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
|
|
|
394
394
|
}]);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
+
|
|
398
|
+
// When advanced layout is on, layout column drag handle show only show 'Drag to move', no shortcuts
|
|
399
|
+
if ((0, _experiments.editorExperiment)('advanced_layouts', true) && nodeType === 'layoutColumn') {
|
|
400
|
+
helpDescriptors = [{
|
|
401
|
+
description: formatMessage(_messages.blockControlsMessages.dragToMove)
|
|
402
|
+
}];
|
|
403
|
+
}
|
|
397
404
|
var message = helpDescriptors.map(function (descriptor) {
|
|
398
405
|
return descriptor.keymap ? [descriptor.description, (0, _keymaps.getAriaKeyshortcuts)(descriptor.keymap)] : [descriptor.description];
|
|
399
406
|
}).join('. ');
|
|
@@ -375,6 +375,13 @@ export const DragHandle = ({
|
|
|
375
375
|
}];
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
+
|
|
379
|
+
// When advanced layout is on, layout column drag handle show only show 'Drag to move', no shortcuts
|
|
380
|
+
if (editorExperiment('advanced_layouts', true) && nodeType === 'layoutColumn') {
|
|
381
|
+
helpDescriptors = [{
|
|
382
|
+
description: formatMessage(blockControlsMessages.dragToMove)
|
|
383
|
+
}];
|
|
384
|
+
}
|
|
378
385
|
const message = helpDescriptors.map(descriptor => {
|
|
379
386
|
return descriptor.keymap ? [descriptor.description, getAriaKeyshortcuts(descriptor.keymap)] : [descriptor.description];
|
|
380
387
|
}).join('. ');
|
|
@@ -385,6 +385,13 @@ export var DragHandle = function DragHandle(_ref) {
|
|
|
385
385
|
}]);
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
+
|
|
389
|
+
// When advanced layout is on, layout column drag handle show only show 'Drag to move', no shortcuts
|
|
390
|
+
if (editorExperiment('advanced_layouts', true) && nodeType === 'layoutColumn') {
|
|
391
|
+
helpDescriptors = [{
|
|
392
|
+
description: formatMessage(blockControlsMessages.dragToMove)
|
|
393
|
+
}];
|
|
394
|
+
}
|
|
388
395
|
var message = helpDescriptors.map(function (descriptor) {
|
|
389
396
|
return descriptor.keymap ? [descriptor.description, getAriaKeyshortcuts(descriptor.keymap)] : [descriptor.description];
|
|
390
397
|
}).join('. ');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.19",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/adf-schema": "^44.2.0",
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^95.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
37
37
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^13.2.0",
|
|
50
50
|
"@atlaskit/theme": "^14.0.0",
|
|
51
51
|
"@atlaskit/tmp-editor-statsig": "^2.19.0",
|
|
52
|
-
"@atlaskit/tokens": "^2.
|
|
52
|
+
"@atlaskit/tokens": "^2.3.0",
|
|
53
53
|
"@atlaskit/tooltip": "^18.9.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|