@atlaskit/editor-common 126.4.3 → 127.0.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 (44) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/cjs/messages/rule.js +20 -0
  3. package/dist/cjs/monitoring/error.js +1 -1
  4. package/dist/cjs/quick-insert/get-matching-quick-insert-components.js +1 -1
  5. package/dist/cjs/quick-insert/getQuickInsertMenuItemParents.js +1 -0
  6. package/dist/cjs/quick-insert/keys.js +41 -1
  7. package/dist/cjs/quick-insert/messages.js +5 -0
  8. package/dist/cjs/quick-insert/rank.js +6 -5
  9. package/dist/cjs/ui/DropList/index.js +1 -1
  10. package/dist/cjs/ui-color/ColorPalette/Color/index.js +3 -1
  11. package/dist/cjs/ui-color/ColorPalette/index.js +3 -1
  12. package/dist/cjs/ui-menu/ColorPickerButton/index.js +4 -2
  13. package/dist/es2019/messages/rule.js +20 -0
  14. package/dist/es2019/monitoring/error.js +1 -1
  15. package/dist/es2019/quick-insert/get-matching-quick-insert-components.js +1 -1
  16. package/dist/es2019/quick-insert/getQuickInsertMenuItemParents.js +2 -1
  17. package/dist/es2019/quick-insert/keys.js +40 -0
  18. package/dist/es2019/quick-insert/messages.js +5 -0
  19. package/dist/es2019/quick-insert/rank.js +31 -19
  20. package/dist/es2019/ui/DropList/index.js +1 -1
  21. package/dist/es2019/ui-color/ColorPalette/Color/index.js +3 -1
  22. package/dist/es2019/ui-color/ColorPalette/index.js +3 -1
  23. package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -2
  24. package/dist/esm/messages/rule.js +20 -0
  25. package/dist/esm/monitoring/error.js +1 -1
  26. package/dist/esm/quick-insert/get-matching-quick-insert-components.js +1 -1
  27. package/dist/esm/quick-insert/getQuickInsertMenuItemParents.js +2 -1
  28. package/dist/esm/quick-insert/keys.js +40 -0
  29. package/dist/esm/quick-insert/messages.js +5 -0
  30. package/dist/esm/quick-insert/rank.js +6 -5
  31. package/dist/esm/ui/DropList/index.js +1 -1
  32. package/dist/esm/ui-color/ColorPalette/Color/index.js +3 -1
  33. package/dist/esm/ui-color/ColorPalette/index.js +3 -1
  34. package/dist/esm/ui-menu/ColorPickerButton/index.js +4 -2
  35. package/dist/types/analytics/types/ai-suggestions-events.d.ts +12 -7
  36. package/dist/types/analytics/types/node-events.d.ts +4 -0
  37. package/dist/types/analytics/types/quick-insert-events.d.ts +9 -9
  38. package/dist/types/messages/rule.d.ts +20 -0
  39. package/dist/types/quick-insert/keys.d.ts +40 -0
  40. package/dist/types/quick-insert/messages.d.ts +1 -1
  41. package/dist/types/quick-insert/rank.d.ts +1 -0
  42. package/dist/types/types/floating-toolbar.d.ts +23 -21
  43. package/dist/types/ui-menu/ColorPickerButton/index.d.ts +1 -0
  44. package/package.json +6 -10
@@ -16,6 +16,10 @@ export var MEDIA_SECTION = {
16
16
  key: 'quick-insert-media-section',
17
17
  type: 'menu-section'
18
18
  };
