@atlaskit/editor-common 91.0.1 → 91.0.2
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 +11 -0
- package/dist/cjs/lazy-node-view/css-helper.js +1 -1
- package/dist/cjs/messages/tasks-and-decsisions.js +20 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/lazy-node-view/css-helper.js +1 -1
- package/dist/es2019/messages/tasks-and-decsisions.js +20 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/lazy-node-view/css-helper.js +1 -1
- package/dist/esm/messages/tasks-and-decsisions.js +20 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/lazy-node-view/css-helper.d.ts +1 -1
- package/dist/types/messages/tasks-and-decsisions.d.ts +20 -0
- package/dist/types-ts4.5/lazy-node-view/css-helper.d.ts +1 -1
- package/dist/types-ts4.5/messages/tasks-and-decsisions.d.ts +20 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 91.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#144162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144162)
|
|
8
|
+
[`89ef180d8e16e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/89ef180d8e16e) -
|
|
9
|
+
[ux] ED-24772 add popup content for create request to edit component
|
|
10
|
+
- [#144162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144162)
|
|
11
|
+
[`2b2233eed311a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b2233eed311a) -
|
|
12
|
+
ED-24858: fixes layout shifts for tables under SSR
|
|
13
|
+
|
|
3
14
|
## 91.0.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -34,7 +34,7 @@ function convertToInlineCss(properties) {
|
|
|
34
34
|
var _ref6 = (0, _slicedToArray2.default)(_ref5, 2),
|
|
35
35
|
property = _ref6[0],
|
|
36
36
|
value = _ref6[1];
|
|
37
|
-
return "".concat(hyphenate(property), ": ").concat(value, ";");
|
|
37
|
+
return "".concat(property.startsWith('--') ? property : hyphenate(property), ": ").concat(value, ";");
|
|
38
38
|
}).join(' ');
|
|
39
39
|
return cssString;
|
|
40
40
|
}
|
|
@@ -15,5 +15,25 @@ var tasksAndDecisionsMessages = exports.tasksAndDecisionsMessages = (0, _reactIn
|
|
|
15
15
|
id: 'fabric.editor.decisionPlaceholder',
|
|
16
16
|
defaultMessage: 'Add a decision…',
|
|
17
17
|
description: 'Placeholder description for an empty decision in the editor'
|
|
18
|
+
},
|
|
19
|
+
editAccessTitle: {
|
|
20
|
+
id: 'fabric.editor.editAccessTitle',
|
|
21
|
+
defaultMessage: 'You need edit access',
|
|
22
|
+
description: 'Title in the popup when we click on action item checkbox without edit permission'
|
|
23
|
+
},
|
|
24
|
+
requestToEditDescription: {
|
|
25
|
+
id: 'fabric.editor.requestToEditDescription',
|
|
26
|
+
defaultMessage: 'When you request access, the page owner will receive a notification.',
|
|
27
|
+
description: 'Description in the popup when we click on action item checkbox without edit permission'
|
|
28
|
+
},
|
|
29
|
+
requestToEdit: {
|
|
30
|
+
id: 'fabric.editor.requestToEdit',
|
|
31
|
+
defaultMessage: 'Request to edit',
|
|
32
|
+
description: 'Button in the popup when we click on action item checkbox without edit permission'
|
|
33
|
+
},
|
|
34
|
+
dismiss: {
|
|
35
|
+
id: 'fabric.editor.requestToEditDismiss',
|
|
36
|
+
defaultMessage: 'Dismiss',
|
|
37
|
+
description: 'Button in the popup when we click on dismiss without edit permission'
|
|
18
38
|
}
|
|
19
39
|
});
|
|
@@ -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 && {}.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 = "91.0.
|
|
20
|
+
var packageVersion = "91.0.2";
|
|
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
|
|
@@ -25,7 +25,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
25
25
|
* @jsx jsx
|
|
26
26
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
27
|
var packageName = "@atlaskit/editor-common";
|
|
28
|
-
var packageVersion = "91.0.
|
|
28
|
+
var packageVersion = "91.0.2";
|
|
29
29
|
var halfFocusRing = 1;
|
|
30
30
|
var dropOffset = '0, 8';
|
|
31
31
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -14,6 +14,6 @@ function hyphenate(property) {
|
|
|
14
14
|
* @returns CSS string.
|
|
15
15
|
*/
|
|
16
16
|
export function convertToInlineCss(properties) {
|
|
17
|
-
const cssString = Object.entries(properties).sort(([a], [b]) => a.localeCompare(b)).map(([property, value]) => `${hyphenate(property)}: ${value};`).join(' ');
|
|
17
|
+
const cssString = Object.entries(properties).sort(([a], [b]) => a.localeCompare(b)).map(([property, value]) => `${property.startsWith('--') ? property : hyphenate(property)}: ${value};`).join(' ');
|
|
18
18
|
return cssString;
|
|
19
19
|
}
|
|
@@ -9,5 +9,25 @@ export const tasksAndDecisionsMessages = defineMessages({
|
|
|
9
9
|
id: 'fabric.editor.decisionPlaceholder',
|
|
10
10
|
defaultMessage: 'Add a decision…',
|
|
11
11
|
description: 'Placeholder description for an empty decision in the editor'
|
|
12
|
+
},
|
|
13
|
+
editAccessTitle: {
|
|
14
|
+
id: 'fabric.editor.editAccessTitle',
|
|
15
|
+
defaultMessage: 'You need edit access',
|
|
16
|
+
description: 'Title in the popup when we click on action item checkbox without edit permission'
|
|
17
|
+
},
|
|
18
|
+
requestToEditDescription: {
|
|
19
|
+
id: 'fabric.editor.requestToEditDescription',
|
|
20
|
+
defaultMessage: 'When you request access, the page owner will receive a notification.',
|
|
21
|
+
description: 'Description in the popup when we click on action item checkbox without edit permission'
|
|
22
|
+
},
|
|
23
|
+
requestToEdit: {
|
|
24
|
+
id: 'fabric.editor.requestToEdit',
|
|
25
|
+
defaultMessage: 'Request to edit',
|
|
26
|
+
description: 'Button in the popup when we click on action item checkbox without edit permission'
|
|
27
|
+
},
|
|
28
|
+
dismiss: {
|
|
29
|
+
id: 'fabric.editor.requestToEditDismiss',
|
|
30
|
+
defaultMessage: 'Dismiss',
|
|
31
|
+
description: 'Button in the popup when we click on dismiss without edit permission'
|
|
12
32
|
}
|
|
13
33
|
});
|
|
@@ -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 = "91.0.
|
|
4
|
+
const packageVersion = "91.0.2";
|
|
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
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "91.0.
|
|
17
|
+
const packageVersion = "91.0.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
class DropList extends Component {
|
|
@@ -27,7 +27,7 @@ export function convertToInlineCss(properties) {
|
|
|
27
27
|
var _ref6 = _slicedToArray(_ref5, 2),
|
|
28
28
|
property = _ref6[0],
|
|
29
29
|
value = _ref6[1];
|
|
30
|
-
return "".concat(hyphenate(property), ": ").concat(value, ";");
|
|
30
|
+
return "".concat(property.startsWith('--') ? property : hyphenate(property), ": ").concat(value, ";");
|
|
31
31
|
}).join(' ');
|
|
32
32
|
return cssString;
|
|
33
33
|
}
|
|
@@ -9,5 +9,25 @@ export var tasksAndDecisionsMessages = defineMessages({
|
|
|
9
9
|
id: 'fabric.editor.decisionPlaceholder',
|
|
10
10
|
defaultMessage: 'Add a decision…',
|
|
11
11
|
description: 'Placeholder description for an empty decision in the editor'
|
|
12
|
+
},
|
|
13
|
+
editAccessTitle: {
|
|
14
|
+
id: 'fabric.editor.editAccessTitle',
|
|
15
|
+
defaultMessage: 'You need edit access',
|
|
16
|
+
description: 'Title in the popup when we click on action item checkbox without edit permission'
|
|
17
|
+
},
|
|
18
|
+
requestToEditDescription: {
|
|
19
|
+
id: 'fabric.editor.requestToEditDescription',
|
|
20
|
+
defaultMessage: 'When you request access, the page owner will receive a notification.',
|
|
21
|
+
description: 'Description in the popup when we click on action item checkbox without edit permission'
|
|
22
|
+
},
|
|
23
|
+
requestToEdit: {
|
|
24
|
+
id: 'fabric.editor.requestToEdit',
|
|
25
|
+
defaultMessage: 'Request to edit',
|
|
26
|
+
description: 'Button in the popup when we click on action item checkbox without edit permission'
|
|
27
|
+
},
|
|
28
|
+
dismiss: {
|
|
29
|
+
id: 'fabric.editor.requestToEditDismiss',
|
|
30
|
+
defaultMessage: 'Dismiss',
|
|
31
|
+
description: 'Button in the popup when we click on dismiss without edit permission'
|
|
12
32
|
}
|
|
13
33
|
});
|
|
@@ -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 = "91.0.
|
|
10
|
+
var packageVersion = "91.0.2";
|
|
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
|
|
@@ -22,7 +22,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
22
22
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
23
23
|
import Layer from '../Layer';
|
|
24
24
|
var packageName = "@atlaskit/editor-common";
|
|
25
|
-
var packageVersion = "91.0.
|
|
25
|
+
var packageVersion = "91.0.2";
|
|
26
26
|
var halfFocusRing = 1;
|
|
27
27
|
var dropOffset = '0, 8';
|
|
28
28
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @param properties - CSS properties object.
|
|
5
5
|
* @returns CSS string.
|
|
6
6
|
*/
|
|
7
|
-
export declare function convertToInlineCss(properties: React.CSSProperties): string;
|
|
7
|
+
export declare function convertToInlineCss(properties: React.CSSProperties | Record<`--${string}`, string>): string;
|
|
@@ -9,4 +9,24 @@ export declare const tasksAndDecisionsMessages: {
|
|
|
9
9
|
defaultMessage: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
|
+
editAccessTitle: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
requestToEditDescription: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
requestToEdit: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
dismiss: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
12
32
|
};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @param properties - CSS properties object.
|
|
5
5
|
* @returns CSS string.
|
|
6
6
|
*/
|
|
7
|
-
export declare function convertToInlineCss(properties: React.CSSProperties): string;
|
|
7
|
+
export declare function convertToInlineCss(properties: React.CSSProperties | Record<`--${string}`, string>): string;
|
|
@@ -9,4 +9,24 @@ export declare const tasksAndDecisionsMessages: {
|
|
|
9
9
|
defaultMessage: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
|
+
editAccessTitle: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
requestToEditDescription: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
requestToEdit: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
dismiss: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
12
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "91.0.
|
|
3
|
+
"version": "91.0.2",
|
|
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/"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
125
125
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
126
126
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
127
|
-
"@atlaskit/emoji": "^67.
|
|
127
|
+
"@atlaskit/emoji": "^67.8.0",
|
|
128
128
|
"@atlaskit/icon": "^22.18.0",
|
|
129
129
|
"@atlaskit/icon-object": "^6.5.0",
|
|
130
130
|
"@atlaskit/link-datasource": "^3.1.0",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@atlaskit/media-picker": "^66.7.0",
|
|
138
138
|
"@atlaskit/media-ui": "^25.15.0",
|
|
139
139
|
"@atlaskit/media-viewer": "48.10.0",
|
|
140
|
-
"@atlaskit/mention": "^23.
|
|
140
|
+
"@atlaskit/mention": "^23.3.0",
|
|
141
141
|
"@atlaskit/menu": "^2.12.0",
|
|
142
142
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
143
143
|
"@atlaskit/primitives": "^12.2.0",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"@atlaskit/smart-card": "^28.1.0",
|
|
147
147
|
"@atlaskit/smart-user-picker": "^6.10.0",
|
|
148
148
|
"@atlaskit/spinner": "^16.3.0",
|
|
149
|
-
"@atlaskit/task-decision": "^17.
|
|
149
|
+
"@atlaskit/task-decision": "^17.11.0",
|
|
150
150
|
"@atlaskit/textfield": "^6.5.0",
|
|
151
151
|
"@atlaskit/theme": "^13.0.0",
|
|
152
152
|
"@atlaskit/tmp-editor-statsig": "*",
|