@atlaskit/editor-common 106.1.10 → 106.2.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 +13 -0
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +4 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +4 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchList.js +4 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 106.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#164920](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164920)
|
|
8
|
+
[`bd64fb35bc619`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd64fb35bc619) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/ED-28183](ED-28183) - fix a11y issue in editor link
|
|
10
|
+
search
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 106.1.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -64,7 +64,8 @@ var LinkSearchList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
64
64
|
css: linkSearchList,
|
|
65
65
|
id: id,
|
|
66
66
|
role: role,
|
|
67
|
-
"aria-controls": ariaControls
|
|
67
|
+
"aria-controls": ariaControls,
|
|
68
|
+
"data-testid": "".concat(id, "--items")
|
|
68
69
|
}, items.map(function (item, index) {
|
|
69
70
|
return (0, _react2.jsx)(_LinkSearchListItem.default, {
|
|
70
71
|
id: "link-search-list-item-".concat(index),
|
|
@@ -81,7 +82,8 @@ var LinkSearchList = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
81
82
|
}
|
|
82
83
|
if (isLoading) {
|
|
83
84
|
loadingContent = (0, _react2.jsx)("div", {
|
|
84
|
-
|
|
85
|
+
id: id,
|
|
86
|
+
"data-testid": "".concat(id, "--loading"),
|
|
85
87
|
css: spinnerContainer
|
|
86
88
|
}, (0, _react2.jsx)(_spinner.default, {
|
|
87
89
|
size: "medium",
|
|
@@ -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 = "106.
|
|
19
|
+
var packageVersion = "106.2.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "106.
|
|
26
|
+
var packageVersion = "106.2.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -47,7 +47,8 @@ export default class LinkSearchList extends PureComponent {
|
|
|
47
47
|
css: linkSearchList,
|
|
48
48
|
id: id,
|
|
49
49
|
role: role,
|
|
50
|
-
"aria-controls": ariaControls
|
|
50
|
+
"aria-controls": ariaControls,
|
|
51
|
+
"data-testid": `${id}--items`
|
|
51
52
|
}, items.map((item, index) => jsx(LinkSearchListItem, {
|
|
52
53
|
id: `link-search-list-item-${index}`,
|
|
53
54
|
role: role && 'option',
|
|
@@ -62,7 +63,8 @@ export default class LinkSearchList extends PureComponent {
|
|
|
62
63
|
}
|
|
63
64
|
if (isLoading) {
|
|
64
65
|
loadingContent = jsx("div", {
|
|
65
|
-
|
|
66
|
+
id: id,
|
|
67
|
+
"data-testid": `${id}--loading`,
|
|
66
68
|
css: spinnerContainer
|
|
67
69
|
}, jsx(Spinner, {
|
|
68
70
|
size: "medium",
|
|
@@ -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 = "106.
|
|
4
|
+
const packageVersion = "106.2.0";
|
|
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 = "106.
|
|
16
|
+
const packageVersion = "106.2.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -60,7 +60,8 @@ var LinkSearchList = /*#__PURE__*/function (_PureComponent) {
|
|
|
60
60
|
css: linkSearchList,
|
|
61
61
|
id: id,
|
|
62
62
|
role: role,
|
|
63
|
-
"aria-controls": ariaControls
|
|
63
|
+
"aria-controls": ariaControls,
|
|
64
|
+
"data-testid": "".concat(id, "--items")
|
|
64
65
|
}, items.map(function (item, index) {
|
|
65
66
|
return jsx(LinkSearchListItem, {
|
|
66
67
|
id: "link-search-list-item-".concat(index),
|
|
@@ -77,7 +78,8 @@ var LinkSearchList = /*#__PURE__*/function (_PureComponent) {
|
|
|
77
78
|
}
|
|
78
79
|
if (isLoading) {
|
|
79
80
|
loadingContent = jsx("div", {
|
|
80
|
-
|
|
81
|
+
id: id,
|
|
82
|
+
"data-testid": "".concat(id, "--loading"),
|
|
81
83
|
css: spinnerContainer
|
|
82
84
|
}, jsx(Spinner, {
|
|
83
85
|
size: "medium",
|
|
@@ -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 = "106.
|
|
10
|
+
var packageVersion = "106.2.0";
|
|
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 = "106.
|
|
23
|
+
var packageVersion = "106.2.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "106.
|
|
3
|
+
"version": "106.2.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/"
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
140
140
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
141
141
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
142
|
-
"@atlaskit/emoji": "^69.
|
|
142
|
+
"@atlaskit/emoji": "^69.3.0",
|
|
143
143
|
"@atlaskit/icon": "^26.4.0",
|
|
144
144
|
"@atlaskit/icon-object": "^7.1.0",
|
|
145
145
|
"@atlaskit/link": "^3.2.0",
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
"@atlaskit/profilecard": "^23.16.0",
|
|
164
164
|
"@atlaskit/react-ufo": "^3.13.0",
|
|
165
165
|
"@atlaskit/section-message": "^8.2.0",
|
|
166
|
-
"@atlaskit/smart-card": "^38.
|
|
166
|
+
"@atlaskit/smart-card": "^38.7.0",
|
|
167
167
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
168
168
|
"@atlaskit/spinner": "^18.0.0",
|
|
169
169
|
"@atlaskit/task-decision": "^19.2.0",
|
|
170
170
|
"@atlaskit/textfield": "^8.0.0",
|
|
171
171
|
"@atlaskit/theme": "^18.0.0",
|
|
172
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
172
|
+
"@atlaskit/tmp-editor-statsig": "^5.12.0",
|
|
173
173
|
"@atlaskit/tokens": "^5.0.0",
|
|
174
174
|
"@atlaskit/tooltip": "^20.3.0",
|
|
175
175
|
"@atlaskit/width-detector": "^5.0.0",
|