@atlaskit/editor-common 76.29.2 → 76.30.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 (35) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/messages/alignment.js +3 -3
  3. package/dist/cjs/messages/table.js +2 -2
  4. package/dist/cjs/monitoring/error.js +1 -1
  5. package/dist/cjs/ui/DropList/index.js +1 -1
  6. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  7. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +2 -2
  8. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -1
  9. package/dist/es2019/messages/alignment.js +3 -3
  10. package/dist/es2019/messages/table.js +2 -2
  11. package/dist/es2019/monitoring/error.js +1 -1
  12. package/dist/es2019/ui/DropList/index.js +1 -1
  13. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  14. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +2 -2
  15. package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -1
  16. package/dist/esm/messages/alignment.js +3 -3
  17. package/dist/esm/messages/table.js +2 -2
  18. package/dist/esm/monitoring/error.js +1 -1
  19. package/dist/esm/ui/DropList/index.js +1 -1
  20. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  21. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +2 -2
  22. package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -1
  23. package/dist/types/analytics/index.d.ts +1 -1
  24. package/dist/types/analytics/types/index.d.ts +1 -1
  25. package/dist/types/analytics/types/media-events.d.ts +3 -3
  26. package/dist/types/analytics/types/node-events.d.ts +3 -3
  27. package/dist/types/analytics/types/utils.d.ts +2 -0
  28. package/dist/types/ui-menu/ColorPickerButton/index.d.ts +3 -1
  29. package/dist/types-ts4.5/analytics/index.d.ts +1 -1
  30. package/dist/types-ts4.5/analytics/types/index.d.ts +1 -1
  31. package/dist/types-ts4.5/analytics/types/media-events.d.ts +3 -3
  32. package/dist/types-ts4.5/analytics/types/node-events.d.ts +3 -3
  33. package/dist/types-ts4.5/analytics/types/utils.d.ts +2 -0
  34. package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +3 -1
  35. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 76.30.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#63303](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63303) [`db6946b29596`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db6946b29596) - [ux] ED-18288 Adding right offset to color palette in config panel
8
+
9
+ ### Patch Changes
10
+
11
+ - [#63306](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63306) [`61970079e90c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61970079e90c) - ED-21651 : This PR fixes the bug where copy list-in-quote should paste as list in quote. Its working for bullet but not for ordered list.
12
+
13
+ ## 76.29.3
14
+
15
+ ### Patch Changes
16
+
17
+ - [#63388](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63388) [`999a8302f404`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/999a8302f404) - add analytics for changing media inline to media single
18
+ - [#63608](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63608) [`bfb98fe84eae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bfb98fe84eae) - [ux] EDF-93: Report and resolve existing duplicate i18n message descriptor keys/IDs in editor, as precursor work to adding CI check
19
+
3
20
  ## 76.29.2
4
21
 
5
22
  ### Patch Changes
@@ -9,16 +9,16 @@ var alignmentMessages = exports.alignmentMessages = (0, _reactIntlNext.defineMes
9
9
  alignLeft: {
10
10
  id: 'fabric.editor.alignLeft',
11
11
  defaultMessage: 'Align left',
12
- description: 'Action to align/justify text to the left'
12
+ description: 'label stating that text is aligned left'
13
13
  },
14
14
  alignCenter: {
15
15
  id: 'fabric.editor.alignCenter',
16
16
  defaultMessage: 'Align center',
17
- description: 'Action to align/justify text to the center/middle'
17
+ description: 'label stating that text is aligned center'
18
18
  },
19
19
  alignRight: {
20
20
  id: 'fabric.editor.alignRight',
21
21
  defaultMessage: 'Align right',
22
- description: 'Action to align/justify text to the right'
22
+ description: 'label stating that text is aligned right'
23
23
  }
24
24
  });
@@ -12,12 +12,12 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
12
12
  description: 'Opens a menu with additional table options'
13
13
  },
14
14
  tableSizeIncreaseScreenReaderInformation: {
15
- id: 'fabric.editor.tableResizeScreenReaderInformation',
15
+ id: 'fabric.editor.tableResizeIncreaseScreenReaderInformation',
16
16
  defaultMessage: 'Table width increased to {newWidth, plural, one {# pixel} other {# pixels}}.',
17
17
  description: 'Information for screen reader users about increasing the table size by a certain number of pixels.'
18
18
  },
19
19
  tableSizeDecreaseScreenReaderInformation: {
20
- id: 'fabric.editor.tableResizeScreenReaderInformation',
20
+ id: 'fabric.editor.tableResizeDecreaseScreenReaderInformation',
21
21
  defaultMessage: 'Table width decreased to {newWidth, plural, one {# pixel} other {# pixels}}.',
22
22
  description: 'Information for screen reader users about decreasing the table size by a certain number of pixels.'
23
23
  },
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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 = "76.29.2";
19
+ var packageVersion = "76.30.0";
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
@@ -22,7 +22,7 @@ var _templateObject, _templateObject2, _templateObject3;
22
22
  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); }; }