19
+ export var CREATE_SECTION = {
20
+ key: 'quick-insert-create-section',
21
+ type: 'menu-section'
22
+ };
19
23
  export var EMBED_SECTION = {
20
24
  key: 'quick-insert-embed-section',
21
25
  type: 'menu-section'
@@ -128,6 +132,42 @@ export var LOOM_MENU_ITEM = {
128
132
  key: 'quick-insert-loom-menu-item',
129
133
  type: 'menu-item'
130
134
  };
135
+ export var JIRA_ISSUE_MENU_ITEM = {
136
+ key: 'com.atlassian.linking-platform.create:linking-platform-create-jira-issue',
137
+ type: 'menu-item'
138
+ };
139
+ export var CONFLUENCE_PAGE_MENU_ITEM = {
140
+ key: 'com.atlassian.linking-platform.create:linking-platform-create-confluence-page',
141
+ type: 'menu-item'
142
+ };
143
+ export var WHITEBOARD_MENU_ITEM = {
144
+ key: 'whiteboard-extension:create-whiteboard',
145
+ type: 'menu-item'
146
+ };
147
+ export var DIAGRAM_MENU_ITEM = {
148
+ key: 'whiteboard-extension:create-diagram',
149
+ type: 'menu-item'
150
+ };
151
+ export var FLOWCHART_MENU_ITEM = {
152
+ key: 'whiteboard-extension:create-flowchart',
153
+ type: 'menu-item'
154
+ };
155
+ export var BRAINSTORMING_MENU_ITEM = {
156
+ key: 'whiteboard-extension:create-brainstorming',
157
+ type: 'menu-item'
158
+ };
159
+ export var RETROSPECTIVE_MENU_ITEM = {
160
+ key: 'whiteboard-extension:create-retrospective',
161
+ type: 'menu-item'
162
+ };
163
+ export var ROADMAP_MENU_ITEM = {
164
+ key: 'whiteboard-extension:create-roadmap',
165
+ type: 'menu-item'
166
+ };
167
+ export var DATABASE_MENU_ITEM = {
168
+ key: 'database-extension:create-database',
169
+ type: 'menu-item'
170
+ };
131
171
  export var MENTION_MENU_ITEM = {
132
172
  key: 'quick-insert-mention-menu-item',
133
173
  type: 'menu-item'
@@ -100,6 +100,11 @@ export var messages = defineMessages({
100
100
  defaultMessage: 'Media',
101
101
  description: 'Media items in the Quick Insert menu.'
102
102
  },
103
+ categoryCreate: {
104
+ id: 'editor-common.quick-insert.categoryCreate',
105
+ defaultMessage: 'Create',
106
+ description: 'Create items in the Quick Insert menu.'
107
+ },
103
108
  categoryEmbed: {
104
109
  id: 'editor-common.quick-insert.categoryEmbed',
105
110
  defaultMessage: 'Embed',
@@ -2,11 +2,12 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _STRUCTURE_SECTION_RA;
3
3
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
4
4
 
5
- import { ACTION_MENU_ITEM, AI_IMAGE_GENERATION_MENU_ITEM, ASK_ROVO_MENU_ITEM, ASSETS_MENU_ITEM, BLOCKQUOTE_MENU_ITEM, BLOCK_TEMPLATES_SECTION, CODE_BLOCK_MENU_ITEM, CONFLUENCE_LIST_MENU_ITEM, CUSTOM_PANEL_MENU_ITEM, DATE_MENU_ITEM, DATA_AND_CHARTS_SECTION, DECISION_MENU_ITEM, EMBED_SECTION, EMOJI_MENU_ITEM, ERROR_PANEL_MENU_ITEM, EXPAND_MENU_ITEM, FIVE_COLUMNS_LAYOUT_MENU_ITEM, FOUR_COLUMNS_LAYOUT_MENU_ITEM, HEADING_1_MENU_ITEM, HEADING_2_MENU_ITEM, HEADING_3_MENU_ITEM, HEADING_4_MENU_ITEM, HEADING_5_MENU_ITEM, HEADING_6_MENU_ITEM, HELP_DIALOG_MENU_ITEM, HYPERLINK_MENU_ITEM, INFO_PANEL_MENU_ITEM, JIRA_WORK_ITEMS_MENU_ITEM, LOOM_MENU_ITEM, MEDIA_INSERT_MENU_ITEM, MEDIA_SECTION, MENTION_MENU_ITEM, NOTE_PANEL_MENU_ITEM, ORDERED_LIST_MENU_ITEM, OTHER_SECTION, PLACEHOLDER_TEXT_MENU_ITEM, RECOMMENDED_SECTION, ROVO_SECTION, RULE_MENU_ITEM, STATUS_MENU_ITEM, STRUCTURE_SECTION, SUCCESS_PANEL_MENU_ITEM, SYNCED_BLOCK_MENU_ITEM, TABLE_MENU_ITEM, TEXT_FORMATTING_SECTION, THREE_COLUMNS_LAYOUT_MENU_ITEM, TWO_COLUMNS_LAYOUT_MENU_ITEM, UNORDERED_LIST_MENU_ITEM, WARNING_PANEL_MENU_ITEM } from './keys';
6
- export var QUICK_INSERT_MENU_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, RECOMMENDED_SECTION.key, 0), STRUCTURE_SECTION.key, 1), MEDIA_SECTION.key, 2), EMBED_SECTION.key, 3), TEXT_FORMATTING_SECTION.key, 4), ROVO_SECTION.key, 5), DATA_AND_CHARTS_SECTION.key, 6), BLOCK_TEMPLATES_SECTION.key, 7), OTHER_SECTION.key, 8);
7
- export var STRUCTURE_SECTION_RANK = (_STRUCTURE_SECTION_RA = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_STRUCTURE_SECTION_RA, ACTION_MENU_ITEM.key, 100), TABLE_MENU_ITEM.key, 200), STATUS_MENU_ITEM.key, 300), DATE_MENU_ITEM.key, 400), EXPAND_MENU_ITEM.key, 700), CODE_BLOCK_MENU_ITEM.key, 800), INFO_PANEL_MENU_ITEM.key, 900), NOTE_PANEL_MENU_ITEM.key, 1000), SUCCESS_PANEL_MENU_ITEM.key, 1100), WARNING_PANEL_MENU_ITEM.key, 1200), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_STRUCTURE_SECTION_RA, ERROR_PANEL_MENU_ITEM.key, 1300), CUSTOM_PANEL_MENU_ITEM.key, 1400), TWO_COLUMNS_LAYOUT_MENU_ITEM.key, 1500), THREE_COLUMNS_LAYOUT_MENU_ITEM.key, 1600), FOUR_COLUMNS_LAYOUT_MENU_ITEM.key, 1700), FIVE_COLUMNS_LAYOUT_MENU_ITEM.key, 1800), SYNCED_BLOCK_MENU_ITEM.key, 2300), RULE_MENU_ITEM.key, 2400), DECISION_MENU_ITEM.key, 2800));
8
- export var MEDIA_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, MEDIA_INSERT_MENU_ITEM.key, 100), HYPERLINK_MENU_ITEM.key, 200), EMOJI_MENU_ITEM.key, 300), LOOM_MENU_ITEM.key, 400), MENTION_MENU_ITEM.key, 1500), AI_IMAGE_GENERATION_MENU_ITEM.key, 1600);
9
- export var TEXT_FORMATTING_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, HEADING_1_MENU_ITEM.key, 100), HEADING_2_MENU_ITEM.key, 200), HEADING_3_MENU_ITEM.key, 300), HEADING_4_MENU_ITEM.key, 400), HEADING_5_MENU_ITEM.key, 500), HEADING_6_MENU_ITEM.key, 600), BLOCKQUOTE_MENU_ITEM.key, 700), PLACEHOLDER_TEXT_MENU_ITEM.key, 900), UNORDERED_LIST_MENU_ITEM.key, 1100), ORDERED_LIST_MENU_ITEM.key, 1200);
5
+ import { ACTION_MENU_ITEM, AI_IMAGE_GENERATION_MENU_ITEM, ASK_ROVO_MENU_ITEM, ASSETS_MENU_ITEM, BRAINSTORMING_MENU_ITEM, BLOCKQUOTE_MENU_ITEM, BLOCK_TEMPLATES_SECTION, CODE_BLOCK_MENU_ITEM, CONFLUENCE_LIST_MENU_ITEM, CONFLUENCE_PAGE_MENU_ITEM, CREATE_SECTION, CUSTOM_PANEL_MENU_ITEM, DATABASE_MENU_ITEM, DATE_MENU_ITEM, DATA_AND_CHARTS_SECTION, DECISION_MENU_ITEM, DIAGRAM_MENU_ITEM, EMBED_SECTION, EMOJI_MENU_ITEM, ERROR_PANEL_MENU_ITEM, EXPAND_MENU_ITEM, FIVE_COLUMNS_LAYOUT_MENU_ITEM, FLOWCHART_MENU_ITEM, FOUR_COLUMNS_LAYOUT_MENU_ITEM, HEADING_1_MENU_ITEM, HEADING_2_MENU_ITEM, HEADING_3_MENU_ITEM, HEADING_4_MENU_ITEM, HEADING_5_MENU_ITEM, HEADING_6_MENU_ITEM, HELP_DIALOG_MENU_ITEM, HYPERLINK_MENU_ITEM, INFO_PANEL_MENU_ITEM, JIRA_ISSUE_MENU_ITEM, JIRA_WORK_ITEMS_MENU_ITEM, LOOM_MENU_ITEM, MEDIA_INSERT_MENU_ITEM, MEDIA_SECTION, MENTION_MENU_ITEM, NOTE_PANEL_MENU_ITEM, ORDERED_LIST_MENU_ITEM, OTHER_SECTION, PLACEHOLDER_TEXT_MENU_ITEM, RECOMMENDED_SECTION, ROADMAP_MENU_ITEM, RETROSPECTIVE_MENU_ITEM, ROVO_SECTION, RULE_MENU_ITEM, STATUS_MENU_ITEM, STRUCTURE_SECTION, SUCCESS_PANEL_MENU_ITEM, SYNCED_BLOCK_MENU_ITEM, TABLE_MENU_ITEM, TEXT_FORMATTING_SECTION, THREE_COLUMNS_LAYOUT_MENU_ITEM, TWO_COLUMNS_LAYOUT_MENU_ITEM, UNORDERED_LIST_MENU_ITEM, WARNING_PANEL_MENU_ITEM, WHITEBOARD_MENU_ITEM } from './keys';
6
+ export var QUICK_INSERT_MENU_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, RECOMMENDED_SECTION.key, 0), STRUCTURE_SECTION.key, 1), MEDIA_SECTION.key, 2), CREATE_SECTION.key, 3), EMBED_SECTION.key, 4), TEXT_FORMATTING_SECTION.key, 5), ROVO_SECTION.key, 6), DATA_AND_CHARTS_SECTION.key, 7), BLOCK_TEMPLATES_SECTION.key, 8), OTHER_SECTION.key, 9);
7
+ export var STRUCTURE_SECTION_RANK = (_STRUCTURE_SECTION_RA = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_STRUCTURE_SECTION_RA, ACTION_MENU_ITEM.key, 100), TABLE_MENU_ITEM.key, 200), STATUS_MENU_ITEM.key, 300), DATE_MENU_ITEM.key, 400), MENTION_MENU_ITEM.key, 500), EXPAND_MENU_ITEM.key, 700), CODE_BLOCK_MENU_ITEM.key, 800), INFO_PANEL_MENU_ITEM.key, 900), NOTE_PANEL_MENU_ITEM.key, 1000), SUCCESS_PANEL_MENU_ITEM.key, 1100), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_STRUCTURE_SECTION_RA, WARNING_PANEL_MENU_ITEM.key, 1200), ERROR_PANEL_MENU_ITEM.key, 1300), CUSTOM_PANEL_MENU_ITEM.key, 1400), TWO_COLUMNS_LAYOUT_MENU_ITEM.key, 1500), THREE_COLUMNS_LAYOUT_MENU_ITEM.key, 1600), FOUR_COLUMNS_LAYOUT_MENU_ITEM.key, 1700), FIVE_COLUMNS_LAYOUT_MENU_ITEM.key, 1800), SYNCED_BLOCK_MENU_ITEM.key, 2300), RULE_MENU_ITEM.key, 2400), DECISION_MENU_ITEM.key, 2800));
8
+ export var MEDIA_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, MEDIA_INSERT_MENU_ITEM.key, 100), HYPERLINK_MENU_ITEM.key, 200), EMOJI_MENU_ITEM.key, 300), AI_IMAGE_GENERATION_MENU_ITEM.key, 1600);
9
+ export var CREATE_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, JIRA_ISSUE_MENU_ITEM.key, 100), CONFLUENCE_PAGE_MENU_ITEM.key, 200), WHITEBOARD_MENU_ITEM.key, 500), DIAGRAM_MENU_ITEM.key, 600), FLOWCHART_MENU_ITEM.key, 700), BRAINSTORMING_MENU_ITEM.key, 800), RETROSPECTIVE_MENU_ITEM.key, 900), ROADMAP_MENU_ITEM.key, 1000), DATABASE_MENU_ITEM.key, 1100), LOOM_MENU_ITEM.key, 1200);
10
+ export var TEXT_FORMATTING_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, UNORDERED_LIST_MENU_ITEM.key, 100), ORDERED_LIST_MENU_ITEM.key, 200), HEADING_1_MENU_ITEM.key, 300), HEADING_2_MENU_ITEM.key, 400), HEADING_3_MENU_ITEM.key, 500), HEADING_4_MENU_ITEM.key, 600), HEADING_5_MENU_ITEM.key, 700), HEADING_6_MENU_ITEM.key, 800), BLOCKQUOTE_MENU_ITEM.key, 900), PLACEHOLDER_TEXT_MENU_ITEM.key, 1000);
10
11
  export var ROVO_SECTION_RANK = _defineProperty({}, ASK_ROVO_MENU_ITEM.key, 100);
