@atlaskit/editor-common 114.18.3 → 114.19.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 +19 -0
- package/dist/cjs/messages/media-and-embed-toolbar.js +5 -0
- package/dist/cjs/messages/native-embed-toolbar.js +12 -12
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/media-and-embed-toolbar.js +5 -0
- package/dist/es2019/messages/native-embed-toolbar.js +12 -12
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/media-and-embed-toolbar.js +5 -0
- package/dist/esm/messages/native-embed-toolbar.js +12 -12
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/media-and-embed-toolbar.d.ts +13 -8
- package/dist/types-ts4.5/messages/media-and-embed-toolbar.d.ts +13 -8
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.19.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`76dff28130c6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76dff28130c6a) -
|
|
8
|
+
Add replace-media button to media plugin
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 114.19.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`59e4e1f797346`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/59e4e1f797346) -
|
|
16
|
+
Updating copy for the full screen expand toolbar on media and native embeds
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 114.18.3
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -30,5 +30,10 @@ var toolbarMessages = exports.toolbarMessages = (0, _reactIntl.defineMessages)({
|
|
|
30
30
|
id: 'fabric.editor.media_change_mediainline_caption_warn',
|
|
31
31
|
defaultMessage: 'Inline (caption will be removed)',
|
|
32
32
|
description: 'In the context of media single contains media node, it allows the user to convert media single to media inline image and warn user about caption being removed'
|
|
33
|
+
},
|
|
34
|
+
replaceMedia: {
|
|
35
|
+
id: 'fabric.editor.media.replace.non-final',
|
|
36
|
+
defaultMessage: 'Replace',
|
|
37
|
+
description: 'Replaces the source file of the selected image or media while preserving its size, layout, and caption.'
|
|
33
38
|
}
|
|
34
39
|
});
|
|
@@ -7,28 +7,28 @@ exports.nativeEmbedToolbarMessages = void 0;
|
|
|
7
7
|
var _reactIntl = require("react-intl");
|
|
8
8
|
var nativeEmbedToolbarMessages = exports.nativeEmbedToolbarMessages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
alwaysShowTitle: {
|
|
10
|
-
id: 'fabric.editor.alwaysShowTitle
|
|
10
|
+
id: 'fabric.editor.nativeEmbeds.alwaysShowTitle',
|
|
11
11
|
defaultMessage: 'Show embed title',
|
|
12
12
|
description: 'Label for the toggle to enable or disable the behaviour of always showing the title of the embed.'
|
|
13
13
|
},
|
|
14
|
+
expandPreview: {
|
|
15
|
+
id: 'fabric.editor.nativeEmbeds.expandPreview',
|
|
16
|
+
defaultMessage: 'Expand',
|
|
17
|
+
description: 'Label for the button to expand the embed to fullscreen.'
|
|
18
|
+
},
|
|
14
19
|
refresh: {
|
|
15
|
-
id: 'fabric.editor.refresh
|
|
20
|
+
id: 'fabric.editor.nativeEmbeds.refresh',
|
|
16
21
|
defaultMessage: 'Refresh',
|
|
17
22
|
description: 'Label for the button to refresh the embedded link.'
|
|
18
23
|
},
|
|
19
|
-
summarise: {
|
|
20
|
-
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
21
|
-
defaultMessage: 'Summarize',
|
|
22
|
-
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
23
|
-
},
|
|
24
24
|
setEmbedType: {
|
|
25
|
-
id: 'fabric.editor.setEmbedType
|
|
25
|
+
id: 'fabric.editor.nativeEmbeds.setEmbedType',
|
|
26
26
|
defaultMessage: 'Set embed type',
|
|
27
27
|
description: 'Label for the button to set the type of embed.'
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
id: 'fabric.editor.nativeEmbeds.
|
|
31
|
-
defaultMessage: '
|
|
32
|
-
description: 'Label for the button to
|
|
29
|
+
summarise: {
|
|
30
|
+
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
31
|
+
defaultMessage: 'Summarize',
|
|
32
|
+
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
33
33
|
}
|
|
34
34
|
});
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
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); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "
|
|
22
|
+
var packageVersion = "114.19.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// 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 = "
|
|
27
|
+
var packageVersion = "114.19.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -24,5 +24,10 @@ export const toolbarMessages = defineMessages({
|
|
|
24
24
|
id: 'fabric.editor.media_change_mediainline_caption_warn',
|
|
25
25
|
defaultMessage: 'Inline (caption will be removed)',
|
|
26
26
|
description: 'In the context of media single contains media node, it allows the user to convert media single to media inline image and warn user about caption being removed'
|
|
27
|
+
},
|
|
28
|
+
replaceMedia: {
|
|
29
|
+
id: 'fabric.editor.media.replace.non-final',
|
|
30
|
+
defaultMessage: 'Replace',
|
|
31
|
+
description: 'Replaces the source file of the selected image or media while preserving its size, layout, and caption.'
|
|
27
32
|
}
|
|
28
33
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl';
|
|
2
2
|
export const nativeEmbedToolbarMessages = defineMessages({
|
|
3
3
|
alwaysShowTitle: {
|
|
4
|
-
id: 'fabric.editor.alwaysShowTitle
|
|
4
|
+
id: 'fabric.editor.nativeEmbeds.alwaysShowTitle',
|
|
5
5
|
defaultMessage: 'Show embed title',
|
|
6
6
|
description: 'Label for the toggle to enable or disable the behaviour of always showing the title of the embed.'
|
|
7
7
|
},
|
|
8
|
+
expandPreview: {
|
|
9
|
+
id: 'fabric.editor.nativeEmbeds.expandPreview',
|
|
10
|
+
defaultMessage: 'Expand',
|
|
11
|
+
description: 'Label for the button to expand the embed to fullscreen.'
|
|
12
|
+
},
|
|
8
13
|
refresh: {
|
|
9
|
-
id: 'fabric.editor.refresh
|
|
14
|
+
id: 'fabric.editor.nativeEmbeds.refresh',
|
|
10
15
|
defaultMessage: 'Refresh',
|
|
11
16
|
description: 'Label for the button to refresh the embedded link.'
|
|
12
17
|
},
|
|
13
|
-
summarise: {
|
|
14
|
-
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
15
|
-
defaultMessage: 'Summarize',
|
|
16
|
-
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
17
|
-
},
|
|
18
18
|
setEmbedType: {
|
|
19
|
-
id: 'fabric.editor.setEmbedType
|
|
19
|
+
id: 'fabric.editor.nativeEmbeds.setEmbedType',
|
|
20
20
|
defaultMessage: 'Set embed type',
|
|
21
21
|
description: 'Label for the button to set the type of embed.'
|
|
22
22
|
},
|
|
23
|
-
|
|
24
|
-
id: 'fabric.editor.nativeEmbeds.
|
|
25
|
-
defaultMessage: '
|
|
26
|
-
description: 'Label for the button to
|
|
23
|
+
summarise: {
|
|
24
|
+
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
25
|
+
defaultMessage: 'Summarize',
|
|
26
|
+
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "
|
|
7
|
+
const packageVersion = "114.19.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// 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 = "
|
|
17
|
+
const packageVersion = "114.19.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -24,5 +24,10 @@ export var toolbarMessages = defineMessages({
|
|
|
24
24
|
id: 'fabric.editor.media_change_mediainline_caption_warn',
|
|
25
25
|
defaultMessage: 'Inline (caption will be removed)',
|
|
26
26
|
description: 'In the context of media single contains media node, it allows the user to convert media single to media inline image and warn user about caption being removed'
|
|
27
|
+
},
|
|
28
|
+
replaceMedia: {
|
|
29
|
+
id: 'fabric.editor.media.replace.non-final',
|
|
30
|
+
defaultMessage: 'Replace',
|
|
31
|
+
description: 'Replaces the source file of the selected image or media while preserving its size, layout, and caption.'
|
|
27
32
|
}
|
|
28
33
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl';
|
|
2
2
|
export var nativeEmbedToolbarMessages = defineMessages({
|
|
3
3
|
alwaysShowTitle: {
|
|
4
|
-
id: 'fabric.editor.alwaysShowTitle
|
|
4
|
+
id: 'fabric.editor.nativeEmbeds.alwaysShowTitle',
|
|
5
5
|
defaultMessage: 'Show embed title',
|
|
6
6
|
description: 'Label for the toggle to enable or disable the behaviour of always showing the title of the embed.'
|
|
7
7
|
},
|
|
8
|
+
expandPreview: {
|
|
9
|
+
id: 'fabric.editor.nativeEmbeds.expandPreview',
|
|
10
|
+
defaultMessage: 'Expand',
|
|
11
|
+
description: 'Label for the button to expand the embed to fullscreen.'
|
|
12
|
+
},
|
|
8
13
|
refresh: {
|
|
9
|
-
id: 'fabric.editor.refresh
|
|
14
|
+
id: 'fabric.editor.nativeEmbeds.refresh',
|
|
10
15
|
defaultMessage: 'Refresh',
|
|
11
16
|
description: 'Label for the button to refresh the embedded link.'
|
|
12
17
|
},
|
|
13
|
-
summarise: {
|
|
14
|
-
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
15
|
-
defaultMessage: 'Summarize',
|
|
16
|
-
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
17
|
-
},
|
|
18
18
|
setEmbedType: {
|
|
19
|
-
id: 'fabric.editor.setEmbedType
|
|
19
|
+
id: 'fabric.editor.nativeEmbeds.setEmbedType',
|
|
20
20
|
defaultMessage: 'Set embed type',
|
|
21
21
|
description: 'Label for the button to set the type of embed.'
|
|
22
22
|
},
|
|
23
|
-
|
|
24
|
-
id: 'fabric.editor.nativeEmbeds.
|
|
25
|
-
defaultMessage: '
|
|
26
|
-
description: 'Label for the button to
|
|
23
|
+
summarise: {
|
|
24
|
+
id: 'fabric.editor.nativeEmbeds.summarise',
|
|
25
|
+
defaultMessage: 'Summarize',
|
|
26
|
+
description: 'Label for the button to summarize the content of the embedded link using AI.'
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "
|
|
13
|
+
var packageVersion = "114.19.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// 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 = "
|
|
24
|
+
var packageVersion = "114.19.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,27 +1,32 @@
|
|
|
1
1
|
export declare const toolbarMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
changeToMediaInlineImage: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
wrapRight: {
|
|
8
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
changeToMediaInlineImageCaptionWarning: {
|
|
9
8
|
defaultMessage: string;
|
|
10
9
|
description: string;
|
|
10
|
+
id: string;
|
|
11
11
|
};
|
|
12
12
|
changeToMediaSingle: {
|
|
13
|
-
id: string;
|
|
14
13
|
defaultMessage: string;
|
|
15
14
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
changeToMediaInlineImage: {
|
|
18
15
|
id: string;
|
|
16
|
+
};
|
|
17
|
+
replaceMedia: {
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
20
|
+
id: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
wrapLeft: {
|
|
23
|
+
defaultMessage: string;
|
|
24
|
+
description: string;
|
|
23
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
wrapRight: {
|
|
24
28
|
defaultMessage: string;
|
|
25
29
|
description: string;
|
|
30
|
+
id: string;
|
|
26
31
|
};
|
|
27
32
|
};
|
|
@@ -1,27 +1,32 @@
|
|
|
1
1
|
export declare const toolbarMessages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
changeToMediaInlineImage: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
wrapRight: {
|
|
8
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
changeToMediaInlineImageCaptionWarning: {
|
|
9
8
|
defaultMessage: string;
|
|
10
9
|
description: string;
|
|
10
|
+
id: string;
|
|
11
11
|
};
|
|
12
12
|
changeToMediaSingle: {
|
|
13
|
-
id: string;
|
|
14
13
|
defaultMessage: string;
|
|
15
14
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
changeToMediaInlineImage: {
|
|
18
15
|
id: string;
|
|
16
|
+
};
|
|
17
|
+
replaceMedia: {
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
20
|
+
id: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
wrapLeft: {
|
|
23
|
+
defaultMessage: string;
|
|
24
|
+
description: string;
|
|
23
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
wrapRight: {
|
|
24
28
|
defaultMessage: string;
|
|
25
29
|
description: string;
|
|
30
|
+
id: string;
|
|
26
31
|
};
|
|
27
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.
|
|
3
|
+
"version": "114.19.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/"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/media-common": "^13.2.0",
|
|
69
69
|
"@atlaskit/media-file-preview": "^0.17.0",
|
|
70
70
|
"@atlaskit/media-picker": "^71.2.0",
|
|
71
|
-
"@atlaskit/media-ui": "^29.
|
|
71
|
+
"@atlaskit/media-ui": "^29.2.0",
|
|
72
72
|
"@atlaskit/media-viewer": "^53.1.0",
|
|
73
73
|
"@atlaskit/mention": "^25.0.0",
|
|
74
74
|
"@atlaskit/menu": "^8.5.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@atlaskit/spinner": "^19.1.0",
|
|
87
87
|
"@atlaskit/task-decision": "^20.0.0",
|
|
88
88
|
"@atlaskit/textfield": "^8.3.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^74.
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^74.10.0",
|
|
90
90
|
"@atlaskit/tokens": "^13.0.0",
|
|
91
91
|
"@atlaskit/tooltip": "^22.0.0",
|
|
92
92
|
"@atlaskit/width-detector": "^5.1.0",
|