@atlaskit/editor-common 78.31.2 → 78.31.4
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 +12 -0
- package/dist/cjs/messages/layout.js +11 -6
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/layout.js +11 -6
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/layout.js +11 -6
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/layout.d.ts +5 -0
- package/dist/types/types/floating-toolbar.d.ts +2 -0
- package/dist/types-ts4.5/messages/layout.d.ts +5 -0
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 78.31.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689) [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) - Updating adf-schema version to 35.10.0
|
|
8
|
+
|
|
9
|
+
## 78.31.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#90654](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90654) [`6fd823f8e657`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fd823f8e657) - The accessible names for layouts in the floating toolbar
|
|
14
|
+
|
|
3
15
|
## 78.31.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -8,32 +8,37 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
8
8
|
var toolbarMessages = exports.toolbarMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
singleColumn: {
|
|
10
10
|
id: 'fabric.editor.single',
|
|
11
|
-
defaultMessage: 'Single column',
|
|
11
|
+
defaultMessage: 'Single column layout',
|
|
12
12
|
description: 'Layout with one single column'
|
|
13
13
|
},
|
|
14
14
|
twoColumns: {
|
|
15
15
|
id: 'fabric.editor.twoColumns',
|
|
16
|
-
defaultMessage: 'Two columns',
|
|
16
|
+
defaultMessage: 'Two columns layout',
|
|
17
17
|
description: 'Layout with two columns of equal width'
|
|
18
18
|
},
|
|
19
19
|
threeColumns: {
|
|
20
20
|
id: 'fabric.editor.threeColumns',
|
|
21
|
-
defaultMessage: 'Three columns',
|
|
21
|
+
defaultMessage: 'Three columns layout',
|
|
22
22
|
description: 'Layout with three columns of equal width'
|
|
23
23
|
},
|
|
24
24
|
rightSidebar: {
|
|
25
25
|
id: 'fabric.editor.rightSidebar',
|
|
26
|
-
defaultMessage: 'Right sidebar',
|
|
26
|
+
defaultMessage: 'Right sidebar layout',
|
|
27
27
|
description: 'Layout with two columns, left column is 2/3 and right is 1/3 of page'
|
|
28
28
|
},
|
|
29
29
|
leftSidebar: {
|
|
30
30
|
id: 'fabric.editor.leftSidebar',
|
|
31
|
-
defaultMessage: 'Left sidebar',
|
|
31
|
+
defaultMessage: 'Left sidebar layout',
|
|
32
32
|
description: 'Layout with two columns, left column is 1/3 and right is 2/3 of page'
|
|
33
33
|
},
|
|
34
34
|
threeColumnsWithSidebars: {
|
|
35
35
|
id: 'fabric.editor.threeColumnsWithSidebars',
|
|
36
|
-
defaultMessage: 'Three columns with sidebars',
|
|
36
|
+
defaultMessage: 'Three columns with sidebars layout',
|
|
37
37
|
description: 'Layout with 3 columns laid out as 25% - 50% - 25%'
|
|
38
|
+
},
|
|
39
|
+
floatingToolbarRadioGroupAriaLabel: {
|
|
40
|
+
id: 'fabric.editor.floatingToolbar.floatingToolbarRadioGroupAriaLabel',
|
|
41
|
+
defaultMessage: 'Layout options',
|
|
42
|
+
description: "a floating toolbar radiogroup's aria label"
|
|
38
43
|
}
|
|
39
44
|
});
|
|
@@ -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 = "78.31.
|
|
19
|
+
var packageVersion = "78.31.4";
|
|
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 = "78.31.
|
|
23
|
+
var packageVersion = "78.31.4";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -2,32 +2,37 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export const toolbarMessages = defineMessages({
|
|
3
3
|
singleColumn: {
|
|
4
4
|
id: 'fabric.editor.single',
|
|
5
|
-
defaultMessage: 'Single column',
|
|
5
|
+
defaultMessage: 'Single column layout',
|
|
6
6
|
description: 'Layout with one single column'
|
|
7
7
|
},
|
|
8
8
|
twoColumns: {
|
|
9
9
|
id: 'fabric.editor.twoColumns',
|
|
10
|
-
defaultMessage: 'Two columns',
|
|
10
|
+
defaultMessage: 'Two columns layout',
|
|
11
11
|
description: 'Layout with two columns of equal width'
|
|
12
12
|
},
|
|
13
13
|
threeColumns: {
|
|
14
14
|
id: 'fabric.editor.threeColumns',
|
|
15
|
-
defaultMessage: 'Three columns',
|
|
15
|
+
defaultMessage: 'Three columns layout',
|
|
16
16
|
description: 'Layout with three columns of equal width'
|
|
17
17
|
},
|
|
18
18
|
rightSidebar: {
|
|
19
19
|
id: 'fabric.editor.rightSidebar',
|
|
20
|
-
defaultMessage: 'Right sidebar',
|
|
20
|
+
defaultMessage: 'Right sidebar layout',
|
|
21
21
|
description: 'Layout with two columns, left column is 2/3 and right is 1/3 of page'
|
|
22
22
|
},
|
|
23
23
|
leftSidebar: {
|
|
24
24
|
id: 'fabric.editor.leftSidebar',
|
|
25
|
-
defaultMessage: 'Left sidebar',
|
|
25
|
+
defaultMessage: 'Left sidebar layout',
|
|
26
26
|
description: 'Layout with two columns, left column is 1/3 and right is 2/3 of page'
|
|
27
27
|
},
|
|
28
28
|
threeColumnsWithSidebars: {
|
|
29
29
|
id: 'fabric.editor.threeColumnsWithSidebars',
|
|
30
|
-
defaultMessage: 'Three columns with sidebars',
|
|
30
|
+
defaultMessage: 'Three columns with sidebars layout',
|
|
31
31
|
description: 'Layout with 3 columns laid out as 25% - 50% - 25%'
|
|
32
|
+
},
|
|
33
|
+
floatingToolbarRadioGroupAriaLabel: {
|
|
34
|
+
id: 'fabric.editor.floatingToolbar.floatingToolbarRadioGroupAriaLabel',
|
|
35
|
+
defaultMessage: 'Layout options',
|
|
36
|
+
description: "a floating toolbar radiogroup's aria label"
|
|
32
37
|
}
|
|
33
38
|
});
|
|
@@ -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 = "78.31.
|
|
3
|
+
const packageVersion = "78.31.4";
|
|
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 = "78.31.
|
|
10
|
+
const packageVersion = "78.31.4";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -2,32 +2,37 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export var toolbarMessages = defineMessages({
|
|
3
3
|
singleColumn: {
|
|
4
4
|
id: 'fabric.editor.single',
|
|
5
|
-
defaultMessage: 'Single column',
|
|
5
|
+
defaultMessage: 'Single column layout',
|
|
6
6
|
description: 'Layout with one single column'
|
|
7
7
|
},
|
|
8
8
|
twoColumns: {
|
|
9
9
|
id: 'fabric.editor.twoColumns',
|
|
10
|
-
defaultMessage: 'Two columns',
|
|
10
|
+
defaultMessage: 'Two columns layout',
|
|
11
11
|
description: 'Layout with two columns of equal width'
|
|
12
12
|
},
|
|
13
13
|
threeColumns: {
|
|
14
14
|
id: 'fabric.editor.threeColumns',
|
|
15
|
-
defaultMessage: 'Three columns',
|
|
15
|
+
defaultMessage: 'Three columns layout',
|
|
16
16
|
description: 'Layout with three columns of equal width'
|
|
17
17
|
},
|
|
18
18
|
rightSidebar: {
|
|
19
19
|
id: 'fabric.editor.rightSidebar',
|
|
20
|
-
defaultMessage: 'Right sidebar',
|
|
20
|
+
defaultMessage: 'Right sidebar layout',
|
|
21
21
|
description: 'Layout with two columns, left column is 2/3 and right is 1/3 of page'
|
|
22
22
|
},
|
|
23
23
|
leftSidebar: {
|
|
24
24
|
id: 'fabric.editor.leftSidebar',
|
|
25
|
-
defaultMessage: 'Left sidebar',
|
|
25
|
+
defaultMessage: 'Left sidebar layout',
|
|
26
26
|
description: 'Layout with two columns, left column is 1/3 and right is 2/3 of page'
|
|
27
27
|
},
|
|
28
28
|
threeColumnsWithSidebars: {
|
|
29
29
|
id: 'fabric.editor.threeColumnsWithSidebars',
|
|
30
|
-
defaultMessage: 'Three columns with sidebars',
|
|
30
|
+
defaultMessage: 'Three columns with sidebars layout',
|
|
31
31
|
description: 'Layout with 3 columns laid out as 25% - 50% - 25%'
|
|
32
|
+
},
|
|
33
|
+
floatingToolbarRadioGroupAriaLabel: {
|
|
34
|
+
id: 'fabric.editor.floatingToolbar.floatingToolbarRadioGroupAriaLabel',
|
|
35
|
+
defaultMessage: 'Layout options',
|
|
36
|
+
description: "a floating toolbar radiogroup's aria label"
|
|
32
37
|
}
|
|
33
38
|
});
|
|
@@ -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 = "78.31.
|
|
9
|
+
var packageVersion = "78.31.4";
|
|
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 = "78.31.
|
|
18
|
+
var packageVersion = "78.31.4";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -244,6 +244,8 @@ export interface FloatingToolbarConfig {
|
|
|
244
244
|
* See: `FloatingToolbarItem`
|
|
245
245
|
*/
|
|
246
246
|
items: Array<FloatingToolbarItem<Command>> | ((node: Node) => Array<FloatingToolbarItem<Command>>);
|
|
247
|
+
/** aria-label added to role='radiogroup'element */
|
|
248
|
+
groupLabel?: string;
|
|
247
249
|
align?: AlignType;
|
|
248
250
|
/** Class added to Toolbar wrapper */
|
|
249
251
|
className?: string;
|
|
@@ -244,6 +244,8 @@ export interface FloatingToolbarConfig {
|
|
|
244
244
|
* See: `FloatingToolbarItem`
|
|
245
245
|
*/
|
|
246
246
|
items: Array<FloatingToolbarItem<Command>> | ((node: Node) => Array<FloatingToolbarItem<Command>>);
|
|
247
|
+
/** aria-label added to role='radiogroup'element */
|
|
248
|
+
groupLabel?: string;
|
|
247
249
|
align?: AlignType;
|
|
248
250
|
/** Class added to Toolbar wrapper */
|
|
249
251
|
className?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "78.31.
|
|
3
|
+
"version": "78.31.4",
|
|
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/"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@atlaskit/activity-provider": "^2.4.0",
|
|
98
|
-
"@atlaskit/adf-schema": "^35.
|
|
98
|
+
"@atlaskit/adf-schema": "^35.10.0",
|
|
99
99
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
100
100
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
101
101
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|