@atlaskit/editor-plugin-highlight 7.3.2 → 7.3.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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-highlight
|
|
2
2
|
|
|
3
|
+
## 7.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.3.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`653c0c803b286`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/653c0c803b286) -
|
|
14
|
+
EDITOR-4620 Clean up platform_editor_toolbar_aifc_patch_6
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 7.3.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -8,7 +8,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
8
8
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
9
9
|
var _preset = require("@atlaskit/editor-common/preset");
|
|
10
10
|
var _uiColor = require("@atlaskit/editor-common/ui-color");
|
|
11
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
12
11
|
var _changeColor = require("../editor-commands/change-color");
|
|
13
12
|
var _palette = require("../editor-commands/palette");
|
|
14
13
|
function keymapPlugin(_ref) {
|
|
@@ -16,7 +15,7 @@ function keymapPlugin(_ref) {
|
|
|
16
15
|
var api = _ref.api;
|
|
17
16
|
var list = {};
|
|
18
17
|
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
19
|
-
if (!
|
|
18
|
+
if (!isToolbarAIFCEnabled) {
|
|
20
19
|
(0, _keymaps.bindKeymapWithCommand)(
|
|
21
20
|
// Ignored via go/ees005
|
|
22
21
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -2,7 +2,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { bindKeymapWithCommand, keymap, toggleHighlightPalette, applyYellowHighlight } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { editorCommandToPMCommand } from '@atlaskit/editor-common/preset';
|
|
4
4
|
import { highlightColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { changeColor } from '../editor-commands/change-color';
|
|
7
6
|
import { togglePalette } from '../editor-commands/palette';
|
|
8
7
|
export function keymapPlugin({
|
|
@@ -11,7 +10,7 @@ export function keymapPlugin({
|
|
|
11
10
|
var _api$analytics;
|
|
12
11
|
const list = {};
|
|
13
12
|
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
14
|
-
if (!
|
|
13
|
+
if (!isToolbarAIFCEnabled) {
|
|
15
14
|
bindKeymapWithCommand(
|
|
16
15
|
// Ignored via go/ees005
|
|
17
16
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -2,7 +2,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { bindKeymapWithCommand, keymap, toggleHighlightPalette, applyYellowHighlight } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { editorCommandToPMCommand } from '@atlaskit/editor-common/preset';
|
|
4
4
|
import { highlightColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { changeColor } from '../editor-commands/change-color';
|
|
7
6
|
import { togglePalette } from '../editor-commands/palette';
|
|
8
7
|
export function keymapPlugin(_ref) {
|
|
@@ -10,7 +9,7 @@ export function keymapPlugin(_ref) {
|
|
|
10
9
|
var api = _ref.api;
|
|
11
10
|
var list = {};
|
|
12
11
|
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
13
|
-
if (!
|
|
12
|
+
if (!isToolbarAIFCEnabled) {
|
|
14
13
|
bindKeymapWithCommand(
|
|
15
14
|
// Ignored via go/ees005
|
|
16
15
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-highlight",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.4",
|
|
4
4
|
"description": "Highlight plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"@atlaskit/heading": "^5.2.0",
|
|
49
49
|
"@atlaskit/icon": "^30.0.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^17.
|
|
53
|
-
"@atlaskit/tokens": "^
|
|
51
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^17.10.0",
|
|
53
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^111.
|
|
58
|
+
"@atlaskit/editor-common": "^111.11.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
61
61
|
},
|