@atlaskit/editor-common 107.16.1 → 107.16.3

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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.16.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#195353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195353)
8
+ [`dc5e7898ce269`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc5e7898ce269) -
9
+ EDITOR-1104 Replace panel with panelWithLocalId behind platform_editor_adf_with_localid feature
10
+ gate.
11
+ - [#195649](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195649)
12
+ [`231bb33e06dfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231bb33e06dfe) -
13
+ EDITOR-1131 Bump adf-schema version to 50.2.0
14
+ - Updated dependencies
15
+
16
+ ## 107.16.2
17
+
18
+ ### Patch Changes
19
+
20
+ - [#195460](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195460)
21
+ [`dd320dee34d9f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dd320dee34d9f) -
22
+ [ux] ED-28684 register ai components to the new toolbar behind platform_editor_toolbar_aifc
23
+ experiment
24
+ - Updated dependencies
25
+
3
26
  ## 107.16.1
4
27
 
5
28
  ### Patch Changes
@@ -0,0 +1,183 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../dev-agents/tsDist/@atlaskit__editor-common/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../activity-provider/afm-dev-agents/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../adf-utils/afm-dev-agents/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../analytics/analytics-listeners/afm-dev-agents/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../analytics/analytics-namespaced-context/afm-dev-agents/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../analytics/analytics-next/afm-dev-agents/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../uip/atlassian-context/afm-dev-agents/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/button/afm-dev-agents/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/code/afm-dev-agents/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../monorepo-tooling/codemod-utils/afm-dev-agents/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/css/afm-dev-agents/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../custom-steps/afm-dev-agents/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/dropdown-menu/afm-dev-agents/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../editor-json-transformer/afm-dev-agents/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../editor-palette/afm-dev-agents/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../editor-shared-styles/afm-dev-agents/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../editor-tables/afm-dev-agents/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../elements/emoji/afm-dev-agents/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../design-system/icon-object/afm-dev-agents/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../design-system/link/afm-dev-agents/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../linking-platform/link-datasource/afm-dev-agents/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../linking-platform/link-picker/afm-dev-agents/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../../media/media-card/afm-dev-agents/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../../media/media-client/afm-dev-agents/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../../media/media-client-react/afm-dev-agents/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../../media/media-common/afm-dev-agents/tsconfig.json"
103
+ },
104
+ {
105
+ "path": "../../../media/media-file-preview/afm-dev-agents/tsconfig.json"
106
+ },
107
+ {
108
+ "path": "../../../media/media-picker/afm-dev-agents/tsconfig.json"
109
+ },
110
+ {
111
+ "path": "../../../media/media-ui/afm-dev-agents/tsconfig.json"
112
+ },
113
+ {
114
+ "path": "../../../media/media-viewer/afm-dev-agents/tsconfig.json"
115
+ },
116
+ {
117
+ "path": "../../../elements/mention/afm-dev-agents/tsconfig.json"
118
+ },
119
+ {
120
+ "path": "../../../design-system/menu/afm-dev-agents/tsconfig.json"
121
+ },
122
+ {
123
+ "path": "../../../design-system/onboarding/afm-dev-agents/tsconfig.json"
124
+ },
125
+ {
126
+ "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
127
+ },
128
+ {
129
+ "path": "../../../platform/feature-flags-react/afm-dev-agents/tsconfig.json"
130
+ },
131
+ {
132
+ "path": "../../../design-system/popper/afm-dev-agents/tsconfig.json"
133
+ },
134
+ {
135
+ "path": "../../../design-system/primitives/afm-dev-agents/tsconfig.json"
136
+ },
137
+ {
138
+ "path": "../../../people-and-teams/profilecard/afm-dev-agents/tsconfig.json"
139
+ },
140
+ {
141
+ "path": "../../../react-ufo/atlaskit/afm-dev-agents/tsconfig.json"
142
+ },
143
+ {
144
+ "path": "../../../design-system/section-message/afm-dev-agents/tsconfig.json"
145
+ },
146
+ {
147
+ "path": "../../../linking-platform/smart-card/afm-dev-agents/tsconfig.json"
148
+ },
149
+ {
150
+ "path": "../../../smart-experiences/smart-user-picker/afm-dev-agents/tsconfig.json"
151
+ },
152
+ {
153
+ "path": "../../../design-system/spinner/afm-dev-agents/tsconfig.json"
154
+ },
155
+ {
156
+ "path": "../../../elements/status/afm-dev-agents/tsconfig.json"
157
+ },
158
+ {
159
+ "path": "../../../elements/task-decision/afm-dev-agents/tsconfig.json"
160
+ },
161
+ {
162
+ "path": "../../../design-system/textfield/afm-dev-agents/tsconfig.json"
163
+ },
164
+ {
165
+ "path": "../../../design-system/theme/afm-dev-agents/tsconfig.json"
166
+ },
167
+ {
168
+ "path": "../../tmp-editor-statsig/afm-dev-agents/tsconfig.json"
169
+ },
170
+ {
171
+ "path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
172
+ },
173
+ {
174
+ "path": "../../../design-system/tooltip/afm-dev-agents/tsconfig.json"
175
+ },
176
+ {
177
+ "path": "../../../design-system/width-detector/afm-dev-agents/tsconfig.json"
178
+ },
179
+ {
180
+ "path": "../../../media/media-core/afm-dev-agents/tsconfig.json"
181
+ }
182
+ ]
183
+ }
@@ -38,6 +38,16 @@ var aiMessages = exports.aiMessages = (0, _reactIntlNext.defineMessages)({
38
38
  defaultMessage: 'Ask AI',
39
39
  description: 'Title for an option to use Atlassian Intellgience'
40
40
  },
41
+ askRovoToolbarIconTitle: {
42
+ id: 'fabric.editor.ai.toolbar.askRovo.title',
43
+ defaultMessage: 'Ask Rovo',
44
+ description: 'Title for an option to use Atlassian Intellgience'
45
+ },
46
+ moreRovoOptionsMenuLabel: {
47
+ id: 'fabric.editor.ai.toolbar.moreRovoOptions.label',
48
+ defaultMessage: 'More Rovo options',
49
+ description: 'Label for the button which opens a menu with more options for using Atlassian Intellgience'
50
+ },
41
51
  askRovoAiSplitButtonLabel: {
42
52
  id: 'fabric.editor.ai.toolbar.askRovoAiSplitButton.label',
43
53
  defaultMessage: 'Ask Rovo AI',
@@ -68,6 +78,61 @@ var aiMessages = exports.aiMessages = (0, _reactIntlNext.defineMessages)({
68
78
  defaultMessage: 'AI',
69
79
  description: 'Title for Atlassian Intelligence button in editor selection floating toolbar'
70
80
  },
81
+ summarizeToolbarDropdownIconTitle: {
82
+ id: 'fabric.editor.ai.toolbar.summarize.title',
83
+ defaultMessage: 'Summarize',
84
+ description: 'Title for an option to use Atlassian Intellgience to summarize the content currently selected by the user'
85
+ },
86
+ translateToolbarDropdownIconTitle: {
87
+ id: 'fabric.editor.ai.toolbar.translate.title',
88
+ defaultMessage: 'Translate',
89
+ description: 'Title for an option to use Atlassian Intellgience to translate the content currently selected by the user. Opens another menu which allows the user to select the language.'
90
+ },
91
+ translateOptionsIconLabel: {
92
+ id: 'fabric.editor.ai.toolbar.translateOptions.label',
93
+ defaultMessage: 'Translate options',
94
+ description: 'Label for an icon which opens another menu to allows the user to select the language to use Atlassian Intellgience to translate the content currently selected by the user.'
95
+ },
96
+ spellingAndGrammarToolbarDropdownIconTitle: {
97
+ id: 'fabric.editor.ai.toolbar.spellingAndGrammar.title',
98
+ defaultMessage: 'Fix spelling and grammar',
99
+ description: 'Title for an option to use Atlassian Intellgience to fix spelling and grammar of the content currently selected by the user'
100
+ },
101
+ makeLongerToolbarDropdownIconTitle: {
102
+ id: 'fabric.editor.ai.toolbar.makeLonger.title',
103
+ defaultMessage: 'Make longer',
104
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user longer'
105
+ },
106
+ makeShorterToolbarDropdownIconTitle: {
107
+ id: 'fabric.editor.ai.toolbar.makeShorter.title',
108
+ defaultMessage: 'Make shorter',
109
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user shorter'
110
+ },
111
+ changeToneToolbarDropdownIconTitle: {
112
+ id: 'fabric.editor.ai.toolbar.changeTone.title',
113
+ defaultMessage: 'Change tone',
114
+ description: 'Title for an option to use Atlassian Intellgience to change the tone of the content currently selected by the user. Opens another menu which allows the user to select what about the tone they want to change, e.g. More professional'
115
+ },
116
+ changeToneOptionsIconLabel: {
117
+ id: 'fabric.editor.ai.toolbar.changeToneOptions.title',
118
+ defaultMessage: 'Change tone options',
119
+ description: 'Label for an icon which signals that you can open a menu to see options about how to change the tone of the content currently selected by the user using Atlassian Intelligence.'
120
+ },
121
+ moreProfessionalToneToolbarDropdownIconTitle: {
122
+ id: 'fabric.editor.ai.toolbar.moreProfessionalTone.title',
123
+ defaultMessage: 'More professional',
124
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more professional.'
125
+ },
126
+ moreCasualToneToolbarDropdownIconTitle: {
127
+ id: 'fabric.editor.ai.toolbar.moreCasualTone.title',
128
+ defaultMessage: 'More casual',
129
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more casual.'
130
+ },
131
+ moreEmpatheticToneToolbarDropdownIconTitle: {
132
+ id: 'fabric.editor.ai.toolbar.moreEmpatheticTone.title',
133
+ defaultMessage: 'More empathetic',
134
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more empathetic.'
135
+ },
71
136
  // Prebuilt messages
72
137
  atlasGenerateContentConfigItemDescription: {
73
138
  id: 'fabric.editor.ai.atlas-prebuilt.atlasGenerateContentConfigItemDescription',
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  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); }
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 = "107.16.0";
19
+ var packageVersion = "107.16.2";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "AI_SECTION_RANK", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _rank.AI_SECTION_RANK;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "IMPROVE_WRITING_GROUP_RANK", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _rank.IMPROVE_WRITING_GROUP_RANK;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "ROVO_CHANGE_TONE_MENU_RANK", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _rank.ROVO_CHANGE_TONE_MENU_RANK;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "ROVO_CHANGE_TONE_MENU_SECTION_RANK", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _rank.ROVO_CHANGE_TONE_MENU_SECTION_RANK;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "ROVO_GROUP_RANK", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _rank.ROVO_GROUP_RANK;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "ROVO_MENU_RANK", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _rank.ROVO_MENU_RANK;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "ROVO_MENU_SECTION_RANK", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _rank.ROVO_MENU_SECTION_RANK;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "ROVO_TRANSLATE_MENU_RANK", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _rank.ROVO_TRANSLATE_MENU_RANK;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "TOOLBAR_RANK", {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _rank.TOOLBAR_RANK;
58
+ }
59
+ });
60
+ var _rank = require("./rank");
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TOOLBAR_RANK = exports.ROVO_TRANSLATE_MENU_RANK = exports.ROVO_MENU_SECTION_RANK = exports.ROVO_MENU_RANK = exports.ROVO_GROUP_RANK = exports.ROVO_CHANGE_TONE_MENU_SECTION_RANK = exports.ROVO_CHANGE_TONE_MENU_RANK = exports.IMPROVE_WRITING_GROUP_RANK = exports.AI_SECTION_RANK = void 0;
7
+ var TOOLBAR_RANK = exports.TOOLBAR_RANK = {
8
+ AI: 100
9
+ };
10
+ var AI_SECTION_RANK = exports.AI_SECTION_RANK = {
11
+ ROVO: 100,
12
+ IMPROVE_WRITING: 200
13
+ };
14
+ var ROVO_GROUP_RANK = exports.ROVO_GROUP_RANK = {
15
+ ROVO_BUTTON: 100,
16
+ ROVO_MENU: 200
17
+ };
18
+ var IMPROVE_WRITING_GROUP_RANK = exports.IMPROVE_WRITING_GROUP_RANK = {
19
+ IMPROVE_WRITING: 100
20
+ };
21
+ var ROVO_MENU_RANK = exports.ROVO_MENU_RANK = {
22
+ OPTIONS: 100
23
+ };
24
+ var ROVO_MENU_SECTION_RANK = exports.ROVO_MENU_SECTION_RANK = {
25
+ MAKE_SHORTER: 100,
26
+ MAKE_LONGER: 200,
27
+ CHANGE_TONE: 300,
28
+ SPELLING_AND_GRAMMAR: 400,
29
+ TRANSLATE: 500,
30
+ SUMMARIZE: 600
31
+ };
32
+ var ROVO_CHANGE_TONE_MENU_RANK = exports.ROVO_CHANGE_TONE_MENU_RANK = {
33
+ OPTIONS: 100
34
+ };
35
+ var ROVO_CHANGE_TONE_MENU_SECTION_RANK = exports.ROVO_CHANGE_TONE_MENU_SECTION_RANK = {
36
+ MORE_PROFESSIONAL: 100,
37
+ MORE_CASUAL: 200,
38
+ MORE_EMPATHETIC: 300
39
+ };
40
+ var ROVO_TRANSLATE_MENU_RANK = exports.ROVO_TRANSLATE_MENU_RANK = {
41
+ OPTIONS: 100
42
+ };
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "107.16.0";
26
+ var packageVersion = "107.16.2";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -11,11 +11,12 @@ var _createWrapSelectionTransaction = require("./create-wrap-selection-transacti
11
11
  * 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
12
12
  * and set selection on it.
13
13
  */
14
- function wrapSelectionIn(type) {
14
+ function wrapSelectionIn(type, nodeAttributes) {
15
15
  return function (state, dispatch) {
16
16
  var tr = (0, _createWrapSelectionTransaction.createWrapSelectionTransaction)({
17
17
  state: state,
18
- type: type
18
+ type: type,
19
+ nodeAttributes: nodeAttributes
19
20
  });
20
21
  if (dispatch) {
21
22
  dispatch(tr);
@@ -32,6 +32,16 @@ export const aiMessages = defineMessages({
32
32
  defaultMessage: 'Ask AI',
33
33
  description: 'Title for an option to use Atlassian Intellgience'
34
34
  },
35
+ askRovoToolbarIconTitle: {
36
+ id: 'fabric.editor.ai.toolbar.askRovo.title',
37
+ defaultMessage: 'Ask Rovo',
38
+ description: 'Title for an option to use Atlassian Intellgience'
39
+ },
40
+ moreRovoOptionsMenuLabel: {
41
+ id: 'fabric.editor.ai.toolbar.moreRovoOptions.label',
42
+ defaultMessage: 'More Rovo options',
43
+ description: 'Label for the button which opens a menu with more options for using Atlassian Intellgience'
44
+ },
35
45
  askRovoAiSplitButtonLabel: {
36
46
  id: 'fabric.editor.ai.toolbar.askRovoAiSplitButton.label',
37
47
  defaultMessage: 'Ask Rovo AI',
@@ -62,6 +72,61 @@ export const aiMessages = defineMessages({
62
72
  defaultMessage: 'AI',
63
73
  description: 'Title for Atlassian Intelligence button in editor selection floating toolbar'
64
74
  },
75
+ summarizeToolbarDropdownIconTitle: {
76
+ id: 'fabric.editor.ai.toolbar.summarize.title',
77
+ defaultMessage: 'Summarize',
78
+ description: 'Title for an option to use Atlassian Intellgience to summarize the content currently selected by the user'
79
+ },
80
+ translateToolbarDropdownIconTitle: {
81
+ id: 'fabric.editor.ai.toolbar.translate.title',
82
+ defaultMessage: 'Translate',
83
+ description: 'Title for an option to use Atlassian Intellgience to translate the content currently selected by the user. Opens another menu which allows the user to select the language.'
84
+ },
85
+ translateOptionsIconLabel: {
86
+ id: 'fabric.editor.ai.toolbar.translateOptions.label',
87
+ defaultMessage: 'Translate options',
88
+ description: 'Label for an icon which opens another menu to allows the user to select the language to use Atlassian Intellgience to translate the content currently selected by the user.'
89
+ },
90
+ spellingAndGrammarToolbarDropdownIconTitle: {
91
+ id: 'fabric.editor.ai.toolbar.spellingAndGrammar.title',
92
+ defaultMessage: 'Fix spelling and grammar',
93
+ description: 'Title for an option to use Atlassian Intellgience to fix spelling and grammar of the content currently selected by the user'
94
+ },
95
+ makeLongerToolbarDropdownIconTitle: {
96
+ id: 'fabric.editor.ai.toolbar.makeLonger.title',
97
+ defaultMessage: 'Make longer',
98
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user longer'
99
+ },
100
+ makeShorterToolbarDropdownIconTitle: {
101
+ id: 'fabric.editor.ai.toolbar.makeShorter.title',
102
+ defaultMessage: 'Make shorter',
103
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user shorter'
104
+ },
105
+ changeToneToolbarDropdownIconTitle: {
106
+ id: 'fabric.editor.ai.toolbar.changeTone.title',
107
+ defaultMessage: 'Change tone',
108
+ description: 'Title for an option to use Atlassian Intellgience to change the tone of the content currently selected by the user. Opens another menu which allows the user to select what about the tone they want to change, e.g. More professional'
109
+ },
110
+ changeToneOptionsIconLabel: {
111
+ id: 'fabric.editor.ai.toolbar.changeToneOptions.title',
112
+ defaultMessage: 'Change tone options',
113
+ description: 'Label for an icon which signals that you can open a menu to see options about how to change the tone of the content currently selected by the user using Atlassian Intelligence.'
114
+ },
115
+ moreProfessionalToneToolbarDropdownIconTitle: {
116
+ id: 'fabric.editor.ai.toolbar.moreProfessionalTone.title',
117
+ defaultMessage: 'More professional',
118
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more professional.'
119
+ },
120
+ moreCasualToneToolbarDropdownIconTitle: {
121
+ id: 'fabric.editor.ai.toolbar.moreCasualTone.title',
122
+ defaultMessage: 'More casual',
123
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more casual.'
124
+ },
125
+ moreEmpatheticToneToolbarDropdownIconTitle: {
126
+ id: 'fabric.editor.ai.toolbar.moreEmpatheticTone.title',
127
+ defaultMessage: 'More empathetic',
128
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more empathetic.'
129
+ },
65
130
  // Prebuilt messages
66
131
  atlasGenerateContentConfigItemDescription: {
67
132
  id: 'fabric.editor.ai.atlas-prebuilt.atlasGenerateContentConfigItemDescription',
@@ -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 = "107.16.0";
4
+ const packageVersion = "107.16.2";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -0,0 +1,4 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export { TOOLBAR_RANK, AI_SECTION_RANK, ROVO_GROUP_RANK, IMPROVE_WRITING_GROUP_RANK, ROVO_MENU_RANK, ROVO_MENU_SECTION_RANK, ROVO_CHANGE_TONE_MENU_RANK, ROVO_CHANGE_TONE_MENU_SECTION_RANK, ROVO_TRANSLATE_MENU_RANK } from './rank';
@@ -0,0 +1,36 @@
1
+ export const TOOLBAR_RANK = {
2
+ AI: 100
3
+ };
4
+ export const AI_SECTION_RANK = {
5
+ ROVO: 100,
6
+ IMPROVE_WRITING: 200
7
+ };
8
+ export const ROVO_GROUP_RANK = {
9
+ ROVO_BUTTON: 100,
10
+ ROVO_MENU: 200
11
+ };
12
+ export const IMPROVE_WRITING_GROUP_RANK = {
13
+ IMPROVE_WRITING: 100
14
+ };
15
+ export const ROVO_MENU_RANK = {
16
+ OPTIONS: 100
17
+ };
18
+ export const ROVO_MENU_SECTION_RANK = {
19
+ MAKE_SHORTER: 100,
20
+ MAKE_LONGER: 200,
21
+ CHANGE_TONE: 300,
22
+ SPELLING_AND_GRAMMAR: 400,
23
+ TRANSLATE: 500,
24
+ SUMMARIZE: 600
25
+ };
26
+ export const ROVO_CHANGE_TONE_MENU_RANK = {
27
+ OPTIONS: 100
28
+ };
29
+ export const ROVO_CHANGE_TONE_MENU_SECTION_RANK = {
30
+ MORE_PROFESSIONAL: 100,
31
+ MORE_CASUAL: 200,
32
+ MORE_EMPATHETIC: 300
33
+ };
34
+ export const ROVO_TRANSLATE_MENU_RANK = {
35
+ OPTIONS: 100
36
+ };
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "107.16.0";
16
+ const packageVersion = "107.16.2";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -5,11 +5,12 @@ import { createWrapSelectionTransaction } from './create-wrap-selection-transact
5
5
  * 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
6
6
  * and set selection on it.
7
7
  */
8
- export function wrapSelectionIn(type) {
8
+ export function wrapSelectionIn(type, nodeAttributes) {
9
9
  return function (state, dispatch) {
10
10
  const tr = createWrapSelectionTransaction({
11
11
  state,
12
- type
12
+ type,
13
+ nodeAttributes
13
14
  });
14
15
  if (dispatch) {
15
16
  dispatch(tr);
@@ -32,6 +32,16 @@ export var aiMessages = defineMessages({
32
32
  defaultMessage: 'Ask AI',
33
33
  description: 'Title for an option to use Atlassian Intellgience'
34
34
  },
35
+ askRovoToolbarIconTitle: {
36
+ id: 'fabric.editor.ai.toolbar.askRovo.title',
37
+ defaultMessage: 'Ask Rovo',
38
+ description: 'Title for an option to use Atlassian Intellgience'
39
+ },
40
+ moreRovoOptionsMenuLabel: {
41
+ id: 'fabric.editor.ai.toolbar.moreRovoOptions.label',
42
+ defaultMessage: 'More Rovo options',
43
+ description: 'Label for the button which opens a menu with more options for using Atlassian Intellgience'
44
+ },
35
45
  askRovoAiSplitButtonLabel: {
36
46
  id: 'fabric.editor.ai.toolbar.askRovoAiSplitButton.label',
37
47
  defaultMessage: 'Ask Rovo AI',
@@ -62,6 +72,61 @@ export var aiMessages = defineMessages({
62
72
  defaultMessage: 'AI',
63
73
  description: 'Title for Atlassian Intelligence button in editor selection floating toolbar'
64
74
  },
75
+ summarizeToolbarDropdownIconTitle: {
76
+ id: 'fabric.editor.ai.toolbar.summarize.title',
77
+ defaultMessage: 'Summarize',
78
+ description: 'Title for an option to use Atlassian Intellgience to summarize the content currently selected by the user'
79
+ },
80
+ translateToolbarDropdownIconTitle: {
81
+ id: 'fabric.editor.ai.toolbar.translate.title',
82
+ defaultMessage: 'Translate',
83
+ description: 'Title for an option to use Atlassian Intellgience to translate the content currently selected by the user. Opens another menu which allows the user to select the language.'
84
+ },
85
+ translateOptionsIconLabel: {
86
+ id: 'fabric.editor.ai.toolbar.translateOptions.label',
87
+ defaultMessage: 'Translate options',
88
+ description: 'Label for an icon which opens another menu to allows the user to select the language to use Atlassian Intellgience to translate the content currently selected by the user.'
89
+ },
90
+ spellingAndGrammarToolbarDropdownIconTitle: {
91
+ id: 'fabric.editor.ai.toolbar.spellingAndGrammar.title',
92
+ defaultMessage: 'Fix spelling and grammar',
93
+ description: 'Title for an option to use Atlassian Intellgience to fix spelling and grammar of the content currently selected by the user'
94
+ },
95
+ makeLongerToolbarDropdownIconTitle: {
96
+ id: 'fabric.editor.ai.toolbar.makeLonger.title',
97
+ defaultMessage: 'Make longer',
98
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user longer'
99
+ },
100
+ makeShorterToolbarDropdownIconTitle: {
101
+ id: 'fabric.editor.ai.toolbar.makeShorter.title',
102
+ defaultMessage: 'Make shorter',
103
+ description: 'Title for an option to use Atlassian Intellgience to make the content currently selected by the user shorter'
104
+ },
105
+ changeToneToolbarDropdownIconTitle: {
106
+ id: 'fabric.editor.ai.toolbar.changeTone.title',
107
+ defaultMessage: 'Change tone',
108
+ description: 'Title for an option to use Atlassian Intellgience to change the tone of the content currently selected by the user. Opens another menu which allows the user to select what about the tone they want to change, e.g. More professional'
109
+ },
110
+ changeToneOptionsIconLabel: {
111
+ id: 'fabric.editor.ai.toolbar.changeToneOptions.title',
112
+ defaultMessage: 'Change tone options',
113
+ description: 'Label for an icon which signals that you can open a menu to see options about how to change the tone of the content currently selected by the user using Atlassian Intelligence.'
114
+ },
115
+ moreProfessionalToneToolbarDropdownIconTitle: {
116
+ id: 'fabric.editor.ai.toolbar.moreProfessionalTone.title',
117
+ defaultMessage: 'More professional',
118
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more professional.'
119
+ },
120
+ moreCasualToneToolbarDropdownIconTitle: {
121
+ id: 'fabric.editor.ai.toolbar.moreCasualTone.title',
122
+ defaultMessage: 'More casual',
123
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more casual.'
124
+ },
125
+ moreEmpatheticToneToolbarDropdownIconTitle: {
126
+ id: 'fabric.editor.ai.toolbar.moreEmpatheticTone.title',
127
+ defaultMessage: 'More empathetic',
128
+ description: 'Title for an option in the Change Tone menu to use Atlassian Intellgience to change the tone of the content currently selected by the user to be more empathetic.'
129
+ },
65
130
  // Prebuilt messages
66
131
  atlasGenerateContentConfigItemDescription: {
67
132
  id: 'fabric.editor.ai.atlas-prebuilt.atlasGenerateContentConfigItemDescription',
@@ -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 = "107.16.0";
10
+ var packageVersion = "107.16.2";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -0,0 +1,4 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export { TOOLBAR_RANK, AI_SECTION_RANK, ROVO_GROUP_RANK, IMPROVE_WRITING_GROUP_RANK, ROVO_MENU_RANK, ROVO_MENU_SECTION_RANK, ROVO_CHANGE_TONE_MENU_RANK, ROVO_CHANGE_TONE_MENU_SECTION_RANK, ROVO_TRANSLATE_MENU_RANK } from './rank';
@@ -0,0 +1,36 @@
1
+ export var TOOLBAR_RANK = {
2
+ AI: 100
3
+ };
4
+ export var AI_SECTION_RANK = {
5
+ ROVO: 100,
6
+ IMPROVE_WRITING: 200
7
+ };
8
+ export var ROVO_GROUP_RANK = {
9
+ ROVO_BUTTON: 100,
10
+ ROVO_MENU: 200
11
+ };
12
+ export var IMPROVE_WRITING_GROUP_RANK = {
13
+ IMPROVE_WRITING: 100
14
+ };
15
+ export var ROVO_MENU_RANK = {
16
+ OPTIONS: 100
17
+ };
18
+ export var ROVO_MENU_SECTION_RANK = {
19
+ MAKE_SHORTER: 100,
20
+ MAKE_LONGER: 200,
21
+ CHANGE_TONE: 300,
22
+ SPELLING_AND_GRAMMAR: 400,
23
+ TRANSLATE: 500,
24
+ SUMMARIZE: 600
25
+ };
26
+ export var ROVO_CHANGE_TONE_MENU_RANK = {
27
+ OPTIONS: 100
28
+ };
29
+ export var ROVO_CHANGE_TONE_MENU_SECTION_RANK = {
30
+ MORE_PROFESSIONAL: 100,
31
+ MORE_CASUAL: 200,
32
+ MORE_EMPATHETIC: 300
33
+ };
34
+ export var ROVO_TRANSLATE_MENU_RANK = {
35
+ OPTIONS: 100
36
+ };
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "107.16.0";
23
+ var packageVersion = "107.16.2";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -5,11 +5,12 @@ import { createWrapSelectionTransaction } from './create-wrap-selection-transact
5
5
  * 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
6
6
  * and set selection on it.
7
7
  */
8
- export function wrapSelectionIn(type) {
8
+ export function wrapSelectionIn(type, nodeAttributes) {
9
9
  return function (state, dispatch) {
10
10
  var tr = createWrapSelectionTransaction({
11
11
  state: state,
12
- type: type
12
+ type: type,
13
+ nodeAttributes: nodeAttributes
13
14
  });
14
15
  if (dispatch) {
15
16
  dispatch(tr);
@@ -29,6 +29,16 @@ export declare const aiMessages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ askRovoToolbarIconTitle: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ moreRovoOptionsMenuLabel: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  askRovoAiSplitButtonLabel: {
33
43
  id: string;
34
44
  defaultMessage: string;
@@ -59,6 +69,61 @@ export declare const aiMessages: {
59
69
  defaultMessage: string;
60
70
  description: string;
61
71
  };
72
+ summarizeToolbarDropdownIconTitle: {
73
+ id: string;
74
+ defaultMessage: string;
75
+ description: string;
76
+ };
77
+ translateToolbarDropdownIconTitle: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ description: string;
81
+ };
82
+ translateOptionsIconLabel: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ spellingAndGrammarToolbarDropdownIconTitle: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ makeLongerToolbarDropdownIconTitle: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ makeShorterToolbarDropdownIconTitle: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
102
+ changeToneToolbarDropdownIconTitle: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
107
+ changeToneOptionsIconLabel: {
108
+ id: string;
109
+ defaultMessage: string;
110
+ description: string;
111
+ };
112
+ moreProfessionalToneToolbarDropdownIconTitle: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
117
+ moreCasualToneToolbarDropdownIconTitle: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ moreEmpatheticToneToolbarDropdownIconTitle: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
62
127
  atlasGenerateContentConfigItemDescription: {
63
128
  id: string;
64
129
  defaultMessage: string;
@@ -0,0 +1 @@
1
+ export { TOOLBAR_RANK, AI_SECTION_RANK, ROVO_GROUP_RANK, IMPROVE_WRITING_GROUP_RANK, ROVO_MENU_RANK, ROVO_MENU_SECTION_RANK, ROVO_CHANGE_TONE_MENU_RANK, ROVO_CHANGE_TONE_MENU_SECTION_RANK, ROVO_TRANSLATE_MENU_RANK, } from './rank';
@@ -0,0 +1,36 @@
1
+ export declare const TOOLBAR_RANK: {
2
+ AI: number;
3
+ };
4
+ export declare const AI_SECTION_RANK: {
5
+ ROVO: number;
6
+ IMPROVE_WRITING: number;
7
+ };
8
+ export declare const ROVO_GROUP_RANK: {
9
+ ROVO_BUTTON: number;
10
+ ROVO_MENU: number;
11
+ };
12
+ export declare const IMPROVE_WRITING_GROUP_RANK: {
13
+ IMPROVE_WRITING: number;
14
+ };
15
+ export declare const ROVO_MENU_RANK: {
16
+ OPTIONS: number;
17
+ };
18
+ export declare const ROVO_MENU_SECTION_RANK: {
19
+ MAKE_SHORTER: number;
20
+ MAKE_LONGER: number;
21
+ CHANGE_TONE: number;
22
+ SPELLING_AND_GRAMMAR: number;
23
+ TRANSLATE: number;
24
+ SUMMARIZE: number;
25
+ };
26
+ export declare const ROVO_CHANGE_TONE_MENU_RANK: {
27
+ OPTIONS: number;
28
+ };
29
+ export declare const ROVO_CHANGE_TONE_MENU_SECTION_RANK: {
30
+ MORE_PROFESSIONAL: number;
31
+ MORE_CASUAL: number;
32
+ MORE_EMPATHETIC: number;
33
+ };
34
+ export declare const ROVO_TRANSLATE_MENU_RANK: {
35
+ OPTIONS: number;
36
+ };
@@ -6,4 +6,4 @@ import type { Command } from '../types';
6
6
  * 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
7
7
  * and set selection on it.
8
8
  */
9
- export declare function wrapSelectionIn(type: NodeType): Command;
9
+ export declare function wrapSelectionIn(type: NodeType, nodeAttributes?: Record<string, unknown>): Command;
@@ -29,6 +29,16 @@ export declare const aiMessages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ askRovoToolbarIconTitle: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ moreRovoOptionsMenuLabel: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  askRovoAiSplitButtonLabel: {
33
43
  id: string;
34
44
  defaultMessage: string;
@@ -59,6 +69,61 @@ export declare const aiMessages: {
59
69
  defaultMessage: string;
60
70
  description: string;
61
71
  };
72
+ summarizeToolbarDropdownIconTitle: {
73
+ id: string;
74
+ defaultMessage: string;
75
+ description: string;
76
+ };
77
+ translateToolbarDropdownIconTitle: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ description: string;
81
+ };
82
+ translateOptionsIconLabel: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ spellingAndGrammarToolbarDropdownIconTitle: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ makeLongerToolbarDropdownIconTitle: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ makeShorterToolbarDropdownIconTitle: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
102
+ changeToneToolbarDropdownIconTitle: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
107
+ changeToneOptionsIconLabel: {
108
+ id: string;
109
+ defaultMessage: string;
110
+ description: string;
111
+ };
112
+ moreProfessionalToneToolbarDropdownIconTitle: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
117
+ moreCasualToneToolbarDropdownIconTitle: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ moreEmpatheticToneToolbarDropdownIconTitle: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
62
127
  atlasGenerateContentConfigItemDescription: {
63
128
  id: string;
64
129
  defaultMessage: string;
@@ -0,0 +1 @@
1
+ export { TOOLBAR_RANK, AI_SECTION_RANK, ROVO_GROUP_RANK, IMPROVE_WRITING_GROUP_RANK, ROVO_MENU_RANK, ROVO_MENU_SECTION_RANK, ROVO_CHANGE_TONE_MENU_RANK, ROVO_CHANGE_TONE_MENU_SECTION_RANK, ROVO_TRANSLATE_MENU_RANK, } from './rank';
@@ -0,0 +1,36 @@
1
+ export declare const TOOLBAR_RANK: {
2
+ AI: number;
3
+ };
4
+ export declare const AI_SECTION_RANK: {
5
+ ROVO: number;
6
+ IMPROVE_WRITING: number;
7
+ };
8
+ export declare const ROVO_GROUP_RANK: {
9
+ ROVO_BUTTON: number;
10
+ ROVO_MENU: number;
11
+ };
12
+ export declare const IMPROVE_WRITING_GROUP_RANK: {
13
+ IMPROVE_WRITING: number;
14
+ };
15
+ export declare const ROVO_MENU_RANK: {
16
+ OPTIONS: number;
17
+ };
18
+ export declare const ROVO_MENU_SECTION_RANK: {
19
+ MAKE_SHORTER: number;
20
+ MAKE_LONGER: number;
21
+ CHANGE_TONE: number;
22
+ SPELLING_AND_GRAMMAR: number;
23
+ TRANSLATE: number;
24
+ SUMMARIZE: number;
25
+ };
26
+ export declare const ROVO_CHANGE_TONE_MENU_RANK: {
27
+ OPTIONS: number;
28
+ };
29
+ export declare const ROVO_CHANGE_TONE_MENU_SECTION_RANK: {
30
+ MORE_PROFESSIONAL: number;
31
+ MORE_CASUAL: number;
32
+ MORE_EMPATHETIC: number;
33
+ };
34
+ export declare const ROVO_TRANSLATE_MENU_RANK: {
35
+ OPTIONS: number;
36
+ };
@@ -6,4 +6,4 @@ import type { Command } from '../types';
6
6
  * 2. If current block can not be wrapped inside wrapping block it will create a new block below selection,
7
7
  * and set selection on it.
8
8
  */
9
- export declare function wrapSelectionIn(type: NodeType): Command;
9
+ export declare function wrapSelectionIn(type: NodeType, nodeAttributes?: Record<string, unknown>): Command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.16.1",
3
+ "version": "107.16.3",
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/"
@@ -119,11 +119,12 @@
119
119
  "./ugc-tokens": "./src/ugc-tokens/index.ts",
120
120
  "./get-dom-ref-from-selection": "./src/utils/get-dom-ref-from-selection.ts",
121
121
  "./ncs-step-metrics": "./src/ncs-step-metrics/index.ts",
122
- "./toolbar-flag-check": "./src/toolbar-flag-check.ts"
122
+ "./toolbar-flag-check": "./src/toolbar-flag-check.ts",
123
+ "./toolbar": "./src/toolbar/index.ts"
123
124
  },
124
125
  "dependencies": {
125
126
  "@atlaskit/activity-provider": "^2.5.0",
126
- "@atlaskit/adf-schema": "^50.0.1",
127
+ "@atlaskit/adf-schema": "^50.2.0",
127
128
  "@atlaskit/adf-utils": "^19.20.0",
128
129
  "@atlaskit/analytics-listeners": "^9.0.0",
129
130
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
@@ -161,10 +162,10 @@
161
162
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
162
163
  "@atlaskit/popper": "^7.1.0",
163
164
  "@atlaskit/primitives": "^14.11.0",
164
- "@atlaskit/profilecard": "^24.0.0",
165
+ "@atlaskit/profilecard": "^24.1.0",
165
166
  "@atlaskit/react-ufo": "^4.1.0",
166
167
  "@atlaskit/section-message": "^8.5.0",
167
- "@atlaskit/smart-card": "^40.6.0",
168
+ "@atlaskit/smart-card": "^40.7.0",
168
169
  "@atlaskit/smart-user-picker": "^8.0.0",
169
170
  "@atlaskit/spinner": "^19.0.0",
170
171
  "@atlaskit/status": "^3.0.0",
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/toolbar",
3
+ "main": "../dist/cjs/toolbar/index.js",
4
+ "module": "../dist/esm/toolbar/index.js",
5
+ "module:es2019": "../dist/es2019/toolbar/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/toolbar/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.4": {
12
+ "*": [
13
+ "../dist/types-ts4.5/toolbar/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }