@atlaskit/editor-common 82.1.1 → 82.2.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 +14 -0
- package/dist/cjs/messages/link-toolbar.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/link-toolbar.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/link-toolbar.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/link-toolbar.d.ts +10 -0
- package/dist/types/types/feature-flags.d.ts +8 -0
- package/dist/types-ts4.5/messages/link-toolbar.d.ts +10 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 82.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#108600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108600)
|
|
8
|
+
[`74d240f6ce35b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/74d240f6ce35b) -
|
|
9
|
+
Added new i18n fields for the linking toolbar.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#109596](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109596)
|
|
14
|
+
[`a229428301e3e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a229428301e3e) -
|
|
15
|
+
ED-23600: Added tableSortColumnDiscoverability FF in editor
|
|
16
|
+
|
|
3
17
|
## 82.1.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -21,6 +21,16 @@ var linkToolbarMessages = exports.linkToolbarMessages = (0, _reactIntlNext.defin
|
|
|
21
21
|
defaultMessage: 'Unlink',
|
|
22
22
|
description: 'Removes the hyperlink but keeps your text.'
|
|
23
23
|
},
|
|
24
|
+
editDatasourceStandalone: {
|
|
25
|
+
id: 'fabric.editor.editDatasourceStandalone',
|
|
26
|
+
defaultMessage: 'Edit',
|
|
27
|
+
description: 'A standalone edit button to edit the datasource via a config modal'
|
|
28
|
+
},
|
|
29
|
+
editDatasourceStandaloneTooltip: {
|
|
30
|
+
id: 'fabric.editor.editDatasourceStandaloneTooltip',
|
|
31
|
+
defaultMessage: 'Edit search query',
|
|
32
|
+
description: 'A standalone edit button tooltip to hint at editing the datasource via a config modal'
|
|
33
|
+
},
|
|
24
34
|
editLink: {
|
|
25
35
|
id: 'fabric.editor.editLink',
|
|
26
36
|
defaultMessage: 'Edit link',
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "82.
|
|
20
|
+
var packageVersion = "82.2.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "82.
|
|
23
|
+
var packageVersion = "82.2.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -15,6 +15,16 @@ export const linkToolbarMessages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Unlink',
|
|
16
16
|
description: 'Removes the hyperlink but keeps your text.'
|
|
17
17
|
},
|
|
18
|
+
editDatasourceStandalone: {
|
|
19
|
+
id: 'fabric.editor.editDatasourceStandalone',
|
|
20
|
+
defaultMessage: 'Edit',
|
|
21
|
+
description: 'A standalone edit button to edit the datasource via a config modal'
|
|
22
|
+
},
|
|
23
|
+
editDatasourceStandaloneTooltip: {
|
|
24
|
+
id: 'fabric.editor.editDatasourceStandaloneTooltip',
|
|
25
|
+
defaultMessage: 'Edit search query',
|
|
26
|
+
description: 'A standalone edit button tooltip to hint at editing the datasource via a config modal'
|
|
27
|
+
},
|
|
18
28
|
editLink: {
|
|
19
29
|
id: 'fabric.editor.editLink',
|
|
20
30
|
defaultMessage: 'Edit link',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "82.
|
|
4
|
+
const packageVersion = "82.2.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "82.
|
|
10
|
+
const packageVersion = "82.2.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -15,6 +15,16 @@ export var linkToolbarMessages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Unlink',
|
|
16
16
|
description: 'Removes the hyperlink but keeps your text.'
|
|
17
17
|
},
|
|
18
|
+
editDatasourceStandalone: {
|
|
19
|
+
id: 'fabric.editor.editDatasourceStandalone',
|
|
20
|
+
defaultMessage: 'Edit',
|
|
21
|
+
description: 'A standalone edit button to edit the datasource via a config modal'
|
|
22
|
+
},
|
|
23
|
+
editDatasourceStandaloneTooltip: {
|
|
24
|
+
id: 'fabric.editor.editDatasourceStandaloneTooltip',
|
|
25
|
+
defaultMessage: 'Edit search query',
|
|
26
|
+
description: 'A standalone edit button tooltip to hint at editing the datasource via a config modal'
|
|
27
|
+
},
|
|
18
28
|
editLink: {
|
|
19
29
|
id: 'fabric.editor.editLink',
|
|
20
30
|
defaultMessage: 'Edit link',
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "82.
|
|
10
|
+
var packageVersion = "82.2.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "82.
|
|
18
|
+
var packageVersion = "82.2.0";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -14,6 +14,16 @@ export declare const linkToolbarMessages: {
|
|
|
14
14
|
defaultMessage: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
+
editDatasourceStandalone: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
editDatasourceStandaloneTooltip: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
17
27
|
editLink: {
|
|
18
28
|
id: string;
|
|
19
29
|
defaultMessage: string;
|
|
@@ -229,6 +229,14 @@ export type FeatureFlags = {
|
|
|
229
229
|
* @default false
|
|
230
230
|
*/
|
|
231
231
|
tableDuplicateCellColouring?: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* @description
|
|
234
|
+
* Enables moving the table sorting options in the column context menu to the top of the menu
|
|
235
|
+
*
|
|
236
|
+
* @see https://product-fabric.atlassian.net/browse/ED-23600
|
|
237
|
+
* @default false
|
|
238
|
+
*/
|
|
239
|
+
tableSortColumnDiscoverability?: boolean;
|
|
232
240
|
/**
|
|
233
241
|
* @description
|
|
234
242
|
* Enables commenting on media
|
|
@@ -14,6 +14,16 @@ export declare const linkToolbarMessages: {
|
|
|
14
14
|
defaultMessage: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
+
editDatasourceStandalone: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
editDatasourceStandaloneTooltip: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
17
27
|
editLink: {
|
|
18
28
|
id: string;
|
|
19
29
|
defaultMessage: string;
|
|
@@ -229,6 +229,14 @@ export type FeatureFlags = {
|
|
|
229
229
|
* @default false
|
|
230
230
|
*/
|
|
231
231
|
tableDuplicateCellColouring?: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* @description
|
|
234
|
+
* Enables moving the table sorting options in the column context menu to the top of the menu
|
|
235
|
+
*
|
|
236
|
+
* @see https://product-fabric.atlassian.net/browse/ED-23600
|
|
237
|
+
* @default false
|
|
238
|
+
*/
|
|
239
|
+
tableSortColumnDiscoverability?: boolean;
|
|
232
240
|
/**
|
|
233
241
|
* @description
|
|
234
242
|
* Enables commenting on media
|
package/package.json
CHANGED