@atlaskit/editor-common 72.7.3 → 72.9.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.
Files changed (51) hide show
  1. package/.eslintrc.js +13 -0
  2. package/CHANGELOG.md +44 -0
  3. package/dist/cjs/card/index.js +20 -1
  4. package/dist/cjs/card/utils.js +54 -0
  5. package/dist/cjs/keymaps/index.js +5 -1
  6. package/dist/cjs/ui/DropList/index.js +1 -1
  7. package/dist/cjs/ui/MediaSingle/styled.js +4 -4
  8. package/dist/cjs/ui-color/ColorPalette/Palettes/index.js +6 -0
  9. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +199 -1
  10. package/dist/cjs/ui-color/index.js +6 -0
  11. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +10 -4
  12. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +8 -4
  13. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/index.js +19 -7
  14. package/dist/cjs/version.json +1 -1
  15. package/dist/es2019/card/index.js +1 -1
  16. package/dist/es2019/card/utils.js +47 -0
  17. package/dist/es2019/index.js +1 -1
  18. package/dist/es2019/keymaps/index.js +2 -0
  19. package/dist/es2019/ui/DropList/index.js +1 -1
  20. package/dist/es2019/ui/MediaSingle/styled.js +3 -0
  21. package/dist/es2019/ui-color/ColorPalette/Palettes/index.js +1 -1
  22. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +198 -0
  23. package/dist/es2019/ui-color/index.js +1 -1
  24. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +7 -5
  25. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +6 -4
  26. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/index.js +14 -4
  27. package/dist/es2019/version.json +1 -1
  28. package/dist/esm/card/index.js +1 -1
  29. package/dist/esm/card/utils.js +45 -0
  30. package/dist/esm/index.js +1 -1
  31. package/dist/esm/keymaps/index.js +2 -0
  32. package/dist/esm/ui/DropList/index.js +1 -1
  33. package/dist/esm/ui/MediaSingle/styled.js +4 -4
  34. package/dist/esm/ui-color/ColorPalette/Palettes/index.js +1 -1
  35. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +196 -0
  36. package/dist/esm/ui-color/index.js +1 -1
  37. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +10 -5
  38. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +8 -4
  39. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/index.js +19 -7
  40. package/dist/esm/version.json +1 -1
  41. package/dist/types/analytics/types/smart-links.d.ts +1 -1
  42. package/dist/types/card/cardOptions.d.ts +2 -0
  43. package/dist/types/card/index.d.ts +1 -0
  44. package/dist/types/card/utils.d.ts +18 -0
  45. package/dist/types/keymaps/index.d.ts +2 -0
  46. package/dist/types/types/feature-flags.d.ts +7 -0
  47. package/dist/types/ui-color/ColorPalette/Palettes/index.d.ts +1 -1
  48. package/dist/types/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.d.ts +548 -0
  49. package/dist/types/ui-color/index.d.ts +1 -1
  50. package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +4 -1
  51. package/package.json +8 -8
@@ -247,6 +247,202 @@ export var backgroundPaletteTooltipMessages = {
247
247
  light: lightBackgroundPaletteTooltipMessages,
248
248
  dark: darkBackgroundPaletteTooltipMessages
249
249
  };
