@atlaskit/editor-common 115.16.0 → 115.16.1
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 +9 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/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/LinkPicker/HyperlinkAddToolbar/index.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 115.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`027beb2f61316`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/027beb2f61316) -
|
|
8
|
+
Update smart link appearance, if and only if smart link is created from confluence editor quick
|
|
9
|
+
insert menu
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 115.16.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -27,7 +27,7 @@ var onSubmitInterface = function onSubmitInterface(onSubmit) {
|
|
|
27
27
|
displayText = _ref.displayText,
|
|
28
28
|
rawUrl = _ref.rawUrl,
|
|
29
29
|
meta = _ref.meta;
|
|
30
|
-
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? _analytics.INPUT_METHOD.MANUAL : _analytics.INPUT_METHOD.TYPEAHEAD, analytic);
|
|
30
|
+
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? _analytics.INPUT_METHOD.MANUAL : _analytics.INPUT_METHOD.TYPEAHEAD, analytic, meta.appearance);
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
function HyperlinkAddToolbar(_ref2) {
|
|
@@ -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 = "115.
|
|
31
|
+
var packageVersion = "115.16.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 = "115.
|
|
27
|
+
var packageVersion = "115.16.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -16,7 +16,7 @@ const onSubmitInterface = onSubmit => ({
|
|
|
16
16
|
rawUrl,
|
|
17
17
|
meta
|
|
18
18
|
}, analytic) => {
|
|
19
|
-
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? INPUT_METHOD.MANUAL : INPUT_METHOD.TYPEAHEAD, analytic);
|
|
19
|
+
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? INPUT_METHOD.MANUAL : INPUT_METHOD.TYPEAHEAD, analytic, meta.appearance);
|
|
20
20
|
};
|
|
21
21
|
export function HyperlinkAddToolbar({
|
|
22
22
|
linkPickerOptions: {
|
|
@@ -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 = "115.
|
|
17
|
+
const packageVersion = "115.16.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';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "115.
|
|
17
|
+
const packageVersion = "115.16.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -18,7 +18,7 @@ var onSubmitInterface = function onSubmitInterface(onSubmit) {
|
|
|
18
18
|
displayText = _ref.displayText,
|
|
19
19
|
rawUrl = _ref.rawUrl,
|
|
20
20
|
meta = _ref.meta;
|
|
21
|
-
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? INPUT_METHOD.MANUAL : INPUT_METHOD.TYPEAHEAD, analytic);
|
|
21
|
+
onSubmit(url, title !== null && title !== void 0 ? title : rawUrl, displayText || undefined, meta.inputMethod === 'manual' ? INPUT_METHOD.MANUAL : INPUT_METHOD.TYPEAHEAD, analytic, meta.appearance);
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export function HyperlinkAddToolbar(_ref2) {
|
|
@@ -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 = "115.
|
|
23
|
+
var packageVersion = "115.16.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';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "115.
|
|
24
|
+
var packageVersion = "115.16.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { ProviderFactory } from '../../../provider-factory';
|
|
4
|
+
import type { CardAppearance, ProviderFactory } from '../../../provider-factory';
|
|
5
5
|
import type { Command, EditorAppearance, LinkInputType, LinkPickerOptions } from '../../../types';
|
|
6
6
|
import type { EditorLinkPickerProps } from '../EditorLinkPicker';
|
|
7
7
|
export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'onCancel' | 'invokeMethod' | 'onClose'> {
|
|
@@ -14,7 +14,7 @@ export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'o
|
|
|
14
14
|
lpLinkPicker: boolean;
|
|
15
15
|
onClickAwayCallback?: Command;
|
|
16
16
|
onEscapeCallback?: Command;
|
|
17
|
-
onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined) => void;
|
|
17
|
+
onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => void;
|
|
18
18
|
providerFactory: ProviderFactory;
|
|
19
19
|
recentSearchListSize?: number;
|
|
20
20
|
searchSessionId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "115.16.
|
|
3
|
+
"version": "115.16.1",
|
|
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/"
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
"@atlaskit/link-datasource": "^5.6.0",
|
|
64
64
|
"@atlaskit/link-picker": "^5.3.0",
|
|
65
65
|
"@atlaskit/media-card": "^80.8.0",
|
|
66
|
-
"@atlaskit/media-client": "^36.
|
|
66
|
+
"@atlaskit/media-client": "^36.4.0",
|
|
67
67
|
"@atlaskit/media-client-react": "^5.2.0",
|
|
68
68
|
"@atlaskit/media-common": "^13.3.0",
|
|
69
69
|
"@atlaskit/media-file-preview": "^0.18.0",
|
|
70
70
|
"@atlaskit/media-picker": "^71.4.0",
|
|
71
71
|
"@atlaskit/media-ui": "^29.3.0",
|
|
72
72
|
"@atlaskit/media-viewer": "^53.2.0",
|
|
73
|
-
"@atlaskit/mention": "^26.
|
|
73
|
+
"@atlaskit/mention": "^26.3.0",
|
|
74
74
|
"@atlaskit/menu": "^8.5.0",
|
|
75
75
|
"@atlaskit/object": "^1.0.0",
|
|
76
76
|
"@atlaskit/onboarding": "^14.6.0",
|