@atlaskit/editor-common 116.9.0 → 116.10.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 +23 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +5 -0
- package/dist/cjs/messages/mentions.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/nesting/transformContainerNodesWhenRequired.js +50 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +5 -0
- package/dist/es2019/messages/mentions.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/nesting/transformContainerNodesWhenRequired.js +42 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +5 -0
- package/dist/esm/messages/mentions.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/nesting/transformContainerNodesWhenRequired.js +43 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +5 -0
- package/dist/types/messages/mentions.d.ts +7 -2
- package/dist/types/nesting/transformContainerNodesWhenRequired.d.ts +13 -0
- package/dist/types/types/type-ahead.d.ts +1 -0
- package/dist/types/ui-color/index.d.ts +3 -3
- package/nesting/transformContainerNodesWhenRequired/package.json +10 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`cf7797df5ff1e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cf7797df5ff1e) -
|
|
8
|
+
[ux] Add a Labs lozenge to the agent mention typeahead section.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 116.9.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`ce754f0f3613b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ce754f0f3613b) - -
|
|
19
|
+
Insight suggestion card UI
|
|
20
|
+
- Adds i18n copy for the insight suggestion card dismiss action
|
|
21
|
+
- [`47cef9f3ca86b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/47cef9f3ca86b) -
|
|
22
|
+
[ux] EDITOR-7670 add new transformContainerNodesWhenRequired util to support converting panel to
|
|
23
|
+
panel_c1 when panel contains table in block templates
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 116.9.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
|
@@ -156,6 +156,11 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
156
156
|
defaultMessage: 'Uses AI. Verify results.',
|
|
157
157
|
description: 'Disclaimer text shown in the footer of the AI suggestions card'
|
|
158
158
|
},
|
|
159
|
+
cardDismissButtonLabel: {
|
|
160
|
+
id: 'fabric.editor.ai.suggestions.card.dismissButtonLabel.non-final',
|
|
161
|
+
defaultMessage: 'Dismiss',
|
|
162
|
+
description: 'Label for the dismiss button on the AI suggestions card'
|
|
163
|
+
},
|
|
159
164
|
cardMoreOptionsButtonLabel: {
|
|
160
165
|
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
161
166
|
defaultMessage: 'More options',
|
|
@@ -55,5 +55,10 @@ var mentionMessages = exports.mentionMessages = (0, _reactIntl.defineMessages)({
|
|
|
55
55
|
id: 'fabric.editor.typeAhead.mentionSection.agents',
|
|
56
56
|
defaultMessage: 'Agents',
|
|
57
57
|
description: 'Section header for agent results in the mention type-ahead menu'
|
|
58
|
+
},
|
|
59
|
+
typeAheadSectionAgentsLabs: {
|
|
60
|
+
id: 'fabric.editor.typeAhead.mentionSection.agentsLabs',
|
|
61
|
+
defaultMessage: 'LABS',
|
|
62
|
+
description: 'Lozenge label shown next to the Agents section header in the mention type-ahead menu to indicate that agent mentions are experimental (Labs).'
|
|
58
63
|
}
|
|
59
64
|
});
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "116.
|
|
31
|
+
var packageVersion = "116.9.1";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// Ignored via go/ees007
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.transformContainerNodesWhenRequired = transformContainerNodesWhenRequired;
|
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _traverse = require("@atlaskit/adf-utils/traverse");
|
|
10
|
+
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
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) { (0, _defineProperty2.default)(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; }
|
|
13
|
+
/**
|
|
14
|
+
* Promotes `panel` nodes to `panel_c1` wherever their content makes them invalid
|
|
15
|
+
* as a standard `panel` but valid as a `panel_c1` (e.g. when a panel contains a table).
|
|
16
|
+
*
|
|
17
|
+
* Useful for insertion paths where content is being inserted as ADF and we want to
|
|
18
|
+
* use the standard panel type where possible, but upgrade when required by the content.
|
|
19
|
+
*/
|
|
20
|
+
function transformContainerNodesWhenRequired(adf, schema) {
|
|
21
|
+
var isTransformed = false;
|
|
22
|
+
var _schema$nodes = schema.nodes,
|
|
23
|
+
_panel = _schema$nodes.panel,
|
|
24
|
+
panel_c1 = _schema$nodes.panel_c1;
|
|
25
|
+
if (!_panel || !panel_c1) {
|
|
26
|
+
return {
|
|
27
|
+
transformedAdf: adf,
|
|
28
|
+
isTransformed: false
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
var transformedAdf = (0, _traverse.traverse)(adf, {
|
|
32
|
+
panel: function panel(node) {
|
|
33
|
+
if (!node.content) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
var fragment = _model.Fragment.fromJSON(schema, node.content);
|
|
37
|
+
if (!_panel.validContent(fragment) && panel_c1.validContent(fragment)) {
|
|
38
|
+
isTransformed = true;
|
|
39
|
+
return _objectSpread(_objectSpread({}, node), {}, {
|
|
40
|
+
type: 'panel_c1'
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
transformedAdf: transformedAdf,
|
|
48
|
+
isTransformed: isTransformed
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 = "116.
|
|
27
|
+
var packageVersion = "116.9.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -150,6 +150,11 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Uses AI. Verify results.',
|
|
151
151
|
description: 'Disclaimer text shown in the footer of the AI suggestions card'
|
|
152
152
|
},
|
|
153
|
+
cardDismissButtonLabel: {
|
|
154
|
+
id: 'fabric.editor.ai.suggestions.card.dismissButtonLabel.non-final',
|
|
155
|
+
defaultMessage: 'Dismiss',
|
|
156
|
+
description: 'Label for the dismiss button on the AI suggestions card'
|
|
157
|
+
},
|
|
153
158
|
cardMoreOptionsButtonLabel: {
|
|
154
159
|
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
155
160
|
defaultMessage: 'More options',
|
|
@@ -49,5 +49,10 @@ export const mentionMessages = defineMessages({
|
|
|
49
49
|
id: 'fabric.editor.typeAhead.mentionSection.agents',
|
|
50
50
|
defaultMessage: 'Agents',
|
|
51
51
|
description: 'Section header for agent results in the mention type-ahead menu'
|
|
52
|
+
},
|
|
53
|
+
typeAheadSectionAgentsLabs: {
|
|
54
|
+
id: 'fabric.editor.typeAhead.mentionSection.agentsLabs',
|
|
55
|
+
defaultMessage: 'LABS',
|
|
56
|
+
description: 'Lozenge label shown next to the Agents section header in the mention type-ahead menu to indicate that agent mentions are experimental (Labs).'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "116.
|
|
17
|
+
const packageVersion = "116.9.1";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// Ignored via go/ees007
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { traverse } from '@atlaskit/adf-utils/traverse';
|
|
2
|
+
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
/**
|
|
4
|
+
* Promotes `panel` nodes to `panel_c1` wherever their content makes them invalid
|
|
5
|
+
* as a standard `panel` but valid as a `panel_c1` (e.g. when a panel contains a table).
|
|
6
|
+
*
|
|
7
|
+
* Useful for insertion paths where content is being inserted as ADF and we want to
|
|
8
|
+
* use the standard panel type where possible, but upgrade when required by the content.
|
|
9
|
+
*/
|
|
10
|
+
export function transformContainerNodesWhenRequired(adf, schema) {
|
|
11
|
+
let isTransformed = false;
|
|
12
|
+
const {
|
|
13
|
+
panel,
|
|
14
|
+
panel_c1
|
|
15
|
+
} = schema.nodes;
|
|
16
|
+
if (!panel || !panel_c1) {
|
|
17
|
+
return {
|
|
18
|
+
transformedAdf: adf,
|
|
19
|
+
isTransformed: false
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const transformedAdf = traverse(adf, {
|
|
23
|
+
panel: node => {
|
|
24
|
+
if (!node.content) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const fragment = Fragment.fromJSON(schema, node.content);
|
|
28
|
+
if (!panel.validContent(fragment) && panel_c1.validContent(fragment)) {
|
|
29
|
+
isTransformed = true;
|
|
30
|
+
return {
|
|
31
|
+
...node,
|
|
32
|
+
type: 'panel_c1'
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
return {
|
|
39
|
+
transformedAdf,
|
|
40
|
+
isTransformed
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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 = "116.
|
|
17
|
+
const packageVersion = "116.9.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -150,6 +150,11 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Uses AI. Verify results.',
|
|
151
151
|
description: 'Disclaimer text shown in the footer of the AI suggestions card'
|
|
152
152
|
},
|
|
153
|
+
cardDismissButtonLabel: {
|
|
154
|
+
id: 'fabric.editor.ai.suggestions.card.dismissButtonLabel.non-final',
|
|
155
|
+
defaultMessage: 'Dismiss',
|
|
156
|
+
description: 'Label for the dismiss button on the AI suggestions card'
|
|
157
|
+
},
|
|
153
158
|
cardMoreOptionsButtonLabel: {
|
|
154
159
|
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
|
|
155
160
|
defaultMessage: 'More options',
|
|
@@ -49,5 +49,10 @@ export var mentionMessages = defineMessages({
|
|
|
49
49
|
id: 'fabric.editor.typeAhead.mentionSection.agents',
|
|
50
50
|
defaultMessage: 'Agents',
|
|
51
51
|
description: 'Section header for agent results in the mention type-ahead menu'
|
|
52
|
+
},
|
|
53
|
+
typeAheadSectionAgentsLabs: {
|
|
54
|
+
id: 'fabric.editor.typeAhead.mentionSection.agentsLabs',
|
|
55
|
+
defaultMessage: 'LABS',
|
|
56
|
+
description: 'Lozenge label shown next to the Agents section header in the mention type-ahead menu to indicate that agent mentions are experimental (Labs).'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "116.
|
|
23
|
+
var packageVersion = "116.9.1";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// Ignored via go/ees007
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
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; }
|
|
4
|
+
import { traverse } from '@atlaskit/adf-utils/traverse';
|
|
5
|
+
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
6
|
+
/**
|
|
7
|
+
* Promotes `panel` nodes to `panel_c1` wherever their content makes them invalid
|
|
8
|
+
* as a standard `panel` but valid as a `panel_c1` (e.g. when a panel contains a table).
|
|
9
|
+
*
|
|
10
|
+
* Useful for insertion paths where content is being inserted as ADF and we want to
|
|
11
|
+
* use the standard panel type where possible, but upgrade when required by the content.
|
|
12
|
+
*/
|
|
13
|
+
export function transformContainerNodesWhenRequired(adf, schema) {
|
|
14
|
+
var isTransformed = false;
|
|
15
|
+
var _schema$nodes = schema.nodes,
|
|
16
|
+
_panel = _schema$nodes.panel,
|
|
17
|
+
panel_c1 = _schema$nodes.panel_c1;
|
|
18
|
+
if (!_panel || !panel_c1) {
|
|
19
|
+
return {
|
|
20
|
+
transformedAdf: adf,
|
|
21
|
+
isTransformed: false
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
var transformedAdf = traverse(adf, {
|
|
25
|
+
panel: function panel(node) {
|
|
26
|
+
if (!node.content) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
var fragment = Fragment.fromJSON(schema, node.content);
|
|
30
|
+
if (!_panel.validContent(fragment) && panel_c1.validContent(fragment)) {
|
|
31
|
+
isTransformed = true;
|
|
32
|
+
return _objectSpread(_objectSpread({}, node), {}, {
|
|
33
|
+
type: 'panel_c1'
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
transformedAdf: transformedAdf,
|
|
41
|
+
isTransformed: isTransformed
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 = "116.
|
|
24
|
+
var packageVersion = "116.9.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -34,6 +34,11 @@ export declare const aiSuggestionsMessages: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
id: string;
|
|
36
36
|
};
|
|
37
|
+
cardDismissButtonLabel: {
|
|
38
|
+
defaultMessage: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
37
42
|
cardExpandButtonLabel: {
|
|
38
43
|
defaultMessage: string;
|
|
39
44
|
description: string;
|
|
@@ -34,7 +34,12 @@ export declare const mentionMessages: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
id: string;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
typeAheadSectionAgents: {
|
|
38
|
+
defaultMessage: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
42
|
+
typeAheadSectionAgentsLabs: {
|
|
38
43
|
defaultMessage: string;
|
|
39
44
|
description: string;
|
|
40
45
|
id: string;
|
|
@@ -44,7 +49,7 @@ export declare const mentionMessages: {
|
|
|
44
49
|
description: string;
|
|
45
50
|
id: string;
|
|
46
51
|
};
|
|
47
|
-
|
|
52
|
+
unknownLabel: {
|
|
48
53
|
defaultMessage: string;
|
|
49
54
|
description: string;
|
|
50
55
|
id: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
|
+
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
/**
|
|
4
|
+
* Promotes `panel` nodes to `panel_c1` wherever their content makes them invalid
|
|
5
|
+
* as a standard `panel` but valid as a `panel_c1` (e.g. when a panel contains a table).
|
|
6
|
+
*
|
|
7
|
+
* Useful for insertion paths where content is being inserted as ADF and we want to
|
|
8
|
+
* use the standard panel type where possible, but upgrade when required by the content.
|
|
9
|
+
*/
|
|
10
|
+
export declare function transformContainerNodesWhenRequired(adf: ADFEntity, schema: Schema): {
|
|
11
|
+
isTransformed: boolean;
|
|
12
|
+
transformedAdf: ADFEntity | false;
|
|
13
|
+
};
|
|
@@ -7,10 +7,10 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
7
7
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
8
8
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
9
9
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
10
|
-
export { textColorPalette
|
|
11
|
-
export { textColorPaletteNew
|
|
10
|
+
export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
11
|
+
export { textColorPaletteNew } from './ColorPalette/Palettes/textColorPaletteNew';
|
|
12
12
|
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
|
|
13
|
-
export { highlightColorPaletteNew
|
|
13
|
+
export { highlightColorPaletteNew } from './ColorPalette/Palettes/highlightColorPaletteNew';
|
|
14
14
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes/paletteMessagesTokenModeNames';
|
|
15
15
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
16
16
|
export type { PaletteColor, PaletteTooltipMessages } from './ColorPalette/Palettes/type';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/nesting/transformContainerNodesWhenRequired",
|
|
3
|
+
"main": "../../dist/cjs/nesting/transformContainerNodesWhenRequired.js",
|
|
4
|
+
"module": "../../dist/esm/nesting/transformContainerNodesWhenRequired.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/nesting/transformContainerNodesWhenRequired.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/nesting/transformContainerNodesWhenRequired.d.ts"
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.
|
|
3
|
+
"version": "116.10.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/"
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"@atlaskit/link-datasource": "^6.0.0",
|
|
56
56
|
"@atlaskit/link-picker": "^6.0.0",
|
|
57
57
|
"@atlaskit/media-card": "^81.1.0",
|
|
58
|
-
"@atlaskit/media-client": "^37.
|
|
58
|
+
"@atlaskit/media-client": "^37.1.0",
|
|
59
59
|
"@atlaskit/media-client-react": "^6.0.0",
|
|
60
|
-
"@atlaskit/media-common": "^14.
|
|
60
|
+
"@atlaskit/media-common": "^14.1.0",
|
|
61
61
|
"@atlaskit/media-file-preview": "^1.0.0",
|
|
62
62
|
"@atlaskit/media-picker": "^72.0.0",
|
|
63
|
-
"@atlaskit/media-ui": "^30.
|
|
64
|
-
"@atlaskit/media-viewer": "^54.
|
|
63
|
+
"@atlaskit/media-ui": "^30.3.0",
|
|
64
|
+
"@atlaskit/media-viewer": "^54.2.0",
|
|
65
65
|
"@atlaskit/mention": "^27.2.0",
|
|
66
66
|
"@atlaskit/menu": "^9.0.0",
|
|
67
67
|
"@atlaskit/object": "^2.0.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/task-decision": "^21.2.0",
|
|
80
80
|
"@atlaskit/teams-app-config": "^2.0.0",
|
|
81
81
|
"@atlaskit/textfield": "^9.0.0",
|
|
82
|
-
"@atlaskit/tmp-editor-statsig": "^109.
|
|
82
|
+
"@atlaskit/tmp-editor-statsig": "^109.2.0",
|
|
83
83
|
"@atlaskit/tokens": "^14.0.0",
|
|
84
84
|
"@atlaskit/tooltip": "^23.0.0",
|
|
85
85
|
"@atlaskit/width-detector": "^6.0.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"raf-stub": "^2.0.1",
|
|
135
135
|
"react": "^18.2.0",
|
|
136
136
|
"react-dom": "^18.2.0",
|
|
137
|
-
"react-intl": "^
|
|
137
|
+
"react-intl": "^7.0.0",
|
|
138
138
|
"react-test-renderer": "^18.2.0",
|
|
139
139
|
"sinon": "^2.2.0"
|
|
140
140
|
},
|