@atlaskit/editor-common 107.16.2 → 107.16.3
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/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/wrap-selection-in.js +3 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/wrap-selection-in.js +3 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/wrap-selection-in.js +3 -2
- package/dist/types/utils/wrap-selection-in.d.ts +1 -1
- package/dist/types-ts4.5/utils/wrap-selection-in.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 107.16.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#195353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195353)
|
|
8
|
+
[`dc5e7898ce269`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc5e7898ce269) -
|
|
9
|
+
EDITOR-1104 Replace panel with panelWithLocalId behind platform_editor_adf_with_localid feature
|
|
10
|
+
gate.
|
|
11
|
+
- [#195649](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195649)
|
|
12
|
+
[`231bb33e06dfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231bb33e06dfe) -
|
|
13
|
+
EDITOR-1131 Bump adf-schema version to 50.2.0
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 107.16.2
|
|
4
17
|
|
|
5
18
|
### 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.16.
|
|
19
|
+
var packageVersion = "107.16.2";
|
|
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 = "107.16.
|
|
26
|
+
var packageVersion = "107.16.2";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -11,11 +11,12 @@ var _createWrapSelectionTransaction = require("./create-wrap-selection-transacti
|
|
|
11
11
|
* 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
|
|
12
12
|
* and set selection on it.
|
|
13
13
|
*/
|
|
14
|
-
function wrapSelectionIn(type) {
|
|
14
|
+
function wrapSelectionIn(type, nodeAttributes) {
|
|
15
15
|
return function (state, dispatch) {
|
|
16
16
|
var tr = (0, _createWrapSelectionTransaction.createWrapSelectionTransaction)({
|
|
17
17
|
state: state,
|
|
18
|
-
type: type
|
|
18
|
+
type: type,
|
|
19
|
+
nodeAttributes: nodeAttributes
|
|
19
20
|
});
|
|
20
21
|
if (dispatch) {
|
|
21
22
|
dispatch(tr);
|
|
@@ -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.16.
|
|
4
|
+
const packageVersion = "107.16.2";
|
|
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 = "107.16.
|
|
16
|
+
const packageVersion = "107.16.2";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -5,11 +5,12 @@ import { createWrapSelectionTransaction } from './create-wrap-selection-transact
|
|
|
5
5
|
* 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
|
|
6
6
|
* and set selection on it.
|
|
7
7
|
*/
|
|
8
|
-
export function wrapSelectionIn(type) {
|
|
8
|
+
export function wrapSelectionIn(type, nodeAttributes) {
|
|
9
9
|
return function (state, dispatch) {
|
|
10
10
|
const tr = createWrapSelectionTransaction({
|
|
11
11
|
state,
|
|
12
|
-
type
|
|
12
|
+
type,
|
|
13
|
+
nodeAttributes
|
|
13
14
|
});
|
|
14
15
|
if (dispatch) {
|
|
15
16
|
dispatch(tr);
|
|
@@ -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.16.
|
|
10
|
+
var packageVersion = "107.16.2";
|
|
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 = "107.16.
|
|
23
|
+
var packageVersion = "107.16.2";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -5,11 +5,12 @@ import { createWrapSelectionTransaction } from './create-wrap-selection-transact
|
|
|
5
5
|
* 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
|
|
6
6
|
* and set selection on it.
|
|
7
7
|
*/
|
|
8
|
-
export function wrapSelectionIn(type) {
|
|
8
|
+
export function wrapSelectionIn(type, nodeAttributes) {
|
|
9
9
|
return function (state, dispatch) {
|
|
10
10
|
var tr = createWrapSelectionTransaction({
|
|
11
11
|
state: state,
|
|
12
|
-
type: type
|
|
12
|
+
type: type,
|
|
13
|
+
nodeAttributes: nodeAttributes
|
|
13
14
|
});
|
|
14
15
|
if (dispatch) {
|
|
15
16
|
dispatch(tr);
|
|
@@ -6,4 +6,4 @@ import type { Command } from '../types';
|
|
|
6
6
|
* 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
|
|
7
7
|
* and set selection on it.
|
|
8
8
|
*/
|
|
9
|
-
export declare function wrapSelectionIn(type: NodeType): Command;
|
|
9
|
+
export declare function wrapSelectionIn(type: NodeType, nodeAttributes?: Record<string, unknown>): Command;
|
|
@@ -6,4 +6,4 @@ import type { Command } from '../types';
|
|
|
6
6
|
* 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
|
|
7
7
|
* and set selection on it.
|
|
8
8
|
*/
|
|
9
|
-
export declare function wrapSelectionIn(type: NodeType): Command;
|
|
9
|
+
export declare function wrapSelectionIn(type: NodeType, nodeAttributes?: Record<string, unknown>): Command;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "107.16.
|
|
3
|
+
"version": "107.16.3",
|
|
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/"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
},
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
127
|
-
"@atlaskit/adf-schema": "^50.0
|
|
127
|
+
"@atlaskit/adf-schema": "^50.2.0",
|
|
128
128
|
"@atlaskit/adf-utils": "^19.20.0",
|
|
129
129
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
130
130
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|