11
12
  export var DATA_AND_CHARTS_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty({}, JIRA_WORK_ITEMS_MENU_ITEM.key, 300), CONFLUENCE_LIST_MENU_ITEM.key, 400), ASSETS_MENU_ITEM.key, 500);
12
13
  export var OTHER_SECTION_RANK = _defineProperty({}, HELP_DIALOG_MENU_ITEM.key, 100);
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "126.4.2";
24
+ var packageVersion = "126.4.4";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -15,6 +15,7 @@ var Color = function Color(props) {
15
15
  label = props.label,
16
16
  isSelected = props.isSelected,
17
17
  borderColor = props.borderColor,
18
+ checkMarkColor = props.checkMarkColor,
18
19
  hexToPaletteColor = props.hexToPaletteColor,
19
20
  decorator = props.decorator;
20
21
  var colorStyle = hexToPaletteColor ? hexToPaletteColor(value) : value;
@@ -63,7 +64,8 @@ var Color = function Color(props) {
63
64
  },
64
65
  autoFocus: autoFocus
65
66
  }, !decorator && isSelected && jsx(EditorDoneIcon, {
66
- label: ""
67
+ label: "",
68
+ color: checkMarkColor
67
69
  }), decorator)));
68
70
  };
69
71
  export default Color;
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { jsx } from '@emotion/react';
9
9
  import chromatism from 'chromatism';
