@atlaskit/editor-common 110.30.2 → 110.31.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 +14 -0
- package/dist/cjs/ai-messages/ai-experience-application.js +5 -0
- package/dist/cjs/messages/syncBlock.js +20 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-experience-application.js +5 -0
- package/dist/es2019/messages/syncBlock.js +20 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-experience-application.js +5 -0
- package/dist/esm/messages/syncBlock.js +20 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-experience-application.d.ts +5 -0
- package/dist/types/messages/syncBlock.d.ts +20 -0
- package/dist/types-ts4.5/ai-messages/ai-experience-application.d.ts +5 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.31.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`721d3790d48fe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/721d3790d48fe) -
|
|
8
|
+
EDITOR-2533 implement error-ui with retry
|
|
9
|
+
- [`65371c14c13c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/65371c14c13c5) -
|
|
10
|
+
[ENGHEALTH-23797] A11y violation detected for rule "aria-dialog-name" for
|
|
11
|
+
"@atlassian/editor-plugin-ai" from "Editor: AI"
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 110.30.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -8,6 +8,11 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
8
8
|
// eslint-disable-next-line no-restricted-imports
|
|
9
9
|
|
|
10
10
|
var aiExperienceApplicationMessages = exports.aiExperienceApplicationMessages = (0, _reactIntlNext.defineMessages)({
|
|
11
|
+
dialogAriaLabel: {
|
|
12
|
+
id: 'fabric.editor.ai.experience.dialogAriaLabel',
|
|
13
|
+
defaultMessage: 'Atlassian Intelligence Dialog',
|
|
14
|
+
description: 'Aria label for the Atlassian Intelligence dialog'
|
|
15
|
+
},
|
|
11
16
|
responseTooSimilarMessage: {
|
|
12
17
|
id: 'fabric.editor.ai.experience.responseTooSimilarMessage',
|
|
13
18
|
defaultMessage: 'Atlassian Intelligence has no suggestions at this time. Feel free to try a different prompt or content.',
|
|
@@ -145,5 +145,25 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
145
145
|
id: 'fabric.editor.error.description.failToCreateWhenOffline',
|
|
146
146
|
defaultMessage: 'You appear to be offline. Please connect to the internet to create synced content.',
|
|
147
147
|
description: 'Description in flag which appears when a sync block cannot be created in offline mode'
|
|
148
|
+
},
|
|
149
|
+
generalErrorDescription: {
|
|
150
|
+
id: 'fabric.editor.syncedBlockGeneralErrorDescription',
|
|
151
|
+
defaultMessage: 'Something went wrong while loading this synced block.',
|
|
152
|
+
description: 'Description for general error state of the synced block'
|
|
153
|
+
},
|
|
154
|
+
notFoundDescription: {
|
|
155
|
+
id: 'fabric.editor.syncedBlockNotFoundDescription',
|
|
156
|
+
defaultMessage: 'We’re unable to load this synced block.',
|
|
157
|
+
description: 'Description for error state where the synced block cannot be found or no longer exists'
|
|
158
|
+
},
|
|
159
|
+
notFoundAltText: {
|
|
160
|
+
id: 'fabric.editor.syncedBlockNotFoundIconAltText',
|
|
161
|
+
defaultMessage: 'Synced block not found.',
|
|
162
|
+
description: 'Alt text for icon on error state where the synced block cannot be found or no longer exists'
|
|
163
|
+
},
|
|
164
|
+
retryButton: {
|
|
165
|
+
id: 'fabric.editor.retrySyncedBlock',
|
|
166
|
+
defaultMessage: 'Retry',
|
|
167
|
+
description: 'Label for button which retries loading the synced block'
|
|
148
168
|
}
|
|
149
169
|
});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "
|
|
19
|
+
var packageVersion = "110.30.2";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "
|
|
27
|
+
var packageVersion = "110.30.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// eslint-disable-next-line no-restricted-imports
|
|
2
2
|
import { defineMessages } from 'react-intl-next';
|
|
3
3
|
export const aiExperienceApplicationMessages = defineMessages({
|
|
4
|
+
dialogAriaLabel: {
|
|
5
|
+
id: 'fabric.editor.ai.experience.dialogAriaLabel',
|
|
6
|
+
defaultMessage: 'Atlassian Intelligence Dialog',
|
|
7
|
+
description: 'Aria label for the Atlassian Intelligence dialog'
|
|
8
|
+
},
|
|
4
9
|
responseTooSimilarMessage: {
|
|
5
10
|
id: 'fabric.editor.ai.experience.responseTooSimilarMessage',
|
|
6
11
|
defaultMessage: 'Atlassian Intelligence has no suggestions at this time. Feel free to try a different prompt or content.',
|
|
@@ -139,5 +139,25 @@ export const syncBlockMessages = defineMessages({
|
|
|
139
139
|
id: 'fabric.editor.error.description.failToCreateWhenOffline',
|
|
140
140
|
defaultMessage: 'You appear to be offline. Please connect to the internet to create synced content.',
|
|
141
141
|
description: 'Description in flag which appears when a sync block cannot be created in offline mode'
|
|
142
|
+
},
|
|
143
|
+
generalErrorDescription: {
|
|
144
|
+
id: 'fabric.editor.syncedBlockGeneralErrorDescription',
|
|
145
|
+
defaultMessage: 'Something went wrong while loading this synced block.',
|
|
146
|
+
description: 'Description for general error state of the synced block'
|
|
147
|
+
},
|
|
148
|
+
notFoundDescription: {
|
|
149
|
+
id: 'fabric.editor.syncedBlockNotFoundDescription',
|
|
150
|
+
defaultMessage: 'We’re unable to load this synced block.',
|
|
151
|
+
description: 'Description for error state where the synced block cannot be found or no longer exists'
|
|
152
|
+
},
|
|
153
|
+
notFoundAltText: {
|
|
154
|
+
id: 'fabric.editor.syncedBlockNotFoundIconAltText',
|
|
155
|
+
defaultMessage: 'Synced block not found.',
|
|
156
|
+
description: 'Alt text for icon on error state where the synced block cannot be found or no longer exists'
|
|
157
|
+
},
|
|
158
|
+
retryButton: {
|
|
159
|
+
id: 'fabric.editor.retrySyncedBlock',
|
|
160
|
+
defaultMessage: 'Retry',
|
|
161
|
+
description: 'Label for button which retries loading the synced block'
|
|
142
162
|
}
|
|
143
163
|
});
|
|
@@ -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 = "
|
|
4
|
+
const packageVersion = "110.30.2";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// 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 = "
|
|
17
|
+
const packageVersion = "110.30.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// eslint-disable-next-line no-restricted-imports
|
|
2
2
|
import { defineMessages } from 'react-intl-next';
|
|
3
3
|
export var aiExperienceApplicationMessages = defineMessages({
|
|
4
|
+
dialogAriaLabel: {
|
|
5
|
+
id: 'fabric.editor.ai.experience.dialogAriaLabel',
|
|
6
|
+
defaultMessage: 'Atlassian Intelligence Dialog',
|
|
7
|
+
description: 'Aria label for the Atlassian Intelligence dialog'
|
|
8
|
+
},
|
|
4
9
|
responseTooSimilarMessage: {
|
|
5
10
|
id: 'fabric.editor.ai.experience.responseTooSimilarMessage',
|
|
6
11
|
defaultMessage: 'Atlassian Intelligence has no suggestions at this time. Feel free to try a different prompt or content.',
|
|
@@ -139,5 +139,25 @@ export var syncBlockMessages = defineMessages({
|
|
|
139
139
|
id: 'fabric.editor.error.description.failToCreateWhenOffline',
|
|
140
140
|
defaultMessage: 'You appear to be offline. Please connect to the internet to create synced content.',
|
|
141
141
|
description: 'Description in flag which appears when a sync block cannot be created in offline mode'
|
|
142
|
+
},
|
|
143
|
+
generalErrorDescription: {
|
|
144
|
+
id: 'fabric.editor.syncedBlockGeneralErrorDescription',
|
|
145
|
+
defaultMessage: 'Something went wrong while loading this synced block.',
|
|
146
|
+
description: 'Description for general error state of the synced block'
|
|
147
|
+
},
|
|
148
|
+
notFoundDescription: {
|
|
149
|
+
id: 'fabric.editor.syncedBlockNotFoundDescription',
|
|
150
|
+
defaultMessage: 'We’re unable to load this synced block.',
|
|
151
|
+
description: 'Description for error state where the synced block cannot be found or no longer exists'
|
|
152
|
+
},
|
|
153
|
+
notFoundAltText: {
|
|
154
|
+
id: 'fabric.editor.syncedBlockNotFoundIconAltText',
|
|
155
|
+
defaultMessage: 'Synced block not found.',
|
|
156
|
+
description: 'Alt text for icon on error state where the synced block cannot be found or no longer exists'
|
|
157
|
+
},
|
|
158
|
+
retryButton: {
|
|
159
|
+
id: 'fabric.editor.retrySyncedBlock',
|
|
160
|
+
defaultMessage: 'Retry',
|
|
161
|
+
description: 'Label for button which retries loading the synced block'
|
|
142
162
|
}
|
|
143
163
|
});
|
|
@@ -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 = "
|
|
10
|
+
var packageVersion = "110.30.2";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// 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 = "
|
|
24
|
+
var packageVersion = "110.30.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -139,4 +139,24 @@ export declare const syncBlockMessages: {
|
|
|
139
139
|
defaultMessage: string;
|
|
140
140
|
description: string;
|
|
141
141
|
};
|
|
142
|
+
generalErrorDescription: {
|
|
143
|
+
id: string;
|
|
144
|
+
defaultMessage: string;
|
|
145
|
+
description: string;
|
|
146
|
+
};
|
|
147
|
+
notFoundDescription: {
|
|
148
|
+
id: string;
|
|
149
|
+
defaultMessage: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
152
|
+
notFoundAltText: {
|
|
153
|
+
id: string;
|
|
154
|
+
defaultMessage: string;
|
|
155
|
+
description: string;
|
|
156
|
+
};
|
|
157
|
+
retryButton: {
|
|
158
|
+
id: string;
|
|
159
|
+
defaultMessage: string;
|
|
160
|
+
description: string;
|
|
161
|
+
};
|
|
142
162
|
};
|
|
@@ -139,4 +139,24 @@ export declare const syncBlockMessages: {
|
|
|
139
139
|
defaultMessage: string;
|
|
140
140
|
description: string;
|
|
141
141
|
};
|
|
142
|
+
generalErrorDescription: {
|
|
143
|
+
id: string;
|
|
144
|
+
defaultMessage: string;
|
|
145
|
+
description: string;
|
|
146
|
+
};
|
|
147
|
+
notFoundDescription: {
|
|
148
|
+
id: string;
|
|
149
|
+
defaultMessage: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
152
|
+
notFoundAltText: {
|
|
153
|
+
id: string;
|
|
154
|
+
defaultMessage: string;
|
|
155
|
+
description: string;
|
|
156
|
+
};
|
|
157
|
+
retryButton: {
|
|
158
|
+
id: string;
|
|
159
|
+
defaultMessage: string;
|
|
160
|
+
description: string;
|
|
161
|
+
};
|
|
142
162
|
};
|
package/package.json
CHANGED