@atlaskit/editor-common 112.3.1 → 112.4.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 +19 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +35 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +35 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +35 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +35 -0
- package/dist/types-ts4.5/ai-messages/ai-suggestions.d.ts +35 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`588523a53a783`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/588523a53a783) -
|
|
8
|
+
EDITOR-5634: Add AI suggestion card component
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 112.3.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`644dd3e13dd7b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/644dd3e13dd7b) -
|
|
19
|
+
Add analytics for remix button block click
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 112.3.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -75,5 +75,40 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntlNext.d
|
|
|
75
75
|
id: 'fabric.editor.ai.suggestions.stagingArea.suggestionsLabel.non-final',
|
|
76
76
|
defaultMessage: 'Suggestions',
|
|
77
77
|
description: 'Label for the suggestions section in the AI suggestions staging area'
|
|
78
|
+
},
|
|
79
|
+
cardCloseButtonLabel: {
|
|
80
|
+
id: 'fabric.editor.ai.suggestions.card.closeButtonLabel.non-final',
|
|
81
|
+
defaultMessage: 'Close',
|
|
82
|
+
description: 'Label for the close button on the AI suggestions card'
|
|
83
|
+
},
|
|
84
|
+
cardExpandButtonLabel: {
|
|
85
|
+
id: 'fabric.editor.ai.suggestions.card.expandButtonLabel.non-final',
|
|
86
|
+
defaultMessage: 'Expand',
|
|
87
|
+
description: 'Label for the expand button on the AI suggestions card'
|
|
88
|
+
},
|
|
89
|
+
cardCollapseButtonLabel: {
|
|
90
|
+
id: 'fabric.editor.ai.suggestions.card.collapseButtonLabel.non-final',
|
|
91
|
+
defaultMessage: 'Collapse',
|
|
92
|
+
description: 'Label for the collapse button on the AI suggestions card'
|
|
93
|
+
},
|
|
94
|
+
cardRovoTitle: {
|
|
95
|
+
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
96
|
+
defaultMessage: 'Rovo',
|
|
97
|
+
description: 'Title for Rovo branding on the AI suggestions card'
|
|
98
|
+
},
|
|
99
|
+
cardPrivateLabel: {
|
|
100
|
+
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
101
|
+
defaultMessage: 'Private',
|
|
102
|
+
description: 'Label for the private/lock indicator on the AI suggestions card'
|
|
103
|
+
},
|
|
104
|
+
cardAcceptButtonLabel: {
|
|
105
|
+
id: 'fabric.editor.ai.suggestions.card.acceptButtonLabel.non-final',
|
|
106
|
+
defaultMessage: 'Accept',
|
|
107
|
+
description: 'Label for the accept button on the AI suggestions card'
|
|
108
|
+
},
|
|
109
|
+
cardDiscardButtonLabel: {
|
|
110
|
+
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
111
|
+
defaultMessage: 'Discard',
|
|
112
|
+
description: 'Label for the discard button on the AI suggestions card'
|
|
78
113
|
}
|
|
79
114
|
});
|
|
@@ -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 = "112.3.
|
|
22
|
+
var packageVersion = "112.3.2";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -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 = "112.3.
|
|
27
|
+
var packageVersion = "112.3.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -69,5 +69,40 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
69
69
|
id: 'fabric.editor.ai.suggestions.stagingArea.suggestionsLabel.non-final',
|
|
70
70
|
defaultMessage: 'Suggestions',
|
|
71
71
|
description: 'Label for the suggestions section in the AI suggestions staging area'
|
|
72
|
+
},
|
|
73
|
+
cardCloseButtonLabel: {
|
|
74
|
+
id: 'fabric.editor.ai.suggestions.card.closeButtonLabel.non-final',
|
|
75
|
+
defaultMessage: 'Close',
|
|
76
|
+
description: 'Label for the close button on the AI suggestions card'
|
|
77
|
+
},
|
|
78
|
+
cardExpandButtonLabel: {
|
|
79
|
+
id: 'fabric.editor.ai.suggestions.card.expandButtonLabel.non-final',
|
|
80
|
+
defaultMessage: 'Expand',
|
|
81
|
+
description: 'Label for the expand button on the AI suggestions card'
|
|
82
|
+
},
|
|
83
|
+
cardCollapseButtonLabel: {
|
|
84
|
+
id: 'fabric.editor.ai.suggestions.card.collapseButtonLabel.non-final',
|
|
85
|
+
defaultMessage: 'Collapse',
|
|
86
|
+
description: 'Label for the collapse button on the AI suggestions card'
|
|
87
|
+
},
|
|
88
|
+
cardRovoTitle: {
|
|
89
|
+
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
90
|
+
defaultMessage: 'Rovo',
|
|
91
|
+
description: 'Title for Rovo branding on the AI suggestions card'
|
|
92
|
+
},
|
|
93
|
+
cardPrivateLabel: {
|
|
94
|
+
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
95
|
+
defaultMessage: 'Private',
|
|
96
|
+
description: 'Label for the private/lock indicator on the AI suggestions card'
|
|
97
|
+
},
|
|
98
|
+
cardAcceptButtonLabel: {
|
|
99
|
+
id: 'fabric.editor.ai.suggestions.card.acceptButtonLabel.non-final',
|
|
100
|
+
defaultMessage: 'Accept',
|
|
101
|
+
description: 'Label for the accept button on the AI suggestions card'
|
|
102
|
+
},
|
|
103
|
+
cardDiscardButtonLabel: {
|
|
104
|
+
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
105
|
+
defaultMessage: 'Discard',
|
|
106
|
+
description: 'Label for the discard button on the AI suggestions card'
|
|
72
107
|
}
|
|
73
108
|
});
|
|
@@ -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 = "112.3.
|
|
7
|
+
const packageVersion = "112.3.2";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -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 = "112.3.
|
|
17
|
+
const packageVersion = "112.3.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -69,5 +69,40 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
69
69
|
id: 'fabric.editor.ai.suggestions.stagingArea.suggestionsLabel.non-final',
|
|
70
70
|
defaultMessage: 'Suggestions',
|
|
71
71
|
description: 'Label for the suggestions section in the AI suggestions staging area'
|
|
72
|
+
},
|
|
73
|
+
cardCloseButtonLabel: {
|
|
74
|
+
id: 'fabric.editor.ai.suggestions.card.closeButtonLabel.non-final',
|
|
75
|
+
defaultMessage: 'Close',
|
|
76
|
+
description: 'Label for the close button on the AI suggestions card'
|
|
77
|
+
},
|
|
78
|
+
cardExpandButtonLabel: {
|
|
79
|
+
id: 'fabric.editor.ai.suggestions.card.expandButtonLabel.non-final',
|
|
80
|
+
defaultMessage: 'Expand',
|
|
81
|
+
description: 'Label for the expand button on the AI suggestions card'
|
|
82
|
+
},
|
|
83
|
+
cardCollapseButtonLabel: {
|
|
84
|
+
id: 'fabric.editor.ai.suggestions.card.collapseButtonLabel.non-final',
|
|
85
|
+
defaultMessage: 'Collapse',
|
|
86
|
+
description: 'Label for the collapse button on the AI suggestions card'
|
|
87
|
+
},
|
|
88
|
+
cardRovoTitle: {
|
|
89
|
+
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
90
|
+
defaultMessage: 'Rovo',
|
|
91
|
+
description: 'Title for Rovo branding on the AI suggestions card'
|
|
92
|
+
},
|
|
93
|
+
cardPrivateLabel: {
|
|
94
|
+
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
95
|
+
defaultMessage: 'Private',
|
|
96
|
+
description: 'Label for the private/lock indicator on the AI suggestions card'
|
|
97
|
+
},
|
|
98
|
+
cardAcceptButtonLabel: {
|
|
99
|
+
id: 'fabric.editor.ai.suggestions.card.acceptButtonLabel.non-final',
|
|
100
|
+
defaultMessage: 'Accept',
|
|
101
|
+
description: 'Label for the accept button on the AI suggestions card'
|
|
102
|
+
},
|
|
103
|
+
cardDiscardButtonLabel: {
|
|
104
|
+
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
|
|
105
|
+
defaultMessage: 'Discard',
|
|
106
|
+
description: 'Label for the discard button on the AI suggestions card'
|
|
72
107
|
}
|
|
73
108
|
});
|
|
@@ -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 = "112.3.
|
|
13
|
+
var packageVersion = "112.3.2";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -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 = "112.3.
|
|
24
|
+
var packageVersion = "112.3.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -69,4 +69,39 @@ export declare const aiSuggestionsMessages: {
|
|
|
69
69
|
defaultMessage: string;
|
|
70
70
|
description: string;
|
|
71
71
|
};
|
|
72
|
+
cardCloseButtonLabel: {
|
|
73
|
+
id: string;
|
|
74
|
+
defaultMessage: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
cardExpandButtonLabel: {
|
|
78
|
+
id: string;
|
|
79
|
+
defaultMessage: string;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
cardCollapseButtonLabel: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
cardRovoTitle: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
cardPrivateLabel: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
cardAcceptButtonLabel: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
cardDiscardButtonLabel: {
|
|
103
|
+
id: string;
|
|
104
|
+
defaultMessage: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
72
107
|
};
|
|
@@ -69,4 +69,39 @@ export declare const aiSuggestionsMessages: {
|
|
|
69
69
|
defaultMessage: string;
|
|
70
70
|
description: string;
|
|
71
71
|
};
|
|
72
|
+
cardCloseButtonLabel: {
|
|
73
|
+
id: string;
|
|
74
|
+
defaultMessage: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
cardExpandButtonLabel: {
|
|
78
|
+
id: string;
|
|
79
|
+
defaultMessage: string;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
cardCollapseButtonLabel: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
cardRovoTitle: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
cardPrivateLabel: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
cardAcceptButtonLabel: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
cardDiscardButtonLabel: {
|
|
103
|
+
id: string;
|
|
104
|
+
defaultMessage: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
72
107
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.
|
|
3
|
+
"version": "112.4.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/"
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
50
50
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
51
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
51
|
+
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
52
52
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
53
53
|
"@atlaskit/emoji": "^69.10.0",
|
|
54
54
|
"@atlaskit/icon": "^32.1.0",
|
|
55
|
-
"@atlaskit/icon-object": "^7.
|
|
55
|
+
"@atlaskit/icon-object": "^7.5.0",
|
|
56
56
|
"@atlaskit/link": "^3.3.0",
|
|
57
57
|
"@atlaskit/link-datasource": "^4.34.0",
|
|
58
58
|
"@atlaskit/link-picker": "^4.2.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@atlaskit/task-decision": "^19.3.0",
|
|
83
83
|
"@atlaskit/textfield": "^8.2.0",
|
|
84
84
|
"@atlaskit/theme": "^22.0.0",
|
|
85
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
85
|
+
"@atlaskit/tmp-editor-statsig": "^40.0.0",
|
|
86
86
|
"@atlaskit/tokens": "^11.1.0",
|
|
87
87
|
"@atlaskit/tooltip": "^20.14.0",
|
|
88
88
|
"@atlaskit/width-detector": "^5.0.0",
|