@atlaskit/editor-plugin-help-dialog 26.0.4 → 26.0.7
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 +18 -0
- package/dist/cjs/helpDialogPlugin.js +11 -11
- package/dist/cjs/pm-plugins/keymap.js +6 -6
- package/dist/cjs/ui/ModalContent.js +4 -4
- package/dist/cjs/ui/ModalFooter.js +2 -2
- package/dist/cjs/ui/ModalHeader.js +8 -8
- package/dist/cjs/ui/formatting.js +72 -64
- package/dist/cjs/ui/index.js +4 -4
- package/dist/cjs/ui/styles.js +4 -4
- package/dist/es2019/helpDialogPlugin.js +3 -3
- package/dist/es2019/pm-plugins/keymap.js +1 -1
- package/dist/es2019/ui/ModalContent.js +1 -1
- package/dist/es2019/ui/ModalFooter.js +1 -1
- package/dist/es2019/ui/ModalHeader.js +2 -2
- package/dist/es2019/ui/formatting.js +9 -1
- package/dist/es2019/ui/index.js +2 -2
- package/dist/es2019/ui/styles.js +1 -1
- package/dist/esm/helpDialogPlugin.js +3 -3
- package/dist/esm/pm-plugins/keymap.js +1 -1
- package/dist/esm/ui/ModalContent.js +1 -1
- package/dist/esm/ui/ModalFooter.js +1 -1
- package/dist/esm/ui/ModalHeader.js +2 -2
- package/dist/esm/ui/formatting.js +9 -1
- package/dist/esm/ui/index.js +2 -2
- package/dist/esm/ui/styles.js +1 -1
- package/dist/types/helpDialogPluginType.d.ts +3 -3
- package/dist/types/pm-plugins/keymap.d.ts +1 -1
- package/dist/types/ui/index.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 26.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 26.0.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 26.0.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 26.0.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.helpDialogPlugin = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var _enums = require("@atlaskit/editor-common/analytics/types/enums");
|
|
10
|
+
var _isSsr = require("@atlaskit/editor-common/is-ssr");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
|
-
var
|
|
12
|
+
var _insertBlock = require("@atlaskit/editor-common/messages/insert-block");
|
|
13
13
|
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
|
|
14
14
|
var _actions = require("./pm-plugins/actions");
|
|
15
15
|
var _commands = require("./pm-plugins/commands");
|
|
@@ -69,8 +69,8 @@ var helpDialogPlugin = exports.helpDialogPlugin = function helpDialogPlugin(_ref
|
|
|
69
69
|
var formatMessage = _ref4.formatMessage;
|
|
70
70
|
return [{
|
|
71
71
|
id: 'helpdialog',
|
|
72
|
-
title: formatMessage(
|
|
73
|
-
description: formatMessage(
|
|
72
|
+
title: formatMessage(_insertBlock.toolbarInsertBlockMessages.help),
|
|
73
|
+
description: formatMessage(_insertBlock.toolbarInsertBlockMessages.helpDescription),
|
|
74
74
|
keywords: ['?'],
|
|
75
75
|
priority: 4000,
|
|
76
76
|
keyshortcut: (0, _keymaps.tooltip)(_keymaps.openHelp),
|
|
@@ -86,13 +86,13 @@ var helpDialogPlugin = exports.helpDialogPlugin = function helpDialogPlugin(_ref
|
|
|
86
86
|
var tr = insert('');
|
|
87
87
|
(0, _commands.openHelpCommand)(tr);
|
|
88
88
|
api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || _api$analytics2.actions.attachAnalyticsEvent({
|
|
89
|
-
action:
|
|
90
|
-
actionSubject:
|
|
91
|
-
actionSubjectId:
|
|
89
|
+
action: _enums.ACTION.HELP_OPENED,
|
|
90
|
+
actionSubject: _enums.ACTION_SUBJECT.HELP,
|
|
91
|
+
actionSubjectId: _enums.ACTION_SUBJECT_ID.HELP_QUICK_INSERT,
|
|
92
92
|
attributes: {
|
|
93
|
-
inputMethod:
|
|
93
|
+
inputMethod: _enums.INPUT_METHOD.QUICK_INSERT
|
|
94
94
|
},
|
|
95
|
-
eventType:
|
|
95
|
+
eventType: _enums.EVENT_TYPE.UI
|
|
96
96
|
})(tr);
|
|
97
97
|
return tr;
|
|
98
98
|
}
|
|
@@ -101,7 +101,7 @@ var helpDialogPlugin = exports.helpDialogPlugin = function helpDialogPlugin(_ref
|
|
|
101
101
|
},
|
|
102
102
|
contentComponent: function contentComponent(_ref5) {
|
|
103
103
|
var editorView = _ref5.editorView;
|
|
104
|
-
if (!editorView || (0,
|
|
104
|
+
if (!editorView || (0, _isSsr.isSSR)()) {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
107
107
|
return /*#__PURE__*/_react.default.createElement(_HelpDialogLoader.HelpDialogLoader, {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.keymapPlugin = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _enums = require("@atlaskit/editor-common/analytics/types/enums");
|
|
8
8
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
9
9
|
var _keymap = require("@atlaskit/editor-prosemirror/keymap");
|
|
10
10
|
var _commands = require("./commands");
|
|
@@ -19,13 +19,13 @@ var keymapPlugin = exports.keymapPlugin = function keymapPlugin(editorAnalyticsA
|
|
|
19
19
|
var isVisible = tr.getMeta(_pluginKey.pluginKey);
|
|
20
20
|
if (!isVisible) {
|
|
21
21
|
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
|
|
22
|
-
action:
|
|
23
|
-
actionSubject:
|
|
24
|
-
actionSubjectId:
|
|
22
|
+
action: _enums.ACTION.CLICKED,
|
|
23
|
+
actionSubject: _enums.ACTION_SUBJECT.BUTTON,
|
|
24
|
+
actionSubjectId: _enums.ACTION_SUBJECT_ID.BUTTON_HELP,
|
|
25
25
|
attributes: {
|
|
26
|
-
inputMethod:
|
|
26
|
+
inputMethod: _enums.INPUT_METHOD.SHORTCUT
|
|
27
27
|
},
|
|
28
|
-
eventType:
|
|
28
|
+
eventType: _enums.EVENT_TYPE.UI
|
|
29
29
|
})(tr);
|
|
30
30
|
(0, _commands.openHelpCommand)(tr, dispatch);
|
|
31
31
|
}
|
|
@@ -9,7 +9,7 @@ var _react = require("react");
|
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
11
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
12
|
-
var
|
|
12
|
+
var _helpDialog = require("@atlaskit/editor-common/messages/help-dialog");
|
|
13
13
|
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
14
14
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
15
|
var _ModalFooter = _interopRequireDefault(require("./ModalFooter"));
|
|
@@ -36,7 +36,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
36
36
|
css: _styles.contentWrapper,
|
|
37
37
|
tabIndex: 0,
|
|
38
38
|
role: 'region',
|
|
39
|
-
"aria-label": intl.formatMessage(
|
|
39
|
+
"aria-label": intl.formatMessage(_helpDialog.helpDialogMessages.editorHelp)
|
|
40
40
|
}, (0, _react2.jsx)("div", {
|
|
41
41
|
css: _styles.line
|
|
42
42
|
}), (0, _react2.jsx)("div", {
|
|
@@ -48,7 +48,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
48
48
|
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
49
49
|
// Ignored via go/ees005
|
|
50
50
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
51
|
-
,
|
|
51
|
+
, _helpDialog.helpDialogMessages.keyboardShortcuts)), (0, _react2.jsx)("ul", null, formatting.filter(function (form) {
|
|
52
52
|
var keymap = form.keymap && form.keymap();
|
|
53
53
|
return keymap && keymap[browser.mac ? 'mac' : 'windows'];
|
|
54
54
|
}).map(function (form) {
|
|
@@ -86,7 +86,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
86
86
|
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
87
87
|
// Ignored via go/ees005
|
|
88
88
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
89
|
-
,
|
|
89
|
+
, _helpDialog.helpDialogMessages.markdown)), (0, _react2.jsx)("ul", null, formatting.filter(function (form) {
|
|
90
90
|
return _utils.shortcutNamesWithoutKeymap.indexOf(form.type) === -1;
|
|
91
91
|
}).map(function (form) {
|
|
92
92
|
return form.autoFormatting &&
|
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
|
-
var
|
|
12
|
+
var _helpDialog = require("@atlaskit/editor-common/messages/help-dialog");
|
|
13
13
|
var _styles = require("./styles");
|
|
14
14
|
var _utils = require("./utils");
|
|
15
15
|
/**
|
|
@@ -26,7 +26,7 @@ var ModalFooter = function ModalFooter() {
|
|
|
26
26
|
}, (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
27
27
|
// Ignored via go/ees005
|
|
28
28
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
29
|
-
, (0, _extends2.default)({},
|
|
29
|
+
, (0, _extends2.default)({}, _helpDialog.helpDialogMessages.helpDialogTips, {
|
|
30
30
|
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
31
31
|
values: {
|
|
32
32
|
keyMap: (0, _utils.getComponentFromKeymap)(_keymaps.openHelp)
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _reactIntl = require("react-intl");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var _helpDialog = require("@atlaskit/editor-common/messages/help-dialog");
|
|
11
|
+
var _ToolbarButton = _interopRequireDefault(require("@atlaskit/editor-common/ui-menu/ToolbarButton"));
|
|
12
12
|
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
13
13
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
14
14
|
var _closeButton = require("@atlaskit/modal-dialog/close-button");
|
|
@@ -42,20 +42,20 @@ var ModalHeader = (0, _reactIntl.injectIntl)(function (_ref) {
|
|
|
42
42
|
}, (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
43
43
|
// Ignored via go/ees005
|
|
44
44
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
|
-
,
|
|
45
|
+
, _helpDialog.helpDialogMessages.editorHelp)), onClose ? (0, _react.jsx)("div", {
|
|
46
46
|
css: toolbarFocusStyles
|
|
47
47
|
}, (0, _react.jsx)(_Tooltip.default, {
|
|
48
|
-
content: formatMessage(
|
|
48
|
+
content: formatMessage(_helpDialog.helpDialogMessages.closeHelpDialog),
|
|
49
49
|
position: "top"
|
|
50
50
|
}, (0, _react.jsx)(_closeButton.CloseButton, {
|
|
51
51
|
onClick: onClose,
|
|
52
|
-
label: formatMessage(
|
|
53
|
-
}))) : (0, _react.jsx)("div", null, (0, _react.jsx)(
|
|
52
|
+
label: formatMessage(_helpDialog.helpDialogMessages.closeHelpDialog)
|
|
53
|
+
}))) : (0, _react.jsx)("div", null, (0, _react.jsx)(_ToolbarButton.default, {
|
|
54
54
|
onClick: onClose,
|
|
55
|
-
title: formatMessage(
|
|
55
|
+
title: formatMessage(_helpDialog.helpDialogMessages.closeHelpDialog),
|
|
56
56
|
spacing: "compact",
|
|
57
57
|
iconBefore: (0, _react.jsx)(_cross.default, {
|
|
58
|
-
label: formatMessage(
|
|
58
|
+
label: formatMessage(_helpDialog.helpDialogMessages.closeHelpDialog),
|
|
59
59
|
color: "currentColor",
|
|
60
60
|
spacing: "spacious"
|
|
61
61
|
})
|
|
@@ -8,9 +8,17 @@ exports.getSupportedFormatting = exports.formatting = void 0;
|
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
|
+
var _alignment = require("@atlaskit/editor-common/alignment");
|
|
11
12
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
12
13
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
13
|
-
var
|
|
14
|
+
var _annotation = require("@atlaskit/editor-common/messages/annotation");
|
|
15
|
+
var _blockType = require("@atlaskit/editor-common/messages/block-type");
|
|
16
|
+
var _helpDialog = require("@atlaskit/editor-common/messages/help-dialog");
|
|
17
|
+
var _insertBlock = require("@atlaskit/editor-common/messages/insert-block");
|
|
18
|
+
var _list = require("@atlaskit/editor-common/messages/list");
|
|
19
|
+
var _table = require("@atlaskit/editor-common/messages/table");
|
|
20
|
+
var _toolbar = require("@atlaskit/editor-common/messages/toolbar");
|
|
21
|
+
var _undoRedo = require("@atlaskit/editor-common/messages/undo-redo");
|
|
14
22
|
var _primitives = require("@atlaskit/primitives");
|
|
15
23
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
24
|
var _styles = require("./styles");
|
|
@@ -52,13 +60,13 @@ var codeLg = (0, _primitives.xcss)({
|
|
|
52
60
|
var navigationKeymaps = function navigationKeymaps(_ref) {
|
|
53
61
|
var formatMessage = _ref.formatMessage;
|
|
54
62
|
return [{
|
|
55
|
-
name: formatMessage(
|
|
63
|
+
name: formatMessage(_toolbar.toolbarMessages.navigateToEditorToolbar),
|
|
56
64
|
type: 'navigation',
|
|
57
65
|
keymap: function keymap() {
|
|
58
66
|
return _keymaps.navToEditorToolbar;
|
|
59
67
|
}
|
|
60
68
|
}, {
|
|
61
|
-
name: formatMessage(
|
|
69
|
+
name: formatMessage(_toolbar.toolbarMessages.navigateToFloatingToolbar),
|
|
62
70
|
type: 'navigation',
|
|
63
71
|
keymap: function keymap() {
|
|
64
72
|
return _keymaps.navToFloatingToolbar;
|
|
@@ -68,7 +76,7 @@ var navigationKeymaps = function navigationKeymaps(_ref) {
|
|
|
68
76
|
var formatting = exports.formatting = function formatting(_ref2) {
|
|
69
77
|
var formatMessage = _ref2.formatMessage;
|
|
70
78
|
return [{
|
|
71
|
-
name: formatMessage(
|
|
79
|
+
name: formatMessage(_toolbar.toolbarMessages.bold),
|
|
72
80
|
type: 'strong',
|
|
73
81
|
keymap: function keymap() {
|
|
74
82
|
return _keymaps.toggleBold;
|
|
@@ -80,10 +88,10 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
80
88
|
}, "**", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
81
89
|
// Ignored via go/ees005
|
|
82
90
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
83
|
-
,
|
|
91
|
+
, _toolbar.toolbarMessages.bold), "**"));
|
|
84
92
|
}
|
|
85
93
|
}, {
|
|
86
|
-
name: formatMessage(
|
|
94
|
+
name: formatMessage(_toolbar.toolbarMessages.italic),
|
|
87
95
|
type: 'em',
|
|
88
96
|
keymap: function keymap() {
|
|
89
97
|
return _keymaps.toggleItalic;
|
|
@@ -95,16 +103,16 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
95
103
|
}, "*", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
96
104
|
// Ignored via go/ees005
|
|
97
105
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
98
|
-
,
|
|
106
|
+
, _toolbar.toolbarMessages.italic), "*"));
|
|
99
107
|
}
|
|
100
108
|
}, {
|
|
101
|
-
name: formatMessage(
|
|
109
|
+
name: formatMessage(_toolbar.toolbarMessages.underline),
|
|
102
110
|
type: 'underline',
|
|
103
111
|
keymap: function keymap() {
|
|
104
112
|
return _keymaps.toggleUnderline;
|
|
105
113
|
}
|
|
106
114
|
}, {
|
|
107
|
-
name: formatMessage(
|
|
115
|
+
name: formatMessage(_toolbar.toolbarMessages.strike),
|
|
108
116
|
type: 'strike',
|
|
109
117
|
keymap: function keymap() {
|
|
110
118
|
return _keymaps.toggleStrikethrough;
|
|
@@ -116,22 +124,22 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
116
124
|
}, "~~", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
117
125
|
// Ignored via go/ees005
|
|
118
126
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
119
|
-
,
|
|
127
|
+
, _toolbar.toolbarMessages.strike), "~~"));
|
|
120
128
|
}
|
|
121
129
|
}, {
|
|
122
|
-
name: formatMessage(
|
|
130
|
+
name: formatMessage(_toolbar.toolbarMessages.subscript),
|
|
123
131
|
type: 'subsup',
|
|
124
132
|
keymap: function keymap() {
|
|
125
133
|
return _keymaps.toggleSubscript;
|
|
126
134
|
}
|
|
127
135
|
}, {
|
|
128
|
-
name: formatMessage(
|
|
136
|
+
name: formatMessage(_toolbar.toolbarMessages.superscript),
|
|
129
137
|
type: 'subsup',
|
|
130
138
|
keymap: function keymap() {
|
|
131
139
|
return _keymaps.toggleSuperscript;
|
|
132
140
|
}
|
|
133
141
|
}, {
|
|
134
|
-
name: formatMessage(
|
|
142
|
+
name: formatMessage(_blockType.messages.heading1),
|
|
135
143
|
type: 'heading',
|
|
136
144
|
keymap: function keymap() {
|
|
137
145
|
return _keymaps.toggleHeading1;
|
|
@@ -146,7 +154,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
146
154
|
}, "Space"));
|
|
147
155
|
}
|
|
148
156
|
}, {
|
|
149
|
-
name: formatMessage(
|
|
157
|
+
name: formatMessage(_blockType.messages.heading2),
|
|
150
158
|
type: 'heading',
|
|
151
159
|
keymap: function keymap() {
|
|
152
160
|
return _keymaps.toggleHeading2;
|
|
@@ -161,7 +169,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
161
169
|
}, "Space"));
|
|
162
170
|
}
|
|
163
171
|
}, {
|
|
164
|
-
name: formatMessage(
|
|
172
|
+
name: formatMessage(_blockType.messages.heading3),
|
|
165
173
|
type: 'heading',
|
|
166
174
|
keymap: function keymap() {
|
|
167
175
|
return _keymaps.toggleHeading3;
|
|
@@ -176,7 +184,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
176
184
|
}, "Space"));
|
|
177
185
|
}
|
|
178
186
|
}, {
|
|
179
|
-
name: formatMessage(
|
|
187
|
+
name: formatMessage(_blockType.messages.heading4),
|
|
180
188
|
type: 'heading',
|
|
181
189
|
keymap: function keymap() {
|
|
182
190
|
return _keymaps.toggleHeading4;
|
|
@@ -191,7 +199,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
191
199
|
}, "Space"));
|
|
192
200
|
}
|
|
193
201
|
}, {
|
|
194
|
-
name: formatMessage(
|
|
202
|
+
name: formatMessage(_blockType.messages.heading5),
|
|
195
203
|
type: 'heading',
|
|
196
204
|
keymap: function keymap() {
|
|
197
205
|
return _keymaps.toggleHeading5;
|
|
@@ -206,7 +214,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
206
214
|
}, "Space"));
|
|
207
215
|
}
|
|
208
216
|
}, {
|
|
209
|
-
name: formatMessage(
|
|
217
|
+
name: formatMessage(_blockType.messages.heading6),
|
|
210
218
|
type: 'heading',
|
|
211
219
|
keymap: function keymap() {
|
|
212
220
|
return _keymaps.toggleHeading6;
|
|
@@ -221,19 +229,19 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
221
229
|
}, "Space"));
|
|
222
230
|
}
|
|
223
231
|
}, {
|
|
224
|
-
name: formatMessage(
|
|
232
|
+
name: formatMessage(_blockType.messages.normal),
|
|
225
233
|
type: 'paragraph',
|
|
226
234
|
keymap: function keymap() {
|
|
227
235
|
return _keymaps.setNormalText;
|
|
228
236
|
}
|
|
229
237
|
}, {
|
|
230
|
-
name: formatMessage(
|
|
238
|
+
name: formatMessage(_blockType.messages.smallText),
|
|
231
239
|
type: 'fontSize',
|
|
232
240
|
keymap: function keymap() {
|
|
233
241
|
return _keymaps.toggleSmallText;
|
|
234
242
|
}
|
|
235
243
|
}, {
|
|
236
|
-
name: formatMessage(
|
|
244
|
+
name: formatMessage(_list.messages.orderedList),
|
|
237
245
|
type: 'orderedList',
|
|
238
246
|
keymap: function keymap() {
|
|
239
247
|
return _keymaps.toggleOrderedList;
|
|
@@ -248,7 +256,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
248
256
|
}, "Space"));
|
|
249
257
|
}
|
|
250
258
|
}, {
|
|
251
|
-
name: formatMessage(
|
|
259
|
+
name: formatMessage(_list.messages.unorderedList),
|
|
252
260
|
type: 'bulletList',
|
|
253
261
|
keymap: function keymap() {
|
|
254
262
|
return _keymaps.toggleBulletList;
|
|
@@ -263,7 +271,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
263
271
|
}, "Space"));
|
|
264
272
|
}
|
|
265
273
|
}, {
|
|
266
|
-
name: formatMessage(
|
|
274
|
+
name: formatMessage(_blockType.messages.blockquote),
|
|
267
275
|
type: 'blockquote',
|
|
268
276
|
keymap: function keymap() {
|
|
269
277
|
return _keymaps.toggleBlockQuote;
|
|
@@ -278,7 +286,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
278
286
|
}, "Space"));
|
|
279
287
|
}
|
|
280
288
|
}, {
|
|
281
|
-
name: formatMessage(
|
|
289
|
+
name: formatMessage(_blockType.messages.codeblock),
|
|
282
290
|
type: 'codeBlock',
|
|
283
291
|
autoFormatting: function autoFormatting() {
|
|
284
292
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
@@ -287,7 +295,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
287
295
|
}, "```"));
|
|
288
296
|
}
|
|
289
297
|
}, {
|
|
290
|
-
name: formatMessage(
|
|
298
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.horizontalRule),
|
|
291
299
|
type: 'rule',
|
|
292
300
|
keymap: function keymap() {
|
|
293
301
|
return _keymaps.insertRule;
|
|
@@ -299,7 +307,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
299
307
|
}, "---"));
|
|
300
308
|
}
|
|
301
309
|
}, {
|
|
302
|
-
name: formatMessage(
|
|
310
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.link),
|
|
303
311
|
type: 'link',
|
|
304
312
|
keymap: function keymap() {
|
|
305
313
|
return _keymaps.addLink;
|
|
@@ -311,10 +319,10 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
311
319
|
}, "[", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
312
320
|
// Ignored via go/ees005
|
|
313
321
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
314
|
-
,
|
|
322
|
+
, _insertBlock.toolbarInsertBlockMessages.link), "](http://a.com)"));
|
|
315
323
|
}
|
|
316
324
|
}, {
|
|
317
|
-
name: formatMessage(
|
|
325
|
+
name: formatMessage(_toolbar.toolbarMessages.code),
|
|
318
326
|
type: 'code',
|
|
319
327
|
keymap: function keymap() {
|
|
320
328
|
return _keymaps.toggleCode;
|
|
@@ -326,10 +334,10 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
326
334
|
}, "`", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
327
335
|
// Ignored via go/ees005
|
|
328
336
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
329
|
-
,
|
|
337
|
+
, _toolbar.toolbarMessages.code), "`"));
|
|
330
338
|
}
|
|
331
339
|
}, {
|
|
332
|
-
name: formatMessage(
|
|
340
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.action),
|
|
333
341
|
type: 'taskItem',
|
|
334
342
|
autoFormatting: function autoFormatting() {
|
|
335
343
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
@@ -341,7 +349,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
341
349
|
}, "Space"));
|
|
342
350
|
}
|
|
343
351
|
}, {
|
|
344
|
-
name: formatMessage(
|
|
352
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.decision),
|
|
345
353
|
type: 'decisionItem',
|
|
346
354
|
autoFormatting: function autoFormatting() {
|
|
347
355
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
@@ -353,7 +361,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
353
361
|
}, "Space"));
|
|
354
362
|
}
|
|
355
363
|
}, {
|
|
356
|
-
name: formatMessage(
|
|
364
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.emoji),
|
|
357
365
|
type: 'emoji',
|
|
358
366
|
autoFormatting: function autoFormatting() {
|
|
359
367
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
@@ -362,7 +370,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
362
370
|
}, ":"));
|
|
363
371
|
}
|
|
364
372
|
}, {
|
|
365
|
-
name: formatMessage(
|
|
373
|
+
name: formatMessage(_insertBlock.toolbarInsertBlockMessages.mention),
|
|
366
374
|
type: 'mention',
|
|
367
375
|
autoFormatting: function autoFormatting() {
|
|
368
376
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
@@ -371,19 +379,19 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
371
379
|
}, "@"));
|
|
372
380
|
}
|
|
373
381
|
}, {
|
|
374
|
-
name: formatMessage(
|
|
382
|
+
name: formatMessage(_alignment.alignmentMessages.alignLeft),
|
|
375
383
|
type: 'alignment',
|
|
376
384
|
keymap: function keymap() {
|
|
377
385
|
return _keymaps.alignLeft;
|
|
378
386
|
}
|
|
379
387
|
}, {
|
|
380
|
-
name: formatMessage(
|
|
388
|
+
name: formatMessage(_alignment.alignmentMessages.alignCenter),
|
|
381
389
|
type: 'alignment',
|
|
382
390
|
keymap: function keymap() {
|
|
383
391
|
return _keymaps.alignCenter;
|
|
384
392
|
}
|
|
385
393
|
}, {
|
|
386
|
-
name: formatMessage(
|
|
394
|
+
name: formatMessage(_alignment.alignmentMessages.alignRight),
|
|
387
395
|
type: 'alignment',
|
|
388
396
|
keymap: function keymap() {
|
|
389
397
|
return _keymaps.alignRight;
|
|
@@ -393,7 +401,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
393
401
|
var quickInsertAskAI = function quickInsertAskAI(_ref3) {
|
|
394
402
|
var formatMessage = _ref3.formatMessage;
|
|
395
403
|
return {
|
|
396
|
-
name: formatMessage(
|
|
404
|
+
name: formatMessage(_toolbar.toolbarMessages.askAI),
|
|
397
405
|
type: 'AI',
|
|
398
406
|
keymap: function keymap() {
|
|
399
407
|
return _keymaps.askAIQuickInsert;
|
|
@@ -404,43 +412,43 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
404
412
|
var formatMessage = _ref4.formatMessage;
|
|
405
413
|
var browser = (0, _browser.getBrowserInfo)();
|
|
406
414
|
return [{
|
|
407
|
-
name: formatMessage(
|
|
415
|
+
name: formatMessage(_toolbar.toolbarMessages.clearFormatting),
|
|
408
416
|
type: 'clearFormatting',
|
|
409
417
|
keymap: function keymap() {
|
|
410
418
|
return _keymaps.clearFormatting;
|
|
411
419
|
}
|
|
412
420
|
}, {
|
|
413
|
-
name: formatMessage(
|
|
421
|
+
name: formatMessage(_undoRedo.messages.undo),
|
|
414
422
|
type: 'undo',
|
|
415
423
|
keymap: function keymap() {
|
|
416
424
|
return _keymaps.undo;
|
|
417
425
|
}
|
|
418
426
|
}, {
|
|
419
|
-
name: formatMessage(
|
|
427
|
+
name: formatMessage(_undoRedo.messages.redo),
|
|
420
428
|
type: 'redo',
|
|
421
429
|
keymap: function keymap() {
|
|
422
430
|
return _keymaps.redoAlt;
|
|
423
431
|
}
|
|
424
432
|
}, {
|
|
425
|
-
name: formatMessage(
|
|
433
|
+
name: formatMessage(_helpDialog.helpDialogMessages.pastePlainText),
|
|
426
434
|
type: 'paste',
|
|
427
435
|
keymap: function keymap() {
|
|
428
436
|
return _keymaps.pastePlainText;
|
|
429
437
|
}
|
|
430
438
|
}, {
|
|
431
|
-
name: formatMessage(
|
|
439
|
+
name: formatMessage(_annotation.annotationMessages.createComment),
|
|
432
440
|
type: 'annotation',
|
|
433
441
|
keymap: function keymap() {
|
|
434
442
|
return _keymaps.addInlineComment;
|
|
435
443
|
}
|
|
436
444
|
}, {
|
|
437
|
-
name: formatMessage(
|
|
445
|
+
name: formatMessage(_helpDialog.helpDialogMessages.CheckUncheckActionItem),
|
|
438
446
|
type: 'checkbox',
|
|
439
447
|
keymap: function keymap() {
|
|
440
448
|
return _keymaps.toggleTaskItemCheckbox;
|
|
441
449
|
}
|
|
442
450
|
}, {
|
|
443
|
-
name: formatMessage(
|
|
451
|
+
name: formatMessage(_helpDialog.helpDialogMessages.selectTableRow),
|
|
444
452
|
type: 'table',
|
|
445
453
|
autoFormatting: function autoFormatting() {
|
|
446
454
|
return (
|
|
@@ -475,7 +483,7 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
475
483
|
);
|
|
476
484
|
}
|
|
477
485
|
}, {
|
|
478
|
-
name: formatMessage(
|
|
486
|
+
name: formatMessage(_helpDialog.helpDialogMessages.selectTableColumn),
|
|
479
487
|
type: 'table',
|
|
480
488
|
autoFormatting: function autoFormatting() {
|
|
481
489
|
return (
|
|
@@ -510,7 +518,7 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
510
518
|
);
|
|
511
519
|
}
|
|
512
520
|
}].concat([{
|
|
513
|
-
name: formatMessage(
|
|
521
|
+
name: formatMessage(_helpDialog.helpDialogMessages.InsertTableColumn),
|
|
514
522
|
type: 'table',
|
|
515
523
|
autoFormatting: function autoFormatting() {
|
|
516
524
|
return (
|
|
@@ -539,7 +547,7 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
539
547
|
);
|
|
540
548
|
}
|
|
541
549
|
}, {
|
|
542
|
-
name: formatMessage(
|
|
550
|
+
name: formatMessage(_helpDialog.helpDialogMessages.InsertTableRow),
|
|
543
551
|
type: 'table',
|
|
544
552
|
autoFormatting: function autoFormatting() {
|
|
545
553
|
return (
|
|
@@ -568,7 +576,7 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
568
576
|
);
|
|
569
577
|
}
|
|
570
578
|
}], [{
|
|
571
|
-
name: formatMessage(
|
|
579
|
+
name: formatMessage(_helpDialog.helpDialogMessages.selectColumnResize),
|
|
572
580
|
type: 'table',
|
|
573
581
|
autoFormatting: function autoFormatting() {
|
|
574
582
|
return (
|
|
@@ -591,7 +599,7 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
591
599
|
);
|
|
592
600
|
}
|
|
593
601
|
}], [{
|
|
594
|
-
name: formatMessage(
|
|
602
|
+
name: formatMessage(_helpDialog.helpDialogMessages.highlightColor),
|
|
595
603
|
type: 'highlight',
|
|
596
604
|
keymap: function keymap() {
|
|
597
605
|
return _keymaps.toggleHighlightPalette;
|
|
@@ -601,13 +609,13 @@ var otherFormatting = function otherFormatting(_ref4) {
|
|
|
601
609
|
var newResizeInformationFormatting = function newResizeInformationFormatting(_ref5) {
|
|
602
610
|
var formatMessage = _ref5.formatMessage;
|
|
603
611
|
return [{
|
|
604
|
-
name: formatMessage(
|
|
612
|
+
name: formatMessage(_helpDialog.helpDialogMessages.increaseElementSize),
|
|
605
613
|
type: 'media',
|
|
606
614
|
keymap: function keymap() {
|
|
607
615
|
return _keymaps.increaseMediaSize;
|
|
608
616
|
}
|
|
609
617
|
}, {
|
|
610
|
-
name: formatMessage(
|
|
618
|
+
name: formatMessage(_helpDialog.helpDialogMessages.decreaseElementSize),
|
|
611
619
|
type: 'media',
|
|
612
620
|
keymap: function keymap() {
|
|
613
621
|
return _keymaps.decreaseMediaSize;
|
|
@@ -617,7 +625,7 @@ var newResizeInformationFormatting = function newResizeInformationFormatting(_re
|
|
|
617
625
|
var focusTableResizeHandleFormatting = function focusTableResizeHandleFormatting(_ref6) {
|
|
618
626
|
var formatMessage = _ref6.formatMessage;
|
|
619
627
|
return [{
|
|
620
|
-
name: formatMessage(
|
|
628
|
+
name: formatMessage(_helpDialog.helpDialogMessages.focusTableResizeHandle),
|
|
621
629
|
type: 'navigation',
|
|
622
630
|
keymap: function keymap() {
|
|
623
631
|
return _keymaps.focusTableResizer;
|
|
@@ -631,31 +639,31 @@ var focusTableResizeHandleFormatting = function focusTableResizeHandleFormatting
|
|
|
631
639
|
var blockControlsShortcutsFormatting = function blockControlsShortcutsFormatting(_ref7) {
|
|
632
640
|
var formatMessage = _ref7.formatMessage;
|
|
633
641
|
return [{
|
|
634
|
-
name: formatMessage(
|
|
642
|
+
name: formatMessage(_helpDialog.helpDialogMessages.selectDragHandle),
|
|
635
643
|
type: 'navigation',
|
|
636
644
|
keymap: function keymap() {
|
|
637
645
|
return _keymaps.showElementDragHandle;
|
|
638
646
|
}
|
|
639
647
|
}, {
|
|
640
|
-
name: formatMessage(
|
|
648
|
+
name: formatMessage(_helpDialog.helpDialogMessages.moveSelectionUp),
|
|
641
649
|
type: 'navigation',
|
|
642
650
|
keymap: function keymap() {
|
|
643
651
|
return _keymaps.dragToMoveUp;
|
|
644
652
|
}
|
|
645
653
|
}, {
|
|
646
|
-
name: formatMessage(
|
|
654
|
+
name: formatMessage(_helpDialog.helpDialogMessages.moveSelectionDown),
|
|
647
655
|
type: 'navigation',
|
|
648
656
|
keymap: function keymap() {
|
|
649
657
|
return _keymaps.dragToMoveDown;
|
|
650
658
|
}
|
|
651
659
|
}, {
|
|
652
|
-
name: formatMessage(
|
|
660
|
+
name: formatMessage(_helpDialog.helpDialogMessages.moveSelectionLeft),
|
|
653
661
|
type: 'navigation',
|
|
654
662
|
keymap: function keymap() {
|
|
655
663
|
return _keymaps.dragToMoveLeft;
|
|
656
664
|
}
|
|
657
665
|
}, {
|
|
658
|
-
name: formatMessage(
|
|
666
|
+
name: formatMessage(_helpDialog.helpDialogMessages.moveSelectionRight),
|
|
659
667
|
type: 'navigation',
|
|
660
668
|
keymap: function keymap() {
|
|
661
669
|
return _keymaps.dragToMoveRight;
|
|
@@ -665,25 +673,25 @@ var blockControlsShortcutsFormatting = function blockControlsShortcutsFormatting
|
|
|
665
673
|
var moveTableRowColumnFormatting = function moveTableRowColumnFormatting(_ref8) {
|
|
666
674
|
var formatMessage = _ref8.formatMessage;
|
|
667
675
|
return [{
|
|
668
|
-
name: formatMessage(
|
|
676
|
+
name: formatMessage(_table.messages.moveColumnLeftHelpDialogLabel),
|
|
669
677
|
type: 'table',
|
|
670
678
|
keymap: function keymap() {
|
|
671
679
|
return _keymaps.moveColumnLeft;
|
|
672
680
|
}
|
|
673
681
|
}, {
|
|
674
|
-
name: formatMessage(
|
|
682
|
+
name: formatMessage(_table.messages.moveColumnRightHelpDialogLabel),
|
|
675
683
|
type: 'table',
|
|
676
684
|
keymap: function keymap() {
|
|
677
685
|
return _keymaps.moveColumnRight;
|
|
678
686
|
}
|
|
679
687
|
}, {
|
|
680
|
-
name: formatMessage(
|
|
688
|
+
name: formatMessage(_table.messages.moveRowUpHelpDialogLabel),
|
|
681
689
|
type: 'table',
|
|
682
690
|
keymap: function keymap() {
|
|
683
691
|
return _keymaps.moveRowUp;
|
|
684
692
|
}
|
|
685
693
|
}, {
|
|
686
|
-
name: formatMessage(
|
|
694
|
+
name: formatMessage(_table.messages.moveRowDownHelpDialogLabel),
|
|
687
695
|
type: 'table',
|
|
688
696
|
keymap: function keymap() {
|
|
689
697
|
return _keymaps.moveRowDown;
|
|
@@ -693,7 +701,7 @@ var moveTableRowColumnFormatting = function moveTableRowColumnFormatting(_ref8)
|
|
|
693
701
|
var openCellOptionsFormattingtoFormat = function openCellOptionsFormattingtoFormat(_ref9) {
|
|
694
702
|
var formatMessage = _ref9.formatMessage;
|
|
695
703
|
return [{
|
|
696
|
-
name: formatMessage(
|
|
704
|
+
name: formatMessage(_helpDialog.helpDialogMessages.openCellOptions),
|
|
697
705
|
type: 'image',
|
|
698
706
|
keymap: function keymap() {
|
|
699
707
|
return _keymaps.focusToContextMenuTrigger;
|
|
@@ -710,13 +718,13 @@ var imageAutoFormat = {
|
|
|
710
718
|
}, ""));
|
|
714
722
|
}
|
|
715
723
|
};
|
|
716
724
|
var quickInsertAutoFormat = function quickInsertAutoFormat(_ref0) {
|
|
717
725
|
var formatMessage = _ref0.formatMessage;
|
|
718
726
|
return {
|
|
719
|
-
name: formatMessage(
|
|
727
|
+
name: formatMessage(_helpDialog.helpDialogMessages.quickInsert),
|
|
720
728
|
type: 'quickInsert',
|
|
721
729
|
autoFormatting: function autoFormatting() {
|
|
722
730
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -8,8 +8,8 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var _helpDialog = require("@atlaskit/editor-common/messages/help-dialog");
|
|
12
|
+
var _useSharedPluginStateWithSelector = require("@atlaskit/editor-common/useSharedPluginStateWithSelector");
|
|
13
13
|
var _modalDialog = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-dialog"));
|
|
14
14
|
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
15
15
|
var _commands = require("../pm-plugins/commands");
|
|
@@ -35,7 +35,7 @@ var HelpDialog = function HelpDialog(_ref) {
|
|
|
35
35
|
editorView = _ref.editorView,
|
|
36
36
|
quickInsertEnabled = _ref.quickInsertEnabled,
|
|
37
37
|
intl = _ref.intl;
|
|
38
|
-
var _useSharedPluginState = (0,
|
|
38
|
+
var _useSharedPluginState = (0, _useSharedPluginStateWithSelector.useSharedPluginStateWithSelector)(pluginInjectionApi, ['helpDialog'], selector),
|
|
39
39
|
isVisible = _useSharedPluginState.isVisible,
|
|
40
40
|
imageEnabled = _useSharedPluginState.imageEnabled,
|
|
41
41
|
aiEnabled = _useSharedPluginState.aiEnabled;
|
|
@@ -60,7 +60,7 @@ var HelpDialog = function HelpDialog(_ref) {
|
|
|
60
60
|
};
|
|
61
61
|
}, [handleEsc]);
|
|
62
62
|
var formatting = (0, _formatting.getSupportedFormatting)(editorView.state.schema, intl, imageEnabled, quickInsertEnabled, aiEnabled);
|
|
63
|
-
var label = intl.formatMessage(
|
|
63
|
+
var label = intl.formatMessage(_helpDialog.helpDialogMessages.editorHelp);
|
|
64
64
|
return (0, _react2.jsx)(_modalTransition.default, null, isVisible ?
|
|
65
65
|
// eslint-disable-next-line @atlaskit/design-system/no-modal-label
|
|
66
66
|
(0, _react2.jsx)(_modalDialog.default, {
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.toolbarButton = exports.shortcutsArray = exports.row = exports.line = exports.header = exports.footer = exports.dialogHeader = exports.contentWrapper = exports.content = exports.componentFromKeymapWrapperStyles = exports.column = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
-
var
|
|
8
|
+
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
12
12
|
var header = exports.header = (0, _react.css)({
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
|
-
zIndex:
|
|
14
|
+
zIndex: _constants.akEditorUnitZIndex,
|
|
15
15
|
minHeight: "var(--ds-space-300, 24px)",
|
|
16
16
|
padding: "var(--ds-space-250, 20px)".concat(" ", "var(--ds-space-500, 40px)"),
|
|
17
17
|
display: 'flex',
|
|
@@ -29,7 +29,7 @@ var header = exports.header = (0, _react.css)({
|
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
30
|
var footer = exports.footer = (0, _react.css)({
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
32
|
-
zIndex:
|
|
32
|
+
zIndex: _constants.akEditorUnitZIndex,
|
|
33
33
|
color: "var(--ds-text-subtle, #505258)",
|
|
34
34
|
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
35
35
|
padding: "var(--ds-space-300, 24px)",
|
|
@@ -86,7 +86,7 @@ var row = exports.row = (0, _react.css)({
|
|
|
86
86
|
});
|
|
87
87
|
var dialogHeader = exports.dialogHeader = {
|
|
88
88
|
'&': {
|
|
89
|
-
fontSize: (0,
|
|
89
|
+
fontSize: (0, _constants.relativeFontSizeToBase16)(24),
|
|
90
90
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
91
91
|
color: "var(--ds-text-subtle, #505258)",
|
|
92
92
|
letterSpacing: 'normal',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import { isSSR } from '@atlaskit/editor-common/
|
|
2
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
3
|
+
import { isSSR } from '@atlaskit/editor-common/is-ssr';
|
|
4
4
|
import { openHelp, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
5
|
-
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
|
+
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages/insert-block';
|
|
6
6
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
7
7
|
import { closeHelpAction, openHelpAction } from './pm-plugins/actions';
|
|
8
8
|
import { openHelpCommand } from './pm-plugins/commands';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
1
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
2
2
|
import { bindKeymapWithCommand, openHelp } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
4
4
|
import { openHelpCommand } from './commands';
|
|
@@ -9,7 +9,7 @@ import { Fragment } from 'react';
|
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
11
11
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
12
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
13
13
|
import Heading from '@atlaskit/heading/heading';
|
|
14
14
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import ModalFooter from './ModalFooter';
|
|
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
11
11
|
import { footer } from './styles';
|
|
12
12
|
import { getComponentFromKeymap } from './utils';
|
|
13
13
|
const ModalFooter = () =>
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx, css } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
9
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
-
import
|
|
9
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
10
|
+
import ToolbarButton from '@atlaskit/editor-common/ui-menu/ToolbarButton';
|
|
11
11
|
import Heading from '@atlaskit/heading/heading';
|
|
12
12
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
13
13
|
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
@@ -5,9 +5,17 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
|
+
import { alignmentMessages } from '@atlaskit/editor-common/alignment';
|
|
8
9
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
9
10
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, dragToMoveDown, dragToMoveLeft, dragToMoveRight, dragToMoveUp, focusTableResizer, showElementDragHandle, focusToContextMenuTrigger, increaseMediaSize, insertRule, moveColumnLeft, moveColumnRight, moveRowDown, moveRowUp, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleSmallText, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
10
|
-
import {
|
|
11
|
+
import { annotationMessages } from '@atlaskit/editor-common/messages/annotation';
|
|
12
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-common/messages/block-type';
|
|
13
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
14
|
+
import { toolbarInsertBlockMessages } from '@atlaskit/editor-common/messages/insert-block';
|
|
15
|
+
import { messages as listMessages } from '@atlaskit/editor-common/messages/list';
|
|
16
|
+
import { messages as tableMessages } from '@atlaskit/editor-common/messages/table';
|
|
17
|
+
import { toolbarMessages } from '@atlaskit/editor-common/messages/toolbar';
|
|
18
|
+
import { messages as undoRedoMessages } from '@atlaskit/editor-common/messages/undo-redo';
|
|
11
19
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
20
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
21
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import { useCallback, useEffect } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
11
|
+
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
12
12
|
import AkModalDialog from '@atlaskit/modal-dialog/modal-dialog';
|
|
13
13
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
14
14
|
import { closeHelpCommand } from '../pm-plugins/commands';
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
3
|
+
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
5
5
|
export const header = css({
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import { isSSR } from '@atlaskit/editor-common/
|
|
2
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
3
|
+
import { isSSR } from '@atlaskit/editor-common/is-ssr';
|
|
4
4
|
import { openHelp, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
5
|
-
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
|
+
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages/insert-block';
|
|
6
6
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
7
7
|
import { closeHelpAction, openHelpAction } from './pm-plugins/actions';
|
|
8
8
|
import { openHelpCommand } from './pm-plugins/commands';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
1
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics/types/enums';
|
|
2
2
|
import { bindKeymapWithCommand, openHelp } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
4
4
|
import { openHelpCommand } from './commands';
|
|
@@ -9,7 +9,7 @@ import { Fragment } from 'react';
|
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
11
11
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
12
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
13
13
|
import Heading from '@atlaskit/heading/heading';
|
|
14
14
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import ModalFooter from './ModalFooter';
|
|
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
11
11
|
import { footer } from './styles';
|
|
12
12
|
import { getComponentFromKeymap } from './utils';
|
|
13
13
|
var ModalFooter = function ModalFooter() {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx, css } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
9
|
-
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
-
import
|
|
9
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
10
|
+
import ToolbarButton from '@atlaskit/editor-common/ui-menu/ToolbarButton';
|
|
11
11
|
import Heading from '@atlaskit/heading/heading';
|
|
12
12
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
13
13
|
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
@@ -6,9 +6,17 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
|
+
import { alignmentMessages } from '@atlaskit/editor-common/alignment';
|
|
9
10
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
10
11
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, dragToMoveDown, dragToMoveLeft, dragToMoveRight, dragToMoveUp, focusTableResizer, showElementDragHandle, focusToContextMenuTrigger, increaseMediaSize, insertRule, moveColumnLeft, moveColumnRight, moveRowDown, moveRowUp, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleSmallText, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
11
|
-
import {
|
|
12
|
+
import { annotationMessages } from '@atlaskit/editor-common/messages/annotation';
|
|
13
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-common/messages/block-type';
|
|
14
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
15
|
+
import { toolbarInsertBlockMessages } from '@atlaskit/editor-common/messages/insert-block';
|
|
16
|
+
import { messages as listMessages } from '@atlaskit/editor-common/messages/list';
|
|
17
|
+
import { messages as tableMessages } from '@atlaskit/editor-common/messages/table';
|
|
18
|
+
import { toolbarMessages } from '@atlaskit/editor-common/messages/toolbar';
|
|
19
|
+
import { messages as undoRedoMessages } from '@atlaskit/editor-common/messages/undo-redo';
|
|
12
20
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
21
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
14
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import { useCallback, useEffect } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages/help-dialog';
|
|
11
|
+
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
12
12
|
import AkModalDialog from '@atlaskit/modal-dialog/modal-dialog';
|
|
13
13
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
14
14
|
import { closeHelpCommand } from '../pm-plugins/commands';
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
3
|
+
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
5
5
|
export var header = css({
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
-
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
1
|
+
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics/analyticsPluginType';
|
|
3
|
+
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert/quick-insert-plugin-type';
|
|
4
4
|
export interface HelpDialogSharedState {
|
|
5
5
|
aiEnabled: boolean;
|
|
6
6
|
imageEnabled: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
1
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics/api';
|
|
2
2
|
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
3
|
export declare const keymapPlugin: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin;
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
6
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
7
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { HelpDialogPlugin } from '../helpDialogPluginType';
|
|
10
10
|
export interface HelpDialogProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "26.0.
|
|
3
|
+
"version": "26.0.7",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/editor-plugin-analytics": "^26.0.0",
|
|
25
|
-
"@atlaskit/editor-plugin-quick-insert": "^26.
|
|
25
|
+
"@atlaskit/editor-plugin-quick-insert": "^26.1.0",
|
|
26
26
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
27
27
|
"@atlaskit/editor-shared-styles": "^4.4.0",
|
|
28
28
|
"@atlaskit/heading": "^8.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
33
33
|
"@atlaskit/primitives": "^22.5.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^234.0.0",
|
|
35
35
|
"@atlaskit/tokens": "^20.4.0",
|
|
36
36
|
"@atlaskit/tooltip": "^24.4.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-intl": "^7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^130.
|
|
48
|
+
"@atlaskit/editor-common": "^130.5.0",
|
|
49
49
|
"react": "^18.2.0 || ^19.2.0",
|
|
50
50
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
51
51
|
}
|