10
10
  import { injectIntl } from 'react-intl';
11
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
11
12
  import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
12
13
  import Color from './Color';
13
14
  import getColorMessage from './Palettes/getColorMessage';
@@ -55,6 +56,7 @@ var ColorPalette = function ColorPalette(props) {
55
56
  var _useThemeObserver = useThemeObserver(),
56
57
  tokenTheme = _useThemeObserver.colorMode;
57
58
  var useIconToken = !!hexToPaletteColor;
59
+ var isDividerExperimentEnabled = isExperimentEnabled('platform_editor_lovability_dividers');
58
60
  var colorsPerRow = React.useMemo(function () {
59
61
  return getColorsPerRowFromPalette(palette, cols);
60
62
  }, [palette, cols]);
@@ -90,7 +92,7 @@ var ColorPalette = function ColorPalette(props) {
90
92
  onClick: onClick,
91
93
  onKeyDown: onKeyDown,
92
94
  isSelected: value === selectedColor,
93
- checkMarkColor: getCheckMarkColor(value, useIconToken),
95
+ checkMarkColor: isDividerExperimentEnabled ? getCheckMarkColor(value, useIconToken) : undefined,
94
96
  hexToPaletteColor: hexToPaletteColor,
95
97
  decorator: decorator
96
98
  });
