@atlaskit/editor-common 115.10.1 → 115.10.2
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 +7 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -2
- package/dist/cjs/element-browser/components/ElementSearch.js +1 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -2
- package/dist/es2019/element-browser/components/ElementSearch.js +1 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -2
- package/dist/esm/element-browser/components/ElementSearch.js +1 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 115.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`50d17160d7177`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50d17160d7177) -
|
|
8
|
+
Cleanup FG `platform_editor_ally_remove_role_tabpanel`
|
|
9
|
+
|
|
3
10
|
## 115.10.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -133,8 +133,8 @@ function ElementList(_ref) {
|
|
|
133
133
|
css: elementItemsWrapper,
|
|
134
134
|
"data-testid": "element-items",
|
|
135
135
|
id: selectedCategory ? "browse-category-".concat(selectedCategory, "-tab") : 'browse-category-tab',
|
|
136
|
-
"aria-labelledby": !hasTabListContext
|
|
137
|
-
role: !hasTabListContext
|
|
136
|
+
"aria-labelledby": !hasTabListContext ? undefined : selectedCategory ? "browse-category--".concat(selectedCategory, "-button") : 'browse-category-button',
|
|
137
|
+
role: !hasTabListContext ? undefined : 'tabpanel',
|
|
138
138
|
tabIndex: items.length === 0 ? 0 : undefined
|
|
139
139
|
}, !items.length ? emptyStateHandler ? emptyStateHandler({
|
|
140
140
|
mode: mode,
|
|
@@ -116,8 +116,7 @@ function ElementSearch(_ref) {
|
|
|
116
116
|
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
117
117
|
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
118
118
|
"aria-label": formatMessage((0, _platformFeatureFlags.fg)('ally_30205_accessibility_label_fix') ? _messages.default.searchAriaLabelNew : _messages.default.searchAriaLabel),
|
|
119
|
-
"aria-
|
|
120
|
-
"aria-describedby": (0, _platformFeatureFlags.fg)('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
119
|
+
"aria-describedby": "search-assistive"
|
|
121
120
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
122
121
|
,
|
|
123
122
|
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 _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); 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 = "115.10.
|
|
22
|
+
var packageVersion = "115.10.1";
|
|
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 = "115.10.
|
|
27
|
+
var packageVersion = "115.10.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -120,8 +120,8 @@ function ElementList({
|
|
|
120
120
|
css: elementItemsWrapper,
|
|
121
121
|
"data-testid": "element-items",
|
|
122
122
|
id: selectedCategory ? `browse-category-${selectedCategory}-tab` : 'browse-category-tab',
|
|
123
|
-
"aria-labelledby": !hasTabListContext
|
|
124
|
-
role: !hasTabListContext
|
|
123
|
+
"aria-labelledby": !hasTabListContext ? undefined : selectedCategory ? `browse-category--${selectedCategory}-button` : 'browse-category-button',
|
|
124
|
+
role: !hasTabListContext ? undefined : 'tabpanel',
|
|
125
125
|
tabIndex: items.length === 0 ? 0 : undefined
|
|
126
126
|
}, !items.length ? emptyStateHandler ? emptyStateHandler({
|
|
127
127
|
mode,
|
|
@@ -108,8 +108,7 @@ function ElementSearch({
|
|
|
108
108
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
109
109
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
110
110
|
"aria-label": formatMessage(fg('ally_30205_accessibility_label_fix') ? commonMessages.searchAriaLabelNew : commonMessages.searchAriaLabel),
|
|
111
|
-
"aria-
|
|
112
|
-
"aria-describedby": fg('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
111
|
+
"aria-describedby": "search-assistive"
|
|
113
112
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
114
113
|
,
|
|
115
114
|
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 = "115.10.
|
|
7
|
+
const packageVersion = "115.10.1";
|
|
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 = "115.10.
|
|
17
|
+
const packageVersion = "115.10.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -122,8 +122,8 @@ function ElementList(_ref) {
|
|
|
122
122
|
css: elementItemsWrapper,
|
|
123
123
|
"data-testid": "element-items",
|
|
124
124
|
id: selectedCategory ? "browse-category-".concat(selectedCategory, "-tab") : 'browse-category-tab',
|
|
125
|
-
"aria-labelledby": !hasTabListContext
|
|
126
|
-
role: !hasTabListContext
|
|
125
|
+
"aria-labelledby": !hasTabListContext ? undefined : selectedCategory ? "browse-category--".concat(selectedCategory, "-button") : 'browse-category-button',
|
|
126
|
+
role: !hasTabListContext ? undefined : 'tabpanel',
|
|
127
127
|
tabIndex: items.length === 0 ? 0 : undefined
|
|
128
128
|
}, !items.length ? emptyStateHandler ? emptyStateHandler({
|
|
129
129
|
mode: mode,
|
|
@@ -106,8 +106,7 @@ function ElementSearch(_ref) {
|
|
|
106
106
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
107
107
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
108
108
|
"aria-label": formatMessage(fg('ally_30205_accessibility_label_fix') ? commonMessages.searchAriaLabelNew : commonMessages.searchAriaLabel),
|
|
109
|
-
"aria-
|
|
110
|
-
"aria-describedby": fg('platform_editor_ally_remove_role_tabpanel') ? 'search-assistive' : undefined
|
|
109
|
+
"aria-describedby": "search-assistive"
|
|
111
110
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
112
111
|
,
|
|
113
112
|
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 = "115.10.
|
|
13
|
+
var packageVersion = "115.10.1";
|
|
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 = "115.10.
|
|
24
|
+
var packageVersion = "115.10.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "115.10.
|
|
3
|
+
"version": "115.10.2",
|
|
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/"
|
|
@@ -249,9 +249,6 @@
|
|
|
249
249
|
"ally_30205_accessibility_label_fix": {
|
|
250
250
|
"type": "boolean"
|
|
251
251
|
},
|
|
252
|
-
"platform_editor_ally_remove_role_tabpanel": {
|
|
253
|
-
"type": "boolean"
|
|
254
|
-
},
|
|
255
252
|
"platform_editor_native_anchor_patch_3": {
|
|
256
253
|
"type": "boolean"
|
|
257
254
|
},
|