@atlaskit/editor-common 110.21.0 → 110.21.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 +7 -0
- package/dist/cjs/messages/syncBlock.js +30 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/syncBlock.js +30 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/syncBlock.js +30 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/syncBlock.d.ts +30 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +30 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.21.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ff3e1422d5b70`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff3e1422d5b70) -
|
|
8
|
+
[ux] EDITOR-2437 implement request access to sync block component
|
|
9
|
+
|
|
3
10
|
## 110.21.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -40,5 +40,35 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
40
40
|
id: 'fabric.editor.syncedBlock',
|
|
41
41
|
defaultMessage: 'Synced block',
|
|
42
42
|
description: 'Label which appears above the synced block when it is selected'
|
|
43
|
+
},
|
|
44
|
+
permissionDeniedHeading: {
|
|
45
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedHeading',
|
|
46
|
+
defaultMessage: "You don't have permission to view this synced block",
|
|
47
|
+
description: 'Heading for error state where the user does not have permission to view the synced block'
|
|
48
|
+
},
|
|
49
|
+
permissionDeniedDescription: {
|
|
50
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedDescription',
|
|
51
|
+
defaultMessage: "The source of this synced block is a content item you don't have access to.",
|
|
52
|
+
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
53
|
+
},
|
|
54
|
+
permissionDeniedAltText: {
|
|
55
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
56
|
+
defaultMessage: 'Permission denied.',
|
|
57
|
+
description: 'Alt text for icon on error state where the user does not have permission to view the synced block'
|
|
58
|
+
},
|
|
59
|
+
requestAccessButton: {
|
|
60
|
+
id: 'fabric.editor.requestAccessToSyncedBlock',
|
|
61
|
+
defaultMessage: 'Request access',
|
|
62
|
+
description: 'Label for button which requests access to view the source page of the sync block'
|
|
63
|
+
},
|
|
64
|
+
accessRequested: {
|
|
65
|
+
id: 'fabric.editor.accessToSyncedBlockRequested',
|
|
66
|
+
defaultMessage: 'Access requested',
|
|
67
|
+
description: 'Text which displays after the request to view the source page of the sync block has been sent and is still pending'
|
|
68
|
+
},
|
|
69
|
+
requestAccessError: {
|
|
70
|
+
id: 'fabric.editor.requestAccessToSyncedBlockError',
|
|
71
|
+
defaultMessage: 'Something went wrong. Click to try again',
|
|
72
|
+
description: 'Text which displays next to the request access button after something went wrong after clicking the button.'
|
|
43
73
|
}
|
|
44
74
|
});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "110.
|
|
19
|
+
var packageVersion = "110.21.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "110.
|
|
27
|
+
var packageVersion = "110.21.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -34,5 +34,35 @@ export const syncBlockMessages = defineMessages({
|
|
|
34
34
|
id: 'fabric.editor.syncedBlock',
|
|
35
35
|
defaultMessage: 'Synced block',
|
|
36
36
|
description: 'Label which appears above the synced block when it is selected'
|
|
37
|
+
},
|
|
38
|
+
permissionDeniedHeading: {
|
|
39
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedHeading',
|
|
40
|
+
defaultMessage: "You don't have permission to view this synced block",
|
|
41
|
+
description: 'Heading for error state where the user does not have permission to view the synced block'
|
|
42
|
+
},
|
|
43
|
+
permissionDeniedDescription: {
|
|
44
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedDescription',
|
|
45
|
+
defaultMessage: "The source of this synced block is a content item you don't have access to.",
|
|
46
|
+
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
47
|
+
},
|
|
48
|
+
permissionDeniedAltText: {
|
|
49
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
50
|
+
defaultMessage: 'Permission denied.',
|
|
51
|
+
description: 'Alt text for icon on error state where the user does not have permission to view the synced block'
|
|
52
|
+
},
|
|
53
|
+
requestAccessButton: {
|
|
54
|
+
id: 'fabric.editor.requestAccessToSyncedBlock',
|
|
55
|
+
defaultMessage: 'Request access',
|
|
56
|
+
description: 'Label for button which requests access to view the source page of the sync block'
|
|
57
|
+
},
|
|
58
|
+
accessRequested: {
|
|
59
|
+
id: 'fabric.editor.accessToSyncedBlockRequested',
|
|
60
|
+
defaultMessage: 'Access requested',
|
|
61
|
+
description: 'Text which displays after the request to view the source page of the sync block has been sent and is still pending'
|
|
62
|
+
},
|
|
63
|
+
requestAccessError: {
|
|
64
|
+
id: 'fabric.editor.requestAccessToSyncedBlockError',
|
|
65
|
+
defaultMessage: 'Something went wrong. Click to try again',
|
|
66
|
+
description: 'Text which displays next to the request access button after something went wrong after clicking the button.'
|
|
37
67
|
}
|
|
38
68
|
});
|
|
@@ -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 = "110.
|
|
4
|
+
const packageVersion = "110.21.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// 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 = "110.
|
|
17
|
+
const packageVersion = "110.21.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -34,5 +34,35 @@ export var syncBlockMessages = defineMessages({
|
|
|
34
34
|
id: 'fabric.editor.syncedBlock',
|
|
35
35
|
defaultMessage: 'Synced block',
|
|
36
36
|
description: 'Label which appears above the synced block when it is selected'
|
|
37
|
+
},
|
|
38
|
+
permissionDeniedHeading: {
|
|
39
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedHeading',
|
|
40
|
+
defaultMessage: "You don't have permission to view this synced block",
|
|
41
|
+
description: 'Heading for error state where the user does not have permission to view the synced block'
|
|
42
|
+
},
|
|
43
|
+
permissionDeniedDescription: {
|
|
44
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedDescription',
|
|
45
|
+
defaultMessage: "The source of this synced block is a content item you don't have access to.",
|
|
46
|
+
description: 'Description for error state where the user does not have permission to view the synced block'
|
|
47
|
+
},
|
|
48
|
+
permissionDeniedAltText: {
|
|
49
|
+
id: 'fabric.editor.syncedBlockPermissionDeniedIconAltText',
|
|
50
|
+
defaultMessage: 'Permission denied.',
|
|
51
|
+
description: 'Alt text for icon on error state where the user does not have permission to view the synced block'
|
|
52
|
+
},
|
|
53
|
+
requestAccessButton: {
|
|
54
|
+
id: 'fabric.editor.requestAccessToSyncedBlock',
|
|
55
|
+
defaultMessage: 'Request access',
|
|
56
|
+
description: 'Label for button which requests access to view the source page of the sync block'
|
|
57
|
+
},
|
|
58
|
+
accessRequested: {
|
|
59
|
+
id: 'fabric.editor.accessToSyncedBlockRequested',
|
|
60
|
+
defaultMessage: 'Access requested',
|
|
61
|
+
description: 'Text which displays after the request to view the source page of the sync block has been sent and is still pending'
|
|
62
|
+
},
|
|
63
|
+
requestAccessError: {
|
|
64
|
+
id: 'fabric.editor.requestAccessToSyncedBlockError',
|
|
65
|
+
defaultMessage: 'Something went wrong. Click to try again',
|
|
66
|
+
description: 'Text which displays next to the request access button after something went wrong after clicking the button.'
|
|
37
67
|
}
|
|
38
68
|
});
|
|
@@ -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 = "110.
|
|
10
|
+
var packageVersion = "110.21.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// 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 = "110.
|
|
24
|
+
var packageVersion = "110.21.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -34,4 +34,34 @@ export declare const syncBlockMessages: {
|
|
|
34
34
|
defaultMessage: string;
|
|
35
35
|
description: string;
|
|
36
36
|
};
|
|
37
|
+
permissionDeniedHeading: {
|
|
38
|
+
id: string;
|
|
39
|
+
defaultMessage: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
permissionDeniedDescription: {
|
|
43
|
+
id: string;
|
|
44
|
+
defaultMessage: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
permissionDeniedAltText: {
|
|
48
|
+
id: string;
|
|
49
|
+
defaultMessage: string;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
requestAccessButton: {
|
|
53
|
+
id: string;
|
|
54
|
+
defaultMessage: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
accessRequested: {
|
|
58
|
+
id: string;
|
|
59
|
+
defaultMessage: string;
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
requestAccessError: {
|
|
63
|
+
id: string;
|
|
64
|
+
defaultMessage: string;
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
37
67
|
};
|
|
@@ -34,4 +34,34 @@ export declare const syncBlockMessages: {
|
|
|
34
34
|
defaultMessage: string;
|
|
35
35
|
description: string;
|
|
36
36
|
};
|
|
37
|
+
permissionDeniedHeading: {
|
|
38
|
+
id: string;
|
|
39
|
+
defaultMessage: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
permissionDeniedDescription: {
|
|
43
|
+
id: string;
|
|
44
|
+
defaultMessage: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
permissionDeniedAltText: {
|
|
48
|
+
id: string;
|
|
49
|
+
defaultMessage: string;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
requestAccessButton: {
|
|
53
|
+
id: string;
|
|
54
|
+
defaultMessage: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
accessRequested: {
|
|
58
|
+
id: string;
|
|
59
|
+
defaultMessage: string;
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
requestAccessError: {
|
|
63
|
+
id: string;
|
|
64
|
+
defaultMessage: string;
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
37
67
|
};
|
package/package.json
CHANGED