@atlaskit/editor-common 116.42.0 → 116.43.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 +21 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/link/LinkSearch/types.d.ts +3 -3
- package/dist/types/portal/common.d.ts +1 -1
- package/dist/types/ui-menu/DropdownMenu/types.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.43.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`7d37c14edffa7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7d37c14edffa7) -
|
|
8
|
+
Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
|
|
9
|
+
(Group 3)
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 116.42.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`9291603af8830`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9291603af8830) -
|
|
20
|
+
Upgrade types to be compatible with React 19.
|
|
21
|
+
|
|
22
|
+
This was done with the official React codemod: https://github.com/eps1lon/types-react-codemod/
|
|
23
|
+
|
|
3
24
|
## 116.42.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
@@ -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 = "116.
|
|
31
|
+
var packageVersion = "116.42.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 = "116.
|
|
27
|
+
var packageVersion = "116.42.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -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 = "116.
|
|
17
|
+
const packageVersion = "116.42.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 = "116.
|
|
17
|
+
const packageVersion = "116.42.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -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 = "116.
|
|
23
|
+
var packageVersion = "116.42.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 = "116.
|
|
24
|
+
var packageVersion = "116.42.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -34,8 +34,8 @@ export interface RecentSearchState {
|
|
|
34
34
|
}
|
|
35
35
|
export type LinkSearchListItemData = {
|
|
36
36
|
container: string;
|
|
37
|
-
icon?: React.
|
|
38
|
-
iconUrl?: string
|
|
37
|
+
icon?: React.ReactElement | number | string;
|
|
38
|
+
iconUrl?: string;
|
|
39
39
|
lastUpdatedDate?: Date;
|
|
40
40
|
lastViewedDate?: Date;
|
|
41
41
|
name: string;
|
|
@@ -45,5 +45,5 @@ export type LinkSearchListItemData = {
|
|
|
45
45
|
} & ({
|
|
46
46
|
iconUrl: string;
|
|
47
47
|
} | {
|
|
48
|
-
icon: React.
|
|
48
|
+
icon: React.ReactElement | number | string;
|
|
49
49
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PortalManager } from './PortalManager';
|
|
3
|
-
type RenderFn = (children: () => React.
|
|
3
|
+
type RenderFn = (children: () => React.ReactElement | number | string | JSX.Element | null, container: HTMLElement, key: string, onBeforeReactDomRender?: () => void, immediate?: boolean) => void;
|
|
4
4
|
type RemoveFn = (key: string) => void;
|
|
5
5
|
type DestoryFn = () => void;
|
|
6
6
|
export interface PortalProviderAPI {
|
|
@@ -38,7 +38,7 @@ export interface MenuItem {
|
|
|
38
38
|
'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
|
|
39
39
|
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
40
40
|
className?: string;
|
|
41
|
-
content:
|
|
41
|
+
content: React.ReactElement | number | string | React.ReactFragment;
|
|
42
42
|
'data-testid'?: string;
|
|
43
43
|
elemAfter?: React.ReactElement<any>;
|
|
44
44
|
elemBefore?: React.ReactElement<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.
|
|
3
|
+
"version": "116.43.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/"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/activity-provider": "^3.0.0",
|
|
32
32
|
"@atlaskit/adf-schema": "^56.1.0",
|
|
33
33
|
"@atlaskit/adf-utils": "^20.3.0",
|
|
34
|
-
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.
|
|
34
|
+
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
|
|
35
35
|
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^2.3.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.1.0",
|
|
52
|
-
"@atlaskit/emoji": "^71.
|
|
52
|
+
"@atlaskit/emoji": "^71.15.0",
|
|
53
53
|
"@atlaskit/icon": "^37.2.0",
|
|
54
54
|
"@atlaskit/link": "^4.3.0",
|
|
55
55
|
"@atlaskit/link-datasource": "^6.3.0",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@atlaskit/media-common": "^14.3.0",
|
|
61
61
|
"@atlaskit/media-file-preview": "^1.1.0",
|
|
62
62
|
"@atlaskit/media-picker": "^72.1.0",
|
|
63
|
-
"@atlaskit/media-ui": "^30.
|
|
63
|
+
"@atlaskit/media-ui": "^30.11.0",
|
|
64
64
|
"@atlaskit/media-viewer": "^54.5.0",
|
|
65
|
-
"@atlaskit/mention": "^27.
|
|
65
|
+
"@atlaskit/mention": "^27.11.0",
|
|
66
66
|
"@atlaskit/menu": "^9.2.0",
|
|
67
67
|
"@atlaskit/object": "^2.2.0",
|
|
68
68
|
"@atlaskit/onboarding": "^15.1.0",
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
"@atlaskit/smart-card": "^45.13.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^11.2.0",
|
|
79
79
|
"@atlaskit/spinner": "^20.1.0",
|
|
80
|
-
"@atlaskit/task-decision": "^21.
|
|
80
|
+
"@atlaskit/task-decision": "^21.8.0",
|
|
81
81
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
82
82
|
"@atlaskit/textfield": "^9.1.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^135.
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^135.2.0",
|
|
84
84
|
"@atlaskit/tokens": "^16.3.0",
|
|
85
85
|
"@atlaskit/tooltip": "^23.2.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.2.0",
|