@@ -149,7 +149,9 @@ var ColorPickerButton = function ColorPickerButton(props) {
149
149
  createAnalyticsEvent = props.createAnalyticsEvent,
150
150
  colorPalette = props.colorPalette,
151
151
  placement = props.placement,
152
- skipFocusButtonAfterPick = props.skipFocusButtonAfterPick;
152
+ skipFocusButtonAfterPick = props.skipFocusButtonAfterPick,
153
+ _props$hideExpandIcon = props.hideExpandIcon,
154
+ hideExpandIcon = _props$hideExpandIcon === void 0 ? false : _props$hideExpandIcon;
153
155
  var onColorSelected = React.useCallback(function (color, label) {
154
156
  setIsOpenedByKeyboard(false);
155
157
  setIsPopupOpen(false);
@@ -272,7 +274,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
272
274
  }, jsx("span", {
273
275
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
274
276
  css: buttonStyleVisualRefresh
275
- }), jsx(Box, {
277
+ }), !hideExpandIcon && jsx(Box, {
276
278
  xcss: colorPickerExpandContainerVisualRefresh
277
279
  }, jsx(ChevronDownIcon, {
278
280
  color: "currentColor",
@@ -27,10 +27,10 @@ type SuggestionRemixAttributes = {
27
27
  remixSubtype?: string;
28
28
  remixType?: string;
29
29
  };
30
- type SuggestionAgeAttribute = {
31
- suggestionAgeMs?: number;
30
+ type TimeSinceGenerationAttribute = {
31
+ timeSinceGenerationMs?: number;
32
32
  };
33
- type RegenerationSuggestionDetails = SuggestionRemixAttributes & SuggestionAgeAttribute & {
33
+ type RegenerationSuggestionDetails = SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
34
34
  actionKind: string;
35
35
  outcome?: AiSuggestionsRegenerationOutcome;
36
36
  suggestionId: string;
@@ -79,7 +79,7 @@ type SuggestionsErrorRetryClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.A
79
79
  type EntryPointExposureAEP = TrackAEP<ACTION.EXPOSED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
80
80
  entryPoint: AiSuggestionsEntryPoint;
81
81
  }, undefined>;
82
- type SuggestionLifecycleAttributes = SuggestionRemixAttributes & SuggestionAgeAttribute & {
82
+ type SuggestionLifecycleAttributes = SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
83
83
  actionKind: string;
84
84
  affectedBlocks: number;
85
85
  agentId?: string;
@@ -93,6 +93,11 @@ type AcceptSuggestionAEP = TrackAEP<ACTION.ACCEPTED, ACTION_SUBJECT.AI_SUGGESTIO
93
93
  charactersRemoved?: number;
94
94
  isDiffHidden: boolean;
95
95
  }, undefined>;
96
+ type UndoAcceptedSuggestionAEP = TrackAEP<ACTION.UNDO_PERFORMED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, TimeSinceGenerationAttribute & {
97
+ actionKind: string;
98
+ suggestionId: string;
99
+ suggestionType: string;
100
+ }, undefined>;
96
101
  type DiscardedSuggestionAttributes = SuggestionLifecycleAttributes;
97
102
  type CancelSuggestionsAEP = TrackAEP<ACTION.CANCELLED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
98
103
  interactionPoint: AiSuggestionInteractionPoint;
@@ -112,14 +117,14 @@ type ViewSuggestionAEP = TrackAEP<ACTION.VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS,
112
117
  type RightRailViewedAEP = TrackAEP<ACTION.RIGHT_RAIL_VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
113
118
  entryPoint: AiSuggestionsRightRailEntryPoint;
114
119
  numberOfSuggestions: number;
115
- suggestionDetails: Array<SuggestionRemixAttributes & SuggestionAgeAttribute & {
120
+ suggestionDetails: Array<SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
116
121
  actionKind: string;
117
122
  affectedBlocks: number;
118
123
  suggestionType: string;
119
124
  }>;
120
125
  }, undefined>;
121
126
  type RightRailClosedAEP = TrackAEP<ACTION.RIGHT_RAIL_CLOSED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, undefined, undefined>;
122
- type ViewSuggestionReasoningAEP = TrackAEP<ACTION.REASONING_VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, SuggestionRemixAttributes & SuggestionAgeAttribute & {
127
+ type ViewSuggestionReasoningAEP = TrackAEP<ACTION.REASONING_VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
123
128
  actionKind: string;
124
129
  affectedBlocks: number;
125
130
  agentId?: string;
@@ -145,5 +150,5 @@ type SuggestionsGeneratedAEP = TrackAEP<ACTION.GENERATED, ACTION_SUBJECT.AI_SUGG
145
150
  type EmptyStateExposedAEP = TrackAEP<ACTION.EMPTY_STATE_EXPOSED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
146
151
  emptyStateType: AiSuggestionsEmptyStateType;
147
152
  }, undefined>;
148
- export type AiSuggestionsEventPayload = NoDiffSuggestionAEP | ConversationErrorAEP | RegenerateSuggestionsErrorAEP | RegenerateSuggestionsStartedAEP | RegenerateSuggestionsCompletedAEP | EntryPointClickedAEP | SuggestionsErrorRetryClickedAEP | EntryPointExposureAEP | CancelSuggestionsAEP | AcceptSuggestionAEP | DiscardSuggestionAEP | DiscardAllSuggestionsAEP | DismissSuggestionAEP | ViewSuggestionAEP | RightRailViewedAEP | RightRailClosedAEP | ViewSuggestionReasoningAEP | SuggestionsGeneratedAEP | EmptyStateExposedAEP;
153
+ export type AiSuggestionsEventPayload = NoDiffSuggestionAEP | ConversationErrorAEP | RegenerateSuggestionsErrorAEP | RegenerateSuggestionsStartedAEP | RegenerateSuggestionsCompletedAEP | EntryPointClickedAEP | SuggestionsErrorRetryClickedAEP | EntryPointExposureAEP | CancelSuggestionsAEP | AcceptSuggestionAEP | UndoAcceptedSuggestionAEP | DiscardSuggestionAEP | DiscardAllSuggestionsAEP | DismissSuggestionAEP | ViewSuggestionAEP | RightRailViewedAEP | RightRailClosedAEP | ViewSuggestionReasoningAEP | SuggestionsGeneratedAEP | EmptyStateExposedAEP;
149
154
  export {};
@@ -110,6 +110,10 @@ type UpdatedDividerAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.DIVIDER, undefi
110
110
  inputMethod: INPUT_METHOD.FLOATING_TB;
111
111
  previousWeight: number;
112
112
  weight: number;
113
+ } | {
114
+ color: string | null;
115
+ inputMethod: INPUT_METHOD.FLOATING_TB;
116
+ previousColor: string | null;
113
117
  }, undefined>;
114
118
  type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.UNSUPPORTED_BLOCK | ACTION_SUBJECT_ID.UNSUPPORTED_INLINE | ACTION_SUBJECT_ID.UNSUPPORTED_MARK, {
115
119
  unsupportedNode: {
@@ -1,22 +1,22 @@
1
1
  import type { ACTION, ACTION_SUBJECT } from './enums';
2
2
  import type { OperationalAEP } from './utils';
3
3
  export type CategoryInformation = {
4
- internalMacroCount: number;
5
- internalAppCount: number;
6
- internalAppMacroMax: number;
7
- ecosystemMacroCount: number;
8
- ecosystemAppCount: number;
9
- ecosystemAppMacroMax: number;
10
- allMacroCount: number;
11
4
  allAppCount: number;
12
5
  allAppMacroMax: number;
6
+ allMacroCount: number;
7
+ ecosystemAppCount: number;
8
+ ecosystemAppMacroMax: number;
9
+ ecosystemMacroCount: number;
10
+ internalAppCount: number;
11
+ internalAppMacroMax: number;
12
+ internalMacroCount: number;
13
13
  };
14
- export type CategoryKey = 'blockTemplates' | 'dataAndCharts' | 'embed' | 'media' | 'other' | 'rovo' | 'structure' | 'textFormatting';
14
+ export type CategoryKey = 'blockTemplates' | 'create' | 'dataAndCharts' | 'embed' | 'media' | 'other' | 'rovo' | 'structure' | 'textFormatting';
15
15
  export type LegacyCategoryKey = 'admin' | 'ai' | 'block-templates' | 'communication' | 'confluence-content' | 'data-and-charts' | 'development' | 'embed' | 'external-content' | 'formatting' | 'media' | 'navigation' | 'other' | 'reporting' | 'skills' | 'structure' | 'text-formatting' | 'uncategorized' | 'visuals';
16
16
  export type QuickInsertInformationAttributes = {
17
+ allCategories: CategoryInformation;
17
18
  category: Record<CategoryKey, CategoryInformation>;
18
19
  legacyCategory: Record<LegacyCategoryKey, CategoryInformation>;
19
- allCategories: CategoryInformation;
20
20
  };
21
21
  export type QuickInsertInformationAEP = OperationalAEP<ACTION.QUICK_INSERT_INFORMATION, ACTION_SUBJECT.QUICK_INSERT, undefined, QuickInsertInformationAttributes>;
22
22
  export type QuickInsertInformationEventPayload = QuickInsertInformationAEP;
@@ -1,9 +1,29 @@
1
1
  export declare const ruleMessages: {
2
+ boldGrayDividerColor: {
3
+ defaultMessage: string;
4
+ description: string;
5
+ id: string;
6
+ };
7
+ customDividerColor: {
8
+ defaultMessage: string;
9
+ description: string;
10
+ id: string;
11
+ };
2
12
  dashedDivider: {
3
13
  defaultMessage: string;
4
14
  description: string;
5
15
  id: string;
6
16
  };
17
+ defaultDividerColor: {
18
+ defaultMessage: string;
19
+ description: string;
20
+ id: string;
21
+ };
22
+ dividerColors: {
23
+ defaultMessage: string;
24
+ description: string;
25
+ id: string;
26
+ };
7
27
  dividerFloatingControls: {
8
28
  defaultMessage: string;
9
29
  description: string;
@@ -14,6 +14,10 @@ export declare const MEDIA_SECTION: {
14
14
  readonly key: 'quick-insert-media-section';
15
15
  readonly type: 'menu-section';
16
16
  };
17
+ export declare const CREATE_SECTION: {
18
+ readonly key: 'quick-insert-create-section';
19
+ readonly type: 'menu-section';
20
+ };
17
21
  export declare const EMBED_SECTION: {
18
22
  readonly key: 'quick-insert-embed-section';
19
23
  readonly type: 'menu-section';
@@ -126,6 +130,42 @@ export declare const LOOM_MENU_ITEM: {
126
130
  readonly key: 'quick-insert-loom-menu-item';
127
131
  readonly type: 'menu-item';
128
132
  };
133
+ export declare const JIRA_ISSUE_MENU_ITEM: {
134
+ readonly key: 'com.atlassian.linking-platform.create:linking-platform-create-jira-issue';
135
+ readonly type: 'menu-item';
136
+ };
137
+ export declare const CONFLUENCE_PAGE_MENU_ITEM: {
138
+ readonly key: 'com.atlassian.linking-platform.create:linking-platform-create-confluence-page';
139
+ readonly type: 'menu-item';
140
+ };
141
+ export declare const WHITEBOARD_MENU_ITEM: {
142
+ readonly key: 'whiteboard-extension:create-whiteboard';
143
+ readonly type: 'menu-item';
144
+ };
145
+ export declare const DIAGRAM_MENU_ITEM: {
146
+ readonly key: 'whiteboard-extension:create-diagram';
147
+ readonly type: 'menu-item';
148
+ };
149
+ export declare const FLOWCHART_MENU_ITEM: {
150
+ readonly key: 'whiteboard-extension:create-flowchart';
151
+ readonly type: 'menu-item';
152
+ };
153
+ export declare const BRAINSTORMING_MENU_ITEM: {
154
+ readonly key: 'whiteboard-extension:create-brainstorming';
155
+ readonly type: 'menu-item';
156
+ };
157
+ export declare const RETROSPECTIVE_MENU_ITEM: {
158
+ readonly key: 'whiteboard-extension:create-retrospective';
159
+ readonly type: 'menu-item';
160
+ };
161
+ export declare const ROADMAP_MENU_ITEM: {
162
+ readonly key: 'whiteboard-extension:create-roadmap';
163
+ readonly type: 'menu-item';
164
+ };
165
+ export declare const DATABASE_MENU_ITEM: {
166
+ readonly key: 'database-extension:create-database';
167
+ readonly type: 'menu-item';
168
+ };
129
169
  export declare const MENTION_MENU_ITEM: {
130
170
  readonly key: 'quick-insert-mention-menu-item';
131
171
  readonly type: 'menu-item';
@@ -3,5 +3,5 @@ type Messages<Keys extends string> = Record<Keys, MessageDescriptor & {
3
3
  defaultMessage: string;
4
4
  id: string;
5
5
  }>;
6
- export declare const messages: Messages<'admin' | 'AI' | 'all' | 'browse' | 'categoryBlockTemplates' | 'categoryDataAndCharts' | 'categoryEmbed' | 'categoryMedia' | 'categoryOther' | 'categoryRecommended' | 'categoryRovo' | 'categoryStructure' | 'categoryTextFormatting' | 'previewAttributionBy' | 'previewAttributionAtlassian' | 'previewAttributionAssets' | 'previewAttributionConfluence' | 'previewAttributionJira' | 'previewAttributionJiraServiceManagement' | 'previewAttributionMicrosoft' | 'close' | 'communication' | 'confluence-content' | 'development' | 'external-content' | 'featuredWhiteboardDescription' | 'formatting' | 'help' | 'insert' | 'media' | 'navigation' | 'reporting' | 'visuals'>;
6
+ export declare const messages: Messages<'admin' | 'AI' | 'all' | 'browse' | 'categoryBlockTemplates' | 'categoryCreate' | 'categoryDataAndCharts' | 'categoryEmbed' | 'categoryMedia' | 'categoryOther' | 'categoryRecommended' | 'categoryRovo' | 'categoryStructure' | 'categoryTextFormatting' | 'previewAttributionBy' | 'previewAttributionAtlassian' | 'previewAttributionAssets' | 'previewAttributionConfluence' | 'previewAttributionJira' | 'previewAttributionJiraServiceManagement' | 'previewAttributionMicrosoft' | 'close' | 'communication' | 'confluence-content' | 'development' | 'external-content' | 'featuredWhiteboardDescription' | 'formatting' | 'help' | 'insert' | 'media' | 'navigation' | 'reporting' | 'visuals'>;
7
7
  export {};
@@ -1,6 +1,7 @@
1
1
  export declare const QUICK_INSERT_MENU_RANK: Readonly<Record<string, number>>;
2
2
  export declare const STRUCTURE_SECTION_RANK: Readonly<Record<string, number>>;
3
3
  export declare const MEDIA_SECTION_RANK: Readonly<Record<string, number>>;
4
+ export declare const CREATE_SECTION_RANK: Readonly<Record<string, number>>;
4
5
  export declare const TEXT_FORMATTING_SECTION_RANK: Readonly<Record<string, number>>;
5
6
  export declare const ROVO_SECTION_RANK: Readonly<Record<string, number>>;
6
7
  export declare const DATA_AND_CHARTS_SECTION_RANK: Readonly<Record<string, number>>;
@@ -8,7 +8,7 @@ import type { TooltipProps } from '@atlaskit/tooltip/types';
8
8
  import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
9
9
  import type { DropdownMenuItemProps } from '../floating-toolbar';
10
10
  import type { ProviderFactory } from '../provider-factory';
11
- import type { PaletteColor } from '../ui-color/ColorPalette/Palettes/type';
11
+ import type { PaletteColor, PaletteTooltipMessages } from '../ui-color/ColorPalette/Palettes/type';
12
12
  import type { Command, CommandDispatch } from './command';
13
13
  import type { MarkOptions, NodeOptions } from './copy-button';
14
14
  /**
@@ -18,17 +18,17 @@ export type OverflowDropdownHeading = {
18
18
  title: string;
19
19
  type: 'overflow-dropdown-heading';
20
20
  };
21
- type OverflowDropdownCustom<T extends Object> = {
21
+ type OverflowDropdownCustom<T extends object> = {
22
22
  fallback: Array<FloatingToolbarFallbackItem<T>>;
23
23
  hidden?: boolean;
24
24
  render: (view?: EditorView, dropdownOption?: Omit<DropdownMenuItemProps, 'item'>) => React.ReactNode;
25
25
  type: 'custom';
26
26
  };
27
- export type OverflowDropdownOption<T extends Object> = DropdownOptionT<T> & {
27
+ export type OverflowDropdownOption<T extends object> = DropdownOptionT<T> & {
28
28
  rank?: number;
29
29
  };
30
- export type FloatingToolbarOverflowDropdownOptions<T extends Object> = Array<OverflowDropdownOption<T> | FloatingToolbarSeparator | OverflowDropdownHeading | OverflowDropdownCustom<T>>;
31
- export type FloatingToolbarOverflowDropdown<T extends Object> = {
30
+ export type FloatingToolbarOverflowDropdownOptions<T extends object> = Array<OverflowDropdownOption<T> | FloatingToolbarSeparator | OverflowDropdownHeading | OverflowDropdownCustom<T>>;
31
+ export type FloatingToolbarOverflowDropdown<T extends object> = {
32
32
  alignDropdownWithToolbar?: boolean;
33
33
  disabled?: boolean;
34
34
  dropdownWidth?: number;
@@ -42,11 +42,11 @@ export type FloatingToolbarOverflowDropdown<T extends Object> = {
42
42
  tooltip?: string;
43
43
  type: 'overflow-dropdown';
44
44
  };
45
- export interface RenderOptionsPropsT<T extends Object> {
45
+ export interface RenderOptionsPropsT<T extends object> {
46
46
  dispatchCommand: (command: T) => void;
47
47
  hide: () => void;
48
48
  }
49
- export interface DropdownOptionT<T extends Object> {
49
+ export interface DropdownOptionT<T extends object> {
50
50
  confirmDialog?: ConfirmDialogOptions | (() => ConfirmDialogOptions);
51
51
  description?: string;
52
52
  disabled?: boolean;
@@ -75,12 +75,12 @@ export type typeOption =
75
75
  * @default 'item'
76
76
  */
77
77
  'item' | 'item-checkbox';
78
- export type DropdownOptions<T extends Object> = Array<DropdownOptionT<T>> | {
78
+ export type DropdownOptions<T extends object> = Array<DropdownOptionT<T>> | {
79
79
  height: number;
80
80
  render: (props: RenderOptionsPropsT<T>) => React.ReactElement<any> | null;
81
81
  width: number;
82
82
  };
83
- export interface SelectOption<T extends Object = Object> {
83
+ export interface SelectOption<T extends object = object> {
84
84
  data?: T;
85
85
  disabled?: boolean;
86
86
  hidden?: boolean;
@@ -134,7 +134,7 @@ export type FloatingToolbarCopyButton = {
134
134
  supportsViewMode?: boolean;
135
135
  type: 'copy-button';
136
136
  };
137
- export type FloatingToolbarButton<T extends Object> = {
137
+ export type FloatingToolbarButton<T extends object> = {
138
138
  appearance?: ButtonAppearance;
139
139
  ariaHasPopup?: boolean | 'dialog' | 'menu' | 'listbox' | 'tree' | 'grid' | undefined;
140
140
  ariaLabel?: string;
@@ -173,7 +173,7 @@ export type FloatingToolbarButton<T extends Object> = {
173
173
  tooltipContent?: TooltipProps['content'];
174
174
  type: 'button';
175
175
  };
176
- export type FloatingToolbarInput<T extends Object> = {
176
+ export type FloatingToolbarInput<T extends object> = {
177
177
  defaultValue?: string;
178
178
  description?: string;
179
179
  hidden?: boolean;
@@ -214,7 +214,7 @@ export type FloatingToolbarCustomRenderContext = {
214
214
  */
215
215
  setDisableParentScroll?: (disabled: boolean) => void;
216
216
  };
217
- export type FloatingToolbarCustom<T extends Object> = {
217
+ export type FloatingToolbarCustom<T extends object> = {
218
218
  /**
219
219
  * By default -- the floating toolbar supports navigating between
220
220
  * items using arrow keys (to meet aria guidelines).
@@ -232,7 +232,7 @@ export type FloatingToolbarCustom<T extends Object> = {
232
232
  supportsViewMode?: boolean;
233
233
  type: 'custom';
234
234
  };
235
- type FloatingToolbarSelectBase<T extends Object, V = SelectOption> = {
235
+ type FloatingToolbarSelectBase<T extends object, V = SelectOption> = {
236
236
  defaultValue?: V | null;
237
237
  filterOption?: ((option: V, rawInput: string) => boolean) | null;
238
238
  hidden?: boolean;
@@ -247,23 +247,25 @@ type FloatingToolbarSelectBase<T extends Object, V = SelectOption> = {
247
247
  title?: string;
248
248
  type: 'select';
249
249
  };
250
- export type FloatingToolbarListPicker<T extends Object> = FloatingToolbarSelectBase<T> & {
250
+ export type FloatingToolbarListPicker<T extends object> = FloatingToolbarSelectBase<T> & {
251
251
  selectType: 'list';
252
252
  };
253
- export type FloatingToolbarColorPicker<T extends Object> = FloatingToolbarSelectBase<T, PaletteColor> & {
253
+ export type FloatingToolbarColorPicker<T extends object> = FloatingToolbarSelectBase<T, PaletteColor> & {
254
254
  cols?: number;
255
+ hexToPaletteColor?: (hexColor: string) => string | undefined;
256
+ paletteColorTooltipMessages?: PaletteTooltipMessages;
255
257
  selectType: 'color';
256
258
  };
257
- export type FloatingToolbarEmojiPicker<T extends Object> = FloatingToolbarSelectBase<T, EmojiId> & {
259
+ export type FloatingToolbarEmojiPicker<T extends object> = FloatingToolbarSelectBase<T, EmojiId> & {
258
260
  options: never[];
259
261
  selected?: boolean;
260
262
  selectType: 'emoji';
261
263
  };
262
- export type FloatingToolbarDatePicker<T extends Object> = FloatingToolbarSelectBase<T, number> & {
264
+ export type FloatingToolbarDatePicker<T extends object> = FloatingToolbarSelectBase<T, number> & {
263
265
  options: never[];
264
266
  selectType: 'date';
265
267
  };
266
- export type FloatingToolbarSelect<T extends Object> = FloatingToolbarEmojiPicker<T> | FloatingToolbarColorPicker<T> | FloatingToolbarListPicker<T> | FloatingToolbarDatePicker<T>;
268
+ export type FloatingToolbarSelect<T extends object> = FloatingToolbarEmojiPicker<T> | FloatingToolbarColorPicker<T> | FloatingToolbarListPicker<T> | FloatingToolbarDatePicker<T>;
267
269
  export type FloatingToolbarSeparator = {
268
270
  fullHeight?: boolean;
269
271
  hidden?: boolean;
@@ -271,7 +273,7 @@ export type FloatingToolbarSeparator = {
271
273
  type: 'separator';
272
274
  };
273
275
  export type ExtensionDropdownOptions = () => DropdownOptions<Function>;
274
- export type FloatingToolbarDropdown<T extends Object> = {
276
+ export type FloatingToolbarDropdown<T extends object> = {
275
277
  alignDropdownWithToolbar?: boolean;
276
278
  disabled?: boolean;
277
279
  dropdownWidth?: number;
@@ -311,8 +313,8 @@ type FloatingToolbarExtensionsPlaceholder = {
311
313
  * This type is restricted with the items that can be used for fallback.
312
314
  * Make sure that this type is not a FloatingToolbarCustom type.
313
315
  */
314
- export type FloatingToolbarFallbackItem<T extends Object> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarSeparator;
315
- export type FloatingToolbarItem<T extends Object> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarCustom<T> | FloatingToolbarSeparator | FloatingToolbarExtensionsPlaceholder | FloatingToolbarOverflowDropdown<T>;
316
+ export type FloatingToolbarFallbackItem<T extends object> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarSeparator;
317
+ export type FloatingToolbarItem<T extends object> = FloatingToolbarButton<T> | FloatingToolbarCopyButton | FloatingToolbarDropdown<T> | FloatingToolbarSelect<T> | FloatingToolbarInput<T> | FloatingToolbarCustom<T> | FloatingToolbarSeparator | FloatingToolbarExtensionsPlaceholder | FloatingToolbarOverflowDropdown<T>;
316
318
  export interface FloatingToolbarConfig {
317
319
  /**
318
320
  * @deprecated To suppress visibility of toolbars, set user intent state in userIntentPlugin instead.
@@ -14,6 +14,7 @@ declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<{
14
14
  cols?: number;
15
15
  currentColor?: string;
16
16
  hexToPaletteColor?: (hexColor: string) => string | undefined;
17
+ hideExpandIcon?: boolean;
17
18
  isAriaExpanded?: boolean;
18
19
  mountPoint?: HTMLElement;
19
20
  onChange?: (color: PaletteColor) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "126.4.3",
3
+ "version": "127.0.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/"
@@ -54,8 +54,8 @@
54
54
  "@atlaskit/feature-gate-js-client": "^7.0.0",
55
55
  "@atlaskit/icon": "^38.0.0",
56
56
  "@atlaskit/link": "^5.1.0",
57
- "@atlaskit/link-datasource": "^7.0.0",
58
- "@atlaskit/link-picker": "^6.9.0",
57
+ "@atlaskit/link-datasource": "^7.1.0",
58
+ "@atlaskit/link-picker": "^6.10.0",
59
59
  "@atlaskit/logo": "^23.3.0",
60
60
  "@atlaskit/media-card": "^82.1.0",
61
61
  "@atlaskit/media-client": "^39.0.0",
@@ -79,13 +79,13 @@
79
79
  "@atlaskit/react-compiler-gating": "^0.2.0",
80
80
  "@atlaskit/react-ufo": "^8.0.0",
81
81
  "@atlaskit/section-message": "^10.2.0",
82
- "@atlaskit/smart-card": "^46.1.0",
83
- "@atlaskit/smart-user-picker": "^12.0.0",
82
+ "@atlaskit/smart-card": "^46.2.0",
83
+ "@atlaskit/smart-user-picker": "^12.1.0",
84
84
  "@atlaskit/spinner": "^20.4.0",
85
85
  "@atlaskit/task-decision": "^21.11.0",
86
86
  "@atlaskit/teams-app-config": "^3.1.0",
87
87
  "@atlaskit/textfield": "^10.2.0",
88
- "@atlaskit/tmp-editor-statsig": "^218.0.0",
88
+ "@atlaskit/tmp-editor-statsig": "^219.0.0",
89
89
  "@atlaskit/tokens": "^20.1.0",
90
90
  "@atlaskit/tooltip": "^24.3.0",
91
91
  "@atlaskit/width-detector": "^7.2.0",
@@ -160,10 +160,6 @@
160
160
  "platform_editor_ai_show_diff_patch_2": {
161
161
  "type": "boolean"
162
162
  },
163
- "platform_editor_blocks_patch_7": {
164
- "type": "boolean",
165
- "referenceOnly": true
166
- },
167
163
  "platform_editor_nested_mbe_frames": {
168
164
  "type": "boolean"
169
165
  },