@atlaskit/editor-common 116.45.0 → 116.46.0
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 +13 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +28 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +45 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/cjs/ui-color/index.js +7 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +21 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +45 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/es2019/ui-color/index.js +1 -0
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +21 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +45 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/esm/ui-color/index.js +1 -0
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +7 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/types/floating-toolbar.d.ts +1 -0
- package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.d.ts +8 -0
- package/dist/types/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.d.ts +76 -31
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +60 -0
- package/dist/types/ui-color/index.d.ts +1 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.46.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`3b0816741523c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b0816741523c) -
|
|
8
|
+
Add lime, orange, and magenta colors to table cell background color palette
|
|
9
|
+
- [`4bc9e5cd5f2d9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4bc9e5cd5f2d9) -
|
|
10
|
+
EDITOR-7136: Check suggestion staleness right after fetching suggestions.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 116.45.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -440,6 +440,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
440
440
|
ACTION_SUBJECT_ID["CODEBLOCK_COPY"] = "codeBlockCopy";
|
|
441
441
|
ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
|
|
442
442
|
ACTION_SUBJECT_ID["CONVERSATION_ERROR"] = "conversationError";
|
|
443
|
+
ACTION_SUBJECT_ID["SUGGESTIONS_REGENERATION_ERROR"] = "suggestionsRegenerationError";
|
|
443
444
|
ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
|
|
444
445
|
ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
|
|
445
446
|
ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "116.
|
|
31
|
+
var packageVersion = "116.45.0";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "116.
|
|
27
|
+
var packageVersion = "116.45.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _tableNodes = require("@atlaskit/adf-schema/tableNodes");
|
|
9
|
+
var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
|
|
10
|
+
var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
|
|
11
|
+
/**
|
|
12
|
+
* Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
|
|
13
|
+
* and updates the bold row to use `subtler.hovered` design tokens.
|
|
14
|
+
* This is a superset of the default {@link cellBackgroundColorPalette}.
|
|
15
|
+
*/
|
|
16
|
+
var cellBackgroundColorPaletteNew = [];
|
|
17
|
+
_tableNodes.tableBackgroundColorPaletteNew.forEach(function (label, color) {
|
|
18
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
19
|
+
var key = label.toLowerCase().replace(' ', '-');
|
|
20
|
+
var message = (0, _getColorMessage.default)(_paletteMessages.default, key);
|
|
21
|
+
cellBackgroundColorPaletteNew.push({
|
|
22
|
+
value: color,
|
|
23
|
+
label: label,
|
|
24
|
+
border: _tableNodes.tableBackgroundBorderColor,
|
|
25
|
+
message: message
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
var _default = exports.default = cellBackgroundColorPaletteNew;
|
|
@@ -110,5 +110,50 @@ var lightBackgroundPaletteTooltipMessages = exports.lightBackgroundPaletteToolti
|
|
|
110
110
|
id: 'fabric.theme.bold-gray',
|
|
111
111
|
defaultMessage: 'Bold gray',
|
|
112
112
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
113
|
+
},
|
|
114
|
+
'#EFFFD6': {
|
|
115
|
+
id: 'fabric.theme.subtle-lime',
|
|
116
|
+
defaultMessage: 'Subtle lime',
|
|
117
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle lime color option.'
|
|
118
|
+
},
|
|
119
|
+
'#D3F1A7': {
|
|
120
|
+
id: 'fabric.theme.lime',
|
|
121
|
+
defaultMessage: 'Lime',
|
|
122
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the lime color option.'
|
|
123
|
+
},
|
|
124
|
+
'#BDE97C': {
|
|
125
|
+
id: 'fabric.theme.bold-lime',
|
|
126
|
+
defaultMessage: 'Bold lime',
|
|
127
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold lime color option.'
|
|
128
|
+
},
|
|
129
|
+
'#FFF5DB': {
|
|
130
|
+
id: 'fabric.theme.subtle-orange',
|
|
131
|
+
defaultMessage: 'Subtle orange',
|
|
132
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle orange color option.'
|
|
133
|
+
},
|
|
134
|
+
'#FCE4A6': {
|
|
135
|
+
id: 'fabric.theme.orange',
|
|
136
|
+
defaultMessage: 'Orange',
|
|
137
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the orange color option.'
|
|
138
|
+
},
|
|
139
|
+
'#FBD779': {
|
|
140
|
+
id: 'fabric.theme.bold-orange',
|
|
141
|
+
defaultMessage: 'Bold orange',
|
|
142
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold orange color option.'
|
|
143
|
+
},
|
|
144
|
+
'#FFECF8': {
|
|
145
|
+
id: 'fabric.theme.subtle-magenta',
|
|
146
|
+
defaultMessage: 'Subtle magenta',
|
|
147
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle magenta color option.'
|
|
148
|
+
},
|
|
149
|
+
'#FDD0EC': {
|
|
150
|
+
id: 'fabric.theme.magenta',
|
|
151
|
+
defaultMessage: 'Magenta',
|
|
152
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the magenta color option.'
|
|
153
|
+
},
|
|
154
|
+
'#FCB6E1': {
|
|
155
|
+
id: 'fabric.theme.bold-magenta',
|
|
156
|
+
defaultMessage: 'Bold magenta',
|
|
157
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold magenta color option.'
|
|
113
158
|
}
|
|
114
159
|
});
|
|
@@ -156,6 +156,66 @@ var _default_1 = (0, _reactIntl.defineMessages)({
|
|
|
156
156
|
defaultMessage: 'Bold gray',
|
|
157
157
|
description: 'Tooltip label for the bold gray color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
158
158
|
},
|
|
159
|
+
'subtle-lime': {
|
|
160
|
+
id: 'fabric.theme.subtle-lime',
|
|
161
|
+
defaultMessage: 'Subtle lime',
|
|
162
|
+
description: 'Tooltip label for the subtle lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
163
|
+
},
|
|
164
|
+
'bold-lime': {
|
|
165
|
+
id: 'fabric.theme.bold-lime',
|
|
166
|
+
defaultMessage: 'Bold lime',
|
|
167
|
+
description: 'Tooltip label for the bold lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
168
|
+
},
|
|
169
|
+
'subtle-orange': {
|
|
170
|
+
id: 'fabric.theme.subtle-orange',
|
|
171
|
+
defaultMessage: 'Subtle orange',
|
|
172
|
+
description: 'Tooltip label for the subtle orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
173
|
+
},
|
|
174
|
+
'bold-orange': {
|
|
175
|
+
id: 'fabric.theme.bold-orange',
|
|
176
|
+
defaultMessage: 'Bold orange',
|
|
177
|
+
description: 'Tooltip label for the bold orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
178
|
+
},
|
|
179
|
+
'subtle-magenta': {
|
|
180
|
+
id: 'fabric.theme.subtle-magenta',
|
|
181
|
+
defaultMessage: 'Subtle magenta',
|
|
182
|
+
description: 'Tooltip label for the subtle magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
183
|
+
},
|
|
184
|
+
'bold-magenta': {
|
|
185
|
+
id: 'fabric.theme.bold-magenta',
|
|
186
|
+
defaultMessage: 'Bold magenta',
|
|
187
|
+
description: 'Tooltip label for the bold magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
188
|
+
},
|
|
189
|
+
'bold-blue': {
|
|
190
|
+
id: 'fabric.theme.bold-blue',
|
|
191
|
+
defaultMessage: 'Bold blue',
|
|
192
|
+
description: 'Tooltip label for the bold blue color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
193
|
+
},
|
|
194
|
+
'bold-teal': {
|
|
195
|
+
id: 'fabric.theme.bold-teal',
|
|
196
|
+
defaultMessage: 'Bold teal',
|
|
197
|
+
description: 'Tooltip label for the bold teal color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
198
|
+
},
|
|
199
|
+
'bold-green': {
|
|
200
|
+
id: 'fabric.theme.bold-green',
|
|
201
|
+
defaultMessage: 'Bold green',
|
|
202
|
+
description: 'Tooltip label for the bold green color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
203
|
+
},
|
|
204
|
+
'bold-yellow': {
|
|
205
|
+
id: 'fabric.theme.bold-yellow',
|
|
206
|
+
defaultMessage: 'Bold yellow',
|
|
207
|
+
description: 'Tooltip label for the bold yellow color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
208
|
+
},
|
|
209
|
+
'bold-red': {
|
|
210
|
+
id: 'fabric.theme.bold-red',
|
|
211
|
+
defaultMessage: 'Bold red',
|
|
212
|
+
description: 'Tooltip label for the bold red color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
213
|
+
},
|
|
214
|
+
'bold-purple': {
|
|
215
|
+
id: 'fabric.theme.bold-purple',
|
|
216
|
+
defaultMessage: 'Bold purple',
|
|
217
|
+
description: 'Tooltip label for the bold purple color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
218
|
+
},
|
|
159
219
|
// Colors only used in highlight palette
|
|
160
220
|
'no-color': {
|
|
161
221
|
id: 'fabric.theme.no-color',
|
|
@@ -64,6 +64,12 @@ Object.defineProperty(exports, "cellBackgroundColorPalette", {
|
|
|
64
64
|
return _cellBackgroundColorPalette.default;
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
+
Object.defineProperty(exports, "cellBackgroundColorPaletteNew", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function get() {
|
|
70
|
+
return _cellBackgroundColorPaletteNew.default;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
67
73
|
Object.defineProperty(exports, "chartsColorPaletteTooltipMessages", {
|
|
68
74
|
enumerable: true,
|
|
69
75
|
get: function get() {
|
|
@@ -169,6 +175,7 @@ var _utils = require("./ColorPalette/utils");
|
|
|
169
175
|
var _getHighlightColorInNonActiveTheme = require("./ColorPalette/getHighlightColorInNonActiveTheme");
|
|
170
176
|
var _getTextColorInNonActiveTheme = require("./ColorPalette/getTextColorInNonActiveTheme");
|
|
171
177
|
var _cellBackgroundColorPalette = _interopRequireDefault(require("./ColorPalette/Palettes/cellBackgroundColorPalette"));
|
|
178
|
+
var _cellBackgroundColorPaletteNew = _interopRequireDefault(require("./ColorPalette/Palettes/cellBackgroundColorPaletteNew"));
|
|
172
179
|
var _paletteMessages = _interopRequireDefault(require("./ColorPalette/Palettes/paletteMessages"));
|
|
173
180
|
var _panelBackgroundPalette = require("./ColorPalette/Palettes/panelBackgroundPalette");
|
|
174
181
|
var _textColorPalette = require("./ColorPalette/Palettes/textColorPalette");
|
|
@@ -448,6 +448,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
448
448
|
ACTION_SUBJECT_ID["CODEBLOCK_COPY"] = "codeBlockCopy";
|
|
449
449
|
ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
|
|
450
450
|
ACTION_SUBJECT_ID["CONVERSATION_ERROR"] = "conversationError";
|
|
451
|
+
ACTION_SUBJECT_ID["SUGGESTIONS_REGENERATION_ERROR"] = "suggestionsRegenerationError";
|
|
451
452
|
ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
|
|
452
453
|
ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
|
|
453
454
|
ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "116.
|
|
17
|
+
const packageVersion = "116.45.0";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "116.
|
|
17
|
+
const packageVersion = "116.45.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tableBackgroundBorderColor, tableBackgroundColorPaletteNew } from '@atlaskit/adf-schema/tableNodes';
|
|
2
|
+
import getColorMessage from './getColorMessage';
|
|
3
|
+
import paletteMessages from './paletteMessages';
|
|
4
|
+
/**
|
|
5
|
+
* Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
|
|
6
|
+
* and updates the bold row to use `subtler.hovered` design tokens.
|
|
7
|
+
* This is a superset of the default {@link cellBackgroundColorPalette}.
|
|
8
|
+
*/
|
|
9
|
+
const cellBackgroundColorPaletteNew = [];
|
|
10
|
+
tableBackgroundColorPaletteNew.forEach((label, color) => {
|
|
11
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
12
|
+
const key = label.toLowerCase().replace(' ', '-');
|
|
13
|
+
const message = getColorMessage(paletteMessages, key);
|
|
14
|
+
cellBackgroundColorPaletteNew.push({
|
|
15
|
+
value: color,
|
|
16
|
+
label,
|
|
17
|
+
border: tableBackgroundBorderColor,
|
|
18
|
+
message
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export default cellBackgroundColorPaletteNew;
|
|
@@ -104,5 +104,50 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
104
104
|
id: 'fabric.theme.bold-gray',
|
|
105
105
|
defaultMessage: 'Bold gray',
|
|
106
106
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
107
|
+
},
|
|
108
|
+
'#EFFFD6': {
|
|
109
|
+
id: 'fabric.theme.subtle-lime',
|
|
110
|
+
defaultMessage: 'Subtle lime',
|
|
111
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle lime color option.'
|
|
112
|
+
},
|
|
113
|
+
'#D3F1A7': {
|
|
114
|
+
id: 'fabric.theme.lime',
|
|
115
|
+
defaultMessage: 'Lime',
|
|
116
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the lime color option.'
|
|
117
|
+
},
|
|
118
|
+
'#BDE97C': {
|
|
119
|
+
id: 'fabric.theme.bold-lime',
|
|
120
|
+
defaultMessage: 'Bold lime',
|
|
121
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold lime color option.'
|
|
122
|
+
},
|
|
123
|
+
'#FFF5DB': {
|
|
124
|
+
id: 'fabric.theme.subtle-orange',
|
|
125
|
+
defaultMessage: 'Subtle orange',
|
|
126
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle orange color option.'
|
|
127
|
+
},
|
|
128
|
+
'#FCE4A6': {
|
|
129
|
+
id: 'fabric.theme.orange',
|
|
130
|
+
defaultMessage: 'Orange',
|
|
131
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the orange color option.'
|
|
132
|
+
},
|
|
133
|
+
'#FBD779': {
|
|
134
|
+
id: 'fabric.theme.bold-orange',
|
|
135
|
+
defaultMessage: 'Bold orange',
|
|
136
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold orange color option.'
|
|
137
|
+
},
|
|
138
|
+
'#FFECF8': {
|
|
139
|
+
id: 'fabric.theme.subtle-magenta',
|
|
140
|
+
defaultMessage: 'Subtle magenta',
|
|
141
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle magenta color option.'
|
|
142
|
+
},
|
|
143
|
+
'#FDD0EC': {
|
|
144
|
+
id: 'fabric.theme.magenta',
|
|
145
|
+
defaultMessage: 'Magenta',
|
|
146
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the magenta color option.'
|
|
147
|
+
},
|
|
148
|
+
'#FCB6E1': {
|
|
149
|
+
id: 'fabric.theme.bold-magenta',
|
|
150
|
+
defaultMessage: 'Bold magenta',
|
|
151
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold magenta color option.'
|
|
107
152
|
}
|
|
108
153
|
});
|
|
@@ -150,6 +150,66 @@ const _default_1 = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Bold gray',
|
|
151
151
|
description: 'Tooltip label for the bold gray color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
152
152
|
},
|
|
153
|
+
'subtle-lime': {
|
|
154
|
+
id: 'fabric.theme.subtle-lime',
|
|
155
|
+
defaultMessage: 'Subtle lime',
|
|
156
|
+
description: 'Tooltip label for the subtle lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
157
|
+
},
|
|
158
|
+
'bold-lime': {
|
|
159
|
+
id: 'fabric.theme.bold-lime',
|
|
160
|
+
defaultMessage: 'Bold lime',
|
|
161
|
+
description: 'Tooltip label for the bold lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
162
|
+
},
|
|
163
|
+
'subtle-orange': {
|
|
164
|
+
id: 'fabric.theme.subtle-orange',
|
|
165
|
+
defaultMessage: 'Subtle orange',
|
|
166
|
+
description: 'Tooltip label for the subtle orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
167
|
+
},
|
|
168
|
+
'bold-orange': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'Tooltip label for the bold orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
172
|
+
},
|
|
173
|
+
'subtle-magenta': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'Tooltip label for the subtle magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
177
|
+
},
|
|
178
|
+
'bold-magenta': {
|
|
179
|
+
id: 'fabric.theme.bold-magenta',
|
|
180
|
+
defaultMessage: 'Bold magenta',
|
|
181
|
+
description: 'Tooltip label for the bold magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
182
|
+
},
|
|
183
|
+
'bold-blue': {
|
|
184
|
+
id: 'fabric.theme.bold-blue',
|
|
185
|
+
defaultMessage: 'Bold blue',
|
|
186
|
+
description: 'Tooltip label for the bold blue color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
187
|
+
},
|
|
188
|
+
'bold-teal': {
|
|
189
|
+
id: 'fabric.theme.bold-teal',
|
|
190
|
+
defaultMessage: 'Bold teal',
|
|
191
|
+
description: 'Tooltip label for the bold teal color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
192
|
+
},
|
|
193
|
+
'bold-green': {
|
|
194
|
+
id: 'fabric.theme.bold-green',
|
|
195
|
+
defaultMessage: 'Bold green',
|
|
196
|
+
description: 'Tooltip label for the bold green color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
197
|
+
},
|
|
198
|
+
'bold-yellow': {
|
|
199
|
+
id: 'fabric.theme.bold-yellow',
|
|
200
|
+
defaultMessage: 'Bold yellow',
|
|
201
|
+
description: 'Tooltip label for the bold yellow color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
202
|
+
},
|
|
203
|
+
'bold-red': {
|
|
204
|
+
id: 'fabric.theme.bold-red',
|
|
205
|
+
defaultMessage: 'Bold red',
|
|
206
|
+
description: 'Tooltip label for the bold red color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
207
|
+
},
|
|
208
|
+
'bold-purple': {
|
|
209
|
+
id: 'fabric.theme.bold-purple',
|
|
210
|
+
defaultMessage: 'Bold purple',
|
|
211
|
+
description: 'Tooltip label for the bold purple color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
212
|
+
},
|
|
153
213
|
// Colors only used in highlight palette
|
|
154
214
|
'no-color': {
|
|
155
215
|
id: 'fabric.theme.no-color',
|
|
@@ -10,6 +10,7 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
10
10
|
export { getHighlightColorInNonActiveTheme } from './ColorPalette/getHighlightColorInNonActiveTheme';
|
|
11
11
|
export { getTextColorInNonActiveTheme } from './ColorPalette/getTextColorInNonActiveTheme';
|
|
12
12
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
13
|
+
export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
|
|
13
14
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
14
15
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
15
16
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
@@ -448,6 +448,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
448
448
|
ACTION_SUBJECT_ID["CODEBLOCK_COPY"] = "codeBlockCopy";
|
|
449
449
|
ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
|
|
450
450
|
ACTION_SUBJECT_ID["CONVERSATION_ERROR"] = "conversationError";
|
|
451
|
+
ACTION_SUBJECT_ID["SUGGESTIONS_REGENERATION_ERROR"] = "suggestionsRegenerationError";
|
|
451
452
|
ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
|
|
452
453
|
ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
|
|
453
454
|
ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "116.
|
|
23
|
+
var packageVersion = "116.45.0";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "116.
|
|
24
|
+
var packageVersion = "116.45.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tableBackgroundBorderColor, tableBackgroundColorPaletteNew } from '@atlaskit/adf-schema/tableNodes';
|
|
2
|
+
import getColorMessage from './getColorMessage';
|
|
3
|
+
import paletteMessages from './paletteMessages';
|
|
4
|
+
/**
|
|
5
|
+
* Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
|
|
6
|
+
* and updates the bold row to use `subtler.hovered` design tokens.
|
|
7
|
+
* This is a superset of the default {@link cellBackgroundColorPalette}.
|
|
8
|
+
*/
|
|
9
|
+
var cellBackgroundColorPaletteNew = [];
|
|
10
|
+
tableBackgroundColorPaletteNew.forEach(function (label, color) {
|
|
11
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
12
|
+
var key = label.toLowerCase().replace(' ', '-');
|
|
13
|
+
var message = getColorMessage(paletteMessages, key);
|
|
14
|
+
cellBackgroundColorPaletteNew.push({
|
|
15
|
+
value: color,
|
|
16
|
+
label: label,
|
|
17
|
+
border: tableBackgroundBorderColor,
|
|
18
|
+
message: message
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export default cellBackgroundColorPaletteNew;
|
|
@@ -104,5 +104,50 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
104
104
|
id: 'fabric.theme.bold-gray',
|
|
105
105
|
defaultMessage: 'Bold gray',
|
|
106
106
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
107
|
+
},
|
|
108
|
+
'#EFFFD6': {
|
|
109
|
+
id: 'fabric.theme.subtle-lime',
|
|
110
|
+
defaultMessage: 'Subtle lime',
|
|
111
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle lime color option.'
|
|
112
|
+
},
|
|
113
|
+
'#D3F1A7': {
|
|
114
|
+
id: 'fabric.theme.lime',
|
|
115
|
+
defaultMessage: 'Lime',
|
|
116
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the lime color option.'
|
|
117
|
+
},
|
|
118
|
+
'#BDE97C': {
|
|
119
|
+
id: 'fabric.theme.bold-lime',
|
|
120
|
+
defaultMessage: 'Bold lime',
|
|
121
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold lime color option.'
|
|
122
|
+
},
|
|
123
|
+
'#FFF5DB': {
|
|
124
|
+
id: 'fabric.theme.subtle-orange',
|
|
125
|
+
defaultMessage: 'Subtle orange',
|
|
126
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle orange color option.'
|
|
127
|
+
},
|
|
128
|
+
'#FCE4A6': {
|
|
129
|
+
id: 'fabric.theme.orange',
|
|
130
|
+
defaultMessage: 'Orange',
|
|
131
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the orange color option.'
|
|
132
|
+
},
|
|
133
|
+
'#FBD779': {
|
|
134
|
+
id: 'fabric.theme.bold-orange',
|
|
135
|
+
defaultMessage: 'Bold orange',
|
|
136
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold orange color option.'
|
|
137
|
+
},
|
|
138
|
+
'#FFECF8': {
|
|
139
|
+
id: 'fabric.theme.subtle-magenta',
|
|
140
|
+
defaultMessage: 'Subtle magenta',
|
|
141
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle magenta color option.'
|
|
142
|
+
},
|
|
143
|
+
'#FDD0EC': {
|
|
144
|
+
id: 'fabric.theme.magenta',
|
|
145
|
+
defaultMessage: 'Magenta',
|
|
146
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the magenta color option.'
|
|
147
|
+
},
|
|
148
|
+
'#FCB6E1': {
|
|
149
|
+
id: 'fabric.theme.bold-magenta',
|
|
150
|
+
defaultMessage: 'Bold magenta',
|
|
151
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold magenta color option.'
|
|
107
152
|
}
|
|
108
153
|
});
|
|
@@ -150,6 +150,66 @@ var _default_1 = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Bold gray',
|
|
151
151
|
description: 'Tooltip label for the bold gray color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
152
152
|
},
|
|
153
|
+
'subtle-lime': {
|
|
154
|
+
id: 'fabric.theme.subtle-lime',
|
|
155
|
+
defaultMessage: 'Subtle lime',
|
|
156
|
+
description: 'Tooltip label for the subtle lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
157
|
+
},
|
|
158
|
+
'bold-lime': {
|
|
159
|
+
id: 'fabric.theme.bold-lime',
|
|
160
|
+
defaultMessage: 'Bold lime',
|
|
161
|
+
description: 'Tooltip label for the bold lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
162
|
+
},
|
|
163
|
+
'subtle-orange': {
|
|
164
|
+
id: 'fabric.theme.subtle-orange',
|
|
165
|
+
defaultMessage: 'Subtle orange',
|
|
166
|
+
description: 'Tooltip label for the subtle orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
167
|
+
},
|
|
168
|
+
'bold-orange': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'Tooltip label for the bold orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
172
|
+
},
|
|
173
|
+
'subtle-magenta': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'Tooltip label for the subtle magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
177
|
+
},
|
|
178
|
+
'bold-magenta': {
|
|
179
|
+
id: 'fabric.theme.bold-magenta',
|
|
180
|
+
defaultMessage: 'Bold magenta',
|
|
181
|
+
description: 'Tooltip label for the bold magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
182
|
+
},
|
|
183
|
+
'bold-blue': {
|
|
184
|
+
id: 'fabric.theme.bold-blue',
|
|
185
|
+
defaultMessage: 'Bold blue',
|
|
186
|
+
description: 'Tooltip label for the bold blue color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
187
|
+
},
|
|
188
|
+
'bold-teal': {
|
|
189
|
+
id: 'fabric.theme.bold-teal',
|
|
190
|
+
defaultMessage: 'Bold teal',
|
|
191
|
+
description: 'Tooltip label for the bold teal color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
192
|
+
},
|
|
193
|
+
'bold-green': {
|
|
194
|
+
id: 'fabric.theme.bold-green',
|
|
195
|
+
defaultMessage: 'Bold green',
|
|
196
|
+
description: 'Tooltip label for the bold green color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
197
|
+
},
|
|
198
|
+
'bold-yellow': {
|
|
199
|
+
id: 'fabric.theme.bold-yellow',
|
|
200
|
+
defaultMessage: 'Bold yellow',
|
|
201
|
+
description: 'Tooltip label for the bold yellow color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
202
|
+
},
|
|
203
|
+
'bold-red': {
|
|
204
|
+
id: 'fabric.theme.bold-red',
|
|
205
|
+
defaultMessage: 'Bold red',
|
|
206
|
+
description: 'Tooltip label for the bold red color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
207
|
+
},
|
|
208
|
+
'bold-purple': {
|
|
209
|
+
id: 'fabric.theme.bold-purple',
|
|
210
|
+
defaultMessage: 'Bold purple',
|
|
211
|
+
description: 'Tooltip label for the bold purple color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
212
|
+
},
|
|
153
213
|
// Colors only used in highlight palette
|
|
154
214
|
'no-color': {
|
|
155
215
|
id: 'fabric.theme.no-color',
|
|
@@ -10,6 +10,7 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
10
10
|
export { getHighlightColorInNonActiveTheme } from './ColorPalette/getHighlightColorInNonActiveTheme';
|
|
11
11
|
export { getTextColorInNonActiveTheme } from './ColorPalette/getTextColorInNonActiveTheme';
|
|
12
12
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
13
|
+
export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
|
|
13
14
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
14
15
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
15
16
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
@@ -16,6 +16,12 @@ type ConversationErrorAEP = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.AI_SUG
|
|
|
16
16
|
reason: AiSuggestionsConversationErrorReason;
|
|
17
17
|
statusCode?: number;
|
|
18
18
|
}>;
|
|
19
|
+
type RegenerateSuggestionsErrorAEP = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.AI_SUGGESTIONS, ACTION_SUBJECT_ID.SUGGESTIONS_REGENERATION_ERROR, {
|
|
20
|
+
currentNodeCount: number;
|
|
21
|
+
errorCode?: string;
|
|
22
|
+
staleSuggestionCount: number;
|
|
23
|
+
statusCode?: number;
|
|
24
|
+
}>;
|
|
19
25
|
type EntryPointClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
20
26
|
entryPoint: AiSuggestionsEntryPoint;
|
|
21
27
|
}, undefined>;
|
|
@@ -48,5 +54,5 @@ type ViewSuggestionAEP = TrackAEP<ACTION.VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS,
|
|
|
48
54
|
suggestionCardCharacterCount: number;
|
|
49
55
|
suggestionType: string;
|
|
50
56
|
}, undefined>;
|
|
51
|
-
export type AiSuggestionsEventPayload = NoDiffSuggestionAEP | ConversationErrorAEP | EntryPointClickedAEP | EntryPointExposureAEP | AcceptSuggestionAEP | DiscardSuggestionAEP | DismissSuggestionAEP | ViewSuggestionAEP;
|
|
57
|
+
export type AiSuggestionsEventPayload = NoDiffSuggestionAEP | ConversationErrorAEP | RegenerateSuggestionsErrorAEP | EntryPointClickedAEP | EntryPointExposureAEP | AcceptSuggestionAEP | DiscardSuggestionAEP | DismissSuggestionAEP | ViewSuggestionAEP;
|
|
52
58
|
export {};
|
|
@@ -422,6 +422,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
422
422
|
CODEBLOCK_COPY = "codeBlockCopy",
|
|
423
423
|
CODEBLOCK_WRAP = "codeBlockWrap",
|
|
424
424
|
CONVERSATION_ERROR = "conversationError",
|
|
425
|
+
SUGGESTIONS_REGENERATION_ERROR = "suggestionsRegenerationError",
|
|
425
426
|
COPY_BUTTON = "copyButton",
|
|
426
427
|
COPY_LINK_TO_ANCHOR = "copyLinkToAnchor",
|
|
427
428
|
COPY_BLOCK = "copyBlock",
|
|
@@ -251,6 +251,7 @@ export type FloatingToolbarListPicker<T extends Object> = FloatingToolbarSelectB
|
|
|
251
251
|
selectType: 'list';
|
|
252
252
|
};
|
|
253
253
|
export type FloatingToolbarColorPicker<T extends Object> = FloatingToolbarSelectBase<T, PaletteColor> & {
|
|
254
|
+
cols?: number;
|
|
254
255
|
selectType: 'color';
|
|
255
256
|
};
|
|
256
257
|
export type FloatingToolbarEmojiPicker<T extends Object> = FloatingToolbarSelectBase<T, EmojiId> & {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PaletteColor } from './type';
|
|
2
|
+
/**
|
|
3
|
+
* Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
|
|
4
|
+
* and updates the bold row to use `subtler.hovered` design tokens.
|
|
5
|
+
* This is a superset of the default {@link cellBackgroundColorPalette}.
|
|
6
|
+
*/
|
|
7
|
+
declare const cellBackgroundColorPaletteNew: Array<PaletteColor>;
|
|
8
|
+
export default cellBackgroundColorPaletteNew;
|
package/dist/types/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.d.ts
CHANGED
|
@@ -1,107 +1,152 @@
|
|
|
1
1
|
export declare const lightBackgroundPaletteTooltipMessages: {
|
|
2
|
-
'#
|
|
3
|
-
id: string;
|
|
2
|
+
'#4C9AFF': {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
5
|
+
id: string;
|
|
6
6
|
};
|
|
7
|
-
'#
|
|
7
|
+
'#57D9A3': {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
8
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
'#79E2F2': {
|
|
9
13
|
defaultMessage: string;
|
|
10
14
|
description: string;
|
|
15
|
+
id: string;
|
|
11
16
|
};
|
|
12
|
-
'#
|
|
17
|
+
'#998DD9': {
|
|
18
|
+
defaultMessage: string;
|
|
19
|
+
description: string;
|
|
13
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
'#ABF5D1': {
|
|
14
23
|
defaultMessage: string;
|
|
15
24
|
description: string;
|
|
25
|
+
id: string;
|
|
16
26
|
};
|
|
17
|
-
'#
|
|
27
|
+
'#B3BAC5': {
|
|
28
|
+
defaultMessage: string;
|
|
29
|
+
description: string;
|
|
18
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
'#B3D4FF': {
|
|
19
33
|
defaultMessage: string;
|
|
20
34
|
description: string;
|
|
35
|
+
id: string;
|
|
21
36
|
};
|
|
22
37
|
'#B3F5FF': {
|
|
23
|
-
id: string;
|
|
24
38
|
defaultMessage: string;
|
|
25
39
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
'#79E2F2': {
|
|
28
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
'#BDE97C': {
|
|
29
43
|
defaultMessage: string;
|
|
30
44
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
'#E3FCEF': {
|
|
33
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
'#C0B6F2': {
|
|
34
48
|
defaultMessage: string;
|
|
35
49
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
'#ABF5D1': {
|
|
38
50
|
id: string;
|
|
51
|
+
};
|
|
52
|
+
'#D3F1A7': {
|
|
39
53
|
defaultMessage: string;
|
|
40
54
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
'#57D9A3': {
|
|
43
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
'#DEEBFF': {
|
|
44
58
|
defaultMessage: string;
|
|
45
59
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
'#FFFAE6': {
|
|
48
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
'#E3FCEF': {
|
|
49
63
|
defaultMessage: string;
|
|
50
64
|
description: string;
|
|
65
|
+
id: string;
|
|
51
66
|
};
|
|
52
|
-
'#
|
|
67
|
+
'#E6FCFF': {
|
|
68
|
+
defaultMessage: string;
|
|
69
|
+
description: string;
|
|
53
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
'#EAE6FF': {
|
|
54
73
|
defaultMessage: string;
|
|
55
74
|
description: string;
|
|
75
|
+
id: string;
|
|
56
76
|
};
|
|
57
|
-
'#
|
|
77
|
+
'#EFFFD6': {
|
|
78
|
+
defaultMessage: string;
|
|
79
|
+
description: string;
|
|
58
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
'#F4F5F7': {
|
|
59
83
|
defaultMessage: string;
|
|
60
84
|
description: string;
|
|
85
|
+
id: string;
|
|
61
86
|
};
|
|
62
|
-
'#
|
|
87
|
+
'#FBD779': {
|
|
88
|
+
defaultMessage: string;
|
|
89
|
+
description: string;
|
|
63
90
|
id: string;
|
|
91
|
+
};
|
|
92
|
+
'#FCB6E1': {
|
|
64
93
|
defaultMessage: string;
|
|
65
94
|
description: string;
|
|
95
|
+
id: string;
|
|
66
96
|
};
|
|
67
|
-
'#
|
|
97
|
+
'#FCE4A6': {
|
|
98
|
+
defaultMessage: string;
|
|
99
|
+
description: string;
|
|
68
100
|
id: string;
|
|
101
|
+
};
|
|
102
|
+
'#FDD0EC': {
|
|
69
103
|
defaultMessage: string;
|
|
70
104
|
description: string;
|
|
105
|
+
id: string;
|
|
71
106
|
};
|
|
72
107
|
'#FF8F73': {
|
|
73
|
-
id: string;
|
|
74
108
|
defaultMessage: string;
|
|
75
109
|
description: string;
|
|
76
|
-
};
|
|
77
|
-
'#EAE6FF': {
|
|
78
110
|
id: string;
|
|
111
|
+
};
|
|
112
|
+
'#FFBDAD': {
|
|
79
113
|
defaultMessage: string;
|
|
80
114
|
description: string;
|
|
81
|
-
};
|
|
82
|
-
'#C0B6F2': {
|
|
83
115
|
id: string;
|
|
116
|
+
};
|
|
117
|
+
'#FFC400': {
|
|
84
118
|
defaultMessage: string;
|
|
85
119
|
description: string;
|
|
86
|
-
};
|
|
87
|
-
'#998DD9': {
|
|
88
120
|
id: string;
|
|
121
|
+
};
|
|
122
|
+
'#FFEBE6': {
|
|
89
123
|
defaultMessage: string;
|
|
90
124
|
description: string;
|
|
91
|
-
};
|
|
92
|
-
'#FFFFFF': {
|
|
93
125
|
id: string;
|
|
126
|
+
};
|
|
127
|
+
'#FFECF8': {
|
|
94
128
|
defaultMessage: string;
|
|
95
129
|
description: string;
|
|
130
|
+
id: string;
|
|
96
131
|
};
|
|
97
|
-
'#
|
|
132
|
+
'#FFF0B3': {
|
|
133
|
+
defaultMessage: string;
|
|
134
|
+
description: string;
|
|
98
135
|
id: string;
|
|
136
|
+
};
|
|
137
|
+
'#FFF5DB': {
|
|
99
138
|
defaultMessage: string;
|
|
100
139
|
description: string;
|
|
140
|
+
id: string;
|
|
101
141
|
};
|
|
102
|
-
'#
|
|
142
|
+
'#FFFAE6': {
|
|
143
|
+
defaultMessage: string;
|
|
144
|
+
description: string;
|
|
103
145
|
id: string;
|
|
146
|
+
};
|
|
147
|
+
'#FFFFFF': {
|
|
104
148
|
defaultMessage: string;
|
|
105
149
|
description: string;
|
|
150
|
+
id: string;
|
|
106
151
|
};
|
|
107
152
|
};
|
|
@@ -4,11 +4,56 @@ declare const _default_1: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
+
'bold-blue': {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
7
12
|
'bold-gray': {
|
|
8
13
|
defaultMessage: string;
|
|
9
14
|
description: string;
|
|
10
15
|
id: string;
|
|
11
16
|
};
|
|
17
|
+
'bold-green': {
|
|
18
|
+
defaultMessage: string;
|
|
19
|
+
description: string;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
'bold-lime': {
|
|
23
|
+
defaultMessage: string;
|
|
24
|
+
description: string;
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
'bold-magenta': {
|
|
28
|
+
defaultMessage: string;
|
|
29
|
+
description: string;
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
32
|
+
'bold-orange': {
|
|
33
|
+
defaultMessage: string;
|
|
34
|
+
description: string;
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
37
|
+
'bold-purple': {
|
|
38
|
+
defaultMessage: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
42
|
+
'bold-red': {
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
'bold-teal': {
|
|
48
|
+
defaultMessage: string;
|
|
49
|
+
description: string;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
'bold-yellow': {
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
12
57
|
'dark-blue': {
|
|
13
58
|
defaultMessage: string;
|
|
14
59
|
description: string;
|
|
@@ -149,6 +194,21 @@ declare const _default_1: {
|
|
|
149
194
|
description: string;
|
|
150
195
|
id: string;
|
|
151
196
|
};
|
|
197
|
+
'subtle-lime': {
|
|
198
|
+
defaultMessage: string;
|
|
199
|
+
description: string;
|
|
200
|
+
id: string;
|
|
201
|
+
};
|
|
202
|
+
'subtle-magenta': {
|
|
203
|
+
defaultMessage: string;
|
|
204
|
+
description: string;
|
|
205
|
+
id: string;
|
|
206
|
+
};
|
|
207
|
+
'subtle-orange': {
|
|
208
|
+
defaultMessage: string;
|
|
209
|
+
description: string;
|
|
210
|
+
id: string;
|
|
211
|
+
};
|
|
152
212
|
teal: {
|
|
153
213
|
defaultMessage: string;
|
|
154
214
|
description: string;
|
|
@@ -7,6 +7,7 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
7
7
|
export { getHighlightColorInNonActiveTheme } from './ColorPalette/getHighlightColorInNonActiveTheme';
|
|
8
8
|
export { getTextColorInNonActiveTheme } from './ColorPalette/getTextColorInNonActiveTheme';
|
|
9
9
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
10
|
+
export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
|
|
10
11
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
11
12
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
12
13
|
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.
|
|
3
|
+
"version": "116.46.0",
|
|
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/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/activity-provider": "^3.0.0",
|
|
32
|
-
"@atlaskit/adf-schema": "^56.
|
|
32
|
+
"@atlaskit/adf-schema": "^56.3.0",
|
|
33
33
|
"@atlaskit/adf-utils": "^20.4.0",
|
|
34
34
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
|
|
35
35
|
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/custom-steps": "^1.0.0",
|
|
44
44
|
"@atlaskit/dropdown-menu": "^17.2.0",
|
|
45
45
|
"@atlaskit/editor-json-transformer": "^9.2.0",
|
|
46
|
-
"@atlaskit/editor-palette": "^3.
|
|
46
|
+
"@atlaskit/editor-palette": "^3.3.0",
|
|
47
47
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
76
76
|
"@atlaskit/section-message": "^9.2.0",
|
|
77
|
-
"@atlaskit/smart-card": "^45.
|
|
77
|
+
"@atlaskit/smart-card": "^45.16.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^11.3.0",
|
|
79
79
|
"@atlaskit/spinner": "^20.1.0",
|
|
80
80
|
"@atlaskit/task-decision": "^21.8.0",
|
|
81
81
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
82
82
|
"@atlaskit/textfield": "^9.1.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^135.
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^135.8.0",
|
|
84
84
|
"@atlaskit/tokens": "^16.3.0",
|
|
85
85
|
"@atlaskit/tooltip": "^24.0.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.2.0",
|