@atlaskit/editor-common 116.19.4 → 116.20.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 +19 -0
- package/dist/cjs/ai-messages/ai-config-items.js +0 -5
- package/dist/cjs/element-browser/components/ElementSearch.js +1 -2
- package/dist/cjs/element-browser/messages.js +0 -5
- 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 +0 -5
- package/dist/es2019/element-browser/components/ElementSearch.js +1 -2
- package/dist/es2019/element-browser/messages.js +0 -5
- 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 +0 -5
- package/dist/esm/element-browser/components/ElementSearch.js +1 -2
- package/dist/esm/element-browser/messages.js +0 -5
- 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 +0 -5
- package/dist/types/element-browser/messages.d.ts +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5ca7a33774e69`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ca7a33774e69) -
|
|
8
|
+
Clean up experiment `platform_editor_ai_rename_add_polish`. Removes the now-unused
|
|
9
|
+
`addPolishTitle` AI config item message and the redundant title override in the paste menu.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 116.19.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`9416cb872d58f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9416cb872d58f) -
|
|
20
|
+
Clean up the `ally_30205_accessibility_label_fix` feature gate.
|
|
21
|
+
|
|
3
22
|
## 116.19.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -451,11 +451,6 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntl.defineM
|
|
|
451
451
|
defaultMessage: 'Summarize writing',
|
|
452
452
|
description: 'Title for Atlassian Intelligence "Summarize writing" in editor selection floating toolbar'
|
|
453
453
|
},
|
|
454
|
-
addPolishTitle: {
|
|
455
|
-
id: 'fabric.editor.ai.config.item.addPolish.title',
|
|
456
|
-
defaultMessage: 'Add polish',
|
|
457
|
-
description: 'Describes an option to use Atlassian Intelligence to polish the content currently selected by the user'
|
|
458
|
-
},
|
|
459
454
|
addPolishDescription: {
|
|
460
455
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
461
456
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
@@ -14,7 +14,6 @@ var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-
|
|
|
14
14
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
15
15
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
16
16
|
var _search = _interopRequireDefault(require("@atlaskit/icon/core/search"));
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
19
18
|
var _constants = require("../constants");
|
|
20
19
|
var _useFocus = _interopRequireDefault(require("../hooks/use-focus"));
|
|
@@ -115,7 +114,7 @@ function ElementSearch(_ref) {
|
|
|
115
114
|
css: styledShortcut
|
|
116
115
|
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
117
116
|
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
118
|
-
"aria-label": formatMessage(
|
|
117
|
+
"aria-label": formatMessage(_messages.default.searchAriaLabelNew),
|
|
119
118
|
"aria-describedby": "search-assistive"
|
|
120
119
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
121
120
|
,
|
|
@@ -21,11 +21,6 @@ var message = (0, _reactIntl.defineMessages)({
|
|
|
21
21
|
defaultMessage: 'Select element',
|
|
22
22
|
description: 'The text is used as an aria-label for the element browser listbox. It provides an accessible name for screen readers to identify the list of elements that can be selected and inserted.'
|
|
23
23
|
},
|
|
24
|
-
searchAriaLabel: {
|
|
25
|
-
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel',
|
|
26
|
-
defaultMessage: 'Search',
|
|
27
|
-
description: 'The text is used as an aria-label for the search input field in the element browser. It provides an accessible name for screen readers to identify the search field.'
|
|
28
|
-
},
|
|
29
24
|
searchAriaLabelNew: {
|
|
30
25
|
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel.new',
|
|
31
26
|
defaultMessage: 'Search elements',
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "116.19.
|
|
31
|
+
var packageVersion = "116.19.5";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// 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 = "116.19.
|
|
27
|
+
var packageVersion = "116.19.5";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -445,11 +445,6 @@ export const aiConfigItemMessages = defineMessages({
|
|
|
445
445
|
defaultMessage: 'Summarize writing',
|
|
446
446
|
description: 'Title for Atlassian Intelligence "Summarize writing" in editor selection floating toolbar'
|
|
447
447
|
},
|
|
448
|
-
addPolishTitle: {
|
|
449
|
-
id: 'fabric.editor.ai.config.item.addPolish.title',
|
|
450
|
-
defaultMessage: 'Add polish',
|
|
451
|
-
description: 'Describes an option to use Atlassian Intelligence to polish the content currently selected by the user'
|
|
452
|
-
},
|
|
453
448
|
addPolishDescription: {
|
|
454
449
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
455
450
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
@@ -11,7 +11,6 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
11
11
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
12
12
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
13
13
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import Textfield from '@atlaskit/textfield';
|
|
16
15
|
import { GRID_SIZE, SEARCH_ITEM_HEIGHT_WIDTH } from '../constants';
|
|
17
16
|
import useFocus from '../hooks/use-focus';
|
|
@@ -107,7 +106,7 @@ function ElementSearch({
|
|
|
107
106
|
css: styledShortcut
|
|
108
107
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
109
108
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
110
|
-
"aria-label": formatMessage(
|
|
109
|
+
"aria-label": formatMessage(commonMessages.searchAriaLabelNew),
|
|
111
110
|
"aria-describedby": "search-assistive"
|
|
112
111
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
113
112
|
,
|
|
@@ -15,11 +15,6 @@ const message = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Select element',
|
|
16
16
|
description: 'The text is used as an aria-label for the element browser listbox. It provides an accessible name for screen readers to identify the list of elements that can be selected and inserted.'
|
|
17
17
|
},
|
|
18
|
-
searchAriaLabel: {
|
|
19
|
-
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel',
|
|
20
|
-
defaultMessage: 'Search',
|
|
21
|
-
description: 'The text is used as an aria-label for the search input field in the element browser. It provides an accessible name for screen readers to identify the search field.'
|
|
22
|
-
},
|
|
23
18
|
searchAriaLabelNew: {
|
|
24
19
|
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel.new',
|
|
25
20
|
defaultMessage: 'Search elements',
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "116.19.
|
|
17
|
+
const packageVersion = "116.19.5";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// 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 = "116.19.
|
|
17
|
+
const packageVersion = "116.19.5";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -445,11 +445,6 @@ export var aiConfigItemMessages = defineMessages({
|
|
|
445
445
|
defaultMessage: 'Summarize writing',
|
|
446
446
|
description: 'Title for Atlassian Intelligence "Summarize writing" in editor selection floating toolbar'
|
|
447
447
|
},
|
|
448
|
-
addPolishTitle: {
|
|
449
|
-
id: 'fabric.editor.ai.config.item.addPolish.title',
|
|
450
|
-
defaultMessage: 'Add polish',
|
|
451
|
-
description: 'Describes an option to use Atlassian Intelligence to polish the content currently selected by the user'
|
|
452
|
-
},
|
|
453
448
|
addPolishDescription: {
|
|
454
449
|
id: 'fabric.editor.ai.config.item.addPolish.description',
|
|
455
450
|
defaultMessage: 'Polishes the content to make it more polished',
|
|
@@ -12,7 +12,6 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
12
12
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
14
14
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import Textfield from '@atlaskit/textfield';
|
|
17
16
|
import { GRID_SIZE, SEARCH_ITEM_HEIGHT_WIDTH } from '../constants';
|
|
18
17
|
import useFocus from '../hooks/use-focus';
|
|
@@ -105,7 +104,7 @@ function ElementSearch(_ref) {
|
|
|
105
104
|
css: styledShortcut
|
|
106
105
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
107
106
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
108
|
-
"aria-label": formatMessage(
|
|
107
|
+
"aria-label": formatMessage(commonMessages.searchAriaLabelNew),
|
|
109
108
|
"aria-describedby": "search-assistive"
|
|
110
109
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
111
110
|
,
|
|
@@ -15,11 +15,6 @@ var message = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Select element',
|
|
16
16
|
description: 'The text is used as an aria-label for the element browser listbox. It provides an accessible name for screen readers to identify the list of elements that can be selected and inserted.'
|
|
17
17
|
},
|
|
18
|
-
searchAriaLabel: {
|
|
19
|
-
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel',
|
|
20
|
-
defaultMessage: 'Search',
|
|
21
|
-
description: 'The text is used as an aria-label for the search input field in the element browser. It provides an accessible name for screen readers to identify the search field.'
|
|
22
|
-
},
|
|
23
18
|
searchAriaLabelNew: {
|
|
24
19
|
id: 'fabric.editor.elementbrowser.searchbar.ariaLabel.new',
|
|
25
20
|
defaultMessage: 'Search elements',
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "116.19.
|
|
23
|
+
var packageVersion = "116.19.5";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// 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 = "116.19.
|
|
24
|
+
var packageVersion = "116.19.5";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -4,11 +4,6 @@ export declare const aiConfigItemMessages: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
-
addPolishTitle: {
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
description: string;
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
7
|
adjustLengthNestingParentShortTitle: {
|
|
13
8
|
defaultMessage: string;
|
|
14
9
|
description: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type MessageKeys = 'assistiveTextDefault' | 'assistiveTextResult' | 'elementAfterInputMessage' | 'elementListAriaLabel' | 'placeHolderMessage' | '
|
|
1
|
+
type MessageKeys = 'assistiveTextDefault' | 'assistiveTextResult' | 'elementAfterInputMessage' | 'elementListAriaLabel' | 'placeHolderMessage' | 'searchAriaLabelNew';
|
|
2
2
|
declare const message: Record<MessageKeys, {
|
|
3
3
|
defaultMessage: string;
|
|
4
4
|
description?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.
|
|
3
|
+
"version": "116.20.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/"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/task-decision": "^21.4.0",
|
|
81
81
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
82
82
|
"@atlaskit/textfield": "^9.1.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^120.0.0",
|
|
84
84
|
"@atlaskit/tokens": "^15.3.0",
|
|
85
85
|
"@atlaskit/tooltip": "^23.1.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.1.0",
|
|
@@ -226,9 +226,6 @@
|
|
|
226
226
|
"platform_fix_macro_renders_in_layouts": {
|
|
227
227
|
"type": "boolean"
|
|
228
228
|
},
|
|
229
|
-
"ally_30205_accessibility_label_fix": {
|
|
230
|
-
"type": "boolean"
|
|
231
|
-
},
|
|
232
229
|
"platform_editor_native_anchor_patch_3": {
|
|
233
230
|
"type": "boolean"
|
|
234
231
|
},
|