@atlaskit/editor-common 79.3.1 → 79.4.1
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 +17 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/analytics/types/highlight-events.js +5 -0
- package/dist/cjs/analytics/types/toolbar-button.js +1 -0
- package/dist/cjs/i18n/en.js +1 -1
- package/dist/cjs/i18n/en_GB.js +1 -1
- package/dist/cjs/i18n/en_ZZ.js +1 -1
- package/dist/cjs/messages/highlight.js +14 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/list.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/rank.js +5 -5
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +23 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +16 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/textColorPalette.js +2 -2
- package/dist/cjs/ui-color/index.js +13 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/analytics/types/highlight-events.js +1 -0
- package/dist/es2019/analytics/types/toolbar-button.js +1 -0
- package/dist/es2019/i18n/en.js +1 -1
- package/dist/es2019/i18n/en_GB.js +1 -1
- package/dist/es2019/i18n/en_ZZ.js +1 -1
- package/dist/es2019/messages/highlight.js +8 -0
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/list.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/rank.js +5 -5
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +16 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +16 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -1
- package/dist/es2019/ui-color/index.js +1 -0
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/analytics/types/highlight-events.js +1 -0
- package/dist/esm/analytics/types/toolbar-button.js +1 -0
- package/dist/esm/i18n/en.js +1 -1
- package/dist/esm/i18n/en_GB.js +1 -1
- package/dist/esm/i18n/en_ZZ.js +1 -1
- package/dist/esm/messages/highlight.js +8 -0
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/list.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/rank.js +5 -5
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +16 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +16 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -1
- package/dist/esm/ui-color/index.js +1 -0
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/events.d.ts +2 -1
- package/dist/types/analytics/types/highlight-events.d.ts +4 -0
- package/dist/types/analytics/types/toolbar-button.d.ts +1 -0
- package/dist/types/messages/highlight.d.ts +7 -0
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/ui-color/ColorPalette/Palettes/highlightColorPalette.d.ts +3 -0
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +15 -0
- package/dist/types/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +7 -1
- package/dist/types/ui-color/index.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +4 -0
- package/dist/types-ts4.5/analytics/types/toolbar-button.d.ts +1 -0
- package/dist/types-ts4.5/messages/highlight.d.ts +7 -0
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/highlightColorPalette.d.ts +3 -0
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +15 -0
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +7 -1
- package/dist/types-ts4.5/ui-color/index.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 79.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96397](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96397)
|
|
8
|
+
[`37f594d6c2d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/37f594d6c2d8) -
|
|
9
|
+
[ux] [ECA11Y-227] Corrected typo in List formatting aria-label
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 79.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#98130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98130)
|
|
17
|
+
[`6a3c0d9d6382`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3c0d9d6382) -
|
|
18
|
+
[ED-23154] Add highlight option to main toolbar in editor
|
|
19
|
+
|
|
3
20
|
## 79.3.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -285,6 +285,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
285
285
|
ACTION_SUBJECT_ID["FRAGMENT_MARK"] = "fragmentMark";
|
|
286
286
|
ACTION_SUBJECT_ID["GOTO_SMART_LINK_SETTINGS"] = "goToSmartLinkSettings";
|
|
287
287
|
ACTION_SUBJECT_ID["HELP_QUICK_INSERT"] = "helpQuickInsert";
|
|
288
|
+
ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
288
289
|
ACTION_SUBJECT_ID["HYPERLINK"] = "hyperlink";
|
|
289
290
|
ACTION_SUBJECT_ID["INLINE_COMMENT"] = "inlineComment";
|
|
290
291
|
ACTION_SUBJECT_ID["LAYOUT"] = "layout";
|
|
@@ -14,6 +14,7 @@ var TOOLBAR_ACTION_SUBJECT_ID = exports.TOOLBAR_ACTION_SUBJECT_ID = /*#__PURE__*
|
|
|
14
14
|
TOOLBAR_ACTION_SUBJECT_ID["DECISION_LIST"] = "decisionList";
|
|
15
15
|
TOOLBAR_ACTION_SUBJECT_ID["TASK_LIST"] = "taskList";
|
|
16
16
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_COLOR"] = "color";
|
|
17
|
+
TOOLBAR_ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
17
18
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_STRONG"] = "strong";
|
|
18
19
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_ITALIC"] = "italic";
|
|
19
20
|
TOOLBAR_ACTION_SUBJECT_ID["UNDO"] = "undo";
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.highlightMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var highlightMessages = exports.highlightMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
highlight: {
|
|
10
|
+
id: 'fabric.editor.highlight',
|
|
11
|
+
defaultMessage: 'Highlight color',
|
|
12
|
+
description: 'Label for the highlight color menu option in the primary editor toolbar. Opens up the color palette for the highlight colors.'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
@@ -70,6 +70,12 @@ Object.defineProperty(exports, "helpDialogMessages", {
|
|
|
70
70
|
return _helpDialog.helpDialogMessages;
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
+
Object.defineProperty(exports, "highlightMessages", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function get() {
|
|
76
|
+
return _highlight.highlightMessages;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
73
79
|
Object.defineProperty(exports, "indentationMessages", {
|
|
74
80
|
enumerable: true,
|
|
75
81
|
get: function get() {
|
|
@@ -208,6 +214,7 @@ var _pasteOptionsToolbar = require("./paste-options-toolbar");
|
|
|
208
214
|
var _panel = require("./panel");
|
|
209
215
|
var _mentions = require("./mentions");
|
|
210
216
|
var _helpDialog = require("./help-dialog");
|
|
217
|
+
var _highlight = require("./highlight");
|
|
211
218
|
var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
212
219
|
layoutFixedWidth: {
|
|
213
220
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -35,7 +35,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
35
35
|
},
|
|
36
36
|
listsFormat: {
|
|
37
37
|
id: 'fabric.editor.listsFormat',
|
|
38
|
-
defaultMessage: 'List
|
|
38
|
+
defaultMessage: 'List formatting',
|
|
39
39
|
description: 'Aria label for the wrapper of list buttons'
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "79.
|
|
19
|
+
var packageVersion = "79.4.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
package/dist/cjs/rank.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.rankEditorPlugins = void 0;
|
|
7
7
|
exports.sortByOrder = sortByOrder;
|
|
8
8
|
exports.sortByOrderWithTypeName = sortByOrderWithTypeName;
|
|
9
|
-
// @
|
|
9
|
+
// @deprecated
|
|
10
10
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
11
11
|
var rankEditorPlugins = exports.rankEditorPlugins = {
|
|
12
12
|
plugins: ['featureFlagsContextPlugin', 'compositionPlugin', 'inlineCursorTargetPlugin', 'typeAhead', 'typeAheadInsertItem', 'focusHandlerPlugin', 'frozenEditor', 'submitEditor', 'saveOnEnter', 'customAutoformatting', 'newlinePreserveMarksPlugin', 'imageUpload', 'imageUploadInputRule', 'clipboard', 'paste', 'pasteKeymap', 'mention', 'mentionInputRule', 'mentionKeymap', 'emoji', 'placeholderText', 'emojiInputRule', 'emojiKeymap', 'emojiAsciiInputRule', 'blockType', 'quickInsert', 'tasksAndDecisions', 'blockTypeInputRule', 'tasksAndDecisionsInputRule', 'list', 'typeAheadKeymap', 'typeAheadInputRule', 'date',
|
|
13
13
|
// Needs to be before indentation to handle tab into input field
|
|
14
14
|
'dateKeymap',
|
|
15
15
|
// This should be always after `typeAheadKeymap` & `emojiKeymap`
|
|
16
|
-
'indentationKeymap', 'textColor', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
16
|
+
'indentationKeymap', 'textColor', 'highlight', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
17
17
|
// task/decisions keymap needs to be above table keymap so can indent actions in a table
|
|
18
18
|
'tasksAndDecisionsKeyMap',
|
|
19
19
|
// expand and table keymaps need to be above selection keymap to add their custom selection behaviour:
|
|
@@ -29,14 +29,14 @@ var rankEditorPlugins = exports.rankEditorPlugins = {
|
|
|
29
29
|
// Fragment mark is both for inline and block elements
|
|
30
30
|
'fragment',
|
|
31
31
|
// Inline marks
|
|
32
|
-
'link', 'em', 'strong', 'textColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
32
|
+
'link', 'em', 'strong', 'textColor', 'backgroundColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
33
33
|
// Block marks
|
|
34
34
|
'alignment', 'breakout', 'indentation', 'annotation', 'dataConsumer', 'border',
|
|
35
35
|
// Unsupported mark
|
|
36
36
|
'unsupportedMark', 'unsupportedNodeAttribute']
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
// @
|
|
39
|
+
// @deprecated
|
|
40
40
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
41
41
|
function sortByOrder(item) {
|
|
42
42
|
return function (a, b) {
|
|
@@ -49,7 +49,7 @@ function sortByOrder(item) {
|
|
|
49
49
|
// function avoided that whole mess. If someone can think of a better way to implement
|
|
50
50
|
// the above and below into a single function please do so
|
|
51
51
|
|
|
52
|
-
// @
|
|
52
|
+
// @deprecated
|
|
53
53
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
54
54
|
function sortByOrderWithTypeName(item) {
|
|
55
55
|
return function (a, b) {
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "79.
|
|
23
|
+
var packageVersion = "79.4.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.highlightColorPalette = exports.REMOVE_HIGHLIGHT_COLOR = void 0;
|
|
8
|
+
var _adfSchema = require("@atlaskit/adf-schema");
|
|
9
|
+
var _common = require("./common");
|
|
10
|
+
var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
|
|
11
|
+
var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
|
|
12
|
+
var _textColorPalette = require("./textColorPalette");
|
|
13
|
+
var REMOVE_HIGHLIGHT_COLOR = exports.REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
14
|
+
var highlightColorPalette = exports.highlightColorPalette = [{
|
|
15
|
+
value: REMOVE_HIGHLIGHT_COLOR,
|
|
16
|
+
label: 'No color',
|
|
17
|
+
// Mostly informative, only used for analytics
|
|
18
|
+
border: _common.DEFAULT_BORDER_COLOR,
|
|
19
|
+
message: (0, _getColorMessage.default)(_paletteMessages.default, 'no-color')
|
|
20
|
+
}];
|
|
21
|
+
_adfSchema.backgroundColorPalette.forEach(function (label, color) {
|
|
22
|
+
highlightColorPalette.push((0, _textColorPalette.mapPaletteColor)(label, color));
|
|
23
|
+
});
|
|
@@ -125,5 +125,21 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
125
125
|
id: 'fabric.theme.bold-gray',
|
|
126
126
|
defaultMessage: 'Bold gray',
|
|
127
127
|
description: 'Name of a color'
|
|
128
|
+
},
|
|
129
|
+
// Colors only used in highlight palette
|
|
130
|
+
'no-color': {
|
|
131
|
+
id: 'fabric.theme.no-color',
|
|
132
|
+
defaultMessage: 'Remove highlight',
|
|
133
|
+
description: 'Tooltip for the no color option in the highlight color palette in the main editor toolbar'
|
|
134
|
+
},
|
|
135
|
+
lime: {
|
|
136
|
+
id: 'fabric.theme.lime',
|
|
137
|
+
defaultMessage: 'Lime',
|
|
138
|
+
description: "Tooltip for the lime color used in the main toolbar's highlight color palette"
|
|
139
|
+
},
|
|
140
|
+
magenta: {
|
|
141
|
+
id: 'fabric.theme.magenta',
|
|
142
|
+
defaultMessage: 'Magenta',
|
|
143
|
+
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
128
144
|
}
|
|
129
145
|
});
|
|
@@ -4,12 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.textColorPalette = void 0;
|
|
7
|
+
exports.textColorPalette = exports.mapPaletteColor = void 0;
|
|
8
8
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
9
9
|
var _common = require("./common");
|
|
10
10
|
var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
|
|
11
11
|
var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
|
|
12
|
-
var mapPaletteColor = function mapPaletteColor(label, color) {
|
|
12
|
+
var mapPaletteColor = exports.mapPaletteColor = function mapPaletteColor(label, color) {
|
|
13
13
|
var key = label.toLowerCase().replace(' ', '-');
|
|
14
14
|
var message = (0, _getColorMessage.default)(_paletteMessages.default, key);
|
|
15
15
|
return {
|
|
@@ -28,6 +28,12 @@ Object.defineProperty(exports, "DEFAULT_COLOR_PICKER_COLUMNS", {
|
|
|
28
28
|
return _utils.DEFAULT_COLOR_PICKER_COLUMNS;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
+
Object.defineProperty(exports, "REMOVE_HIGHLIGHT_COLOR", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function get() {
|
|
34
|
+
return _highlightColorPalette.REMOVE_HIGHLIGHT_COLOR;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
31
37
|
Object.defineProperty(exports, "backgroundPaletteTooltipMessages", {
|
|
32
38
|
enumerable: true,
|
|
33
39
|
get: function get() {
|
|
@@ -88,6 +94,12 @@ Object.defineProperty(exports, "getSelectedRowAndColumnFromPalette", {
|
|
|
88
94
|
return _utils.getSelectedRowAndColumnFromPalette;
|
|
89
95
|
}
|
|
90
96
|
});
|
|
97
|
+
Object.defineProperty(exports, "highlightColorPalette", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function get() {
|
|
100
|
+
return _highlightColorPalette.highlightColorPalette;
|
|
101
|
+
}
|
|
102
|
+
});
|
|
91
103
|
Object.defineProperty(exports, "lightModeStatusColorPalette", {
|
|
92
104
|
enumerable: true,
|
|
93
105
|
get: function get() {
|
|
@@ -126,6 +138,7 @@ var _paletteMessages = _interopRequireDefault(require("./ColorPalette/Palettes/p
|
|
|
126
138
|
var _panelBackgroundPalette = require("./ColorPalette/Palettes/panelBackgroundPalette");
|
|
127
139
|
var _statusColorPalette = require("./ColorPalette/Palettes/statusColorPalette");
|
|
128
140
|
var _textColorPalette = require("./ColorPalette/Palettes/textColorPalette");
|
|
141
|
+
var _highlightColorPalette = require("./ColorPalette/Palettes/highlightColorPalette");
|
|
129
142
|
var _Palettes = require("./ColorPalette/Palettes");
|
|
130
143
|
var _common = require("./ColorPalette/Palettes/common");
|
|
131
144
|
var _borderColorPalette = _interopRequireDefault(require("./ColorPalette/Palettes/borderColorPalette"));
|
|
@@ -279,6 +279,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
279
279
|
ACTION_SUBJECT_ID["FRAGMENT_MARK"] = "fragmentMark";
|
|
280
280
|
ACTION_SUBJECT_ID["GOTO_SMART_LINK_SETTINGS"] = "goToSmartLinkSettings";
|
|
281
281
|
ACTION_SUBJECT_ID["HELP_QUICK_INSERT"] = "helpQuickInsert";
|
|
282
|
+
ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
282
283
|
ACTION_SUBJECT_ID["HYPERLINK"] = "hyperlink";
|
|
283
284
|
ACTION_SUBJECT_ID["INLINE_COMMENT"] = "inlineComment";
|
|
284
285
|
ACTION_SUBJECT_ID["LAYOUT"] = "layout";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,7 @@ export let TOOLBAR_ACTION_SUBJECT_ID = /*#__PURE__*/function (TOOLBAR_ACTION_SUB
|
|
|
8
8
|
TOOLBAR_ACTION_SUBJECT_ID["DECISION_LIST"] = "decisionList";
|
|
9
9
|
TOOLBAR_ACTION_SUBJECT_ID["TASK_LIST"] = "taskList";
|
|
10
10
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_COLOR"] = "color";
|
|
11
|
+
TOOLBAR_ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
11
12
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_STRONG"] = "strong";
|
|
12
13
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_ITALIC"] = "italic";
|
|
13
14
|
TOOLBAR_ACTION_SUBJECT_ID["UNDO"] = "undo";
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const highlightMessages = defineMessages({
|
|
3
|
+
highlight: {
|
|
4
|
+
id: 'fabric.editor.highlight',
|
|
5
|
+
defaultMessage: 'Highlight color',
|
|
6
|
+
description: 'Label for the highlight color menu option in the primary editor toolbar. Opens up the color palette for the highlight colors.'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -28,6 +28,7 @@ export { pasteOptionsToolbarMessages } from './paste-options-toolbar';
|
|
|
28
28
|
export { panelMessages } from './panel';
|
|
29
29
|
export { mentionMessages } from './mentions';
|
|
30
30
|
export { helpDialogMessages } from './help-dialog';
|
|
31
|
+
export { highlightMessages } from './highlight';
|
|
31
32
|
export default defineMessages({
|
|
32
33
|
layoutFixedWidth: {
|
|
33
34
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "79.
|
|
3
|
+
const packageVersion = "79.4.1";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
package/dist/es2019/rank.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// @
|
|
1
|
+
// @deprecated
|
|
2
2
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
3
3
|
export const rankEditorPlugins = {
|
|
4
4
|
plugins: ['featureFlagsContextPlugin', 'compositionPlugin', 'inlineCursorTargetPlugin', 'typeAhead', 'typeAheadInsertItem', 'focusHandlerPlugin', 'frozenEditor', 'submitEditor', 'saveOnEnter', 'customAutoformatting', 'newlinePreserveMarksPlugin', 'imageUpload', 'imageUploadInputRule', 'clipboard', 'paste', 'pasteKeymap', 'mention', 'mentionInputRule', 'mentionKeymap', 'emoji', 'placeholderText', 'emojiInputRule', 'emojiKeymap', 'emojiAsciiInputRule', 'blockType', 'quickInsert', 'tasksAndDecisions', 'blockTypeInputRule', 'tasksAndDecisionsInputRule', 'list', 'typeAheadKeymap', 'typeAheadInputRule', 'date',
|
|
5
5
|
// Needs to be before indentation to handle tab into input field
|
|
6
6
|
'dateKeymap',
|
|
7
7
|
// This should be always after `typeAheadKeymap` & `emojiKeymap`
|
|
8
|
-
'indentationKeymap', 'textColor', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
8
|
+
'indentationKeymap', 'textColor', 'highlight', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
9
9
|
// task/decisions keymap needs to be above table keymap so can indent actions in a table
|
|
10
10
|
'tasksAndDecisionsKeyMap',
|
|
11
11
|
// expand and table keymaps need to be above selection keymap to add their custom selection behaviour:
|
|
@@ -21,14 +21,14 @@ export const rankEditorPlugins = {
|
|
|
21
21
|
// Fragment mark is both for inline and block elements
|
|
22
22
|
'fragment',
|
|
23
23
|
// Inline marks
|
|
24
|
-
'link', 'em', 'strong', 'textColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
24
|
+
'link', 'em', 'strong', 'textColor', 'backgroundColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
25
25
|
// Block marks
|
|
26
26
|
'alignment', 'breakout', 'indentation', 'annotation', 'dataConsumer', 'border',
|
|
27
27
|
// Unsupported mark
|
|
28
28
|
'unsupportedMark', 'unsupportedNodeAttribute']
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
// @
|
|
31
|
+
// @deprecated
|
|
32
32
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
33
33
|
export function sortByOrder(item) {
|
|
34
34
|
return function (a, b) {
|
|
@@ -41,7 +41,7 @@ export function sortByOrder(item) {
|
|
|
41
41
|
// function avoided that whole mess. If someone can think of a better way to implement
|
|
42
42
|
// the above and below into a single function please do so
|
|
43
43
|
|
|
44
|
-
// @
|
|
44
|
+
// @deprecated
|
|
45
45
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
46
46
|
export function sortByOrderWithTypeName(item) {
|
|
47
47
|
return function (a, b) {
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "79.
|
|
10
|
+
const packageVersion = "79.4.1";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { backgroundColorPalette } from '@atlaskit/adf-schema';
|
|
2
|
+
import { DEFAULT_BORDER_COLOR } from './common';
|
|
3
|
+
import getColorMessage from './getColorMessage';
|
|
4
|
+
import paletteMessages from './paletteMessages';
|
|
5
|
+
import { mapPaletteColor } from './textColorPalette';
|
|
6
|
+
export const REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
7
|
+
export const highlightColorPalette = [{
|
|
8
|
+
value: REMOVE_HIGHLIGHT_COLOR,
|
|
9
|
+
label: 'No color',
|
|
10
|
+
// Mostly informative, only used for analytics
|
|
11
|
+
border: DEFAULT_BORDER_COLOR,
|
|
12
|
+
message: getColorMessage(paletteMessages, 'no-color')
|
|
13
|
+
}];
|
|
14
|
+
backgroundColorPalette.forEach((label, color) => {
|
|
15
|
+
highlightColorPalette.push(mapPaletteColor(label, color));
|
|
16
|
+
});
|
|
@@ -119,5 +119,21 @@ export default defineMessages({
|
|
|
119
119
|
id: 'fabric.theme.bold-gray',
|
|
120
120
|
defaultMessage: 'Bold gray',
|
|
121
121
|
description: 'Name of a color'
|
|
122
|
+
},
|
|
123
|
+
// Colors only used in highlight palette
|
|
124
|
+
'no-color': {
|
|
125
|
+
id: 'fabric.theme.no-color',
|
|
126
|
+
defaultMessage: 'Remove highlight',
|
|
127
|
+
description: 'Tooltip for the no color option in the highlight color palette in the main editor toolbar'
|
|
128
|
+
},
|
|
129
|
+
lime: {
|
|
130
|
+
id: 'fabric.theme.lime',
|
|
131
|
+
defaultMessage: 'Lime',
|
|
132
|
+
description: "Tooltip for the lime color used in the main toolbar's highlight color palette"
|
|
133
|
+
},
|
|
134
|
+
magenta: {
|
|
135
|
+
id: 'fabric.theme.magenta',
|
|
136
|
+
defaultMessage: 'Magenta',
|
|
137
|
+
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
122
138
|
}
|
|
123
139
|
});
|
|
@@ -2,7 +2,7 @@ import { colorPalette } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import { DEFAULT_BORDER_COLOR } from './common';
|
|
3
3
|
import getColorMessage from './getColorMessage';
|
|
4
4
|
import paletteMessages from './paletteMessages';
|
|
5
|
-
const mapPaletteColor = (label, color) => {
|
|
5
|
+
export const mapPaletteColor = (label, color) => {
|
|
6
6
|
const key = label.toLowerCase().replace(' ', '-');
|
|
7
7
|
const message = getColorMessage(paletteMessages, key);
|
|
8
8
|
return {
|
|
@@ -6,6 +6,7 @@ export { default as colorPaletteMessages } from './ColorPalette/Palettes/palette
|
|
|
6
6
|
export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
7
7
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
|
|
8
8
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
9
|
+
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR } from './ColorPalette/Palettes/highlightColorPalette';
|
|
9
10
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
|
|
10
11
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
11
12
|
export { default as borderColorPalette } from './ColorPalette/Palettes/borderColorPalette';
|
|
@@ -279,6 +279,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
279
279
|
ACTION_SUBJECT_ID["FRAGMENT_MARK"] = "fragmentMark";
|
|
280
280
|
ACTION_SUBJECT_ID["GOTO_SMART_LINK_SETTINGS"] = "goToSmartLinkSettings";
|
|
281
281
|
ACTION_SUBJECT_ID["HELP_QUICK_INSERT"] = "helpQuickInsert";
|
|
282
|
+
ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
282
283
|
ACTION_SUBJECT_ID["HYPERLINK"] = "hyperlink";
|
|
283
284
|
ACTION_SUBJECT_ID["INLINE_COMMENT"] = "inlineComment";
|
|
284
285
|
ACTION_SUBJECT_ID["LAYOUT"] = "layout";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,7 @@ export var TOOLBAR_ACTION_SUBJECT_ID = /*#__PURE__*/function (TOOLBAR_ACTION_SUB
|
|
|
8
8
|
TOOLBAR_ACTION_SUBJECT_ID["DECISION_LIST"] = "decisionList";
|
|
9
9
|
TOOLBAR_ACTION_SUBJECT_ID["TASK_LIST"] = "taskList";
|
|
10
10
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_COLOR"] = "color";
|
|
11
|
+
TOOLBAR_ACTION_SUBJECT_ID["HIGHLIGHT"] = "highlight";
|
|
11
12
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_STRONG"] = "strong";
|
|
12
13
|
TOOLBAR_ACTION_SUBJECT_ID["TEXT_FORMATTING_ITALIC"] = "italic";
|
|
13
14
|
TOOLBAR_ACTION_SUBJECT_ID["UNDO"] = "undo";
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var highlightMessages = defineMessages({
|
|
3
|
+
highlight: {
|
|
4
|
+
id: 'fabric.editor.highlight',
|
|
5
|
+
defaultMessage: 'Highlight color',
|
|
6
|
+
description: 'Label for the highlight color menu option in the primary editor toolbar. Opens up the color palette for the highlight colors.'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -28,6 +28,7 @@ export { pasteOptionsToolbarMessages } from './paste-options-toolbar';
|
|
|
28
28
|
export { panelMessages } from './panel';
|
|
29
29
|
export { mentionMessages } from './mentions';
|
|
30
30
|
export { helpDialogMessages } from './help-dialog';
|
|
31
|
+
export { highlightMessages } from './highlight';
|
|
31
32
|
export default defineMessages({
|
|
32
33
|
layoutFixedWidth: {
|
|
33
34
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "79.
|
|
9
|
+
var packageVersion = "79.4.1";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// TODO: Sanitise the URL instead of just removing it
|
package/dist/esm/rank.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// @
|
|
1
|
+
// @deprecated
|
|
2
2
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
3
3
|
export var rankEditorPlugins = {
|
|
4
4
|
plugins: ['featureFlagsContextPlugin', 'compositionPlugin', 'inlineCursorTargetPlugin', 'typeAhead', 'typeAheadInsertItem', 'focusHandlerPlugin', 'frozenEditor', 'submitEditor', 'saveOnEnter', 'customAutoformatting', 'newlinePreserveMarksPlugin', 'imageUpload', 'imageUploadInputRule', 'clipboard', 'paste', 'pasteKeymap', 'mention', 'mentionInputRule', 'mentionKeymap', 'emoji', 'placeholderText', 'emojiInputRule', 'emojiKeymap', 'emojiAsciiInputRule', 'blockType', 'quickInsert', 'tasksAndDecisions', 'blockTypeInputRule', 'tasksAndDecisionsInputRule', 'list', 'typeAheadKeymap', 'typeAheadInputRule', 'date',
|
|
5
5
|
// Needs to be before indentation to handle tab into input field
|
|
6
6
|
'dateKeymap',
|
|
7
7
|
// This should be always after `typeAheadKeymap` & `emojiKeymap`
|
|
8
|
-
'indentationKeymap', 'textColor', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
8
|
+
'indentationKeymap', 'textColor', 'highlight', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
|
|
9
9
|
// task/decisions keymap needs to be above table keymap so can indent actions in a table
|
|
10
10
|
'tasksAndDecisionsKeyMap',
|
|
11
11
|
// expand and table keymaps need to be above selection keymap to add their custom selection behaviour:
|
|
@@ -21,14 +21,14 @@ export var rankEditorPlugins = {
|
|
|
21
21
|
// Fragment mark is both for inline and block elements
|
|
22
22
|
'fragment',
|
|
23
23
|
// Inline marks
|
|
24
|
-
'link', 'em', 'strong', 'textColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
24
|
+
'link', 'em', 'strong', 'textColor', 'backgroundColor', 'strike', 'subsup', 'underline', 'code', 'typeAheadQuery',
|
|
25
25
|
// Block marks
|
|
26
26
|
'alignment', 'breakout', 'indentation', 'annotation', 'dataConsumer', 'border',
|
|
27
27
|
// Unsupported mark
|
|
28
28
|
'unsupportedMark', 'unsupportedNodeAttribute']
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
// @
|
|
31
|
+
// @deprecated
|
|
32
32
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
33
33
|
export function sortByOrder(item) {
|
|
34
34
|
return function (a, b) {
|
|
@@ -41,7 +41,7 @@ export function sortByOrder(item) {
|
|
|
41
41
|
// function avoided that whole mess. If someone can think of a better way to implement
|
|
42
42
|
// the above and below into a single function please do so
|
|
43
43
|
|
|
44
|
-
// @
|
|
44
|
+
// @deprecated
|
|
45
45
|
// @private This rank is not stable and should not be trusted. If you need to change this file, please let the Editor lego team know about it
|
|
46
46
|
export function sortByOrderWithTypeName(item) {
|
|
47
47
|
return function (a, b) {
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "79.
|
|
18
|
+
var packageVersion = "79.4.1";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { backgroundColorPalette } from '@atlaskit/adf-schema';
|
|
2
|
+
import { DEFAULT_BORDER_COLOR } from './common';
|
|
3
|
+
import getColorMessage from './getColorMessage';
|
|
4
|
+
import paletteMessages from './paletteMessages';
|
|
5
|
+
import { mapPaletteColor } from './textColorPalette';
|
|
6
|
+
export var REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
7
|
+
export var highlightColorPalette = [{
|
|
8
|
+
value: REMOVE_HIGHLIGHT_COLOR,
|
|
9
|
+
label: 'No color',
|
|
10
|
+
// Mostly informative, only used for analytics
|
|
11
|
+
border: DEFAULT_BORDER_COLOR,
|
|
12
|
+
message: getColorMessage(paletteMessages, 'no-color')
|
|
13
|
+
}];
|
|
14
|
+
backgroundColorPalette.forEach(function (label, color) {
|
|
15
|
+
highlightColorPalette.push(mapPaletteColor(label, color));
|
|
16
|
+
});
|
|
@@ -119,5 +119,21 @@ export default defineMessages({
|
|
|
119
119
|
id: 'fabric.theme.bold-gray',
|
|
120
120
|
defaultMessage: 'Bold gray',
|
|
121
121
|
description: 'Name of a color'
|
|
122
|
+
},
|
|
123
|
+
// Colors only used in highlight palette
|
|
124
|
+
'no-color': {
|
|
125
|
+
id: 'fabric.theme.no-color',
|
|
126
|
+
defaultMessage: 'Remove highlight',
|
|
127
|
+
description: 'Tooltip for the no color option in the highlight color palette in the main editor toolbar'
|
|
128
|
+
},
|
|
129
|
+
lime: {
|
|
130
|
+
id: 'fabric.theme.lime',
|
|
131
|
+
defaultMessage: 'Lime',
|
|
132
|
+
description: "Tooltip for the lime color used in the main toolbar's highlight color palette"
|
|
133
|
+
},
|
|
134
|
+
magenta: {
|
|
135
|
+
id: 'fabric.theme.magenta',
|
|
136
|
+
defaultMessage: 'Magenta',
|
|
137
|
+
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
122
138
|
}
|
|
123
139
|
});
|
|
@@ -2,7 +2,7 @@ import { colorPalette } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import { DEFAULT_BORDER_COLOR } from './common';
|
|
3
3
|
import getColorMessage from './getColorMessage';
|
|
4
4
|
import paletteMessages from './paletteMessages';
|
|
5
|
-
var mapPaletteColor = function mapPaletteColor(label, color) {
|
|
5
|
+
export var mapPaletteColor = function mapPaletteColor(label, color) {
|
|
6
6
|
var key = label.toLowerCase().replace(' ', '-');
|
|
7
7
|
var message = getColorMessage(paletteMessages, key);
|
|
8
8
|
return {
|
|
@@ -6,6 +6,7 @@ export { default as colorPaletteMessages } from './ColorPalette/Palettes/palette
|
|
|
6
6
|
export { panelBackgroundPalette, panelDarkModeBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
7
7
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette } from './ColorPalette/Palettes/statusColorPalette';
|
|
8
8
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
9
|
+
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR } from './ColorPalette/Palettes/highlightColorPalette';
|
|
9
10
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
|
|
10
11
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
11
12
|
export { default as borderColorPalette } from './ColorPalette/Palettes/borderColorPalette';
|
|
@@ -282,6 +282,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
282
282
|
FRAGMENT_MARK = "fragmentMark",
|
|
283
283
|
GOTO_SMART_LINK_SETTINGS = "goToSmartLinkSettings",
|
|
284
284
|
HELP_QUICK_INSERT = "helpQuickInsert",
|
|
285
|
+
HIGHLIGHT = "highlight",
|
|
285
286
|
HYPERLINK = "hyperlink",
|
|
286
287
|
INLINE_COMMENT = "inlineComment",
|
|
287
288
|
LAYOUT = "layout",
|
|
@@ -15,6 +15,7 @@ import type { FindReplaceEventPayload } from './find-replace-events';
|
|
|
15
15
|
import type { FormatEventPayload } from './format-events';
|
|
16
16
|
import type { GeneralEventPayload } from './general-events';
|
|
17
17
|
import type { HighlightActionsEventPayload } from './highlight-actions-menu-events';
|
|
18
|
+
import type { HighlightEventPayload } from './highlight-events';
|
|
18
19
|
import type { InsertEventPayload } from './insert-events';
|
|
19
20
|
import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettingsToolbarAEP, UnlinkToolbarAEP } from './link-tool-bar-events';
|
|
20
21
|
import type { ListEventPayload } from './list-events';
|
|
@@ -36,7 +37,7 @@ export type SimplifiedNode = {
|
|
|
36
37
|
marks?: string[];
|
|
37
38
|
content?: SimplifiedNode[];
|
|
38
39
|
};
|
|
39
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload;
|
|
40
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload;
|
|
40
41
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
41
42
|
previousColor: string;
|
|
42
43
|
newColor: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { TrackAEP } from './utils';
|
|
3
|
+
export type HighlightToolbarToggleAEP = TrackAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.HIGHLIGHT, undefined, undefined>;
|
|
4
|
+
export type HighlightEventPayload = HighlightToolbarToggleAEP;
|
|
@@ -27,6 +27,7 @@ export { pasteOptionsToolbarMessages } from './paste-options-toolbar';
|
|
|
27
27
|
export { panelMessages } from './panel';
|
|
28
28
|
export { mentionMessages } from './mentions';
|
|
29
29
|
export { helpDialogMessages } from './help-dialog';
|
|
30
|
+
export { highlightMessages } from './highlight';
|
|
30
31
|
declare const _default: {
|
|
31
32
|
layoutFixedWidth: {
|
|
32
33
|
id: string;
|
|
@@ -119,5 +119,20 @@ declare const _default: {
|
|
|
119
119
|
defaultMessage: string;
|
|
120
120
|
description: string;
|
|
121
121
|
};
|
|
122
|
+
'no-color': {
|
|
123
|
+
id: string;
|
|
124
|
+
defaultMessage: string;
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
lime: {
|
|
128
|
+
id: string;
|
|
129
|
+
defaultMessage: string;
|
|
130
|
+
description: string;
|
|
131
|
+
};
|
|
132
|
+
magenta: {
|
|
133
|
+
id: string;
|
|
134
|
+
defaultMessage: string;
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
122
137
|
};
|
|
123
138
|
export default _default;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import { PaletteColor } from './type';
|
|
1
|
+
import type { PaletteColor } from './type';
|
|
2
|
+
export declare const mapPaletteColor: (label: string, color: string) => {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
border: string;
|
|
6
|
+
message: import("react-intl-next").MessageDescriptor | undefined;
|
|
7
|
+
};
|
|
2
8
|
export declare const textColorPalette: Array<PaletteColor>;
|
|
@@ -6,6 +6,7 @@ export { default as colorPaletteMessages } from './ColorPalette/Palettes/palette
|
|
|
6
6
|
export { panelBackgroundPalette, panelDarkModeBackgroundPalette, } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
7
7
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ColorPalette/Palettes/statusColorPalette';
|
|
8
8
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
9
|
+
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
|
|
9
10
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes';
|
|
10
11
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
11
12
|
export type { PaletteColor, PaletteTooltipMessages, } from './ColorPalette/Palettes/type';
|
|
@@ -282,6 +282,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
282
282
|
FRAGMENT_MARK = "fragmentMark",
|
|
283
283
|
GOTO_SMART_LINK_SETTINGS = "goToSmartLinkSettings",
|
|
284
284
|
HELP_QUICK_INSERT = "helpQuickInsert",
|
|
285
|
+
HIGHLIGHT = "highlight",
|
|
285
286
|
HYPERLINK = "hyperlink",
|
|
286
287
|
INLINE_COMMENT = "inlineComment",
|
|
287
288
|
LAYOUT = "layout",
|
|
@@ -15,6 +15,7 @@ import type { FindReplaceEventPayload } from './find-replace-events';
|
|
|
15
15
|
import type { FormatEventPayload } from './format-events';
|
|
16
16
|
import type { GeneralEventPayload } from './general-events';
|
|
17
17
|
import type { HighlightActionsEventPayload } from './highlight-actions-menu-events';
|
|
18
|
+
import type { HighlightEventPayload } from './highlight-events';
|
|
18
19
|
import type { InsertEventPayload } from './insert-events';
|
|
19
20
|
import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettingsToolbarAEP, UnlinkToolbarAEP } from './link-tool-bar-events';
|
|
20
21
|
import type { ListEventPayload } from './list-events';
|
|
@@ -36,7 +37,7 @@ export type SimplifiedNode = {
|
|
|
36
37
|
marks?: string[];
|
|
37
38
|
content?: SimplifiedNode[];
|
|
38
39
|
};
|
|
39
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload;
|
|
40
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload;
|
|
40
41
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
41
42
|
previousColor: string;
|
|
42
43
|
newColor: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { TrackAEP } from './utils';
|
|
3
|
+
export type HighlightToolbarToggleAEP = TrackAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.HIGHLIGHT, undefined, undefined>;
|
|
4
|
+
export type HighlightEventPayload = HighlightToolbarToggleAEP;
|
|
@@ -27,6 +27,7 @@ export { pasteOptionsToolbarMessages } from './paste-options-toolbar';
|
|
|
27
27
|
export { panelMessages } from './panel';
|
|
28
28
|
export { mentionMessages } from './mentions';
|
|
29
29
|
export { helpDialogMessages } from './help-dialog';
|
|
30
|
+
export { highlightMessages } from './highlight';
|
|
30
31
|
declare const _default: {
|
|
31
32
|
layoutFixedWidth: {
|
|
32
33
|
id: string;
|
|
@@ -119,5 +119,20 @@ declare const _default: {
|
|
|
119
119
|
defaultMessage: string;
|
|
120
120
|
description: string;
|
|
121
121
|
};
|
|
122
|
+
'no-color': {
|
|
123
|
+
id: string;
|
|
124
|
+
defaultMessage: string;
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
lime: {
|
|
128
|
+
id: string;
|
|
129
|
+
defaultMessage: string;
|
|
130
|
+
description: string;
|
|
131
|
+
};
|
|
132
|
+
magenta: {
|
|
133
|
+
id: string;
|
|
134
|
+
defaultMessage: string;
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
122
137
|
};
|
|
123
138
|
export default _default;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import { PaletteColor } from './type';
|
|
1
|
+
import type { PaletteColor } from './type';
|
|
2
|
+
export declare const mapPaletteColor: (label: string, color: string) => {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
border: string;
|
|
6
|
+
message: import("react-intl-next").MessageDescriptor | undefined;
|
|
7
|
+
};
|
|
2
8
|
export declare const textColorPalette: Array<PaletteColor>;
|
|
@@ -6,6 +6,7 @@ export { default as colorPaletteMessages } from './ColorPalette/Palettes/palette
|
|
|
6
6
|
export { panelBackgroundPalette, panelDarkModeBackgroundPalette, } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
7
7
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ColorPalette/Palettes/statusColorPalette';
|
|
8
8
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
9
|
+
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
|
|
9
10
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes';
|
|
10
11
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
11
12
|
export type { PaletteColor, PaletteTooltipMessages, } from './ColorPalette/Palettes/type';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "79.
|
|
3
|
+
"version": "79.4.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@atlaskit/menu": "^2.2.0",
|
|
131
131
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
132
132
|
"@atlaskit/primitives": "^6.1.0",
|
|
133
|
-
"@atlaskit/profilecard": "^19.
|
|
133
|
+
"@atlaskit/profilecard": "^19.13.0",
|
|
134
134
|
"@atlaskit/section-message": "^6.5.0",
|
|
135
135
|
"@atlaskit/smart-card": "^26.66.0",
|
|
136
136
|
"@atlaskit/smart-user-picker": "^6.9.0",
|