250
+ export var lightChartsColorPaletteTooltipMessages = defineMessages({
251
+ // Blue color
252
+ '#7AB2FF': {
253
+ id: 'fabric.theme.subtle-blue',
254
+ defaultMessage: 'Subtle blue',
255
+ description: 'Name of a color'
256
+ },
257
+ '#247FFF': {
258
+ id: 'fabric.theme.blue',
259
+ defaultMessage: 'Blue',
260
+ description: 'Name of a color'
261
+ },
262
+ '#0055CC': {
263
+ id: 'fabric.theme.bold-blue',
264
+ defaultMessage: 'Bold blue',
265
+ description: 'Name of a color'
266
+ },
267
+ '#003884': {
268
+ id: 'fabric.theme.bolder-blue',
269
+ defaultMessage: 'Bolder blue',
270
+ description: 'Name of a color'
271
+ },
272
+ // Teal color
273
+ '#60C6D2': {
274
+ id: 'fabric.theme.subtle-teal',
275
+ defaultMessage: 'Subtle teal',
276
+ description: 'Name of a color'
277
+ },
278
+ '#1D9AAA': {
279
+ id: 'fabric.theme.teal',
280
+ defaultMessage: 'Teal',
281
+ description: 'Name of a color'
282
+ },
283
+ '#1D7F8C': {
284
+ id: 'fabric.theme.bold-teal',
285
+ defaultMessage: 'Bold teal',
286
+ description: 'Name of a color'
287
+ },
288
+ '#206B74': {
289
+ id: 'fabric.theme.bolder-teal',
290
+ defaultMessage: 'Bolder teal',
291
+ description: 'Name of a color'
292
+ },
293
+ // Green color
294
+ '#6BE1B0': {
295
+ id: 'fabric.theme.subtle-green',
296
+ defaultMessage: 'Subtle green',
297
+ description: 'Name of a color'
298
+ },
299
+ '#23A971': {
300
+ id: 'fabric.theme.green',
301
+ defaultMessage: 'Green',
302
+ description: 'Name of a color'
303
+ },
304
+ '#177D52': {
305
+ id: 'fabric.theme.bold-green',
306
+ defaultMessage: 'Bold green',
307
+ description: 'Name of a color'
308
+ },
309
+ '#055C3F': {
310
+ id: 'fabric.theme.bolder-green',
311
+ defaultMessage: 'Bolder green',
312
+ description: 'Name of a color'
313
+ },
314
+ // Yellow color
315
+ '#FFDB57': {
316
+ id: 'fabric.theme.subtle-yellow',
317
+ defaultMessage: 'Subtle yellow',
318
+ description: 'Name of a color'
319
+ },
320
+ '#FFBE33': {
321
+ id: 'fabric.theme.yellow',
322
+ defaultMessage: 'Yellow',
323
+ description: 'Name of a color'
324
+ },
325
+ '#FF9D00': {
326
+ id: 'fabric.theme.bold-yellow',
327
+ defaultMessage: 'Bold yellow',
328
+ description: 'Name of a color'
329
+ },
330
+ '#946104': {
331
+ id: 'fabric.theme.bolder-yellow',
332
+ defaultMessage: 'Bolder yellow',
333
+ description: 'Name of a color'
334
+ },
335
+ // Red color
336
+ '#FF8F73': {
337
+ id: 'fabric.theme.subtle-red',
338
+ defaultMessage: 'Subtle red',
339
+ description: 'Name of a color'
340
+ },
341
+ '#FC552C': {
342
+ id: 'fabric.theme.red',
343
+ defaultMessage: 'Red',
344
+ description: 'Name of a color.'
345
+ },
346
+ '#D32D03': {
347
+ id: 'fabric.theme.bold-red',
348
+ defaultMessage: 'Bold red',
349
+ description: 'Name of a color'
350
+ },
351
+ '#A32000': {
352
+ id: 'fabric.theme.bolder-red',
353
+ defaultMessage: 'Bolder red',
354
+ description: 'Name of a color'
355
+ },
356
+ // Orange color
357
+ '#FAA53D': {
358
+ id: 'fabric.theme.subtle-orange',
359
+ defaultMessage: 'Subtle orange',
360
+ description: 'Name of a color'
361
+ },
362
+ '#D97008': {
363
+ id: 'fabric.theme.orange',
364
+ defaultMessage: 'Orange',
365
+ description: 'Name of a color.'
366
+ },
367
+ '#B65C02': {
368
+ id: 'fabric.theme.bold-orange',
369
+ defaultMessage: 'Bold orange',
370
+ description: 'Name of a color'
371
+ },
372
+ '#974F0C': {
373
+ id: 'fabric.theme.bolder-orange',
374
+ defaultMessage: 'Bolder orange',
375
+ description: 'Name of a color'
376
+ },
377
+ // Magenta color
378
+ '#E774BB': {
379
+ id: 'fabric.theme.subtle-magenta',
380
+ defaultMessage: 'Subtle magenta',
381
+ description: 'Name of a color'
382
+ },
383
+ '#DA62AC': {
384
+ id: 'fabric.theme.magenta',
385
+ defaultMessage: 'Magenta',
386
+ description: 'Name of a color'
387
+ },
388
+ '#CD519D': {
389
+ id: 'fabric.theme.bold-magenta',
390
+ defaultMessage: 'Bold magenta',
391
+ description: 'Name of a color'
392
+ },
393
+ '#943D73': {
394
+ id: 'fabric.theme.bolder-magenta',
395
+ defaultMessage: 'Bolder magenta',
396
+ description: 'Name of a color'
397
+ },
398
+ // Purple color
399
+ '#B5A7FB': {
400
+ id: 'fabric.theme.subtle-purple',
401
+ defaultMessage: 'Subtle purple',
402
+ description: 'Name of a color'
403
+ },
404
+ '#8B77EE': {
405
+ id: 'fabric.theme.purple',
406
+ defaultMessage: 'Purple',
407
+ description: 'Name of a color'
408
+ },
409
+ '#5A43D0': {
410
+ id: 'fabric.theme.bold-purple',
411
+ defaultMessage: 'Bold purple',
412
+ description: 'Name of a color'
413
+ },
414
+ '#44368B': {
415
+ id: 'fabric.theme.bolder-purple',
416
+ defaultMessage: 'Bolder purple',
417
+ description: 'Name of a color'
418
+ },
419
+ // Gray color
420
+ '#8993A5': {
421
+ id: 'fabric.theme.subtle-gray',
422
+ defaultMessage: 'Subtle gray',
423
+ description: 'Name of a color'
424
+ },
425
+ '#8590A2': {
426
+ id: 'fabric.theme.gray',
427
+ defaultMessage: 'Gray',
428
+ description: 'Name of a color'
429
+ },
430
+ '#758195': {
431
+ id: 'fabric.theme.bold-gray',
432
+ defaultMessage: 'Bold gray',
433
+ description: 'Name of a color'
434
+ },
435
+ '#44546F': {
436
+ id: 'fabric.theme.bolder-gray',
437
+ defaultMessage: 'Bolder gray',
438
+ description: 'Name of a color'
439
+ }
440
+ });
441
+ var darkChartsColorPaletteTooltipMessages = _objectSpread({}, lightChartsColorPaletteTooltipMessages);
442
+ export var chartsColorPaletteTooltipMessages = {
443
+ light: lightChartsColorPaletteTooltipMessages,
444
+ dark: darkChartsColorPaletteTooltipMessages
445
+ };
250
446
  var lightBorderPaletteTooltipMessages = defineMessages({
251
447
  '#091E4224': {
252
448
  id: 'fabric.theme.subtle-gray',
@@ -6,6 +6,6 @@ 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 { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
9
+ export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages } from './ColorPalette/Palettes';
10
10
  export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
11
11
  export { default as borderColorPalette } from './ColorPalette/Palettes/borderColorPalette';
@@ -1,4 +1,5 @@
1
- import React, { useLayoutEffect, useRef } from 'react';
1
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
+ import React, { useLayoutEffect, useRef, useState } from 'react';
2
3
  /**
3
4
  * This component is a wrapper for color picker which listens to keydown events of children
4
5
  * and handles arrow key navigation
@@ -10,10 +11,14 @@ export var ColorPaletteArrowKeyNavigationProvider = function ColorPaletteArrowKe
10
11
  isOpenedByKeyboard = _ref.isOpenedByKeyboard,
11
12
  isPopupPositioned = _ref.isPopupPositioned,
12
13
  handleClose = _ref.handleClose,
13
- closeOnTab = _ref.closeOnTab;
14
+ closeOnTab = _ref.closeOnTab,
15
+ editorRef = _ref.editorRef;
14
16
  var wrapperRef = useRef(null);
15
17
  var currentSelectedColumnIndex = useRef(selectedColumnIndex === -1 ? 0 : selectedColumnIndex);
16
18
  var currentSelectedRowIndex = useRef(selectedRowIndex === -1 ? 0 : selectedRowIndex);
19
+ var _useState = useState(editorRef.current),
20
+ _useState2 = _slicedToArray(_useState, 1),
21
+ listenerTargetElement = _useState2[0];
17
22
  var incrementRowIndex = function incrementRowIndex(rowElements, columnElements) {
18
23
  if (currentSelectedRowIndex.current === rowElements.length - 1) {
19
24
  currentSelectedRowIndex.current = 0;
@@ -96,7 +101,7 @@ export var ColorPaletteArrowKeyNavigationProvider = function ColorPaletteArrowKe
96
101
  return;
97
102
  }
98
103
  };
99
- document.addEventListener('keydown', handleKeyDown);
104
+ listenerTargetElement && listenerTargetElement.addEventListener('keydown', handleKeyDown);
100
105
  // set focus to current selected color swatch if only opened by keyboard
101
106
  if (isOpenedByKeyboard && isPopupPositioned) {
102
107
  // Using timeout because, we need to wait till color palette is rendered
@@ -107,9 +112,9 @@ export var ColorPaletteArrowKeyNavigationProvider = function ColorPaletteArrowKe
107
112
  });
108
113
  }
109
114
  return function () {
110
- document.removeEventListener('keydown', handleKeyDown);
115
+ listenerTargetElement && listenerTargetElement.removeEventListener('keydown', handleKeyDown);
111
116
  };
112
- }, [currentSelectedColumnIndex, isOpenedByKeyboard, isPopupPositioned, wrapperRef, handleClose, closeOnTab]);
117
+ }, [currentSelectedColumnIndex, isOpenedByKeyboard, isPopupPositioned, wrapperRef, handleClose, closeOnTab, listenerTargetElement]);
113
118
  return /*#__PURE__*/React.createElement("div", {
114
119
  className: "custom-key-handler-wrapper",
115
120
  ref: wrapperRef
@@ -10,12 +10,16 @@ export var MenuArrowKeyNavigationProvider = function MenuArrowKeyNavigationProvi
10
10
  disableArrowKeyNavigation = _ref.disableArrowKeyNavigation,
11
11
  keyDownHandlerContext = _ref.keyDownHandlerContext,
12
12
  closeOnTab = _ref.closeOnTab,
13
- onSelection = _ref.onSelection;
13
+ onSelection = _ref.onSelection,
14
+ editorRef = _ref.editorRef;
14
15
  var wrapperRef = useRef(null);
15
16
  var _useState = useState(-1),
16
17
  _useState2 = _slicedToArray(_useState, 2),
17
18
  currentSelectedItemIndex = _useState2[0],
18
19
  setCurrentSelectedItemIndex = _useState2[1];
20
+ var _useState3 = useState(editorRef.current),
21
+ _useState4 = _slicedToArray(_useState3, 1),
22
+ listenerTargetElement = _useState4[0];
19
23
  var incrementIndex = useCallback(function (list) {
20
24
  var currentIndex = currentSelectedItemIndex;
21
25
  var nextIndex = (currentIndex + 1) % list.length;
@@ -131,11 +135,11 @@ export var MenuArrowKeyNavigationProvider = function MenuArrowKeyNavigationProvi
131
135
  return;
132
136
  }
133
137
  };
134
- document.addEventListener('keydown', handleKeyDown);
138
+ listenerTargetElement && listenerTargetElement.addEventListener('keydown', handleKeyDown);
135
139
  return function () {
136
- document.removeEventListener('keydown', handleKeyDown);
140
+ listenerTargetElement && listenerTargetElement.removeEventListener('keydown', handleKeyDown);
137
141
  };
138
- }, [currentSelectedItemIndex, wrapperRef, handleClose, disableArrowKeyNavigation, keyDownHandlerContext, closeOnTab, onSelection, incrementIndex, decrementIndex]);
142
+ }, [currentSelectedItemIndex, wrapperRef, handleClose, disableArrowKeyNavigation, keyDownHandlerContext, closeOnTab, onSelection, incrementIndex, decrementIndex, listenerTargetElement]);
139
143
  return /*#__PURE__*/React.createElement("div", {
140
144
  className: "menu-key-handler-wrapper custom-key-handler-wrapper",
141
145
  ref: wrapperRef
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["children", "type"];
4
4
  import React from 'react';
5
+ import { ReactEditorViewContext } from '../../ui-react';
5
6
  import { ColorPaletteArrowKeyNavigationProvider } from './ColorPaletteArrowKeyNavigationProvider';
6
7
  import { MenuArrowKeyNavigationProvider } from './MenuArrowKeyNavigationProvider';
7
8
  import { ArrowKeyNavigationType } from './types';
@@ -10,12 +11,23 @@ export var ArrowKeyNavigationProvider = function ArrowKeyNavigationProvider(prop
10
11
  type = props.type,
11
12
  restProps = _objectWithoutProperties(props, _excluded);
12
13
  if (type === ArrowKeyNavigationType.COLOR) {
13
- return /*#__PURE__*/React.createElement(ColorPaletteArrowKeyNavigationProvider, _extends({
14
- selectedRowIndex: props.selectedRowIndex,
15
- selectedColumnIndex: props.selectedColumnIndex,
16
- isOpenedByKeyboard: props.isOpenedByKeyboard,
17
- isPopupPositioned: props.isPopupPositioned
18
- }, restProps), children);
14
+ return /*#__PURE__*/React.createElement(ReactEditorViewContext.Consumer, null, function (_ref) {
15
+ var editorView = _ref.editorView,
16
+ editorRef = _ref.editorRef;
17
+ return editorRef && /*#__PURE__*/React.createElement(ColorPaletteArrowKeyNavigationProvider, _extends({
18
+ selectedRowIndex: props.selectedRowIndex,
19
+ selectedColumnIndex: props.selectedColumnIndex,
20
+ isOpenedByKeyboard: props.isOpenedByKeyboard,
21
+ isPopupPositioned: props.isPopupPositioned,
22
+ editorRef: editorRef
23
+ }, restProps), children);
24
+ });
19
25
  }
20
- return /*#__PURE__*/React.createElement(MenuArrowKeyNavigationProvider, restProps, children);
26
+ return /*#__PURE__*/React.createElement(ReactEditorViewContext.Consumer, null, function (_ref2) {
27
+ var editorView = _ref2.editorView,
28
+ editorRef = _ref2.editorRef;
29
+ return editorRef && /*#__PURE__*/React.createElement(MenuArrowKeyNavigationProvider, _extends({
30
+ editorRef: editorRef
31
+ }, restProps), children);
32
+ });
21
33
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "72.7.3",
3
+ "version": "72.9.0",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,7 @@ export declare const SmartLinkNodeContexts: {
5
5
  [P in SmartLinkNodeContext]: P;
6
6
  };
7
7
  export declare type InsertSmartLinkAEP = InsertAEP<ACTION_SUBJECT_ID.SMART_LINK, {
8
- inputMethod: INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL | INPUT_METHOD.FORMATTING;
8
+ inputMethod: INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL | INPUT_METHOD.FORMATTING | INPUT_METHOD.FLOATING_TB;
9
9
  nodeType: 'inlineCard' | 'blockCard' | 'embedCard';
10
10
  nodeContext: SmartLinkNodeContext;
11
11
  fromCurrentDomain: boolean;
@@ -7,4 +7,6 @@ export interface CardOptions {
7
7
  allowResizing?: boolean;
8
8
  showServerActions?: boolean;
9
9
  useAlternativePreloader?: boolean;
10
+ allowAlignment?: boolean;
11
+ allowWrapping?: boolean;
10
12
  }
@@ -1 +1,2 @@
1
1
  export type { CardOptions } from './cardOptions';
2
+ export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata, } from './utils';
@@ -0,0 +1,18 @@
1
+ import { EditorState, ReadonlyTransaction, Selection, Transaction } from 'prosemirror-state';
2
+ import { EditorView } from 'prosemirror-view';
3
+ import { LinkStepMetadata } from '@atlaskit/adf-schema/steps';
4
+ /**
5
+ * Records metadata about the user action and input method relating to a transaction
6
+ * as a custom LinkStepMetadata prosemirror step so that it is preserved in
7
+ * the history for undo/redo
8
+ */
9
+ export declare function addLinkMetadata(initialSelection: Selection, tr: Transaction, metadata: LinkStepMetadata): Transaction<any>;
10
+ export declare function getLinkMetadataFromTransaction(tr: Transaction | ReadonlyTransaction): LinkStepMetadata;
11
+ export declare type CommandDispatch = (tr: Transaction) => void;
12
+ export declare type Command = (state: EditorState, dispatch?: CommandDispatch, view?: EditorView) => boolean;
13
+ /**
14
+ * Adds metadata to the transaction created from a command
15
+ * The metadata describes the user intent and input method
16
+ * for executing the command
17
+ */
18
+ export declare const commandWithMetadata: (command: Command, metadata: LinkStepMetadata) => Command;
@@ -3,6 +3,8 @@ import React from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  import type { Command } from '../types/command';
5
5
  export declare const addAltText: Keymap;
6
+ export declare const navToEditorToolbar: Keymap;
7
+ export declare const navToFloatingToolbar: Keymap;
6
8
  export declare const toggleBold: Keymap;
7
9
  export declare const toggleItalic: Keymap;
8
10
  export declare const toggleUnderline: Keymap;
@@ -319,6 +319,13 @@ export declare type FeatureFlags = {
319
319
  * @default false
320
320
  */
321
321
  lpLinkPickerFocusTrap?: boolean;
322
+ /**
323
+ * @description
324
+ * Enables linking platform event tracking using @atlaskit/link-analytics
325
+ *
326
+ * @default false
327
+ */
328
+ lpAnalyticsEventsNext?: boolean;
322
329
  /**
323
330
  * @description
324
331
  * Show link settings button in the Floating toolbar
@@ -1,3 +1,3 @@
1
1
  export type { PaletteColor } from './type';
2
2
  export { DEFAULT_BORDER_COLOR } from './common';
3
- export { textPaletteTooltipMessages, backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, } from './paletteMessagesTokenModeNames';
3
+ export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './paletteMessagesTokenModeNames';