@atlaskit/editor-common 102.14.0 → 102.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 102.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 102.15.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#133497](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133497)
14
+ [`dccd8bcdef0a3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dccd8bcdef0a3) -
15
+ [ED-23460] Adding the objectId, containerId and childObjectId to the mention typeahead inserted
16
+ events
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 102.14.0
4
23
 
5
24
  ### Minor Changes
@@ -58,122 +58,6 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntlNext.def
58
58
  defaultMessage: 'Open in Chat',
59
59
  description: 'Tooltip and label for Open in Chat button'
60
60
  },
61
- // Advanced prompt messages
62
- advancedPromptTitle: {
63
- id: 'fabric.editor.ai.config.item.advancedPrompt.title',
64
- defaultMessage: 'Build an advanced prompt',
65
- description: 'Describes an option to use Atlassian Intelligence to show a more advanced prompt'
66
- },
67
- advancedPromptDescription: {
68
- id: 'fabric.editor.ai.config.item.advancedPrompt.description',
69
- defaultMessage: 'Specify task, instructions and rules',
70
- description: 'Description for the the Atlassian Intelligence "Build an advanced prompt".'
71
- },
72
- advancedPromptLabel: {
73
- id: 'fabric.editor.ai.config.item.advancedPrompt.promptLabel',
74
- defaultMessage: 'Build an advanced prompt',
75
- description: 'Label text in the prompt input.'
76
- },
77
- advancedPromptTaskLabel: {
78
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.label',
79
- defaultMessage: 'Task',
80
- description: 'Label for the Task input in the prompt builder.'
81
- },
82
- advancedPromptTaskPlaceholder: {
83
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.placeholder',
84
- defaultMessage: 'Describe the task that needs completing.',
85
- description: 'Placeholder for the Task input in the prompt builder.'
86
- },
87
- advancedPromptTaskHelperMessage: {
88
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.helperMessage',
89
- defaultMessage: 'For example: Create an onboarding documentation for new employees joining the team.',
90
- description: 'Helper message for the Task input in the prompt builder.'
91
- },
92
- advancedPromptTaskRequired: {
93
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.error.required',
94
- defaultMessage: 'Please provide task',
95
- description: 'Error message for the Task input in the prompt builder.'
96
- },
97
- advancedPromptInstructionsLabel: {
98
- id: 'fabric.editor.ai.config.item.advanced-prompt.form.instructions.label',
99
- defaultMessage: 'Instructions',
100
- description: 'Label for the Instructions input in the prompt builder.'
101
- },
102
- advancedPromptInstructionsPlaceholder: {
103
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.placeholder',
104
- defaultMessage: 'Provide task instructions to help generate specific outputs.',
105
- description: 'Placeholder for the Instructions input in the prompt builder.'
106
- },
107
- advancedPromptInstructionsHelperMessage: {
108
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.helperMessage',
109
- defaultMessage: 'For example: 1. Start the document with a brief overview of our company goals. 2. Create a list of key team members to meet in their first week.',
110
- description: 'Helper message for the Instructions input in the prompt builder.'
111
- },
112
- advancedPromptRulesLabel: {
113
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.label',
114
- defaultMessage: 'Rules',
115
- description: 'Label for the Rules input in the prompt builder.'
116
- },
117
- advancedPromptRulesPlaceholder: {
118
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.placeholder',
119
- defaultMessage: 'Outline any rules you want followed.',
120
- description: 'Placeholder for the Rules input in the prompt builder.'
121
- },
122
- advancedPromptRulesHelperMessage: {
123
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.helperMessage',
124
- defaultMessage: 'For example: The output must follow the company style guidelines and not use unverified data.',
125
- description: 'Helper message for the Rules input in the prompt builder.'
126
- },
127
- advancedPromptToneLabel: {
128
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.label',
129
- defaultMessage: 'Tone',
130
- description: 'Label for the Tone input in the prompt builder.'
131
- },
132
- advancedPromptToneProfessional: {
133
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.professional',
134
- defaultMessage: 'Professional',
135
- description: 'Option for the Tone input in the prompt builder.'
136
- },
137
- advancedPromptToneEmpathetic: {
138
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.empathetic',
139
- defaultMessage: 'Empathetic',
140
- description: 'Option for the Tone input in the prompt builder.'
141
- },
142
- advancedPromptToneCasual: {
143
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.casual',
144
- defaultMessage: 'Casual',
145
- description: 'Option for the Tone input in the prompt builder.'
146
- },
147
- advancedPromptToneNeutral: {
148
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.neutral',
149
- defaultMessage: 'Neutral',
150
- description: 'Option for the Tone input in the prompt builder.'
151
- },
152
- advancedPromptToneEducational: {
153
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.educational',
154
- defaultMessage: 'Educational',
155
- description: 'Option for the Tone input in the prompt builder.'
156
- },
157
- advancedPromptCreativityLabel: {
158
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.label',
159
- defaultMessage: 'Creativity',
160
- description: 'Label for the Creativity input in the prompt builder.'
161
- },
162
- advancedPromptCreativityLow: {
163
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.low',
164
- defaultMessage: 'Low',
165
- description: 'Option for the Creativity input in the prompt builder.'
166
- },
167
- advancedPromptCreativityMedium: {
168
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.medium',
169
- defaultMessage: 'Medium',
170
- description: 'Option for the Creativity input in the prompt builder.'
171
- },
172
- advancedPromptCreativityHigh: {
173
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.high',
174
- defaultMessage: 'High',
175
- description: 'Option for the Creativity input in the prompt builder.'
176
- },
177
61
  // Atlas shorten update messages
178
62
  atlasShortenUpdatetitle: {
179
63
  id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
@@ -33,6 +33,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
33
33
  ACTION["CLICKED"] = "clicked";
34
34
  ACTION["CLOSED"] = "closed";
35
35
  ACTION["COMMITTED"] = "committed";
36
+ /** used in @atlassian/editor-referentiality */
36
37
  ACTION["CONNECTED_NODES"] = "connectedNodes";
37
38
  ACTION["CONVERTED"] = "converted";
38
39
  ACTION["COPIED"] = "copied";
@@ -41,7 +42,9 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
41
42
  ACTION["DECREMENTED"] = "decremented";
42
43
  ACTION["DELETED"] = "deleted";
43
44
  ACTION["DISCARDED_INVALID_STEPS_FROM_TRANSACTION"] = "discardedInvalidStepsFromTransaction";
45
+ /** used in @atlassian/editor-referentiality */
44
46
  ACTION["DISCONNECTED_SOURCE"] = "disconnectedSource";
47
+ /** used in @atlassian/editor-referentiality */
45
48
  ACTION["DISCONNECTED_TARGET"] = "disconnectedTarget";
46
49
  ACTION["DISMISSED"] = "dismissed";
47
50
  ACTION["DISPATCHED_INVALID_TRANSACTION"] = "dispatchedInvalidTransaction";
@@ -71,6 +74,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
71
74
  ACTION["INDENTED"] = "indented";
72
75
  ACTION["INITIALISED"] = "initialised";
73
76
  ACTION["INITIATED"] = "initiated";
77
+ /** used in @atlassian/editor-referentiality */
74
78
  ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
75
79
  ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
76
80
  ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
@@ -81,6 +85,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
81
85
  ACTION["INSERTED"] = "inserted";
82
86
  ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
83
87
  ACTION["INVOKED"] = "invoked";
88
+ /** used in @atlassian/editor-referentiality */
84
89
  ACTION["GOT_CONNECTIONS"] = "gotConnections";
85
90
  ACTION["LANGUAGE_SELECTED"] = "languageSelected";
86
91
  ACTION["LIST_ITEM_JOINED"] = "listItemJoined";
@@ -125,8 +130,11 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
125
130
  ACTION["UNLINK"] = "unlinked";
126
131
  ACTION["UNSUPPORTED_CONTENT_ENCOUNTERED"] = "unsupportedContentEncounteredV2";
127
132
  ACTION["UPDATED"] = "updated";
133
+ /** used in @atlassian/editor-referentiality */
128
134
  ACTION["UPDATED_FRAGMENT_MARK_NAME"] = "updatedFragmentMarkName";
135
+ /** used in @atlassian/editor-referentiality */
129
136
  ACTION["UPDATED_SOURCE"] = "updatedSource";
137
+ /** used in @atlassian/editor-referentiality */
130
138
  ACTION["UPDATED_TARGET"] = "updatedTarget";
131
139
  ACTION["UPLOAD_EXTERNAL_FAIL"] = "uploadExternalFailed";
132
140
  ACTION["VIEWED"] = "viewed";
@@ -134,6 +142,12 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
134
142
  ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
135
143
  ACTION["RENDERED"] = "rendered";
136
144
  ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
145
+ /**
146
+ * @private
147
+ * @deprecated
148
+ *
149
+ * This is no longer used and can be removed at a later date
150
+ */
137
151
  ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
138
152
  ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
139
153
  ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
@@ -169,6 +183,11 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
169
183
  ACTION["RESIZED"] = "resized";
170
184
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
171
185
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
186
+ /**
187
+ * used in Editor AI inline suggestion for a track event when a suggestion is inserted
188
+ * previously tracked events being used by Editor AI proactive suggestion
189
+ *
190
+ */
172
191
  ACTION["SUGGESTION_INSERTED"] = "suggestionInserted";
173
192
  ACTION["SUGGESTION_DISMISSED"] = "suggestionDismissed";
174
193
  ACTION["SUGGESTION_VIEWED"] = "suggestionViewed";
@@ -220,7 +239,9 @@ var INSERT_MEDIA_VIA = exports.INSERT_MEDIA_VIA = /*#__PURE__*/function (INSERT_
220
239
  var TRIGGER_METHOD = exports.TRIGGER_METHOD = /*#__PURE__*/function (TRIGGER_METHOD) {
221
240
  TRIGGER_METHOD["BUTTON"] = "button";
222
241
  TRIGGER_METHOD["KEYBOARD"] = "keyboard";
242
+ // single key, e.g. Esc, Enter
223
243
  TRIGGER_METHOD["SHORTCUT"] = "shortcut";
244
+ // combination of keys, e.g. Mod + F
224
245
  TRIGGER_METHOD["TOOLBAR"] = "toolbar";
225
246
  TRIGGER_METHOD["EXTERNAL"] = "external";
226
247
  return TRIGGER_METHOD;
@@ -35,9 +35,14 @@ var TABLE_ACTION = exports.TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
35
35
  TABLE_ACTION["MOVED_COLUMN"] = "movedColumn";
36
36
  TABLE_ACTION["CLONED_ROW"] = "clonedRow";
37
37
  TABLE_ACTION["CLONED_COLUMN"] = "clonedColumn";
38
+ /**
39
+ * This is a unique action that's used to track legacy table move behaviour flow of insert+copy+paste. Please use
40
+ * the MOVED_ROW | MOVED_COLUMN actions if you want to track events which move row/cols in a single step.
41
+ */
38
42
  TABLE_ACTION["ROW_OR_COLUMN_MOVED"] = "rowOrColumnMoved";
39
43
  TABLE_ACTION["CHANGED_DISPLAY_MODE"] = "changedDisplayMode";
40
44
  TABLE_ACTION["CHANGED_ALIGNMENT"] = "changedAlignment";
45
+ // Temporary to track usage of CONFCLOUD-78239 bug
41
46
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
42
47
  return TABLE_ACTION;
43
48
  }({});
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "102.14.0";
20
+ var packageVersion = "102.15.1";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "102.14.0";
26
+ var packageVersion = "102.15.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -52,122 +52,6 @@ export const aiConfigItemMessages = defineMessages({
52
52
  defaultMessage: 'Open in Chat',
53
53
  description: 'Tooltip and label for Open in Chat button'
54
54
  },
55
- // Advanced prompt messages
56
- advancedPromptTitle: {
57
- id: 'fabric.editor.ai.config.item.advancedPrompt.title',
58
- defaultMessage: 'Build an advanced prompt',
59
- description: 'Describes an option to use Atlassian Intelligence to show a more advanced prompt'
60
- },
61
- advancedPromptDescription: {
62
- id: 'fabric.editor.ai.config.item.advancedPrompt.description',
63
- defaultMessage: 'Specify task, instructions and rules',
64
- description: 'Description for the the Atlassian Intelligence "Build an advanced prompt".'
65
- },
66
- advancedPromptLabel: {
67
- id: 'fabric.editor.ai.config.item.advancedPrompt.promptLabel',
68
- defaultMessage: 'Build an advanced prompt',
69
- description: 'Label text in the prompt input.'
70
- },
71
- advancedPromptTaskLabel: {
72
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.label',
73
- defaultMessage: 'Task',
74
- description: 'Label for the Task input in the prompt builder.'
75
- },
76
- advancedPromptTaskPlaceholder: {
77
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.placeholder',
78
- defaultMessage: 'Describe the task that needs completing.',
79
- description: 'Placeholder for the Task input in the prompt builder.'
80
- },
81
- advancedPromptTaskHelperMessage: {
82
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.helperMessage',
83
- defaultMessage: 'For example: Create an onboarding documentation for new employees joining the team.',
84
- description: 'Helper message for the Task input in the prompt builder.'
85
- },
86
- advancedPromptTaskRequired: {
87
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.error.required',
88
- defaultMessage: 'Please provide task',
89
- description: 'Error message for the Task input in the prompt builder.'
90
- },
91
- advancedPromptInstructionsLabel: {
92
- id: 'fabric.editor.ai.config.item.advanced-prompt.form.instructions.label',
93
- defaultMessage: 'Instructions',
94
- description: 'Label for the Instructions input in the prompt builder.'
95
- },
96
- advancedPromptInstructionsPlaceholder: {
97
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.placeholder',
98
- defaultMessage: 'Provide task instructions to help generate specific outputs.',
99
- description: 'Placeholder for the Instructions input in the prompt builder.'
100
- },
101
- advancedPromptInstructionsHelperMessage: {
102
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.helperMessage',
103
- defaultMessage: 'For example: 1. Start the document with a brief overview of our company goals. 2. Create a list of key team members to meet in their first week.',
104
- description: 'Helper message for the Instructions input in the prompt builder.'
105
- },
106
- advancedPromptRulesLabel: {
107
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.label',
108
- defaultMessage: 'Rules',
109
- description: 'Label for the Rules input in the prompt builder.'
110
- },
111
- advancedPromptRulesPlaceholder: {
112
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.placeholder',
113
- defaultMessage: 'Outline any rules you want followed.',
114
- description: 'Placeholder for the Rules input in the prompt builder.'
115
- },
116
- advancedPromptRulesHelperMessage: {
117
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.helperMessage',
118
- defaultMessage: 'For example: The output must follow the company style guidelines and not use unverified data.',
119
- description: 'Helper message for the Rules input in the prompt builder.'
120
- },
121
- advancedPromptToneLabel: {
122
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.label',
123
- defaultMessage: 'Tone',
124
- description: 'Label for the Tone input in the prompt builder.'
125
- },
126
- advancedPromptToneProfessional: {
127
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.professional',
128
- defaultMessage: 'Professional',
129
- description: 'Option for the Tone input in the prompt builder.'
130
- },
131
- advancedPromptToneEmpathetic: {
132
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.empathetic',
133
- defaultMessage: 'Empathetic',
134
- description: 'Option for the Tone input in the prompt builder.'
135
- },
136
- advancedPromptToneCasual: {
137
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.casual',
138
- defaultMessage: 'Casual',
139
- description: 'Option for the Tone input in the prompt builder.'
140
- },
141
- advancedPromptToneNeutral: {
142
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.neutral',
143
- defaultMessage: 'Neutral',
144
- description: 'Option for the Tone input in the prompt builder.'
145
- },
146
- advancedPromptToneEducational: {
147
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.educational',
148
- defaultMessage: 'Educational',
149
- description: 'Option for the Tone input in the prompt builder.'
150
- },
151
- advancedPromptCreativityLabel: {
152
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.label',
153
- defaultMessage: 'Creativity',
154
- description: 'Label for the Creativity input in the prompt builder.'
155
- },
156
- advancedPromptCreativityLow: {
157
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.low',
158
- defaultMessage: 'Low',
159
- description: 'Option for the Creativity input in the prompt builder.'
160
- },
161
- advancedPromptCreativityMedium: {
162
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.medium',
163
- defaultMessage: 'Medium',
164
- description: 'Option for the Creativity input in the prompt builder.'
165
- },
166
- advancedPromptCreativityHigh: {
167
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.high',
168
- defaultMessage: 'High',
169
- description: 'Option for the Creativity input in the prompt builder.'
170
- },
171
55
  // Atlas shorten update messages
172
56
  atlasShortenUpdatetitle: {
173
57
  id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
@@ -27,6 +27,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
27
27
  ACTION["CLICKED"] = "clicked";
28
28
  ACTION["CLOSED"] = "closed";
29
29
  ACTION["COMMITTED"] = "committed";
30
+ /** used in @atlassian/editor-referentiality */
30
31
  ACTION["CONNECTED_NODES"] = "connectedNodes";
31
32
  ACTION["CONVERTED"] = "converted";
32
33
  ACTION["COPIED"] = "copied";
@@ -35,7 +36,9 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
35
36
  ACTION["DECREMENTED"] = "decremented";
36
37
  ACTION["DELETED"] = "deleted";
37
38
  ACTION["DISCARDED_INVALID_STEPS_FROM_TRANSACTION"] = "discardedInvalidStepsFromTransaction";
39
+ /** used in @atlassian/editor-referentiality */
38
40
  ACTION["DISCONNECTED_SOURCE"] = "disconnectedSource";
41
+ /** used in @atlassian/editor-referentiality */
39
42
  ACTION["DISCONNECTED_TARGET"] = "disconnectedTarget";
40
43
  ACTION["DISMISSED"] = "dismissed";
41
44
  ACTION["DISPATCHED_INVALID_TRANSACTION"] = "dispatchedInvalidTransaction";
@@ -65,6 +68,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
65
68
  ACTION["INDENTED"] = "indented";
66
69
  ACTION["INITIALISED"] = "initialised";
67
70
  ACTION["INITIATED"] = "initiated";
71
+ /** used in @atlassian/editor-referentiality */
68
72
  ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
69
73
  ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
70
74
  ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
@@ -75,6 +79,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
75
79
  ACTION["INSERTED"] = "inserted";
76
80
  ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
77
81
  ACTION["INVOKED"] = "invoked";
82
+ /** used in @atlassian/editor-referentiality */
78
83
  ACTION["GOT_CONNECTIONS"] = "gotConnections";
79
84
  ACTION["LANGUAGE_SELECTED"] = "languageSelected";
80
85
  ACTION["LIST_ITEM_JOINED"] = "listItemJoined";
@@ -119,8 +124,11 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
119
124
  ACTION["UNLINK"] = "unlinked";
120
125
  ACTION["UNSUPPORTED_CONTENT_ENCOUNTERED"] = "unsupportedContentEncounteredV2";
121
126
  ACTION["UPDATED"] = "updated";
127
+ /** used in @atlassian/editor-referentiality */
122
128
  ACTION["UPDATED_FRAGMENT_MARK_NAME"] = "updatedFragmentMarkName";
129
+ /** used in @atlassian/editor-referentiality */
123
130
  ACTION["UPDATED_SOURCE"] = "updatedSource";
131
+ /** used in @atlassian/editor-referentiality */
124
132
  ACTION["UPDATED_TARGET"] = "updatedTarget";
125
133
  ACTION["UPLOAD_EXTERNAL_FAIL"] = "uploadExternalFailed";
126
134
  ACTION["VIEWED"] = "viewed";
@@ -128,6 +136,12 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
128
136
  ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
129
137
  ACTION["RENDERED"] = "rendered";
130
138
  ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
139
+ /**
140
+ * @private
141
+ * @deprecated
142
+ *
143
+ * This is no longer used and can be removed at a later date
144
+ */
131
145
  ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
132
146
  ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
133
147
  ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
@@ -163,6 +177,11 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
163
177
  ACTION["RESIZED"] = "resized";
164
178
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
165
179
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
180
+ /**
181
+ * used in Editor AI inline suggestion for a track event when a suggestion is inserted
182
+ * previously tracked events being used by Editor AI proactive suggestion
183
+ *
184
+ */
166
185
  ACTION["SUGGESTION_INSERTED"] = "suggestionInserted";
167
186
  ACTION["SUGGESTION_DISMISSED"] = "suggestionDismissed";
168
187
  ACTION["SUGGESTION_VIEWED"] = "suggestionViewed";
@@ -214,7 +233,9 @@ export let INSERT_MEDIA_VIA = /*#__PURE__*/function (INSERT_MEDIA_VIA) {
214
233
  export let TRIGGER_METHOD = /*#__PURE__*/function (TRIGGER_METHOD) {
215
234
  TRIGGER_METHOD["BUTTON"] = "button";
216
235
  TRIGGER_METHOD["KEYBOARD"] = "keyboard";
236
+ // single key, e.g. Esc, Enter
217
237
  TRIGGER_METHOD["SHORTCUT"] = "shortcut";
238
+ // combination of keys, e.g. Mod + F
218
239
  TRIGGER_METHOD["TOOLBAR"] = "toolbar";
219
240
  TRIGGER_METHOD["EXTERNAL"] = "external";
220
241
  return TRIGGER_METHOD;
@@ -29,9 +29,14 @@ export let TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
29
29
  TABLE_ACTION["MOVED_COLUMN"] = "movedColumn";
30
30
  TABLE_ACTION["CLONED_ROW"] = "clonedRow";
31
31
  TABLE_ACTION["CLONED_COLUMN"] = "clonedColumn";
32
+ /**
33
+ * This is a unique action that's used to track legacy table move behaviour flow of insert+copy+paste. Please use
34
+ * the MOVED_ROW | MOVED_COLUMN actions if you want to track events which move row/cols in a single step.
35
+ */
32
36
  TABLE_ACTION["ROW_OR_COLUMN_MOVED"] = "rowOrColumnMoved";
33
37
  TABLE_ACTION["CHANGED_DISPLAY_MODE"] = "changedDisplayMode";
34
38
  TABLE_ACTION["CHANGED_ALIGNMENT"] = "changedAlignment";
39
+ // Temporary to track usage of CONFCLOUD-78239 bug
35
40
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
36
41
  return TABLE_ACTION;
37
42
  }({});
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "102.14.0";
4
+ const packageVersion = "102.15.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "102.14.0";
16
+ const packageVersion = "102.15.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -52,122 +52,6 @@ export var aiConfigItemMessages = defineMessages({
52
52
  defaultMessage: 'Open in Chat',
53
53
  description: 'Tooltip and label for Open in Chat button'
54
54
  },
55
- // Advanced prompt messages
56
- advancedPromptTitle: {
57
- id: 'fabric.editor.ai.config.item.advancedPrompt.title',
58
- defaultMessage: 'Build an advanced prompt',
59
- description: 'Describes an option to use Atlassian Intelligence to show a more advanced prompt'
60
- },
61
- advancedPromptDescription: {
62
- id: 'fabric.editor.ai.config.item.advancedPrompt.description',
63
- defaultMessage: 'Specify task, instructions and rules',
64
- description: 'Description for the the Atlassian Intelligence "Build an advanced prompt".'
65
- },
66
- advancedPromptLabel: {
67
- id: 'fabric.editor.ai.config.item.advancedPrompt.promptLabel',
68
- defaultMessage: 'Build an advanced prompt',
69
- description: 'Label text in the prompt input.'
70
- },
71
- advancedPromptTaskLabel: {
72
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.label',
73
- defaultMessage: 'Task',
74
- description: 'Label for the Task input in the prompt builder.'
75
- },
76
- advancedPromptTaskPlaceholder: {
77
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.placeholder',
78
- defaultMessage: 'Describe the task that needs completing.',
79
- description: 'Placeholder for the Task input in the prompt builder.'
80
- },
81
- advancedPromptTaskHelperMessage: {
82
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.helperMessage',
83
- defaultMessage: 'For example: Create an onboarding documentation for new employees joining the team.',
84
- description: 'Helper message for the Task input in the prompt builder.'
85
- },
86
- advancedPromptTaskRequired: {
87
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.task.error.required',
88
- defaultMessage: 'Please provide task',
89
- description: 'Error message for the Task input in the prompt builder.'
90
- },
91
- advancedPromptInstructionsLabel: {
92
- id: 'fabric.editor.ai.config.item.advanced-prompt.form.instructions.label',
93
- defaultMessage: 'Instructions',
94
- description: 'Label for the Instructions input in the prompt builder.'
95
- },
96
- advancedPromptInstructionsPlaceholder: {
97
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.placeholder',
98
- defaultMessage: 'Provide task instructions to help generate specific outputs.',
99
- description: 'Placeholder for the Instructions input in the prompt builder.'
100
- },
101
- advancedPromptInstructionsHelperMessage: {
102
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.instructions.helperMessage',
103
- defaultMessage: 'For example: 1. Start the document with a brief overview of our company goals. 2. Create a list of key team members to meet in their first week.',
104
- description: 'Helper message for the Instructions input in the prompt builder.'
105
- },
106
- advancedPromptRulesLabel: {
107
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.label',
108
- defaultMessage: 'Rules',
109
- description: 'Label for the Rules input in the prompt builder.'
110
- },
111
- advancedPromptRulesPlaceholder: {
112
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.placeholder',
113
- defaultMessage: 'Outline any rules you want followed.',
114
- description: 'Placeholder for the Rules input in the prompt builder.'
115
- },
116
- advancedPromptRulesHelperMessage: {
117
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.rules.helperMessage',
118
- defaultMessage: 'For example: The output must follow the company style guidelines and not use unverified data.',
119
- description: 'Helper message for the Rules input in the prompt builder.'
120
- },
121
- advancedPromptToneLabel: {
122
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.label',
123
- defaultMessage: 'Tone',
124
- description: 'Label for the Tone input in the prompt builder.'
125
- },
126
- advancedPromptToneProfessional: {
127
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.professional',
128
- defaultMessage: 'Professional',
129
- description: 'Option for the Tone input in the prompt builder.'
130
- },
131
- advancedPromptToneEmpathetic: {
132
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.empathetic',
133
- defaultMessage: 'Empathetic',
134
- description: 'Option for the Tone input in the prompt builder.'
135
- },
136
- advancedPromptToneCasual: {
137
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.casual',
138
- defaultMessage: 'Casual',
139
- description: 'Option for the Tone input in the prompt builder.'
140
- },
141
- advancedPromptToneNeutral: {
142
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.neutral',
143
- defaultMessage: 'Neutral',
144
- description: 'Option for the Tone input in the prompt builder.'
145
- },
146
- advancedPromptToneEducational: {
147
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.tone.option.educational',
148
- defaultMessage: 'Educational',
149
- description: 'Option for the Tone input in the prompt builder.'
150
- },
151
- advancedPromptCreativityLabel: {
152
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.label',
153
- defaultMessage: 'Creativity',
154
- description: 'Label for the Creativity input in the prompt builder.'
155
- },
156
- advancedPromptCreativityLow: {
157
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.low',
158
- defaultMessage: 'Low',
159
- description: 'Option for the Creativity input in the prompt builder.'
160
- },
161
- advancedPromptCreativityMedium: {
162
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.medium',
163
- defaultMessage: 'Medium',
164
- description: 'Option for the Creativity input in the prompt builder.'
165
- },
166
- advancedPromptCreativityHigh: {
167
- id: 'fabric.editor.ai.config.item.advancedPrompt.form.creativity.option.high',
168
- defaultMessage: 'High',
169
- description: 'Option for the Creativity input in the prompt builder.'
170
- },
171
55
  // Atlas shorten update messages
172
56
  atlasShortenUpdatetitle: {
173
57
  id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
@@ -27,6 +27,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
27
27
  ACTION["CLICKED"] = "clicked";
28
28
  ACTION["CLOSED"] = "closed";
29
29
  ACTION["COMMITTED"] = "committed";
30
+ /** used in @atlassian/editor-referentiality */
30
31
  ACTION["CONNECTED_NODES"] = "connectedNodes";
31
32
  ACTION["CONVERTED"] = "converted";
32
33
  ACTION["COPIED"] = "copied";
@@ -35,7 +36,9 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
35
36
  ACTION["DECREMENTED"] = "decremented";
36
37
  ACTION["DELETED"] = "deleted";
37
38
  ACTION["DISCARDED_INVALID_STEPS_FROM_TRANSACTION"] = "discardedInvalidStepsFromTransaction";
39
+ /** used in @atlassian/editor-referentiality */
38
40
  ACTION["DISCONNECTED_SOURCE"] = "disconnectedSource";
41
+ /** used in @atlassian/editor-referentiality */
39
42
  ACTION["DISCONNECTED_TARGET"] = "disconnectedTarget";
40
43
  ACTION["DISMISSED"] = "dismissed";
41
44
  ACTION["DISPATCHED_INVALID_TRANSACTION"] = "dispatchedInvalidTransaction";
@@ -65,6 +68,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
65
68
  ACTION["INDENTED"] = "indented";
66
69
  ACTION["INITIALISED"] = "initialised";
67
70
  ACTION["INITIATED"] = "initiated";
71
+ /** used in @atlassian/editor-referentiality */
68
72
  ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
69
73
  ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
70
74
  ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
@@ -75,6 +79,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
75
79
  ACTION["INSERTED"] = "inserted";
76
80
  ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
77
81
  ACTION["INVOKED"] = "invoked";
82
+ /** used in @atlassian/editor-referentiality */
78
83
  ACTION["GOT_CONNECTIONS"] = "gotConnections";
79
84
  ACTION["LANGUAGE_SELECTED"] = "languageSelected";
80
85
  ACTION["LIST_ITEM_JOINED"] = "listItemJoined";
@@ -119,8 +124,11 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
119
124
  ACTION["UNLINK"] = "unlinked";
120
125
  ACTION["UNSUPPORTED_CONTENT_ENCOUNTERED"] = "unsupportedContentEncounteredV2";
121
126
  ACTION["UPDATED"] = "updated";
127
+ /** used in @atlassian/editor-referentiality */
122
128
  ACTION["UPDATED_FRAGMENT_MARK_NAME"] = "updatedFragmentMarkName";
129
+ /** used in @atlassian/editor-referentiality */
123
130
  ACTION["UPDATED_SOURCE"] = "updatedSource";
131
+ /** used in @atlassian/editor-referentiality */
124
132
  ACTION["UPDATED_TARGET"] = "updatedTarget";
125
133
  ACTION["UPLOAD_EXTERNAL_FAIL"] = "uploadExternalFailed";
126
134
  ACTION["VIEWED"] = "viewed";
@@ -128,6 +136,12 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
128
136
  ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
129
137
  ACTION["RENDERED"] = "rendered";
130
138
  ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
139
+ /**
140
+ * @private
141
+ * @deprecated
142
+ *
143
+ * This is no longer used and can be removed at a later date
144
+ */
131
145
  ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
132
146
  ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
133
147
  ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
@@ -163,6 +177,11 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
163
177
  ACTION["RESIZED"] = "resized";
164
178
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
165
179
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
180
+ /**
181
+ * used in Editor AI inline suggestion for a track event when a suggestion is inserted
182
+ * previously tracked events being used by Editor AI proactive suggestion
183
+ *
184
+ */
166
185
  ACTION["SUGGESTION_INSERTED"] = "suggestionInserted";
167
186
  ACTION["SUGGESTION_DISMISSED"] = "suggestionDismissed";
168
187
  ACTION["SUGGESTION_VIEWED"] = "suggestionViewed";
@@ -214,7 +233,9 @@ export var INSERT_MEDIA_VIA = /*#__PURE__*/function (INSERT_MEDIA_VIA) {
214
233
  export var TRIGGER_METHOD = /*#__PURE__*/function (TRIGGER_METHOD) {
215
234
  TRIGGER_METHOD["BUTTON"] = "button";
216
235
  TRIGGER_METHOD["KEYBOARD"] = "keyboard";
236
+ // single key, e.g. Esc, Enter
217
237
  TRIGGER_METHOD["SHORTCUT"] = "shortcut";
238
+ // combination of keys, e.g. Mod + F
218
239
  TRIGGER_METHOD["TOOLBAR"] = "toolbar";
219
240
  TRIGGER_METHOD["EXTERNAL"] = "external";
220
241
  return TRIGGER_METHOD;
@@ -29,9 +29,14 @@ export var TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
29
29
  TABLE_ACTION["MOVED_COLUMN"] = "movedColumn";
30
30
  TABLE_ACTION["CLONED_ROW"] = "clonedRow";
31
31
  TABLE_ACTION["CLONED_COLUMN"] = "clonedColumn";
32
+ /**
33
+ * This is a unique action that's used to track legacy table move behaviour flow of insert+copy+paste. Please use
34
+ * the MOVED_ROW | MOVED_COLUMN actions if you want to track events which move row/cols in a single step.
35
+ */
32
36
  TABLE_ACTION["ROW_OR_COLUMN_MOVED"] = "rowOrColumnMoved";
33
37
  TABLE_ACTION["CHANGED_DISPLAY_MODE"] = "changedDisplayMode";
34
38
  TABLE_ACTION["CHANGED_ALIGNMENT"] = "changedAlignment";
39
+ // Temporary to track usage of CONFCLOUD-78239 bug
35
40
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
36
41
  return TABLE_ACTION;
37
42
  }({});
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "102.14.0";
10
+ var packageVersion = "102.15.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "102.14.0";
23
+ var packageVersion = "102.15.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -49,121 +49,6 @@ export declare const aiConfigItemMessages: {
49
49
  defaultMessage: string;
50
50
  description: string;
51
51
  };
52
- advancedPromptTitle: {
53
- id: string;
54
- defaultMessage: string;
55
- description: string;
56
- };
57
- advancedPromptDescription: {
58
- id: string;
59
- defaultMessage: string;
60
- description: string;
61
- };
62
- advancedPromptLabel: {
63
- id: string;
64
- defaultMessage: string;
65
- description: string;
66
- };
67
- advancedPromptTaskLabel: {
68
- id: string;
69
- defaultMessage: string;
70
- description: string;
71
- };
72
- advancedPromptTaskPlaceholder: {
73
- id: string;
74
- defaultMessage: string;
75
- description: string;
76
- };
77
- advancedPromptTaskHelperMessage: {
78
- id: string;
79
- defaultMessage: string;
80
- description: string;
81
- };
82
- advancedPromptTaskRequired: {
83
- id: string;
84
- defaultMessage: string;
85
- description: string;
86
- };
87
- advancedPromptInstructionsLabel: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- advancedPromptInstructionsPlaceholder: {
93
- id: string;
94
- defaultMessage: string;
95
- description: string;
96
- };
97
- advancedPromptInstructionsHelperMessage: {
98
- id: string;
99
- defaultMessage: string;
100
- description: string;
101
- };
102
- advancedPromptRulesLabel: {
103
- id: string;
104
- defaultMessage: string;
105
- description: string;
106
- };
107
- advancedPromptRulesPlaceholder: {
108
- id: string;
109
- defaultMessage: string;
110
- description: string;
111
- };
112
- advancedPromptRulesHelperMessage: {
113
- id: string;
114
- defaultMessage: string;
115
- description: string;
116
- };
117
- advancedPromptToneLabel: {
118
- id: string;
119
- defaultMessage: string;
120
- description: string;
121
- };
122
- advancedPromptToneProfessional: {
123
- id: string;
124
- defaultMessage: string;
125
- description: string;
126
- };
127
- advancedPromptToneEmpathetic: {
128
- id: string;
129
- defaultMessage: string;
130
- description: string;
131
- };
132
- advancedPromptToneCasual: {
133
- id: string;
134
- defaultMessage: string;
135
- description: string;
136
- };
137
- advancedPromptToneNeutral: {
138
- id: string;
139
- defaultMessage: string;
140
- description: string;
141
- };
142
- advancedPromptToneEducational: {
143
- id: string;
144
- defaultMessage: string;
145
- description: string;
146
- };
147
- advancedPromptCreativityLabel: {
148
- id: string;
149
- defaultMessage: string;
150
- description: string;
151
- };
152
- advancedPromptCreativityLow: {
153
- id: string;
154
- defaultMessage: string;
155
- description: string;
156
- };
157
- advancedPromptCreativityMedium: {
158
- id: string;
159
- defaultMessage: string;
160
- description: string;
161
- };
162
- advancedPromptCreativityHigh: {
163
- id: string;
164
- defaultMessage: string;
165
- description: string;
166
- };
167
52
  atlasShortenUpdatetitle: {
168
53
  id: string;
169
54
  defaultMessage: string;
@@ -1,7 +1,13 @@
1
1
  import { type ACTION, type ACTION_SUBJECT } from './enums';
2
2
  import { type UIAEP } from './utils';
3
- type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
4
- type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
3
+ type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
4
+ extensionKey?: string;
5
+ extensionType?: string;
6
+ }, undefined>;
7
+ type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
8
+ extensionKey?: string;
9
+ extensionType?: string;
10
+ }, undefined>;
5
11
  type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
6
12
  product: string;
7
13
  browserInfo: string;
@@ -54,7 +54,7 @@ type MentionTypeaheadInsertedPayload = UIAEP<ACTION.CLICKED | ACTION.PRESSED, AC
54
54
  containerId?: string;
55
55
  objectId?: string;
56
56
  childObjectId?: string;
57
- }, undefined>;
57
+ }, undefined, string | undefined, string | undefined, string | undefined>;
58
58
  type MentionTypeaheadRenderedPayload = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.MENTION_TYPEAHEAD | ACTION_SUBJECT.TEAM_MENTION_TYPEAHEAD, undefined, {
59
59
  componentName: string;
60
60
  duration: number;
@@ -1,8 +1,11 @@
1
1
  import type { ACTION, ACTION_SUBJECT, EVENT_TYPE } from './enums';
2
- type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EventType, ImplicitAttributes extends Object = {}> = {
2
+ type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EventType, ImplicitAttributes extends Object = {}, ContainerId extends string | undefined = undefined, ObjectId extends string | undefined = undefined, ChildObjectId extends string | undefined = undefined> = {
3
3
  action: Action;
4
4
  actionSubject: ActionSubject;
5
5
  actionSubjectId?: ActionSubjectID;
6
+ containerId?: ContainerId;
7
+ objectId?: ObjectId;
8
+ childObjectId?: ChildObjectId;
6
9
  attributes?: Attributes & {
7
10
  [key in keyof ImplicitAttributes]?: ImplicitAttributes[key];
8
11
  };
@@ -12,7 +15,7 @@ type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttri
12
15
  } | {
13
16
  eventType: EVENT_TYPE.OPERATIONAL;
14
17
  });
15
- export type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.UI>;
18
+ export type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes = undefined, ContainerId extends string | undefined = undefined, ObjectId extends string | undefined = undefined, ChildObjectId extends string | undefined = undefined> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.UI, Object, ContainerId, ObjectId, ChildObjectId>;
16
19
  export type TrackAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, ImplicitAttributes extends Object = {}> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.TRACK, ImplicitAttributes>;
17
20
  export type OperationalAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, undefined, EVENT_TYPE.OPERATIONAL>;
18
21
  export type OperationalExposureAEP<Action, ActionSubject, ActionSubjectID, Attributes> = OperationalAEP<Action, ActionSubject, ActionSubjectID, Attributes> & {
@@ -49,121 +49,6 @@ export declare const aiConfigItemMessages: {
49
49
  defaultMessage: string;
50
50
  description: string;
51
51
  };
52
- advancedPromptTitle: {
53
- id: string;
54
- defaultMessage: string;
55
- description: string;
56
- };
57
- advancedPromptDescription: {
58
- id: string;
59
- defaultMessage: string;
60
- description: string;
61
- };
62
- advancedPromptLabel: {
63
- id: string;
64
- defaultMessage: string;
65
- description: string;
66
- };
67
- advancedPromptTaskLabel: {
68
- id: string;
69
- defaultMessage: string;
70
- description: string;
71
- };
72
- advancedPromptTaskPlaceholder: {
73
- id: string;
74
- defaultMessage: string;
75
- description: string;
76
- };
77
- advancedPromptTaskHelperMessage: {
78
- id: string;
79
- defaultMessage: string;
80
- description: string;
81
- };
82
- advancedPromptTaskRequired: {
83
- id: string;
84
- defaultMessage: string;
85
- description: string;
86
- };
87
- advancedPromptInstructionsLabel: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- advancedPromptInstructionsPlaceholder: {
93
- id: string;
94
- defaultMessage: string;
95
- description: string;
96
- };
97
- advancedPromptInstructionsHelperMessage: {
98
- id: string;
99
- defaultMessage: string;
100
- description: string;
101
- };
102
- advancedPromptRulesLabel: {
103
- id: string;
104
- defaultMessage: string;
105
- description: string;
106
- };
107
- advancedPromptRulesPlaceholder: {
108
- id: string;
109
- defaultMessage: string;
110
- description: string;
111
- };
112
- advancedPromptRulesHelperMessage: {
113
- id: string;
114
- defaultMessage: string;
115
- description: string;
116
- };
117
- advancedPromptToneLabel: {
118
- id: string;
119
- defaultMessage: string;
120
- description: string;
121
- };
122
- advancedPromptToneProfessional: {
123
- id: string;
124
- defaultMessage: string;
125
- description: string;
126
- };
127
- advancedPromptToneEmpathetic: {
128
- id: string;
129
- defaultMessage: string;
130
- description: string;
131
- };
132
- advancedPromptToneCasual: {
133
- id: string;
134
- defaultMessage: string;
135
- description: string;
136
- };
137
- advancedPromptToneNeutral: {
138
- id: string;
139
- defaultMessage: string;
140
- description: string;
141
- };
142
- advancedPromptToneEducational: {
143
- id: string;
144
- defaultMessage: string;
145
- description: string;
146
- };
147
- advancedPromptCreativityLabel: {
148
- id: string;
149
- defaultMessage: string;
150
- description: string;
151
- };
152
- advancedPromptCreativityLow: {
153
- id: string;
154
- defaultMessage: string;
155
- description: string;
156
- };
157
- advancedPromptCreativityMedium: {
158
- id: string;
159
- defaultMessage: string;
160
- description: string;
161
- };
162
- advancedPromptCreativityHigh: {
163
- id: string;
164
- defaultMessage: string;
165
- description: string;
166
- };
167
52
  atlasShortenUpdatetitle: {
168
53
  id: string;
169
54
  defaultMessage: string;
@@ -1,7 +1,13 @@
1
1
  import { type ACTION, type ACTION_SUBJECT } from './enums';
2
2
  import { type UIAEP } from './utils';
3
- type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
4
- type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
3
+ type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
4
+ extensionKey?: string;
5
+ extensionType?: string;
6
+ }, undefined>;
7
+ type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
8
+ extensionKey?: string;
9
+ extensionType?: string;
10
+ }, undefined>;
5
11
  type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
6
12
  product: string;
7
13
  browserInfo: string;
@@ -54,7 +54,7 @@ type MentionTypeaheadInsertedPayload = UIAEP<ACTION.CLICKED | ACTION.PRESSED, AC
54
54
  containerId?: string;
55
55
  objectId?: string;
56
56
  childObjectId?: string;
57
- }, undefined>;
57
+ }, undefined, string | undefined, string | undefined, string | undefined>;
58
58
  type MentionTypeaheadRenderedPayload = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.MENTION_TYPEAHEAD | ACTION_SUBJECT.TEAM_MENTION_TYPEAHEAD, undefined, {
59
59
  componentName: string;
60
60
  duration: number;
@@ -1,8 +1,11 @@
1
1
  import type { ACTION, ACTION_SUBJECT, EVENT_TYPE } from './enums';
2
- type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EventType, ImplicitAttributes extends Object = {}> = {
2
+ type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EventType, ImplicitAttributes extends Object = {}, ContainerId extends string | undefined = undefined, ObjectId extends string | undefined = undefined, ChildObjectId extends string | undefined = undefined> = {
3
3
  action: Action;
4
4
  actionSubject: ActionSubject;
5
5
  actionSubjectId?: ActionSubjectID;
6
+ containerId?: ContainerId;
7
+ objectId?: ObjectId;
8
+ childObjectId?: ChildObjectId;
6
9
  attributes?: Attributes & {
7
10
  [key in keyof ImplicitAttributes]?: ImplicitAttributes[key];
8
11
  };
@@ -12,7 +15,7 @@ type AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttri
12
15
  } | {
13
16
  eventType: EVENT_TYPE.OPERATIONAL;
14
17
  });
15
- export type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.UI>;
18
+ export type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes = undefined, ContainerId extends string | undefined = undefined, ObjectId extends string | undefined = undefined, ChildObjectId extends string | undefined = undefined> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.UI, Object, ContainerId, ObjectId, ChildObjectId>;
16
19
  export type TrackAEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, ImplicitAttributes extends Object = {}> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, NonPrivacySafeAttributes, EVENT_TYPE.TRACK, ImplicitAttributes>;
17
20
  export type OperationalAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, undefined, EVENT_TYPE.OPERATIONAL>;
18
21
  export type OperationalExposureAEP<Action, ActionSubject, ActionSubjectID, Attributes> = OperationalAEP<Action, ActionSubject, ActionSubjectID, Attributes> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "102.14.0",
3
+ "version": "102.15.1",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -128,14 +128,14 @@
128
128
  "@atlaskit/codemod-utils": "^4.2.0",
129
129
  "@atlaskit/css": "^0.10.0",
130
130
  "@atlaskit/custom-steps": "^0.11.0",
131
- "@atlaskit/dropdown-menu": "^13.0.0",
131
+ "@atlaskit/dropdown-menu": "^13.1.0",
132
132
  "@atlaskit/editor-json-transformer": "^8.24.0",
133
133
  "@atlaskit/editor-palette": "^2.1.0",
134
134
  "@atlaskit/editor-prosemirror": "7.0.0",
135
135
  "@atlaskit/editor-shared-styles": "^3.4.0",
136
136
  "@atlaskit/editor-tables": "^2.9.0",
137
137
  "@atlaskit/emoji": "^69.0.0",
138
- "@atlaskit/icon": "^25.2.0",
138
+ "@atlaskit/icon": "^25.3.0",
139
139
  "@atlaskit/icon-object": "^7.0.0",
140
140
  "@atlaskit/link-datasource": "^4.1.0",
141
141
  "@atlaskit/link-picker": "^3.1.0",
@@ -149,7 +149,7 @@
149
149
  "@atlaskit/media-viewer": "^52.0.0",
150
150
  "@atlaskit/mention": "^24.1.0",
151
151
  "@atlaskit/menu": "^3.2.0",
152
- "@atlaskit/onboarding": "^13.0.0",
152
+ "@atlaskit/onboarding": "^14.0.0",
153
153
  "@atlaskit/platform-feature-flags": "^1.1.0",
154
154
  "@atlaskit/popper": "^7.0.0",
155
155
  "@atlaskit/primitives": "^14.2.0",
@@ -160,7 +160,7 @@
160
160
  "@atlaskit/spinner": "^18.0.0",
161
161
  "@atlaskit/task-decision": "^19.1.0",
162
162
  "@atlaskit/textfield": "^8.0.0",
163
- "@atlaskit/tmp-editor-statsig": "^4.4.0",
163
+ "@atlaskit/tmp-editor-statsig": "^4.5.0",
164
164
  "@atlaskit/tokens": "^4.5.0",
165
165
  "@atlaskit/tooltip": "^20.0.0",
166
166
  "@atlaskit/width-detector": "^5.0.0",