23
23
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
24
24
  var packageName = "@atlaskit/editor-common";
25
- var packageVersion = "76.29.2";
25
+ var packageVersion = "76.30.0";
26
26
  var halfFocusRing = 1;
27
27
  var dropOffset = '0, 8';
28
28
  var DropList = /*#__PURE__*/function (_Component) {
@@ -69,7 +69,7 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
69
69
  red: {
70
70
  id: 'fabric.theme.red',
71
71
  defaultMessage: 'Red',
72
- description: 'Name of a color'
72
+ description: 'Name of a color.'
73
73
  },
74
74
  orange: {
75
75
  id: 'fabric.theme.orange',
@@ -74,7 +74,7 @@ var lightTextPaletteTooltipMessages = exports.lightTextPaletteTooltipMessages =
74
74
  '#FF5630': {
75
75
  id: 'fabric.theme.red',
76
76
  defaultMessage: 'Red',
77
- description: 'Name of a color'
77
+ description: 'Name of a color.'
78
78
  },
79
79
  '#FF991F': {
80
80
  id: 'fabric.theme.bold-orange',
@@ -373,7 +373,7 @@ var lightChartsColorPaletteTooltipMessages = exports.lightChartsColorPaletteTool
373
373
  '#B65C02': {
374
374
  id: 'fabric.theme.bold-orange',
375
375
  defaultMessage: 'Bold orange',
376
- description: 'Name of a color'
376
+ description: 'Name of a color.'
377
377
  },
378
378
  '#974F0C': {
379
379
  id: 'fabric.theme.bolder-orange',
@@ -124,7 +124,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
124
124
  fitWidth: 350,
125
125
  offset: [0, 10],
126
126
  alignX: props.alignX,
127
- mountTo: props.setDisableParentScroll ? props.mountPoint : undefined
127
+ mountTo: props.setDisableParentScroll ? props.mountPoint : undefined,
128
+ absoluteOffset: props.absoluteOffset
128
129
  // Confluence inline comment editor has z-index: 500
129
130
  // if the toolbar is scrollable, this will be mounted in the root editor
130
131
  // we need an index of > 500 to display over it
@@ -3,16 +3,16 @@ export const alignmentMessages = defineMessages({
3
3
  alignLeft: {
4
4
  id: 'fabric.editor.alignLeft',
5
5
  defaultMessage: 'Align left',
6
- description: 'Action to align/justify text to the left'
6
+ description: 'label stating that text is aligned left'
7
7
  },
8
8
  alignCenter: {
9
9
  id: 'fabric.editor.alignCenter',
10
10
  defaultMessage: 'Align center',
11
- description: 'Action to align/justify text to the center/middle'
11
+ description: 'label stating that text is aligned center'
12
12
  },
13
13
  alignRight: {
14
14
  id: 'fabric.editor.alignRight',
15
15
  defaultMessage: 'Align right',
16
- description: 'Action to align/justify text to the right'
16
+ description: 'label stating that text is aligned right'
17
17
  }
18
18
  });
@@ -6,12 +6,12 @@ export const messages = defineMessages({
6
6
  description: 'Opens a menu with additional table options'
7
7
  },
8
8
  tableSizeIncreaseScreenReaderInformation: {
9
- id: 'fabric.editor.tableResizeScreenReaderInformation',
9
+ id: 'fabric.editor.tableResizeIncreaseScreenReaderInformation',
10
10
  defaultMessage: 'Table width increased to {newWidth, plural, one {# pixel} other {# pixels}}.',
11
11
  description: 'Information for screen reader users about increasing the table size by a certain number of pixels.'
12
12
  },
13
13
  tableSizeDecreaseScreenReaderInformation: {
14
- id: 'fabric.editor.tableResizeScreenReaderInformation',
14
+ id: 'fabric.editor.tableResizeDecreaseScreenReaderInformation',
15
15
  defaultMessage: 'Table width decreased to {newWidth, plural, one {# pixel} other {# pixels}}.',
16
16
  description: 'Information for screen reader users about decreasing the table size by a certain number of pixels.'
17
17
  },
@@ -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 = "76.29.2";
3
+ const packageVersion = "76.30.0";
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
@@ -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 = "76.29.2";
10
+ const packageVersion = "76.30.0";
11
11
  const halfFocusRing = 1;
12
12
  const dropOffset = '0, 8';
13
13
  class DropList extends Component {
@@ -63,7 +63,7 @@ export default defineMessages({
63
63
  red: {
64
64
  id: 'fabric.theme.red',
65
65
  defaultMessage: 'Red',
66
- description: 'Name of a color'
66
+ description: 'Name of a color.'
67
67
  },
68
68
  orange: {
69
69
  id: 'fabric.theme.orange',
@@ -65,7 +65,7 @@ export const lightTextPaletteTooltipMessages = defineMessages({
65
65
  '#FF5630': {
66
66
  id: 'fabric.theme.red',
67
67
  defaultMessage: 'Red',
68
- description: 'Name of a color'
68
+ description: 'Name of a color.'
69
69
  },
70
70
  '#FF991F': {
71
71
  id: 'fabric.theme.bold-orange',
@@ -370,7 +370,7 @@ export const lightChartsColorPaletteTooltipMessages = defineMessages({
370
370
  '#B65C02': {
371
371
  id: 'fabric.theme.bold-orange',
372
372
  defaultMessage: 'Bold orange',
373
- description: 'Name of a color'
373
+ description: 'Name of a color.'
374
374
  },
375
375
  '#974F0C': {
376
376
  id: 'fabric.theme.bolder-orange',
@@ -114,7 +114,8 @@ const ColorPickerButton = props => {
114
114
  fitWidth: 350,
115
115
  offset: [0, 10],
116
116
  alignX: props.alignX,
117
- mountTo: props.setDisableParentScroll ? props.mountPoint : undefined
117
+ mountTo: props.setDisableParentScroll ? props.mountPoint : undefined,
118
+ absoluteOffset: props.absoluteOffset
118
119
  // Confluence inline comment editor has z-index: 500
119
120
  // if the toolbar is scrollable, this will be mounted in the root editor
120
121
  // we need an index of > 500 to display over it
@@ -3,16 +3,16 @@ export var alignmentMessages = defineMessages({
3
3
  alignLeft: {
4
4
  id: 'fabric.editor.alignLeft',
5
5
  defaultMessage: 'Align left',
6
- description: 'Action to align/justify text to the left'
6
+ description: 'label stating that text is aligned left'
7
7
  },
8
8
  alignCenter: {
9
9
  id: 'fabric.editor.alignCenter',
10
10
  defaultMessage: 'Align center',
11
- description: 'Action to align/justify text to the center/middle'
11
+ description: 'label stating that text is aligned center'
12
12
  },
13
13
  alignRight: {
14
14
  id: 'fabric.editor.alignRight',
15
15
  defaultMessage: 'Align right',
16
- description: 'Action to align/justify text to the right'
16
+ description: 'label stating that text is aligned right'
17
17
  }
18
18
  });
@@ -6,12 +6,12 @@ export var messages = defineMessages({
6
6
  description: 'Opens a menu with additional table options'
7
7
  },
8
8
  tableSizeIncreaseScreenReaderInformation: {
9
- id: 'fabric.editor.tableResizeScreenReaderInformation',
9
+ id: 'fabric.editor.tableResizeIncreaseScreenReaderInformation',
10
10
  defaultMessage: 'Table width increased to {newWidth, plural, one {# pixel} other {# pixels}}.',
11
11
  description: 'Information for screen reader users about increasing the table size by a certain number of pixels.'
12
12
  },
13
13
  tableSizeDecreaseScreenReaderInformation: {
14
- id: 'fabric.editor.tableResizeScreenReaderInformation',
14
+ id: 'fabric.editor.tableResizeDecreaseScreenReaderInformation',
15
15
  defaultMessage: 'Table width decreased to {newWidth, plural, one {# pixel} other {# pixels}}.',
16
16
  description: 'Information for screen reader users about decreasing the table size by a certain number of pixels.'
17
17
  },
@@ -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 = "76.29.2";
9
+ var packageVersion = "76.30.0";
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
@@ -17,7 +17,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
17
17
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
18
18
  import Layer from '../Layer';
19
19
  var packageName = "@atlaskit/editor-common";
20
- var packageVersion = "76.29.2";
20
+ var packageVersion = "76.30.0";
21
21
  var halfFocusRing = 1;
22
22
  var dropOffset = '0, 8';
23
23
  var DropList = /*#__PURE__*/function (_Component) {
@@ -63,7 +63,7 @@ export default defineMessages({
63
63
  red: {
64
64
  id: 'fabric.theme.red',
65
65
  defaultMessage: 'Red',
66
- description: 'Name of a color'
66
+ description: 'Name of a color.'
67
67
  },
68
68
  orange: {
69
69
  id: 'fabric.theme.orange',
@@ -68,7 +68,7 @@ export var lightTextPaletteTooltipMessages = defineMessages({
68
68
  '#FF5630': {
69
69
  id: 'fabric.theme.red',
70
70
  defaultMessage: 'Red',
71
- description: 'Name of a color'
71
+ description: 'Name of a color.'
72
72
  },
73
73
  '#FF991F': {
74
74
  id: 'fabric.theme.bold-orange',
@@ -367,7 +367,7 @@ export var lightChartsColorPaletteTooltipMessages = defineMessages({
367
367
  '#B65C02': {
368
368
  id: 'fabric.theme.bold-orange',
369
369
  defaultMessage: 'Bold orange',
370
- description: 'Name of a color'
370
+ description: 'Name of a color.'
371
371
  },
372
372
  '#974F0C': {
373
373
  id: 'fabric.theme.bolder-orange',
@@ -118,7 +118,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
118
118
  fitWidth: 350,
119
119
  offset: [0, 10],
120
120
  alignX: props.alignX,
121
- mountTo: props.setDisableParentScroll ? props.mountPoint : undefined
121
+ mountTo: props.setDisableParentScroll ? props.mountPoint : undefined,
122
+ absoluteOffset: props.absoluteOffset
122
123
  // Confluence inline comment editor has z-index: 500
123
124
  // if the toolbar is scrollable, this will be mounted in the root editor
124
125
  // we need an index of > 500 to display over it
@@ -1,5 +1,5 @@
1
1
  export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, } from './types';
2
- export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
2
+ export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
3
3
  export type { EditorAnalyticsAPI } from './api';
4
4
  export { editorAnalyticsChannel, fireAnalyticsEvent, } from './fire-analytics-event';
5
5
  export { getAnalyticsEventsFromTransaction } from './utils';
@@ -12,7 +12,7 @@ export { TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STAT
12
12
  export type { TableEventPayload, OverflowStateInfo } from './table-events';
13
13
  export { PasteContents, PasteSources, PasteTypes } from './paste-events';
14
14
  export type { PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, } from './paste-events';
15
- export type { MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, CaptionTrackAction, MediaResizeTrackAction, MediaInputResizeTrackAction, } from './media-events';
15
+ export type { MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, CaptionTrackAction, MediaResizeTrackAction, MediaInputResizeTrackAction, } from './media-events';
16
16
  export type { DispatchAnalyticsEvent } from './dispatch-analytics-event';
17
17
  export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, } from './list-events';
18
18
  export type { ListEventPayload, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, } from './list-events';
@@ -2,7 +2,7 @@ import type { RichMediaLayout } from '@atlaskit/adf-schema';
2
2
  import type { GuidelineTypes, WidthTypes } from '../../guideline/types';
3
3
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
4
4
  import type { EventInput } from './type-ahead';
5
- import type { TrackAEP, UIAEP } from './utils';
5
+ import type { ChangeTypeAEP, TrackAEP, UIAEP } from './utils';
6
6
  type MediaBorderActionType = ACTION.UPDATED | ACTION.ADDED | ACTION.DELETED;
7
7
  export type MediaBorderTrackAction = TrackAEP<MediaBorderActionType, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.BORDER, any, undefined>;
8
8
  type MediaLinkActionType = ACTION.ADDED | ACTION.EDITED | ACTION.DELETED | ACTION.VISITED | ACTION.ERRORED;
@@ -28,8 +28,8 @@ type MediaInputResizeAttributes = {
28
28
  inputMethod: EventInput;
29
29
  };
30
30
  export type MediaInputResizeTrackAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, MediaInputResizeAttributes, undefined>;
31
- type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP;
32
- type ChangeMediaAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.MEDIA, undefined, {
31
+ export type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP | ACTION_SUBJECT_ID.MEDIA_SINGLE;
32
+ type ChangeMediaAEP = ChangeTypeAEP<ACTION_SUBJECT.MEDIA, undefined, {
33
33
  newType: MediaSwitchType;
34
34
  previousType: MediaSwitchType;
35
35
  }, undefined>;
@@ -1,6 +1,6 @@
1
1
  import type { PanelType } from '@atlaskit/adf-schema';
2
2
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
3
- import type { TrackAEP } from './utils';
3
+ import type { ChangeTypeAEP, TrackAEP } from './utils';
4
4
  export declare enum LAYOUT_TYPE {
5
5
  SINGLE_COL = "singleColumn",
6
6
  TWO_COLS_EQUAL = "twoColumnsEqual",
@@ -17,11 +17,11 @@ export declare enum SMART_LINK_TYPE {
17
17
  type DeletePanelAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.PANEL, undefined, {
18
18
  inputMethod: INPUT_METHOD.TOOLBAR;
19
19
  }, undefined>;
20
- type ChangePanelAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.PANEL, undefined, {
20
+ type ChangePanelAEP = ChangeTypeAEP<ACTION_SUBJECT.PANEL, undefined, {
21
21
  newType: PanelType;
22
22
  previousType: PanelType;
23
23
  }, undefined>;
24
- type ChangeSmartLinkAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.SMART_LINK, undefined, {
24
+ type ChangeSmartLinkAEP = ChangeTypeAEP<ACTION_SUBJECT.SMART_LINK, undefined, {
25
25
  newType: SMART_LINK_TYPE;
26
26
  previousType: SMART_LINK_TYPE;
27
27
  }, undefined>;
@@ -42,8 +42,10 @@ export declare enum SELECTION_POSITION {
42
42
  interface NonRequiredAttributes {
43
43
  insertLocation?: string;
44
44
  nodeLocation?: string;
45
+ changeFromLocation?: string;
45
46
  selectionType?: SELECTION_TYPE;
46
47
  selectionPosition?: SELECTION_POSITION;
47
48
  }
48
49
  export type InsertAEP<ActionSubjectID, Attributes, NonPrivacySafeAttributes> = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.DOCUMENT, ActionSubjectID, Attributes, NonPrivacySafeAttributes, NonRequiredAttributes>;
50
+ export type ChangeTypeAEP<ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes> = TrackAEP<ACTION.CHANGED_TYPE, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, NonRequiredAttributes>;
49
51
  export {};
@@ -2,6 +2,7 @@
2
2
  import React from 'react';
3
3
  import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
5
+ import type { Position as PopupPosition } from '../../ui/Popup/utils';
5
6
  type Props = WithAnalyticsEventsProps & {
6
7
  currentColor?: string;
7
8
  title?: string;
@@ -23,6 +24,7 @@ type Props = WithAnalyticsEventsProps & {
23
24
  * To prevent this use skipFocusButtonAfterPick.
24
25
  */
25
26
  skipFocusButtonAfterPick?: boolean;
27
+ absoluteOffset?: PopupPosition;
26
28
  };
27
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "onChange" | "title" | "key" | "size" | "placement" | "alignX" | "currentColor" | "analyticsContext" | "cols" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
29
+ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "onChange" | "title" | "key" | "size" | "placement" | "alignX" | "absoluteOffset" | "currentColor" | "analyticsContext" | "cols" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
28
30
  export default _default;
@@ -1,5 +1,5 @@
1
1
  export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, } from './types';
2
- export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
2
+ export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
3
3
  export type { EditorAnalyticsAPI } from './api';
4
4
  export { editorAnalyticsChannel, fireAnalyticsEvent, } from './fire-analytics-event';
5
5
  export { getAnalyticsEventsFromTransaction } from './utils';
@@ -12,7 +12,7 @@ export { TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STAT
12
12
  export type { TableEventPayload, OverflowStateInfo } from './table-events';
13
13
  export { PasteContents, PasteSources, PasteTypes } from './paste-events';
14
14
  export type { PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, } from './paste-events';
15
- export type { MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, CaptionTrackAction, MediaResizeTrackAction, MediaInputResizeTrackAction, } from './media-events';
15
+ export type { MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, CaptionTrackAction, MediaResizeTrackAction, MediaInputResizeTrackAction, } from './media-events';
16
16
  export type { DispatchAnalyticsEvent } from './dispatch-analytics-event';
17
17
  export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, } from './list-events';
18
18
  export type { ListEventPayload, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, } from './list-events';
@@ -2,7 +2,7 @@ import type { RichMediaLayout } from '@atlaskit/adf-schema';
2
2
  import type { GuidelineTypes, WidthTypes } from '../../guideline/types';
3
3
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
4
4
  import type { EventInput } from './type-ahead';
5
- import type { TrackAEP, UIAEP } from './utils';
5
+ import type { ChangeTypeAEP, TrackAEP, UIAEP } from './utils';
6
6
  type MediaBorderActionType = ACTION.UPDATED | ACTION.ADDED | ACTION.DELETED;
7
7
  export type MediaBorderTrackAction = TrackAEP<MediaBorderActionType, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.BORDER, any, undefined>;
8
8
  type MediaLinkActionType = ACTION.ADDED | ACTION.EDITED | ACTION.DELETED | ACTION.VISITED | ACTION.ERRORED;
@@ -28,8 +28,8 @@ type MediaInputResizeAttributes = {
28
28
  inputMethod: EventInput;
29
29
  };
30
30
  export type MediaInputResizeTrackAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, MediaInputResizeAttributes, undefined>;
31
- type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP;
32
- type ChangeMediaAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.MEDIA, undefined, {
31
+ export type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP | ACTION_SUBJECT_ID.MEDIA_SINGLE;
32
+ type ChangeMediaAEP = ChangeTypeAEP<ACTION_SUBJECT.MEDIA, undefined, {
33
33
  newType: MediaSwitchType;
34
34
  previousType: MediaSwitchType;
35
35
  }, undefined>;
@@ -1,6 +1,6 @@
1
1
  import type { PanelType } from '@atlaskit/adf-schema';
2
2
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
3
- import type { TrackAEP } from './utils';
3
+ import type { ChangeTypeAEP, TrackAEP } from './utils';
4
4
  export declare enum LAYOUT_TYPE {
5
5
  SINGLE_COL = "singleColumn",
6
6
  TWO_COLS_EQUAL = "twoColumnsEqual",
@@ -17,11 +17,11 @@ export declare enum SMART_LINK_TYPE {
17
17
  type DeletePanelAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.PANEL, undefined, {
18
18
  inputMethod: INPUT_METHOD.TOOLBAR;
19
19
  }, undefined>;
20
- type ChangePanelAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.PANEL, undefined, {
20
+ type ChangePanelAEP = ChangeTypeAEP<ACTION_SUBJECT.PANEL, undefined, {
21
21
  newType: PanelType;
22
22
  previousType: PanelType;
23
23
  }, undefined>;
24
- type ChangeSmartLinkAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.SMART_LINK, undefined, {
24
+ type ChangeSmartLinkAEP = ChangeTypeAEP<ACTION_SUBJECT.SMART_LINK, undefined, {
25
25
  newType: SMART_LINK_TYPE;
26
26
  previousType: SMART_LINK_TYPE;
27
27
  }, undefined>;
@@ -42,8 +42,10 @@ export declare enum SELECTION_POSITION {
42
42
  interface NonRequiredAttributes {
43
43
  insertLocation?: string;
44
44
  nodeLocation?: string;
45
+ changeFromLocation?: string;
45
46
  selectionType?: SELECTION_TYPE;
46
47
  selectionPosition?: SELECTION_POSITION;
47
48
  }
48
49
  export type InsertAEP<ActionSubjectID, Attributes, NonPrivacySafeAttributes> = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.DOCUMENT, ActionSubjectID, Attributes, NonPrivacySafeAttributes, NonRequiredAttributes>;
50
+ export type ChangeTypeAEP<ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes> = TrackAEP<ACTION.CHANGED_TYPE, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, NonRequiredAttributes>;
49
51
  export {};
@@ -2,6 +2,7 @@
2
2
  import React from 'react';
3
3
  import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
5
+ import type { Position as PopupPosition } from '../../ui/Popup/utils';
5
6
  type Props = WithAnalyticsEventsProps & {
6
7
  currentColor?: string;
7
8
  title?: string;
@@ -23,6 +24,7 @@ type Props = WithAnalyticsEventsProps & {
23
24
  * To prevent this use skipFocusButtonAfterPick.
24
25
  */
25
26
  skipFocusButtonAfterPick?: boolean;
27
+ absoluteOffset?: PopupPosition;
26
28
  };
27
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "onChange" | "title" | "key" | "size" | "placement" | "alignX" | "currentColor" | "analyticsContext" | "cols" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
29
+ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "onChange" | "title" | "key" | "size" | "placement" | "alignX" | "absoluteOffset" | "currentColor" | "analyticsContext" | "cols" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
28
30
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "76.29.2",
3
+ "version": "76.30.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/"