@atlaskit/editor-common 119.9.0 → 119.9.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 +14 -0
- package/dist/cjs/code-block/index.js +2 -6
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/code-block/index.js +2 -6
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/code-block/index.js +2 -6
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 119.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 119.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`4d7433f9c93d8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d7433f9c93d8) -
|
|
14
|
+
Clean up the enabled `platform_editor_code_block_fold_gutter` experiment for Confluence.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 119.9.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -158,9 +158,7 @@ var setCodeBlockFoldState = exports.setCodeBlockFoldState = function setCodeBloc
|
|
|
158
158
|
* Swap the old node key with the new node key in the wrapped states WeakMap.
|
|
159
159
|
*/
|
|
160
160
|
var transferCodeBlockWrappedValue = exports.transferCodeBlockWrappedValue = function transferCodeBlockWrappedValue(oldCodeBlockNode, newCodeBlockNode) {
|
|
161
|
-
|
|
162
|
-
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
163
|
-
}
|
|
161
|
+
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
164
162
|
|
|
165
163
|
// Don't overwrite the value for the new node if it already exists.
|
|
166
164
|
// This can happen when a drag&drop is swapping nodes.
|
|
@@ -193,9 +191,7 @@ var transferCodeBlockFoldValue = function transferCodeBlockFoldValue(oldCodeBloc
|
|
|
193
191
|
*/
|
|
194
192
|
var updateCodeBlockWrappedStateNodeKeys = exports.updateCodeBlockWrappedStateNodeKeys = function updateCodeBlockWrappedStateNodeKeys(newCodeBlockNodes, oldState) {
|
|
195
193
|
newCodeBlockNodes.forEach(function (newCodeBlockNode) {
|
|
196
|
-
|
|
197
|
-
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
198
|
-
}
|
|
194
|
+
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
199
195
|
// Don't overwrite the value for the new node if it already exists.
|
|
200
196
|
// This can happen when a drag&drop is swapping nodes.
|
|
201
197
|
if (codeBlockWrappedStates.has(newCodeBlockNode.node)) {
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "119.9.
|
|
31
|
+
var packageVersion = "119.9.1";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// 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 = "119.9.
|
|
27
|
+
var packageVersion = "119.9.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -140,9 +140,7 @@ export const setCodeBlockFoldState = (codeBlockNode, foldRanges) => {
|
|
|
140
140
|
* Swap the old node key with the new node key in the wrapped states WeakMap.
|
|
141
141
|
*/
|
|
142
142
|
export const transferCodeBlockWrappedValue = (oldCodeBlockNode, newCodeBlockNode) => {
|
|
143
|
-
|
|
144
|
-
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
145
|
-
}
|
|
143
|
+
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
146
144
|
|
|
147
145
|
// Don't overwrite the value for the new node if it already exists.
|
|
148
146
|
// This can happen when a drag&drop is swapping nodes.
|
|
@@ -175,9 +173,7 @@ const transferCodeBlockFoldValue = (oldCodeBlockNode, newCodeBlockNode) => {
|
|
|
175
173
|
*/
|
|
176
174
|
export const updateCodeBlockWrappedStateNodeKeys = (newCodeBlockNodes, oldState) => {
|
|
177
175
|
newCodeBlockNodes.forEach(newCodeBlockNode => {
|
|
178
|
-
|
|
179
|
-
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
180
|
-
}
|
|
176
|
+
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
181
177
|
// Don't overwrite the value for the new node if it already exists.
|
|
182
178
|
// This can happen when a drag&drop is swapping nodes.
|
|
183
179
|
if (codeBlockWrappedStates.has(newCodeBlockNode.node)) {
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "119.9.
|
|
17
|
+
const packageVersion = "119.9.1";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// 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 = "119.9.
|
|
17
|
+
const packageVersion = "119.9.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -152,9 +152,7 @@ export var setCodeBlockFoldState = function setCodeBlockFoldState(codeBlockNode,
|
|
|
152
152
|
* Swap the old node key with the new node key in the wrapped states WeakMap.
|
|
153
153
|
*/
|
|
154
154
|
export var transferCodeBlockWrappedValue = function transferCodeBlockWrappedValue(oldCodeBlockNode, newCodeBlockNode) {
|
|
155
|
-
|
|
156
|
-
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
157
|
-
}
|
|
155
|
+
transferCodeBlockFoldValue(oldCodeBlockNode, newCodeBlockNode);
|
|
158
156
|
|
|
159
157
|
// Don't overwrite the value for the new node if it already exists.
|
|
160
158
|
// This can happen when a drag&drop is swapping nodes.
|
|
@@ -187,9 +185,7 @@ var transferCodeBlockFoldValue = function transferCodeBlockFoldValue(oldCodeBloc
|
|
|
187
185
|
*/
|
|
188
186
|
export var updateCodeBlockWrappedStateNodeKeys = function updateCodeBlockWrappedStateNodeKeys(newCodeBlockNodes, oldState) {
|
|
189
187
|
newCodeBlockNodes.forEach(function (newCodeBlockNode) {
|
|
190
|
-
|
|
191
|
-
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
192
|
-
}
|
|
188
|
+
updateCodeBlockFoldStateNodeKeys(newCodeBlockNode, oldState);
|
|
193
189
|
// Don't overwrite the value for the new node if it already exists.
|
|
194
190
|
// This can happen when a drag&drop is swapping nodes.
|
|
195
191
|
if (codeBlockWrappedStates.has(newCodeBlockNode.node)) {
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "119.9.
|
|
23
|
+
var packageVersion = "119.9.1";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// 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 = "119.9.
|
|
24
|
+
var packageVersion = "119.9.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": "119.9.
|
|
3
|
+
"version": "119.9.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/"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/editor-ui-control-model": "^2.7.0",
|
|
53
53
|
"@atlaskit/emoji": "^72.0.0",
|
|
54
54
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
55
|
-
"@atlaskit/icon": "^37.
|
|
55
|
+
"@atlaskit/icon": "^37.4.0",
|
|
56
56
|
"@atlaskit/link": "^5.0.0",
|
|
57
57
|
"@atlaskit/link-datasource": "^6.4.0",
|
|
58
58
|
"@atlaskit/link-picker": "^6.4.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/media-client-react": "^6.1.0",
|
|
62
62
|
"@atlaskit/media-common": "^14.4.0",
|
|
63
63
|
"@atlaskit/media-file-preview": "^1.1.0",
|
|
64
|
-
"@atlaskit/media-picker": "^72.
|
|
64
|
+
"@atlaskit/media-picker": "^72.2.0",
|
|
65
65
|
"@atlaskit/media-ui": "^30.11.0",
|
|
66
66
|
"@atlaskit/media-viewer": "^54.5.0",
|
|
67
67
|
"@atlaskit/mention": "^27.18.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/task-decision": "^21.8.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^2.2.0",
|
|
86
86
|
"@atlaskit/textfield": "^10.0.0",
|
|
87
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
87
|
+
"@atlaskit/tmp-editor-statsig": "^151.0.0",
|
|
88
88
|
"@atlaskit/tokens": "^16.7.0",
|
|
89
89
|
"@atlaskit/tooltip": "^24.0.0",
|
|
90
90
|
"@atlaskit/width-detector": "^7.0.0",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@atlaskit/media-core": "^38.0.0",
|
|
128
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
128
|
+
"@atlassian/a11y-jest-testing": "^0.16.0",
|
|
129
129
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
130
130
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
131
131
|
"@atlassian/testing-library": "^0.11.0",
|