@atlaskit/editor-common 120.8.0 → 120.10.0
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 +19 -0
- package/dist/cjs/block-controls/surface-keys.js +9 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/block-controls/surface-keys.js +8 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/block-controls/surface-keys.js +8 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/block-controls/surface-keys.d.ts +8 -0
- package/package.json +44 -44
- package/report.api.md +0 -37
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 120.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`14f10ff093c15`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14f10ff093c15) -
|
|
8
|
+
EDITOR-8770: Add the right control surface - currently only used in example page and behind
|
|
9
|
+
platform_editor_block_control_right_surface
|
|
10
|
+
|
|
11
|
+
## 120.9.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
16
|
+
Remove stale API report artifacts from published Platform packages.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 120.8.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.BLOCK_CONTROLS_RIGHT_SURFACE = exports.BLOCK_CONTROLS_LEFT_SURFACE = exports.BLOCK_CONTROLS_LEFT_SECTION = exports.BLOCK_CONTROLS_LEFT_GROUP = void 0;
|
|
6
|
+
exports.BLOCK_CONTROLS_RIGHT_SURFACE = exports.BLOCK_CONTROLS_RIGHT_SECTION = exports.BLOCK_CONTROLS_RIGHT_GROUP = exports.BLOCK_CONTROLS_LEFT_SURFACE = exports.BLOCK_CONTROLS_LEFT_SECTION = exports.BLOCK_CONTROLS_LEFT_GROUP = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* Stable identifiers for registry-backed block-control surfaces and their layout containers.
|
|
9
9
|
* They live in editor-common so contributors do not depend on the Block Controls plugin.
|
|
@@ -23,4 +23,12 @@ var BLOCK_CONTROLS_LEFT_SECTION = exports.BLOCK_CONTROLS_LEFT_SECTION = {
|
|
|
23
23
|
var BLOCK_CONTROLS_LEFT_GROUP = exports.BLOCK_CONTROLS_LEFT_GROUP = {
|
|
24
24
|
key: 'block-controls-left-group',
|
|
25
25
|
type: 'group'
|
|
26
|
+
};
|
|
27
|
+
var BLOCK_CONTROLS_RIGHT_SECTION = exports.BLOCK_CONTROLS_RIGHT_SECTION = {
|
|
28
|
+
key: 'block-controls-right-section',
|
|
29
|
+
type: 'section'
|
|
30
|
+
};
|
|
31
|
+
var BLOCK_CONTROLS_RIGHT_GROUP = exports.BLOCK_CONTROLS_RIGHT_GROUP = {
|
|
32
|
+
key: 'block-controls-right-group',
|
|
33
|
+
type: 'group'
|
|
26
34
|
};
|
|
@@ -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 = "120.
|
|
31
|
+
var packageVersion = "120.9.0";
|
|
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 = "120.
|
|
27
|
+
var packageVersion = "120.9.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -17,4 +17,12 @@ export const BLOCK_CONTROLS_LEFT_SECTION = {
|
|
|
17
17
|
export const BLOCK_CONTROLS_LEFT_GROUP = {
|
|
18
18
|
key: 'block-controls-left-group',
|
|
19
19
|
type: 'group'
|
|
20
|
+
};
|
|
21
|
+
export const BLOCK_CONTROLS_RIGHT_SECTION = {
|
|
22
|
+
key: 'block-controls-right-section',
|
|
23
|
+
type: 'section'
|
|
24
|
+
};
|
|
25
|
+
export const BLOCK_CONTROLS_RIGHT_GROUP = {
|
|
26
|
+
key: 'block-controls-right-group',
|
|
27
|
+
type: 'group'
|
|
20
28
|
};
|
|
@@ -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 = "120.
|
|
17
|
+
const packageVersion = "120.9.0";
|
|
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/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "120.
|
|
17
|
+
const packageVersion = "120.9.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -17,4 +17,12 @@ export var BLOCK_CONTROLS_LEFT_SECTION = {
|
|
|
17
17
|
export var BLOCK_CONTROLS_LEFT_GROUP = {
|
|
18
18
|
key: 'block-controls-left-group',
|
|
19
19
|
type: 'group'
|
|
20
|
+
};
|
|
21
|
+
export var BLOCK_CONTROLS_RIGHT_SECTION = {
|
|
22
|
+
key: 'block-controls-right-section',
|
|
23
|
+
type: 'section'
|
|
24
|
+
};
|
|
25
|
+
export var BLOCK_CONTROLS_RIGHT_GROUP = {
|
|
26
|
+
key: 'block-controls-right-group',
|
|
27
|
+
type: 'group'
|
|
20
28
|
};
|
|
@@ -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 = "120.
|
|
23
|
+
var packageVersion = "120.9.0";
|
|
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/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "120.
|
|
24
|
+
var packageVersion = "120.9.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -18,3 +18,11 @@ export declare const BLOCK_CONTROLS_LEFT_GROUP: {
|
|
|
18
18
|
readonly key: 'block-controls-left-group';
|
|
19
19
|
readonly type: 'group';
|
|
20
20
|
};
|
|
21
|
+
export declare const BLOCK_CONTROLS_RIGHT_SECTION: {
|
|
22
|
+
readonly key: 'block-controls-right-section';
|
|
23
|
+
readonly type: 'section';
|
|
24
|
+
};
|
|
25
|
+
export declare const BLOCK_CONTROLS_RIGHT_GROUP: {
|
|
26
|
+
readonly key: 'block-controls-right-group';
|
|
27
|
+
readonly type: 'group';
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "120.
|
|
3
|
+
"version": "120.10.0",
|
|
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/"
|
|
@@ -28,66 +28,66 @@
|
|
|
28
28
|
"singleton": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/activity-provider": "^3.
|
|
31
|
+
"@atlaskit/activity-provider": "^3.1.0",
|
|
32
32
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
33
|
-
"@atlaskit/adf-utils": "^20.
|
|
33
|
+
"@atlaskit/adf-utils": "^20.8.0",
|
|
34
34
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
|
|
35
|
-
"@atlaskit/analytics-listeners": "^11.
|
|
36
|
-
"@atlaskit/analytics-namespaced-context": "^8.
|
|
37
|
-
"@atlaskit/analytics-next": "^12.
|
|
35
|
+
"@atlaskit/analytics-listeners": "^11.3.0",
|
|
36
|
+
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
37
|
+
"@atlaskit/analytics-next": "^12.5.0",
|
|
38
38
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
39
39
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
40
|
-
"@atlaskit/button": "^25.
|
|
41
|
-
"@atlaskit/codemod-utils": "^5.
|
|
40
|
+
"@atlaskit/button": "^25.3.0",
|
|
41
|
+
"@atlaskit/codemod-utils": "^5.1.0",
|
|
42
42
|
"@atlaskit/css": "^1.1.0",
|
|
43
|
-
"@atlaskit/custom-steps": "^1.
|
|
44
|
-
"@atlaskit/dropdown-menu": "^18.
|
|
45
|
-
"@atlaskit/editor-json-transformer": "^9.
|
|
46
|
-
"@atlaskit/editor-palette": "^3.
|
|
43
|
+
"@atlaskit/custom-steps": "^1.1.0",
|
|
44
|
+
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
45
|
+
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
46
|
+
"@atlaskit/editor-palette": "^3.5.0",
|
|
47
47
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
48
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
49
|
-
"@atlaskit/editor-tables": "^3.
|
|
48
|
+
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
49
|
+
"@atlaskit/editor-tables": "^3.1.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
52
52
|
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
53
|
-
"@atlaskit/emoji": "^72.
|
|
53
|
+
"@atlaskit/emoji": "^72.2.0",
|
|
54
54
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
55
|
-
"@atlaskit/icon": "^37.
|
|
55
|
+
"@atlaskit/icon": "^37.6.0",
|
|
56
56
|
"@atlaskit/link": "^5.1.0",
|
|
57
|
-
"@atlaskit/link-datasource": "^6.
|
|
58
|
-
"@atlaskit/link-picker": "^6.
|
|
59
|
-
"@atlaskit/media-card": "^81.
|
|
60
|
-
"@atlaskit/media-client": "^37.
|
|
61
|
-
"@atlaskit/media-client-react": "^6.
|
|
62
|
-
"@atlaskit/media-common": "^14.
|
|
57
|
+
"@atlaskit/link-datasource": "^6.8.0",
|
|
58
|
+
"@atlaskit/link-picker": "^6.6.0",
|
|
59
|
+
"@atlaskit/media-card": "^81.9.0",
|
|
60
|
+
"@atlaskit/media-client": "^37.6.0",
|
|
61
|
+
"@atlaskit/media-client-react": "^6.3.0",
|
|
62
|
+
"@atlaskit/media-common": "^14.6.0",
|
|
63
63
|
"@atlaskit/media-file-preview": "^1.3.0",
|
|
64
|
-
"@atlaskit/media-picker": "^72.
|
|
65
|
-
"@atlaskit/media-ui": "^30.
|
|
66
|
-
"@atlaskit/media-viewer": "^54.
|
|
67
|
-
"@atlaskit/mention": "^27.
|
|
68
|
-
"@atlaskit/menu": "^10.
|
|
64
|
+
"@atlaskit/media-picker": "^72.4.0",
|
|
65
|
+
"@atlaskit/media-ui": "^30.15.0",
|
|
66
|
+
"@atlaskit/media-viewer": "^54.8.0",
|
|
67
|
+
"@atlaskit/mention": "^27.19.0",
|
|
68
|
+
"@atlaskit/menu": "^10.2.0",
|
|
69
69
|
"@atlaskit/object": "^2.3.0",
|
|
70
|
-
"@atlaskit/onboarding": "^15.
|
|
70
|
+
"@atlaskit/onboarding": "^15.4.0",
|
|
71
71
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
72
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
72
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
74
|
-
"@atlaskit/popper": "^9.
|
|
75
|
-
"@atlaskit/primitives": "^22.
|
|
76
|
-
"@atlaskit/profilecard": "^26.
|
|
74
|
+
"@atlaskit/popper": "^9.4.0",
|
|
75
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
76
|
+
"@atlaskit/profilecard": "^26.21.0",
|
|
77
77
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
78
78
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
79
79
|
"@atlaskit/react-ufo": "^7.7.0",
|
|
80
|
-
"@atlaskit/section-message": "^10.
|
|
81
|
-
"@atlaskit/smart-card": "^45.
|
|
82
|
-
"@atlaskit/smart-user-picker": "^11.
|
|
83
|
-
"@atlaskit/spinner": "^20.
|
|
84
|
-
"@atlaskit/task-decision": "^21.
|
|
80
|
+
"@atlaskit/section-message": "^10.2.0",
|
|
81
|
+
"@atlaskit/smart-card": "^45.19.0",
|
|
82
|
+
"@atlaskit/smart-user-picker": "^11.6.0",
|
|
83
|
+
"@atlaskit/spinner": "^20.4.0",
|
|
84
|
+
"@atlaskit/task-decision": "^21.9.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^3.0.0",
|
|
86
|
-
"@atlaskit/textfield": "^10.
|
|
86
|
+
"@atlaskit/textfield": "^10.2.0",
|
|
87
87
|
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
88
|
-
"@atlaskit/tokens": "^16.
|
|
89
|
-
"@atlaskit/tooltip": "^24.
|
|
90
|
-
"@atlaskit/width-detector": "^7.
|
|
88
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
89
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
90
|
+
"@atlaskit/width-detector": "^7.2.0",
|
|
91
91
|
"@babel/runtime": "^7.0.0",
|
|
92
92
|
"@compiled/react": "^1.0.2",
|
|
93
93
|
"@emotion/react": "^11.7.1",
|
|
@@ -118,16 +118,16 @@
|
|
|
118
118
|
"w3c-keyname": "^2.1.8"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"@atlaskit/media-core": "^38.
|
|
121
|
+
"@atlaskit/media-core": "^38.2.0",
|
|
122
122
|
"react": "^18.2.0 || ^19.2.0",
|
|
123
123
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
124
124
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@atlaskit/media-core": "^38.
|
|
127
|
+
"@atlaskit/media-core": "^38.2.0",
|
|
128
128
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
129
129
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
130
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
130
|
+
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
131
131
|
"@atlassian/testing-library": "^0.11.0",
|
|
132
132
|
"@testing-library/dom": "^10.1.0",
|
|
133
133
|
"@testing-library/jest-dom": "^6.4.5",
|
package/report.api.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-common"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
// (No @packageDocumentation comment for this package)
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
<!--SECTION END: Main Entry Types-->
|
|
23
|
-
|
|
24
|
-
### Peer Dependencies
|
|
25
|
-
|
|
26
|
-
<!--SECTION START: Peer Dependencies-->
|
|
27
|
-
|
|
28
|
-
```json
|
|
29
|
-
{
|
|
30
|
-
"@atlaskit/media-core": "^34.1.2",
|
|
31
|
-
"react": "^16.8.0",
|
|
32
|
-
"react-dom": "^16.8.0",
|
|
33
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
<!--SECTION END: Peer Dependencies-->
|