@atlaskit/editor-common 111.11.10 → 111.11.11
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 +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/sync-block.js +4 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/syncBlock.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/sync-block.js +3 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/syncBlock.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/sync-block.js +3 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/syncBlock.d.ts +10 -0
- package/dist/types/styles/shared/sync-block.d.ts +2 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +10 -0
- package/dist/types-ts4.5/styles/shared/sync-block.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.11.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ab4e4e442ad49`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ab4e4e442ad49) -
|
|
8
|
+
[ux] [EDITOR-3694] Add loading state to bodiedSyncBlock for when saving new block to BE
|
|
9
|
+
|
|
3
10
|
## 111.11.10
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -355,5 +355,15 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
355
355
|
id: 'fabric.editor.cannotPasteSyncedBlockAction',
|
|
356
356
|
defaultMessage: 'Learn more',
|
|
357
357
|
description: 'Action in flag which appears when a synced block cannot be pasted to learn more'
|
|
358
|
+
},
|
|
359
|
+
cannotCreateSyncBlockTitle: {
|
|
360
|
+
id: 'fabric.editor.cannotCreateSyncBlockTitle',
|
|
361
|
+
defaultMessage: 'Unable to create synced block',
|
|
362
|
+
description: 'Title in flag which appears when a synced block cannot be created'
|
|
363
|
+
},
|
|
364
|
+
CannotCreateSyncBlockDescription: {
|
|
365
|
+
id: 'fabric.editor.cannotCreateSyncBlockDescription',
|
|
366
|
+
defaultMessage: 'An error occurred while trying to create this synced block. ',
|
|
367
|
+
description: 'Description in flag which appears when a synced block cannot be created'
|
|
358
368
|
}
|
|
359
369
|
});
|
|
@@ -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 = "0.0.0-development";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.viewModeClassName = exports.disabledClassName = exports.SyncBlockStateCssClassName = exports.SyncBlockSharedCssClassName = exports.SyncBlockRendererDataAttributeName = exports.SyncBlockLabelSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = void 0;
|
|
6
|
+
exports.viewModeClassName = exports.disabledClassName = exports.creationLoadingClassName = exports.SyncBlockStateCssClassName = exports.SyncBlockSharedCssClassName = exports.SyncBlockRendererDataAttributeName = exports.SyncBlockLabelSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = void 0;
|
|
7
7
|
var prefix = 'ak-editor-sync-block';
|
|
8
8
|
var SyncBlockSharedCssClassName = exports.SyncBlockSharedCssClassName = {
|
|
9
9
|
prefix: prefix,
|
|
@@ -25,7 +25,9 @@ var SyncBlockLabelSharedCssClassName = exports.SyncBlockLabelSharedCssClassName
|
|
|
25
25
|
};
|
|
26
26
|
var disabledClassName = exports.disabledClassName = 'disabled';
|
|
27
27
|
var viewModeClassName = exports.viewModeClassName = 'view-mode';
|
|
28
|
+
var creationLoadingClassName = exports.creationLoadingClassName = 'creation-loading';
|
|
28
29
|
var SyncBlockStateCssClassName = exports.SyncBlockStateCssClassName = {
|
|
29
30
|
disabledClassName: disabledClassName,
|
|
30
|
-
viewModeClassName: viewModeClassName
|
|
31
|
+
viewModeClassName: viewModeClassName,
|
|
32
|
+
creationLoadingClassName: creationLoadingClassName
|
|
31
33
|
};
|
|
@@ -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 = "0.0.0-development";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -349,5 +349,15 @@ export const syncBlockMessages = defineMessages({
|
|
|
349
349
|
id: 'fabric.editor.cannotPasteSyncedBlockAction',
|
|
350
350
|
defaultMessage: 'Learn more',
|
|
351
351
|
description: 'Action in flag which appears when a synced block cannot be pasted to learn more'
|
|
352
|
+
},
|
|
353
|
+
cannotCreateSyncBlockTitle: {
|
|
354
|
+
id: 'fabric.editor.cannotCreateSyncBlockTitle',
|
|
355
|
+
defaultMessage: 'Unable to create synced block',
|
|
356
|
+
description: 'Title in flag which appears when a synced block cannot be created'
|
|
357
|
+
},
|
|
358
|
+
CannotCreateSyncBlockDescription: {
|
|
359
|
+
id: 'fabric.editor.cannotCreateSyncBlockDescription',
|
|
360
|
+
defaultMessage: 'An error occurred while trying to create this synced block. ',
|
|
361
|
+
description: 'Description in flag which appears when a synced block cannot be created'
|
|
352
362
|
}
|
|
353
363
|
});
|
|
@@ -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 = "0.0.0-development";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -19,7 +19,9 @@ export const SyncBlockLabelSharedCssClassName = {
|
|
|
19
19
|
};
|
|
20
20
|
export const disabledClassName = 'disabled';
|
|
21
21
|
export const viewModeClassName = 'view-mode';
|
|
22
|
+
export const creationLoadingClassName = 'creation-loading';
|
|
22
23
|
export const SyncBlockStateCssClassName = {
|
|
23
24
|
disabledClassName,
|
|
24
|
-
viewModeClassName
|
|
25
|
+
viewModeClassName,
|
|
26
|
+
creationLoadingClassName
|
|
25
27
|
};
|
|
@@ -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 = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -349,5 +349,15 @@ export var syncBlockMessages = defineMessages({
|
|
|
349
349
|
id: 'fabric.editor.cannotPasteSyncedBlockAction',
|
|
350
350
|
defaultMessage: 'Learn more',
|
|
351
351
|
description: 'Action in flag which appears when a synced block cannot be pasted to learn more'
|
|
352
|
+
},
|
|
353
|
+
cannotCreateSyncBlockTitle: {
|
|
354
|
+
id: 'fabric.editor.cannotCreateSyncBlockTitle',
|
|
355
|
+
defaultMessage: 'Unable to create synced block',
|
|
356
|
+
description: 'Title in flag which appears when a synced block cannot be created'
|
|
357
|
+
},
|
|
358
|
+
CannotCreateSyncBlockDescription: {
|
|
359
|
+
id: 'fabric.editor.cannotCreateSyncBlockDescription',
|
|
360
|
+
defaultMessage: 'An error occurred while trying to create this synced block. ',
|
|
361
|
+
description: 'Description in flag which appears when a synced block cannot be created'
|
|
352
362
|
}
|
|
353
363
|
});
|
|
@@ -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 = "0.0.0-development";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -19,7 +19,9 @@ export var SyncBlockLabelSharedCssClassName = {
|
|
|
19
19
|
};
|
|
20
20
|
export var disabledClassName = 'disabled';
|
|
21
21
|
export var viewModeClassName = 'view-mode';
|
|
22
|
+
export var creationLoadingClassName = 'creation-loading';
|
|
22
23
|
export var SyncBlockStateCssClassName = {
|
|
23
24
|
disabledClassName: disabledClassName,
|
|
24
|
-
viewModeClassName: viewModeClassName
|
|
25
|
+
viewModeClassName: viewModeClassName,
|
|
26
|
+
creationLoadingClassName: creationLoadingClassName
|
|
25
27
|
};
|
|
@@ -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 = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -349,4 +349,14 @@ export declare const syncBlockMessages: {
|
|
|
349
349
|
defaultMessage: string;
|
|
350
350
|
description: string;
|
|
351
351
|
};
|
|
352
|
+
cannotCreateSyncBlockTitle: {
|
|
353
|
+
id: string;
|
|
354
|
+
defaultMessage: string;
|
|
355
|
+
description: string;
|
|
356
|
+
};
|
|
357
|
+
CannotCreateSyncBlockDescription: {
|
|
358
|
+
id: string;
|
|
359
|
+
defaultMessage: string;
|
|
360
|
+
description: string;
|
|
361
|
+
};
|
|
352
362
|
};
|
|
@@ -16,7 +16,9 @@ export declare const SyncBlockLabelSharedCssClassName: {
|
|
|
16
16
|
};
|
|
17
17
|
export declare const disabledClassName = "disabled";
|
|
18
18
|
export declare const viewModeClassName = "view-mode";
|
|
19
|
+
export declare const creationLoadingClassName = "creation-loading";
|
|
19
20
|
export declare const SyncBlockStateCssClassName: {
|
|
20
21
|
disabledClassName: string;
|
|
21
22
|
viewModeClassName: string;
|
|
23
|
+
creationLoadingClassName: string;
|
|
22
24
|
};
|
|
@@ -349,4 +349,14 @@ export declare const syncBlockMessages: {
|
|
|
349
349
|
defaultMessage: string;
|
|
350
350
|
description: string;
|
|
351
351
|
};
|
|
352
|
+
cannotCreateSyncBlockTitle: {
|
|
353
|
+
id: string;
|
|
354
|
+
defaultMessage: string;
|
|
355
|
+
description: string;
|
|
356
|
+
};
|
|
357
|
+
CannotCreateSyncBlockDescription: {
|
|
358
|
+
id: string;
|
|
359
|
+
defaultMessage: string;
|
|
360
|
+
description: string;
|
|
361
|
+
};
|
|
352
362
|
};
|
|
@@ -16,7 +16,9 @@ export declare const SyncBlockLabelSharedCssClassName: {
|
|
|
16
16
|
};
|
|
17
17
|
export declare const disabledClassName = "disabled";
|
|
18
18
|
export declare const viewModeClassName = "view-mode";
|
|
19
|
+
export declare const creationLoadingClassName = "creation-loading";
|
|
19
20
|
export declare const SyncBlockStateCssClassName: {
|
|
20
21
|
disabledClassName: string;
|
|
21
22
|
viewModeClassName: string;
|
|
23
|
+
creationLoadingClassName: string;
|
|
22
24
|
};
|
package/package.json
CHANGED