@atlaskit/editor-common 111.21.0 → 111.21.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 +9 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/element-browser/components/ElementSearch.js +2 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/element-browser/components/ElementSearch.js +2 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/element-browser/components/ElementSearch.js +2 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.21.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`baa2904c84a79`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/baa2904c84a79) -
|
|
8
|
+
[ux] Replaced aria-labelledby attribute with aria-describedby for search input field in the insert
|
|
9
|
+
menu.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 111.21.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -172,6 +172,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
172
172
|
*/
|
|
173
173
|
ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
|
|
174
174
|
ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
|
|
175
|
+
ACTION["NATIVE_EMBEDS_TRANSFORMED"] = "nativeEmbedsTransformed";
|
|
175
176
|
ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
|
|
176
177
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
177
178
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
@@ -116,7 +116,8 @@ function ElementSearch(_ref) {
|
|
|
116
116
|
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
117
117
|
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
118
118
|
"aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? formatMessage(_messages.default.searchAriaLabel) : 'search',
|
|
119
|
-
"aria-labelledby":
|
|
119
|
+
"aria-labelledby": (0, _platformFeatureFlags.fg)('platform_editor_ally_remove_role_tabpanel') ? undefined : 'search-assistive',
|
|
120
|
+
"aria-describedby": (0, _platformFeatureFlags.fg)('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
120
121
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
121
122
|
,
|
|
122
123
|
className: "js-search-input",
|
|
@@ -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 = "
|
|
22
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
27
|
+
var packageVersion = "0.0.0-development";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -166,6 +166,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
166
166
|
*/
|
|
167
167
|
ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
|
|
168
168
|
ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
|
|
169
|
+
ACTION["NATIVE_EMBEDS_TRANSFORMED"] = "nativeEmbedsTransformed";
|
|
169
170
|
ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
|
|
170
171
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
171
172
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
@@ -108,7 +108,8 @@ function ElementSearch({
|
|
|
108
108
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
109
109
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
110
110
|
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) : 'search',
|
|
111
|
-
"aria-labelledby":
|
|
111
|
+
"aria-labelledby": fg('platform_editor_ally_remove_role_tabpanel') ? undefined : 'search-assistive',
|
|
112
|
+
"aria-describedby": fg('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
112
113
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
113
114
|
,
|
|
114
115
|
className: "js-search-input",
|
|
@@ -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 = "
|
|
7
|
+
const packageVersion = "0.0.0-development";
|
|
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 = "
|
|
17
|
+
const packageVersion = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -166,6 +166,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
166
166
|
*/
|
|
167
167
|
ACTION["ON_CHANGE_CALLBACK"] = "onChangeCalled";
|
|
168
168
|
ACTION["NESTED_TABLE_TRANSFORMED"] = "nestedTableTransformed";
|
|
169
|
+
ACTION["NATIVE_EMBEDS_TRANSFORMED"] = "nativeEmbedsTransformed";
|
|
169
170
|
ACTION["NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS"] = "newCollabSyncUpErrorNoSteps";
|
|
170
171
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
171
172
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
@@ -106,7 +106,8 @@ function ElementSearch(_ref) {
|
|
|
106
106
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
107
107
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
108
108
|
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) : 'search',
|
|
109
|
-
"aria-labelledby":
|
|
109
|
+
"aria-labelledby": fg('platform_editor_ally_remove_role_tabpanel') ? undefined : 'search-assistive',
|
|
110
|
+
"aria-describedby": fg('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
110
111
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
111
112
|
,
|
|
112
113
|
className: "js-search-input",
|
|
@@ -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 = "
|
|
13
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
24
|
+
var packageVersion = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -165,6 +165,7 @@ export declare enum ACTION {
|
|
|
165
165
|
*/
|
|
166
166
|
ON_CHANGE_CALLBACK = "onChangeCalled",
|
|
167
167
|
NESTED_TABLE_TRANSFORMED = "nestedTableTransformed",
|
|
168
|
+
NATIVE_EMBEDS_TRANSFORMED = "nativeEmbedsTransformed",
|
|
168
169
|
NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS = "newCollabSyncUpErrorNoSteps",
|
|
169
170
|
REMOVE_ICON = "removedIcon",
|
|
170
171
|
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
@@ -165,6 +165,7 @@ export declare enum ACTION {
|
|
|
165
165
|
*/
|
|
166
166
|
ON_CHANGE_CALLBACK = "onChangeCalled",
|
|
167
167
|
NESTED_TABLE_TRANSFORMED = "nestedTableTransformed",
|
|
168
|
+
NATIVE_EMBEDS_TRANSFORMED = "nativeEmbedsTransformed",
|
|
168
169
|
NEW_COLLAB_SYNC_UP_ERROR_NO_STEPS = "newCollabSyncUpErrorNoSteps",
|
|
169
170
|
REMOVE_ICON = "removedIcon",
|
|
170
171
|
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.21.
|
|
3
|
+
"version": "111.21.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/"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@atlaskit/react-ufo": "^5.4.0",
|
|
77
77
|
"@atlaskit/section-message": "^8.12.0",
|
|
78
78
|
"@atlaskit/smart-card": "^43.25.0",
|
|
79
|
-
"@atlaskit/smart-user-picker": "^9.
|
|
79
|
+
"@atlaskit/smart-user-picker": "^9.1.0",
|
|
80
80
|
"@atlaskit/spinner": "^19.0.0",
|
|
81
81
|
"@atlaskit/status": "^3.1.0",
|
|
82
82
|
"@atlaskit/task-decision": "^19.3.0",
|
|
@@ -265,6 +265,9 @@
|
|
|
265
265
|
"platform_editor_dec_a11y_fixes": {
|
|
266
266
|
"type": "boolean"
|
|
267
267
|
},
|
|
268
|
+
"platform_editor_ally_remove_role_tabpanel": {
|
|
269
|
+
"type": "boolean"
|
|
270
|
+
},
|
|
268
271
|
"platform_editor_native_anchor_patch_2": {
|
|
269
272
|
"type": "boolean"
|
|
270
273
|
},
|