@atlaskit/editor-common 107.2.1 → 107.2.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 +12 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -2
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 107.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#175895](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175895)
|
|
8
|
+
[`6165a5dc5b6b1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6165a5dc5b6b1) -
|
|
9
|
+
Remove deprecated path for react version of mentions
|
|
10
|
+
- [#175899](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175899)
|
|
11
|
+
[`a28d5dc386dbf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a28d5dc386dbf) -
|
|
12
|
+
Clean up platform_editor_fix_floating_toolbar_focus
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 107.2.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -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 = "107.2.
|
|
19
|
+
var packageVersion = "107.2.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -31,7 +31,7 @@ var canRenderFallback = function canRenderFallback(node) {
|
|
|
31
31
|
|
|
32
32
|
// list of inline nodes with toDOM fallback implementations that can be virtualized. As
|
|
33
33
|
// additional nodes are converted they should be added here
|
|
34
|
-
var virtualizedNodeAllowlist = ['status', '
|
|
34
|
+
var virtualizedNodeAllowlist = ['status', 'emoji', 'inlineCard'];
|
|
35
35
|
function createNodeView(_ref) {
|
|
36
36
|
var nodeViewParams = _ref.nodeViewParams,
|
|
37
37
|
pmPluginFactoryParams = _ref.pmPluginFactoryParams,
|
|
@@ -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 = "107.2.
|
|
26
|
+
var packageVersion = "107.2.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.ToolbarArrowKeyNavigationProvider = exports.KeyDownHandlerContext = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
10
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
12
11
|
var _elementBrowser = require("../../element-browser");
|
|
13
12
|
var _messages = require("../../messages");
|
|
@@ -222,7 +221,7 @@ var ToolbarArrowKeyNavigationProvider = exports.ToolbarArrowKeyNavigationProvide
|
|
|
222
221
|
// Since here we programmatically focus the first button in the toolbar (as suppose to keyboard navigation), browser does not always force focus-visible to true
|
|
223
222
|
// which is why the first button in the toolbar is not shown with focus ring
|
|
224
223
|
// The workaround is add a new classname so we add back focus ring when the button is focused
|
|
225
|
-
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON'
|
|
224
|
+
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON') {
|
|
226
225
|
filteredFocusableElements[0].classList.add('first-floating-toolbar-button');
|
|
227
226
|
}
|
|
228
227
|
(_filteredFocusableEle9 = filteredFocusableElements[0]) === null || _filteredFocusableEle9 === void 0 || _filteredFocusableEle9.scrollIntoView({
|
|
@@ -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 = "107.2.
|
|
4
|
+
const packageVersion = "107.2.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -23,7 +23,7 @@ const canRenderFallback = node => {
|
|
|
23
23
|
|
|
24
24
|
// list of inline nodes with toDOM fallback implementations that can be virtualized. As
|
|
25
25
|
// additional nodes are converted they should be added here
|
|
26
|
-
const virtualizedNodeAllowlist = ['status', '
|
|
26
|
+
const virtualizedNodeAllowlist = ['status', 'emoji', 'inlineCard'];
|
|
27
27
|
function createNodeView({
|
|
28
28
|
nodeViewParams,
|
|
29
29
|
pmPluginFactoryParams,
|
|
@@ -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 = "107.2.
|
|
16
|
+
const packageVersion = "107.2.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -7,7 +7,6 @@ import React, { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
12
11
|
import { ELEMENT_BROWSER_ID } from '../../element-browser';
|
|
13
12
|
import { fullPageMessages } from '../../messages';
|
|
@@ -214,7 +213,7 @@ export const ToolbarArrowKeyNavigationProvider = ({
|
|
|
214
213
|
// Since here we programmatically focus the first button in the toolbar (as suppose to keyboard navigation), browser does not always force focus-visible to true
|
|
215
214
|
// which is why the first button in the toolbar is not shown with focus ring
|
|
216
215
|
// The workaround is add a new classname so we add back focus ring when the button is focused
|
|
217
|
-
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON'
|
|
216
|
+
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON') {
|
|
218
217
|
filteredFocusableElements[0].classList.add('first-floating-toolbar-button');
|
|
219
218
|
}
|
|
220
219
|
(_filteredFocusableEle9 = filteredFocusableElements[0]) === null || _filteredFocusableEle9 === void 0 ? void 0 : _filteredFocusableEle9.scrollIntoView({
|
|
@@ -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 = "107.2.
|
|
10
|
+
var packageVersion = "107.2.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -26,7 +26,7 @@ var canRenderFallback = function canRenderFallback(node) {
|
|
|
26
26
|
|
|
27
27
|
// list of inline nodes with toDOM fallback implementations that can be virtualized. As
|
|
28
28
|
// additional nodes are converted they should be added here
|
|
29
|
-
var virtualizedNodeAllowlist = ['status', '
|
|
29
|
+
var virtualizedNodeAllowlist = ['status', 'emoji', 'inlineCard'];
|
|
30
30
|
function createNodeView(_ref) {
|
|
31
31
|
var nodeViewParams = _ref.nodeViewParams,
|
|
32
32
|
pmPluginFactoryParams = _ref.pmPluginFactoryParams,
|
|
@@ -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 = "107.2.
|
|
23
|
+
var packageVersion = "107.2.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -7,7 +7,6 @@ import React, { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
12
11
|
import { ELEMENT_BROWSER_ID } from '../../element-browser';
|
|
13
12
|
import { fullPageMessages } from '../../messages';
|
|
@@ -214,7 +213,7 @@ export var ToolbarArrowKeyNavigationProvider = function ToolbarArrowKeyNavigatio
|
|
|
214
213
|
// Since here we programmatically focus the first button in the toolbar (as suppose to keyboard navigation), browser does not always force focus-visible to true
|
|
215
214
|
// which is why the first button in the toolbar is not shown with focus ring
|
|
216
215
|
// The workaround is add a new classname so we add back focus ring when the button is focused
|
|
217
|
-
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON'
|
|
216
|
+
if (((_filteredFocusableEle8 = filteredFocusableElements[0]) === null || _filteredFocusableEle8 === void 0 ? void 0 : _filteredFocusableEle8.tagName) === 'BUTTON') {
|
|
218
217
|
filteredFocusableElements[0].classList.add('first-floating-toolbar-button');
|
|
219
218
|
}
|
|
220
219
|
(_filteredFocusableEle9 = filteredFocusableElements[0]) === null || _filteredFocusableEle9 === void 0 || _filteredFocusableEle9.scrollIntoView({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "107.2.
|
|
3
|
+
"version": "107.2.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/"
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
142
142
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
143
143
|
"@atlaskit/emoji": "^69.3.0",
|
|
144
|
-
"@atlaskit/icon": "^27.
|
|
144
|
+
"@atlaskit/icon": "^27.2.0",
|
|
145
145
|
"@atlaskit/icon-object": "^7.1.0",
|
|
146
146
|
"@atlaskit/link": "^3.2.0",
|
|
147
147
|
"@atlaskit/link-datasource": "^4.11.0",
|
|
@@ -159,10 +159,10 @@
|
|
|
159
159
|
"@atlaskit/onboarding": "^14.2.0",
|
|
160
160
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
161
161
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
162
|
-
"@atlaskit/popper": "^7.
|
|
162
|
+
"@atlaskit/popper": "^7.1.0",
|
|
163
163
|
"@atlaskit/primitives": "^14.9.0",
|
|
164
164
|
"@atlaskit/profilecard": "^23.21.0",
|
|
165
|
-
"@atlaskit/react-ufo": "^3.
|
|
165
|
+
"@atlaskit/react-ufo": "^3.14.0",
|
|
166
166
|
"@atlaskit/section-message": "^8.2.0",
|
|
167
167
|
"@atlaskit/smart-card": "^38.14.0",
|
|
168
168
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"@atlaskit/task-decision": "^19.2.0",
|
|
171
171
|
"@atlaskit/textfield": "^8.0.0",
|
|
172
172
|
"@atlaskit/theme": "^18.0.0",
|
|
173
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
173
|
+
"@atlaskit/tmp-editor-statsig": "^8.2.0",
|
|
174
174
|
"@atlaskit/tokens": "^5.4.0",
|
|
175
175
|
"@atlaskit/tooltip": "^20.3.0",
|
|
176
176
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -368,9 +368,6 @@
|
|
|
368
368
|
"should-render-to-parent-should-be-true-editor": {
|
|
369
369
|
"type": "boolean"
|
|
370
370
|
},
|
|
371
|
-
"platform_editor_fix_floating_toolbar_focus": {
|
|
372
|
-
"type": "boolean"
|
|
373
|
-
},
|
|
374
371
|
"confluence_connect_macro_preset_height": {
|
|
375
372
|
"type": "boolean"
|
|
376
373
|
},
|