@atlaskit/editor-common 112.21.3 → 112.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/ai-messages/ai-config-items.js +10 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +15 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-config-items.js +10 -0
- package/dist/es2019/ai-messages/ai-suggestions.js +15 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-config-items.js +10 -0
- package/dist/esm/ai-messages/ai-suggestions.js +15 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-config-items.d.ts +155 -145
- package/dist/types/ai-messages/ai-suggestions.d.ts +15 -0
- package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +155 -145
- package/dist/types-ts4.5/ai-messages/ai-suggestions.d.ts +15 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`7739efec523bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7739efec523bc) -
|
|
8
|
+
EDITOR-6371: Add toggle for showing / hiding deleted changes in the diff.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 112.21.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -432,5 +432,15 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntlNext.def
|
|
|
432
432
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
433
433
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
434
434
|
description: 'Description for the the Atlassian Intelligence "Add polish".'
|
|
435
|
+
},
|
|
436
|
+
improveFormattingTitle: {
|
|
437
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.title',
|
|
438
|
+
defaultMessage: 'Improve formatting',
|
|
439
|
+
description: 'Describes an option to use Atlassian Intelligence to improve the formatting of the content currently selected by the user'
|
|
440
|
+
},
|
|
441
|
+
improveFormattingDescription: {
|
|
442
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.description',
|
|
443
|
+
defaultMessage: 'Improves the formatting and presentation of your content',
|
|
444
|
+
description: 'Description for the Atlassian Intelligence "Improve Formatting" action.'
|
|
435
445
|
}
|
|
436
446
|
});
|
|
@@ -145,5 +145,20 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntlNext.d
|
|
|
145
145
|
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
146
146
|
defaultMessage: 'Discard',
|
|
147
147
|
description: 'Label for the discard button on the AI suggestions card'
|
|
148
|
+
},
|
|
149
|
+
cardMoreOptionsButtonLabel: {
|
|
150
|
+
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
151
|
+
defaultMessage: 'More options',
|
|
152
|
+
description: 'Label for the overflow actions button on the AI suggestions card'
|
|
153
|
+
},
|
|
154
|
+
cardOnlyShowSuggestionOptionLabel: {
|
|
155
|
+
id: 'fabric.editor.ai.suggestions.card.onlyShowSuggestionOptionLabel.non-final',
|
|
156
|
+
defaultMessage: 'Only show suggestion',
|
|
157
|
+
description: 'Label for the dropdown action to only show the selected suggestion'
|
|
158
|
+
},
|
|
159
|
+
cardCompareWithOriginalOptionLabel: {
|
|
160
|
+
id: 'fabric.editor.ai.suggestions.card.compareWithOriginalOptionLabel.non-final',
|
|
161
|
+
defaultMessage: 'Compare with original',
|
|
162
|
+
description: 'Label for the dropdown action to compare suggestion with original content'
|
|
148
163
|
}
|
|
149
164
|
});
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "112.21.
|
|
22
|
+
var packageVersion = "112.21.3";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "112.21.
|
|
27
|
+
var packageVersion = "112.21.3";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -426,5 +426,15 @@ export const aiConfigItemMessages = defineMessages({
|
|
|
426
426
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
427
427
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
428
428
|
description: 'Description for the the Atlassian Intelligence "Add polish".'
|
|
429
|
+
},
|
|
430
|
+
improveFormattingTitle: {
|
|
431
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.title',
|
|
432
|
+
defaultMessage: 'Improve formatting',
|
|
433
|
+
description: 'Describes an option to use Atlassian Intelligence to improve the formatting of the content currently selected by the user'
|
|
434
|
+
},
|
|
435
|
+
improveFormattingDescription: {
|
|
436
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.description',
|
|
437
|
+
defaultMessage: 'Improves the formatting and presentation of your content',
|
|
438
|
+
description: 'Description for the Atlassian Intelligence "Improve Formatting" action.'
|
|
429
439
|
}
|
|
430
440
|
});
|
|
@@ -139,5 +139,20 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
139
139
|
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
140
140
|
defaultMessage: 'Discard',
|
|
141
141
|
description: 'Label for the discard button on the AI suggestions card'
|
|
142
|
+
},
|
|
143
|
+
cardMoreOptionsButtonLabel: {
|
|
144
|
+
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
145
|
+
defaultMessage: 'More options',
|
|
146
|
+
description: 'Label for the overflow actions button on the AI suggestions card'
|
|
147
|
+
},
|
|
148
|
+
cardOnlyShowSuggestionOptionLabel: {
|
|
149
|
+
id: 'fabric.editor.ai.suggestions.card.onlyShowSuggestionOptionLabel.non-final',
|
|
150
|
+
defaultMessage: 'Only show suggestion',
|
|
151
|
+
description: 'Label for the dropdown action to only show the selected suggestion'
|
|
152
|
+
},
|
|
153
|
+
cardCompareWithOriginalOptionLabel: {
|
|
154
|
+
id: 'fabric.editor.ai.suggestions.card.compareWithOriginalOptionLabel.non-final',
|
|
155
|
+
defaultMessage: 'Compare with original',
|
|
156
|
+
description: 'Label for the dropdown action to compare suggestion with original content'
|
|
142
157
|
}
|
|
143
158
|
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "112.21.
|
|
7
|
+
const packageVersion = "112.21.3";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "112.21.
|
|
17
|
+
const packageVersion = "112.21.3";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -426,5 +426,15 @@ export var aiConfigItemMessages = defineMessages({
|
|
|
426
426
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
427
427
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
428
428
|
description: 'Description for the the Atlassian Intelligence "Add polish".'
|
|
429
|
+
},
|
|
430
|
+
improveFormattingTitle: {
|
|
431
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.title',
|
|
432
|
+
defaultMessage: 'Improve formatting',
|
|
433
|
+
description: 'Describes an option to use Atlassian Intelligence to improve the formatting of the content currently selected by the user'
|
|
434
|
+
},
|
|
435
|
+
improveFormattingDescription: {
|
|
436
|
+
id: 'fabric.editor.ai.config.item.improveFormatting.description',
|
|
437
|
+
defaultMessage: 'Improves the formatting and presentation of your content',
|
|
438
|
+
description: 'Description for the Atlassian Intelligence "Improve Formatting" action.'
|
|
429
439
|
}
|
|
430
440
|
});
|
|
@@ -139,5 +139,20 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
139
139
|
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
140
140
|
defaultMessage: 'Discard',
|
|
141
141
|
description: 'Label for the discard button on the AI suggestions card'
|
|
142
|
+
},
|
|
143
|
+
cardMoreOptionsButtonLabel: {
|
|
144
|
+
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
145
|
+
defaultMessage: 'More options',
|
|
146
|
+
description: 'Label for the overflow actions button on the AI suggestions card'
|
|
147
|
+
},
|
|
148
|
+
cardOnlyShowSuggestionOptionLabel: {
|
|
149
|
+
id: 'fabric.editor.ai.suggestions.card.onlyShowSuggestionOptionLabel.non-final',
|
|
150
|
+
defaultMessage: 'Only show suggestion',
|
|
151
|
+
description: 'Label for the dropdown action to only show the selected suggestion'
|
|
152
|
+
},
|
|
153
|
+
cardCompareWithOriginalOptionLabel: {
|
|
154
|
+
id: 'fabric.editor.ai.suggestions.card.compareWithOriginalOptionLabel.non-final',
|
|
155
|
+
defaultMessage: 'Compare with original',
|
|
156
|
+
description: 'Label for the dropdown action to compare suggestion with original content'
|
|
142
157
|
}
|
|
143
158
|
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "112.21.
|
|
13
|
+
var packageVersion = "112.21.3";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "112.21.
|
|
24
|
+
var packageVersion = "112.21.3";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|