@atlaskit/editor-plugin-help-dialog 1.9.2 → 1.9.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 +14 -0
- package/dist/cjs/ui/formatting.js +1 -2
- package/dist/es2019/ui/formatting.js +1 -2
- package/dist/esm/ui/formatting.js +1 -2
- package/package.json +4 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 1.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.9.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#152968](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152968)
|
|
14
|
+
[`501e975100eab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/501e975100eab) -
|
|
15
|
+
[ED-24137] feature flag clean up for the Cell Options menu a11y work
|
|
16
|
+
|
|
3
17
|
## 1.9.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -11,7 +11,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
11
11
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
12
12
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _primitives = require("@atlaskit/primitives");
|
|
16
15
|
var _styles = require("./styles");
|
|
17
16
|
/**
|
|
@@ -627,5 +626,5 @@ var getSupportedFormatting = exports.getSupportedFormatting = function getSuppor
|
|
|
627
626
|
var supportedBySchema = formatting(intl).filter(function (format) {
|
|
628
627
|
return schema.nodes[format.type] || schema.marks[format.type];
|
|
629
628
|
});
|
|
630
|
-
return
|
|
629
|
+
return [].concat((0, _toConsumableArray2.default)(navigationKeymaps(intl)), (0, _toConsumableArray2.default)(otherFormatting(intl)), (0, _toConsumableArray2.default)(supportedBySchema), (0, _toConsumableArray2.default)(imageEnabled ? [imageAutoFormat] : []), (0, _toConsumableArray2.default)(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), (0, _toConsumableArray2.default)(focusTableResizeHandleFormatting(intl)), (0, _toConsumableArray2.default)(resizeInformationFormatting(intl)), (0, _toConsumableArray2.default)(openCellOptionsFormattingtoFormat(intl)));
|
|
631
630
|
};
|
|
@@ -8,7 +8,6 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
8
8
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
9
9
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, clearFormatting, decreaseMediaSize, focusTableResizer, focusToContextMenuTrigger, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
12
|
import { shortcutsArray } from './styles';
|
|
14
13
|
const codeSm = xcss({
|
|
@@ -480,5 +479,5 @@ const quickInsertAutoFormat = ({
|
|
|
480
479
|
});
|
|
481
480
|
export const getSupportedFormatting = (schema, intl, imageEnabled, quickInsertEnabled) => {
|
|
482
481
|
const supportedBySchema = formatting(intl).filter(format => schema.nodes[format.type] || schema.marks[format.type]);
|
|
483
|
-
return
|
|
482
|
+
return [...navigationKeymaps(intl), ...otherFormatting(intl), ...supportedBySchema, ...(imageEnabled ? [imageAutoFormat] : []), ...(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), ...focusTableResizeHandleFormatting(intl), ...resizeInformationFormatting(intl), ...openCellOptionsFormattingtoFormat(intl)];
|
|
484
483
|
};
|
|
@@ -9,7 +9,6 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
9
9
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
10
10
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, clearFormatting, decreaseMediaSize, focusTableResizer, focusToContextMenuTrigger, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
11
11
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
12
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
14
13
|
import { shortcutsArray } from './styles';
|
|
15
14
|
var codeSm = xcss({
|
|
@@ -619,5 +618,5 @@ export var getSupportedFormatting = function getSupportedFormatting(schema, intl
|
|
|
619
618
|
var supportedBySchema = formatting(intl).filter(function (format) {
|
|
620
619
|
return schema.nodes[format.type] || schema.marks[format.type];
|
|
621
620
|
});
|
|
622
|
-
return
|
|
621
|
+
return [].concat(_toConsumableArray(navigationKeymaps(intl)), _toConsumableArray(otherFormatting(intl)), _toConsumableArray(supportedBySchema), _toConsumableArray(imageEnabled ? [imageAutoFormat] : []), _toConsumableArray(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), _toConsumableArray(focusTableResizeHandleFormatting(intl)), _toConsumableArray(resizeInformationFormatting(intl)), _toConsumableArray(openCellOptionsFormattingtoFormat(intl)));
|
|
623
622
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,16 +31,15 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^94.
|
|
34
|
+
"@atlaskit/editor-common": "^94.8.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
36
36
|
"@atlaskit/editor-plugin-quick-insert": "^1.5.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
38
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
38
|
+
"@atlaskit/editor-shared-styles": "^3.1.0",
|
|
39
39
|
"@atlaskit/heading": "^2.4.0",
|
|
40
40
|
"@atlaskit/icon": "^22.24.0",
|
|
41
41
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
42
|
-
"@atlaskit/
|
|
43
|
-
"@atlaskit/primitives": "^12.2.0",
|
|
42
|
+
"@atlaskit/primitives": "^13.0.0",
|
|
44
43
|
"@atlaskit/theme": "^14.0.0",
|
|
45
44
|
"@atlaskit/tokens": "^2.0.0",
|
|
46
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -86,10 +85,5 @@
|
|
|
86
85
|
"emotion"
|
|
87
86
|
]
|
|
88
87
|
}
|
|
89
|
-
},
|
|
90
|
-
"platform-feature-flags": {
|
|
91
|
-
"platform_editor_a11y_table_context_menu": {
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
}
|
|
94
88
|
}
|
|
95
89
|
}
|