@atlaskit/editor-common 79.4.0 → 79.5.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 +17 -0
- package/dist/cjs/i18n/en.js +1 -1
- package/dist/cjs/i18n/en_GB.js +1 -1
- package/dist/cjs/i18n/en_ZZ.js +1 -1
- package/dist/cjs/messages/list.js +1 -1
- package/dist/cjs/messages/table.js +15 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/i18n/en.js +1 -1
- package/dist/es2019/i18n/en_GB.js +1 -1
- package/dist/es2019/i18n/en_ZZ.js +1 -1
- package/dist/es2019/messages/list.js +1 -1
- package/dist/es2019/messages/table.js +15 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/i18n/en.js +1 -1
- package/dist/esm/i18n/en_GB.js +1 -1
- package/dist/esm/i18n/en_ZZ.js +1 -1
- package/dist/esm/messages/list.js +1 -1
- package/dist/esm/messages/table.js +15 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/table.d.ts +15 -0
- package/dist/types-ts4.5/messages/table.d.ts +15 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 79.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#99771](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99771)
|
|
8
|
+
[`3cd9b2d8ae80`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3cd9b2d8ae80) -
|
|
9
|
+
[ux] ED-22923 Tables - Added alignment toolbat button
|
|
10
|
+
|
|
11
|
+
## 79.4.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#96397](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96397)
|
|
16
|
+
[`37f594d6c2d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/37f594d6c2d8) -
|
|
17
|
+
[ux] [ECA11Y-227] Corrected typo in List formatting aria-label
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 79.4.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -263,7 +263,7 @@ var _default = exports.default = {
|
|
|
263
263
|
'fabric.editor.linkAddress': 'Link address',
|
|
264
264
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
265
265
|
'fabric.editor.lists': 'Lists',
|
|
266
|
-
'fabric.editor.listsFormat': 'List
|
|
266
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
267
267
|
'fabric.editor.markdown': 'Markdown',
|
|
268
268
|
'fabric.editor.matchCase': 'Match case',
|
|
269
269
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -35,7 +35,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
35
35
|
},
|
|
36
36
|
listsFormat: {
|
|
37
37
|
id: 'fabric.editor.listsFormat',
|
|
38
|
-
defaultMessage: 'List
|
|
38
|
+
defaultMessage: 'List formatting',
|
|
39
39
|
description: 'Aria label for the wrapper of list buttons'
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -300,5 +300,20 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
300
300
|
id: 'fabric.editor.tables.columnResizeLast',
|
|
301
301
|
defaultMessage: 'You can only resize this column to the left.',
|
|
302
302
|
description: 'Screen Reader announces when the user attempts to resize the last column when only the previous one is available for resizing'
|
|
303
|
+
},
|
|
304
|
+
tableAlignmentOptions: {
|
|
305
|
+
id: 'fabric.editor.tableAlignmentOptions',
|
|
306
|
+
defaultMessage: 'Alignment options',
|
|
307
|
+
description: 'Opens a menu with additional table alignment options'
|
|
308
|
+
},
|
|
309
|
+
alignTableCenter: {
|
|
310
|
+
id: 'fabric.editor.alignTableCenter',
|
|
311
|
+
defaultMessage: 'Align center',
|
|
312
|
+
description: 'Aligns table to the center'
|
|
313
|
+
},
|
|
314
|
+
alignTableLeft: {
|
|
315
|
+
id: 'fabric.editor.alignTableLeft',
|
|
316
|
+
defaultMessage: 'Align left',
|
|
317
|
+
description: 'Aligns table to the left'
|
|
303
318
|
}
|
|
304
319
|
});
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
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; }
|
|
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 = "79.
|
|
19
|
+
var packageVersion = "79.5.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "79.
|
|
23
|
+
var packageVersion = "79.5.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -294,5 +294,20 @@ export const messages = defineMessages({
|
|
|
294
294
|
id: 'fabric.editor.tables.columnResizeLast',
|
|
295
295
|
defaultMessage: 'You can only resize this column to the left.',
|
|
296
296
|
description: 'Screen Reader announces when the user attempts to resize the last column when only the previous one is available for resizing'
|
|
297
|
+
},
|
|
298
|
+
tableAlignmentOptions: {
|
|
299
|
+
id: 'fabric.editor.tableAlignmentOptions',
|
|
300
|
+
defaultMessage: 'Alignment options',
|
|
301
|
+
description: 'Opens a menu with additional table alignment options'
|
|
302
|
+
},
|
|
303
|
+
alignTableCenter: {
|
|
304
|
+
id: 'fabric.editor.alignTableCenter',
|
|
305
|
+
defaultMessage: 'Align center',
|
|
306
|
+
description: 'Aligns table to the center'
|
|
307
|
+
},
|
|
308
|
+
alignTableLeft: {
|
|
309
|
+
id: 'fabric.editor.alignTableLeft',
|
|
310
|
+
defaultMessage: 'Align left',
|
|
311
|
+
description: 'Aligns table to the left'
|
|
297
312
|
}
|
|
298
313
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "79.
|
|
3
|
+
const packageVersion = "79.5.0";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// 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 = "79.
|
|
10
|
+
const packageVersion = "79.5.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to # pixel.} other {Media width decreased to # pixels.}}',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -257,7 +257,7 @@ export default {
|
|
|
257
257
|
'fabric.editor.linkAddress': 'Link address',
|
|
258
258
|
'fabric.editor.linkPlaceholder': 'Paste link',
|
|
259
259
|
'fabric.editor.lists': 'Lists',
|
|
260
|
-
'fabric.editor.listsFormat': 'List
|
|
260
|
+
'fabric.editor.listsFormat': 'List formatting',
|
|
261
261
|
'fabric.editor.markdown': 'Markdown',
|
|
262
262
|
'fabric.editor.matchCase': 'Match case',
|
|
263
263
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Media width decreased to {newMediaWidth,number} pixel.} other {Media width decreased to {newMediaWidth,number} pixels.}}',
|
|
@@ -294,5 +294,20 @@ export var messages = defineMessages({
|
|
|
294
294
|
id: 'fabric.editor.tables.columnResizeLast',
|
|
295
295
|
defaultMessage: 'You can only resize this column to the left.',
|
|
296
296
|
description: 'Screen Reader announces when the user attempts to resize the last column when only the previous one is available for resizing'
|
|
297
|
+
},
|
|
298
|
+
tableAlignmentOptions: {
|
|
299
|
+
id: 'fabric.editor.tableAlignmentOptions',
|
|
300
|
+
defaultMessage: 'Alignment options',
|
|
301
|
+
description: 'Opens a menu with additional table alignment options'
|
|
302
|
+
},
|
|
303
|
+
alignTableCenter: {
|
|
304
|
+
id: 'fabric.editor.alignTableCenter',
|
|
305
|
+
defaultMessage: 'Align center',
|
|
306
|
+
description: 'Aligns table to the center'
|
|
307
|
+
},
|
|
308
|
+
alignTableLeft: {
|
|
309
|
+
id: 'fabric.editor.alignTableLeft',
|
|
310
|
+
defaultMessage: 'Align left',
|
|
311
|
+
description: 'Aligns table to the left'
|
|
297
312
|
}
|
|
298
313
|
});
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "79.
|
|
9
|
+
var packageVersion = "79.5.0";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// 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 = "79.
|
|
18
|
+
var packageVersion = "79.5.0";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -294,4 +294,19 @@ export declare const messages: {
|
|
|
294
294
|
defaultMessage: string;
|
|
295
295
|
description: string;
|
|
296
296
|
};
|
|
297
|
+
tableAlignmentOptions: {
|
|
298
|
+
id: string;
|
|
299
|
+
defaultMessage: string;
|
|
300
|
+
description: string;
|
|
301
|
+
};
|
|
302
|
+
alignTableCenter: {
|
|
303
|
+
id: string;
|
|
304
|
+
defaultMessage: string;
|
|
305
|
+
description: string;
|
|
306
|
+
};
|
|
307
|
+
alignTableLeft: {
|
|
308
|
+
id: string;
|
|
309
|
+
defaultMessage: string;
|
|
310
|
+
description: string;
|
|
311
|
+
};
|
|
297
312
|
};
|
|
@@ -294,4 +294,19 @@ export declare const messages: {
|
|
|
294
294
|
defaultMessage: string;
|
|
295
295
|
description: string;
|
|
296
296
|
};
|
|
297
|
+
tableAlignmentOptions: {
|
|
298
|
+
id: string;
|
|
299
|
+
defaultMessage: string;
|
|
300
|
+
description: string;
|
|
301
|
+
};
|
|
302
|
+
alignTableCenter: {
|
|
303
|
+
id: string;
|
|
304
|
+
defaultMessage: string;
|
|
305
|
+
description: string;
|
|
306
|
+
};
|
|
307
|
+
alignTableLeft: {
|
|
308
|
+
id: string;
|
|
309
|
+
defaultMessage: string;
|
|
310
|
+
description: string;
|
|
311
|
+
};
|
|
297
312
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "79.
|
|
3
|
+
"version": "79.5.0",
|
|
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/"
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@atlaskit/menu": "^2.2.0",
|
|
131
131
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
132
132
|
"@atlaskit/primitives": "^6.1.0",
|
|
133
|
-
"@atlaskit/profilecard": "^19.
|
|
133
|
+
"@atlaskit/profilecard": "^19.13.0",
|
|
134
134
|
"@atlaskit/section-message": "^6.5.0",
|
|
135
135
|
"@atlaskit/smart-card": "^26.66.0",
|
|
136
136
|
"@atlaskit/smart-user-picker": "^6.9.0",
|